mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-20 03:11:46 +00:00
fix: Bedrock badges, VPC wizard tags, SG labels and LB protocol defaults in the UI (#1218)
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_clusterName-eEFWP75k.js","assets/compiler-runtime-DTT1fEHg.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/httpRequest-Bc1WZmsd.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ecs-DRWPOVsw.js","assets/ecs-BsOdvIYx.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/signed-fetch-BHraeSLO.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js","assets/gpu-instance-type-select-Dr56r-me.js","assets/select-Bgl6IAYG.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/tabs-CAMCnrj7.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{i as r,s as i,t as a}from"./ecs-DRWPOVsw.js";var o=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...a(t.clusterName),staleTime:`static`}),e.queryClient.query({...r(t.clusterName),staleTime:`static`}),e.queryClient.query({...i(t.clusterName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.clusterName} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_clusterName-eEFWP75k.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),`component`)});export{o as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_clusterName-Cs5kdhT1.js","assets/compiler-runtime-DTT1fEHg.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ecs-DRWPOVsw.js","assets/ecs-BsOdvIYx.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/signed-fetch-BHraeSLO.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js","assets/gpu-instance-type-select-Dr56r-me.js","assets/select-Bgl6IAYG.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/tabs-CAMCnrj7.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{i as r,s as i,t as a}from"./ecs-DRWPOVsw.js";var o=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...a(t.clusterName),staleTime:`static`}),e.queryClient.query({...r(t.clusterName),staleTime:`static`}),e.queryClient.query({...i(t.clusterName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.clusterName} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_clusterName-Cs5kdhT1.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),`component`)});export{o as t};
|
||||
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_guardrailId.index-DAdjyIpK.js","assets/compiler-runtime-DTT1fEHg.js","assets/useMutation-DV0DQvGm.js","assets/removable-TyvHreKc.js","assets/mutation--CHjRtbG.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/pencil-Cx6ej4Kx.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/bedrock-CysMJ0_R.js","assets/commandBuilder-BInkDaQ_.js","assets/bedrock-DIbdgKPF.js","assets/queryOptions-Dfvzj6n2.js","assets/commandBuilder-B7VWL1AO.js","assets/page-heading-M0NyqAmu.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{n as r,r as i}from"./bedrock-DIbdgKPF.js";var a=e(`/_auth/bedrock/(guardrails)/list-guardrails/$guardrailId/`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.guardrailId),staleTime:`static`}),e.queryClient.query({...i(t.guardrailId),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.guardrailId} | Guardrail | Mulga`}]}),component:t(()=>n(()=>import(`./_guardrailId.index-DAdjyIpK.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_guardrailId.index-DLTWoMPG.js","assets/compiler-runtime-DTT1fEHg.js","assets/useMutation-DV0DQvGm.js","assets/removable-TyvHreKc.js","assets/mutation--CHjRtbG.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/pencil-Cx6ej4Kx.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/bedrock-CysMJ0_R.js","assets/commandBuilder-BInkDaQ_.js","assets/bedrock-DIbdgKPF.js","assets/queryOptions-Dfvzj6n2.js","assets/commandBuilder-B7VWL1AO.js","assets/page-heading-M0NyqAmu.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{n as r,r as i}from"./bedrock-DIbdgKPF.js";var a=e(`/_auth/bedrock/(guardrails)/list-guardrails/$guardrailId/`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.guardrailId),staleTime:`static`}),e.queryClient.query({...i(t.guardrailId),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.guardrailId} | Guardrail | Mulga`}]}),component:t(()=>n(()=>import(`./_guardrailId.index-DLTWoMPG.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])),`component`)});export{a as t};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{t as o}from"./back-link-DjawJm5W.js";import{t as s}from"./trash-DHuPKozD.js";import{t as c}from"./button-Bae9vdts.js";import{l,v as u}from"./ec2-DJL24ekw.js";import{M as d}from"./ec2-DFivrtZe.js";import{t as f}from"./_id-mBt-oIEO.js";import{t as p}from"./page-heading-M0NyqAmu.js";import{t as m}from"./error-banner-BcDqaPk7.js";import{t as h}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as g,t as _}from"./detail-row-CclMDqj8.js";import{t as v}from"./state-badge-BD9XGBez.js";var y=t(n()),b=e();function x(){let{id:e}=f.useParams(),t=a(),{data:n}=r(u(e)),{data:x}=r(l),S=d(),[C,w]=(0,y.useState)(!1),T=n.PlacementGroups?.[0],E=x.Reservations?.flatMap(e=>e.Instances??[]).filter(e=>e.Placement?.GroupName===T?.GroupName)??[];return T?.GroupId?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),S.error&&(0,b.jsx)(m,{error:S.error,msg:`Failed to delete placement group`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(p,{actions:(0,b.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,b.jsxs)(c,{onClick:()=>{w(!0)},size:`sm`,variant:`destructive`,children:[(0,b.jsx)(s,{className:`size-4`}),`Delete`]}),(0,b.jsx)(v,{state:T.State})]}),subtitle:`Placement Group Details`,title:T.GroupName??T.GroupId}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Placement Group Information`}),(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Group ID`,value:T.GroupId}),(0,b.jsx)(_,{label:`Group Name`,value:T.GroupName}),(0,b.jsx)(_,{label:`Strategy`,value:T.Strategy}),(0,b.jsx)(_,{label:`State`,value:T.State}),(0,b.jsx)(_,{label:`Spread Level`,value:T.SpreadLevel})]})]}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Instances`}),E.length>0?E.map(e=>(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Instance ID`,value:e.InstanceId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:e.InstanceId},to:`/ec2/describe-instances/$id`,children:e.InstanceId}):void 0}),(0,b.jsx)(_,{label:`State`,value:e.State?.Name}),(0,b.jsx)(_,{label:`Instance Type`,value:e.InstanceType}),(0,b.jsx)(_,{label:`Availability Zone`,value:e.Placement?.AvailabilityZone})]},e.InstanceId)):(0,b.jsx)(g.Content,{children:(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances in this placement group.`})})]})]}),(0,b.jsx)(h,{description:`Are you sure you want to delete the placement group "${T.GroupName}"? The group must have no running instances.`,isPending:S.isPending,onConfirm:async()=>{if(T?.GroupName)try{await S.mutateAsync(T.GroupName),t({to:`/ec2/describe-placement-groups`})}finally{w(!1)}},onOpenChange:w,open:C,title:`Delete Placement Group`})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`Placement group not found.`})]})}export{x as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{t as o}from"./back-link-DjawJm5W.js";import{t as s}from"./trash-DHuPKozD.js";import{t as c}from"./button-Bae9vdts.js";import{l,v as u}from"./ec2-DJL24ekw.js";import{M as d}from"./ec2-iXujaheD.js";import{t as f}from"./_id-TLd3PJNv.js";import{t as p}from"./page-heading-M0NyqAmu.js";import{t as m}from"./error-banner-BcDqaPk7.js";import{t as h}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as g,t as _}from"./detail-row-CclMDqj8.js";import{t as v}from"./state-badge-BiFj5bbX.js";var y=t(n()),b=e();function x(){let{id:e}=f.useParams(),t=a(),{data:n}=r(u(e)),{data:x}=r(l),S=d(),[C,w]=(0,y.useState)(!1),T=n.PlacementGroups?.[0],E=x.Reservations?.flatMap(e=>e.Instances??[]).filter(e=>e.Placement?.GroupName===T?.GroupName)??[];return T?.GroupId?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),S.error&&(0,b.jsx)(m,{error:S.error,msg:`Failed to delete placement group`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(p,{actions:(0,b.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,b.jsxs)(c,{onClick:()=>{w(!0)},size:`sm`,variant:`destructive`,children:[(0,b.jsx)(s,{className:`size-4`}),`Delete`]}),(0,b.jsx)(v,{state:T.State})]}),subtitle:`Placement Group Details`,title:T.GroupName??T.GroupId}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Placement Group Information`}),(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Group ID`,value:T.GroupId}),(0,b.jsx)(_,{label:`Group Name`,value:T.GroupName}),(0,b.jsx)(_,{label:`Strategy`,value:T.Strategy}),(0,b.jsx)(_,{label:`State`,value:T.State}),(0,b.jsx)(_,{label:`Spread Level`,value:T.SpreadLevel})]})]}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Instances`}),E.length>0?E.map(e=>(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Instance ID`,value:e.InstanceId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:e.InstanceId},to:`/ec2/describe-instances/$id`,children:e.InstanceId}):void 0}),(0,b.jsx)(_,{label:`State`,value:e.State?.Name}),(0,b.jsx)(_,{label:`Instance Type`,value:e.InstanceType}),(0,b.jsx)(_,{label:`Availability Zone`,value:e.Placement?.AvailabilityZone})]},e.InstanceId)):(0,b.jsx)(g.Content,{children:(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances in this placement group.`})})]})]}),(0,b.jsx)(h,{description:`Are you sure you want to delete the placement group "${T.GroupName}"? The group must have no running instances.`,isPending:S.isPending,onConfirm:async()=>{if(T?.GroupName)try{await S.mutateAsync(T.GroupName),t({to:`/ec2/describe-placement-groups`})}finally{w(!1)}},onOpenChange:w,open:C,title:`Delete Placement Group`})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`Placement group not found.`})]})}export{x as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./useNavigate-BiiHYpLW.js";import{k as a}from"./httpRequest-Bc1WZmsd.js";import{t as o}from"./back-link-DjawJm5W.js";import{c as s,i as c,n as l,s as u,t as d}from"./select-Bgl6IAYG.js";import{t as f}from"./trash-DHuPKozD.js";import{t as p}from"./button-Bae9vdts.js";import{l as m,t as h}from"./ec2-DJL24ekw.js";import{$ as g,U as _,r as v}from"./ec2-DFivrtZe.js";import{t as y}from"./_id-4vlHIIDd.js";import{t as b}from"./page-heading-M0NyqAmu.js";import{t as x}from"./error-banner-BcDqaPk7.js";import{t as S}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as C,t as w}from"./detail-row-CclMDqj8.js";var T=t(n()),E=e();function D(){let{id:e}=y.useParams(),t=i(),{data:n}=r(h(e)),{data:D}=r(m),O=v(),k=_(),A=g(),[j,M]=(0,T.useState)(!1),[N,P]=(0,T.useState)(!1),[F,I]=(0,T.useState)(``),L=n.Addresses?.[0],R=D.Reservations?.flatMap(e=>e.Instances??[]).filter(e=>e.State?.Name===`running`||e.State?.Name===`stopped`)??[],z=async()=>{try{await A.mutateAsync(e),t({to:`/ec2/describe-addresses`})}finally{M(!1)}},B=async()=>{F&&await O.mutateAsync({allocationId:e,instanceId:F})},V=async()=>{if(L?.AssociationId)try{await k.mutateAsync(L.AssociationId)}catch{}finally{P(!1)}};if(!L?.AllocationId)return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(o,{to:`/ec2/describe-addresses`,children:`Back to Elastic IPs`}),(0,E.jsx)(`p`,{className:`text-muted-foreground`,children:`Elastic IP not found.`})]});let H=!!L.AssociationId,U=a(L.Tags);return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(o,{to:`/ec2/describe-addresses`,children:`Back to Elastic IPs`}),(A.error??O.error??k.error)&&(0,E.jsx)(x,{error:A.error??O.error??k.error??void 0,msg:`Elastic IP action failed`}),(0,E.jsxs)(`div`,{className:`space-y-6`,children:[(0,E.jsx)(b,{actions:(0,E.jsxs)(p,{disabled:H||A.isPending,onClick:()=>{M(!0)},size:`sm`,variant:`destructive`,children:[(0,E.jsx)(f,{className:`size-4`}),`Release`]}),subtitle:`Elastic IP Details`,title:U?`${L.AllocationId} (${U})`:L.AllocationId}),(0,E.jsxs)(C,{children:[(0,E.jsx)(C.Header,{children:`Elastic IP Information`}),(0,E.jsxs)(C.Content,{children:[(0,E.jsx)(w,{label:`Allocation ID`,value:L.AllocationId}),(0,E.jsx)(w,{label:`Public IP`,value:L.PublicIp}),(0,E.jsx)(w,{label:`Domain`,value:L.Domain}),(0,E.jsx)(w,{label:`Association ID`,value:L.AssociationId??`—`}),(0,E.jsx)(w,{label:`Instance ID`,value:L.InstanceId??`—`}),(0,E.jsx)(w,{label:`Private IP`,value:L.PrivateIpAddress??`—`})]})]}),(0,E.jsxs)(C,{children:[(0,E.jsx)(C.Header,{children:`Association`}),(0,E.jsx)(C.Content,{children:H?(0,E.jsx)(p,{disabled:k.isPending,onClick:()=>{P(!0)},size:`sm`,variant:`outline`,children:`Disassociate`}):(0,E.jsxs)(`div`,{className:`flex items-end gap-2`,children:[(0,E.jsx)(`div`,{className:`flex-1`,children:(0,E.jsxs)(d,{onValueChange:e=>{I(e??``)},value:F,children:[(0,E.jsx)(u,{className:`w-full`,children:(0,E.jsx)(s,{placeholder:`Select an instance`})}),(0,E.jsx)(l,{children:R.map(e=>{let t=a(e.Tags);return(0,E.jsx)(c,{value:e.InstanceId??``,children:t?`${e.InstanceId} (${t})`:e.InstanceId},e.InstanceId)})})]})}),(0,E.jsx)(p,{disabled:!F||O.isPending,onClick:B,size:`sm`,children:`Associate`})]})})]})]}),(0,E.jsx)(S,{description:`Are you sure you want to release the Elastic IP "${L.AllocationId}" (${L.PublicIp})? This action cannot be undone.`,isPending:A.isPending,onConfirm:z,onOpenChange:M,open:j,title:`Release Elastic IP`}),(0,E.jsx)(S,{confirmLabel:`Disassociate`,description:`Disassociate "${L.PublicIp}" from "${L.InstanceId??L.AssociationId}"? The instance stops being reachable at this address.`,isPending:k.isPending,onConfirm:V,onOpenChange:P,open:N,pendingLabel:`Disassociating…`,title:`Disassociate Elastic IP`})]})}export{D as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./useNavigate-BiiHYpLW.js";import{k as a}from"./httpRequest-Bc1WZmsd.js";import{t as o}from"./back-link-DjawJm5W.js";import{c as s,i as c,n as l,s as u,t as d}from"./select-Bgl6IAYG.js";import{t as f}from"./trash-DHuPKozD.js";import{t as p}from"./button-Bae9vdts.js";import{l as m,t as h}from"./ec2-DJL24ekw.js";import{$ as g,U as _,r as v}from"./ec2-iXujaheD.js";import{t as y}from"./_id-C4RVw0R5.js";import{t as b}from"./page-heading-M0NyqAmu.js";import{t as x}from"./error-banner-BcDqaPk7.js";import{t as S}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as C,t as w}from"./detail-row-CclMDqj8.js";var T=t(n()),E=e();function D(){let{id:e}=y.useParams(),t=i(),{data:n}=r(h(e)),{data:D}=r(m),O=v(),k=_(),A=g(),[j,M]=(0,T.useState)(!1),[N,P]=(0,T.useState)(!1),[F,I]=(0,T.useState)(``),L=n.Addresses?.[0],R=D.Reservations?.flatMap(e=>e.Instances??[]).filter(e=>e.State?.Name===`running`||e.State?.Name===`stopped`)??[],z=async()=>{try{await A.mutateAsync(e),t({to:`/ec2/describe-addresses`})}finally{M(!1)}},B=async()=>{F&&await O.mutateAsync({allocationId:e,instanceId:F})},V=async()=>{if(L?.AssociationId)try{await k.mutateAsync(L.AssociationId)}catch{}finally{P(!1)}};if(!L?.AllocationId)return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(o,{to:`/ec2/describe-addresses`,children:`Back to Elastic IPs`}),(0,E.jsx)(`p`,{className:`text-muted-foreground`,children:`Elastic IP not found.`})]});let H=!!L.AssociationId,U=a(L.Tags);return(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(o,{to:`/ec2/describe-addresses`,children:`Back to Elastic IPs`}),(A.error??O.error??k.error)&&(0,E.jsx)(x,{error:A.error??O.error??k.error??void 0,msg:`Elastic IP action failed`}),(0,E.jsxs)(`div`,{className:`space-y-6`,children:[(0,E.jsx)(b,{actions:(0,E.jsxs)(p,{disabled:H||A.isPending,onClick:()=>{M(!0)},size:`sm`,variant:`destructive`,children:[(0,E.jsx)(f,{className:`size-4`}),`Release`]}),subtitle:`Elastic IP Details`,title:U?`${L.AllocationId} (${U})`:L.AllocationId}),(0,E.jsxs)(C,{children:[(0,E.jsx)(C.Header,{children:`Elastic IP Information`}),(0,E.jsxs)(C.Content,{children:[(0,E.jsx)(w,{label:`Allocation ID`,value:L.AllocationId}),(0,E.jsx)(w,{label:`Public IP`,value:L.PublicIp}),(0,E.jsx)(w,{label:`Domain`,value:L.Domain}),(0,E.jsx)(w,{label:`Association ID`,value:L.AssociationId??`—`}),(0,E.jsx)(w,{label:`Instance ID`,value:L.InstanceId??`—`}),(0,E.jsx)(w,{label:`Private IP`,value:L.PrivateIpAddress??`—`})]})]}),(0,E.jsxs)(C,{children:[(0,E.jsx)(C.Header,{children:`Association`}),(0,E.jsx)(C.Content,{children:H?(0,E.jsx)(p,{disabled:k.isPending,onClick:()=>{P(!0)},size:`sm`,variant:`outline`,children:`Disassociate`}):(0,E.jsxs)(`div`,{className:`flex items-end gap-2`,children:[(0,E.jsx)(`div`,{className:`flex-1`,children:(0,E.jsxs)(d,{onValueChange:e=>{I(e??``)},value:F,children:[(0,E.jsx)(u,{className:`w-full`,children:(0,E.jsx)(s,{placeholder:`Select an instance`})}),(0,E.jsx)(l,{children:R.map(e=>{let t=a(e.Tags);return(0,E.jsx)(c,{value:e.InstanceId??``,children:t?`${e.InstanceId} (${t})`:e.InstanceId},e.InstanceId)})})]})}),(0,E.jsx)(p,{disabled:!F||O.isPending,onClick:B,size:`sm`,children:`Associate`})]})})]})]}),(0,E.jsx)(S,{description:`Are you sure you want to release the Elastic IP "${L.AllocationId}" (${L.PublicIp})? This action cannot be undone.`,isPending:A.isPending,onConfirm:z,onOpenChange:M,open:j,title:`Release Elastic IP`}),(0,E.jsx)(S,{confirmLabel:`Disassociate`,description:`Disassociate "${L.PublicIp}" from "${L.InstanceId??L.AssociationId}"? The instance stops being reachable at this address.`,isPending:k.isPending,onConfirm:V,onOpenChange:P,open:N,pendingLabel:`Disassociating…`,title:`Disassociate Elastic IP`})]})}export{D as component};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-vsAUa_Kk.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{D as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(subnet)/describe-subnets/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...r(t.id),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${e.id} | Subnet | Mulga`}]}),component:t(()=>n(()=>import(`./_id-vsAUa_Kk.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BX-YPufz.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{D as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(subnet)/describe-subnets/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...r(t.id),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${e.id} | Subnet | Mulga`}]}),component:t(()=>n(()=>import(`./_id-BX-YPufz.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{i as t};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-DuZJk7HO.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/copy-3Ip4Zkw5.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{t as n}from"./createLucideIcon-DI_DJF-h.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{T as i,b as a}from"./ec2-DJL24ekw.js";var o={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]};o.node;var s=n(o),c=e(`/_auth/ec2/(snapshots)/describe-snapshots/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...a,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>r(()=>import(`./_id-DuZJk7HO.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])),`component`)});export{s as n,c as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BYOnZ7xS.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/copy-3Ip4Zkw5.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{t as n}from"./createLucideIcon-DI_DJF-h.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{T as i,b as a}from"./ec2-DJL24ekw.js";var o={name:`image`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]};o.node;var s=n(o),c=e(`/_auth/ec2/(snapshots)/describe-snapshots/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...a,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>r(()=>import(`./_id-BYOnZ7xS.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38])),`component`)});export{s as n,c as t};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{k as o}from"./httpRequest-Bc1WZmsd.js";import{t as s}from"./back-link-DjawJm5W.js";import{t as c}from"./trash-DHuPKozD.js";import{t as l}from"./button-Bae9vdts.js";import{D as u}from"./ec2-DJL24ekw.js";import{L as d}from"./ec2-DFivrtZe.js";import{t as f}from"./_id-C2vIpjOM.js";import{t as p}from"./page-heading-M0NyqAmu.js";import{t as m}from"./error-banner-BcDqaPk7.js";import{t as h}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as g,t as _}from"./detail-row-CclMDqj8.js";import{t as v}from"./state-badge-BD9XGBez.js";var y=t(n()),b=e();function x(){let{id:e}=f.useParams(),t=a(),{data:n}=r(u(e)),x=n.Subnets?.[0],S=d(),[C,w]=(0,y.useState)(!1),T=async()=>{try{await S.mutateAsync(e),t({to:`/ec2/describe-subnets`})}finally{w(!1)}};if(!x?.SubnetId)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s,{to:`/ec2/describe-subnets`,children:`Back to Subnets`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`Subnet not found.`})]});let E=o(x.Tags);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s,{to:`/ec2/describe-subnets`,children:`Back to Subnets`}),S.error&&(0,b.jsx)(m,{error:S.error,msg:`Failed to delete subnet`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(p,{actions:(0,b.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,b.jsxs)(l,{onClick:()=>{w(!0)},size:`sm`,variant:`destructive`,children:[(0,b.jsx)(c,{className:`size-4`}),`Delete`]}),(0,b.jsx)(v,{state:x.State})]}),subtitle:`Subnet Details`,title:E?`${x.SubnetId} (${E})`:x.SubnetId}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Subnet Information`}),(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Subnet ID`,value:x.SubnetId}),(0,b.jsx)(_,{label:`VPC ID`,value:x.VpcId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:x.VpcId},to:`/ec2/describe-vpcs/$id`,children:x.VpcId}):`—`}),(0,b.jsx)(_,{label:`State`,value:x.State}),(0,b.jsx)(_,{label:`CIDR Block`,value:x.CidrBlock}),(0,b.jsx)(_,{label:`Availability Zone`,value:x.AvailabilityZone}),(0,b.jsx)(_,{label:`Available IP Count`,value:x.AvailableIpAddressCount?.toString()}),(0,b.jsx)(_,{label:`Map Public IP on Launch`,value:x.MapPublicIpOnLaunch?`Yes`:`No`}),(0,b.jsx)(_,{label:`Default for AZ`,value:x.DefaultForAz?`Yes`:`No`})]})]})]}),(0,b.jsx)(h,{description:`Are you sure you want to delete the subnet "${x.SubnetId}"? This action cannot be undone.`,isPending:S.isPending,onConfirm:T,onOpenChange:w,open:C,title:`Delete Subnet`})]})}export{x as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{k as o}from"./httpRequest-Bc1WZmsd.js";import{t as s}from"./back-link-DjawJm5W.js";import{t as c}from"./trash-DHuPKozD.js";import{t as l}from"./button-Bae9vdts.js";import{D as u}from"./ec2-DJL24ekw.js";import{L as d}from"./ec2-iXujaheD.js";import{t as f}from"./_id-BTFtkMPi.js";import{t as p}from"./page-heading-M0NyqAmu.js";import{t as m}from"./error-banner-BcDqaPk7.js";import{t as h}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as g,t as _}from"./detail-row-CclMDqj8.js";import{t as v}from"./state-badge-BiFj5bbX.js";var y=t(n()),b=e();function x(){let{id:e}=f.useParams(),t=a(),{data:n}=r(u(e)),x=n.Subnets?.[0],S=d(),[C,w]=(0,y.useState)(!1),T=async()=>{try{await S.mutateAsync(e),t({to:`/ec2/describe-subnets`})}finally{w(!1)}};if(!x?.SubnetId)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s,{to:`/ec2/describe-subnets`,children:`Back to Subnets`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`Subnet not found.`})]});let E=o(x.Tags);return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s,{to:`/ec2/describe-subnets`,children:`Back to Subnets`}),S.error&&(0,b.jsx)(m,{error:S.error,msg:`Failed to delete subnet`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(p,{actions:(0,b.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,b.jsxs)(l,{onClick:()=>{w(!0)},size:`sm`,variant:`destructive`,children:[(0,b.jsx)(c,{className:`size-4`}),`Delete`]}),(0,b.jsx)(v,{state:x.State})]}),subtitle:`Subnet Details`,title:E?`${x.SubnetId} (${E})`:x.SubnetId}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Subnet Information`}),(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Subnet ID`,value:x.SubnetId}),(0,b.jsx)(_,{label:`VPC ID`,value:x.VpcId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:x.VpcId},to:`/ec2/describe-vpcs/$id`,children:x.VpcId}):`—`}),(0,b.jsx)(_,{label:`State`,value:x.State}),(0,b.jsx)(_,{label:`CIDR Block`,value:x.CidrBlock}),(0,b.jsx)(_,{label:`Availability Zone`,value:x.AvailabilityZone}),(0,b.jsx)(_,{label:`Available IP Count`,value:x.AvailableIpAddressCount?.toString()}),(0,b.jsx)(_,{label:`Map Public IP on Launch`,value:x.MapPublicIpOnLaunch?`Yes`:`No`}),(0,b.jsx)(_,{label:`Default for AZ`,value:x.DefaultForAz?`Yes`:`No`})]})]})]}),(0,b.jsx)(h,{description:`Are you sure you want to delete the subnet "${x.SubnetId}"? This action cannot be undone.`,isPending:S.isPending,onConfirm:T,onOpenChange:w,open:C,title:`Delete Subnet`})]})}export{x as component};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-zM6Uwgr9.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/createLucideIcon-DI_DJF-h.js","assets/back-link-DjawJm5W.js","assets/camera-1Qc58YO0.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{k as r,l as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(volumes)/describe-volumes/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.id),staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-zM6Uwgr9.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-LXVvO8g4.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/createLucideIcon-DI_DJF-h.js","assets/back-link-DjawJm5W.js","assets/camera-1Qc58YO0.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{k as r,l as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(volumes)/describe-volumes/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.id),staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-LXVvO8g4.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])),`component`)});export{a as t};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BG6txAje.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{f as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(key)/describe-key-pairs/$id`)({loader:async({context:e,params:t})=>await e.queryClient.query({...r(t.id),staleTime:`static`}),head:({loaderData:e})=>({meta:[{title:`${e?.KeyPairs?.[0]?.KeyName??`Key Pair`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-BG6txAje.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-CXkAE0jQ.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{f as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(key)/describe-key-pairs/$id`)({loader:async({context:e,params:t})=>await e.queryClient.query({...r(t.id),staleTime:`static`}),head:({loaderData:e})=>({meta:[{title:`${e?.KeyPairs?.[0]?.KeyName??`Key Pair`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-CXkAE0jQ.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31])),`component`)});export{i as t};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-D4f6m0tP.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/createLucideIcon-DI_DJF-h.js","assets/back-link-DjawJm5W.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/badge-BYQj3YeB.js","assets/useRender-DyI7F-Qi.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/detail-row-CclMDqj8.js","assets/ec2-CmqOirWQ.js","assets/launch-template-data-fields-CcRkOt3t.js","assets/textarea-BNxO_Zsf.js","assets/collapsible-BFqxt1IG.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{O as r,c as i,h as a,m as o,o as s,p as c,w as l}from"./ec2-DJL24ekw.js";var u=e(`/_auth/ec2/(launch-templates)/describe-launch-templates/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...a,staleTime:`static`}),e.queryClient.query({...o(t.id),staleTime:`static`}),e.queryClient.query({...s,staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`}),e.queryClient.query({...c,staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`}),e.queryClient.query({...l,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | Launch Template | Mulga`}]}),component:t(()=>n(()=>import(`./_id-D4f6m0tP.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49])),`component`)});export{u as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BYVKoMTy.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/createLucideIcon-DI_DJF-h.js","assets/back-link-DjawJm5W.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/badge-BYQj3YeB.js","assets/useRender-DyI7F-Qi.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/detail-row-CclMDqj8.js","assets/ec2-Cr9GrTUU.js","assets/elbv2-B_G5anft.js","assets/launch-template-data-fields-4CYo9au8.js","assets/textarea-BNxO_Zsf.js","assets/collapsible-BFqxt1IG.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{O as r,c as i,h as a,m as o,o as s,p as c,w as l}from"./ec2-DJL24ekw.js";var u=e(`/_auth/ec2/(launch-templates)/describe-launch-templates/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...a,staleTime:`static`}),e.queryClient.query({...o(t.id),staleTime:`static`}),e.queryClient.query({...s,staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`}),e.queryClient.query({...c,staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`}),e.queryClient.query({...l,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | Launch Template | Mulga`}]}),component:t(()=>n(()=>import(`./_id-BYVKoMTy.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50])),`component`)});export{u as t};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BiAD_ye1.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{O as r,j as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(vpc)/describe-vpcs/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | VPC | Mulga`}]}),component:t(()=>n(()=>import(`./_id-BiAD_ye1.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-rAI6aGg-.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{O as r,j as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(vpc)/describe-vpcs/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | VPC | Mulga`}]}),component:t(()=>n(()=>import(`./_id-rAI6aGg-.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{a as t};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BVvKP72w.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/input-CpcyJw4R.js","assets/dist-oTooRiSa.js","assets/httpRequest-Bc1WZmsd.js","assets/button-Bae9vdts.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/form-actions-C3zG6ld2.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/ec2-CmqOirWQ.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{k as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(volumes)/modify-volume/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...r(t.id),staleTime:`static`})},head:({params:e})=>({meta:[{title:`Resize ${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-BVvKP72w.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-Dsjd39jS.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/input-CpcyJw4R.js","assets/dist-oTooRiSa.js","assets/httpRequest-Bc1WZmsd.js","assets/button-Bae9vdts.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/form-actions-C3zG6ld2.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/ec2-Cr9GrTUU.js","assets/elbv2-B_G5anft.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{k as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(volumes)/modify-volume/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...r(t.id),staleTime:`static`})},head:({params:e})=>({meta:[{title:`Resize ${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-Dsjd39jS.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31])),`component`)});export{i as t};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BwK2aMkX.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/detail-row-CclMDqj8.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{l as r,t as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(elastic-ips)/describe-addresses/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | Elastic IP | Mulga`}]}),component:t(()=>n(()=>import(`./_id-BwK2aMkX.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-B48v9HBU.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/detail-row-CclMDqj8.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{l as r,t as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(elastic-ips)/describe-addresses/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | Elastic IP | Mulga`}]}),component:t(()=>n(()=>import(`./_id-B48v9HBU.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)});export{a as t};
|
||||
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-CUjg1-jG.js","assets/compiler-runtime-DTT1fEHg.js","assets/removable-TyvHreKc.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/circle-arrow-up-B72wB_yn.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/subnet-calculator-DDrAb5xp.js","assets/signed-fetch-BHraeSLO.js","assets/use-admin--3prNhUW.js","assets/useQuery-DVjCHx2S.js","assets/sts-BM0Odtlr.js","assets/admin-B1g5ktL3.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/state-badge-BD9XGBez.js","assets/system-managed-Dk7ySh_E.js","assets/ami-details-COgMA7Qb.js","assets/detail-row-CclMDqj8.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{a as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(images)/describe-images/$id`)({loader:async({context:e,params:t})=>await e.queryClient.query({...r(t.id),staleTime:`static`}),head:({loaderData:e})=>({meta:[{title:`${e?.Images?.[0]?.Name??`Image`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-CUjg1-jG.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-Dw7ARlpP.js","assets/compiler-runtime-DTT1fEHg.js","assets/removable-TyvHreKc.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/circle-arrow-up-B72wB_yn.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/subnet-calculator-DDrAb5xp.js","assets/signed-fetch-BHraeSLO.js","assets/use-admin--3prNhUW.js","assets/useQuery-DVjCHx2S.js","assets/sts-BM0Odtlr.js","assets/admin-B1g5ktL3.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/state-badge-BiFj5bbX.js","assets/system-managed-Dk7ySh_E.js","assets/ami-details-COgMA7Qb.js","assets/detail-row-CclMDqj8.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{a as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(images)/describe-images/$id`)({loader:async({context:e,params:t})=>await e.queryClient.query({...r(t.id),staleTime:`static`}),head:({loaderData:e})=>({meta:[{title:`${e?.Images?.[0]?.Name??`Image`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-Dw7ARlpP.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40])),`component`)});export{i as t};
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./useNavigate-BiiHYpLW.js";import{E as a}from"./httpRequest-Bc1WZmsd.js";import{t as o}from"./back-link-DjawJm5W.js";import{t as s}from"./trash-DHuPKozD.js";import{t as c}from"./button-Bae9vdts.js";import{f as l}from"./ec2-DJL24ekw.js";import{O as u}from"./ec2-DFivrtZe.js";import{t as d}from"./_id-B8giJPUP.js";import{t as f}from"./page-heading-M0NyqAmu.js";import{t as p}from"./error-banner-BcDqaPk7.js";import{t as m}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as h,t as g}from"./detail-row-CclMDqj8.js";var _=t(n()),v=e();function y(){let{id:e}=d.useParams(),t=i(),{data:n}=r(l(e)),y=n.KeyPairs?.[0],b=u(),[x,S]=(0,_.useState)(!1),C=async()=>{try{await b.mutateAsync(e),t({to:`/ec2/describe-key-pairs`})}finally{S(!1)}};if(!y?.KeyPairId)return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(o,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),(0,v.jsx)(`p`,{className:`text-muted-foreground`,children:`Key pair not found.`})]});let w=a(y.CreateTime);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(o,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),b.error&&(0,v.jsx)(p,{error:b.error,msg:`Failed to delete key pair`}),(0,v.jsxs)(`div`,{className:`space-y-6`,children:[(0,v.jsx)(f,{actions:(0,v.jsxs)(c,{onClick:()=>{S(!0)},size:`sm`,variant:`destructive`,children:[(0,v.jsx)(s,{className:`size-4`}),`Delete`]}),subtitle:`Key Pair Details`,title:y.KeyName??``}),(0,v.jsxs)(h,{children:[(0,v.jsx)(h.Header,{children:`Key Pair Information`}),(0,v.jsxs)(h.Content,{children:[(0,v.jsx)(g,{label:`Key Pair ID`,value:y.KeyPairId}),(0,v.jsx)(g,{label:`Key Name`,value:y.KeyName}),(0,v.jsx)(g,{label:`Key Type`,value:y.KeyType}),(0,v.jsx)(g,{label:`Key Fingerprint`,value:y.KeyFingerprint}),(0,v.jsx)(g,{label:`Creation Date`,value:w})]})]}),y.Tags&&y.Tags.length>0&&(0,v.jsxs)(h,{children:[(0,v.jsx)(h.Header,{children:`Tags`}),(0,v.jsx)(h.Content,{children:y.Tags.map(e=>(0,v.jsx)(g,{label:e.Key??``,value:e.Value},e.Key))})]})]}),(0,v.jsx)(m,{description:`Are you sure you want to delete the key pair "${y.KeyName}"? This action cannot be undone. Any instances using this key pair will no longer be able to be accessed with it.`,isPending:b.isPending,onConfirm:C,onOpenChange:S,open:x,title:`Delete Key Pair`})]})}export{y as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./useNavigate-BiiHYpLW.js";import{E as a}from"./httpRequest-Bc1WZmsd.js";import{t as o}from"./back-link-DjawJm5W.js";import{t as s}from"./trash-DHuPKozD.js";import{t as c}from"./button-Bae9vdts.js";import{f as l}from"./ec2-DJL24ekw.js";import{O as u}from"./ec2-iXujaheD.js";import{t as d}from"./_id-BXvaEM7B.js";import{t as f}from"./page-heading-M0NyqAmu.js";import{t as p}from"./error-banner-BcDqaPk7.js";import{t as m}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as h,t as g}from"./detail-row-CclMDqj8.js";var _=t(n()),v=e();function y(){let{id:e}=d.useParams(),t=i(),{data:n}=r(l(e)),y=n.KeyPairs?.[0],b=u(),[x,S]=(0,_.useState)(!1),C=async()=>{try{await b.mutateAsync(e),t({to:`/ec2/describe-key-pairs`})}finally{S(!1)}};if(!y?.KeyPairId)return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(o,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),(0,v.jsx)(`p`,{className:`text-muted-foreground`,children:`Key pair not found.`})]});let w=a(y.CreateTime);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(o,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),b.error&&(0,v.jsx)(p,{error:b.error,msg:`Failed to delete key pair`}),(0,v.jsxs)(`div`,{className:`space-y-6`,children:[(0,v.jsx)(f,{actions:(0,v.jsxs)(c,{onClick:()=>{S(!0)},size:`sm`,variant:`destructive`,children:[(0,v.jsx)(s,{className:`size-4`}),`Delete`]}),subtitle:`Key Pair Details`,title:y.KeyName??``}),(0,v.jsxs)(h,{children:[(0,v.jsx)(h.Header,{children:`Key Pair Information`}),(0,v.jsxs)(h.Content,{children:[(0,v.jsx)(g,{label:`Key Pair ID`,value:y.KeyPairId}),(0,v.jsx)(g,{label:`Key Name`,value:y.KeyName}),(0,v.jsx)(g,{label:`Key Type`,value:y.KeyType}),(0,v.jsx)(g,{label:`Key Fingerprint`,value:y.KeyFingerprint}),(0,v.jsx)(g,{label:`Creation Date`,value:w})]})]}),y.Tags&&y.Tags.length>0&&(0,v.jsxs)(h,{children:[(0,v.jsx)(h.Header,{children:`Tags`}),(0,v.jsx)(h.Content,{children:y.Tags.map(e=>(0,v.jsx)(g,{label:e.Key??``,value:e.Value},e.Key))})]})]}),(0,v.jsx)(m,{description:`Are you sure you want to delete the key pair "${y.KeyName}"? This action cannot be undone. Any instances using this key pair will no longer be able to be accessed with it.`,isPending:b.isPending,onConfirm:C,onOpenChange:S,open:x,title:`Delete Key Pair`})]})}export{y as component};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-CaeeEov0.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/badge-BYQj3YeB.js","assets/useRender-DyI7F-Qi.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/detail-row-CclMDqj8.js","assets/ec2-CmqOirWQ.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{O as r,_ as i,d as a,x as o}from"./ec2-DJL24ekw.js";var s=e(`/_auth/ec2/(route-tables)/describe-route-tables/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...o(t.id),staleTime:`static`}),e.queryClient.query({...a,staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | Route Table | Mulga`}]}),component:t(()=>n(()=>import(`./_id-CaeeEov0.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46])),`component`)});export{s as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-yDbgsS1K.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/badge-BYQj3YeB.js","assets/useRender-DyI7F-Qi.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/detail-row-CclMDqj8.js","assets/ec2-Cr9GrTUU.js","assets/elbv2-B_G5anft.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{O as r,_ as i,d as a,x as o}from"./ec2-DJL24ekw.js";var s=e(`/_auth/ec2/(route-tables)/describe-route-tables/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...o(t.id),staleTime:`static`}),e.queryClient.query({...a,staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | Route Table | Mulga`}]}),component:t(()=>n(()=>import(`./_id-yDbgsS1K.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47])),`component`)});export{s as t};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-feUT3qnC.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{g as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(nat-gateways)/describe-nat-gateways/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...r(t.id),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${e.id} | NAT Gateway | Mulga`}]}),component:t(()=>n(()=>import(`./_id-feUT3qnC.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-DXXFtZQq.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{g as r}from"./ec2-DJL24ekw.js";var i=e(`/_auth/ec2/(nat-gateways)/describe-nat-gateways/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...r(t.id),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${e.id} | NAT Gateway | Mulga`}]}),component:t(()=>n(()=>import(`./_id-DXXFtZQq.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{i as t};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-CCzBHuPA.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/httpRequest-Bc1WZmsd.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/plus-DMni1ZkC.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/ec2-CmqOirWQ.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{t as n}from"./createLucideIcon-DI_DJF-h.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{C as i}from"./ec2-DJL24ekw.js";var a={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};a.node;var o=n(a),s=e(`/_auth/ec2/(security-groups)/describe-security-groups/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...i(t.id),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${e.id} | Security Group | Mulga`}]}),component:t(()=>r(()=>import(`./_id-CCzBHuPA.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])),`component`)});export{o as n,s as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-C72MPTbM.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/plus-DMni1ZkC.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/ec2-Cr9GrTUU.js","assets/elbv2-B_G5anft.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{t as n}from"./createLucideIcon-DI_DJF-h.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{C as i}from"./ec2-DJL24ekw.js";var a={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};a.node;var o=n(a),s=e(`/_auth/ec2/(security-groups)/describe-security-groups/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...i(t.id),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${e.id} | Security Group | Mulga`}]}),component:t(()=>r(()=>import(`./_id-C72MPTbM.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46])),`component`)});export{o as n,s as t};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BrlJkVbk.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/pencil-Cx6ej4Kx.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/acm-BGw6nz9A.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/certificate-import-dialog-CGT29fMd.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/ec2-DJL24ekw.js","assets/elbv2-CBiYqcpA.js","assets/commandBuilder-C5yeyMcZ.js","assets/elbv2-19pV3l7Z.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js","assets/elbv2-D92OK4oO.js","assets/attributes-editor-D0211674.js","assets/tags-editor-CGAehu-w.js","assets/plus-DMni1ZkC.js","assets/tabs-CAMCnrj7.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{j as n}from"./httpRequest-Bc1WZmsd.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{O as i}from"./ec2-DJL24ekw.js";import{i as a,n as o,r as s,s as c,u as l}from"./elbv2-19pV3l7Z.js";var u=e(`/_auth/ec2/(load-balancers)/describe-load-balancers/$id`)({loader:async({context:e,params:t})=>{let r=n(t.id);await Promise.all([e.queryClient.query({...a(r),staleTime:`static`}),e.queryClient.query({...o(r),staleTime:`static`}),e.queryClient.query({...s(r),staleTime:`static`}),e.queryClient.query({...c([r]),staleTime:`static`}),e.queryClient.query({...l,staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${n(e.id)} | Load Balancer | Mulga`}]}),component:t(()=>r(()=>import(`./_id-BrlJkVbk.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54])),`component`)});export{u as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-Dkl-AQwo.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/pencil-Cx6ej4Kx.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/acm-BGw6nz9A.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/listener-form-y_owZS3C.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/elbv2-B_G5anft.js","assets/ec2-DJL24ekw.js","assets/elbv2-CBiYqcpA.js","assets/commandBuilder-C5yeyMcZ.js","assets/elbv2-19pV3l7Z.js","assets/page-heading-M0NyqAmu.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js","assets/attributes-editor-D0211674.js","assets/tags-editor-CGAehu-w.js","assets/plus-DMni1ZkC.js","assets/tabs-CAMCnrj7.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{j as n}from"./httpRequest-Bc1WZmsd.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{O as i}from"./ec2-DJL24ekw.js";import{i as a,n as o,r as s,s as c,u as l}from"./elbv2-19pV3l7Z.js";var u=e(`/_auth/ec2/(load-balancers)/describe-load-balancers/$id`)({loader:async({context:e,params:t})=>{let r=n(t.id);await Promise.all([e.queryClient.query({...a(r),staleTime:`static`}),e.queryClient.query({...o(r),staleTime:`static`}),e.queryClient.query({...s(r),staleTime:`static`}),e.queryClient.query({...c([r]),staleTime:`static`}),e.queryClient.query({...l,staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${n(e.id)} | Load Balancer | Mulga`}]}),component:t(()=>r(()=>import(`./_id-Dkl-AQwo.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54])),`component`)});export{u as t};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-DkieDCBQ.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/rds-DnVYe-Nj.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/rds-BKbEDMHo.js","assets/queryOptions-Dfvzj6n2.js","assets/page-heading-M0NyqAmu.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js","assets/tabs-CAMCnrj7.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/delete-db-snapshot-dialog-CD5YShBB.js","assets/rds-hO6CGpr0.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/rds-delete-dialog-rZGyeBq2.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/rds-events-panel-0IRk0Dqj.js","assets/rds-tags-tab-COIsvcce.js","assets/useQuery-DVjCHx2S.js","assets/tags-editor-CGAehu-w.js","assets/plus-DMni1ZkC.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{j as n}from"./httpRequest-Bc1WZmsd.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{g as i,i as a,p as o}from"./rds-BKbEDMHo.js";var s=e(`/_auth/rds/(snapshots)/describe-db-snapshots/$id`)({loader:async({context:e,params:t})=>{let r=n(t.id),[s]=await Promise.all([e.queryClient.query({...a(r),staleTime:`static`}),e.queryClient.query({...o(r),staleTime:`static`})]),c=s.DBSnapshots?.[0]?.DBSnapshotArn??``;c!==``&&await e.queryClient.query({...i(c),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${n(e.id)} | RDS | Mulga`}]}),component:t(()=>r(()=>import(`./_id-DkieDCBQ.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])),`component`)});export{s as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-B7I_2hid.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/rds-DnVYe-Nj.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/rds-BKbEDMHo.js","assets/queryOptions-Dfvzj6n2.js","assets/page-heading-M0NyqAmu.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js","assets/tabs-CAMCnrj7.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/delete-db-snapshot-dialog-CD5YShBB.js","assets/rds-hO6CGpr0.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/rds-delete-dialog-rZGyeBq2.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/rds-events-panel-0IRk0Dqj.js","assets/rds-tags-tab-COIsvcce.js","assets/useQuery-DVjCHx2S.js","assets/tags-editor-CGAehu-w.js","assets/plus-DMni1ZkC.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{j as n}from"./httpRequest-Bc1WZmsd.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{g as i,i as a,p as o}from"./rds-BKbEDMHo.js";var s=e(`/_auth/rds/(snapshots)/describe-db-snapshots/$id`)({loader:async({context:e,params:t})=>{let r=n(t.id),[s]=await Promise.all([e.queryClient.query({...a(r),staleTime:`static`}),e.queryClient.query({...o(r),staleTime:`static`})]),c=s.DBSnapshots?.[0]?.DBSnapshotArn??``;c!==``&&await e.queryClient.query({...i(c),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${n(e.id)} | RDS | Mulga`}]}),component:t(()=>r(()=>import(`./_id-B7I_2hid.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])),`component`)});export{s as t};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-B_mVxzMX.js","assets/compiler-runtime-DTT1fEHg.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/createLucideIcon-DI_DJF-h.js","assets/back-link-DjawJm5W.js","assets/check-DKS02ExQ.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/copy-3Ip4Zkw5.js","assets/network-DNraRZY6.js","assets/rotate-cw-BEktaUIR.js","assets/trash-DHuPKozD.js","assets/triangle-alert-Jc46kC7J.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/iam-Fo1DnIKB.js","assets/commandBuilder-CivibiZ7.js","assets/json-DGqns_nK.js","assets/admin-B1g5ktL3.js","assets/signed-fetch-BHraeSLO.js","assets/use-admin--3prNhUW.js","assets/sts-BM0Odtlr.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js","assets/use-copy-to-clipboard-Bscc1MgN.js","assets/ami-details-COgMA7Qb.js","assets/gpu-instance-type-select-Dr56r-me.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{a as r,c as i,s as a}from"./ec2-DJL24ekw.js";var o=e(`/_auth/ec2/(instances)/describe-instances/$id`)({loader:async({context:e,params:t})=>{let[n]=await Promise.all([e.queryClient.query({...a(t.id),staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`})]),o=n.Reservations?.[0]?.Instances?.[0]?.ImageId;return await e.queryClient.query({...r(o),staleTime:`static`}),n},head:({loaderData:e})=>({meta:[{title:`${e?.Reservations?.[0]?.Instances?.[0]?.InstanceId??`Instance`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-B_mVxzMX.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58])),`component`)});export{o as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BgOMx6S7.js","assets/compiler-runtime-DTT1fEHg.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/createLucideIcon-DI_DJF-h.js","assets/back-link-DjawJm5W.js","assets/check-DKS02ExQ.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/copy-3Ip4Zkw5.js","assets/network-DNraRZY6.js","assets/rotate-cw-BEktaUIR.js","assets/trash-DHuPKozD.js","assets/triangle-alert-Jc46kC7J.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/iam-Fo1DnIKB.js","assets/commandBuilder-CivibiZ7.js","assets/json-DGqns_nK.js","assets/admin-B1g5ktL3.js","assets/signed-fetch-BHraeSLO.js","assets/use-admin--3prNhUW.js","assets/sts-BM0Odtlr.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js","assets/use-copy-to-clipboard-Bscc1MgN.js","assets/ami-details-COgMA7Qb.js","assets/gpu-instance-type-select-Dr56r-me.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{a as r,c as i,s as a}from"./ec2-DJL24ekw.js";var o=e(`/_auth/ec2/(instances)/describe-instances/$id`)({loader:async({context:e,params:t})=>{let[n]=await Promise.all([e.queryClient.query({...a(t.id),staleTime:`static`}),e.queryClient.query({...i,staleTime:`static`})]),o=n.Reservations?.[0]?.Instances?.[0]?.ImageId;return await e.queryClient.query({...r(o),staleTime:`static`}),n},head:({loaderData:e})=>({meta:[{title:`${e?.Reservations?.[0]?.Instances?.[0]?.InstanceId??`Instance`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-BgOMx6S7.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58])),`component`)});export{o as t};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{k as o}from"./httpRequest-Bc1WZmsd.js";import{t as s}from"./back-link-DjawJm5W.js";import{t as c}from"./trash-DHuPKozD.js";import{t as l}from"./button-Bae9vdts.js";import{g as u}from"./ec2-DJL24ekw.js";import{j as d}from"./ec2-DFivrtZe.js";import{t as f}from"./_id-YzyaSfEH.js";import{t as p}from"./page-heading-M0NyqAmu.js";import{t as m}from"./error-banner-BcDqaPk7.js";import{t as h}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as g,t as _}from"./detail-row-CclMDqj8.js";import{t as v}from"./state-badge-BD9XGBez.js";var y=t(n()),b=e();function x(){let{id:e}=f.useParams(),t=a(),{data:n}=r(u(e)),x=d(),[S,C]=(0,y.useState)(!1),w=n.NatGateways?.[0],T=async()=>{try{await x.mutateAsync(e),t({to:`/ec2/describe-nat-gateways`})}finally{C(!1)}};if(!w?.NatGatewayId)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s,{to:`/ec2/describe-nat-gateways`,children:`Back to NAT Gateways`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`NAT Gateway not found.`})]});let E=o(w.Tags),D=w.NatGatewayAddresses?.[0];return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s,{to:`/ec2/describe-nat-gateways`,children:`Back to NAT Gateways`}),x.error&&(0,b.jsx)(m,{error:x.error,msg:`Failed to delete NAT Gateway`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(p,{actions:(0,b.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,b.jsxs)(l,{disabled:x.isPending,onClick:()=>{C(!0)},size:`sm`,variant:`destructive`,children:[(0,b.jsx)(c,{className:`size-4`}),`Delete`]}),(0,b.jsx)(v,{state:w.State})]}),subtitle:`NAT Gateway Details`,title:E?`${w.NatGatewayId} (${E})`:w.NatGatewayId}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`NAT Gateway Information`}),(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`NAT Gateway ID`,value:w.NatGatewayId}),(0,b.jsx)(_,{label:`State`,value:w.State}),(0,b.jsx)(_,{label:`Connectivity`,value:w.ConnectivityType}),(0,b.jsx)(_,{label:`Subnet ID`,value:w.SubnetId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:w.SubnetId},to:`/ec2/describe-subnets/$id`,children:w.SubnetId}):`—`}),(0,b.jsx)(_,{label:`VPC ID`,value:w.VpcId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:w.VpcId},to:`/ec2/describe-vpcs/$id`,children:w.VpcId}):`—`}),(0,b.jsx)(_,{label:`Public IP`,value:D?.PublicIp??`—`}),(0,b.jsx)(_,{label:`Allocation ID`,value:D?.AllocationId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:D.AllocationId},to:`/ec2/describe-addresses/$id`,children:D.AllocationId}):`—`})]})]})]}),(0,b.jsx)(h,{description:`Are you sure you want to delete the NAT Gateway "${w.NatGatewayId}"? This action cannot be undone. The associated Elastic IP is not released.`,isPending:x.isPending,onConfirm:T,onOpenChange:C,open:S,title:`Delete NAT Gateway`})]})}export{x as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{k as o}from"./httpRequest-Bc1WZmsd.js";import{t as s}from"./back-link-DjawJm5W.js";import{t as c}from"./trash-DHuPKozD.js";import{t as l}from"./button-Bae9vdts.js";import{g as u}from"./ec2-DJL24ekw.js";import{j as d}from"./ec2-iXujaheD.js";import{t as f}from"./_id-CaQBG_tF.js";import{t as p}from"./page-heading-M0NyqAmu.js";import{t as m}from"./error-banner-BcDqaPk7.js";import{t as h}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as g,t as _}from"./detail-row-CclMDqj8.js";import{t as v}from"./state-badge-BiFj5bbX.js";var y=t(n()),b=e();function x(){let{id:e}=f.useParams(),t=a(),{data:n}=r(u(e)),x=d(),[S,C]=(0,y.useState)(!1),w=n.NatGateways?.[0],T=async()=>{try{await x.mutateAsync(e),t({to:`/ec2/describe-nat-gateways`})}finally{C(!1)}};if(!w?.NatGatewayId)return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s,{to:`/ec2/describe-nat-gateways`,children:`Back to NAT Gateways`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`NAT Gateway not found.`})]});let E=o(w.Tags),D=w.NatGatewayAddresses?.[0];return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s,{to:`/ec2/describe-nat-gateways`,children:`Back to NAT Gateways`}),x.error&&(0,b.jsx)(m,{error:x.error,msg:`Failed to delete NAT Gateway`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(p,{actions:(0,b.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,b.jsxs)(l,{disabled:x.isPending,onClick:()=>{C(!0)},size:`sm`,variant:`destructive`,children:[(0,b.jsx)(c,{className:`size-4`}),`Delete`]}),(0,b.jsx)(v,{state:w.State})]}),subtitle:`NAT Gateway Details`,title:E?`${w.NatGatewayId} (${E})`:w.NatGatewayId}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`NAT Gateway Information`}),(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`NAT Gateway ID`,value:w.NatGatewayId}),(0,b.jsx)(_,{label:`State`,value:w.State}),(0,b.jsx)(_,{label:`Connectivity`,value:w.ConnectivityType}),(0,b.jsx)(_,{label:`Subnet ID`,value:w.SubnetId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:w.SubnetId},to:`/ec2/describe-subnets/$id`,children:w.SubnetId}):`—`}),(0,b.jsx)(_,{label:`VPC ID`,value:w.VpcId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:w.VpcId},to:`/ec2/describe-vpcs/$id`,children:w.VpcId}):`—`}),(0,b.jsx)(_,{label:`Public IP`,value:D?.PublicIp??`—`}),(0,b.jsx)(_,{label:`Allocation ID`,value:D?.AllocationId?(0,b.jsx)(i,{className:`text-primary hover:underline`,params:{id:D.AllocationId},to:`/ec2/describe-addresses/$id`,children:D.AllocationId}):`—`})]})]})]}),(0,b.jsx)(h,{description:`Are you sure you want to delete the NAT Gateway "${w.NatGatewayId}"? This action cannot be undone. The associated Elastic IP is not released.`,isPending:x.isPending,onConfirm:T,onOpenChange:C,open:S,title:`Delete NAT Gateway`})]})}export{x as component};
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{t as i}from"./back-link-DjawJm5W.js";import{t as a}from"./input-CpcyJw4R.js";import{k as o}from"./ec2-DJL24ekw.js";import{X as s}from"./ec2-DFivrtZe.js";import{t as c}from"./_id-FEWgr3M8.js";import{t as l}from"./page-heading-M0NyqAmu.js";import{i as u,t as d}from"./zod-VwMMRSfy.js";import{t as f}from"./error-banner-BcDqaPk7.js";import{t as p}from"./form-actions-C3zG6ld2.js";import{r as m,s as h,t as g}from"./field-ChkDR_wL.js";import{y as _}from"./ec2-CmqOirWQ.js";var v=t(),y=e();function b(){let e=(0,v.c)(53),{id:t}=c.useParams(),b=r(),x;e[0]===t?x=e[1]:(x=o(t),e[0]=t,e[1]=x);let{data:S}=n(x),C=S.Volumes?.[0],w=C?.VolumeId,T=s(),E=C?.Size??1,D;e[2]===E?D=e[3]:(D=d(_.refine(e=>e.size>E,{message:`New size must be greater than current size (${E} GiB)`,path:[`size`]})),e[2]=E,e[3]=D);let O;e[4]===E?O=e[5]:(O={size:E},e[4]=E,e[5]=O);let k;e[6]!==D||e[7]!==O?(k={resolver:D,defaultValues:O},e[6]=D,e[7]=O,e[8]=k):k=e[8];let{handleSubmit:A,register:j,formState:M}=u(k),{errors:N,isSubmitting:P}=M;if(!w){let t;return e[9]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(i,{to:`/ec2/describe-volumes`,children:`Back to volumes`}),(0,y.jsx)(`p`,{className:`text-muted-foreground`,children:`Volume not found.`})]}),e[9]=t):t=e[9],t}let F;e[10]!==T||e[11]!==b||e[12]!==w?(F=async e=>{await T.mutateAsync({...e,volumeId:w}),b({to:`/ec2/describe-volumes/$id`,params:{id:w}})},e[10]=T,e[11]=b,e[12]=w,e[13]=F):F=e[13];let I=F,L,R;e[14]===w?(L=e[15],R=e[16]):(L=(0,y.jsx)(i,{params:{id:w},to:`/ec2/describe-volumes/$id`,children:`Back to volume`}),R=(0,y.jsx)(l,{subtitle:w,title:`Resize Volume`}),e[14]=w,e[15]=L,e[16]=R);let z;e[17]===T.error?z=e[18]:(z=T.error&&(0,y.jsx)(f,{error:T.error,msg:`Failed to resize volume`}),e[17]=T.error,e[18]=z);let B;e[19]!==A||e[20]!==I?(B=A(I),e[19]=A,e[20]=I,e[21]=B):B=e[21];let V;e[22]===E?V=e[23]:(V=(0,y.jsx)(`div`,{className:`space-y-2`,children:(0,y.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Current size: `,E,` GiB`]})}),e[22]=E,e[23]=V);let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,y.jsx)(h,{children:(0,y.jsx)(`label`,{htmlFor:`size`,children:`New size (GiB)`})}),e[24]=H):H=e[24];let U=!!N.size,W=E+1,G;e[25]===j?G=e[26]:(G=j(`size`,{valueAsNumber:!0}),e[25]=j,e[26]=G);let K;e[27]!==U||e[28]!==W||e[29]!==G?(K=(0,y.jsx)(a,{"aria-invalid":U,id:`size`,min:W,type:`number`,...G}),e[27]=U,e[28]=W,e[29]=G,e[30]=K):K=e[30];let q;e[31]===N.size?q=e[32]:(q=(0,y.jsx)(m,{errors:[N.size]}),e[31]=N.size,e[32]=q);let J;e[33]!==K||e[34]!==q?(J=(0,y.jsxs)(g,{children:[H,K,q]}),e[33]=K,e[34]=q,e[35]=J):J=e[35];let Y;e[36]!==b||e[37]!==w?(Y=async()=>{await b({to:`/ec2/describe-volumes/$id`,params:{id:w}})},e[36]=b,e[37]=w,e[38]=Y):Y=e[38];let X;e[39]!==P||e[40]!==T.isPending||e[41]!==Y?(X=(0,y.jsx)(p,{isPending:T.isPending,isSubmitting:P,onCancel:Y,pendingLabel:`Resizing\\u2026`,submitLabel:`Resize Volume`}),e[39]=P,e[40]=T.isPending,e[41]=Y,e[42]=X):X=e[42];let Z;e[43]!==V||e[44]!==J||e[45]!==X||e[46]!==B?(Z=(0,y.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:B,children:[V,J,X]}),e[43]=V,e[44]=J,e[45]=X,e[46]=B,e[47]=Z):Z=e[47];let Q;return e[48]!==Z||e[49]!==L||e[50]!==R||e[51]!==z?(Q=(0,y.jsxs)(y.Fragment,{children:[L,R,z,Z]}),e[48]=Z,e[49]=L,e[50]=R,e[51]=z,e[52]=Q):Q=e[52],Q}export{b as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{t as i}from"./back-link-DjawJm5W.js";import{t as a}from"./input-CpcyJw4R.js";import{k as o}from"./ec2-DJL24ekw.js";import{X as s}from"./ec2-iXujaheD.js";import{t as c}from"./_id-BzF3654U.js";import{t as l}from"./page-heading-M0NyqAmu.js";import{i as u,t as d}from"./zod-VwMMRSfy.js";import{t as f}from"./error-banner-BcDqaPk7.js";import{t as p}from"./form-actions-C3zG6ld2.js";import{r as m,s as h,t as g}from"./field-ChkDR_wL.js";import{y as _}from"./ec2-Cr9GrTUU.js";var v=t(),y=e();function b(){let e=(0,v.c)(53),{id:t}=c.useParams(),b=r(),x;e[0]===t?x=e[1]:(x=o(t),e[0]=t,e[1]=x);let{data:S}=n(x),C=S.Volumes?.[0],w=C?.VolumeId,T=s(),E=C?.Size??1,D;e[2]===E?D=e[3]:(D=d(_.refine(e=>e.size>E,{message:`New size must be greater than current size (${E} GiB)`,path:[`size`]})),e[2]=E,e[3]=D);let O;e[4]===E?O=e[5]:(O={size:E},e[4]=E,e[5]=O);let k;e[6]!==D||e[7]!==O?(k={resolver:D,defaultValues:O},e[6]=D,e[7]=O,e[8]=k):k=e[8];let{handleSubmit:A,register:j,formState:M}=u(k),{errors:N,isSubmitting:P}=M;if(!w){let t;return e[9]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(i,{to:`/ec2/describe-volumes`,children:`Back to volumes`}),(0,y.jsx)(`p`,{className:`text-muted-foreground`,children:`Volume not found.`})]}),e[9]=t):t=e[9],t}let F;e[10]!==T||e[11]!==b||e[12]!==w?(F=async e=>{await T.mutateAsync({...e,volumeId:w}),b({to:`/ec2/describe-volumes/$id`,params:{id:w}})},e[10]=T,e[11]=b,e[12]=w,e[13]=F):F=e[13];let I=F,L,R;e[14]===w?(L=e[15],R=e[16]):(L=(0,y.jsx)(i,{params:{id:w},to:`/ec2/describe-volumes/$id`,children:`Back to volume`}),R=(0,y.jsx)(l,{subtitle:w,title:`Resize Volume`}),e[14]=w,e[15]=L,e[16]=R);let z;e[17]===T.error?z=e[18]:(z=T.error&&(0,y.jsx)(f,{error:T.error,msg:`Failed to resize volume`}),e[17]=T.error,e[18]=z);let B;e[19]!==A||e[20]!==I?(B=A(I),e[19]=A,e[20]=I,e[21]=B):B=e[21];let V;e[22]===E?V=e[23]:(V=(0,y.jsx)(`div`,{className:`space-y-2`,children:(0,y.jsxs)(`p`,{className:`text-sm text-muted-foreground`,children:[`Current size: `,E,` GiB`]})}),e[22]=E,e[23]=V);let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,y.jsx)(h,{children:(0,y.jsx)(`label`,{htmlFor:`size`,children:`New size (GiB)`})}),e[24]=H):H=e[24];let U=!!N.size,W=E+1,G;e[25]===j?G=e[26]:(G=j(`size`,{valueAsNumber:!0}),e[25]=j,e[26]=G);let K;e[27]!==U||e[28]!==W||e[29]!==G?(K=(0,y.jsx)(a,{"aria-invalid":U,id:`size`,min:W,type:`number`,...G}),e[27]=U,e[28]=W,e[29]=G,e[30]=K):K=e[30];let q;e[31]===N.size?q=e[32]:(q=(0,y.jsx)(m,{errors:[N.size]}),e[31]=N.size,e[32]=q);let J;e[33]!==K||e[34]!==q?(J=(0,y.jsxs)(g,{children:[H,K,q]}),e[33]=K,e[34]=q,e[35]=J):J=e[35];let Y;e[36]!==b||e[37]!==w?(Y=async()=>{await b({to:`/ec2/describe-volumes/$id`,params:{id:w}})},e[36]=b,e[37]=w,e[38]=Y):Y=e[38];let X;e[39]!==P||e[40]!==T.isPending||e[41]!==Y?(X=(0,y.jsx)(p,{isPending:T.isPending,isSubmitting:P,onCancel:Y,pendingLabel:`Resizing\\u2026`,submitLabel:`Resize Volume`}),e[39]=P,e[40]=T.isPending,e[41]=Y,e[42]=X):X=e[42];let Z;e[43]!==V||e[44]!==J||e[45]!==X||e[46]!==B?(Z=(0,y.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:B,children:[V,J,X]}),e[43]=V,e[44]=J,e[45]=X,e[46]=B,e[47]=Z):Z=e[47];let Q;return e[48]!==Z||e[49]!==L||e[50]!==R||e[51]!==z?(Q=(0,y.jsxs)(y.Fragment,{children:[L,R,z,Z]}),e[48]=Z,e[49]=L,e[50]=R,e[51]=z,e[52]=Q):Q=e[52],Q}export{b as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{k as o}from"./httpRequest-Bc1WZmsd.js";import{t as s}from"./back-link-DjawJm5W.js";import{c,i as l,n as u,s as d,t as f}from"./select-Bgl6IAYG.js";import{t as p}from"./trash-DHuPKozD.js";import{t as m}from"./button-Bae9vdts.js";import{M as h,u as g}from"./ec2-DJL24ekw.js";import{D as _,V as v,o as y}from"./ec2-DFivrtZe.js";import{t as b}from"./_id-Cl4gNg8Q.js";import{t as x}from"./page-heading-M0NyqAmu.js";import{t as S}from"./error-banner-BcDqaPk7.js";import{t as C}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as w,t as T}from"./detail-row-CclMDqj8.js";var E=t(n()),D=e();function O(){let{id:e}=b.useParams(),t=a(),{data:n}=r(g(e)),{data:O}=r(h),k=y(),A=v(),j=_(),[M,N]=(0,E.useState)(!1),[P,F]=(0,E.useState)(null),[I,L]=(0,E.useState)(``),R=n.InternetGateways?.[0],z=O.Vpcs??[],B=async()=>{try{await j.mutateAsync(e),t({to:`/ec2/describe-internet-gateways`})}finally{N(!1)}},V=async()=>{I&&await k.mutateAsync({internetGatewayId:e,vpcId:I})},H=async()=>{if(P)try{await A.mutateAsync({internetGatewayId:e,vpcId:P})}catch{}finally{F(null)}};if(!R?.InternetGatewayId)return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(s,{to:`/ec2/describe-internet-gateways`,children:`Back to Internet Gateways`}),(0,D.jsx)(`p`,{className:`text-muted-foreground`,children:`Internet Gateway not found.`})]});let U=R.Attachments?.[0],W=!!U?.VpcId,G=o(R.Tags);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(s,{to:`/ec2/describe-internet-gateways`,children:`Back to Internet Gateways`}),(j.error??k.error??A.error)&&(0,D.jsx)(S,{error:j.error??k.error??A.error??void 0,msg:`Internet Gateway action failed`}),(0,D.jsxs)(`div`,{className:`space-y-6`,children:[(0,D.jsx)(x,{actions:(0,D.jsxs)(m,{disabled:W||j.isPending,onClick:()=>{N(!0)},size:`sm`,variant:`destructive`,children:[(0,D.jsx)(p,{className:`size-4`}),`Delete`]}),subtitle:`Internet Gateway Details`,title:G?`${R.InternetGatewayId} (${G})`:R.InternetGatewayId}),(0,D.jsxs)(w,{children:[(0,D.jsx)(w.Header,{children:`Internet Gateway Information`}),(0,D.jsxs)(w.Content,{children:[(0,D.jsx)(T,{label:`Internet Gateway ID`,value:R.InternetGatewayId}),(0,D.jsx)(T,{label:`Owner ID`,value:R.OwnerId??`—`}),(0,D.jsx)(T,{label:`State`,value:U?.State??`detached`})]})]}),(0,D.jsxs)(w,{children:[(0,D.jsx)(w.Header,{children:`VPC Attachment`}),(0,D.jsx)(w.Content,{children:W?(0,D.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,D.jsx)(i,{className:`text-primary hover:underline`,params:{id:U.VpcId??``},to:`/ec2/describe-vpcs/$id`,children:U.VpcId}),(0,D.jsx)(m,{disabled:A.isPending,onClick:()=>{F(U.VpcId??``)},size:`sm`,variant:`outline`,children:`Detach`})]}):(0,D.jsxs)(`div`,{className:`flex items-end gap-2`,children:[(0,D.jsx)(`div`,{className:`flex-1`,children:(0,D.jsxs)(f,{onValueChange:e=>{L(e??``)},value:I,children:[(0,D.jsx)(d,{className:`w-full`,children:(0,D.jsx)(c,{placeholder:`Select a VPC`})}),(0,D.jsx)(u,{children:z.map(e=>{let t=o(e.Tags);return(0,D.jsx)(l,{value:e.VpcId??``,children:t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`},e.VpcId)})})]})}),(0,D.jsx)(m,{disabled:!I||k.isPending,onClick:V,size:`sm`,children:`Attach`})]})})]})]}),(0,D.jsx)(C,{description:`Are you sure you want to delete the Internet Gateway "${R.InternetGatewayId}"? This action cannot be undone.`,isPending:j.isPending,onConfirm:B,onOpenChange:N,open:M,title:`Delete Internet Gateway`}),(0,D.jsx)(C,{confirmLabel:`Detach`,description:`Detach "${R.InternetGatewayId}" from "${P}"? Every subnet in the VPC that routes through it loses internet access.`,isPending:A.isPending,onConfirm:H,onOpenChange:e=>{e||F(null)},open:P!==null,pendingLabel:`Detaching…`,title:`Detach Internet Gateway`})]})}export{O as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{k as o}from"./httpRequest-Bc1WZmsd.js";import{t as s}from"./back-link-DjawJm5W.js";import{c,i as l,n as u,s as d,t as f}from"./select-Bgl6IAYG.js";import{t as p}from"./trash-DHuPKozD.js";import{t as m}from"./button-Bae9vdts.js";import{M as h,u as g}from"./ec2-DJL24ekw.js";import{D as _,V as v,o as y}from"./ec2-iXujaheD.js";import{t as b}from"./_id-EXa1ce3y.js";import{t as x}from"./page-heading-M0NyqAmu.js";import{t as S}from"./error-banner-BcDqaPk7.js";import{t as C}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as w,t as T}from"./detail-row-CclMDqj8.js";var E=t(n()),D=e();function O(){let{id:e}=b.useParams(),t=a(),{data:n}=r(g(e)),{data:O}=r(h),k=y(),A=v(),j=_(),[M,N]=(0,E.useState)(!1),[P,F]=(0,E.useState)(null),[I,L]=(0,E.useState)(``),R=n.InternetGateways?.[0],z=O.Vpcs??[],B=async()=>{try{await j.mutateAsync(e),t({to:`/ec2/describe-internet-gateways`})}finally{N(!1)}},V=async()=>{I&&await k.mutateAsync({internetGatewayId:e,vpcId:I})},H=async()=>{if(P)try{await A.mutateAsync({internetGatewayId:e,vpcId:P})}catch{}finally{F(null)}};if(!R?.InternetGatewayId)return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(s,{to:`/ec2/describe-internet-gateways`,children:`Back to Internet Gateways`}),(0,D.jsx)(`p`,{className:`text-muted-foreground`,children:`Internet Gateway not found.`})]});let U=R.Attachments?.[0],W=!!U?.VpcId,G=o(R.Tags);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(s,{to:`/ec2/describe-internet-gateways`,children:`Back to Internet Gateways`}),(j.error??k.error??A.error)&&(0,D.jsx)(S,{error:j.error??k.error??A.error??void 0,msg:`Internet Gateway action failed`}),(0,D.jsxs)(`div`,{className:`space-y-6`,children:[(0,D.jsx)(x,{actions:(0,D.jsxs)(m,{disabled:W||j.isPending,onClick:()=>{N(!0)},size:`sm`,variant:`destructive`,children:[(0,D.jsx)(p,{className:`size-4`}),`Delete`]}),subtitle:`Internet Gateway Details`,title:G?`${R.InternetGatewayId} (${G})`:R.InternetGatewayId}),(0,D.jsxs)(w,{children:[(0,D.jsx)(w.Header,{children:`Internet Gateway Information`}),(0,D.jsxs)(w.Content,{children:[(0,D.jsx)(T,{label:`Internet Gateway ID`,value:R.InternetGatewayId}),(0,D.jsx)(T,{label:`Owner ID`,value:R.OwnerId??`—`}),(0,D.jsx)(T,{label:`State`,value:U?.State??`detached`})]})]}),(0,D.jsxs)(w,{children:[(0,D.jsx)(w.Header,{children:`VPC Attachment`}),(0,D.jsx)(w.Content,{children:W?(0,D.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,D.jsx)(i,{className:`text-primary hover:underline`,params:{id:U.VpcId??``},to:`/ec2/describe-vpcs/$id`,children:U.VpcId}),(0,D.jsx)(m,{disabled:A.isPending,onClick:()=>{F(U.VpcId??``)},size:`sm`,variant:`outline`,children:`Detach`})]}):(0,D.jsxs)(`div`,{className:`flex items-end gap-2`,children:[(0,D.jsx)(`div`,{className:`flex-1`,children:(0,D.jsxs)(f,{onValueChange:e=>{L(e??``)},value:I,children:[(0,D.jsx)(d,{className:`w-full`,children:(0,D.jsx)(c,{placeholder:`Select a VPC`})}),(0,D.jsx)(u,{children:z.map(e=>{let t=o(e.Tags);return(0,D.jsx)(l,{value:e.VpcId??``,children:t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`},e.VpcId)})})]})}),(0,D.jsx)(m,{disabled:!I||k.isPending,onClick:V,size:`sm`,children:`Attach`})]})})]})]}),(0,D.jsx)(C,{description:`Are you sure you want to delete the Internet Gateway "${R.InternetGatewayId}"? This action cannot be undone.`,isPending:j.isPending,onConfirm:B,onOpenChange:N,open:M,title:`Delete Internet Gateway`}),(0,D.jsx)(C,{confirmLabel:`Detach`,description:`Detach "${R.InternetGatewayId}" from "${P}"? Every subnet in the VPC that routes through it loses internet access.`,isPending:A.isPending,onConfirm:H,onOpenChange:e=>{e||F(null)},open:P!==null,pendingLabel:`Detaching…`,title:`Detach Internet Gateway`})]})}export{O as component};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-C5tKSRd_.js","assets/compiler-runtime-DTT1fEHg.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/camera-1Qc58YO0.js","assets/pencil-Cx6ej4Kx.js","assets/cli-command-panel-DPooQRso.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/copy-3Ip4Zkw5.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/use-copy-to-clipboard-Bscc1MgN.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/rds-DnVYe-Nj.js","assets/rds-hO6CGpr0.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/rds-BKbEDMHo.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/form-actions-C3zG6ld2.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js","assets/tabs-CAMCnrj7.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/picker-notice-Cj5Hb6RJ.js","assets/security-group-checkboxes-CgmGDP6L.js","assets/select-Bgl6IAYG.js","assets/usePositioner-CRZWTJxW.js","assets/create-db-snapshot-dialog-DKy5_7Dd.js","assets/tags-field-array-B4zgmLw4.js","assets/plus-DMni1ZkC.js","assets/delete-db-snapshot-dialog-CD5YShBB.js","assets/rds-delete-dialog-rZGyeBq2.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/rds-events-panel-0IRk0Dqj.js","assets/rds-tags-tab-COIsvcce.js","assets/tags-editor-CGAehu-w.js","assets/delete-db-instance-dialog-1KZXTOil.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{j as n}from"./httpRequest-Bc1WZmsd.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{c as i,g as a,n as o,s,t as c}from"./rds-BKbEDMHo.js";var l=e(`/_auth/rds/(db-instances)/describe-db-instances/$id`)({loader:async({context:e,params:t})=>{let r=n(t.id),[l]=await Promise.all([e.queryClient.query({...o(r),staleTime:`static`}),e.queryClient.query({...s(r),staleTime:`static`}),e.queryClient.query({...i(r),staleTime:`static`}),e.queryClient.query({...c(r),staleTime:`static`})]),u=l.DBInstances?.[0]?.DBInstanceArn??``;await e.queryClient.query({...a(u),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${n(e.id)} | RDS | Mulga`}]}),component:t(()=>r(()=>import(`./_id-C5tKSRd_.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64])),`component`)});export{l as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-FblVF7Ln.js","assets/compiler-runtime-DTT1fEHg.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/camera-1Qc58YO0.js","assets/pencil-Cx6ej4Kx.js","assets/cli-command-panel-DPooQRso.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/copy-3Ip4Zkw5.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/use-copy-to-clipboard-Bscc1MgN.js","assets/trash-DHuPKozD.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/rds-DnVYe-Nj.js","assets/rds-hO6CGpr0.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/rds-BKbEDMHo.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/form-actions-C3zG6ld2.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js","assets/tabs-CAMCnrj7.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/picker-notice-Cj5Hb6RJ.js","assets/security-group-checkboxes-CgmGDP6L.js","assets/select-Bgl6IAYG.js","assets/usePositioner-CRZWTJxW.js","assets/create-db-snapshot-dialog-DKy5_7Dd.js","assets/tags-field-array-B4zgmLw4.js","assets/plus-DMni1ZkC.js","assets/delete-db-snapshot-dialog-CD5YShBB.js","assets/rds-delete-dialog-rZGyeBq2.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/rds-events-panel-0IRk0Dqj.js","assets/rds-tags-tab-COIsvcce.js","assets/tags-editor-CGAehu-w.js","assets/delete-db-instance-dialog-1KZXTOil.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{j as n}from"./httpRequest-Bc1WZmsd.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{c as i,g as a,n as o,s,t as c}from"./rds-BKbEDMHo.js";var l=e(`/_auth/rds/(db-instances)/describe-db-instances/$id`)({loader:async({context:e,params:t})=>{let r=n(t.id),[l]=await Promise.all([e.queryClient.query({...o(r),staleTime:`static`}),e.queryClient.query({...s(r),staleTime:`static`}),e.queryClient.query({...i(r),staleTime:`static`}),e.queryClient.query({...c(r),staleTime:`static`})]),u=l.DBInstances?.[0]?.DBInstanceArn??``;await e.queryClient.query({...a(u),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${n(e.id)} | RDS | Mulga`}]}),component:t(()=>r(()=>import(`./_id-FblVF7Ln.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64])),`component`)});export{l as t};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime-DTT1fEHg.js";import{A as i}from"./removable-TyvHreKc.js";import{t as a}from"./useMutation-DV0DQvGm.js";import{t as o}from"./useSuspenseQuery-C2bXkW_k.js";import{t as s}from"./useNavigate-BiiHYpLW.js";import{o as c}from"./httpRequest-Bc1WZmsd.js";import{t as l}from"./back-link-DjawJm5W.js";import{t as u}from"./circle-arrow-up-B72wB_yn.js";import{t as d}from"./trash-DHuPKozD.js";import{t as f}from"./button-Bae9vdts.js";import{a as p}from"./ec2-DJL24ekw.js";import{B as m}from"./ec2-DFivrtZe.js";import{r as h}from"./signed-fetch-BHraeSLO.js";import{t as g}from"./use-admin--3prNhUW.js";import{t as _}from"./_id-mj6gqk73.js";import{t as v}from"./page-heading-M0NyqAmu.js";import{t as y}from"./error-banner-BcDqaPk7.js";import{a as b,i as x,l as S,n as C,o as w,r as T,s as E,t as D}from"./alert-dialog-BYzNCmBp.js";import{t as O}from"./delete-confirmation-dialog-BIyYnba2.js";import{t as k}from"./state-badge-BD9XGBez.js";import{i as A}from"./system-managed-Dk7ySh_E.js";import{t as j}from"./ami-details-COgMA7Qb.js";var M=t(n()),N=r();function P(){let e=(0,N.c)(2),t=i(),n;return e[0]===t?n=e[1]:(n={mutationFn:F,onSuccess:()=>{t.invalidateQueries({queryKey:[`ec2`,`images`]})}},e[0]=t,e[1]=n),a(n)}async function F(e){let t=c();if(!t)throw Error(`Not authenticated`);return await h({action:`PromoteImage`,credentials:t,params:{ImageId:e}})}var I=e(),L=`000000000000`;function R(){let{id:e}=_.useParams(),t=s(),{data:n}=o(p(e)),r=n?.Images?.[0],{isAdmin:i}=g(),a=m(),c=P(),[h,N]=(0,M.useState)(!1),[F,R]=(0,M.useState)(!1);if(!r?.ImageId||A(r))return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(l,{to:`/ec2/describe-images`,children:`Back to images`}),(0,I.jsx)(`p`,{className:`text-muted-foreground`,children:`Image not found.`})]});let z=r.OwnerId===L;async function B(){try{await a.mutateAsync(e),t({to:`/ec2/describe-images`})}finally{N(!1)}}async function V(){try{await c.mutateAsync(e),R(!1)}catch{}}return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(l,{to:`/ec2/describe-images`,children:`Back to images`}),a.error&&(0,I.jsx)(y,{error:a.error,msg:`Failed to deregister image`}),c.error&&(0,I.jsx)(y,{error:c.error,msg:`Failed to promote image`}),(0,I.jsxs)(`div`,{className:`space-y-6`,children:[(0,I.jsx)(v,{actions:(0,I.jsxs)(`div`,{className:`flex items-center gap-2`,children:[i&&!z&&(0,I.jsxs)(f,{onClick:()=>{R(!0)},size:`sm`,variant:`outline`,children:[(0,I.jsx)(u,{className:`size-4`}),`Promote to System`]}),(0,I.jsxs)(f,{onClick:()=>{N(!0)},size:`sm`,variant:`destructive`,children:[(0,I.jsx)(d,{className:`size-4`}),`Deregister`]}),(0,I.jsx)(k,{state:r.State})]}),subtitle:`Image Details`,title:r.ImageId}),(0,I.jsx)(j,{image:r,showExtendedDetails:!0})]}),(0,I.jsx)(O,{description:`Are you sure you want to deregister "${r.ImageId}"? The backing snapshot will not be deleted.`,isPending:a.isPending,onConfirm:B,onOpenChange:N,open:h,title:`Deregister Image`}),(0,I.jsx)(D,{onOpenChange:R,open:F,children:(0,I.jsxs)(x,{children:[(0,I.jsxs)(E,{children:[(0,I.jsx)(S,{children:`Promote to System Image`}),(0,I.jsxs)(b,{children:[`This will make “`,r.ImageId,`” visible to all accounts as a system image. This cannot be undone via the UI.`]})]}),(0,I.jsxs)(w,{children:[(0,I.jsx)(T,{children:`Cancel`}),(0,I.jsx)(C,{disabled:c.isPending,onClick:V,children:c.isPending?`Promoting…`:`Promote`})]})]})})]})}export{R as component};
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime-DTT1fEHg.js";import{A as i}from"./removable-TyvHreKc.js";import{t as a}from"./useMutation-DV0DQvGm.js";import{t as o}from"./useSuspenseQuery-C2bXkW_k.js";import{t as s}from"./useNavigate-BiiHYpLW.js";import{o as c}from"./httpRequest-Bc1WZmsd.js";import{t as l}from"./back-link-DjawJm5W.js";import{t as u}from"./circle-arrow-up-B72wB_yn.js";import{t as d}from"./trash-DHuPKozD.js";import{t as f}from"./button-Bae9vdts.js";import{a as p}from"./ec2-DJL24ekw.js";import{B as m}from"./ec2-iXujaheD.js";import{r as h}from"./signed-fetch-BHraeSLO.js";import{t as g}from"./use-admin--3prNhUW.js";import{t as _}from"./_id-CB17TYHV.js";import{t as v}from"./page-heading-M0NyqAmu.js";import{t as y}from"./error-banner-BcDqaPk7.js";import{a as b,i as x,l as S,n as C,o as w,r as T,s as E,t as D}from"./alert-dialog-BYzNCmBp.js";import{t as O}from"./delete-confirmation-dialog-BIyYnba2.js";import{t as k}from"./state-badge-BiFj5bbX.js";import{i as A}from"./system-managed-Dk7ySh_E.js";import{t as j}from"./ami-details-COgMA7Qb.js";var M=t(n()),N=r();function P(){let e=(0,N.c)(2),t=i(),n;return e[0]===t?n=e[1]:(n={mutationFn:F,onSuccess:()=>{t.invalidateQueries({queryKey:[`ec2`,`images`]})}},e[0]=t,e[1]=n),a(n)}async function F(e){let t=c();if(!t)throw Error(`Not authenticated`);return await h({action:`PromoteImage`,credentials:t,params:{ImageId:e}})}var I=e(),L=`000000000000`;function R(){let{id:e}=_.useParams(),t=s(),{data:n}=o(p(e)),r=n?.Images?.[0],{isAdmin:i}=g(),a=m(),c=P(),[h,N]=(0,M.useState)(!1),[F,R]=(0,M.useState)(!1);if(!r?.ImageId||A(r))return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(l,{to:`/ec2/describe-images`,children:`Back to images`}),(0,I.jsx)(`p`,{className:`text-muted-foreground`,children:`Image not found.`})]});let z=r.OwnerId===L;async function B(){try{await a.mutateAsync(e),t({to:`/ec2/describe-images`})}finally{N(!1)}}async function V(){try{await c.mutateAsync(e),R(!1)}catch{}}return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(l,{to:`/ec2/describe-images`,children:`Back to images`}),a.error&&(0,I.jsx)(y,{error:a.error,msg:`Failed to deregister image`}),c.error&&(0,I.jsx)(y,{error:c.error,msg:`Failed to promote image`}),(0,I.jsxs)(`div`,{className:`space-y-6`,children:[(0,I.jsx)(v,{actions:(0,I.jsxs)(`div`,{className:`flex items-center gap-2`,children:[i&&!z&&(0,I.jsxs)(f,{onClick:()=>{R(!0)},size:`sm`,variant:`outline`,children:[(0,I.jsx)(u,{className:`size-4`}),`Promote to System`]}),(0,I.jsxs)(f,{onClick:()=>{N(!0)},size:`sm`,variant:`destructive`,children:[(0,I.jsx)(d,{className:`size-4`}),`Deregister`]}),(0,I.jsx)(k,{state:r.State})]}),subtitle:`Image Details`,title:r.ImageId}),(0,I.jsx)(j,{image:r,showExtendedDetails:!0})]}),(0,I.jsx)(O,{description:`Are you sure you want to deregister "${r.ImageId}"? The backing snapshot will not be deleted.`,isPending:a.isPending,onConfirm:B,onOpenChange:N,open:h,title:`Deregister Image`}),(0,I.jsx)(D,{onOpenChange:R,open:F,children:(0,I.jsxs)(x,{children:[(0,I.jsxs)(E,{children:[(0,I.jsx)(S,{children:`Promote to System Image`}),(0,I.jsxs)(b,{children:[`This will make “`,r.ImageId,`” visible to all accounts as a system image. This cannot be undone via the UI.`]})]}),(0,I.jsxs)(w,{children:[(0,I.jsx)(T,{children:`Cancel`}),(0,I.jsx)(C,{disabled:c.isPending,onClick:V,children:c.isPending?`Promoting…`:`Promote`})]})]})})]})}export{R as component};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-BpksemvD.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/detail-row-CclMDqj8.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{M as r,u as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(internet-gateways)/describe-internet-gateways/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | Internet Gateway | Mulga`}]}),component:t(()=>n(()=>import(`./_id-BpksemvD.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-Duo4646P.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/trash-DHuPKozD.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/detail-row-CclMDqj8.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{M as r,u as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(internet-gateways)/describe-internet-gateways/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | Internet Gateway | Mulga`}]}),component:t(()=>n(()=>import(`./_id-Duo4646P.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)});export{a as t};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-DCKnfSun.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/httpRequest-Bc1WZmsd.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{l as r,v as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(placement-groups)/describe-placement-groups/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-DCKnfSun.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id-4nIG286T.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/httpRequest-Bc1WZmsd.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{l as r,v as i}from"./ec2-DJL24ekw.js";var a=e(`/_auth/ec2/(placement-groups)/describe-placement-groups/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...i(t.id),staleTime:`static`}),e.queryClient.query({...r,staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id-4nIG286T.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32])),`component`)});export{a as t};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{k as o}from"./httpRequest-Bc1WZmsd.js";import{t as s}from"./back-link-DjawJm5W.js";import{t as c}from"./trash-DHuPKozD.js";import{t as l}from"./button-Bae9vdts.js";import{O as u,j as d}from"./ec2-DJL24ekw.js";import{z as f}from"./ec2-DFivrtZe.js";import{t as p}from"./_id-CFipLulu.js";import{t as m}from"./page-heading-M0NyqAmu.js";import{t as h}from"./error-banner-BcDqaPk7.js";import{t as g}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as _,t as v}from"./detail-row-CclMDqj8.js";import{t as y}from"./state-badge-BD9XGBez.js";var b=t(n()),x=e();function S(){let{id:e}=p.useParams(),t=a(),{data:n}=r(d(e)),{data:S}=r(u),C=n.Vpcs?.[0],w=f(),[T,E]=(0,b.useState)(!1),D=S.Subnets?.filter(t=>t.VpcId===e)??[],O=async()=>{try{await w.mutateAsync(e),t({to:`/ec2/describe-vpcs`})}finally{E(!1)}};if(!C?.VpcId)return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(s,{to:`/ec2/describe-vpcs`,children:`Back to VPCs`}),(0,x.jsx)(`p`,{className:`text-muted-foreground`,children:`VPC not found.`})]});let k=o(C.Tags);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(s,{to:`/ec2/describe-vpcs`,children:`Back to VPCs`}),w.error&&(0,x.jsx)(h,{error:w.error,msg:`Failed to delete VPC`}),(0,x.jsxs)(`div`,{className:`space-y-6`,children:[(0,x.jsx)(m,{actions:(0,x.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,x.jsxs)(l,{onClick:()=>{E(!0)},size:`sm`,variant:`destructive`,children:[(0,x.jsx)(c,{className:`size-4`}),`Delete`]}),(0,x.jsx)(y,{state:C.State})]}),subtitle:`VPC Details`,title:k?`${C.VpcId} (${k})`:C.VpcId}),(0,x.jsxs)(_,{children:[(0,x.jsx)(_.Header,{children:`VPC Information`}),(0,x.jsxs)(_.Content,{children:[(0,x.jsx)(v,{label:`VPC ID`,value:C.VpcId}),(0,x.jsx)(v,{label:`State`,value:C.State}),(0,x.jsx)(v,{label:`CIDR Block`,value:C.CidrBlock}),(0,x.jsx)(v,{label:`Is Default`,value:C.IsDefault?`Yes`:`No`}),(0,x.jsx)(v,{label:`DHCP Options ID`,value:C.DhcpOptionsId}),(0,x.jsx)(v,{label:`Instance Tenancy`,value:C.InstanceTenancy}),(0,x.jsx)(v,{label:`Owner ID`,value:C.OwnerId})]})]}),D.length>0&&(0,x.jsxs)(_,{children:[(0,x.jsxs)(_.Header,{children:[`Subnets (`,D.length,`)`]}),D.map(e=>e.SubnetId?(0,x.jsxs)(_.Content,{children:[(0,x.jsx)(v,{label:`Subnet ID`,value:(0,x.jsx)(i,{className:`text-primary hover:underline`,params:{id:e.SubnetId},to:`/ec2/describe-subnets/$id`,children:e.SubnetId})}),(0,x.jsx)(v,{label:`CIDR Block`,value:e.CidrBlock}),(0,x.jsx)(v,{label:`Availability Zone`,value:e.AvailabilityZone}),(0,x.jsx)(v,{label:`State`,value:e.State})]},e.SubnetId):null)]})]}),(0,x.jsx)(g,{description:`Are you sure you want to delete the VPC "${C.VpcId}"? This action cannot be undone. The VPC must have no associated subnets or internet gateways.`,isPending:w.isPending,onConfirm:O,onOpenChange:E,open:T,title:`Delete VPC`})]})}export{S as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime-DTT1fEHg.js";import{t as r}from"./useSuspenseQuery-C2bXkW_k.js";import{t as i}from"./link-cv-r823H.js";import{t as a}from"./useNavigate-BiiHYpLW.js";import{k as o}from"./httpRequest-Bc1WZmsd.js";import{t as s}from"./back-link-DjawJm5W.js";import{t as c}from"./trash-DHuPKozD.js";import{t as l}from"./button-Bae9vdts.js";import{O as u,j as d}from"./ec2-DJL24ekw.js";import{z as f}from"./ec2-iXujaheD.js";import{t as p}from"./_id-BtW0qAgz.js";import{t as m}from"./page-heading-M0NyqAmu.js";import{t as h}from"./error-banner-BcDqaPk7.js";import{t as g}from"./delete-confirmation-dialog-BIyYnba2.js";import{n as _,t as v}from"./detail-row-CclMDqj8.js";import{t as y}from"./state-badge-BiFj5bbX.js";var b=t(n()),x=e();function S(){let{id:e}=p.useParams(),t=a(),{data:n}=r(d(e)),{data:S}=r(u),C=n.Vpcs?.[0],w=f(),[T,E]=(0,b.useState)(!1),D=S.Subnets?.filter(t=>t.VpcId===e)??[],O=async()=>{try{await w.mutateAsync(e),t({to:`/ec2/describe-vpcs`})}finally{E(!1)}};if(!C?.VpcId)return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(s,{to:`/ec2/describe-vpcs`,children:`Back to VPCs`}),(0,x.jsx)(`p`,{className:`text-muted-foreground`,children:`VPC not found.`})]});let k=o(C.Tags);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(s,{to:`/ec2/describe-vpcs`,children:`Back to VPCs`}),w.error&&(0,x.jsx)(h,{error:w.error,msg:`Failed to delete VPC`}),(0,x.jsxs)(`div`,{className:`space-y-6`,children:[(0,x.jsx)(m,{actions:(0,x.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,x.jsxs)(l,{onClick:()=>{E(!0)},size:`sm`,variant:`destructive`,children:[(0,x.jsx)(c,{className:`size-4`}),`Delete`]}),(0,x.jsx)(y,{state:C.State})]}),subtitle:`VPC Details`,title:k?`${C.VpcId} (${k})`:C.VpcId}),(0,x.jsxs)(_,{children:[(0,x.jsx)(_.Header,{children:`VPC Information`}),(0,x.jsxs)(_.Content,{children:[(0,x.jsx)(v,{label:`VPC ID`,value:C.VpcId}),(0,x.jsx)(v,{label:`State`,value:C.State}),(0,x.jsx)(v,{label:`CIDR Block`,value:C.CidrBlock}),(0,x.jsx)(v,{label:`Is Default`,value:C.IsDefault?`Yes`:`No`}),(0,x.jsx)(v,{label:`DHCP Options ID`,value:C.DhcpOptionsId}),(0,x.jsx)(v,{label:`Instance Tenancy`,value:C.InstanceTenancy}),(0,x.jsx)(v,{label:`Owner ID`,value:C.OwnerId})]})]}),D.length>0&&(0,x.jsxs)(_,{children:[(0,x.jsxs)(_.Header,{children:[`Subnets (`,D.length,`)`]}),D.map(e=>e.SubnetId?(0,x.jsxs)(_.Content,{children:[(0,x.jsx)(v,{label:`Subnet ID`,value:(0,x.jsx)(i,{className:`text-primary hover:underline`,params:{id:e.SubnetId},to:`/ec2/describe-subnets/$id`,children:e.SubnetId})}),(0,x.jsx)(v,{label:`CIDR Block`,value:e.CidrBlock}),(0,x.jsx)(v,{label:`Availability Zone`,value:e.AvailabilityZone}),(0,x.jsx)(v,{label:`State`,value:e.State})]},e.SubnetId):null)]})]}),(0,x.jsx)(g,{description:`Are you sure you want to delete the VPC "${C.VpcId}"? This action cannot be undone. The VPC must have no associated subnets or internet gateways.`,isPending:w.isPending,onConfirm:O,onOpenChange:E,open:T,title:`Delete VPC`})]})}export{S as component};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_knowledgeBaseId-7x_R9xN1.js","assets/compiler-runtime-DTT1fEHg.js","assets/useMutation-DV0DQvGm.js","assets/removable-TyvHreKc.js","assets/mutation--CHjRtbG.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/bedrockAgent-BC2z7N7d.js","assets/commandBuilder-_yiOeL0z.js","assets/bedrockAgent-BIsnxh0q.js","assets/queryOptions-Dfvzj6n2.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{r,t as i}from"./bedrockAgent-BIsnxh0q.js";var a=e(`/_auth/bedrock/(knowledge-bases)/list-knowledge-bases/$knowledgeBaseId`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.knowledgeBaseId),staleTime:`static`}),e.queryClient.query({...i(t.knowledgeBaseId),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.knowledgeBaseId} | Knowledge Base | Mulga`}]}),component:t(()=>n(()=>import(`./_knowledgeBaseId-7x_R9xN1.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_knowledgeBaseId-CJfx6abx.js","assets/compiler-runtime-DTT1fEHg.js","assets/useMutation-DV0DQvGm.js","assets/removable-TyvHreKc.js","assets/mutation--CHjRtbG.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/reason-parts-DS9EIifS.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/bedrockAgent-BC2z7N7d.js","assets/commandBuilder-_yiOeL0z.js","assets/bedrockAgent-BIsnxh0q.js","assets/queryOptions-Dfvzj6n2.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{r,t as i}from"./bedrockAgent-BIsnxh0q.js";var a=e(`/_auth/bedrock/(knowledge-bases)/list-knowledge-bases/$knowledgeBaseId`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.knowledgeBaseId),staleTime:`static`}),e.queryClient.query({...i(t.knowledgeBaseId),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.knowledgeBaseId} | Knowledge Base | Mulga`}]}),component:t(()=>n(()=>import(`./_knowledgeBaseId-CJfx6abx.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39])),`component`)});export{a as t};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_name-_T90gXai.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/rds-BKbEDMHo.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/rds-DnVYe-Nj.js","assets/page-heading-M0NyqAmu.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js","assets/tabs-CAMCnrj7.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/rds-tags-tab-COIsvcce.js","assets/useQuery-DVjCHx2S.js","assets/rds-hO6CGpr0.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/tags-editor-CGAehu-w.js","assets/plus-DMni1ZkC.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/delete-db-subnet-group-dialog-CPCbs2hR.js","assets/rds-delete-dialog-rZGyeBq2.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{j as n}from"./httpRequest-Bc1WZmsd.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{g as i,m as a}from"./rds-BKbEDMHo.js";var o=e(`/_auth/rds/(subnet-groups)/describe-db-subnet-groups/$name`)({loader:async({context:e,params:t})=>{let r=n(t.name),o=(await e.queryClient.query({...a(r),staleTime:`static`})).DBSubnetGroups?.[0]?.DBSubnetGroupArn??``;o!==``&&await e.queryClient.query({...i(o),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${n(e.name)} | RDS | Mulga`}]}),component:t(()=>r(()=>import(`./_name-_T90gXai.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43])),`component`)});export{o as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_name-BUzANTk6.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/trash-DHuPKozD.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/rds-BKbEDMHo.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/rds-DnVYe-Nj.js","assets/page-heading-M0NyqAmu.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js","assets/tabs-CAMCnrj7.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/rds-tags-tab-COIsvcce.js","assets/useQuery-DVjCHx2S.js","assets/rds-hO6CGpr0.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/tags-editor-CGAehu-w.js","assets/plus-DMni1ZkC.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/delete-db-subnet-group-dialog-CPCbs2hR.js","assets/rds-delete-dialog-rZGyeBq2.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{j as n}from"./httpRequest-Bc1WZmsd.js";import{_o as r}from"./awsClient-I-S7JTV9.js";import{g as i,m as a}from"./rds-BKbEDMHo.js";var o=e(`/_auth/rds/(subnet-groups)/describe-db-subnet-groups/$name`)({loader:async({context:e,params:t})=>{let r=n(t.name),o=(await e.queryClient.query({...a(r),staleTime:`static`})).DBSubnetGroups?.[0]?.DBSubnetGroupArn??``;o!==``&&await e.queryClient.query({...i(o),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${n(e.name)} | RDS | Mulga`}]}),component:t(()=>r(()=>import(`./_name-BUzANTk6.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43])),`component`)});export{o as t};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_serviceName-Dz1I0Y0N.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/ecs-DRWPOVsw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/httpRequest-Bc1WZmsd.js","assets/index.browser-ByUCT8up.js","assets/page-heading-M0NyqAmu.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{i as r,s as i}from"./ecs-DRWPOVsw.js";var a=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName_/services/$serviceName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.clusterName),staleTime:`static`}),e.queryClient.query({...i(t.clusterName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.serviceName} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_serviceName-Dz1I0Y0N.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_serviceName-D1ZbNNwO.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/ecs-DRWPOVsw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/httpRequest-Bc1WZmsd.js","assets/index.browser-ByUCT8up.js","assets/page-heading-M0NyqAmu.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{i as r,s as i}from"./ecs-DRWPOVsw.js";var a=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName_/services/$serviceName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.clusterName),staleTime:`static`}),e.queryClient.query({...i(t.clusterName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.serviceName} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_serviceName-D1ZbNNwO.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),`component`)});export{a as t};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_taskId-CLDdDoe1.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/createLucideIcon-DI_DJF-h.js","assets/ecs-DRWPOVsw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/httpRequest-Bc1WZmsd.js","assets/index.browser-ByUCT8up.js","assets/page-heading-M0NyqAmu.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{s as r}from"./ecs-DRWPOVsw.js";var i=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName_/tasks/$taskId`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...r(t.clusterName),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${e.taskId} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_taskId-CLDdDoe1.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_taskId-C5CFrXhI.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/createLucideIcon-DI_DJF-h.js","assets/ecs-DRWPOVsw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/httpRequest-Bc1WZmsd.js","assets/index.browser-ByUCT8up.js","assets/page-heading-M0NyqAmu.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{s as r}from"./ecs-DRWPOVsw.js";var i=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName_/tasks/$taskId`)({loader:async({context:e,params:t})=>{await e.queryClient.query({...r(t.clusterName),staleTime:`static`})},head:({params:e})=>({meta:[{title:`${e.taskId} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_taskId-C5CFrXhI.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),`component`)});export{i as t};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_userName-CF7E9G3t.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/check-DKS02ExQ.js","assets/trash-DHuPKozD.js","assets/triangle-alert-Jc46kC7J.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/iam-CKwYVJXn.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/commandBuilder-CivibiZ7.js","assets/iam-Fo1DnIKB.js","assets/queryOptions-Dfvzj6n2.js","assets/json-DGqns_nK.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BD9XGBez.js","assets/use-copy-to-clipboard-Bscc1MgN.js","assets/inline-policies-panel-KhZTsfXu.js","assets/useQuery-DVjCHx2S.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/json-editor-C1MMnH7_.js","assets/textarea-BNxO_Zsf.js","assets/iam-CRgvEy8_.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{S as r,b as i,c as a,i as o,p as s,t as c}from"./iam-Fo1DnIKB.js";var l=e(`/_auth/iam/(users)/list-users/$userName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.userName),staleTime:`static`}),e.queryClient.query({...c(t.userName),staleTime:`static`}),e.queryClient.query({...o(t.userName),staleTime:`static`}),e.queryClient.query({...s,staleTime:`static`}),e.queryClient.query({...a(t.userName),staleTime:`static`}),e.queryClient.query({...i(t.userName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.userName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_userName-CF7E9G3t.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])),`component`)});export{l as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_userName-EDUBssLB.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/link-cv-r823H.js","assets/matchContext-Dxo67MeP.js","assets/useNavigate-BiiHYpLW.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/createLucideIcon-DI_DJF-h.js","assets/check-DKS02ExQ.js","assets/trash-DHuPKozD.js","assets/triangle-alert-Jc46kC7J.js","assets/button-Bae9vdts.js","assets/dist-oTooRiSa.js","assets/iam-CKwYVJXn.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/commandBuilder-CivibiZ7.js","assets/iam-Fo1DnIKB.js","assets/queryOptions-Dfvzj6n2.js","assets/json-DGqns_nK.js","assets/page-heading-M0NyqAmu.js","assets/error-banner-BcDqaPk7.js","assets/alert-dialog-BYzNCmBp.js","assets/DialogTitle-BredCU7I.js","assets/useValueAsRef-DbvX_oWn.js","assets/reason-parts-DS9EIifS.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/delete-confirmation-dialog-BIyYnba2.js","assets/detail-row-CclMDqj8.js","assets/state-badge-BiFj5bbX.js","assets/use-copy-to-clipboard-Bscc1MgN.js","assets/inline-policies-panel-KhZTsfXu.js","assets/useQuery-DVjCHx2S.js","assets/input-CpcyJw4R.js","assets/useValueChanged-3Des54hH.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/json-editor-C1MMnH7_.js","assets/textarea-BNxO_Zsf.js","assets/iam-CRgvEy8_.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{_o as n}from"./awsClient-I-S7JTV9.js";import{S as r,b as i,c as a,i as o,p as s,t as c}from"./iam-Fo1DnIKB.js";var l=e(`/_auth/iam/(users)/list-users/$userName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.query({...r(t.userName),staleTime:`static`}),e.queryClient.query({...c(t.userName),staleTime:`static`}),e.queryClient.query({...o(t.userName),staleTime:`static`}),e.queryClient.query({...s,staleTime:`static`}),e.queryClient.query({...a(t.userName),staleTime:`static`}),e.queryClient.query({...i(t.userName),staleTime:`static`})])},head:({params:e})=>({meta:[{title:`${e.userName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_userName-EDUBssLB.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45])),`component`)});export{l as t};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,3 +1,3 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as r}from"./back-link-DjawJm5W.js";import{t as i}from"./cli-command-panel-DPooQRso.js";import{t as a}from"./input-CpcyJw4R.js";import{n as o}from"./ec2-DFivrtZe.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{a as c,i as l,t as u}from"./zod-VwMMRSfy.js";import{t as d}from"./error-banner-BcDqaPk7.js";import{t as f}from"./form-actions-C3zG6ld2.js";import{s as p,t as m}from"./field-ChkDR_wL.js";import{n as h}from"./ec2-CmqOirWQ.js";var g=t(),_=e();function v(){let e=(0,g.c)(36),t=n(),v=o(),b;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(b={resolver:u(h),defaultValues:{name:``}},e[0]=b):b=e[0];let{control:x,handleSubmit:S,register:C,formState:w}=l(b),{isSubmitting:T}=w,E;e[1]===x?E=e[2]:(E={control:x},e[1]=x,e[2]=E);let D=c(E),O;e[3]!==v||e[4]!==t?(O=async e=>{let n=(await v.mutateAsync({name:e.name?.trim()??void 0})).AllocationId;t(n?{to:`/ec2/describe-addresses/$id`,params:{id:n}}:{to:`/ec2/describe-addresses`})},e[3]=v,e[4]=t,e[5]=O):O=e[5];let k=O,A,j;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,_.jsx)(r,{to:`/ec2/describe-addresses`,children:`Back to Elastic IPs`}),j=(0,_.jsx)(s,{title:`Allocate Elastic IP`}),e[6]=A,e[7]=j):(A=e[6],j=e[7]);let M;e[8]===v.error?M=e[9]:(M=v.error&&(0,_.jsx)(d,{error:v.error,msg:`Failed to allocate Elastic IP`}),e[8]=v.error,e[9]=M);let N;e[10]!==S||e[11]!==k?(N=S(k),e[10]=S,e[11]=k,e[12]=N):N=e[12];let P;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,_.jsx)(p,{children:(0,_.jsx)(`label`,{htmlFor:`name`,children:`Name (optional)`})}),e[13]=P):P=e[13];let F;e[14]===C?F=e[15]:(F=C(`name`),e[14]=C,e[15]=F);let I;e[16]===F?I=e[17]:(I=(0,_.jsxs)(m,{children:[P,(0,_.jsx)(a,{id:`name`,placeholder:`my-elastic-ip`,...F})]}),e[16]=F,e[17]=I);let L=D.name??``,R;e[18]===L?R=e[19]:(R=y(L),e[18]=L,e[19]=R);let z;e[20]===R?z=e[21]:(z=(0,_.jsx)(i,{commands:R}),e[20]=R,e[21]=z);let B;e[22]===t?B=e[23]:(B=async()=>{await t({to:`/ec2/describe-addresses`})},e[22]=t,e[23]=B);let V;e[24]!==v.isPending||e[25]!==T||e[26]!==B?(V=(0,_.jsx)(f,{isPending:v.isPending,isSubmitting:T,onCancel:B,pendingLabel:`Allocating…`,submitLabel:`Allocate`}),e[24]=v.isPending,e[25]=T,e[26]=B,e[27]=V):V=e[27];let H;e[28]!==I||e[29]!==z||e[30]!==V||e[31]!==N?(H=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:N,children:[I,z,V]}),e[28]=I,e[29]=z,e[30]=V,e[31]=N,e[32]=H):H=e[32];let U;return e[33]!==H||e[34]!==M?(U=(0,_.jsxs)(_.Fragment,{children:[A,j,M,H]}),e[33]=H,e[34]=M,e[35]=U):U=e[35],U}function y(e){let t=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 allocate-address`},{type:`flag`,value:` \\
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as r}from"./back-link-DjawJm5W.js";import{t as i}from"./cli-command-panel-DPooQRso.js";import{t as a}from"./input-CpcyJw4R.js";import{n as o}from"./ec2-iXujaheD.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{a as c,i as l,t as u}from"./zod-VwMMRSfy.js";import{t as d}from"./error-banner-BcDqaPk7.js";import{t as f}from"./form-actions-C3zG6ld2.js";import{s as p,t as m}from"./field-ChkDR_wL.js";import{n as h}from"./ec2-Cr9GrTUU.js";var g=t(),_=e();function v(){let e=(0,g.c)(36),t=n(),v=o(),b;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(b={resolver:u(h),defaultValues:{name:``}},e[0]=b):b=e[0];let{control:x,handleSubmit:S,register:C,formState:w}=l(b),{isSubmitting:T}=w,E;e[1]===x?E=e[2]:(E={control:x},e[1]=x,e[2]=E);let D=c(E),O;e[3]!==v||e[4]!==t?(O=async e=>{let n=(await v.mutateAsync({name:e.name?.trim()??void 0})).AllocationId;t(n?{to:`/ec2/describe-addresses/$id`,params:{id:n}}:{to:`/ec2/describe-addresses`})},e[3]=v,e[4]=t,e[5]=O):O=e[5];let k=O,A,j;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,_.jsx)(r,{to:`/ec2/describe-addresses`,children:`Back to Elastic IPs`}),j=(0,_.jsx)(s,{title:`Allocate Elastic IP`}),e[6]=A,e[7]=j):(A=e[6],j=e[7]);let M;e[8]===v.error?M=e[9]:(M=v.error&&(0,_.jsx)(d,{error:v.error,msg:`Failed to allocate Elastic IP`}),e[8]=v.error,e[9]=M);let N;e[10]!==S||e[11]!==k?(N=S(k),e[10]=S,e[11]=k,e[12]=N):N=e[12];let P;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,_.jsx)(p,{children:(0,_.jsx)(`label`,{htmlFor:`name`,children:`Name (optional)`})}),e[13]=P):P=e[13];let F;e[14]===C?F=e[15]:(F=C(`name`),e[14]=C,e[15]=F);let I;e[16]===F?I=e[17]:(I=(0,_.jsxs)(m,{children:[P,(0,_.jsx)(a,{id:`name`,placeholder:`my-elastic-ip`,...F})]}),e[16]=F,e[17]=I);let L=D.name??``,R;e[18]===L?R=e[19]:(R=y(L),e[18]=L,e[19]=R);let z;e[20]===R?z=e[21]:(z=(0,_.jsx)(i,{commands:R}),e[20]=R,e[21]=z);let B;e[22]===t?B=e[23]:(B=async()=>{await t({to:`/ec2/describe-addresses`})},e[22]=t,e[23]=B);let V;e[24]!==v.isPending||e[25]!==T||e[26]!==B?(V=(0,_.jsx)(f,{isPending:v.isPending,isSubmitting:T,onCancel:B,pendingLabel:`Allocating…`,submitLabel:`Allocate`}),e[24]=v.isPending,e[25]=T,e[26]=B,e[27]=V):V=e[27];let H;e[28]!==I||e[29]!==z||e[30]!==V||e[31]!==N?(H=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:N,children:[I,z,V]}),e[28]=I,e[29]=z,e[30]=V,e[31]=N,e[32]=H):H=e[32];let U;return e[33]!==H||e[34]!==M?(U=(0,_.jsxs)(_.Fragment,{children:[A,j,M,H]}),e[33]=H,e[34]=M,e[35]=U):U=e[35],U}function y(e){let t=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 allocate-address`},{type:`flag`,value:` \\
|
||||
--domain`},{type:`value`,value:` vpc`}];return e.trim()&&t.push({type:`flag`,value:` \\
|
||||
--tag-specifications`},{type:`value`,value:` 'ResourceType=elastic-ip,Tags=[{Key=Name,Value=${e.trim()}}]'`}),[{label:`Allocate Elastic IP`,parts:t}]}export{v as component};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime-DTT1fEHg.js";import{A as i}from"./removable-TyvHreKc.js";import{t as a}from"./useMutation-DV0DQvGm.js";import{n as o,za as s}from"./awsClient-I-S7JTV9.js";import{i as c,n as l,r as u}from"./acm-BGw6nz9A.js";import{t as d}from"./error-banner-BcDqaPk7.js";import{s as f,t as p}from"./field-ChkDR_wL.js";import{t as m}from"./textarea-BNxO_Zsf.js";import{a as h,i as g,l as _,n as v,o as y,r as b,s as ee,t as x}from"./alert-dialog-BYzNCmBp.js";var S=class extends c(l,u,`ImportCertificate`,s){},C=t(n(),1),w=r(),T=new TextEncoder;function E(){let e=(0,w.c)(2),t=i(),n;return e[0]===t?n=e[1]:(n={mutationFn:D,onSuccess:()=>{t.invalidateQueries({queryKey:[`acm`,`certificates`]})}},e[0]=t,e[1]=n),a(n)}async function D(e){let t=new S({Certificate:T.encode(e.certificate),PrivateKey:T.encode(e.privateKey),CertificateChain:e.certificateChain&&e.certificateChain.length>0?T.encode(e.certificateChain):void 0});return await o().send(t)}var O=e();function k(e){let t=(0,w.c)(53),{open:n,onOpenChange:r,onImported:i}=e,[a,o]=(0,C.useState)(``),[s,c]=(0,C.useState)(``),[l,u]=(0,C.useState)(``),S=E(),T;t[0]===S?T=t[1]:(T=()=>{o(``),c(``),u(``),S.reset()},t[0]=S,t[1]=T);let D=T,k;t[2]!==r||t[3]!==D?(k=e=>{e||D(),r(e)},t[2]=r,t[3]=D,t[4]=k):k=t[4];let A=k,j;t[5]!==a||t[6]!==s?(j=a.trim().length>0&&s.trim().length>0,t[5]=a,t[6]=s,t[7]=j):j=t[7];let M=j,N;t[8]!==M||t[9]!==a||t[10]!==l||t[11]!==S||t[12]!==i||t[13]!==r||t[14]!==s||t[15]!==D?(N=async()=>{if(M)try{let e=await S.mutateAsync({certificate:a,privateKey:s,certificateChain:l});e.CertificateArn&&i(e.CertificateArn),D(),r(!1)}catch{}},t[8]=M,t[9]=a,t[10]=l,t[11]=S,t[12]=i,t[13]=r,t[14]=s,t[15]=D,t[16]=N):N=t[16];let P=N,F;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,O.jsxs)(ee,{children:[(0,O.jsx)(_,{children:`Import certificate`}),(0,O.jsx)(h,{children:`Paste a PEM-encoded certificate and its private key. The optional chain is appended for intermediate CAs.`})]}),t[17]=F):F=t[17];let I;t[18]===S.error?I=t[19]:(I=S.error&&(0,O.jsx)(d,{error:S.error,msg:`Failed to import certificate`}),t[18]=S.error,t[19]=I);let L;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,O.jsx)(f,{children:(0,O.jsx)(`label`,{htmlFor:`cert-body`,children:`Certificate body`})}),t[20]=L):L=t[20];let R;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(R=e=>{o(e.target.value)},t[21]=R):R=t[21];let z;t[22]===a?z=t[23]:(z=(0,O.jsxs)(p,{children:[L,(0,O.jsx)(m,{size:`sm`,variant:`code`,id:`cert-body`,onChange:R,placeholder:`-----BEGIN CERTIFICATE-----`,rows:5,value:a})]}),t[22]=a,t[23]=z);let B;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,O.jsx)(f,{children:(0,O.jsx)(`label`,{htmlFor:`cert-key`,children:`Private key`})}),t[24]=B):B=t[24];let V;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(V=e=>{c(e.target.value)},t[25]=V):V=t[25];let H;t[26]===s?H=t[27]:(H=(0,O.jsxs)(p,{children:[B,(0,O.jsx)(m,{size:`sm`,variant:`code`,id:`cert-key`,onChange:V,placeholder:`-----BEGIN PRIVATE KEY-----`,rows:5,value:s})]}),t[26]=s,t[27]=H);let U;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,O.jsx)(f,{children:(0,O.jsx)(`label`,{htmlFor:`cert-chain`,children:`Certificate chain (optional)`})}),t[28]=U):U=t[28];let W;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(W=e=>{u(e.target.value)},t[29]=W):W=t[29];let G;t[30]===l?G=t[31]:(G=(0,O.jsxs)(p,{children:[U,(0,O.jsx)(m,{size:`sm`,variant:`code`,id:`cert-chain`,onChange:W,placeholder:`-----BEGIN CERTIFICATE-----`,rows:4,value:l})]}),t[30]=l,t[31]=G);let K;t[32]!==H||t[33]!==G||t[34]!==z?(K=(0,O.jsxs)(`div`,{className:`min-w-0 space-y-4`,children:[z,H,G]}),t[32]=H,t[33]=G,t[34]=z,t[35]=K):K=t[35];let q;t[36]===S.isPending?q=t[37]:(q=(0,O.jsx)(b,{disabled:S.isPending,children:`Cancel`}),t[36]=S.isPending,t[37]=q);let J=!M||S.isPending,Y=S.isPending?`Importing…`:`Import`,X;t[38]!==P||t[39]!==J||t[40]!==Y?(X=(0,O.jsx)(v,{disabled:J,onClick:P,children:Y}),t[38]=P,t[39]=J,t[40]=Y,t[41]=X):X=t[41];let Z;t[42]!==q||t[43]!==X?(Z=(0,O.jsxs)(y,{children:[q,X]}),t[42]=q,t[43]=X,t[44]=Z):Z=t[44];let Q;t[45]!==K||t[46]!==Z||t[47]!==I?(Q=(0,O.jsxs)(g,{width:`lg`,children:[F,I,K,Z]}),t[45]=K,t[46]=Z,t[47]=I,t[48]=Q):Q=t[48];let $;return t[49]!==A||t[50]!==n||t[51]!==Q?($=(0,O.jsx)(x,{onOpenChange:A,open:n,children:Q}),t[49]=A,t[50]=n,t[51]=Q,t[52]=$):$=t[52],$}export{k as t};
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as r}from"./back-link-DjawJm5W.js";import{t as i}from"./cli-command-panel-DPooQRso.js";import{t as a}from"./input-CpcyJw4R.js";import{p as o}from"./ec2-DFivrtZe.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{a as c,i as l,t as u}from"./zod-VwMMRSfy.js";import{t as d}from"./error-banner-BcDqaPk7.js";import{t as f}from"./form-actions-C3zG6ld2.js";import{s as p,t as m}from"./field-ChkDR_wL.js";import{a as h}from"./ec2-CmqOirWQ.js";var g=t(),_=e();function v(){let e=(0,g.c)(36),t=n(),v=o(),b;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(b={resolver:u(h),defaultValues:{name:``}},e[0]=b):b=e[0];let{control:x,handleSubmit:S,register:C,formState:w}=l(b),{isSubmitting:T}=w,E;e[1]===x?E=e[2]:(E={control:x},e[1]=x,e[2]=E);let D=c(E),O;e[3]!==v||e[4]!==t?(O=async e=>{let n=(await v.mutateAsync({name:e.name?.trim()??void 0})).InternetGateway?.InternetGatewayId;t(n?{to:`/ec2/describe-internet-gateways/$id`,params:{id:n}}:{to:`/ec2/describe-internet-gateways`})},e[3]=v,e[4]=t,e[5]=O):O=e[5];let k=O,A,j;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,_.jsx)(r,{to:`/ec2/describe-internet-gateways`,children:`Back to Internet Gateways`}),j=(0,_.jsx)(s,{title:`Create Internet Gateway`}),e[6]=A,e[7]=j):(A=e[6],j=e[7]);let M;e[8]===v.error?M=e[9]:(M=v.error&&(0,_.jsx)(d,{error:v.error,msg:`Failed to create Internet Gateway`}),e[8]=v.error,e[9]=M);let N;e[10]!==S||e[11]!==k?(N=S(k),e[10]=S,e[11]=k,e[12]=N):N=e[12];let P;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,_.jsx)(p,{children:(0,_.jsx)(`label`,{htmlFor:`name`,children:`Name (optional)`})}),e[13]=P):P=e[13];let F;e[14]===C?F=e[15]:(F=C(`name`),e[14]=C,e[15]=F);let I;e[16]===F?I=e[17]:(I=(0,_.jsxs)(m,{children:[P,(0,_.jsx)(a,{id:`name`,placeholder:`my-internet-gateway`,...F})]}),e[16]=F,e[17]=I);let L=D.name??``,R;e[18]===L?R=e[19]:(R=y(L),e[18]=L,e[19]=R);let z;e[20]===R?z=e[21]:(z=(0,_.jsx)(i,{commands:R}),e[20]=R,e[21]=z);let B;e[22]===t?B=e[23]:(B=async()=>{await t({to:`/ec2/describe-internet-gateways`})},e[22]=t,e[23]=B);let V;e[24]!==v.isPending||e[25]!==T||e[26]!==B?(V=(0,_.jsx)(f,{isPending:v.isPending,isSubmitting:T,onCancel:B,pendingLabel:`Creating…`,submitLabel:`Create`}),e[24]=v.isPending,e[25]=T,e[26]=B,e[27]=V):V=e[27];let H;e[28]!==I||e[29]!==z||e[30]!==V||e[31]!==N?(H=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:N,children:[I,z,V]}),e[28]=I,e[29]=z,e[30]=V,e[31]=N,e[32]=H):H=e[32];let U;return e[33]!==H||e[34]!==M?(U=(0,_.jsxs)(_.Fragment,{children:[A,j,M,H]}),e[33]=H,e[34]=M,e[35]=U):U=e[35],U}function y(e){let t=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-internet-gateway`}];return e.trim()&&t.push({type:`flag`,value:` \\
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as r}from"./back-link-DjawJm5W.js";import{t as i}from"./cli-command-panel-DPooQRso.js";import{t as a}from"./input-CpcyJw4R.js";import{p as o}from"./ec2-iXujaheD.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{a as c,i as l,t as u}from"./zod-VwMMRSfy.js";import{t as d}from"./error-banner-BcDqaPk7.js";import{t as f}from"./form-actions-C3zG6ld2.js";import{s as p,t as m}from"./field-ChkDR_wL.js";import{a as h}from"./ec2-Cr9GrTUU.js";var g=t(),_=e();function v(){let e=(0,g.c)(36),t=n(),v=o(),b;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(b={resolver:u(h),defaultValues:{name:``}},e[0]=b):b=e[0];let{control:x,handleSubmit:S,register:C,formState:w}=l(b),{isSubmitting:T}=w,E;e[1]===x?E=e[2]:(E={control:x},e[1]=x,e[2]=E);let D=c(E),O;e[3]!==v||e[4]!==t?(O=async e=>{let n=(await v.mutateAsync({name:e.name?.trim()??void 0})).InternetGateway?.InternetGatewayId;t(n?{to:`/ec2/describe-internet-gateways/$id`,params:{id:n}}:{to:`/ec2/describe-internet-gateways`})},e[3]=v,e[4]=t,e[5]=O):O=e[5];let k=O,A,j;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,_.jsx)(r,{to:`/ec2/describe-internet-gateways`,children:`Back to Internet Gateways`}),j=(0,_.jsx)(s,{title:`Create Internet Gateway`}),e[6]=A,e[7]=j):(A=e[6],j=e[7]);let M;e[8]===v.error?M=e[9]:(M=v.error&&(0,_.jsx)(d,{error:v.error,msg:`Failed to create Internet Gateway`}),e[8]=v.error,e[9]=M);let N;e[10]!==S||e[11]!==k?(N=S(k),e[10]=S,e[11]=k,e[12]=N):N=e[12];let P;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,_.jsx)(p,{children:(0,_.jsx)(`label`,{htmlFor:`name`,children:`Name (optional)`})}),e[13]=P):P=e[13];let F;e[14]===C?F=e[15]:(F=C(`name`),e[14]=C,e[15]=F);let I;e[16]===F?I=e[17]:(I=(0,_.jsxs)(m,{children:[P,(0,_.jsx)(a,{id:`name`,placeholder:`my-internet-gateway`,...F})]}),e[16]=F,e[17]=I);let L=D.name??``,R;e[18]===L?R=e[19]:(R=y(L),e[18]=L,e[19]=R);let z;e[20]===R?z=e[21]:(z=(0,_.jsx)(i,{commands:R}),e[20]=R,e[21]=z);let B;e[22]===t?B=e[23]:(B=async()=>{await t({to:`/ec2/describe-internet-gateways`})},e[22]=t,e[23]=B);let V;e[24]!==v.isPending||e[25]!==T||e[26]!==B?(V=(0,_.jsx)(f,{isPending:v.isPending,isSubmitting:T,onCancel:B,pendingLabel:`Creating…`,submitLabel:`Create`}),e[24]=v.isPending,e[25]=T,e[26]=B,e[27]=V):V=e[27];let H;e[28]!==I||e[29]!==z||e[30]!==V||e[31]!==N?(H=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:N,children:[I,z,V]}),e[28]=I,e[29]=z,e[30]=V,e[31]=N,e[32]=H):H=e[32];let U;return e[33]!==H||e[34]!==M?(U=(0,_.jsxs)(_.Fragment,{children:[A,j,M,H]}),e[33]=H,e[34]=M,e[35]=U):U=e[35],U}function y(e){let t=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-internet-gateway`}];return e.trim()&&t.push({type:`flag`,value:` \\
|
||||
--tag-specifications`},{type:`value`,value:` 'ResourceType=internet-gateway,Tags=[{Key=Name,Value=${e.trim()}}]'`}),[{label:`Create Internet Gateway`,parts:t}]}export{v as component};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as r}from"./back-link-DjawJm5W.js";import{t as i}from"./cli-command-panel-DPooQRso.js";import{t as a}from"./input-CpcyJw4R.js";import{h as o,t as s}from"./ec2-DFivrtZe.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{a as l,i as u,t as ee}from"./zod-VwMMRSfy.js";import{t as te}from"./error-banner-BcDqaPk7.js";import{t as ne}from"./form-actions-C3zG6ld2.js";import{r as d,s as f,t as p}from"./field-ChkDR_wL.js";import{s as m}from"./ec2-CmqOirWQ.js";import{t as h}from"./launch-template-data-fields-CcRkOt3t.js";var g=t(),_=e();function v(){let e=(0,g.c)(56),t=n(),v=o(),y;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(y=ee(m),e[0]=y):y=e[0];let x;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:y,defaultValues:{launchTemplateName:``,versionDescription:``,imageId:``,instanceType:``,securityGroupIds:[],userData:``}},e[1]=x):x=e[1];let{control:S,handleSubmit:C,register:w,formState:T}=u(x),{errors:E,isSubmitting:D}=T,O;e[2]===S?O=e[3]:(O={control:S},e[2]=S,e[3]=O);let k=l(O),A;e[4]!==v||e[5]!==t?(A=async e=>{let n=(await v.mutateAsync(e)).LaunchTemplate?.LaunchTemplateId;if(!n){t({to:`/ec2/describe-launch-templates`});return}t({to:`/ec2/describe-launch-templates/$id`,params:{id:n}})},e[4]=v,e[5]=t,e[6]=A):A=e[6];let j=A,M,N;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,_.jsx)(r,{to:`/ec2/describe-launch-templates`,children:`Back to launch templates`}),N=(0,_.jsx)(c,{title:`Create Launch Template`}),e[7]=M,e[8]=N):(M=e[7],N=e[8]);let P;e[9]===v.error?P=e[10]:(P=v.error&&(0,_.jsx)(te,{error:v.error,msg:`Failed to create launch template`}),e[9]=v.error,e[10]=P);let F;e[11]!==C||e[12]!==j?(F=C(j),e[11]=C,e[12]=j,e[13]=F):F=e[13];let I;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`launchTemplateName`,children:`Name`})}),e[14]=I):I=e[14];let L=!!E.launchTemplateName,R;e[15]===w?R=e[16]:(R=w(`launchTemplateName`),e[15]=w,e[16]=R);let z;e[17]!==L||e[18]!==R?(z=(0,_.jsx)(a,{"aria-invalid":L,id:`launchTemplateName`,placeholder:`my-launch-template`,...R}),e[17]=L,e[18]=R,e[19]=z):z=e[19];let B;e[20]===E.launchTemplateName?B=e[21]:(B=(0,_.jsx)(d,{errors:[E.launchTemplateName]}),e[20]=E.launchTemplateName,e[21]=B);let V;e[22]!==z||e[23]!==B?(V=(0,_.jsxs)(p,{children:[I,z,B]}),e[22]=z,e[23]=B,e[24]=V):V=e[24];let H;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`versionDescription`,children:`Version Description`})}),e[25]=H):H=e[25];let U;e[26]===w?U=e[27]:(U=w(`versionDescription`),e[26]=w,e[27]=U);let W;e[28]===U?W=e[29]:(W=(0,_.jsxs)(p,{children:[H,(0,_.jsx)(a,{id:`versionDescription`,placeholder:`Initial version`,...U})]}),e[28]=U,e[29]=W);let G;e[30]!==S||e[31]!==E||e[32]!==w?(G=(0,_.jsx)(h,{control:S,errors:E,register:w}),e[30]=S,e[31]=E,e[32]=w,e[33]=G):G=e[33];let K=k.launchTemplateName??``,q=k.versionDescription??``,J;e[34]!==K||e[35]!==q||e[36]!==k?(J=b(K,q,s(k)),e[34]=K,e[35]=q,e[36]=k,e[37]=J):J=e[37];let Y;e[38]===J?Y=e[39]:(Y=(0,_.jsx)(i,{commands:J}),e[38]=J,e[39]=Y);let X;e[40]===t?X=e[41]:(X=async()=>{await t({to:`/ec2/describe-launch-templates`})},e[40]=t,e[41]=X);let Z;e[42]!==v.isPending||e[43]!==D||e[44]!==X?(Z=(0,_.jsx)(ne,{isPending:v.isPending,isSubmitting:D,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Launch Template`}),e[42]=v.isPending,e[43]=D,e[44]=X,e[45]=Z):Z=e[45];let Q;e[46]!==V||e[47]!==W||e[48]!==G||e[49]!==Y||e[50]!==Z||e[51]!==F?(Q=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,W,G,Y,Z]}),e[46]=V,e[47]=W,e[48]=G,e[49]=Y,e[50]=Z,e[51]=F,e[52]=Q):Q=e[52];let $;return e[53]!==Q||e[54]!==P?($=(0,_.jsxs)(_.Fragment,{children:[M,N,P,Q]}),e[53]=Q,e[54]=P,e[55]=$):$=e[55],$}function y(e){return`'${e.replaceAll(`'`,`'"'"'`)}'`}function b(e,t,n){let r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-launch-template`},{type:`flag`,value:` \\
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as r}from"./back-link-DjawJm5W.js";import{t as i}from"./cli-command-panel-DPooQRso.js";import{t as a}from"./input-CpcyJw4R.js";import{h as o,t as s}from"./ec2-iXujaheD.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{a as l,i as u,t as ee}from"./zod-VwMMRSfy.js";import{t as te}from"./error-banner-BcDqaPk7.js";import{t as ne}from"./form-actions-C3zG6ld2.js";import{r as d,s as f,t as p}from"./field-ChkDR_wL.js";import{s as m}from"./ec2-Cr9GrTUU.js";import{t as h}from"./launch-template-data-fields-4CYo9au8.js";var g=t(),_=e();function v(){let e=(0,g.c)(56),t=n(),v=o(),y;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(y=ee(m),e[0]=y):y=e[0];let x;e[1]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:y,defaultValues:{launchTemplateName:``,versionDescription:``,imageId:``,instanceType:``,securityGroupIds:[],userData:``}},e[1]=x):x=e[1];let{control:S,handleSubmit:C,register:w,formState:T}=u(x),{errors:E,isSubmitting:D}=T,O;e[2]===S?O=e[3]:(O={control:S},e[2]=S,e[3]=O);let k=l(O),A;e[4]!==v||e[5]!==t?(A=async e=>{let n=(await v.mutateAsync(e)).LaunchTemplate?.LaunchTemplateId;if(!n){t({to:`/ec2/describe-launch-templates`});return}t({to:`/ec2/describe-launch-templates/$id`,params:{id:n}})},e[4]=v,e[5]=t,e[6]=A):A=e[6];let j=A,M,N;e[7]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,_.jsx)(r,{to:`/ec2/describe-launch-templates`,children:`Back to launch templates`}),N=(0,_.jsx)(c,{title:`Create Launch Template`}),e[7]=M,e[8]=N):(M=e[7],N=e[8]);let P;e[9]===v.error?P=e[10]:(P=v.error&&(0,_.jsx)(te,{error:v.error,msg:`Failed to create launch template`}),e[9]=v.error,e[10]=P);let F;e[11]!==C||e[12]!==j?(F=C(j),e[11]=C,e[12]=j,e[13]=F):F=e[13];let I;e[14]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`launchTemplateName`,children:`Name`})}),e[14]=I):I=e[14];let L=!!E.launchTemplateName,R;e[15]===w?R=e[16]:(R=w(`launchTemplateName`),e[15]=w,e[16]=R);let z;e[17]!==L||e[18]!==R?(z=(0,_.jsx)(a,{"aria-invalid":L,id:`launchTemplateName`,placeholder:`my-launch-template`,...R}),e[17]=L,e[18]=R,e[19]=z):z=e[19];let B;e[20]===E.launchTemplateName?B=e[21]:(B=(0,_.jsx)(d,{errors:[E.launchTemplateName]}),e[20]=E.launchTemplateName,e[21]=B);let V;e[22]!==z||e[23]!==B?(V=(0,_.jsxs)(p,{children:[I,z,B]}),e[22]=z,e[23]=B,e[24]=V):V=e[24];let H;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`versionDescription`,children:`Version Description`})}),e[25]=H):H=e[25];let U;e[26]===w?U=e[27]:(U=w(`versionDescription`),e[26]=w,e[27]=U);let W;e[28]===U?W=e[29]:(W=(0,_.jsxs)(p,{children:[H,(0,_.jsx)(a,{id:`versionDescription`,placeholder:`Initial version`,...U})]}),e[28]=U,e[29]=W);let G;e[30]!==S||e[31]!==E||e[32]!==w?(G=(0,_.jsx)(h,{control:S,errors:E,register:w}),e[30]=S,e[31]=E,e[32]=w,e[33]=G):G=e[33];let K=k.launchTemplateName??``,q=k.versionDescription??``,J;e[34]!==K||e[35]!==q||e[36]!==k?(J=b(K,q,s(k)),e[34]=K,e[35]=q,e[36]=k,e[37]=J):J=e[37];let Y;e[38]===J?Y=e[39]:(Y=(0,_.jsx)(i,{commands:J}),e[38]=J,e[39]=Y);let X;e[40]===t?X=e[41]:(X=async()=>{await t({to:`/ec2/describe-launch-templates`})},e[40]=t,e[41]=X);let Z;e[42]!==v.isPending||e[43]!==D||e[44]!==X?(Z=(0,_.jsx)(ne,{isPending:v.isPending,isSubmitting:D,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Launch Template`}),e[42]=v.isPending,e[43]=D,e[44]=X,e[45]=Z):Z=e[45];let Q;e[46]!==V||e[47]!==W||e[48]!==G||e[49]!==Y||e[50]!==Z||e[51]!==F?(Q=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,W,G,Y,Z]}),e[46]=V,e[47]=W,e[48]=G,e[49]=Y,e[50]=Z,e[51]=F,e[52]=Q):Q=e[52];let $;return e[53]!==Q||e[54]!==P?($=(0,_.jsxs)(_.Fragment,{children:[M,N,P,Q]}),e[53]=Q,e[54]=P,e[55]=$):$=e[55],$}function y(e){return`'${e.replaceAll(`'`,`'"'"'`)}'`}function b(e,t,n){let r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-launch-template`},{type:`flag`,value:` \\
|
||||
--launch-template-name`},{type:`value`,value:` ${e?y(e):`<name>`}`}];return t&&r.push({type:`flag`,value:` \\
|
||||
--version-description`},{type:`value`,value:` ${y(t)}`}),r.push({type:`flag`,value:` \\
|
||||
--launch-template-data`},{type:`value`,value:` ${y(JSON.stringify(n))}`}),[{label:`Create Launch Template`,parts:r}]}export{v as component};
|
||||
-21
File diff suppressed because one or more lines are too long
+21
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,3 +1,3 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as ee}from"./back-link-DjawJm5W.js";import{c as r,i,n as te,s as a,t as ne}from"./select-Bgl6IAYG.js";import{t as re}from"./cli-command-panel-DPooQRso.js";import{t as o}from"./input-CpcyJw4R.js";import{v as s}from"./ec2-DFivrtZe.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{a as l,i as u,n as d,t as f}from"./zod-VwMMRSfy.js";import{t as p}from"./error-banner-BcDqaPk7.js";import{t as m}from"./form-actions-C3zG6ld2.js";import{r as h,s as g,t as _}from"./field-ChkDR_wL.js";import{u as v}from"./ec2-CmqOirWQ.js";var y=t(),b=e();function x(){let e=(0,y.c)(54),t=n(),x=s(),S;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(S={resolver:f(v),defaultValues:{groupName:``,strategy:`spread`}},e[0]=S):S=e[0];let{control:C,handleSubmit:w,register:T,formState:E}=u(S),{errors:D,isSubmitting:O}=E,k;e[1]===C?k=e[2]:(k={control:C},e[1]=C,e[2]=k);let A=l(k),j;e[3]!==x||e[4]!==t?(j=async e=>{let n=await x.mutateAsync(e);t({to:`/ec2/describe-placement-groups/$id`,params:{id:n.PlacementGroup?.GroupId??``}})},e[3]=x,e[4]=t,e[5]=j):j=e[5];let M=j,N,P;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,b.jsx)(ee,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),P=(0,b.jsx)(c,{title:`Create Placement Group`}),e[6]=N,e[7]=P):(N=e[6],P=e[7]);let F;e[8]===x.error?F=e[9]:(F=x.error&&(0,b.jsx)(p,{error:x.error,msg:`Failed to create placement group`}),e[8]=x.error,e[9]=F);let I;e[10]!==w||e[11]!==M?(I=w(M),e[10]=w,e[11]=M,e[12]=I):I=e[12];let L;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,b.jsx)(g,{children:(0,b.jsx)(`label`,{htmlFor:`groupName`,children:`Group Name`})}),e[13]=L):L=e[13];let R=!!D.groupName,z;e[14]===T?z=e[15]:(z=T(`groupName`),e[14]=T,e[15]=z);let B;e[16]!==z||e[17]!==R?(B=(0,b.jsx)(o,{"aria-invalid":R,id:`groupName`,placeholder:`my-placement-group`,...z}),e[16]=z,e[17]=R,e[18]=B):B=e[18];let V;e[19]===D.groupName?V=e[20]:(V=(0,b.jsx)(h,{errors:[D.groupName]}),e[19]=D.groupName,e[20]=V);let H;e[21]!==B||e[22]!==V?(H=(0,b.jsxs)(_,{children:[L,B,V]}),e[21]=B,e[22]=V,e[23]=H):H=e[23];let U;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,b.jsx)(g,{children:(0,b.jsx)(`label`,{htmlFor:`strategy`,children:`Strategy`})}),e[24]=U):U=e[24];let W;e[25]===D.strategy?W=e[26]:(W=e=>{let{field:t}=e;return(0,b.jsxs)(ne,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,b.jsx)(a,{"aria-invalid":!!D.strategy,className:`w-full`,id:`strategy`,children:(0,b.jsx)(r,{})}),(0,b.jsxs)(te,{children:[(0,b.jsx)(i,{value:`spread`,children:`spread`}),(0,b.jsx)(i,{value:`cluster`,children:`cluster`})]})]})},e[25]=D.strategy,e[26]=W);let G;e[27]!==C||e[28]!==W?(G=(0,b.jsx)(d,{control:C,name:`strategy`,render:W}),e[27]=C,e[28]=W,e[29]=G):G=e[29];let K;e[30]===D.strategy?K=e[31]:(K=(0,b.jsx)(h,{errors:[D.strategy]}),e[30]=D.strategy,e[31]=K);let q;e[32]!==G||e[33]!==K?(q=(0,b.jsxs)(_,{children:[U,G,K]}),e[32]=G,e[33]=K,e[34]=q):q=e[34];let J;e[35]===A?J=e[36]:(J=ie(A),e[35]=A,e[36]=J);let Y;e[37]===J?Y=e[38]:(Y=(0,b.jsx)(re,{commands:J}),e[37]=J,e[38]=Y);let X;e[39]===t?X=e[40]:(X=async()=>{await t({to:`/ec2/describe-placement-groups`})},e[39]=t,e[40]=X);let Z;e[41]!==x.isPending||e[42]!==O||e[43]!==X?(Z=(0,b.jsx)(m,{isPending:x.isPending,isSubmitting:O,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Placement Group`}),e[41]=x.isPending,e[42]=O,e[43]=X,e[44]=Z):Z=e[44];let Q;e[45]!==H||e[46]!==q||e[47]!==Y||e[48]!==Z||e[49]!==I?(Q=(0,b.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:I,children:[H,q,Y,Z]}),e[45]=H,e[46]=q,e[47]=Y,e[48]=Z,e[49]=I,e[50]=Q):Q=e[50];let $;return e[51]!==Q||e[52]!==F?($=(0,b.jsxs)(b.Fragment,{children:[N,P,F,Q]}),e[51]=Q,e[52]=F,e[53]=$):$=e[53],$}function S(e){return`'${e.replaceAll(`'`,`'"'"'`)}'`}function ie(e){let t=e.groupName??``,n=e.strategy??``;return[{label:`Create Placement Group`,parts:[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-placement-group`},{type:`flag`,value:` \\
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as ee}from"./back-link-DjawJm5W.js";import{c as r,i,n as te,s as a,t as ne}from"./select-Bgl6IAYG.js";import{t as re}from"./cli-command-panel-DPooQRso.js";import{t as o}from"./input-CpcyJw4R.js";import{v as s}from"./ec2-iXujaheD.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{a as l,i as u,n as d,t as f}from"./zod-VwMMRSfy.js";import{t as p}from"./error-banner-BcDqaPk7.js";import{t as m}from"./form-actions-C3zG6ld2.js";import{r as h,s as g,t as _}from"./field-ChkDR_wL.js";import{u as v}from"./ec2-Cr9GrTUU.js";var y=t(),b=e();function x(){let e=(0,y.c)(54),t=n(),x=s(),S;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(S={resolver:f(v),defaultValues:{groupName:``,strategy:`spread`}},e[0]=S):S=e[0];let{control:C,handleSubmit:w,register:T,formState:E}=u(S),{errors:D,isSubmitting:O}=E,k;e[1]===C?k=e[2]:(k={control:C},e[1]=C,e[2]=k);let A=l(k),j;e[3]!==x||e[4]!==t?(j=async e=>{let n=await x.mutateAsync(e);t({to:`/ec2/describe-placement-groups/$id`,params:{id:n.PlacementGroup?.GroupId??``}})},e[3]=x,e[4]=t,e[5]=j):j=e[5];let M=j,N,P;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,b.jsx)(ee,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),P=(0,b.jsx)(c,{title:`Create Placement Group`}),e[6]=N,e[7]=P):(N=e[6],P=e[7]);let F;e[8]===x.error?F=e[9]:(F=x.error&&(0,b.jsx)(p,{error:x.error,msg:`Failed to create placement group`}),e[8]=x.error,e[9]=F);let I;e[10]!==w||e[11]!==M?(I=w(M),e[10]=w,e[11]=M,e[12]=I):I=e[12];let L;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,b.jsx)(g,{children:(0,b.jsx)(`label`,{htmlFor:`groupName`,children:`Group Name`})}),e[13]=L):L=e[13];let R=!!D.groupName,z;e[14]===T?z=e[15]:(z=T(`groupName`),e[14]=T,e[15]=z);let B;e[16]!==z||e[17]!==R?(B=(0,b.jsx)(o,{"aria-invalid":R,id:`groupName`,placeholder:`my-placement-group`,...z}),e[16]=z,e[17]=R,e[18]=B):B=e[18];let V;e[19]===D.groupName?V=e[20]:(V=(0,b.jsx)(h,{errors:[D.groupName]}),e[19]=D.groupName,e[20]=V);let H;e[21]!==B||e[22]!==V?(H=(0,b.jsxs)(_,{children:[L,B,V]}),e[21]=B,e[22]=V,e[23]=H):H=e[23];let U;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,b.jsx)(g,{children:(0,b.jsx)(`label`,{htmlFor:`strategy`,children:`Strategy`})}),e[24]=U):U=e[24];let W;e[25]===D.strategy?W=e[26]:(W=e=>{let{field:t}=e;return(0,b.jsxs)(ne,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,b.jsx)(a,{"aria-invalid":!!D.strategy,className:`w-full`,id:`strategy`,children:(0,b.jsx)(r,{})}),(0,b.jsxs)(te,{children:[(0,b.jsx)(i,{value:`spread`,children:`spread`}),(0,b.jsx)(i,{value:`cluster`,children:`cluster`})]})]})},e[25]=D.strategy,e[26]=W);let G;e[27]!==C||e[28]!==W?(G=(0,b.jsx)(d,{control:C,name:`strategy`,render:W}),e[27]=C,e[28]=W,e[29]=G):G=e[29];let K;e[30]===D.strategy?K=e[31]:(K=(0,b.jsx)(h,{errors:[D.strategy]}),e[30]=D.strategy,e[31]=K);let q;e[32]!==G||e[33]!==K?(q=(0,b.jsxs)(_,{children:[U,G,K]}),e[32]=G,e[33]=K,e[34]=q):q=e[34];let J;e[35]===A?J=e[36]:(J=ie(A),e[35]=A,e[36]=J);let Y;e[37]===J?Y=e[38]:(Y=(0,b.jsx)(re,{commands:J}),e[37]=J,e[38]=Y);let X;e[39]===t?X=e[40]:(X=async()=>{await t({to:`/ec2/describe-placement-groups`})},e[39]=t,e[40]=X);let Z;e[41]!==x.isPending||e[42]!==O||e[43]!==X?(Z=(0,b.jsx)(m,{isPending:x.isPending,isSubmitting:O,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Placement Group`}),e[41]=x.isPending,e[42]=O,e[43]=X,e[44]=Z):Z=e[44];let Q;e[45]!==H||e[46]!==q||e[47]!==Y||e[48]!==Z||e[49]!==I?(Q=(0,b.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:I,children:[H,q,Y,Z]}),e[45]=H,e[46]=q,e[47]=Y,e[48]=Z,e[49]=I,e[50]=Q):Q=e[50];let $;return e[51]!==Q||e[52]!==F?($=(0,b.jsxs)(b.Fragment,{children:[N,P,F,Q]}),e[51]=Q,e[52]=F,e[53]=$):$=e[53],$}function S(e){return`'${e.replaceAll(`'`,`'"'"'`)}'`}function ie(e){let t=e.groupName??``,n=e.strategy??``;return[{label:`Create Placement Group`,parts:[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-placement-group`},{type:`flag`,value:` \\
|
||||
--group-name`},{type:`value`,value:` ${t?S(t):`<GroupName>`}`},{type:`flag`,value:` \\
|
||||
--strategy`},{type:`value`,value:` ${n||`spread`}`}]}]}export{x as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as a}from"./back-link-DjawJm5W.js";import{c as o,i as s,n as c,s as l,t as u}from"./select-Bgl6IAYG.js";import{t as d}from"./input-CpcyJw4R.js";import{M as f}from"./ec2-DJL24ekw.js";import{b as p}from"./ec2-DFivrtZe.js";import{t as m}from"./page-heading-M0NyqAmu.js";import{i as h,n as g,t as _}from"./zod-VwMMRSfy.js";import{t as v}from"./error-banner-BcDqaPk7.js";import{t as y}from"./form-actions-C3zG6ld2.js";import{r as b,s as x,t as S}from"./field-ChkDR_wL.js";import{f as C}from"./ec2-CmqOirWQ.js";var w=t(),T=e();function E(){let e=(0,w.c)(44),t=r(),{data:i}=n(f),s=p(),E;e[0]===i.Vpcs?E=e[1]:(E=i.Vpcs??[],e[0]=i.Vpcs,e[1]=E);let O=E,k;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(k={resolver:_(C),defaultValues:{vpcId:``,name:``}},e[2]=k):k=e[2];let{control:A,handleSubmit:j,register:M,formState:N}=h(k),{errors:P,isSubmitting:F}=N,I;e[3]!==s||e[4]!==t?(I=async e=>{let n=(await s.mutateAsync({vpcId:e.vpcId,name:e.name?.trim()?e.name.trim():void 0})).RouteTable?.RouteTableId;t(n?{to:`/ec2/describe-route-tables/$id`,params:{id:n}}:{to:`/ec2/describe-route-tables`})},e[3]=s,e[4]=t,e[5]=I):I=e[5];let L=I,R,z;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,T.jsx)(a,{to:`/ec2/describe-route-tables`,children:`Back to Route Tables`}),z=(0,T.jsx)(m,{title:`Create Route Table`}),e[6]=R,e[7]=z):(R=e[6],z=e[7]);let B;e[8]===s.error?B=e[9]:(B=s.error&&(0,T.jsx)(v,{error:s.error,msg:`Failed to create Route Table`}),e[8]=s.error,e[9]=B);let V;e[10]!==j||e[11]!==L?(V=j(L),e[10]=j,e[11]=L,e[12]=V):V=e[12];let H;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,T.jsx)(x,{children:(0,T.jsx)(`label`,{htmlFor:`name`,children:`Name (optional)`})}),e[13]=H):H=e[13];let U;e[14]===M?U=e[15]:(U=M(`name`),e[14]=M,e[15]=U);let W;e[16]===U?W=e[17]:(W=(0,T.jsxs)(S,{children:[H,(0,T.jsx)(d,{id:`name`,placeholder:`my-route-table`,...U})]}),e[16]=U,e[17]=W);let G;e[18]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,T.jsx)(x,{children:(0,T.jsx)(`label`,{htmlFor:`vpcId`,children:`VPC`})}),e[18]=G):G=e[18];let K;e[19]!==P.vpcId||e[20]!==O?(K=e=>{let{field:t}=e;return(0,T.jsxs)(u,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,T.jsx)(l,{"aria-invalid":!!P.vpcId,className:`w-full`,id:`vpcId`,children:(0,T.jsx)(o,{placeholder:`Select a VPC`})}),(0,T.jsx)(c,{children:O.map(D)})]})},e[19]=P.vpcId,e[20]=O,e[21]=K):K=e[21];let q;e[22]!==A||e[23]!==K?(q=(0,T.jsx)(g,{control:A,name:`vpcId`,render:K}),e[22]=A,e[23]=K,e[24]=q):q=e[24];let J;e[25]===P.vpcId?J=e[26]:(J=(0,T.jsx)(b,{errors:[P.vpcId]}),e[25]=P.vpcId,e[26]=J);let Y;e[27]!==q||e[28]!==J?(Y=(0,T.jsxs)(S,{children:[G,q,J]}),e[27]=q,e[28]=J,e[29]=Y):Y=e[29];let X;e[30]===t?X=e[31]:(X=async()=>{await t({to:`/ec2/describe-route-tables`})},e[30]=t,e[31]=X);let Z;e[32]!==s.isPending||e[33]!==F||e[34]!==X?(Z=(0,T.jsx)(y,{isPending:s.isPending,isSubmitting:F,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Route Table`}),e[32]=s.isPending,e[33]=F,e[34]=X,e[35]=Z):Z=e[35];let Q;e[36]!==W||e[37]!==Y||e[38]!==Z||e[39]!==V?(Q=(0,T.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:V,children:[W,Y,Z]}),e[36]=W,e[37]=Y,e[38]=Z,e[39]=V,e[40]=Q):Q=e[40];let $;return e[41]!==Q||e[42]!==B?($=(0,T.jsxs)(T.Fragment,{children:[R,z,B,Q]}),e[41]=Q,e[42]=B,e[43]=$):$=e[43],$}function D(e){let t=i(e.Tags);return(0,T.jsx)(s,{value:e.VpcId??``,children:t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`},e.VpcId)}export{E as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as a}from"./back-link-DjawJm5W.js";import{c as o,i as s,n as c,s as l,t as u}from"./select-Bgl6IAYG.js";import{t as d}from"./input-CpcyJw4R.js";import{M as f}from"./ec2-DJL24ekw.js";import{b as p}from"./ec2-iXujaheD.js";import{t as m}from"./page-heading-M0NyqAmu.js";import{i as h,n as g,t as _}from"./zod-VwMMRSfy.js";import{t as v}from"./error-banner-BcDqaPk7.js";import{t as y}from"./form-actions-C3zG6ld2.js";import{r as b,s as x,t as S}from"./field-ChkDR_wL.js";import{f as C}from"./ec2-Cr9GrTUU.js";var w=t(),T=e();function E(){let e=(0,w.c)(44),t=r(),{data:i}=n(f),s=p(),E;e[0]===i.Vpcs?E=e[1]:(E=i.Vpcs??[],e[0]=i.Vpcs,e[1]=E);let O=E,k;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(k={resolver:_(C),defaultValues:{vpcId:``,name:``}},e[2]=k):k=e[2];let{control:A,handleSubmit:j,register:M,formState:N}=h(k),{errors:P,isSubmitting:F}=N,I;e[3]!==s||e[4]!==t?(I=async e=>{let n=(await s.mutateAsync({vpcId:e.vpcId,name:e.name?.trim()?e.name.trim():void 0})).RouteTable?.RouteTableId;t(n?{to:`/ec2/describe-route-tables/$id`,params:{id:n}}:{to:`/ec2/describe-route-tables`})},e[3]=s,e[4]=t,e[5]=I):I=e[5];let L=I,R,z;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,T.jsx)(a,{to:`/ec2/describe-route-tables`,children:`Back to Route Tables`}),z=(0,T.jsx)(m,{title:`Create Route Table`}),e[6]=R,e[7]=z):(R=e[6],z=e[7]);let B;e[8]===s.error?B=e[9]:(B=s.error&&(0,T.jsx)(v,{error:s.error,msg:`Failed to create Route Table`}),e[8]=s.error,e[9]=B);let V;e[10]!==j||e[11]!==L?(V=j(L),e[10]=j,e[11]=L,e[12]=V):V=e[12];let H;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,T.jsx)(x,{children:(0,T.jsx)(`label`,{htmlFor:`name`,children:`Name (optional)`})}),e[13]=H):H=e[13];let U;e[14]===M?U=e[15]:(U=M(`name`),e[14]=M,e[15]=U);let W;e[16]===U?W=e[17]:(W=(0,T.jsxs)(S,{children:[H,(0,T.jsx)(d,{id:`name`,placeholder:`my-route-table`,...U})]}),e[16]=U,e[17]=W);let G;e[18]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,T.jsx)(x,{children:(0,T.jsx)(`label`,{htmlFor:`vpcId`,children:`VPC`})}),e[18]=G):G=e[18];let K;e[19]!==P.vpcId||e[20]!==O?(K=e=>{let{field:t}=e;return(0,T.jsxs)(u,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,T.jsx)(l,{"aria-invalid":!!P.vpcId,className:`w-full`,id:`vpcId`,children:(0,T.jsx)(o,{placeholder:`Select a VPC`})}),(0,T.jsx)(c,{children:O.map(D)})]})},e[19]=P.vpcId,e[20]=O,e[21]=K):K=e[21];let q;e[22]!==A||e[23]!==K?(q=(0,T.jsx)(g,{control:A,name:`vpcId`,render:K}),e[22]=A,e[23]=K,e[24]=q):q=e[24];let J;e[25]===P.vpcId?J=e[26]:(J=(0,T.jsx)(b,{errors:[P.vpcId]}),e[25]=P.vpcId,e[26]=J);let Y;e[27]!==q||e[28]!==J?(Y=(0,T.jsxs)(S,{children:[G,q,J]}),e[27]=q,e[28]=J,e[29]=Y):Y=e[29];let X;e[30]===t?X=e[31]:(X=async()=>{await t({to:`/ec2/describe-route-tables`})},e[30]=t,e[31]=X);let Z;e[32]!==s.isPending||e[33]!==F||e[34]!==X?(Z=(0,T.jsx)(y,{isPending:s.isPending,isSubmitting:F,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Route Table`}),e[32]=s.isPending,e[33]=F,e[34]=X,e[35]=Z):Z=e[35];let Q;e[36]!==W||e[37]!==Y||e[38]!==Z||e[39]!==V?(Q=(0,T.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:V,children:[W,Y,Z]}),e[36]=W,e[37]=Y,e[38]=Z,e[39]=V,e[40]=Q):Q=e[40];let $;return e[41]!==Q||e[42]!==B?($=(0,T.jsxs)(T.Fragment,{children:[R,z,B,Q]}),e[41]=Q,e[42]=B,e[43]=$):$=e[43],$}function D(e){let t=i(e.Tags);return(0,T.jsx)(s,{value:e.VpcId??``,children:t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`},e.VpcId)}export{E as component};
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as ee}from"./back-link-DjawJm5W.js";import{c as a,i as o,n as te,s as ne,t as re}from"./select-Bgl6IAYG.js";import{t as ie}from"./cli-command-panel-DPooQRso.js";import{t as s}from"./input-CpcyJw4R.js";import{M as ae}from"./ec2-DJL24ekw.js";import{x as oe}from"./ec2-DFivrtZe.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{a as se,i as ce,n as le,t as ue}from"./zod-VwMMRSfy.js";import{t as de}from"./error-banner-BcDqaPk7.js";import{t as fe}from"./form-actions-C3zG6ld2.js";import{r as l,s as u,t as d}from"./field-ChkDR_wL.js";import{p as pe}from"./ec2-CmqOirWQ.js";var me=t(),f=e();function p(){let e=(0,me.c)(71),t=r(),{data:i}=n(ae),o=oe(),p;e[0]===i.Vpcs?p=e[1]:(p=i.Vpcs??[],e[0]=i.Vpcs,e[1]=p);let m=p,h;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(h=ue(pe),e[2]=h):h=e[2];let g=m[0]?.VpcId??``,_;e[3]===g?_=e[4]:(_={resolver:h,defaultValues:{groupName:``,description:``,vpcId:g}},e[3]=g,e[4]=_);let{control:v,handleSubmit:y,register:b,formState:_e}=ce(_),{errors:x,isSubmitting:S}=_e,C;e[5]===v?C=e[6]:(C={control:v},e[5]=v,e[6]=C);let w=se(C),T;e[7]!==o||e[8]!==t?(T=async e=>{let n=(await o.mutateAsync(e)).GroupId;t(n?{to:`/ec2/describe-security-groups/$id`,params:{id:n}}:{to:`/ec2/describe-security-groups`})},e[7]=o,e[8]=t,e[9]=T):T=e[9];let E=T,D,O;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,f.jsx)(ee,{to:`/ec2/describe-security-groups`,children:`Back to Security Groups`}),O=(0,f.jsx)(c,{title:`Create Security Group`}),e[10]=D,e[11]=O):(D=e[10],O=e[11]);let k;e[12]===o.error?k=e[13]:(k=o.error&&(0,f.jsx)(de,{error:o.error,msg:`Failed to create security group`}),e[12]=o.error,e[13]=k);let A;e[14]!==y||e[15]!==E?(A=y(E),e[14]=y,e[15]=E,e[16]=A):A=e[16];let j;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,f.jsx)(u,{children:(0,f.jsx)(`label`,{htmlFor:`groupName`,children:`Group Name`})}),e[17]=j):j=e[17];let M=!!x.groupName,N;e[18]===b?N=e[19]:(N=b(`groupName`),e[18]=b,e[19]=N);let P;e[20]!==M||e[21]!==N?(P=(0,f.jsx)(s,{"aria-invalid":M,id:`groupName`,placeholder:`my-security-group`,...N}),e[20]=M,e[21]=N,e[22]=P):P=e[22];let F;e[23]===x.groupName?F=e[24]:(F=(0,f.jsx)(l,{errors:[x.groupName]}),e[23]=x.groupName,e[24]=F);let I;e[25]!==P||e[26]!==F?(I=(0,f.jsxs)(d,{children:[j,P,F]}),e[25]=P,e[26]=F,e[27]=I):I=e[27];let L;e[28]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,f.jsx)(u,{children:(0,f.jsx)(`label`,{htmlFor:`description`,children:`Description`})}),e[28]=L):L=e[28];let R=!!x.description,z;e[29]===b?z=e[30]:(z=b(`description`),e[29]=b,e[30]=z);let B;e[31]!==R||e[32]!==z?(B=(0,f.jsx)(s,{"aria-invalid":R,id:`description`,placeholder:`My security group description`,...z}),e[31]=R,e[32]=z,e[33]=B):B=e[33];let V;e[34]===x.description?V=e[35]:(V=(0,f.jsx)(l,{errors:[x.description]}),e[34]=x.description,e[35]=V);let H;e[36]!==B||e[37]!==V?(H=(0,f.jsxs)(d,{children:[L,B,V]}),e[36]=B,e[37]=V,e[38]=H):H=e[38];let U;e[39]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,f.jsx)(u,{children:(0,f.jsx)(`label`,{htmlFor:`vpcId`,children:`VPC`})}),e[39]=U):U=e[39];let W;e[40]!==x.vpcId||e[41]!==m?(W=e=>{let{field:t}=e;return(0,f.jsxs)(re,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,f.jsx)(ne,{"aria-invalid":!!x.vpcId,className:`w-full`,id:`vpcId`,children:(0,f.jsx)(a,{})}),(0,f.jsx)(te,{children:m.map(he)})]})},e[40]=x.vpcId,e[41]=m,e[42]=W):W=e[42];let G;e[43]!==v||e[44]!==W?(G=(0,f.jsx)(le,{control:v,name:`vpcId`,render:W}),e[43]=v,e[44]=W,e[45]=G):G=e[45];let K;e[46]===x.vpcId?K=e[47]:(K=(0,f.jsx)(l,{errors:[x.vpcId]}),e[46]=x.vpcId,e[47]=K);let q;e[48]!==G||e[49]!==K?(q=(0,f.jsxs)(d,{children:[U,G,K]}),e[48]=G,e[49]=K,e[50]=q):q=e[50];let J;e[51]===w?J=e[52]:(J=ge(w),e[51]=w,e[52]=J);let Y;e[53]===J?Y=e[54]:(Y=(0,f.jsx)(ie,{commands:J}),e[53]=J,e[54]=Y);let X;e[55]===t?X=e[56]:(X=async()=>{await t({to:`/ec2/describe-security-groups`})},e[55]=t,e[56]=X);let Z;e[57]!==o.isPending||e[58]!==S||e[59]!==X?(Z=(0,f.jsx)(fe,{isPending:o.isPending,isSubmitting:S,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Security Group`}),e[57]=o.isPending,e[58]=S,e[59]=X,e[60]=Z):Z=e[60];let Q;e[61]!==A||e[62]!==I||e[63]!==H||e[64]!==q||e[65]!==Y||e[66]!==Z?(Q=(0,f.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:A,children:[I,H,q,Y,Z]}),e[61]=A,e[62]=I,e[63]=H,e[64]=q,e[65]=Y,e[66]=Z,e[67]=Q):Q=e[67];let $;return e[68]!==Q||e[69]!==k?($=(0,f.jsxs)(f.Fragment,{children:[D,O,k,Q]}),e[68]=Q,e[69]=k,e[70]=$):$=e[70],$}function he(e){let t=i(e.Tags);return(0,f.jsx)(o,{value:e.VpcId??``,children:t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`},e.VpcId)}function ge(e){let t=e.groupName??``,n=e.description??``,r=e.vpcId??``,i=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-security-group`},{type:`flag`,value:` \\
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as ee}from"./back-link-DjawJm5W.js";import{c as a,i as o,n as te,s as ne,t as re}from"./select-Bgl6IAYG.js";import{t as ie}from"./cli-command-panel-DPooQRso.js";import{t as s}from"./input-CpcyJw4R.js";import{M as ae}from"./ec2-DJL24ekw.js";import{x as oe}from"./ec2-iXujaheD.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{a as se,i as ce,n as le,t as ue}from"./zod-VwMMRSfy.js";import{t as de}from"./error-banner-BcDqaPk7.js";import{t as fe}from"./form-actions-C3zG6ld2.js";import{r as l,s as u,t as d}from"./field-ChkDR_wL.js";import{p as pe}from"./ec2-Cr9GrTUU.js";var me=t(),f=e();function p(){let e=(0,me.c)(71),t=r(),{data:i}=n(ae),o=oe(),p;e[0]===i.Vpcs?p=e[1]:(p=i.Vpcs??[],e[0]=i.Vpcs,e[1]=p);let m=p,h;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(h=ue(pe),e[2]=h):h=e[2];let g=m[0]?.VpcId??``,_;e[3]===g?_=e[4]:(_={resolver:h,defaultValues:{groupName:``,description:``,vpcId:g}},e[3]=g,e[4]=_);let{control:v,handleSubmit:y,register:b,formState:_e}=ce(_),{errors:x,isSubmitting:S}=_e,C;e[5]===v?C=e[6]:(C={control:v},e[5]=v,e[6]=C);let w=se(C),T;e[7]!==o||e[8]!==t?(T=async e=>{let n=(await o.mutateAsync(e)).GroupId;t(n?{to:`/ec2/describe-security-groups/$id`,params:{id:n}}:{to:`/ec2/describe-security-groups`})},e[7]=o,e[8]=t,e[9]=T):T=e[9];let E=T,D,O;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,f.jsx)(ee,{to:`/ec2/describe-security-groups`,children:`Back to Security Groups`}),O=(0,f.jsx)(c,{title:`Create Security Group`}),e[10]=D,e[11]=O):(D=e[10],O=e[11]);let k;e[12]===o.error?k=e[13]:(k=o.error&&(0,f.jsx)(de,{error:o.error,msg:`Failed to create security group`}),e[12]=o.error,e[13]=k);let A;e[14]!==y||e[15]!==E?(A=y(E),e[14]=y,e[15]=E,e[16]=A):A=e[16];let j;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,f.jsx)(u,{children:(0,f.jsx)(`label`,{htmlFor:`groupName`,children:`Group Name`})}),e[17]=j):j=e[17];let M=!!x.groupName,N;e[18]===b?N=e[19]:(N=b(`groupName`),e[18]=b,e[19]=N);let P;e[20]!==M||e[21]!==N?(P=(0,f.jsx)(s,{"aria-invalid":M,id:`groupName`,placeholder:`my-security-group`,...N}),e[20]=M,e[21]=N,e[22]=P):P=e[22];let F;e[23]===x.groupName?F=e[24]:(F=(0,f.jsx)(l,{errors:[x.groupName]}),e[23]=x.groupName,e[24]=F);let I;e[25]!==P||e[26]!==F?(I=(0,f.jsxs)(d,{children:[j,P,F]}),e[25]=P,e[26]=F,e[27]=I):I=e[27];let L;e[28]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,f.jsx)(u,{children:(0,f.jsx)(`label`,{htmlFor:`description`,children:`Description`})}),e[28]=L):L=e[28];let R=!!x.description,z;e[29]===b?z=e[30]:(z=b(`description`),e[29]=b,e[30]=z);let B;e[31]!==R||e[32]!==z?(B=(0,f.jsx)(s,{"aria-invalid":R,id:`description`,placeholder:`My security group description`,...z}),e[31]=R,e[32]=z,e[33]=B):B=e[33];let V;e[34]===x.description?V=e[35]:(V=(0,f.jsx)(l,{errors:[x.description]}),e[34]=x.description,e[35]=V);let H;e[36]!==B||e[37]!==V?(H=(0,f.jsxs)(d,{children:[L,B,V]}),e[36]=B,e[37]=V,e[38]=H):H=e[38];let U;e[39]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,f.jsx)(u,{children:(0,f.jsx)(`label`,{htmlFor:`vpcId`,children:`VPC`})}),e[39]=U):U=e[39];let W;e[40]!==x.vpcId||e[41]!==m?(W=e=>{let{field:t}=e;return(0,f.jsxs)(re,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,f.jsx)(ne,{"aria-invalid":!!x.vpcId,className:`w-full`,id:`vpcId`,children:(0,f.jsx)(a,{})}),(0,f.jsx)(te,{children:m.map(he)})]})},e[40]=x.vpcId,e[41]=m,e[42]=W):W=e[42];let G;e[43]!==v||e[44]!==W?(G=(0,f.jsx)(le,{control:v,name:`vpcId`,render:W}),e[43]=v,e[44]=W,e[45]=G):G=e[45];let K;e[46]===x.vpcId?K=e[47]:(K=(0,f.jsx)(l,{errors:[x.vpcId]}),e[46]=x.vpcId,e[47]=K);let q;e[48]!==G||e[49]!==K?(q=(0,f.jsxs)(d,{children:[U,G,K]}),e[48]=G,e[49]=K,e[50]=q):q=e[50];let J;e[51]===w?J=e[52]:(J=ge(w),e[51]=w,e[52]=J);let Y;e[53]===J?Y=e[54]:(Y=(0,f.jsx)(ie,{commands:J}),e[53]=J,e[54]=Y);let X;e[55]===t?X=e[56]:(X=async()=>{await t({to:`/ec2/describe-security-groups`})},e[55]=t,e[56]=X);let Z;e[57]!==o.isPending||e[58]!==S||e[59]!==X?(Z=(0,f.jsx)(fe,{isPending:o.isPending,isSubmitting:S,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Security Group`}),e[57]=o.isPending,e[58]=S,e[59]=X,e[60]=Z):Z=e[60];let Q;e[61]!==A||e[62]!==I||e[63]!==H||e[64]!==q||e[65]!==Y||e[66]!==Z?(Q=(0,f.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:A,children:[I,H,q,Y,Z]}),e[61]=A,e[62]=I,e[63]=H,e[64]=q,e[65]=Y,e[66]=Z,e[67]=Q):Q=e[67];let $;return e[68]!==Q||e[69]!==k?($=(0,f.jsxs)(f.Fragment,{children:[D,O,k,Q]}),e[68]=Q,e[69]=k,e[70]=$):$=e[70],$}function he(e){let t=i(e.Tags);return(0,f.jsx)(o,{value:e.VpcId??``,children:t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`},e.VpcId)}function ge(e){let t=e.groupName??``,n=e.description??``,r=e.vpcId??``,i=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-security-group`},{type:`flag`,value:` \\
|
||||
--group-name`},{type:`value`,value:` ${t||`<GroupName>`}`},{type:`flag`,value:` \\
|
||||
--description`},{type:`value`,value:` "${n||`<Description>`}"`}];return r&&i.push({type:`flag`,value:` \\
|
||||
--vpc-id`},{type:`value`,value:` ${r}`}),[{label:`Create Security Group`,parts:i}]}export{p as component};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/create-service-Dx-_UkeH.js","assets/compiler-runtime-DTT1fEHg.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/httpRequest-Bc1WZmsd.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ecs-DRWPOVsw.js","assets/ecs-BsOdvIYx.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/signed-fetch-BHraeSLO.js","assets/elbv2-19pV3l7Z.js","assets/commandBuilder-C5yeyMcZ.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/form-actions-C3zG6ld2.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/ecs-CA1ohYPx.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{b as n,v as r}from"./httpRequest-Bc1WZmsd.js";import{_o as i}from"./awsClient-I-S7JTV9.js";import{O as a,w as o}from"./ec2-DJL24ekw.js";import{o as s}from"./ecs-DRWPOVsw.js";import{u as c}from"./elbv2-19pV3l7Z.js";var l=()=>i(()=>import(`./create-service-Dx-_UkeH.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])),u=r({cluster:n().catch(``)}),d=e(`/_auth/ecs/(clusters)/create-service`)({validateSearch:u,loader:async({context:e})=>{await Promise.all([e.queryClient.query({...s,staleTime:`static`}),e.queryClient.query({...a,staleTime:`static`}),e.queryClient.query({...o,staleTime:`static`}),e.queryClient.query({...c,staleTime:`static`})])},head:()=>({meta:[{title:`Create Service | ECS | Mulga`}]}),component:t(l,`component`)});export{d as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/create-service-CGe6v6p3.js","assets/compiler-runtime-DTT1fEHg.js","assets/useQuery-DVjCHx2S.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/httpRequest-Bc1WZmsd.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/input-CpcyJw4R.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ecs-DRWPOVsw.js","assets/ecs-BsOdvIYx.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/signed-fetch-BHraeSLO.js","assets/elbv2-19pV3l7Z.js","assets/commandBuilder-C5yeyMcZ.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/form-actions-C3zG6ld2.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/ecs-CA1ohYPx.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{b as n,v as r}from"./httpRequest-Bc1WZmsd.js";import{_o as i}from"./awsClient-I-S7JTV9.js";import{O as a,w as o}from"./ec2-DJL24ekw.js";import{o as s}from"./ecs-DRWPOVsw.js";import{u as c}from"./elbv2-19pV3l7Z.js";var l=()=>i(()=>import(`./create-service-CGe6v6p3.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])),u=r({cluster:n().catch(``)}),d=e(`/_auth/ecs/(clusters)/create-service`)({validateSearch:u,loader:async({context:e})=>{await Promise.all([e.queryClient.query({...s,staleTime:`static`}),e.queryClient.query({...a,staleTime:`static`}),e.queryClient.query({...o,staleTime:`static`}),e.queryClient.query({...c,staleTime:`static`})])},head:()=>({meta:[{title:`Create Service | ECS | Mulga`}]}),component:t(l,`component`)});export{d as t};
|
||||
+1
File diff suppressed because one or more lines are too long
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,3 +1,3 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{t as ee}from"./back-link-DjawJm5W.js";import{c as i,i as a,n as o,s,t as c}from"./select-Bgl6IAYG.js";import{t as l}from"./cli-command-panel-DPooQRso.js";import{A as te}from"./ec2-DJL24ekw.js";import{S as ne}from"./ec2-DFivrtZe.js";import{t as re}from"./create-snapshot-D2b7NxRk.js";import{t as ie}from"./page-heading-M0NyqAmu.js";import{a as ae,i as oe,n as se,t as ce}from"./zod-VwMMRSfy.js";import{t as le}from"./error-banner-BcDqaPk7.js";import{t as u}from"./form-actions-C3zG6ld2.js";import{r as d,s as f,t as p}from"./field-ChkDR_wL.js";import{t as m}from"./textarea-BNxO_Zsf.js";import{m as h}from"./ec2-CmqOirWQ.js";var g=t(),_=e();function v(){let e=(0,g.c)(53),t=r(),{data:a}=n(te),v=ne(),x;e[0]===a.Volumes?x=e[1]:(x=a.Volumes??[],e[0]=a.Volumes,e[1]=x);let S=x,{volumeId:ue}=re.useSearch(),C=ue??S[0]?.VolumeId??``,w;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(w=ce(h),e[2]=w):w=e[2];let T;e[3]===C?T=e[4]:(T={resolver:w,defaultValues:{volumeId:C,description:``}},e[3]=C,e[4]=T);let{control:E,handleSubmit:D,register:O,formState:k}=oe(T),{errors:A,isSubmitting:j}=k,M;e[5]===E?M=e[6]:(M={control:E},e[5]=E,e[6]=M);let N=ae(M),P;e[7]!==v||e[8]!==t?(P=async e=>{await v.mutateAsync(e),t({to:`/ec2/describe-snapshots`})},e[7]=v,e[8]=t,e[9]=P):P=e[9];let F=P,I,L;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,_.jsx)(ee,{to:`/ec2/describe-snapshots`,children:`Back to snapshots`}),L=(0,_.jsx)(ie,{title:`Create Snapshot`}),e[10]=I,e[11]=L):(I=e[10],L=e[11]);let R;e[12]===v.error?R=e[13]:(R=v.error&&(0,_.jsx)(le,{error:v.error,msg:`Failed to create snapshot`}),e[12]=v.error,e[13]=R);let z;e[14]!==D||e[15]!==F?(z=D(F),e[14]=D,e[15]=F,e[16]=z):z=e[16];let B;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`volumeId`,children:`Volume`})}),e[17]=B):B=e[17];let V;e[18]!==A.volumeId||e[19]!==S?(V=e=>{let{field:t}=e;return(0,_.jsxs)(c,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,_.jsx)(s,{"aria-invalid":!!A.volumeId,className:`w-full`,id:`volumeId`,children:(0,_.jsx)(i,{})}),(0,_.jsx)(o,{children:S.map(y)})]})},e[18]=A.volumeId,e[19]=S,e[20]=V):V=e[20];let H;e[21]!==E||e[22]!==V?(H=(0,_.jsx)(se,{control:E,name:`volumeId`,render:V}),e[21]=E,e[22]=V,e[23]=H):H=e[23];let U;e[24]===A.volumeId?U=e[25]:(U=(0,_.jsx)(d,{errors:[A.volumeId]}),e[24]=A.volumeId,e[25]=U);let W;e[26]!==H||e[27]!==U?(W=(0,_.jsxs)(p,{children:[B,H,U]}),e[26]=H,e[27]=U,e[28]=W):W=e[28];let G;e[29]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`description`,children:`Description (optional)`})}),e[29]=G):G=e[29];let K;e[30]===O?K=e[31]:(K=O(`description`),e[30]=O,e[31]=K);let q;e[32]===K?q=e[33]:(q=(0,_.jsxs)(p,{children:[G,(0,_.jsx)(m,{id:`description`,placeholder:`Snapshot description`,...K})]}),e[32]=K,e[33]=q);let J;e[34]===N?J=e[35]:(J=b(N),e[34]=N,e[35]=J);let Y;e[36]===J?Y=e[37]:(Y=(0,_.jsx)(l,{commands:J}),e[36]=J,e[37]=Y);let X;e[38]===t?X=e[39]:(X=async()=>{await t({to:`/ec2/describe-snapshots`})},e[38]=t,e[39]=X);let Z;e[40]!==v.isPending||e[41]!==j||e[42]!==X?(Z=(0,_.jsx)(u,{isPending:v.isPending,isSubmitting:j,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Snapshot`}),e[40]=v.isPending,e[41]=j,e[42]=X,e[43]=Z):Z=e[43];let Q;e[44]!==W||e[45]!==q||e[46]!==Y||e[47]!==Z||e[48]!==z?(Q=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:z,children:[W,q,Y,Z]}),e[44]=W,e[45]=q,e[46]=Y,e[47]=Z,e[48]=z,e[49]=Q):Q=e[49];let $;return e[50]!==Q||e[51]!==R?($=(0,_.jsxs)(_.Fragment,{children:[I,L,R,Q]}),e[50]=Q,e[51]=R,e[52]=$):$=e[52],$}function y(e){return(0,_.jsxs)(a,{value:e.VolumeId??``,children:[e.VolumeId,` (`,e.Size,` GiB)`]},e.VolumeId)}function b(e){let t=e.volumeId??``,n=e.description??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-snapshot`},{type:`flag`,value:` \\
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{t as ee}from"./back-link-DjawJm5W.js";import{c as i,i as a,n as o,s,t as c}from"./select-Bgl6IAYG.js";import{t as l}from"./cli-command-panel-DPooQRso.js";import{A as te}from"./ec2-DJL24ekw.js";import{S as ne}from"./ec2-iXujaheD.js";import{t as re}from"./create-snapshot-D5zAE9J5.js";import{t as ie}from"./page-heading-M0NyqAmu.js";import{a as ae,i as oe,n as se,t as ce}from"./zod-VwMMRSfy.js";import{t as le}from"./error-banner-BcDqaPk7.js";import{t as u}from"./form-actions-C3zG6ld2.js";import{r as d,s as f,t as p}from"./field-ChkDR_wL.js";import{t as m}from"./textarea-BNxO_Zsf.js";import{m as h}from"./ec2-Cr9GrTUU.js";var g=t(),_=e();function v(){let e=(0,g.c)(53),t=r(),{data:a}=n(te),v=ne(),x;e[0]===a.Volumes?x=e[1]:(x=a.Volumes??[],e[0]=a.Volumes,e[1]=x);let S=x,{volumeId:ue}=re.useSearch(),C=ue??S[0]?.VolumeId??``,w;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(w=ce(h),e[2]=w):w=e[2];let T;e[3]===C?T=e[4]:(T={resolver:w,defaultValues:{volumeId:C,description:``}},e[3]=C,e[4]=T);let{control:E,handleSubmit:D,register:O,formState:k}=oe(T),{errors:A,isSubmitting:j}=k,M;e[5]===E?M=e[6]:(M={control:E},e[5]=E,e[6]=M);let N=ae(M),P;e[7]!==v||e[8]!==t?(P=async e=>{await v.mutateAsync(e),t({to:`/ec2/describe-snapshots`})},e[7]=v,e[8]=t,e[9]=P):P=e[9];let F=P,I,L;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,_.jsx)(ee,{to:`/ec2/describe-snapshots`,children:`Back to snapshots`}),L=(0,_.jsx)(ie,{title:`Create Snapshot`}),e[10]=I,e[11]=L):(I=e[10],L=e[11]);let R;e[12]===v.error?R=e[13]:(R=v.error&&(0,_.jsx)(le,{error:v.error,msg:`Failed to create snapshot`}),e[12]=v.error,e[13]=R);let z;e[14]!==D||e[15]!==F?(z=D(F),e[14]=D,e[15]=F,e[16]=z):z=e[16];let B;e[17]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`volumeId`,children:`Volume`})}),e[17]=B):B=e[17];let V;e[18]!==A.volumeId||e[19]!==S?(V=e=>{let{field:t}=e;return(0,_.jsxs)(c,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,_.jsx)(s,{"aria-invalid":!!A.volumeId,className:`w-full`,id:`volumeId`,children:(0,_.jsx)(i,{})}),(0,_.jsx)(o,{children:S.map(y)})]})},e[18]=A.volumeId,e[19]=S,e[20]=V):V=e[20];let H;e[21]!==E||e[22]!==V?(H=(0,_.jsx)(se,{control:E,name:`volumeId`,render:V}),e[21]=E,e[22]=V,e[23]=H):H=e[23];let U;e[24]===A.volumeId?U=e[25]:(U=(0,_.jsx)(d,{errors:[A.volumeId]}),e[24]=A.volumeId,e[25]=U);let W;e[26]!==H||e[27]!==U?(W=(0,_.jsxs)(p,{children:[B,H,U]}),e[26]=H,e[27]=U,e[28]=W):W=e[28];let G;e[29]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`description`,children:`Description (optional)`})}),e[29]=G):G=e[29];let K;e[30]===O?K=e[31]:(K=O(`description`),e[30]=O,e[31]=K);let q;e[32]===K?q=e[33]:(q=(0,_.jsxs)(p,{children:[G,(0,_.jsx)(m,{id:`description`,placeholder:`Snapshot description`,...K})]}),e[32]=K,e[33]=q);let J;e[34]===N?J=e[35]:(J=b(N),e[34]=N,e[35]=J);let Y;e[36]===J?Y=e[37]:(Y=(0,_.jsx)(l,{commands:J}),e[36]=J,e[37]=Y);let X;e[38]===t?X=e[39]:(X=async()=>{await t({to:`/ec2/describe-snapshots`})},e[38]=t,e[39]=X);let Z;e[40]!==v.isPending||e[41]!==j||e[42]!==X?(Z=(0,_.jsx)(u,{isPending:v.isPending,isSubmitting:j,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Snapshot`}),e[40]=v.isPending,e[41]=j,e[42]=X,e[43]=Z):Z=e[43];let Q;e[44]!==W||e[45]!==q||e[46]!==Y||e[47]!==Z||e[48]!==z?(Q=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:z,children:[W,q,Y,Z]}),e[44]=W,e[45]=q,e[46]=Y,e[47]=Z,e[48]=z,e[49]=Q):Q=e[49];let $;return e[50]!==Q||e[51]!==R?($=(0,_.jsxs)(_.Fragment,{children:[I,L,R,Q]}),e[50]=Q,e[51]=R,e[52]=$):$=e[52],$}function y(e){return(0,_.jsxs)(a,{value:e.VolumeId??``,children:[e.VolumeId,` (`,e.Size,` GiB)`]},e.VolumeId)}function b(e){let t=e.volumeId??``,n=e.description??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-snapshot`},{type:`flag`,value:` \\
|
||||
--volume-id`},{type:`value`,value:` ${t||`<VolumeId>`}`}];return n&&r.push({type:`flag`,value:` \\
|
||||
--description`},{type:`value`,value:` "${n}"`}),[{label:`Create Snapshot`,parts:r}]}export{v as component};
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/create-snapshot-DO08D5Ev.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/httpRequest-Bc1WZmsd.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/cli-command-panel-DPooQRso.js","assets/copy-3Ip4Zkw5.js","assets/use-copy-to-clipboard-Bscc1MgN.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-DFivrtZe.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/form-actions-C3zG6ld2.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/ec2-CmqOirWQ.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{b as n,v as r}from"./httpRequest-Bc1WZmsd.js";import{_o as i}from"./awsClient-I-S7JTV9.js";import{A as a}from"./ec2-DJL24ekw.js";var o=()=>i(()=>import(`./create-snapshot-DO08D5Ev.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43])),s=r({volumeId:n().optional().catch(void 0)}),c=e(`/_auth/ec2/(snapshots)/create-snapshot`)({validateSearch:s,loader:async({context:e})=>{await e.queryClient.query({...a,staleTime:`static`})},head:()=>({meta:[{title:`Create Snapshot | EC2 | Mulga`}]}),component:t(o,`component`)});export{c as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/create-snapshot-6kjBN-WR.js","assets/compiler-runtime-DTT1fEHg.js","assets/useSuspenseQuery-C2bXkW_k.js","assets/useBaseQuery-BzVOpEso.js","assets/removable-TyvHreKc.js","assets/useNavigate-BiiHYpLW.js","assets/matchContext-Dxo67MeP.js","assets/back-link-DjawJm5W.js","assets/link-cv-r823H.js","assets/createLucideIcon-DI_DJF-h.js","assets/select-Bgl6IAYG.js","assets/useValueAsRef-DbvX_oWn.js","assets/dist-oTooRiSa.js","assets/httpRequest-Bc1WZmsd.js","assets/button-Bae9vdts.js","assets/reason-parts-DS9EIifS.js","assets/check-DKS02ExQ.js","assets/chevron-down-DuqoHmYM.js","assets/useScrollLock-DPIS-H3s.js","assets/with-selector-DwL8goiN.js","assets/useValueChanged-3Des54hH.js","assets/usePositioner-CRZWTJxW.js","assets/DirectionContext-CO1nR263.js","assets/useCompositeListItem-D7RLSwDM.js","assets/useControlled-CCRnPsks.js","assets/cli-command-panel-DPooQRso.js","assets/copy-3Ip4Zkw5.js","assets/use-copy-to-clipboard-Bscc1MgN.js","assets/ec2-DJL24ekw.js","assets/queryOptions-Dfvzj6n2.js","assets/awsClient-I-S7JTV9.js","assets/index.browser-ByUCT8up.js","assets/ec2-iXujaheD.js","assets/useMutation-DV0DQvGm.js","assets/mutation--CHjRtbG.js","assets/subnet-calculator-DDrAb5xp.js","assets/page-heading-M0NyqAmu.js","assets/zod-VwMMRSfy.js","assets/error-banner-BcDqaPk7.js","assets/form-actions-C3zG6ld2.js","assets/field-ChkDR_wL.js","assets/separator-BqVPQr-v.js","assets/textarea-BNxO_Zsf.js","assets/ec2-Cr9GrTUU.js","assets/elbv2-B_G5anft.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent-qWqE2u8p.js";import{b as n,v as r}from"./httpRequest-Bc1WZmsd.js";import{_o as i}from"./awsClient-I-S7JTV9.js";import{A as a}from"./ec2-DJL24ekw.js";var o=()=>i(()=>import(`./create-snapshot-6kjBN-WR.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44])),s=r({volumeId:n().optional().catch(void 0)}),c=e(`/_auth/ec2/(snapshots)/create-snapshot`)({validateSearch:s,loader:async({context:e})=>{await e.queryClient.query({...a,staleTime:`static`})},head:()=>({meta:[{title:`Create Snapshot | EC2 | Mulga`}]}),component:t(o,`component`)});export{c as t};
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,4 +1,4 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{t as i}from"./back-link-DjawJm5W.js";import{t as a}from"./cli-command-panel-DPooQRso.js";import{M as o}from"./ec2-DJL24ekw.js";import{i as s}from"./elbv2-CBiYqcpA.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{i as l,t as u}from"./zod-VwMMRSfy.js";import{t as d}from"./error-banner-BcDqaPk7.js";import{t as f}from"./form-actions-C3zG6ld2.js";import{t as p}from"./target-group-form-DZJOr6m0.js";import{a as m}from"./elbv2-D92OK4oO.js";var h=t(),g=e();function _(){let e=(0,h.c)(38),t=r(),{data:_}=n(o),y=s(),b;e[0]===_.Vpcs?b=e[1]:(b=_.Vpcs??[],e[0]=_.Vpcs,e[1]=b);let x=b,S;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(S=u(m),e[2]=S):S=e[2];let C=x[0]?.VpcId??``,w,T;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(w={protocol:`HTTP`,path:`/`,port:`traffic-port`,intervalSeconds:30,timeoutSeconds:5,healthyThresholdCount:5,unhealthyThresholdCount:2,matcher:`200`},T=[],e[3]=w,e[4]=T):(w=e[3],T=e[4]);let E;e[5]===C?E=e[6]:(E={resolver:S,defaultValues:{name:``,protocol:`HTTP`,port:80,vpcId:C,healthCheck:w,tags:T}},e[5]=C,e[6]=E);let D=l(E),{handleSubmit:O,watch:k,formState:A}=D,{isSubmitting:j}=A,M;e[7]!==y||e[8]!==t?(M=async e=>{try{let n=(await y.mutateAsync(e)).TargetGroups?.[0]?.TargetGroupArn;t(n?{to:`/ec2/describe-target-groups/$id`,params:{id:encodeURIComponent(n)}}:{to:`/ec2/describe-target-groups`})}catch{}},e[7]=y,e[8]=t,e[9]=M):M=e[9];let N=M,P,F;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,g.jsx)(i,{to:`/ec2/describe-target-groups`,children:`Back to target groups`}),F=(0,g.jsx)(c,{title:`Create Target Group`}),e[10]=P,e[11]=F):(P=e[10],F=e[11]);let I;e[12]===y.error?I=e[13]:(I=y.error&&(0,g.jsx)(d,{error:y.error,msg:`Failed to create target group`}),e[12]=y.error,e[13]=I);let L;e[14]!==O||e[15]!==N?(L=O(N),e[14]=O,e[15]=N,e[16]=L):L=e[16];let R;e[17]!==D||e[18]!==x?(R=(0,g.jsx)(p,{form:D,vpcs:x}),e[17]=D,e[18]=x,e[19]=R):R=e[19];let z;e[20]===k?z=e[21]:(z=v(k),e[20]=k,e[21]=z);let B;e[22]===z?B=e[23]:(B=(0,g.jsx)(a,{commands:z}),e[22]=z,e[23]=B);let V;e[24]===t?V=e[25]:(V=async()=>{await t({to:`/ec2/describe-target-groups`})},e[24]=t,e[25]=V);let H;e[26]!==y.isPending||e[27]!==j||e[28]!==V?(H=(0,g.jsx)(f,{isPending:y.isPending,isSubmitting:j,onCancel:V,pendingLabel:`Creating…`,submitLabel:`Create Target Group`}),e[26]=y.isPending,e[27]=j,e[28]=V,e[29]=H):H=e[29];let U;e[30]!==L||e[31]!==R||e[32]!==B||e[33]!==H?(U=(0,g.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:L,children:[R,B,H]}),e[30]=L,e[31]=R,e[32]=B,e[33]=H,e[34]=U):U=e[34];let W;return e[35]!==I||e[36]!==U?(W=(0,g.jsxs)(g.Fragment,{children:[P,F,I,U]}),e[35]=I,e[36]=U,e[37]=W):W=e[37],W}function v(e){let t=e(`name`),n=e(`protocol`)||`HTTP`,r=e(`port`),i=e(`vpcId`),a=e(`healthCheck.protocol`)||`HTTP`,o=e(`healthCheck.path`)||`/`,s=e(`healthCheck.port`)||`traffic-port`,c=e(`healthCheck.intervalSeconds`),l=e(`healthCheck.timeoutSeconds`),u=e(`healthCheck.healthyThresholdCount`),d=e(`healthCheck.unhealthyThresholdCount`),f=e(`healthCheck.matcher`)||`200`,p=[{type:`bin`,value:`AWS_PROFILE=spinifex aws elbv2 create-target-group`},{type:`flag`,value:` \\
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{t as i}from"./back-link-DjawJm5W.js";import{t as a}from"./cli-command-panel-DPooQRso.js";import{M as o}from"./ec2-DJL24ekw.js";import{i as s}from"./elbv2-CBiYqcpA.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{i as l,t as u}from"./zod-VwMMRSfy.js";import{t as d}from"./error-banner-BcDqaPk7.js";import{t as f}from"./form-actions-C3zG6ld2.js";import{a as p}from"./elbv2-B_G5anft.js";import{t as m}from"./target-group-form-DZJOr6m0.js";var h=t(),g=e();function _(){let e=(0,h.c)(38),t=r(),{data:_}=n(o),y=s(),b;e[0]===_.Vpcs?b=e[1]:(b=_.Vpcs??[],e[0]=_.Vpcs,e[1]=b);let x=b,S;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(S=u(p),e[2]=S):S=e[2];let C=x[0]?.VpcId??``,w,T;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(w={protocol:`HTTP`,path:`/`,port:`traffic-port`,intervalSeconds:30,timeoutSeconds:5,healthyThresholdCount:5,unhealthyThresholdCount:2,matcher:`200`},T=[],e[3]=w,e[4]=T):(w=e[3],T=e[4]);let E;e[5]===C?E=e[6]:(E={resolver:S,defaultValues:{name:``,protocol:`HTTP`,port:80,vpcId:C,healthCheck:w,tags:T}},e[5]=C,e[6]=E);let D=l(E),{handleSubmit:O,watch:k,formState:A}=D,{isSubmitting:j}=A,M;e[7]!==y||e[8]!==t?(M=async e=>{try{let n=(await y.mutateAsync(e)).TargetGroups?.[0]?.TargetGroupArn;t(n?{to:`/ec2/describe-target-groups/$id`,params:{id:encodeURIComponent(n)}}:{to:`/ec2/describe-target-groups`})}catch{}},e[7]=y,e[8]=t,e[9]=M):M=e[9];let N=M,P,F;e[10]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,g.jsx)(i,{to:`/ec2/describe-target-groups`,children:`Back to target groups`}),F=(0,g.jsx)(c,{title:`Create Target Group`}),e[10]=P,e[11]=F):(P=e[10],F=e[11]);let I;e[12]===y.error?I=e[13]:(I=y.error&&(0,g.jsx)(d,{error:y.error,msg:`Failed to create target group`}),e[12]=y.error,e[13]=I);let L;e[14]!==O||e[15]!==N?(L=O(N),e[14]=O,e[15]=N,e[16]=L):L=e[16];let R;e[17]!==D||e[18]!==x?(R=(0,g.jsx)(m,{form:D,vpcs:x}),e[17]=D,e[18]=x,e[19]=R):R=e[19];let z;e[20]===k?z=e[21]:(z=v(k),e[20]=k,e[21]=z);let B;e[22]===z?B=e[23]:(B=(0,g.jsx)(a,{commands:z}),e[22]=z,e[23]=B);let V;e[24]===t?V=e[25]:(V=async()=>{await t({to:`/ec2/describe-target-groups`})},e[24]=t,e[25]=V);let H;e[26]!==y.isPending||e[27]!==j||e[28]!==V?(H=(0,g.jsx)(f,{isPending:y.isPending,isSubmitting:j,onCancel:V,pendingLabel:`Creating…`,submitLabel:`Create Target Group`}),e[26]=y.isPending,e[27]=j,e[28]=V,e[29]=H):H=e[29];let U;e[30]!==L||e[31]!==R||e[32]!==B||e[33]!==H?(U=(0,g.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:L,children:[R,B,H]}),e[30]=L,e[31]=R,e[32]=B,e[33]=H,e[34]=U):U=e[34];let W;return e[35]!==I||e[36]!==U?(W=(0,g.jsxs)(g.Fragment,{children:[P,F,I,U]}),e[35]=I,e[36]=U,e[37]=W):W=e[37],W}function v(e){let t=e(`name`),n=e(`protocol`)||`HTTP`,r=e(`port`),i=e(`vpcId`),a=e(`healthCheck.protocol`)||`HTTP`,o=e(`healthCheck.path`)||`/`,s=e(`healthCheck.port`)||`traffic-port`,c=e(`healthCheck.intervalSeconds`),l=e(`healthCheck.timeoutSeconds`),u=e(`healthCheck.healthyThresholdCount`),d=e(`healthCheck.unhealthyThresholdCount`),f=e(`healthCheck.matcher`)||`200`,p=[{type:`bin`,value:`AWS_PROFILE=spinifex aws elbv2 create-target-group`},{type:`flag`,value:` \\
|
||||
--name`},{type:`value`,value:` ${t||`<Name>`}`},{type:`flag`,value:` \\
|
||||
--protocol`},{type:`value`,value:` ${n}`},{type:`flag`,value:` \\
|
||||
--port`},{type:`value`,value:` ${r??80}`},{type:`flag`,value:` \\
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{t as i}from"./back-link-DjawJm5W.js";import{c as ee,i as a,n as o,s,t as c}from"./select-Bgl6IAYG.js";import{t as l}from"./cli-command-panel-DPooQRso.js";import{t as te}from"./input-CpcyJw4R.js";import{r as ne}from"./ec2-DJL24ekw.js";import{w as re}from"./ec2-DFivrtZe.js";import{t as ie}from"./page-heading-M0NyqAmu.js";import{i as ae,n as oe,t as se}from"./zod-VwMMRSfy.js";import{t as ce}from"./error-banner-BcDqaPk7.js";import{t as le}from"./form-actions-C3zG6ld2.js";import{r as u,s as d,t as f}from"./field-ChkDR_wL.js";import{g as p}from"./ec2-CmqOirWQ.js";var m=t(),h=e();function g(){let e=(0,m.c)(57),t=r(),{data:a}=n(ne),g=re(),y;e[0]===a.AvailabilityZones?y=e[1]:(y=a.AvailabilityZones??[],e[0]=a.AvailabilityZones,e[1]=y);let b=y,x=b[0]?.ZoneName??``,S;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(S=se(p),e[2]=S):S=e[2];let C;e[3]===x?C=e[4]:(C={resolver:S,defaultValues:{size:1,availabilityZone:x}},e[3]=x,e[4]=C);let{control:w,handleSubmit:T,register:E,watch:D,formState:O}=ae(C),{errors:k,isSubmitting:A}=O,j;e[5]!==g||e[6]!==t?(j=async e=>{await g.mutateAsync(e),t({to:`/ec2/describe-volumes`})},e[5]=g,e[6]=t,e[7]=j):j=e[7];let M=j,N,P;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,h.jsx)(i,{to:`/ec2/describe-volumes`,children:`Back to volumes`}),P=(0,h.jsx)(ie,{title:`Create Volume`}),e[8]=N,e[9]=P):(N=e[8],P=e[9]);let F;e[10]===g.error?F=e[11]:(F=g.error&&(0,h.jsx)(ce,{error:g.error,msg:`Failed to create volume`}),e[10]=g.error,e[11]=F);let I;e[12]!==T||e[13]!==M?(I=T(M),e[12]=T,e[13]=M,e[14]=I):I=e[14];let L;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`size`,children:`Size (GiB)`})}),e[15]=L):L=e[15];let R=!!k.size,z;e[16]===E?z=e[17]:(z=E(`size`,{valueAsNumber:!0}),e[16]=E,e[17]=z);let B;e[18]!==R||e[19]!==z?(B=(0,h.jsx)(te,{"aria-invalid":R,id:`size`,max:16384,min:1,type:`number`,...z}),e[18]=R,e[19]=z,e[20]=B):B=e[20];let V;e[21]===k.size?V=e[22]:(V=(0,h.jsx)(u,{errors:[k.size]}),e[21]=k.size,e[22]=V);let H;e[23]!==B||e[24]!==V?(H=(0,h.jsxs)(f,{children:[L,B,V]}),e[23]=B,e[24]=V,e[25]=H):H=e[25];let U;e[26]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`availabilityZone`,children:`Availability Zone`})}),e[26]=U):U=e[26];let W;e[27]!==b||e[28]!==k.availabilityZone?(W=e=>{let{field:t}=e;return(0,h.jsxs)(c,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,h.jsx)(s,{"aria-invalid":!!k.availabilityZone,className:`w-full`,id:`availabilityZone`,children:(0,h.jsx)(ee,{})}),(0,h.jsx)(o,{children:b.map(_)})]})},e[27]=b,e[28]=k.availabilityZone,e[29]=W):W=e[29];let G;e[30]!==w||e[31]!==W?(G=(0,h.jsx)(oe,{control:w,name:`availabilityZone`,render:W}),e[30]=w,e[31]=W,e[32]=G):G=e[32];let K;e[33]===k.availabilityZone?K=e[34]:(K=(0,h.jsx)(u,{errors:[k.availabilityZone]}),e[33]=k.availabilityZone,e[34]=K);let q;e[35]!==G||e[36]!==K?(q=(0,h.jsxs)(f,{children:[U,G,K]}),e[35]=G,e[36]=K,e[37]=q):q=e[37];let J;e[38]===D?J=e[39]:(J=v(D),e[38]=D,e[39]=J);let Y;e[40]===J?Y=e[41]:(Y=(0,h.jsx)(l,{commands:J}),e[40]=J,e[41]=Y);let X;e[42]===t?X=e[43]:(X=async()=>{await t({to:`/ec2/describe-volumes`})},e[42]=t,e[43]=X);let Z;e[44]!==g.isPending||e[45]!==A||e[46]!==X?(Z=(0,h.jsx)(le,{isPending:g.isPending,isSubmitting:A,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Volume`}),e[44]=g.isPending,e[45]=A,e[46]=X,e[47]=Z):Z=e[47];let Q;e[48]!==H||e[49]!==q||e[50]!==Y||e[51]!==Z||e[52]!==I?(Q=(0,h.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:I,children:[H,q,Y,Z]}),e[48]=H,e[49]=q,e[50]=Y,e[51]=Z,e[52]=I,e[53]=Q):Q=e[53];let $;return e[54]!==Q||e[55]!==F?($=(0,h.jsxs)(h.Fragment,{children:[N,P,F,Q]}),e[54]=Q,e[55]=F,e[56]=$):$=e[56],$}function _(e){return(0,h.jsx)(a,{value:e.ZoneName??``,children:e.ZoneName},e.ZoneName)}function v(e){let t=e(`size`),n=e(`availabilityZone`);return[{label:`Create Volume`,parts:[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-volume`},{type:`flag`,value:` \\
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./useNavigate-BiiHYpLW.js";import{t as i}from"./back-link-DjawJm5W.js";import{c as ee,i as a,n as o,s,t as c}from"./select-Bgl6IAYG.js";import{t as l}from"./cli-command-panel-DPooQRso.js";import{t as te}from"./input-CpcyJw4R.js";import{r as ne}from"./ec2-DJL24ekw.js";import{w as re}from"./ec2-iXujaheD.js";import{t as ie}from"./page-heading-M0NyqAmu.js";import{i as ae,n as oe,t as se}from"./zod-VwMMRSfy.js";import{t as ce}from"./error-banner-BcDqaPk7.js";import{t as le}from"./form-actions-C3zG6ld2.js";import{r as u,s as d,t as f}from"./field-ChkDR_wL.js";import{g as p}from"./ec2-Cr9GrTUU.js";var m=t(),h=e();function g(){let e=(0,m.c)(57),t=r(),{data:a}=n(ne),g=re(),y;e[0]===a.AvailabilityZones?y=e[1]:(y=a.AvailabilityZones??[],e[0]=a.AvailabilityZones,e[1]=y);let b=y,x=b[0]?.ZoneName??``,S;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(S=se(p),e[2]=S):S=e[2];let C;e[3]===x?C=e[4]:(C={resolver:S,defaultValues:{size:1,availabilityZone:x}},e[3]=x,e[4]=C);let{control:w,handleSubmit:T,register:E,watch:D,formState:O}=ae(C),{errors:k,isSubmitting:A}=O,j;e[5]!==g||e[6]!==t?(j=async e=>{await g.mutateAsync(e),t({to:`/ec2/describe-volumes`})},e[5]=g,e[6]=t,e[7]=j):j=e[7];let M=j,N,P;e[8]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,h.jsx)(i,{to:`/ec2/describe-volumes`,children:`Back to volumes`}),P=(0,h.jsx)(ie,{title:`Create Volume`}),e[8]=N,e[9]=P):(N=e[8],P=e[9]);let F;e[10]===g.error?F=e[11]:(F=g.error&&(0,h.jsx)(ce,{error:g.error,msg:`Failed to create volume`}),e[10]=g.error,e[11]=F);let I;e[12]!==T||e[13]!==M?(I=T(M),e[12]=T,e[13]=M,e[14]=I):I=e[14];let L;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`size`,children:`Size (GiB)`})}),e[15]=L):L=e[15];let R=!!k.size,z;e[16]===E?z=e[17]:(z=E(`size`,{valueAsNumber:!0}),e[16]=E,e[17]=z);let B;e[18]!==R||e[19]!==z?(B=(0,h.jsx)(te,{"aria-invalid":R,id:`size`,max:16384,min:1,type:`number`,...z}),e[18]=R,e[19]=z,e[20]=B):B=e[20];let V;e[21]===k.size?V=e[22]:(V=(0,h.jsx)(u,{errors:[k.size]}),e[21]=k.size,e[22]=V);let H;e[23]!==B||e[24]!==V?(H=(0,h.jsxs)(f,{children:[L,B,V]}),e[23]=B,e[24]=V,e[25]=H):H=e[25];let U;e[26]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,h.jsx)(d,{children:(0,h.jsx)(`label`,{htmlFor:`availabilityZone`,children:`Availability Zone`})}),e[26]=U):U=e[26];let W;e[27]!==b||e[28]!==k.availabilityZone?(W=e=>{let{field:t}=e;return(0,h.jsxs)(c,{onValueChange:e=>{t.onChange(e)},value:t.value??``,children:[(0,h.jsx)(s,{"aria-invalid":!!k.availabilityZone,className:`w-full`,id:`availabilityZone`,children:(0,h.jsx)(ee,{})}),(0,h.jsx)(o,{children:b.map(_)})]})},e[27]=b,e[28]=k.availabilityZone,e[29]=W):W=e[29];let G;e[30]!==w||e[31]!==W?(G=(0,h.jsx)(oe,{control:w,name:`availabilityZone`,render:W}),e[30]=w,e[31]=W,e[32]=G):G=e[32];let K;e[33]===k.availabilityZone?K=e[34]:(K=(0,h.jsx)(u,{errors:[k.availabilityZone]}),e[33]=k.availabilityZone,e[34]=K);let q;e[35]!==G||e[36]!==K?(q=(0,h.jsxs)(f,{children:[U,G,K]}),e[35]=G,e[36]=K,e[37]=q):q=e[37];let J;e[38]===D?J=e[39]:(J=v(D),e[38]=D,e[39]=J);let Y;e[40]===J?Y=e[41]:(Y=(0,h.jsx)(l,{commands:J}),e[40]=J,e[41]=Y);let X;e[42]===t?X=e[43]:(X=async()=>{await t({to:`/ec2/describe-volumes`})},e[42]=t,e[43]=X);let Z;e[44]!==g.isPending||e[45]!==A||e[46]!==X?(Z=(0,h.jsx)(le,{isPending:g.isPending,isSubmitting:A,onCancel:X,pendingLabel:`Creating…`,submitLabel:`Create Volume`}),e[44]=g.isPending,e[45]=A,e[46]=X,e[47]=Z):Z=e[47];let Q;e[48]!==H||e[49]!==q||e[50]!==Y||e[51]!==Z||e[52]!==I?(Q=(0,h.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:I,children:[H,q,Y,Z]}),e[48]=H,e[49]=q,e[50]=Y,e[51]=Z,e[52]=I,e[53]=Q):Q=e[53];let $;return e[54]!==Q||e[55]!==F?($=(0,h.jsxs)(h.Fragment,{children:[N,P,F,Q]}),e[54]=Q,e[55]=F,e[56]=$):$=e[56],$}function _(e){return(0,h.jsx)(a,{value:e.ZoneName??``,children:e.ZoneName},e.ZoneName)}function v(e){let t=e(`size`),n=e(`availabilityZone`);return[{label:`Create Volume`,parts:[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 create-volume`},{type:`flag`,value:` \\
|
||||
--size`},{type:`value`,value:` ${t||1}`},{type:`flag`,value:` \\
|
||||
--availability-zone`},{type:`value`,value:` ${n||`<AvailabilityZone>`}`}]}]}export{g as component};
|
||||
-32
File diff suppressed because one or more lines are too long
+32
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime-DTT1fEHg.js";import{t as i}from"./useSuspenseQuery-C2bXkW_k.js";import{t as a}from"./link-cv-r823H.js";import{t as o}from"./useNavigate-BiiHYpLW.js";import{t as s}from"./button-Bae9vdts.js";import{c,m as l,p as u,u as d}from"./rds-DnVYe-Nj.js";import{d as f,m as p,p as m}from"./rds-hO6CGpr0.js";import{r as h}from"./rds-BKbEDMHo.js";import{t as g}from"./page-heading-M0NyqAmu.js";import{t as _}from"./error-banner-BcDqaPk7.js";import{t as v}from"./state-badge-BD9XGBez.js";import{t as y}from"./delete-db-instance-dialog-1KZXTOil.js";var b=r(),x=t(n(),1),S=e();function C(e){return[e.Engine,e.EngineVersion].filter(Boolean).join(` `)}function w(){let e=(0,b.c)(19),t=o(),{data:n}=i(h),r=m(),w=p(),E=f(),[D,O]=(0,x.useState)(null),k;e[0]===n.DBInstances?k=e[1]:(k=n.DBInstances??[],e[0]=n.DBInstances,e[1]=k);let A=k,j=r.error??w.error??E.error,M;e[2]===t?M=e[3]:(M=(0,S.jsx)(g,{actions:(0,S.jsx)(s,{onClick:async()=>{await t({to:`/rds/create-db-instance`})},children:`Create Database`}),title:`Databases`}),e[2]=t,e[3]=M);let N;e[4]===j?N=e[5]:(N=j&&(0,S.jsx)(_,{error:j,msg:`Failed to change the DB instance state.`}),e[4]=j,e[5]=N);let P;e[6]!==A||e[7]!==t||e[8]!==E||e[9]!==r||e[10]!==w?(P=A.length>0?(0,S.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,S.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,S.jsx)(`thead`,{children:(0,S.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Identifier`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Engine`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Class`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Status`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Endpoint`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Storage`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,S.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,S.jsx)(`tbody`,{children:A.map(e=>{let n=e.DBInstanceIdentifier;if(!n)return null;let i=e.DBInstanceStatus;return(0,S.jsxs)(`tr`,{className:`cursor-pointer border-b transition-colors last:border-0 hover:bg-accent`,onClick:async()=>{await t({to:`/rds/describe-db-instances/$id`,params:{id:n}})},children:[(0,S.jsx)(`td`,{className:`px-4 py-2 font-medium`,children:(0,S.jsx)(a,{className:`text-primary hover:underline`,onClick:T,params:{id:n},to:`/rds/describe-db-instances/$id`,children:n})}),(0,S.jsx)(`td`,{className:`px-4 py-2`,children:C(e)}),(0,S.jsx)(`td`,{className:`px-4 py-2`,children:e.DBInstanceClass}),(0,S.jsx)(`td`,{className:`px-4 py-2`,children:(0,S.jsx)(v,{state:i})}),(0,S.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.Endpoint?.Address??`—`}),(0,S.jsx)(`td`,{className:`px-4 py-2`,children:e.AllocatedStorage?`${e.AllocatedStorage} GiB`:`—`}),(0,S.jsxs)(`td`,{className:`space-x-2 px-4 py-2 text-right`,children:[(0,S.jsx)(s,{disabled:!u(i)||r.isPending,onClick:e=>{e.stopPropagation(),r.mutate(n)},size:`sm`,variant:`outline`,children:`Start`}),(0,S.jsx)(s,{disabled:!l(i)||w.isPending,onClick:e=>{e.stopPropagation(),w.mutate(n)},size:`sm`,variant:`outline`,children:`Stop`}),(0,S.jsx)(s,{disabled:!d(i)||E.isPending,onClick:e=>{e.stopPropagation(),E.mutate(n)},size:`sm`,variant:`outline`,children:`Reboot`}),(0,S.jsx)(s,{disabled:!c(i),onClick:t=>{t.stopPropagation(),O({identifier:n,deletionProtection:e.DeletionProtection??!1})},size:`sm`,variant:`destructive`,children:`Delete`})]})]},n)})})]})}):(0,S.jsx)(`p`,{className:`text-muted-foreground`,children:`No DB instances found.`}),e[6]=A,e[7]=t,e[8]=E,e[9]=r,e[10]=w,e[11]=P):P=e[11];let F;e[12]===D?F=e[13]:(F=D&&(0,S.jsx)(y,{dbInstanceIdentifier:D.identifier,deletionProtection:D.deletionProtection,onOpenChange:e=>{e||O(null)},open:!0}),e[12]=D,e[13]=F);let I;return e[14]!==M||e[15]!==N||e[16]!==P||e[17]!==F?(I=(0,S.jsxs)(S.Fragment,{children:[M,N,P,F]}),e[14]=M,e[15]=N,e[16]=P,e[17]=F,e[18]=I):I=e[18],I}function T(e){e.stopPropagation()}var E=w;export{E as component};
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime-DTT1fEHg.js";import{t as i}from"./useSuspenseQuery-C2bXkW_k.js";import{t as a}from"./link-cv-r823H.js";import{t as o}from"./useNavigate-BiiHYpLW.js";import{t as s}from"./button-Bae9vdts.js";import{c,m as l,p as u,u as d}from"./rds-DnVYe-Nj.js";import{d as f,m as p,p as m}from"./rds-hO6CGpr0.js";import{r as h}from"./rds-BKbEDMHo.js";import{t as g}from"./page-heading-M0NyqAmu.js";import{t as _}from"./error-banner-BcDqaPk7.js";import{t as v}from"./state-badge-BiFj5bbX.js";import{t as y}from"./delete-db-instance-dialog-1KZXTOil.js";var b=r(),x=t(n(),1),S=e();function C(e){return[e.Engine,e.EngineVersion].filter(Boolean).join(` `)}function w(){let e=(0,b.c)(19),t=o(),{data:n}=i(h),r=m(),w=p(),E=f(),[D,O]=(0,x.useState)(null),k;e[0]===n.DBInstances?k=e[1]:(k=n.DBInstances??[],e[0]=n.DBInstances,e[1]=k);let A=k,j=r.error??w.error??E.error,M;e[2]===t?M=e[3]:(M=(0,S.jsx)(g,{actions:(0,S.jsx)(s,{onClick:async()=>{await t({to:`/rds/create-db-instance`})},children:`Create Database`}),title:`Databases`}),e[2]=t,e[3]=M);let N;e[4]===j?N=e[5]:(N=j&&(0,S.jsx)(_,{error:j,msg:`Failed to change the DB instance state.`}),e[4]=j,e[5]=N);let P;e[6]!==A||e[7]!==t||e[8]!==E||e[9]!==r||e[10]!==w?(P=A.length>0?(0,S.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,S.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,S.jsx)(`thead`,{children:(0,S.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Identifier`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Engine`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Class`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Status`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Endpoint`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Storage`}),(0,S.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,S.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,S.jsx)(`tbody`,{children:A.map(e=>{let n=e.DBInstanceIdentifier;if(!n)return null;let i=e.DBInstanceStatus;return(0,S.jsxs)(`tr`,{className:`cursor-pointer border-b transition-colors last:border-0 hover:bg-accent`,onClick:async()=>{await t({to:`/rds/describe-db-instances/$id`,params:{id:n}})},children:[(0,S.jsx)(`td`,{className:`px-4 py-2 font-medium`,children:(0,S.jsx)(a,{className:`text-primary hover:underline`,onClick:T,params:{id:n},to:`/rds/describe-db-instances/$id`,children:n})}),(0,S.jsx)(`td`,{className:`px-4 py-2`,children:C(e)}),(0,S.jsx)(`td`,{className:`px-4 py-2`,children:e.DBInstanceClass}),(0,S.jsx)(`td`,{className:`px-4 py-2`,children:(0,S.jsx)(v,{state:i})}),(0,S.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.Endpoint?.Address??`—`}),(0,S.jsx)(`td`,{className:`px-4 py-2`,children:e.AllocatedStorage?`${e.AllocatedStorage} GiB`:`—`}),(0,S.jsxs)(`td`,{className:`space-x-2 px-4 py-2 text-right`,children:[(0,S.jsx)(s,{disabled:!u(i)||r.isPending,onClick:e=>{e.stopPropagation(),r.mutate(n)},size:`sm`,variant:`outline`,children:`Start`}),(0,S.jsx)(s,{disabled:!l(i)||w.isPending,onClick:e=>{e.stopPropagation(),w.mutate(n)},size:`sm`,variant:`outline`,children:`Stop`}),(0,S.jsx)(s,{disabled:!d(i)||E.isPending,onClick:e=>{e.stopPropagation(),E.mutate(n)},size:`sm`,variant:`outline`,children:`Reboot`}),(0,S.jsx)(s,{disabled:!c(i),onClick:t=>{t.stopPropagation(),O({identifier:n,deletionProtection:e.DeletionProtection??!1})},size:`sm`,variant:`destructive`,children:`Delete`})]})]},n)})})]})}):(0,S.jsx)(`p`,{className:`text-muted-foreground`,children:`No DB instances found.`}),e[6]=A,e[7]=t,e[8]=E,e[9]=r,e[10]=w,e[11]=P):P=e[11];let F;e[12]===D?F=e[13]:(F=D&&(0,S.jsx)(y,{dbInstanceIdentifier:D.identifier,deletionProtection:D.deletionProtection,onOpenChange:e=>{e||O(null)},open:!0}),e[12]=D,e[13]=F);let I;return e[14]!==M||e[15]!==N||e[16]!==P||e[17]!==F?(I=(0,S.jsxs)(S.Fragment,{children:[M,N,P,F]}),e[14]=M,e[15]=N,e[16]=P,e[17]=F,e[18]=I):I=e[18],I}function T(e){e.stopPropagation()}var E=w;export{E as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime-DTT1fEHg.js";import{t as i}from"./useSuspenseQuery-C2bXkW_k.js";import{t as a}from"./link-cv-r823H.js";import{t as o}from"./useNavigate-BiiHYpLW.js";import{E as s}from"./httpRequest-Bc1WZmsd.js";import{t as c}from"./button-Bae9vdts.js";import{a as l,d as u,l as d,o as f}from"./rds-DnVYe-Nj.js";import{a as p}from"./rds-BKbEDMHo.js";import{t as m}from"./page-heading-M0NyqAmu.js";import{t as h}from"./state-badge-BD9XGBez.js";import{t as g}from"./create-db-snapshot-dialog-DKy5_7Dd.js";import{t as _}from"./delete-db-snapshot-dialog-CD5YShBB.js";var v=r(),y=t(n(),1),b=e(),x=[{value:``,label:`All types`},{value:f,label:`Manual`},{value:l,label:`Automated`}];function S(){let e=(0,v.c)(26),t=o(),{data:n}=i(p),[r,l]=(0,y.useState)(``),[f,S]=(0,y.useState)(!1),[C,w]=(0,y.useState)(null),T;e[0]===n.DBSnapshots?T=e[1]:(T=n.DBSnapshots??[],e[0]=n.DBSnapshots,e[1]=T);let E,D,O;if(e[2]!==t||e[3]!==T||e[4]!==r){let n;e[8]===r?n=e[9]:(n=e=>r===``||e.SnapshotType===r,e[8]=r,e[9]=n);let i=T.filter(n);e[10]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,b.jsx)(m,{actions:(0,b.jsx)(c,{onClick:()=>{S(!0)},children:`Take Snapshot`}),title:`Snapshots`}),e[10]=E):E=e[10];let o;e[11]===r?o=e[12]:(o=x.map(e=>(0,b.jsx)(c,{onClick:()=>{l(e.value)},size:`sm`,variant:r===e.value?`default`:`outline`,children:e.label},e.value)),e[11]=r,e[12]=o),e[13]===o?D=e[14]:(D=(0,b.jsx)(`div`,{className:`mb-4 flex items-center gap-2`,children:o}),e[13]=o,e[14]=D),O=i.length>0?(0,b.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,b.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,b.jsx)(`thead`,{children:(0,b.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Identifier`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`DB instance`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Type`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Engine`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Storage`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Status`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Created`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,b.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,b.jsx)(`tbody`,{children:i.map(e=>{let n=e.DBSnapshotIdentifier;if(!n)return null;let r=e.DBInstanceIdentifier??``;return(0,b.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,b.jsx)(`td`,{className:`px-4 py-2 font-medium`,children:(0,b.jsx)(a,{className:`text-primary hover:underline`,params:{id:n},to:`/rds/describe-db-snapshots/$id`,children:n})}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:r===``?`—`:(0,b.jsx)(a,{className:`text-primary hover:underline`,params:{id:r},to:`/rds/describe-db-instances/$id`,children:r})}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:e.SnapshotType}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:[e.Engine,e.EngineVersion].filter(Boolean).join(` `)}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:e.AllocatedStorage?`${e.AllocatedStorage} GiB`:`—`}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:(0,b.jsx)(h,{state:e.Status})}),(0,b.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:s(e.SnapshotCreateTime)}),(0,b.jsxs)(`td`,{className:`space-x-2 px-4 py-2 text-right`,children:[(0,b.jsx)(c,{disabled:!u(e.Status),onClick:async()=>{await t({to:`/rds/restore-db-instance-from-db-snapshot/$id`,params:{id:n}})},size:`sm`,variant:`outline`,children:`Restore`}),(0,b.jsx)(c,{disabled:!d(e.Status,e.SnapshotType),onClick:()=>{w(n)},size:`sm`,variant:`destructive`,children:`Delete`})]})]},n)})})]})}):(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`No DB snapshots found.`}),e[2]=t,e[3]=T,e[4]=r,e[5]=E,e[6]=D,e[7]=O}else E=e[5],D=e[6],O=e[7];let k;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,b.jsx)(`p`,{className:`mt-4 text-xs text-muted-foreground`,children:`Automated backups live in the reserved rds: namespace and cannot be deleted by hand — the instance's backup retention is what removes them.`}),e[15]=k):k=e[15];let A;e[16]===f?A=e[17]:(A=f&&(0,b.jsx)(g,{onOpenChange:S,open:!0}),e[16]=f,e[17]=A);let j;e[18]===C?j=e[19]:(j=C&&(0,b.jsx)(_,{dbSnapshotIdentifier:C,onOpenChange:e=>{e||w(null)},open:!0}),e[18]=C,e[19]=j);let M;return e[20]!==E||e[21]!==D||e[22]!==O||e[23]!==A||e[24]!==j?(M=(0,b.jsxs)(b.Fragment,{children:[E,D,O,k,A,j]}),e[20]=E,e[21]=D,e[22]=O,e[23]=A,e[24]=j,e[25]=M):M=e[25],M}var C=S;export{C as component};
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime-DTT1fEHg.js";import{t as i}from"./useSuspenseQuery-C2bXkW_k.js";import{t as a}from"./link-cv-r823H.js";import{t as o}from"./useNavigate-BiiHYpLW.js";import{E as s}from"./httpRequest-Bc1WZmsd.js";import{t as c}from"./button-Bae9vdts.js";import{a as l,d as u,l as d,o as f}from"./rds-DnVYe-Nj.js";import{a as p}from"./rds-BKbEDMHo.js";import{t as m}from"./page-heading-M0NyqAmu.js";import{t as h}from"./state-badge-BiFj5bbX.js";import{t as g}from"./create-db-snapshot-dialog-DKy5_7Dd.js";import{t as _}from"./delete-db-snapshot-dialog-CD5YShBB.js";var v=r(),y=t(n(),1),b=e(),x=[{value:``,label:`All types`},{value:f,label:`Manual`},{value:l,label:`Automated`}];function S(){let e=(0,v.c)(26),t=o(),{data:n}=i(p),[r,l]=(0,y.useState)(``),[f,S]=(0,y.useState)(!1),[C,w]=(0,y.useState)(null),T;e[0]===n.DBSnapshots?T=e[1]:(T=n.DBSnapshots??[],e[0]=n.DBSnapshots,e[1]=T);let E,D,O;if(e[2]!==t||e[3]!==T||e[4]!==r){let n;e[8]===r?n=e[9]:(n=e=>r===``||e.SnapshotType===r,e[8]=r,e[9]=n);let i=T.filter(n);e[10]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,b.jsx)(m,{actions:(0,b.jsx)(c,{onClick:()=>{S(!0)},children:`Take Snapshot`}),title:`Snapshots`}),e[10]=E):E=e[10];let o;e[11]===r?o=e[12]:(o=x.map(e=>(0,b.jsx)(c,{onClick:()=>{l(e.value)},size:`sm`,variant:r===e.value?`default`:`outline`,children:e.label},e.value)),e[11]=r,e[12]=o),e[13]===o?D=e[14]:(D=(0,b.jsx)(`div`,{className:`mb-4 flex items-center gap-2`,children:o}),e[13]=o,e[14]=D),O=i.length>0?(0,b.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,b.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,b.jsx)(`thead`,{children:(0,b.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Identifier`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`DB instance`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Type`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Engine`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Storage`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Status`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Created`}),(0,b.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,b.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,b.jsx)(`tbody`,{children:i.map(e=>{let n=e.DBSnapshotIdentifier;if(!n)return null;let r=e.DBInstanceIdentifier??``;return(0,b.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,b.jsx)(`td`,{className:`px-4 py-2 font-medium`,children:(0,b.jsx)(a,{className:`text-primary hover:underline`,params:{id:n},to:`/rds/describe-db-snapshots/$id`,children:n})}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:r===``?`—`:(0,b.jsx)(a,{className:`text-primary hover:underline`,params:{id:r},to:`/rds/describe-db-instances/$id`,children:r})}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:e.SnapshotType}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:[e.Engine,e.EngineVersion].filter(Boolean).join(` `)}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:e.AllocatedStorage?`${e.AllocatedStorage} GiB`:`—`}),(0,b.jsx)(`td`,{className:`px-4 py-2`,children:(0,b.jsx)(h,{state:e.Status})}),(0,b.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:s(e.SnapshotCreateTime)}),(0,b.jsxs)(`td`,{className:`space-x-2 px-4 py-2 text-right`,children:[(0,b.jsx)(c,{disabled:!u(e.Status),onClick:async()=>{await t({to:`/rds/restore-db-instance-from-db-snapshot/$id`,params:{id:n}})},size:`sm`,variant:`outline`,children:`Restore`}),(0,b.jsx)(c,{disabled:!d(e.Status,e.SnapshotType),onClick:()=>{w(n)},size:`sm`,variant:`destructive`,children:`Delete`})]})]},n)})})]})}):(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`No DB snapshots found.`}),e[2]=t,e[3]=T,e[4]=r,e[5]=E,e[6]=D,e[7]=O}else E=e[5],D=e[6],O=e[7];let k;e[15]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,b.jsx)(`p`,{className:`mt-4 text-xs text-muted-foreground`,children:`Automated backups live in the reserved rds: namespace and cannot be deleted by hand — the instance's backup retention is what removes them.`}),e[15]=k):k=e[15];let A;e[16]===f?A=e[17]:(A=f&&(0,b.jsx)(g,{onOpenChange:S,open:!0}),e[16]=f,e[17]=A);let j;e[18]===C?j=e[19]:(j=C&&(0,b.jsx)(_,{dbSnapshotIdentifier:C,onOpenChange:e=>{e||w(null)},open:!0}),e[18]=C,e[19]=j);let M;return e[20]!==E||e[21]!==D||e[22]!==O||e[23]!==A||e[24]!==j?(M=(0,b.jsxs)(b.Fragment,{children:[E,D,O,k,A,j]}),e[20]=E,e[21]=D,e[22]=O,e[23]=A,e[24]=j,e[25]=M):M=e[25],M}var C=S;export{C as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime-DTT1fEHg.js";import{t as i}from"./useSuspenseQuery-C2bXkW_k.js";import{t as a}from"./link-cv-r823H.js";import{t as o}from"./useNavigate-BiiHYpLW.js";import{t as s}from"./button-Bae9vdts.js";import{h as c}from"./rds-BKbEDMHo.js";import{t as l}from"./page-heading-M0NyqAmu.js";import{t as u}from"./state-badge-BD9XGBez.js";import{t as d}from"./delete-db-subnet-group-dialog-CPCbs2hR.js";var f=r(),p=t(n(),1),m=e();function h(){let e=(0,f.c)(13),t=o(),{data:n}=i(c),[r,h]=(0,p.useState)(null),_;e[0]===n.DBSubnetGroups?_=e[1]:(_=n.DBSubnetGroups??[],e[0]=n.DBSubnetGroups,e[1]=_);let v=_,y;e[2]===t?y=e[3]:(y=(0,m.jsx)(l,{actions:(0,m.jsx)(s,{onClick:async()=>{await t({to:`/rds/create-db-subnet-group`})},children:`Create Subnet Group`}),title:`DB Subnet Groups`}),e[2]=t,e[3]=y);let b;e[4]!==v||e[5]!==t?(b=v.length>0?(0,m.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,m.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,m.jsx)(`thead`,{children:(0,m.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Name`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`VPC`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Subnets`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Status`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Description`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,m.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,m.jsx)(`tbody`,{children:v.map(e=>{let n=e.DBSubnetGroupName;return n?(0,m.jsxs)(`tr`,{className:`cursor-pointer border-b transition-colors last:border-0 hover:bg-accent`,onClick:async()=>{await t({to:`/rds/describe-db-subnet-groups/$name`,params:{name:n}})},children:[(0,m.jsx)(`td`,{className:`px-4 py-2 font-medium`,children:(0,m.jsx)(a,{className:`text-primary hover:underline`,onClick:g,params:{name:n},to:`/rds/describe-db-subnet-groups/$name`,children:n})}),(0,m.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.VpcId??`—`}),(0,m.jsx)(`td`,{className:`px-4 py-2`,children:e.Subnets?.length??0}),(0,m.jsx)(`td`,{className:`px-4 py-2`,children:(0,m.jsx)(u,{state:e.SubnetGroupStatus})}),(0,m.jsx)(`td`,{className:`px-4 py-2 text-muted-foreground`,children:e.DBSubnetGroupDescription}),(0,m.jsx)(`td`,{className:`px-4 py-2 text-right`,children:(0,m.jsx)(s,{onClick:e=>{e.stopPropagation(),h(n)},size:`sm`,variant:`destructive`,children:`Delete`})})]},n):null})})]})}):(0,m.jsx)(`p`,{className:`text-muted-foreground`,children:`No DB subnet groups found. Without one, a database is placed in the account's default VPC subnet.`}),e[4]=v,e[5]=t,e[6]=b):b=e[6];let x;e[7]===r?x=e[8]:(x=r&&(0,m.jsx)(d,{dbSubnetGroupName:r,onOpenChange:e=>{e||h(null)},open:!0}),e[7]=r,e[8]=x);let S;return e[9]!==y||e[10]!==b||e[11]!==x?(S=(0,m.jsxs)(m.Fragment,{children:[y,b,x]}),e[9]=y,e[10]=b,e[11]=x,e[12]=S):S=e[12],S}function g(e){e.stopPropagation()}var _=h;export{_ as component};
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime-DTT1fEHg.js";import{t as i}from"./useSuspenseQuery-C2bXkW_k.js";import{t as a}from"./link-cv-r823H.js";import{t as o}from"./useNavigate-BiiHYpLW.js";import{t as s}from"./button-Bae9vdts.js";import{h as c}from"./rds-BKbEDMHo.js";import{t as l}from"./page-heading-M0NyqAmu.js";import{t as u}from"./state-badge-BiFj5bbX.js";import{t as d}from"./delete-db-subnet-group-dialog-CPCbs2hR.js";var f=r(),p=t(n(),1),m=e();function h(){let e=(0,f.c)(13),t=o(),{data:n}=i(c),[r,h]=(0,p.useState)(null),_;e[0]===n.DBSubnetGroups?_=e[1]:(_=n.DBSubnetGroups??[],e[0]=n.DBSubnetGroups,e[1]=_);let v=_,y;e[2]===t?y=e[3]:(y=(0,m.jsx)(l,{actions:(0,m.jsx)(s,{onClick:async()=>{await t({to:`/rds/create-db-subnet-group`})},children:`Create Subnet Group`}),title:`DB Subnet Groups`}),e[2]=t,e[3]=y);let b;e[4]!==v||e[5]!==t?(b=v.length>0?(0,m.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,m.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,m.jsx)(`thead`,{children:(0,m.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Name`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`VPC`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Subnets`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Status`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Description`}),(0,m.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,m.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,m.jsx)(`tbody`,{children:v.map(e=>{let n=e.DBSubnetGroupName;return n?(0,m.jsxs)(`tr`,{className:`cursor-pointer border-b transition-colors last:border-0 hover:bg-accent`,onClick:async()=>{await t({to:`/rds/describe-db-subnet-groups/$name`,params:{name:n}})},children:[(0,m.jsx)(`td`,{className:`px-4 py-2 font-medium`,children:(0,m.jsx)(a,{className:`text-primary hover:underline`,onClick:g,params:{name:n},to:`/rds/describe-db-subnet-groups/$name`,children:n})}),(0,m.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.VpcId??`—`}),(0,m.jsx)(`td`,{className:`px-4 py-2`,children:e.Subnets?.length??0}),(0,m.jsx)(`td`,{className:`px-4 py-2`,children:(0,m.jsx)(u,{state:e.SubnetGroupStatus})}),(0,m.jsx)(`td`,{className:`px-4 py-2 text-muted-foreground`,children:e.DBSubnetGroupDescription}),(0,m.jsx)(`td`,{className:`px-4 py-2 text-right`,children:(0,m.jsx)(s,{onClick:e=>{e.stopPropagation(),h(n)},size:`sm`,variant:`destructive`,children:`Delete`})})]},n):null})})]})}):(0,m.jsx)(`p`,{className:`text-muted-foreground`,children:`No DB subnet groups found. Without one, a database is placed in the account's default VPC subnet.`}),e[4]=v,e[5]=t,e[6]=b):b=e[6];let x;e[7]===r?x=e[8]:(x=r&&(0,m.jsx)(d,{dbSubnetGroupName:r,onOpenChange:e=>{e||h(null)},open:!0}),e[7]=r,e[8]=x);let S;return e[9]!==y||e[10]!==b||e[11]!==x?(S=(0,m.jsxs)(m.Fragment,{children:[y,b,x]}),e[9]=y,e[10]=b,e[11]=x,e[12]=S):S=e[12],S}function g(e){e.stopPropagation()}var _=h;export{_ as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{o as r}from"./ec2-DJL24ekw.js";import{t as i}from"./page-heading-M0NyqAmu.js";import{t as a}from"./state-badge-BD9XGBez.js";import{t as o}from"./list-card-DXP5Yi9a.js";import{i as s}from"./system-managed-Dk7ySh_E.js";var c=t(),l=e();function u(){let e=(0,c.c)(5),{data:t}=n(r),a;e[0]===t.Images?a=e[1]:(a=t.Images??[],e[0]=t.Images,e[1]=a);let o;if(e[2]!==a){let t=a.filter(f),n;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,l.jsx)(i,{title:`Images`}),e[4]=n):n=e[4],o=(0,l.jsxs)(l.Fragment,{children:[n,t.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:t.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No images found.`})]}),e[2]=a,e[3]=o}else o=e[3];return o}function d(e){return e.ImageId?(0,l.jsx)(o,{badge:(0,l.jsx)(a,{state:e.State}),params:{id:e.ImageId},subtitle:e.ImageId??``,title:e.Name??e.ImageId??``,to:`/ec2/describe-images/$id`},e.ImageId):null}function f(e){return!s(e)}export{u as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{o as r}from"./ec2-DJL24ekw.js";import{t as i}from"./page-heading-M0NyqAmu.js";import{t as a}from"./state-badge-BiFj5bbX.js";import{t as o}from"./list-card-DXP5Yi9a.js";import{i as s}from"./system-managed-Dk7ySh_E.js";var c=t(),l=e();function u(){let e=(0,c.c)(5),{data:t}=n(r),a;e[0]===t.Images?a=e[1]:(a=t.Images??[],e[0]=t.Images,e[1]=a);let o;if(e[2]!==a){let t=a.filter(f),n;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,l.jsx)(i,{title:`Images`}),e[4]=n):n=e[4],o=(0,l.jsxs)(l.Fragment,{children:[n,t.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:t.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No images found.`})]}),e[2]=a,e[3]=o}else o=e[3];return o}function d(e){return e.ImageId?(0,l.jsx)(o,{badge:(0,l.jsx)(a,{state:e.State}),params:{id:e.ImageId},subtitle:e.ImageId??``,title:e.Name??e.ImageId??``,to:`/ec2/describe-images/$id`},e.ImageId):null}function f(e){return!s(e)}export{u as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./button-Bae9vdts.js";import{l as a}from"./ec2-DJL24ekw.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BD9XGBez.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e(),d={running:0,pending:1,stopping:2,"shutting-down":3,stopped:4,terminated:5};function f(){let e=(0,l.c)(3),{data:t}=n(a),s;if(e[0]!==t.Reservations){let n=(t.Reservations?.flatMap(h)??[]).toSorted(m),a;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/run-instances`,children:(0,u.jsx)(i,{children:`Run Instances`})}),title:`Instances`}),e[2]=a):a=e[2],s=(0,u.jsxs)(u.Fragment,{children:[a,n.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:n.map(p)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances found.`})]}),e[0]=t.Reservations,e[1]=s}else s=e[1];return s}function p(e){return e.InstanceId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State?.Name}),params:{id:e.InstanceId},subtitle:`${e.InstanceType}`,title:e.InstanceId,to:`/ec2/describe-instances/$id`},e.InstanceId):null}function m(e,t){let n=d[e.State?.Name??``]??6,r=d[t.State?.Name??``]??6;return n===r?(e.InstanceId??``).localeCompare(t.InstanceId??``):n-r}function h(e){return e.Instances??[]}export{f as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./button-Bae9vdts.js";import{l as a}from"./ec2-DJL24ekw.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BiFj5bbX.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e(),d={running:0,pending:1,stopping:2,"shutting-down":3,stopped:4,terminated:5};function f(){let e=(0,l.c)(3),{data:t}=n(a),s;if(e[0]!==t.Reservations){let n=(t.Reservations?.flatMap(h)??[]).toSorted(m),a;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/run-instances`,children:(0,u.jsx)(i,{children:`Run Instances`})}),title:`Instances`}),e[2]=a):a=e[2],s=(0,u.jsxs)(u.Fragment,{children:[a,n.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:n.map(p)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances found.`})]}),e[0]=t.Reservations,e[1]=s}else s=e[1];return s}function p(e){return e.InstanceId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State?.Name}),params:{id:e.InstanceId},subtitle:e.InstanceType,title:e.InstanceId,to:`/ec2/describe-instances/$id`},e.InstanceId):null}function m(e,t){let n=d[e.State?.Name??``]??6,r=d[t.State?.Name??``]??6;return n===r?(e.InstanceId??``).localeCompare(t.InstanceId??``):n-r}function h(e){return e.Instances??[]}export{f as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./useNavigate-BiiHYpLW.js";import{E as a}from"./httpRequest-Bc1WZmsd.js";import{t as o}from"./button-Bae9vdts.js";import{a as s}from"./elbv2-19pV3l7Z.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{t as l}from"./state-badge-BD9XGBez.js";var u=t(),d=e();function f(){let e=(0,u.c)(10),t=i(),{data:f}=n(s),m;e[0]===f.LoadBalancers?m=e[1]:(m=f.LoadBalancers??[],e[0]=f.LoadBalancers,e[1]=m);let h=m,g;e[2]===t?g=e[3]:(g=(0,d.jsx)(c,{actions:(0,d.jsx)(o,{onClick:async()=>{await t({to:`/ec2/create-load-balancer`})},children:`Create Load Balancer`}),title:`Load Balancers`}),e[2]=t,e[3]=g);let _;e[4]!==h||e[5]!==t?(_=h.length>0?(0,d.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,d.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,d.jsx)(`thead`,{children:(0,d.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Name`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`DNS Name`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`State`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Type`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Scheme`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`VPC`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Created`})]})}),(0,d.jsx)(`tbody`,{children:h.map(e=>{if(!e.LoadBalancerArn)return null;let n=e.LoadBalancerArn;return(0,d.jsxs)(`tr`,{className:`cursor-pointer border-b transition-colors last:border-0 hover:bg-accent`,onClick:async()=>{await t({to:`/ec2/describe-load-balancers/$id`,params:{id:encodeURIComponent(n)}})},children:[(0,d.jsx)(`td`,{className:`px-4 py-2 font-medium`,children:(0,d.jsx)(r,{className:`text-primary hover:underline`,onClick:p,params:{id:encodeURIComponent(n)},to:`/ec2/describe-load-balancers/$id`,children:e.LoadBalancerName??n})}),(0,d.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.DNSName??``}),(0,d.jsx)(`td`,{className:`px-4 py-2`,children:(0,d.jsx)(l,{state:e.State?.Code})}),(0,d.jsx)(`td`,{className:`px-4 py-2`,children:e.Type??``}),(0,d.jsx)(`td`,{className:`px-4 py-2`,children:e.Scheme??``}),(0,d.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.VpcId??``}),(0,d.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:a(e.CreatedTime)})]},n)})})]})}):(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`No load balancers found.`}),e[4]=h,e[5]=t,e[6]=_):_=e[6];let v;return e[7]!==g||e[8]!==_?(v=(0,d.jsxs)(d.Fragment,{children:[g,_]}),e[7]=g,e[8]=_,e[9]=v):v=e[9],v}function p(e){e.stopPropagation()}var m=f;export{m as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./useNavigate-BiiHYpLW.js";import{E as a}from"./httpRequest-Bc1WZmsd.js";import{t as o}from"./button-Bae9vdts.js";import{a as s}from"./elbv2-19pV3l7Z.js";import{t as c}from"./page-heading-M0NyqAmu.js";import{t as l}from"./state-badge-BiFj5bbX.js";var u=t(),d=e();function f(){let e=(0,u.c)(10),t=i(),{data:f}=n(s),m;e[0]===f.LoadBalancers?m=e[1]:(m=f.LoadBalancers??[],e[0]=f.LoadBalancers,e[1]=m);let h=m,g;e[2]===t?g=e[3]:(g=(0,d.jsx)(c,{actions:(0,d.jsx)(o,{onClick:async()=>{await t({to:`/ec2/create-load-balancer`})},children:`Create Load Balancer`}),title:`Load Balancers`}),e[2]=t,e[3]=g);let _;e[4]!==h||e[5]!==t?(_=h.length>0?(0,d.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,d.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,d.jsx)(`thead`,{children:(0,d.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Name`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`DNS Name`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`State`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Type`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Scheme`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`VPC`}),(0,d.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Created`})]})}),(0,d.jsx)(`tbody`,{children:h.map(e=>{if(!e.LoadBalancerArn)return null;let n=e.LoadBalancerArn;return(0,d.jsxs)(`tr`,{className:`cursor-pointer border-b transition-colors last:border-0 hover:bg-accent`,onClick:async()=>{await t({to:`/ec2/describe-load-balancers/$id`,params:{id:encodeURIComponent(n)}})},children:[(0,d.jsx)(`td`,{className:`px-4 py-2 font-medium`,children:(0,d.jsx)(r,{className:`text-primary hover:underline`,onClick:p,params:{id:encodeURIComponent(n)},to:`/ec2/describe-load-balancers/$id`,children:e.LoadBalancerName??n})}),(0,d.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.DNSName??``}),(0,d.jsx)(`td`,{className:`px-4 py-2`,children:(0,d.jsx)(l,{state:e.State?.Code})}),(0,d.jsx)(`td`,{className:`px-4 py-2`,children:e.Type??``}),(0,d.jsx)(`td`,{className:`px-4 py-2`,children:e.Scheme??``}),(0,d.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.VpcId??``}),(0,d.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:a(e.CreatedTime)})]},n)})})]})}):(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`No load balancers found.`}),e[4]=h,e[5]=t,e[6]=_):_=e[6];let v;return e[7]!==g||e[8]!==_?(v=(0,d.jsxs)(d.Fragment,{children:[g,_]}),e[7]=g,e[8]=_,e[9]=v):v=e[9],v}function p(e){e.stopPropagation()}var m=f;export{m as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as a}from"./button-Bae9vdts.js";import{_ as o}from"./ec2-DJL24ekw.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{t as c}from"./state-badge-BD9XGBez.js";import{t as l}from"./list-card-DXP5Yi9a.js";var u=t(),d=e();function f(){let e=(0,u.c)(5),{data:t}=n(o),i;e[0]===t.NatGateways?i=e[1]:(i=t.NatGateways??[],e[0]=t.NatGateways,e[1]=i);let c=i,l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,d.jsx)(s,{actions:(0,d.jsx)(r,{to:`/ec2/create-nat-gateway`,children:(0,d.jsx)(a,{children:`Create NAT Gateway`})}),title:`NAT Gateways`}),e[2]=l):l=e[2];let f;return e[3]===c?f=e[4]:(f=(0,d.jsxs)(d.Fragment,{children:[l,c.length>0?(0,d.jsx)(`div`,{className:`space-y-4`,children:c.map(p)}):(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`No NAT Gateways found.`})]}),e[3]=c,e[4]=f),f}function p(e){if(!e.NatGatewayId)return null;let t=i(e.Tags);return(0,d.jsx)(l,{badge:(0,d.jsx)(c,{state:e.State}),params:{id:e.NatGatewayId},subtitle:e.SubnetId??``,title:t?`${e.NatGatewayId} (${t})`:e.NatGatewayId,to:`/ec2/describe-nat-gateways/$id`},e.NatGatewayId)}export{f as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as a}from"./button-Bae9vdts.js";import{_ as o}from"./ec2-DJL24ekw.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{t as c}from"./state-badge-BiFj5bbX.js";import{t as l}from"./list-card-DXP5Yi9a.js";var u=t(),d=e();function f(){let e=(0,u.c)(5),{data:t}=n(o),i;e[0]===t.NatGateways?i=e[1]:(i=t.NatGateways??[],e[0]=t.NatGateways,e[1]=i);let c=i,l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,d.jsx)(s,{actions:(0,d.jsx)(r,{to:`/ec2/create-nat-gateway`,children:(0,d.jsx)(a,{children:`Create NAT Gateway`})}),title:`NAT Gateways`}),e[2]=l):l=e[2];let f;return e[3]===c?f=e[4]:(f=(0,d.jsxs)(d.Fragment,{children:[l,c.length>0?(0,d.jsx)(`div`,{className:`space-y-4`,children:c.map(p)}):(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`No NAT Gateways found.`})]}),e[3]=c,e[4]=f),f}function p(e){if(!e.NatGatewayId)return null;let t=i(e.Tags);return(0,d.jsx)(l,{badge:(0,d.jsx)(c,{state:e.State}),params:{id:e.NatGatewayId},subtitle:e.SubnetId??``,title:t?`${e.NatGatewayId} (${t})`:e.NatGatewayId,to:`/ec2/describe-nat-gateways/$id`},e.NatGatewayId)}export{f as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./button-Bae9vdts.js";import{y as a}from"./ec2-DJL24ekw.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BD9XGBez.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e();function d(){let e=(0,l.c)(5),{data:t}=n(a),s;e[0]===t.PlacementGroups?s=e[1]:(s=t.PlacementGroups??[],e[0]=t.PlacementGroups,e[1]=s);let c=s,d;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-placement-group`,children:(0,u.jsx)(i,{children:`Create Placement Group`})}),title:`Placement Groups`}),e[2]=d):d=e[2];let p;return e[3]===c?p=e[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No placement groups found.`})]}),e[3]=c,e[4]=p),p}function f(e){return e.GroupId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.GroupId},subtitle:`${e.Strategy} \u2022 ${e.GroupId}`,title:e.GroupName??e.GroupId,to:`/ec2/describe-placement-groups/$id`},e.GroupId):null}export{d as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./button-Bae9vdts.js";import{y as a}from"./ec2-DJL24ekw.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BiFj5bbX.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e();function d(){let e=(0,l.c)(5),{data:t}=n(a),s;e[0]===t.PlacementGroups?s=e[1]:(s=t.PlacementGroups??[],e[0]=t.PlacementGroups,e[1]=s);let c=s,d;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-placement-group`,children:(0,u.jsx)(i,{children:`Create Placement Group`})}),title:`Placement Groups`}),e[2]=d):d=e[2];let p;return e[3]===c?p=e[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No placement groups found.`})]}),e[3]=c,e[4]=p),p}function f(e){return e.GroupId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.GroupId},subtitle:`${e.Strategy} \u2022 ${e.GroupId}`,title:e.GroupName??e.GroupId,to:`/ec2/describe-placement-groups/$id`},e.GroupId):null}export{d as component};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./button-Bae9vdts.js";import{w as a}from"./ec2-DJL24ekw.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./list-card-DXP5Yi9a.js";var c=t(),l=e();function u(){let e=(0,c.c)(5),{data:t}=n(a),s;e[0]===t.SecurityGroups?s=e[1]:(s=t.SecurityGroups??[],e[0]=t.SecurityGroups,e[1]=s);let u=s,f;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,l.jsx)(o,{actions:(0,l.jsx)(r,{to:`/ec2/create-security-group`,children:(0,l.jsx)(i,{children:`Create Security Group`})}),title:`Security Groups`}),e[2]=f):f=e[2];let p;return e[3]===u?p=e[4]:(p=(0,l.jsxs)(l.Fragment,{children:[f,u.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:u.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No security groups found.`})]}),e[3]=u,e[4]=p),p}function d(e){return e.GroupId?(0,l.jsx)(s,{params:{id:e.GroupId},subtitle:e.VpcId??``,title:e.GroupName?`${e.GroupId} (${e.GroupName})`:e.GroupId,to:`/ec2/describe-security-groups/$id`},e.GroupId):null}export{u as component};
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{M as i}from"./httpRequest-Bc1WZmsd.js";import{t as a}from"./button-Bae9vdts.js";import{w as o}from"./ec2-DJL24ekw.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e();function d(){let e=(0,l.c)(5),{data:t}=n(o),i;e[0]===t.SecurityGroups?i=e[1]:(i=t.SecurityGroups??[],e[0]=t.SecurityGroups,e[1]=i);let c=i,d;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(s,{actions:(0,u.jsx)(r,{to:`/ec2/create-security-group`,children:(0,u.jsx)(a,{children:`Create Security Group`})}),title:`Security Groups`}),e[2]=d):d=e[2];let p;return e[3]===c?p=e[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No security groups found.`})]}),e[3]=c,e[4]=p),p}function f(e){return e.GroupId?(0,u.jsx)(c,{params:{id:e.GroupId},subtitle:e.VpcId??``,title:i(e),to:`/ec2/describe-security-groups/$id`},e.GroupId):null}export{d as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./button-Bae9vdts.js";import{E as a}from"./ec2-DJL24ekw.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BD9XGBez.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e();function d(){let e=(0,l.c)(5),{data:t}=n(a),s;e[0]===t.Snapshots?s=e[1]:(s=t.Snapshots??[],e[0]=t.Snapshots,e[1]=s);let c=s,d;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-snapshot`,children:(0,u.jsx)(i,{children:`Create Snapshot`})}),title:`Snapshots`}),e[2]=d):d=e[2];let p;return e[3]===c?p=e[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No snapshots found.`})]}),e[3]=c,e[4]=p),p}function f(e){return e.SnapshotId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.SnapshotId},subtitle:`${e.VolumeSize} GiB \u2022 ${e.VolumeId}`,title:e.SnapshotId,to:`/ec2/describe-snapshots/$id`},e.SnapshotId):null}export{d as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./button-Bae9vdts.js";import{E as a}from"./ec2-DJL24ekw.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BiFj5bbX.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e();function d(){let e=(0,l.c)(5),{data:t}=n(a),s;e[0]===t.Snapshots?s=e[1]:(s=t.Snapshots??[],e[0]=t.Snapshots,e[1]=s);let c=s,d;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-snapshot`,children:(0,u.jsx)(i,{children:`Create Snapshot`})}),title:`Snapshots`}),e[2]=d):d=e[2];let p;return e[3]===c?p=e[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No snapshots found.`})]}),e[3]=c,e[4]=p),p}function f(e){return e.SnapshotId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.SnapshotId},subtitle:`${e.VolumeSize} GiB \u2022 ${e.VolumeId}`,title:e.SnapshotId,to:`/ec2/describe-snapshots/$id`},e.SnapshotId):null}export{d as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as a}from"./button-Bae9vdts.js";import{O as o}from"./ec2-DJL24ekw.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{t as c}from"./state-badge-BD9XGBez.js";import{t as l}from"./list-card-DXP5Yi9a.js";var u=t(),d=e();function f(){let e=(0,u.c)(5),{data:t}=n(o),i;e[0]===t.Subnets?i=e[1]:(i=t.Subnets??[],e[0]=t.Subnets,e[1]=i);let c=i,l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,d.jsx)(s,{actions:(0,d.jsx)(r,{to:`/ec2/create-subnet`,children:(0,d.jsx)(a,{children:`Create Subnet`})}),title:`Subnets`}),e[2]=l):l=e[2];let f;return e[3]===c?f=e[4]:(f=(0,d.jsxs)(d.Fragment,{children:[l,c.length>0?(0,d.jsx)(`div`,{className:`space-y-4`,children:c.map(p)}):(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`No subnets found.`})]}),e[3]=c,e[4]=f),f}function p(e){if(!e.SubnetId)return null;let t=i(e.Tags);return(0,d.jsx)(l,{badge:(0,d.jsx)(c,{state:e.State}),params:{id:e.SubnetId},subtitle:`${e.CidrBlock??``} \u2022 ${e.AvailabilityZone??``}`,title:t?`${e.SubnetId} (${t})`:e.SubnetId,to:`/ec2/describe-subnets/$id`},e.SubnetId)}export{f as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as a}from"./button-Bae9vdts.js";import{O as o}from"./ec2-DJL24ekw.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{t as c}from"./state-badge-BiFj5bbX.js";import{t as l}from"./list-card-DXP5Yi9a.js";var u=t(),d=e();function f(){let e=(0,u.c)(5),{data:t}=n(o),i;e[0]===t.Subnets?i=e[1]:(i=t.Subnets??[],e[0]=t.Subnets,e[1]=i);let c=i,l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,d.jsx)(s,{actions:(0,d.jsx)(r,{to:`/ec2/create-subnet`,children:(0,d.jsx)(a,{children:`Create Subnet`})}),title:`Subnets`}),e[2]=l):l=e[2];let f;return e[3]===c?f=e[4]:(f=(0,d.jsxs)(d.Fragment,{children:[l,c.length>0?(0,d.jsx)(`div`,{className:`space-y-4`,children:c.map(p)}):(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`No subnets found.`})]}),e[3]=c,e[4]=f),f}function p(e){if(!e.SubnetId)return null;let t=i(e.Tags);return(0,d.jsx)(l,{badge:(0,d.jsx)(c,{state:e.State}),params:{id:e.SubnetId},subtitle:`${e.CidrBlock??``} \u2022 ${e.AvailabilityZone??``}`,title:t?`${e.SubnetId} (${t})`:e.SubnetId,to:`/ec2/describe-subnets/$id`},e.SubnetId)}export{f as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./button-Bae9vdts.js";import{A as a}from"./ec2-DJL24ekw.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BD9XGBez.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e();function d(){let e=(0,l.c)(5),{data:t}=n(a),s;e[0]===t.Volumes?s=e[1]:(s=t.Volumes??[],e[0]=t.Volumes,e[1]=s);let c=s,d;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-volume`,children:(0,u.jsx)(i,{children:`Create Volume`})}),title:`Volumes`}),e[2]=d):d=e[2];let p;return e[3]===c?p=e[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No volumes found.`})]}),e[3]=c,e[4]=p),p}function f(e){return e.VolumeId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.VolumeId},subtitle:`${e.Size} GiB`,title:e.VolumeId,to:`/ec2/describe-volumes/$id`},e.VolumeId):null}export{d as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{t as i}from"./button-Bae9vdts.js";import{A as a}from"./ec2-DJL24ekw.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BiFj5bbX.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e();function d(){let e=(0,l.c)(5),{data:t}=n(a),s;e[0]===t.Volumes?s=e[1]:(s=t.Volumes??[],e[0]=t.Volumes,e[1]=s);let c=s,d;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-volume`,children:(0,u.jsx)(i,{children:`Create Volume`})}),title:`Volumes`}),e[2]=d):d=e[2];let p;return e[3]===c?p=e[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No volumes found.`})]}),e[3]=c,e[4]=p),p}function f(e){return e.VolumeId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.VolumeId},subtitle:`${e.Size} GiB`,title:e.VolumeId,to:`/ec2/describe-volumes/$id`},e.VolumeId):null}export{d as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as a}from"./button-Bae9vdts.js";import{M as o}from"./ec2-DJL24ekw.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{t as c}from"./state-badge-BD9XGBez.js";import{t as l}from"./list-card-DXP5Yi9a.js";var u=t(),d=e();function f(){let e=(0,u.c)(5),{data:t}=n(o),i;e[0]===t.Vpcs?i=e[1]:(i=t.Vpcs??[],e[0]=t.Vpcs,e[1]=i);let c=i,l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,d.jsx)(s,{actions:(0,d.jsx)(r,{to:`/ec2/create-vpc`,children:(0,d.jsx)(a,{children:`Create VPC`})}),title:`VPCs`}),e[2]=l):l=e[2];let f;return e[3]===c?f=e[4]:(f=(0,d.jsxs)(d.Fragment,{children:[l,c.length>0?(0,d.jsx)(`div`,{className:`space-y-4`,children:c.map(p)}):(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`No VPCs found.`})]}),e[3]=c,e[4]=f),f}function p(e){if(!e.VpcId)return null;let t=i(e.Tags);return(0,d.jsx)(l,{badge:(0,d.jsx)(c,{state:e.State}),params:{id:e.VpcId},subtitle:e.CidrBlock??``,title:t?`${e.VpcId} (${t})`:e.VpcId,to:`/ec2/describe-vpcs/$id`},e.VpcId)}export{f as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{k as i}from"./httpRequest-Bc1WZmsd.js";import{t as a}from"./button-Bae9vdts.js";import{M as o}from"./ec2-DJL24ekw.js";import{t as s}from"./page-heading-M0NyqAmu.js";import{t as c}from"./state-badge-BiFj5bbX.js";import{t as l}from"./list-card-DXP5Yi9a.js";var u=t(),d=e();function f(){let e=(0,u.c)(5),{data:t}=n(o),i;e[0]===t.Vpcs?i=e[1]:(i=t.Vpcs??[],e[0]=t.Vpcs,e[1]=i);let c=i,l;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,d.jsx)(s,{actions:(0,d.jsx)(r,{to:`/ec2/create-vpc`,children:(0,d.jsx)(a,{children:`Create VPC`})}),title:`VPCs`}),e[2]=l):l=e[2];let f;return e[3]===c?f=e[4]:(f=(0,d.jsxs)(d.Fragment,{children:[l,c.length>0?(0,d.jsx)(`div`,{className:`space-y-4`,children:c.map(p)}):(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`No VPCs found.`})]}),e[3]=c,e[4]=f),f}function p(e){if(!e.VpcId)return null;let t=i(e.Tags);return(0,d.jsx)(l,{badge:(0,d.jsx)(c,{state:e.State}),params:{id:e.VpcId},subtitle:e.CidrBlock??``,title:t?`${e.VpcId} (${t})`:e.VpcId,to:`/ec2/describe-vpcs/$id`},e.VpcId)}export{f as component};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{_ as e,b as t,f as n,p as r,v as i,y as a}from"./httpRequest-Bc1WZmsd.js";var o=/^(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])$/,s=t().min(1,`Name is required`).max(32,`Name must be 32 characters or less`).regex(o,`Name may contain only letters, digits, and hyphens; must start and end with alphanumeric`).refine(e=>!e.startsWith(`internal-`),`Name cannot start with 'internal-'`),c=t().min(1,`Name is required`).max(32,`Name must be 32 characters or less`).regex(o,`Name may contain only letters, digits, and hyphens; must start and end with alphanumeric`),l=e().int(`Port must be a whole number`).min(1,`Port must be at least 1`).max(65535,`Port must be at most 65535`),u=i({key:t().min(1,`Tag key is required`).max(128),value:t().max(256)}),d=i({protocol:n([`HTTP`,`TCP`]),path:t().min(1,`Path is required`).max(1024),port:t().min(1),intervalSeconds:e().int().min(5).max(300),timeoutSeconds:e().int().min(2).max(120),healthyThresholdCount:e().int().min(2).max(10),unhealthyThresholdCount:e().int().min(2).max(10),matcher:t().regex(/^\d{3}(?:[-,]\d{3})*$/,`Matcher must be HTTP codes like 200 or 200-299 or 200,201`)}),f=i({name:c,protocol:n([`HTTP`,`HTTPS`,`TCP`,`UDP`,`TLS`,`TCP_UDP`]),port:l,vpcId:t().min(1,`VPC is required`),healthCheck:d,tags:r(u)}),p=`ELBSecurityPolicy-2016-08`,m=[`application`,`network`],h=[`HTTP`,`HTTPS`],g=[`TCP`,`UDP`,`TLS`,`TCP_UDP`],_=[...h,...g];function v(e){return e===`network`?g:h}function y(e){return e===`network`?`TCP`:`HTTP`}function b(e){return e===`HTTPS`||e===`TLS`}var x=i({protocol:n(_),port:l,defaultTargetGroupArn:t().min(1,`Target group is required`),certificateArn:t().optional(),sslPolicy:t().optional()}).superRefine((e,t)=>{b(e.protocol)&&!e.certificateArn&&t.addIssue({code:`custom`,path:[`certificateArn`],message:`A certificate is required for HTTPS and TLS`})}),S=/^[!-~]+$/,C=i({field:n([`host-header`,`path-pattern`,`http-header`,`http-request-method`,`source-ip`,`query-string`]),httpHeaderName:t().max(40).optional(),rawValues:t().min(1,`At least one value is required`).max(640,`Too many values`)}).superRefine((e,t)=>{e.field===`http-header`&&!e.httpHeaderName&&t.addIssue({code:`custom`,path:[`httpHeaderName`],message:`Header name is required`});let n=e.rawValues.split(/[\n,]/).map(e=>e.trim()).filter(e=>e.length>0);if(n.length===0||n.length>5){t.addIssue({code:`custom`,path:[`rawValues`],message:`Enter 1 to 5 values, comma or newline separated`});return}for(let e of n)if(!S.test(e)){t.addIssue({code:`custom`,path:[`rawValues`],message:`Value "${e}" contains whitespace or non-ASCII characters`});return}}),w=i({priority:e().int(`Priority must be a whole number`).min(1,`Priority must be at least 1`).max(5e4,`Priority must be at most 50000`),conditions:r(C).min(1,`At least one condition is required`).max(5,`Up to 5 conditions per rule`),forwardTargetGroupArn:t().min(1,`Target group is required`)}),T=i({name:s,type:n(m),scheme:n([`internet-facing`,`internal`]),vpcId:t().min(1,`VPC is required`),subnetIds:r(t()).min(1,`At least 1 subnet is required`),securityGroupIds:r(t()),tags:r(u),listener:i({protocol:n(_),port:l,targetGroupMode:n([`new`,`existing`]),existingTargetGroupArn:t().optional(),certificateArn:t().optional(),sslPolicy:t().optional()}).superRefine((e,t)=>{e.targetGroupMode===`existing`&&!e.existingTargetGroupArn&&t.addIssue({code:`custom`,path:[`existingTargetGroupArn`],message:`Target group is required`}),b(e.protocol)&&!e.certificateArn&&t.addIssue({code:`custom`,path:[`certificateArn`],message:`A certificate is required for HTTPS/TLS`})})});i({targets:r(i({instanceId:t().min(1,`Instance is required`),port:l.optional()})).min(1,`At least one target is required`)}),a(t(),t());export{f as a,v as c,w as i,x as n,y as o,T as r,b as s,p as t};
|
||||
import{_ as e,b as t,f as n,p as r,v as i,y as a}from"./httpRequest-Bc1WZmsd.js";var o=/^(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])$/,s=t().min(1,`Name is required`).max(32,`Name must be 32 characters or less`).regex(o,`Name may contain only letters, digits, and hyphens; must start and end with alphanumeric`).refine(e=>!e.startsWith(`internal-`),`Name cannot start with 'internal-'`),c=t().min(1,`Name is required`).max(32,`Name must be 32 characters or less`).regex(o,`Name may contain only letters, digits, and hyphens; must start and end with alphanumeric`),l=e().int(`Port must be a whole number`).min(1,`Port must be at least 1`).max(65535,`Port must be at most 65535`),u=i({key:t().min(1,`Tag key is required`).max(128),value:t().max(256)}),d=i({protocol:n([`HTTP`,`TCP`]),path:t().min(1,`Path is required`).max(1024),port:t().min(1),intervalSeconds:e().int().min(5).max(300),timeoutSeconds:e().int().min(2).max(120),healthyThresholdCount:e().int().min(2).max(10),unhealthyThresholdCount:e().int().min(2).max(10),matcher:t().regex(/^\d{3}(?:[-,]\d{3})*$/,`Matcher must be HTTP codes like 200 or 200-299 or 200,201`)}),f=i({name:c,protocol:n([`HTTP`,`HTTPS`,`TCP`,`UDP`,`TLS`,`TCP_UDP`]),port:l,vpcId:t().min(1,`VPC is required`),healthCheck:d,tags:r(u)}),p=`ELBSecurityPolicy-2016-08`,m=[`application`,`network`],h=[`HTTP`,`HTTPS`],g=[`TCP`,`UDP`,`TLS`,`TCP_UDP`],_=[...h,...g];function v(e){return e===`network`?g:h}function y(e){return e===`network`?`TCP`:`HTTP`}function b(e){return e===`HTTPS`||e===`TLS`}var x=i({protocol:n(_),port:l,defaultTargetGroupArn:t().min(1,`Target group is required`),certificateArn:t().optional(),sslPolicy:t().optional()}).superRefine((e,t)=>{b(e.protocol)&&!e.certificateArn&&t.addIssue({code:`custom`,path:[`certificateArn`],message:`A certificate is required for HTTPS and TLS`})}),S=/^[!-~]+$/,C=i({field:n([`host-header`,`path-pattern`,`http-header`,`http-request-method`,`source-ip`,`query-string`]),httpHeaderName:t().max(40).optional(),rawValues:t().min(1,`At least one value is required`).max(640,`Too many values`)}).superRefine((e,t)=>{e.field===`http-header`&&!e.httpHeaderName&&t.addIssue({code:`custom`,path:[`httpHeaderName`],message:`Header name is required`});let n=e.rawValues.split(/[\n,]/).map(e=>e.trim()).filter(e=>e.length>0);if(n.length===0||n.length>5){t.addIssue({code:`custom`,path:[`rawValues`],message:`Enter 1 to 5 values, comma or newline separated`});return}for(let e of n)if(!S.test(e)){t.addIssue({code:`custom`,path:[`rawValues`],message:`Value "${e}" contains whitespace or non-ASCII characters`});return}}),w=i({priority:e().int(`Priority must be a whole number`).min(1,`Priority must be at least 1`).max(5e4,`Priority must be at most 50000`),conditions:r(C).min(1,`At least one condition is required`).max(5,`Up to 5 conditions per rule`),forwardTargetGroupArn:t().min(1,`Target group is required`)}),T=i({name:s,type:n(m),scheme:n([`internet-facing`,`internal`]),vpcId:t().min(1,`VPC is required`),subnetIds:r(t()).min(1,`At least 1 subnet is required`),securityGroupIds:r(t()),tags:r(u),listener:i({protocol:n(_),port:l,targetGroupMode:n([`new`,`existing`]),existingTargetGroupArn:t().optional(),certificateArn:t().optional(),sslPolicy:t().optional()}).superRefine((e,t)=>{e.targetGroupMode===`existing`&&!e.existingTargetGroupArn&&t.addIssue({code:`custom`,path:[`existingTargetGroupArn`],message:`Target group is required`}),b(e.protocol)&&!e.certificateArn&&t.addIssue({code:`custom`,path:[`certificateArn`],message:`A certificate is required for HTTPS/TLS`})})});i({targets:r(i({instanceId:t().min(1,`Instance is required`),port:l.optional()})).min(1,`At least one target is required`)}),a(t(),t());export{f as a,v as c,w as i,u as l,x as n,y as o,T as r,b as s,p as t};
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as r}from"./back-link-DjawJm5W.js";import{t as i}from"./cli-command-panel-DPooQRso.js";import{t as a}from"./input-CpcyJw4R.js";import{q as ee}from"./ec2-DFivrtZe.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{a as s,i as c,t as l}from"./zod-VwMMRSfy.js";import{t as te}from"./error-banner-BcDqaPk7.js";import{t as u}from"./form-actions-C3zG6ld2.js";import{r as d,s as f,t as p}from"./field-ChkDR_wL.js";import{t as m}from"./textarea-BNxO_Zsf.js";import{v as h}from"./ec2-CmqOirWQ.js";var g=t(),_=e();function v(){let e=(0,g.c)(55),t=n(),v=ee(),b;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(b={resolver:l(h)},e[0]=b):b=e[0];let{handleSubmit:x,register:S,control:C,formState:w}=c(b),{errors:T,isSubmitting:E}=w,D;e[1]===C?D=e[2]:(D={control:C},e[1]=C,e[2]=D);let O=s(D),k;e[3]!==v||e[4]!==t?(k=async e=>{await v.mutateAsync(e),t({to:`/ec2/describe-key-pairs`})},e[3]=v,e[4]=t,e[5]=k):k=e[5];let A=k,j,M;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,_.jsx)(r,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),M=(0,_.jsx)(o,{title:`Import Key Pair`}),e[6]=j,e[7]=M):(j=e[6],M=e[7]);let N;e[8]===v.error?N=e[9]:(N=v.error&&(0,_.jsx)(te,{error:v.error,msg:`Failed to import key pair`}),e[8]=v.error,e[9]=N);let P;e[10]!==x||e[11]!==A?(P=x(A),e[10]=x,e[11]=A,e[12]=P):P=e[12];let F;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`keyName`,children:`Key Pair Name`})}),e[13]=F):F=e[13];let I=!!T.keyName,L;e[14]===S?L=e[15]:(L=S(`keyName`),e[14]=S,e[15]=L);let R;e[16]!==L||e[17]!==I?(R=(0,_.jsx)(a,{"aria-invalid":I,id:`keyName`,placeholder:`my-key-pair…`,...L}),e[16]=L,e[17]=I,e[18]=R):R=e[18];let z;e[19]===T.keyName?z=e[20]:(z=(0,_.jsx)(d,{errors:[T.keyName]}),e[19]=T.keyName,e[20]=z);let B;e[21]!==R||e[22]!==z?(B=(0,_.jsxs)(p,{children:[F,R,z]}),e[21]=R,e[22]=z,e[23]=B):B=e[23];let V,H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(V=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`publicKeyMaterial`,children:`Public Key`})}),H=(0,_.jsx)(`p`,{className:`text-xs text-muted-foreground`,id:`publicKey-description`,children:`Paste your OpenSSH public key (e.g. the contents of id_rsa.pub)`}),e[24]=V,e[25]=H):(V=e[24],H=e[25]);let U=!!T.publicKeyMaterial,W;e[26]===S?W=e[27]:(W=S(`publicKeyMaterial`),e[26]=S,e[27]=W);let G;e[28]!==U||e[29]!==W?(G=(0,_.jsx)(m,{"aria-invalid":U,id:`publicKeyMaterial`,placeholder:`ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC…`,rows:8,...W}),e[28]=U,e[29]=W,e[30]=G):G=e[30];let K;e[31]===T.publicKeyMaterial?K=e[32]:(K=(0,_.jsx)(d,{errors:[T.publicKeyMaterial]}),e[31]=T.publicKeyMaterial,e[32]=K);let q;e[33]!==G||e[34]!==K?(q=(0,_.jsxs)(p,{children:[V,H,G,K]}),e[33]=G,e[34]=K,e[35]=q):q=e[35];let J;e[36]===O?J=e[37]:(J=y(O),e[36]=O,e[37]=J);let Y;e[38]===J?Y=e[39]:(Y=(0,_.jsx)(i,{commands:J}),e[38]=J,e[39]=Y);let X;e[40]===t?X=e[41]:(X=async()=>{await t({to:`/ec2/describe-key-pairs`})},e[40]=t,e[41]=X);let Z;e[42]!==v.isPending||e[43]!==E||e[44]!==X?(Z=(0,_.jsx)(u,{isPending:v.isPending,isSubmitting:E,onCancel:X,pendingLabel:`Importing…`,submitLabel:`Import Key Pair`}),e[42]=v.isPending,e[43]=E,e[44]=X,e[45]=Z):Z=e[45];let Q;e[46]!==B||e[47]!==q||e[48]!==Y||e[49]!==Z||e[50]!==P?(Q=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:P,children:[B,q,Y,Z]}),e[46]=B,e[47]=q,e[48]=Y,e[49]=Z,e[50]=P,e[51]=Q):Q=e[51];let $;return e[52]!==Q||e[53]!==N?($=(0,_.jsxs)(_.Fragment,{children:[j,M,N,Q]}),e[52]=Q,e[53]=N,e[54]=$):$=e[54],$}function y(e){return[{label:`Import Key Pair`,parts:[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 import-key-pair`},{type:`flag`,value:` \\
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useNavigate-BiiHYpLW.js";import{t as r}from"./back-link-DjawJm5W.js";import{t as i}from"./cli-command-panel-DPooQRso.js";import{t as a}from"./input-CpcyJw4R.js";import{q as ee}from"./ec2-iXujaheD.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{a as s,i as c,t as l}from"./zod-VwMMRSfy.js";import{t as te}from"./error-banner-BcDqaPk7.js";import{t as u}from"./form-actions-C3zG6ld2.js";import{r as d,s as f,t as p}from"./field-ChkDR_wL.js";import{t as m}from"./textarea-BNxO_Zsf.js";import{v as h}from"./ec2-Cr9GrTUU.js";var g=t(),_=e();function v(){let e=(0,g.c)(55),t=n(),v=ee(),b;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(b={resolver:l(h)},e[0]=b):b=e[0];let{handleSubmit:x,register:S,control:C,formState:w}=c(b),{errors:T,isSubmitting:E}=w,D;e[1]===C?D=e[2]:(D={control:C},e[1]=C,e[2]=D);let O=s(D),k;e[3]!==v||e[4]!==t?(k=async e=>{await v.mutateAsync(e),t({to:`/ec2/describe-key-pairs`})},e[3]=v,e[4]=t,e[5]=k):k=e[5];let A=k,j,M;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,_.jsx)(r,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),M=(0,_.jsx)(o,{title:`Import Key Pair`}),e[6]=j,e[7]=M):(j=e[6],M=e[7]);let N;e[8]===v.error?N=e[9]:(N=v.error&&(0,_.jsx)(te,{error:v.error,msg:`Failed to import key pair`}),e[8]=v.error,e[9]=N);let P;e[10]!==x||e[11]!==A?(P=x(A),e[10]=x,e[11]=A,e[12]=P):P=e[12];let F;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`keyName`,children:`Key Pair Name`})}),e[13]=F):F=e[13];let I=!!T.keyName,L;e[14]===S?L=e[15]:(L=S(`keyName`),e[14]=S,e[15]=L);let R;e[16]!==L||e[17]!==I?(R=(0,_.jsx)(a,{"aria-invalid":I,id:`keyName`,placeholder:`my-key-pair…`,...L}),e[16]=L,e[17]=I,e[18]=R):R=e[18];let z;e[19]===T.keyName?z=e[20]:(z=(0,_.jsx)(d,{errors:[T.keyName]}),e[19]=T.keyName,e[20]=z);let B;e[21]!==R||e[22]!==z?(B=(0,_.jsxs)(p,{children:[F,R,z]}),e[21]=R,e[22]=z,e[23]=B):B=e[23];let V,H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(V=(0,_.jsx)(f,{children:(0,_.jsx)(`label`,{htmlFor:`publicKeyMaterial`,children:`Public Key`})}),H=(0,_.jsx)(`p`,{className:`text-xs text-muted-foreground`,id:`publicKey-description`,children:`Paste your OpenSSH public key (e.g. the contents of id_rsa.pub)`}),e[24]=V,e[25]=H):(V=e[24],H=e[25]);let U=!!T.publicKeyMaterial,W;e[26]===S?W=e[27]:(W=S(`publicKeyMaterial`),e[26]=S,e[27]=W);let G;e[28]!==U||e[29]!==W?(G=(0,_.jsx)(m,{"aria-invalid":U,id:`publicKeyMaterial`,placeholder:`ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC…`,rows:8,...W}),e[28]=U,e[29]=W,e[30]=G):G=e[30];let K;e[31]===T.publicKeyMaterial?K=e[32]:(K=(0,_.jsx)(d,{errors:[T.publicKeyMaterial]}),e[31]=T.publicKeyMaterial,e[32]=K);let q;e[33]!==G||e[34]!==K?(q=(0,_.jsxs)(p,{children:[V,H,G,K]}),e[33]=G,e[34]=K,e[35]=q):q=e[35];let J;e[36]===O?J=e[37]:(J=y(O),e[36]=O,e[37]=J);let Y;e[38]===J?Y=e[39]:(Y=(0,_.jsx)(i,{commands:J}),e[38]=J,e[39]=Y);let X;e[40]===t?X=e[41]:(X=async()=>{await t({to:`/ec2/describe-key-pairs`})},e[40]=t,e[41]=X);let Z;e[42]!==v.isPending||e[43]!==E||e[44]!==X?(Z=(0,_.jsx)(u,{isPending:v.isPending,isSubmitting:E,onCancel:X,pendingLabel:`Importing…`,submitLabel:`Import Key Pair`}),e[42]=v.isPending,e[43]=E,e[44]=X,e[45]=Z):Z=e[45];let Q;e[46]!==B||e[47]!==q||e[48]!==Y||e[49]!==Z||e[50]!==P?(Q=(0,_.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:P,children:[B,q,Y,Z]}),e[46]=B,e[47]=q,e[48]=Y,e[49]=Z,e[50]=P,e[51]=Q):Q=e[51];let $;return e[52]!==Q||e[53]!==N?($=(0,_.jsxs)(_.Fragment,{children:[j,M,N,Q]}),e[52]=Q,e[53]=N,e[54]=$):$=e[54],$}function y(e){return[{label:`Import Key Pair`,parts:[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 import-key-pair`},{type:`flag`,value:` \\
|
||||
--key-name`},{type:`value`,value:` ${(e.keyName??``)||`<KeyName>`}`},{type:`flag`,value:` \\
|
||||
--public-key-material`},{type:`value`,value:` fileb://path/to/key.pub`}]}]}export{v as component};
|
||||
+3
-3
File diff suppressed because one or more lines are too long
Vendored
+2
File diff suppressed because one or more lines are too long
Vendored
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{n as i}from"./button-Bae9vdts.js";import{i as a}from"./bedrock-DIbdgKPF.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BD9XGBez.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e();function d(){let e=(0,l.c)(5),{data:t}=n(a),s;e[0]===t.guardrails?s=e[1]:(s=t.guardrails??[],e[0]=t.guardrails,e[1]=s);let c;if(e[2]!==s){let t=s.toSorted(p),n;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{className:i({size:`sm`}),to:`/bedrock/list-guardrails/create`,children:`Create guardrail`}),title:`Guardrails`}),e[4]=n):n=e[4],c=(0,u.jsxs)(u.Fragment,{children:[n,t.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:t.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No guardrails found.`})]}),e[2]=s,e[3]=c}else c=e[3];return c}function f(e){return e.id?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.status}),params:{guardrailId:e.id},subtitle:e.id,title:e.name??e.id,to:`/bedrock/list-guardrails/$guardrailId`},e.id):null}function p(e,t){let n=e.name?.toLowerCase()??``,r=t.name?.toLowerCase()??``;return n.localeCompare(r)}var m=d;export{m as component};
|
||||
import{n as e,t}from"./compiler-runtime-DTT1fEHg.js";import{t as n}from"./useSuspenseQuery-C2bXkW_k.js";import{t as r}from"./link-cv-r823H.js";import{n as i}from"./button-Bae9vdts.js";import{i as a}from"./bedrock-DIbdgKPF.js";import{t as o}from"./page-heading-M0NyqAmu.js";import{t as s}from"./state-badge-BiFj5bbX.js";import{t as c}from"./list-card-DXP5Yi9a.js";var l=t(),u=e();function d(){let e=(0,l.c)(5),{data:t}=n(a),s;e[0]===t.guardrails?s=e[1]:(s=t.guardrails??[],e[0]=t.guardrails,e[1]=s);let c;if(e[2]!==s){let t=s.toSorted(p),n;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{className:i({size:`sm`}),to:`/bedrock/list-guardrails/create`,children:`Create guardrail`}),title:`Guardrails`}),e[4]=n):n=e[4],c=(0,u.jsxs)(u.Fragment,{children:[n,t.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:t.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No guardrails found.`})]}),e[2]=s,e[3]=c}else c=e[3];return c}function f(e){return e.id?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.status}),params:{guardrailId:e.id},subtitle:e.id,title:e.name??e.id,to:`/bedrock/list-guardrails/$guardrailId`},e.id):null}function p(e,t){let n=e.name?.toLowerCase()??``,r=t.name?.toLowerCase()??``;return n.localeCompare(r)}var m=d;export{m as component};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user