mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 09:01:31 +00:00
feat: Ochre console Playground page (#929)
* feat: add Ochre console Playground page A Converse chat surface with model picker, system prompt, inference params, optional guardrail, per-turn tokens, raw request/response JSON, and copy-as-CLI. The transport lives in one module so a later ConverseStream swap edits a single file; the message list appends and mutates the last turn in place. A cold model degrades to a retryable warming-up turn instead of an error. * feat: pin the playground composer, send on Enter, render markdown The chat composer sat below the message list in page flow, so it slid down as the conversation grew and the reader had to scroll to reach it. Bound the chat + composer to a fixed-height column: the message pane scrolls internally and autoscrolls to the newest turn while the composer stays pinned. Enter now sends (Shift+Enter inserts a newline), and assistant replies render markdown — lists, inline code, code blocks, and links — instead of raw text.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{a as e,r as t}from"./compiler-runtime.js";var n=e(t(),1),r=n.createContext(void 0);function i(){return n.useContext(r)?.direction??`ltr`}export{i as t};
|
||||
import{o as e,r as t}from"./compiler-runtime.js";var n=e(t(),1),r=n.createContext(void 0);function i(){return n.useContext(r)?.direction??`ltr`}export{i as t};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{n as r}from"./matchContext.js";import{i,o as a,t as o}from"./useStore.js";function s(e){return e?.isNotFound===!0}var c=e(n(),1),l=t(),u=class extends c.Component{constructor(...e){super(...e),this.state={error:null},this.reset=()=>{this.setState({error:null})}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.props.onCatch?.(e,t)}render(){let e=this.state.error;return e?c.createElement(this.props.errorComponent??d,{error:e,reset:this.reset}):this.props.children}};function d({error:e}){let[t,n]=c.useState(!1);return(0,l.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,l.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,l.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,l.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,l.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,l.jsx)(`div`,{children:(0,l.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,l.jsx)(`code`,{children:e.message}):null})}):null]})}function f(e){let t=i(),n=`not-found-${o(t.stores.location,e=>e.pathname)}-${o(t.stores.status,e=>e)}`;return(0,l.jsx)(u,{getResetKey:()=>n,onCatch:(t,n)=>{if(s(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(s(t))return e.fallback?.(t);throw t},children:e.children})}function p(){return(0,l.jsx)(`p`,{children:`Not Found`})}function m(e){return(0,l.jsx)(l.Fragment,{children:e.children})}function h(e,t,n){return t.options.notFoundComponent?(0,l.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,l.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,l.jsx)(p,{})}function g(e,t){let n=t?.options.pendingComponent??e.options.defaultPendingComponent;return n?(0,l.jsx)(n,{}):null}var _=(e,t)=>e[0]===t[0]&&e[1]===t[1],v=(e,t,n)=>!t.isRoot||t.options.shellComponent||t.options.wrapInSuspense||n===!1||n===`data-only`||!e.ssr,y=c.memo(function({routeId:e}){let t=i();return(0,l.jsx)(b,{router:t,match:o(t.stores.getMatchStore(e),e=>e)})});function b({router:e,match:t}){let n=e.routesById[t.routeId],i=g(e,n),o=n.options.errorComponent??e.options.defaultErrorComponent,d=n.options.onCatch??e.options.defaultOnCatch,p=n.isRoot?n.options.notFoundComponent??e.options.notFoundRoute?.options.component:n.options.notFoundComponent,h=t.ssr===!1||t.ssr===`data-only`,_=v(e,n,t.ssr)&&(n.options.wrapInSuspense??i??(n.options.errorComponent?.preload||h))?c.Suspense:m,y=o?u:m,b=p?f:m;return(0,l.jsxs)(n.isRoot?n.options.shellComponent??m:m,{children:[(0,l.jsx)(r.Provider,{value:t.routeId,children:(0,l.jsx)(_,{fallback:i,children:(0,l.jsx)(y,{getResetKey:()=>t,errorComponent:o,onCatch:(e,n)=>{if(s(e))throw e.routeId??=t.routeId,e;d?.(e,n)},children:(0,l.jsx)(b,{fallback:e=>{if(e.routeId??=t.routeId,e.routeId!==t.routeId)throw e;return c.createElement(p,e)},children:h?(0,l.jsx)(a,{fallback:i,children:(0,l.jsx)(x,{match:t})}):(0,l.jsx)(x,{match:t})})})})}),null]})}var x=c.memo(function({match:e}){let t=i(),n=e.routeId,r=t.routesById[n],a=c.useMemo(()=>{let i=(r.options.remountDeps??t.options.defaultRemountDeps)?.({routeId:n,loaderDeps:e.loaderDeps,params:e._strictParams,search:e._strictSearch});return i?JSON.stringify(i):void 0},[n,e.loaderDeps,e._strictParams,e._strictSearch,r.options.remountDeps,t.options.defaultRemountDeps]),o=c.useMemo(()=>{let e=r.options.component??t.options.defaultComponent;return e?(0,l.jsx)(e,{},a):(0,l.jsx)(S,{})},[a,r.options.component,t.options.defaultComponent]);if(e.status===`pending`){if(t.ssr&&!v(t,r,e.ssr))return o;if(t._tx)throw t._tx[5];return g(t,r)}if(e.status===`notFound`)return h(t,r,e.error);if(e.status===`error`)throw e.error;return o}),S=c.memo(function(){let e=i(),t=c.useContext(r),n,a,s;{let r=e.stores.getMatchStore(t);[n,a]=o(r,e=>[!!e._notFound,e.error],_),s=o(e.stores.ids,e=>e[e.indexOf(t)+1])}if(n)return h(e,e.routesById[t],a);if(!s)return null;let u=(0,l.jsx)(y,{routeId:s});return t===`__root__`?(0,l.jsx)(c.Suspense,{fallback:g(e),children:u}):u});export{u as a,m as i,S as n,s as o,g as r,y as t};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime.js";import{n as r}from"./matchContext.js";import{i,n as a,t as o}from"./useStore.js";function s(e){return e?.isNotFound===!0}var c=t(n(),1),l=e(),u=class extends c.Component{constructor(...e){super(...e),this.state={error:null},this.reset=()=>{this.setState({error:null})}}static getDerivedStateFromProps(e,t){let n=e.getResetKey();return t.error&&t.resetKey!==n?{resetKey:n,error:null}:{resetKey:n}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){this.props.onCatch?.(e,t)}render(){let e=this.state.error;return e?c.createElement(this.props.errorComponent??d,{error:e,reset:this.reset}):this.props.children}};function d({error:e}){let[t,n]=c.useState(!1);return(0,l.jsxs)(`div`,{style:{padding:`.5rem`,maxWidth:`100%`},children:[(0,l.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:`.5rem`},children:[(0,l.jsx)(`strong`,{style:{fontSize:`1rem`},children:`Something went wrong!`}),(0,l.jsx)(`button`,{style:{appearance:`none`,fontSize:`.6em`,border:`1px solid currentColor`,padding:`.1rem .2rem`,fontWeight:`bold`,borderRadius:`.25rem`},onClick:()=>n(e=>!e),children:t?`Hide Error`:`Show Error`})]}),(0,l.jsx)(`div`,{style:{height:`.25rem`}}),t?(0,l.jsx)(`div`,{children:(0,l.jsx)(`pre`,{style:{fontSize:`.7em`,border:`1px solid red`,borderRadius:`.25rem`,padding:`.3rem`,color:`red`,overflow:`auto`},children:e.message?(0,l.jsx)(`code`,{children:e.message}):null})}):null]})}function f(e){let t=a(),n=`not-found-${o(t.stores.location,e=>e.pathname)}-${o(t.stores.status,e=>e)}`;return(0,l.jsx)(u,{getResetKey:()=>n,onCatch:(t,n)=>{if(s(t))e.onCatch?.(t,n);else throw t},errorComponent:({error:t})=>{if(s(t))return e.fallback?.(t);throw t},children:e.children})}function p(){return(0,l.jsx)(`p`,{children:`Not Found`})}function m(e){return(0,l.jsx)(l.Fragment,{children:e.children})}function h(e,t,n){return t.options.notFoundComponent?(0,l.jsx)(t.options.notFoundComponent,{...n}):e.options.defaultNotFoundComponent?(0,l.jsx)(e.options.defaultNotFoundComponent,{...n}):(0,l.jsx)(p,{})}function g(e,t){let n=t?.options.pendingComponent??e.options.defaultPendingComponent;return n?(0,l.jsx)(n,{}):null}var _=(e,t)=>e[0]===t[0]&&e[1]===t[1],v=(e,t,n)=>!t.isRoot||t.options.shellComponent||t.options.wrapInSuspense||n===!1||n===`data-only`||!e.ssr,y=c.memo(function({routeId:e}){let t=a();return(0,l.jsx)(b,{router:t,match:o(t.stores.getMatchStore(e),e=>e)})});function b({router:e,match:t}){let n=e.routesById[t.routeId],a=g(e,n),o=n.options.errorComponent??e.options.defaultErrorComponent,d=n.options.onCatch??e.options.defaultOnCatch,p=n.isRoot?n.options.notFoundComponent??e.options.notFoundRoute?.options.component:n.options.notFoundComponent,h=t.ssr===!1||t.ssr===`data-only`,_=v(e,n,t.ssr)&&(n.options.wrapInSuspense??a??(n.options.errorComponent?.preload||h))?c.Suspense:m,y=o?u:m,b=p?f:m;return(0,l.jsxs)(n.isRoot?n.options.shellComponent??m:m,{children:[(0,l.jsx)(r.Provider,{value:t.routeId,children:(0,l.jsx)(_,{fallback:a,children:(0,l.jsx)(y,{getResetKey:()=>t,errorComponent:o,onCatch:(e,n)=>{if(s(e))throw e.routeId??=t.routeId,e;d?.(e,n)},children:(0,l.jsx)(b,{fallback:e=>{if(e.routeId??=t.routeId,e.routeId!==t.routeId)throw e;return c.createElement(p,e)},children:h?(0,l.jsx)(i,{fallback:a,children:(0,l.jsx)(x,{match:t})}):(0,l.jsx)(x,{match:t})})})})}),null]})}var x=c.memo(function({match:e}){let t=a(),n=e.routeId,r=t.routesById[n],i=c.useMemo(()=>{let i=(r.options.remountDeps??t.options.defaultRemountDeps)?.({routeId:n,loaderDeps:e.loaderDeps,params:e._strictParams,search:e._strictSearch});return i?JSON.stringify(i):void 0},[n,e.loaderDeps,e._strictParams,e._strictSearch,r.options.remountDeps,t.options.defaultRemountDeps]),o=c.useMemo(()=>{let e=r.options.component??t.options.defaultComponent;return e?(0,l.jsx)(e,{},i):(0,l.jsx)(S,{})},[i,r.options.component,t.options.defaultComponent]);if(e.status===`pending`){if(t.ssr&&!v(t,r,e.ssr))return o;if(t._tx)throw t._tx[5];return g(t,r)}if(e.status===`notFound`)return h(t,r,e.error);if(e.status===`error`)throw e.error;return o}),S=c.memo(function(){let e=a(),t=c.useContext(r),n,i,s;{let r=e.stores.getMatchStore(t);[n,i]=o(r,e=>[!!e._notFound,e.error],_),s=o(e.stores.ids,e=>e[e.indexOf(t)+1])}if(n)return h(e,e.routesById[t],i);if(!s)return null;let u=(0,l.jsx)(y,{routeId:s});return t===`__root__`?(0,l.jsx)(c.Suspense,{fallback:g(e),children:u}):u});export{u as a,m as i,S as n,s as o,g as r,y 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/_2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/upload-button.js","assets/download.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/awsClient.js","assets/index.browser.js","assets/s3.js","assets/useMutation.js","assets/mutation.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/s32.js","assets/queryOptions.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{in as n,lt as r,on as i}from"./cluster-config.js";import{t as a}from"./s32.js";var o=e(`/_auth/s3/ls/$bucket/$`)({loader:async({context:e,params:t})=>{let n=i(t._splat??``);await e.queryClient.ensureQueryData(a(t.bucket,n))},head:({params:e})=>({meta:[{title:`${n(e._splat??``,`${e.bucket}/`)} | S3 | Mulga`}]}),component:t(()=>r(()=>import(`./_2.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{o as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/upload-button.js","assets/download.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/awsClient.js","assets/index.browser.js","assets/s3.js","assets/useMutation.js","assets/mutation.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/s32.js","assets/queryOptions.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{in as n,lt as r,on as i}from"./cluster-config.js";import{t as a}from"./s32.js";var o=e(`/_auth/s3/ls/$bucket/$`)({loader:async({context:e,params:t})=>{let n=i(t._splat??``);await e.queryClient.ensureQueryData(a(t.bucket,n))},head:({params:e})=>({meta:[{title:`${n(e._splat??``,`${e.bucket}/`)} | S3 | Mulga`}]}),component:t(()=>r(()=>import(`./_2.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{o as t};
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_bucket2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/useStore.js","assets/createLucideIcon.js","assets/upload-button.js","assets/download.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/awsClient.js","assets/index.browser.js","assets/s3.js","assets/useMutation.js","assets/mutation.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/s32.js","assets/queryOptions.js","assets/page-heading.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{t as r}from"./s32.js";var i=e(`/_auth/s3/ls/$bucket/`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.bucket))},head:({params:e})=>({meta:[{title:`${e.bucket} | S3 | Mulga`}]}),component:t(()=>n(()=>import(`./_bucket2.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/_bucket2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/createLucideIcon.js","assets/upload-button.js","assets/download.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/awsClient.js","assets/index.browser.js","assets/s3.js","assets/useMutation.js","assets/mutation.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/s32.js","assets/queryOptions.js","assets/page-heading.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{t as r}from"./s32.js";var i=e(`/_auth/s3/ls/$bucket/`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.bucket))},head:({params:e})=>({meta:[{title:`${e.bucket} | S3 | Mulga`}]}),component:t(()=>n(()=>import(`./_bucket2.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};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_clusterName4.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/circle-arrow-up.js","assets/cli-command-panel.js","assets/check.js","assets/chevron-down.js","assets/copy.js","assets/button.js","assets/dist.js","assets/use-copy-to-clipboard.js","assets/trash-2.js","assets/triangle-alert.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/eks.js","assets/useMutation.js","assets/mutation.js","assets/commandBuilder.js","assets/json.js","assets/subnet-calculator.js","assets/eks2.js","assets/iam2.js","assets/commandBuilder3.js","assets/page-heading.js","assets/badge.js","assets/useRender.js","assets/detail-row.js","assets/zod.js","assets/error-banner.js","assets/field.js","assets/separator.js","assets/label.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/gpu-instance-type-select.js","assets/select.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/tabs.js","assets/json-editor.js","assets/textarea.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{t as r}from"./createLucideIcon.js";import{s as i,t as a,u as o}from"./eks2.js";var s=r(`sliders-horizontal`,[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]),c=e(`/_auth/eks/(clusters)/list-clusters/$clusterName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.clusterName)),e.queryClient.ensureQueryData(o(t.clusterName)),e.queryClient.ensureQueryData(a(t.clusterName))])},head:({params:e})=>({meta:[{title:`${e.clusterName} | EKS | Mulga`}]}),component:t(()=>n(()=>import(`./_clusterName4.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])),`component`)});export{s as n,c as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_clusterName4.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/circle-arrow-up.js","assets/cli-command-panel.js","assets/check.js","assets/chevron-down.js","assets/copy.js","assets/button.js","assets/dist.js","assets/use-copy-to-clipboard.js","assets/trash-2.js","assets/triangle-alert.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/eks.js","assets/useMutation.js","assets/mutation.js","assets/commandBuilder2.js","assets/json.js","assets/subnet-calculator.js","assets/eks2.js","assets/iam2.js","assets/commandBuilder4.js","assets/page-heading.js","assets/badge.js","assets/useRender.js","assets/detail-row.js","assets/field.js","assets/separator.js","assets/label.js","assets/zod.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/gpu-instance-type-select.js","assets/select.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/tabs.js","assets/json-editor.js","assets/textarea.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{t as r}from"./createLucideIcon.js";import{s as i,t as a,u as o}from"./eks2.js";var s=r(`sliders-horizontal`,[[`path`,{d:`M10 5H3`,key:`1qgfaw`}],[`path`,{d:`M12 19H3`,key:`yhmn1j`}],[`path`,{d:`M14 3v4`,key:`1sua03`}],[`path`,{d:`M16 17v4`,key:`1q0r14`}],[`path`,{d:`M21 12h-9`,key:`1o4lsq`}],[`path`,{d:`M21 19h-5`,key:`1rlt1p`}],[`path`,{d:`M21 5h-7`,key:`1oszz2`}],[`path`,{d:`M8 10v4`,key:`tgpxqk`}],[`path`,{d:`M8 12H3`,key:`a7s4jb`}]]),c=e(`/_auth/eks/(clusters)/list-clusters/$clusterName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.clusterName)),e.queryClient.ensureQueryData(o(t.clusterName)),e.queryClient.ensureQueryData(a(t.clusterName))])},head:({params:e})=>({meta:[{title:`${e.clusterName} | EKS | Mulga`}]}),component:t(()=>n(()=>import(`./_clusterName4.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])),`component`)});export{s as n,c as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_clusterName3.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ecs.js","assets/ecs2.js","assets/useMutation.js","assets/mutation.js","assets/signed-fetch.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/field.js","assets/separator.js","assets/label.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/gpu-instance-type-select.js","assets/select.js","assets/check.js","assets/chevron-down.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/tabs.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{i as r,s as i,t as a}from"./ecs.js";var o=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(a(t.clusterName)),e.queryClient.ensureQueryData(r(t.clusterName)),e.queryClient.ensureQueryData(i(t.clusterName))])},head:({params:e})=>({meta:[{title:`${e.clusterName} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_clusterName3.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{o as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_clusterName3.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ecs.js","assets/ecs2.js","assets/useMutation.js","assets/mutation.js","assets/signed-fetch.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/field.js","assets/separator.js","assets/label.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/gpu-instance-type-select.js","assets/select.js","assets/check.js","assets/chevron-down.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/tabs.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{i as r,s as i,t as a}from"./ecs.js";var o=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(a(t.clusterName)),e.queryClient.ensureQueryData(r(t.clusterName)),e.queryClient.ensureQueryData(i(t.clusterName))])},head:({params:e})=>({meta:[{title:`${e.clusterName} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_clusterName3.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{o as t};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_groupName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder3.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/inline-policies-panel.js","assets/useQuery.js","assets/input.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/field.js","assets/separator.js","assets/label.js","assets/json-editor.js","assets/textarea.js","assets/iam3.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{C as r,a as i,n as a,p as o,s}from"./iam2.js";var c=e(`/_auth/iam/(groups)/list-groups/$groupName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(s(t.groupName)),e.queryClient.ensureQueryData(a(t.groupName)),e.queryClient.ensureQueryData(o),e.queryClient.ensureQueryData(r),e.queryClient.ensureQueryData(i(t.groupName))])},head:({params:e})=>({meta:[{title:`${e.groupName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_groupName2.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{c as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_groupName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder4.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/inline-policies-panel.js","assets/useQuery.js","assets/input.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/field.js","assets/separator.js","assets/label.js","assets/json-editor.js","assets/textarea.js","assets/iam3.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{C as r,a as i,n as a,p as o,s}from"./iam2.js";var c=e(`/_auth/iam/(groups)/list-groups/$groupName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(s(t.groupName)),e.queryClient.ensureQueryData(a(t.groupName)),e.queryClient.ensureQueryData(o),e.queryClient.ensureQueryData(r),e.queryClient.ensureQueryData(i(t.groupName))])},head:({params:e})=>({meta:[{title:`${e.groupName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_groupName2.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{c as t};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{cn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{O as u,n as d,p as f}from"./iam.js";import{C as p,s as m}from"./iam2.js";import{t as h}from"./_groupName.js";import{t as g}from"./page-heading.js";import{n as _,t as v}from"./detail-row.js";import{t as y}from"./error-banner.js";import{t as b}from"./delete-confirmation-dialog.js";import{n as x,t as S}from"./inline-policies-panel.js";var C=e(n()),w=t();function T(){let{groupName:e}=h.useParams(),t=a(),{data:n}=r(m(e)),{data:T}=r(p),E=f(),D=d(),O=u(),[k,A]=(0,C.useState)(!1),[j,M]=(0,C.useState)(!1),[N,P]=(0,C.useState)(null),F=n.Group,I=n.Users??[],L=T.Users??[],R=new Set(I.map(e=>e.UserName)),z=L.filter(e=>e.UserName&&!R.has(e.UserName)),B=async()=>{try{await E.mutateAsync(e),t({to:`/iam/list-groups`})}finally{A(!1)}},V=async t=>{await D.mutateAsync({groupName:e,userName:t}),M(!1)},H=async t=>{P(t);try{await O.mutateAsync({groupName:e,userName:t})}finally{P(null)}};return F?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s,{to:`/iam/list-groups`,children:`Back to groups`}),E.error&&(0,w.jsx)(y,{error:E.error,msg:`Failed to delete group`}),D.error&&(0,w.jsx)(y,{error:D.error,msg:`Failed to add user`}),O.error&&(0,w.jsx)(y,{error:O.error,msg:`Failed to remove user`}),(0,w.jsxs)(`div`,{className:`space-y-6`,children:[(0,w.jsx)(g,{actions:(0,w.jsxs)(l,{onClick:()=>{A(!0)},size:`sm`,variant:`destructive`,children:[(0,w.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Group Details`,title:F.GroupName??``}),(0,w.jsxs)(_,{children:[(0,w.jsx)(_.Header,{children:`Group Information`}),(0,w.jsxs)(_.Content,{children:[(0,w.jsx)(v,{label:`Group Name`,value:F.GroupName}),(0,w.jsx)(v,{label:`Group ID`,value:F.GroupId}),(0,w.jsx)(v,{label:`ARN`,value:F.Arn}),(0,w.jsx)(v,{label:`Path`,value:F.Path}),(0,w.jsx)(v,{label:`Created`,value:o(F.CreateDate)})]})]}),(0,w.jsxs)(_,{children:[(0,w.jsx)(_.Header,{children:(0,w.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,w.jsx)(`span`,{children:`Members`}),(0,w.jsx)(l,{onClick:()=>{M(!j)},size:`sm`,children:`Add User`})]})}),(0,w.jsxs)(_.Content,{children:[j&&z.length>0&&(0,w.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,w.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a user to add:`}),(0,w.jsx)(`div`,{className:`space-y-1`,children:z.map(e=>(0,w.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:D.isPending,onClick:()=>{e.UserName&&V(e.UserName)},type:`button`,children:[(0,w.jsx)(`span`,{children:e.UserName}),(0,w.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.UserName))})]}),j&&z.length===0&&(0,w.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No users available to add.`}),I.length>0?(0,w.jsx)(`div`,{className:`col-span-2 space-y-3`,children:I.map(e=>(0,w.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,w.jsx)(i,{className:`text-sm font-medium hover:underline`,params:{userName:e.UserName??``},to:`/iam/list-users/$userName`,children:e.UserName}),(0,w.jsx)(l,{disabled:N===e.UserName,onClick:()=>{e.UserName&&H(e.UserName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.UserName))}):(0,w.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No members.`})]})]}),(0,w.jsx)(x,{kind:`group`,name:e}),(0,w.jsx)(S,{kind:`group`,name:e})]}),(0,w.jsx)(b,{description:`Are you sure you want to delete the group "${e}"? This action cannot be undone. You must remove all members and detach all policies first.`,isPending:E.isPending,onConfirm:B,onOpenChange:A,open:k,title:`Delete Group`})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s,{to:`/iam/list-groups`,children:`Back to groups`}),(0,w.jsx)(`p`,{className:`text-muted-foreground`,children:`Group not found.`})]})}export{T as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{cn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{O as u,n as d,p as f}from"./iam.js";import{C as p,s as m}from"./iam2.js";import{t as h}from"./_groupName.js";import{t as g}from"./page-heading.js";import{n as _,t as v}from"./detail-row.js";import{t as y}from"./error-banner.js";import{t as b}from"./delete-confirmation-dialog.js";import{n as x,t as S}from"./inline-policies-panel.js";var C=t(n()),w=e();function T(){let{groupName:e}=h.useParams(),t=a(),{data:n}=r(m(e)),{data:T}=r(p),E=f(),D=d(),O=u(),[k,A]=(0,C.useState)(!1),[j,M]=(0,C.useState)(!1),[N,P]=(0,C.useState)(null),F=n.Group,I=n.Users??[],L=T.Users??[],R=new Set(I.map(e=>e.UserName)),z=L.filter(e=>e.UserName&&!R.has(e.UserName)),B=async()=>{try{await E.mutateAsync(e),t({to:`/iam/list-groups`})}finally{A(!1)}},V=async t=>{await D.mutateAsync({groupName:e,userName:t}),M(!1)},H=async t=>{P(t);try{await O.mutateAsync({groupName:e,userName:t})}finally{P(null)}};return F?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s,{to:`/iam/list-groups`,children:`Back to groups`}),E.error&&(0,w.jsx)(y,{error:E.error,msg:`Failed to delete group`}),D.error&&(0,w.jsx)(y,{error:D.error,msg:`Failed to add user`}),O.error&&(0,w.jsx)(y,{error:O.error,msg:`Failed to remove user`}),(0,w.jsxs)(`div`,{className:`space-y-6`,children:[(0,w.jsx)(g,{actions:(0,w.jsxs)(l,{onClick:()=>{A(!0)},size:`sm`,variant:`destructive`,children:[(0,w.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Group Details`,title:F.GroupName??``}),(0,w.jsxs)(_,{children:[(0,w.jsx)(_.Header,{children:`Group Information`}),(0,w.jsxs)(_.Content,{children:[(0,w.jsx)(v,{label:`Group Name`,value:F.GroupName}),(0,w.jsx)(v,{label:`Group ID`,value:F.GroupId}),(0,w.jsx)(v,{label:`ARN`,value:F.Arn}),(0,w.jsx)(v,{label:`Path`,value:F.Path}),(0,w.jsx)(v,{label:`Created`,value:o(F.CreateDate)})]})]}),(0,w.jsxs)(_,{children:[(0,w.jsx)(_.Header,{children:(0,w.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,w.jsx)(`span`,{children:`Members`}),(0,w.jsx)(l,{onClick:()=>{M(!j)},size:`sm`,children:`Add User`})]})}),(0,w.jsxs)(_.Content,{children:[j&&z.length>0&&(0,w.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,w.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a user to add:`}),(0,w.jsx)(`div`,{className:`space-y-1`,children:z.map(e=>(0,w.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:D.isPending,onClick:()=>{e.UserName&&V(e.UserName)},type:`button`,children:[(0,w.jsx)(`span`,{children:e.UserName}),(0,w.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.UserName))})]}),j&&z.length===0&&(0,w.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No users available to add.`}),I.length>0?(0,w.jsx)(`div`,{className:`col-span-2 space-y-3`,children:I.map(e=>(0,w.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,w.jsx)(i,{className:`text-sm font-medium hover:underline`,params:{userName:e.UserName??``},to:`/iam/list-users/$userName`,children:e.UserName}),(0,w.jsx)(l,{disabled:N===e.UserName,onClick:()=>{e.UserName&&H(e.UserName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.UserName))}):(0,w.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No members.`})]})]}),(0,w.jsx)(x,{kind:`group`,name:e}),(0,w.jsx)(S,{kind:`group`,name:e})]}),(0,w.jsx)(b,{description:`Are you sure you want to delete the group "${e}"? This action cannot be undone. You must remove all members and detach all policies first.`,isPending:E.isPending,onConfirm:B,onOpenChange:A,open:k,title:`Delete Group`})]}):(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s,{to:`/iam/list-groups`,children:`Back to groups`}),(0,w.jsx)(`p`,{className:`text-muted-foreground`,children:`Group not found.`})]})}export{T as component};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_guardrailId2.js","assets/compiler-runtime.js","assets/useMutation.js","assets/QueryClientProvider.js","assets/mutation.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/useStore.js","assets/createLucideIcon.js","assets/button.js","assets/dist.js","assets/awsClient.js","assets/index.browser.js","assets/bedrock.js","assets/queryOptions.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/label.js","assets/textarea.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{n as r,t as i}from"./bedrock.js";var a=e(`/_auth/bedrock/(guardrails)/list-guardrails/$guardrailId`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.guardrailId)),e.queryClient.ensureQueryData(r(t.guardrailId))])},head:({params:e})=>({meta:[{title:`${e.guardrailId} | Guardrail | Mulga`}]}),component:t(()=>n(()=>import(`./_guardrailId2.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])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_guardrailId2.js","assets/compiler-runtime.js","assets/useMutation.js","assets/QueryClientProvider.js","assets/mutation.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/createLucideIcon.js","assets/button.js","assets/dist.js","assets/awsClient.js","assets/index.browser.js","assets/bedrock.js","assets/queryOptions.js","assets/commandBuilder.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/label.js","assets/textarea.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{n as r,r as i}from"./bedrock.js";var a=e(`/_auth/bedrock/(guardrails)/list-guardrails/$guardrailId`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.guardrailId)),e.queryClient.ensureQueryData(i(t.guardrailId))])},head:({params:e})=>({meta:[{title:`${e.guardrailId} | Guardrail | Mulga`}]}),component:t(()=>n(()=>import(`./_guardrailId2.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])),`component`)});export{a as t};
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id33.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/copy.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/textarea.js","assets/error-banner.js","assets/field.js","assets/separator.js","assets/label.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{t as r}from"./createLucideIcon.js";import{T as i,b as a}from"./ec2.js";var o=r(`image`,[[`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`}]]),s=e(`/_auth/ec2/(snapshots)/describe-snapshots/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(a)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id33.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])),`component`)});export{o as n,s as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id33.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/copy.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/textarea.js","assets/field.js","assets/separator.js","assets/label.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{t as r}from"./createLucideIcon.js";import{T as i,b as a}from"./ec2.js";var o=r(`image`,[[`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`}]]),s=e(`/_auth/ec2/(snapshots)/describe-snapshots/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(a)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id33.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])),`component`)});export{o as n,s as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id29.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{g as r}from"./ec2.js";var i=e(`/_auth/ec2/(nat-gateways)/describe-nat-gateways/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | NAT Gateway | Mulga`}]}),component:t(()=>n(()=>import(`./_id29.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])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id29.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{g as r}from"./ec2.js";var i=e(`/_auth/ec2/(nat-gateways)/describe-nat-gateways/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | NAT Gateway | Mulga`}]}),component:t(()=>n(()=>import(`./_id29.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])),`component`)});export{i as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id30.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{l as r,v as i}from"./ec2.js";var a=e(`/_auth/ec2/(placement-groups)/describe-placement-groups/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id30.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])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id30.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{l as r,v as i}from"./ec2.js";var a=e(`/_auth/ec2/(placement-groups)/describe-placement-groups/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id30.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])),`component`)});export{a as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id31.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/input.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/badge.js","assets/useRender.js","assets/detail-row.js","assets/zod.js","assets/error-banner.js","assets/field.js","assets/separator.js","assets/label.js","assets/ec23.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{O as r,_ as i,d as a,x as o}from"./ec2.js";var s=e(`/_auth/ec2/(route-tables)/describe-route-tables/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(o(t.id)),e.queryClient.ensureQueryData(a),e.queryClient.ensureQueryData(i),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | Route Table | Mulga`}]}),component:t(()=>n(()=>import(`./_id31.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])),`component`)});export{s as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id31.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/input.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/badge.js","assets/useRender.js","assets/detail-row.js","assets/field.js","assets/separator.js","assets/label.js","assets/zod.js","assets/error-banner.js","assets/ec23.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{O as r,_ as i,d as a,x as o}from"./ec2.js";var s=e(`/_auth/ec2/(route-tables)/describe-route-tables/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(o(t.id)),e.queryClient.ensureQueryData(a),e.queryClient.ensureQueryData(i),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | Route Table | Mulga`}]}),component:t(()=>n(()=>import(`./_id31.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{s as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id34.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{D as r}from"./ec2.js";var i=e(`/_auth/ec2/(subnet)/describe-subnets/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Subnet | Mulga`}]}),component:t(()=>n(()=>import(`./_id34.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])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id34.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{D as r}from"./ec2.js";var i=e(`/_auth/ec2/(subnet)/describe-subnets/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Subnet | Mulga`}]}),component:t(()=>n(()=>import(`./_id34.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])),`component`)});export{i as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id35.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/useNavigate.js","assets/useStore.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/elbv2.js","assets/useMutation.js","assets/mutation.js","assets/commandBuilder2.js","assets/elbv22.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/attributes-editor.js","assets/select.js","assets/check.js","assets/chevron-down.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/field.js","assets/separator.js","assets/label.js","assets/tags-editor.js","assets/plus.js","assets/tabs.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{l as r}from"./ec2.js";import{c as i,l as a,s as o}from"./elbv22.js";var s=e(`/_auth/ec2/(target-groups)/describe-target-groups/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(a(n)),e.queryClient.ensureQueryData(i(n)),e.queryClient.ensureQueryData(o([n])),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Target Group | Mulga`}]}),component:t(()=>n(()=>import(`./_id35.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{s as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id35.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/useNavigate.js","assets/useStore.js","assets/with-selector.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/elbv2.js","assets/useMutation.js","assets/mutation.js","assets/commandBuilder3.js","assets/elbv22.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/attributes-editor.js","assets/select.js","assets/check.js","assets/chevron-down.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/field.js","assets/separator.js","assets/label.js","assets/tags-editor.js","assets/plus.js","assets/tabs.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{l as r}from"./ec2.js";import{c as i,l as a,s as o}from"./elbv22.js";var s=e(`/_auth/ec2/(target-groups)/describe-target-groups/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(a(n)),e.queryClient.ensureQueryData(i(n)),e.queryClient.ensureQueryData(o([n])),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Target Group | Mulga`}]}),component:t(()=>n(()=>import(`./_id35.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])),`component`)});export{s as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id36.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/createLucideIcon.js","assets/back-link.js","assets/camera.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/input.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/field.js","assets/separator.js","assets/label.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/delete-confirmation-dialog.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{k as r,l as i}from"./ec2.js";var a=e(`/_auth/ec2/(volumes)/describe-volumes/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.id)),e.queryClient.ensureQueryData(i)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id36.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{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id36.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/createLucideIcon.js","assets/back-link.js","assets/camera.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/input.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/field.js","assets/separator.js","assets/label.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/delete-confirmation-dialog.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{k as r,l as i}from"./ec2.js";var a=e(`/_auth/ec2/(volumes)/describe-volumes/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.id)),e.queryClient.ensureQueryData(i)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id36.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{a as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id37.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/input.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/button.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/zod.js","assets/error-banner.js","assets/form-actions.js","assets/field.js","assets/separator.js","assets/label.js","assets/ec23.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{k as r}from"./ec2.js";var i=e(`/_auth/ec2/(volumes)/modify-volume/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.id))},head:({params:e})=>({meta:[{title:`Resize ${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id37.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])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id37.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/with-selector.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/input.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/button.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/field.js","assets/separator.js","assets/label.js","assets/zod.js","assets/error-banner.js","assets/form-actions.js","assets/ec23.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{k as r}from"./ec2.js";var i=e(`/_auth/ec2/(volumes)/modify-volume/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.id))},head:({params:e})=>({meta:[{title:`Resize ${e.id} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id37.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])),`component`)});export{i as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id38.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{O as r,j as i}from"./ec2.js";var a=e(`/_auth/ec2/(vpc)/describe-vpcs/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | VPC | Mulga`}]}),component:t(()=>n(()=>import(`./_id38.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])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id38.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{O as r,j as i}from"./ec2.js";var a=e(`/_auth/ec2/(vpc)/describe-vpcs/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | VPC | Mulga`}]}),component:t(()=>n(()=>import(`./_id38.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])),`component`)});export{a as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id39.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/cluster-config.js","assets/hex-encoding.js","assets/button.js","assets/dist.js","assets/ecr.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ecr2.js","assets/useMutation.js","assets/mutation.js","assets/json.js","assets/page-heading.js","assets/badge.js","assets/useRender.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/tabs.js","assets/useControlled.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/json-editor.js","assets/textarea.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{i as r,n as i,r as a}from"./ecr.js";var o=e(`/_auth/ecr/(repositories)/list-repositories/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(i),e.queryClient.ensureQueryData(a(n)),e.queryClient.ensureQueryData(r(n))])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Repository | Mulga`}]}),component:t(()=>n(()=>import(`./_id39.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])),`component`)});export{o as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id39.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/cluster-config.js","assets/hex-encoding.js","assets/button.js","assets/dist.js","assets/ecr.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ecr2.js","assets/useMutation.js","assets/mutation.js","assets/json.js","assets/page-heading.js","assets/badge.js","assets/useRender.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/tabs.js","assets/useControlled.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/json-editor.js","assets/textarea.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{i as r,n as i,r as a}from"./ecr.js";var o=e(`/_auth/ecr/(repositories)/list-repositories/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(i),e.queryClient.ensureQueryData(a(n)),e.queryClient.ensureQueryData(r(n))])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Repository | Mulga`}]}),component:t(()=>n(()=>import(`./_id39.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])),`component`)});export{o as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id40.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/camera.js","assets/pencil.js","assets/cli-command-panel.js","assets/check.js","assets/chevron-down.js","assets/copy.js","assets/button.js","assets/dist.js","assets/use-copy-to-clipboard.js","assets/trash-2.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/rds.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/rds3.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/zod.js","assets/error-banner.js","assets/form-actions.js","assets/field.js","assets/separator.js","assets/label.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/tabs.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/picker-notice.js","assets/security-group-checkboxes.js","assets/select.js","assets/usePositioner.js","assets/create-db-snapshot-dialog.js","assets/tags-field-array.js","assets/plus.js","assets/delete-db-snapshot-dialog.js","assets/rds-delete-dialog.js","assets/delete-confirmation-dialog.js","assets/rds-events-panel.js","assets/rds-tags-tab.js","assets/tags-editor.js","assets/delete-db-instance-dialog.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{c as r,g as i,n as a,s as o,t as s}from"./rds3.js";var c=e(`/_auth/rds/(db-instances)/describe-db-instances/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id),[c]=await Promise.all([e.queryClient.ensureQueryData(a(n)),e.queryClient.ensureQueryData(o(n)),e.queryClient.ensureQueryData(r(n)),e.queryClient.ensureQueryData(s(n))]),l=c.DBInstances?.[0]?.DBInstanceArn??``;await e.queryClient.ensureQueryData(i(l))},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_id40.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,65,66])),`component`)});export{c as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id40.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/camera.js","assets/pencil.js","assets/cli-command-panel.js","assets/check.js","assets/chevron-down.js","assets/copy.js","assets/button.js","assets/dist.js","assets/use-copy-to-clipboard.js","assets/trash-2.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/rds.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/rds3.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/field.js","assets/separator.js","assets/label.js","assets/zod.js","assets/error-banner.js","assets/form-actions.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/tabs.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/picker-notice.js","assets/security-group-checkboxes.js","assets/select.js","assets/usePositioner.js","assets/create-db-snapshot-dialog.js","assets/tags-field-array.js","assets/plus.js","assets/delete-db-snapshot-dialog.js","assets/rds-delete-dialog.js","assets/delete-confirmation-dialog.js","assets/rds-events-panel.js","assets/rds-tags-tab.js","assets/tags-editor.js","assets/delete-db-instance-dialog.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{c as r,g as i,n as a,s as o,t as s}from"./rds3.js";var c=e(`/_auth/rds/(db-instances)/describe-db-instances/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id),[c]=await Promise.all([e.queryClient.ensureQueryData(a(n)),e.queryClient.ensureQueryData(o(n)),e.queryClient.ensureQueryData(r(n)),e.queryClient.ensureQueryData(s(n))]),l=c.DBInstances?.[0]?.DBInstanceArn??``;await e.queryClient.ensureQueryData(i(l))},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_id40.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,65,66,67])),`component`)});export{c as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id32.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/plus.js","assets/trash-2.js","assets/input.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/zod.js","assets/error-banner.js","assets/field.js","assets/separator.js","assets/label.js","assets/ec23.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/delete-confirmation-dialog.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{t as r}from"./createLucideIcon.js";import{C as i}from"./ec2.js";var a=r(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),o=e(`/_auth/ec2/(security-groups)/describe-security-groups/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(i(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Security Group | Mulga`}]}),component:t(()=>n(()=>import(`./_id32.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{a as n,o as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id32.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/plus.js","assets/trash-2.js","assets/input.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/field.js","assets/separator.js","assets/label.js","assets/zod.js","assets/error-banner.js","assets/ec23.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/delete-confirmation-dialog.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{t as r}from"./createLucideIcon.js";import{C as i}from"./ec2.js";var a=r(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),o=e(`/_auth/ec2/(security-groups)/describe-security-groups/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(i(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Security Group | Mulga`}]}),component:t(()=>n(()=>import(`./_id32.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])),`component`)});export{a as n,o as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id41.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/rds.js","assets/awsClient.js","assets/index.browser.js","assets/rds3.js","assets/queryOptions.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/tabs.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/useControlled.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/delete-db-snapshot-dialog.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/rds-delete-dialog.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/rds-events-panel.js","assets/rds-tags-tab.js","assets/useQuery.js","assets/tags-editor.js","assets/plus.js","assets/input.js","assets/useRegisterFieldControl.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{g as r,i,p as a}from"./rds3.js";var o=e(`/_auth/rds/(snapshots)/describe-db-snapshots/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id),[o]=await Promise.all([e.queryClient.ensureQueryData(i(n)),e.queryClient.ensureQueryData(a(n))]),s=o.DBSnapshots?.[0]?.DBSnapshotArn??``;s!==``&&await e.queryClient.ensureQueryData(r(s))},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_id41.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 t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id41.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/rds.js","assets/awsClient.js","assets/index.browser.js","assets/rds3.js","assets/queryOptions.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/tabs.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/useControlled.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/delete-db-snapshot-dialog.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/rds-delete-dialog.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/rds-events-panel.js","assets/rds-tags-tab.js","assets/useQuery.js","assets/tags-editor.js","assets/plus.js","assets/input.js","assets/useRegisterFieldControl.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{g as r,i,p as a}from"./rds3.js";var o=e(`/_auth/rds/(snapshots)/describe-db-snapshots/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id),[o]=await Promise.all([e.queryClient.ensureQueryData(i(n)),e.queryClient.ensureQueryData(a(n))]),s=o.DBSnapshots?.[0]?.DBSnapshotArn??``;s!==``&&await e.queryClient.ensureQueryData(r(s))},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_id41.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 t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id42.js","assets/compiler-runtime.js","assets/QueryClientProvider.js","assets/useQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useSuspenseQuery.js","assets/useNavigate.js","assets/useStore.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/cli-command-panel.js","assets/cluster-config.js","assets/hex-encoding.js","assets/check.js","assets/chevron-down.js","assets/copy.js","assets/button.js","assets/dist.js","assets/use-copy-to-clipboard.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/rds.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/rds3.js","assets/page-heading.js","assets/detail-row.js","assets/zod.js","assets/error-banner.js","assets/form-actions.js","assets/field.js","assets/separator.js","assets/label.js","assets/system-managed.js","assets/tags-field-array.js","assets/plus.js","assets/trash-2.js","assets/system-image-required.js","assets/rotate-cw.js","assets/triangle-alert.js","assets/picker-notice.js","assets/security-group-checkboxes.js","assets/select.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useCompositeListItem.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{o as r,w as i}from"./ec2.js";import{d as a,h as o,i as s,o as c}from"./rds3.js";var l=e(`/_auth/rds/(snapshots)/restore-db-instance-from-db-snapshot/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(s(decodeURIComponent(t.id))),e.queryClient.ensureQueryData(c),e.queryClient.ensureQueryData(o),e.queryClient.ensureQueryData(a),e.queryClient.ensureQueryData(i),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`Restore ${decodeURIComponent(e.id)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_id42.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])),`component`)});export{l as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id42.js","assets/compiler-runtime.js","assets/QueryClientProvider.js","assets/useQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useSuspenseQuery.js","assets/useNavigate.js","assets/useStore.js","assets/with-selector.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/cli-command-panel.js","assets/cluster-config.js","assets/hex-encoding.js","assets/check.js","assets/chevron-down.js","assets/copy.js","assets/button.js","assets/dist.js","assets/use-copy-to-clipboard.js","assets/input.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/rds.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/rds3.js","assets/page-heading.js","assets/detail-row.js","assets/field.js","assets/separator.js","assets/label.js","assets/zod.js","assets/error-banner.js","assets/form-actions.js","assets/system-managed.js","assets/tags-field-array.js","assets/plus.js","assets/trash-2.js","assets/system-image-required.js","assets/rotate-cw.js","assets/triangle-alert.js","assets/picker-notice.js","assets/security-group-checkboxes.js","assets/select.js","assets/useValueAsRef.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useCompositeListItem.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{o as r,w as i}from"./ec2.js";import{d as a,h as o,i as s,o as c}from"./rds3.js";var l=e(`/_auth/rds/(snapshots)/restore-db-instance-from-db-snapshot/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(s(decodeURIComponent(t.id))),e.queryClient.ensureQueryData(c),e.queryClient.ensureQueryData(o),e.queryClient.ensureQueryData(a),e.queryClient.ensureQueryData(i),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`Restore ${decodeURIComponent(e.id)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_id42.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])),`component`)});export{l as t};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./useNavigate.js";import{dn as a}from"./cluster-config.js";import{t as o}from"./back-link.js";import{c as s,i as c,n as l,s as u,t as d}from"./select.js";import{t as f}from"./trash-2.js";import{t as p}from"./button.js";import{l as m,t as h}from"./ec2.js";import{$ as g,U as _,r as v}from"./ec22.js";import{t as y}from"./_id3.js";import{t as b}from"./page-heading.js";import{n as x,t as S}from"./detail-row.js";import{t as C}from"./error-banner.js";import{t as w}from"./delete-confirmation-dialog.js";var T=e(n()),E=t();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)(``),F=n.Addresses?.[0],I=D.Reservations?.flatMap(e=>e.Instances??[]).filter(e=>e.State?.Name===`running`||e.State?.Name===`stopped`)??[],L=async()=>{try{await A.mutateAsync(e),t({to:`/ec2/describe-addresses`})}finally{M(!1)}},R=async()=>{N&&await O.mutateAsync({allocationId:e,instanceId:N})},z=async()=>{F?.AssociationId&&await k.mutateAsync(F.AssociationId)};if(!F?.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 B=!!F.AssociationId,V=a(F.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)(C,{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:B||A.isPending,onClick:()=>{M(!0)},size:`sm`,variant:`destructive`,children:[(0,E.jsx)(f,{className:`size-4`}),`Release`]}),subtitle:`Elastic IP Details`,title:V?`${F.AllocationId} (${V})`:F.AllocationId}),(0,E.jsxs)(x,{children:[(0,E.jsx)(x.Header,{children:`Elastic IP Information`}),(0,E.jsxs)(x.Content,{children:[(0,E.jsx)(S,{label:`Allocation ID`,value:F.AllocationId}),(0,E.jsx)(S,{label:`Public IP`,value:F.PublicIp}),(0,E.jsx)(S,{label:`Domain`,value:F.Domain}),(0,E.jsx)(S,{label:`Association ID`,value:F.AssociationId??`—`}),(0,E.jsx)(S,{label:`Instance ID`,value:F.InstanceId??`—`}),(0,E.jsx)(S,{label:`Private IP`,value:F.PrivateIpAddress??`—`})]})]}),(0,E.jsxs)(x,{children:[(0,E.jsx)(x.Header,{children:`Association`}),(0,E.jsx)(x.Content,{children:B?(0,E.jsx)(p,{disabled:k.isPending,onClick:z,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=>{P(e??``)},value:N,children:[(0,E.jsx)(u,{className:`w-full`,children:(0,E.jsx)(s,{placeholder:`Select an instance`})}),(0,E.jsx)(l,{children:I.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:!N||O.isPending,onClick:R,size:`sm`,children:`Associate`})]})})]})]}),(0,E.jsx)(w,{description:`Are you sure you want to release the Elastic IP "${F.AllocationId}" (${F.PublicIp})? This action cannot be undone.`,isPending:A.isPending,onConfirm:L,onOpenChange:M,open:j,title:`Release Elastic IP`})]})}export{D as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./useNavigate.js";import{dn as a}from"./cluster-config.js";import{t as o}from"./back-link.js";import{c as s,i as c,n as l,s as u,t as d}from"./select.js";import{t as f}from"./trash-2.js";import{t as p}from"./button.js";import{l as m,t as h}from"./ec2.js";import{$ as g,U as _,r as v}from"./ec22.js";import{t as y}from"./_id3.js";import{t as b}from"./page-heading.js";import{n as x,t as S}from"./detail-row.js";import{t as C}from"./error-banner.js";import{t as w}from"./delete-confirmation-dialog.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)(``),F=n.Addresses?.[0],I=D.Reservations?.flatMap(e=>e.Instances??[]).filter(e=>e.State?.Name===`running`||e.State?.Name===`stopped`)??[],L=async()=>{try{await A.mutateAsync(e),t({to:`/ec2/describe-addresses`})}finally{M(!1)}},R=async()=>{N&&await O.mutateAsync({allocationId:e,instanceId:N})},z=async()=>{F?.AssociationId&&await k.mutateAsync(F.AssociationId)};if(!F?.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 B=!!F.AssociationId,V=a(F.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)(C,{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:B||A.isPending,onClick:()=>{M(!0)},size:`sm`,variant:`destructive`,children:[(0,E.jsx)(f,{className:`size-4`}),`Release`]}),subtitle:`Elastic IP Details`,title:V?`${F.AllocationId} (${V})`:F.AllocationId}),(0,E.jsxs)(x,{children:[(0,E.jsx)(x.Header,{children:`Elastic IP Information`}),(0,E.jsxs)(x.Content,{children:[(0,E.jsx)(S,{label:`Allocation ID`,value:F.AllocationId}),(0,E.jsx)(S,{label:`Public IP`,value:F.PublicIp}),(0,E.jsx)(S,{label:`Domain`,value:F.Domain}),(0,E.jsx)(S,{label:`Association ID`,value:F.AssociationId??`—`}),(0,E.jsx)(S,{label:`Instance ID`,value:F.InstanceId??`—`}),(0,E.jsx)(S,{label:`Private IP`,value:F.PrivateIpAddress??`—`})]})]}),(0,E.jsxs)(x,{children:[(0,E.jsx)(x.Header,{children:`Association`}),(0,E.jsx)(x.Content,{children:B?(0,E.jsx)(p,{disabled:k.isPending,onClick:z,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=>{P(e??``)},value:N,children:[(0,E.jsx)(u,{className:`w-full`,children:(0,E.jsx)(s,{placeholder:`Select an instance`})}),(0,E.jsx)(l,{children:I.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:!N||O.isPending,onClick:R,size:`sm`,children:`Associate`})]})})]})]}),(0,E.jsx)(w,{description:`Are you sure you want to release the Elastic IP "${F.AllocationId}" (${F.PublicIp})? This action cannot be undone.`,isPending:A.isPending,onConfirm:L,onOpenChange:M,open:j,title:`Release Elastic IP`})]})}export{D as component};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{n as i}from"./QueryClientProvider.js";import{t as a}from"./useMutation.js";import{t as o}from"./useSuspenseQuery.js";import{t as s}from"./useNavigate.js";import{a as c}from"./cluster-config.js";import{t as l}from"./back-link.js";import{t as u}from"./circle-arrow-up.js";import{t as d}from"./trash-2.js";import{t as f}from"./button.js";import{n as p}from"./admin-context.js";import{n as m}from"./signed-fetch.js";import{a as h}from"./ec2.js";import{B as g}from"./ec22.js";import{t as _}from"./_id4.js";import{t as v}from"./page-heading.js";import{t as y}from"./state-badge.js";import{t as b}from"./error-banner.js";import{a as x,i as S,l as C,n as w,o as T,r as E,s as D,t as O}from"./alert-dialog.js";import{t as k}from"./delete-confirmation-dialog.js";import{i as A}from"./system-managed.js";import{t as j}from"./ami-details.js";var M=e(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 m({action:`PromoteImage`,credentials:t,params:{ImageId:e}})}var I=t(),L=`000000000000`;function R(){let{id:e}=_.useParams(),t=s(),{data:n}=o(h(e)),r=n?.Images?.[0],{isAdmin:i}=p(),a=g(),c=P(),[m,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)(b,{error:a.error,msg:`Failed to deregister image`}),c.error&&(0,I.jsx)(b,{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)(y,{state:r.State})]}),subtitle:`Image Details`,title:r.ImageId}),(0,I.jsx)(j,{image:r,showExtendedDetails:!0})]}),(0,I.jsx)(k,{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:m,title:`Deregister Image`}),(0,I.jsx)(O,{onOpenChange:R,open:F,children:(0,I.jsxs)(S,{children:[(0,I.jsxs)(D,{children:[(0,I.jsx)(C,{children:`Promote to System Image`}),(0,I.jsxs)(x,{children:[`This will make “`,r.ImageId,`” visible to all accounts as a system image. This cannot be undone via the UI.`]})]}),(0,I.jsxs)(T,{children:[(0,I.jsx)(E,{children:`Cancel`}),(0,I.jsx)(w,{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.js";import{n as i}from"./QueryClientProvider.js";import{t as a}from"./useMutation.js";import{t as o}from"./useSuspenseQuery.js";import{t as s}from"./useNavigate.js";import{a as c}from"./cluster-config.js";import{t as l}from"./back-link.js";import{t as u}from"./circle-arrow-up.js";import{t as d}from"./trash-2.js";import{t as f}from"./button.js";import{n as p}from"./admin-context.js";import{n as m}from"./signed-fetch.js";import{a as h}from"./ec2.js";import{B as g}from"./ec22.js";import{t as _}from"./_id4.js";import{t as v}from"./page-heading.js";import{t as y}from"./state-badge.js";import{t as b}from"./error-banner.js";import{a as x,i as S,l as C,n as w,o as T,r as E,s as D,t as O}from"./alert-dialog.js";import{t as k}from"./delete-confirmation-dialog.js";import{i as A}from"./system-managed.js";import{t as j}from"./ami-details.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 m({action:`PromoteImage`,credentials:t,params:{ImageId:e}})}var I=e(),L=`000000000000`;function R(){let{id:e}=_.useParams(),t=s(),{data:n}=o(h(e)),r=n?.Images?.[0],{isAdmin:i}=p(),a=g(),c=P(),[m,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)(b,{error:a.error,msg:`Failed to deregister image`}),c.error&&(0,I.jsx)(b,{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)(y,{state:r.State})]}),subtitle:`Image Details`,title:r.ImageId}),(0,I.jsx)(j,{image:r,showExtendedDetails:!0})]}),(0,I.jsx)(k,{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:m,title:`Deregister Image`}),(0,I.jsx)(O,{onOpenChange:R,open:F,children:(0,I.jsxs)(S,{children:[(0,I.jsxs)(D,{children:[(0,I.jsx)(C,{children:`Promote to System Image`}),(0,I.jsxs)(x,{children:[`This will make “`,r.ImageId,`” visible to all accounts as a system image. This cannot be undone via the UI.`]})]}),(0,I.jsxs)(T,{children:[(0,I.jsx)(E,{children:`Cancel`}),(0,I.jsx)(w,{disabled:c.isPending,onClick:V,children:c.isPending?`Promoting…`:`Promote`})]})]})})]})}export{R as component};
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{dn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{c,i as l,n as u,s as d,t as f}from"./select.js";import{t as p}from"./trash-2.js";import{t as m}from"./button.js";import{M as h,u as g}from"./ec2.js";import{D as _,V as v,o as y}from"./ec22.js";import{t as b}from"./_id6.js";import{t as x}from"./page-heading.js";import{n as S,t as C}from"./detail-row.js";import{t as w}from"./error-banner.js";import{t as T}from"./delete-confirmation-dialog.js";var E=e(n()),D=t();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)(``),I=n.InternetGateways?.[0],L=O.Vpcs??[],R=async()=>{try{await j.mutateAsync(e),t({to:`/ec2/describe-internet-gateways`})}finally{N(!1)}},z=async()=>{P&&await k.mutateAsync({internetGatewayId:e,vpcId:P})},B=async t=>{await A.mutateAsync({internetGatewayId:e,vpcId:t})};if(!I?.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 V=I.Attachments?.[0],H=!!V?.VpcId,U=o(I.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)(w,{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:H||j.isPending,onClick:()=>{N(!0)},size:`sm`,variant:`destructive`,children:[(0,D.jsx)(p,{className:`size-4`}),`Delete`]}),subtitle:`Internet Gateway Details`,title:U?`${I.InternetGatewayId} (${U})`:I.InternetGatewayId}),(0,D.jsxs)(S,{children:[(0,D.jsx)(S.Header,{children:`Internet Gateway Information`}),(0,D.jsxs)(S.Content,{children:[(0,D.jsx)(C,{label:`Internet Gateway ID`,value:I.InternetGatewayId}),(0,D.jsx)(C,{label:`Owner ID`,value:I.OwnerId??`—`}),(0,D.jsx)(C,{label:`State`,value:V?.State??`detached`})]})]}),(0,D.jsxs)(S,{children:[(0,D.jsx)(S.Header,{children:`VPC Attachment`}),(0,D.jsx)(S.Content,{children:H?(0,D.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,D.jsx)(i,{className:`text-primary hover:underline`,params:{id:V.VpcId??``},to:`/ec2/describe-vpcs/$id`,children:V.VpcId}),(0,D.jsx)(m,{disabled:A.isPending,onClick:async()=>{await B(V.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=>{F(e??``)},value:P,children:[(0,D.jsx)(d,{className:`w-full`,children:(0,D.jsx)(c,{placeholder:`Select a VPC`})}),(0,D.jsx)(u,{children:L.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:!P||k.isPending,onClick:z,size:`sm`,children:`Attach`})]})})]})]}),(0,D.jsx)(T,{description:`Are you sure you want to delete the Internet Gateway "${I.InternetGatewayId}"? This action cannot be undone.`,isPending:j.isPending,onConfirm:R,onOpenChange:N,open:M,title:`Delete Internet Gateway`})]})}export{O as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{dn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{c,i as l,n as u,s as d,t as f}from"./select.js";import{t as p}from"./trash-2.js";import{t as m}from"./button.js";import{M as h,u as g}from"./ec2.js";import{D as _,V as v,o as y}from"./ec22.js";import{t as b}from"./_id6.js";import{t as x}from"./page-heading.js";import{n as S,t as C}from"./detail-row.js";import{t as w}from"./error-banner.js";import{t as T}from"./delete-confirmation-dialog.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)(``),I=n.InternetGateways?.[0],L=O.Vpcs??[],R=async()=>{try{await j.mutateAsync(e),t({to:`/ec2/describe-internet-gateways`})}finally{N(!1)}},z=async()=>{P&&await k.mutateAsync({internetGatewayId:e,vpcId:P})},B=async t=>{await A.mutateAsync({internetGatewayId:e,vpcId:t})};if(!I?.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 V=I.Attachments?.[0],H=!!V?.VpcId,U=o(I.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)(w,{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:H||j.isPending,onClick:()=>{N(!0)},size:`sm`,variant:`destructive`,children:[(0,D.jsx)(p,{className:`size-4`}),`Delete`]}),subtitle:`Internet Gateway Details`,title:U?`${I.InternetGatewayId} (${U})`:I.InternetGatewayId}),(0,D.jsxs)(S,{children:[(0,D.jsx)(S.Header,{children:`Internet Gateway Information`}),(0,D.jsxs)(S.Content,{children:[(0,D.jsx)(C,{label:`Internet Gateway ID`,value:I.InternetGatewayId}),(0,D.jsx)(C,{label:`Owner ID`,value:I.OwnerId??`—`}),(0,D.jsx)(C,{label:`State`,value:V?.State??`detached`})]})]}),(0,D.jsxs)(S,{children:[(0,D.jsx)(S.Header,{children:`VPC Attachment`}),(0,D.jsx)(S.Content,{children:H?(0,D.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,D.jsx)(i,{className:`text-primary hover:underline`,params:{id:V.VpcId??``},to:`/ec2/describe-vpcs/$id`,children:V.VpcId}),(0,D.jsx)(m,{disabled:A.isPending,onClick:async()=>{await B(V.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=>{F(e??``)},value:P,children:[(0,D.jsx)(d,{className:`w-full`,children:(0,D.jsx)(c,{placeholder:`Select a VPC`})}),(0,D.jsx)(u,{children:L.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:!P||k.isPending,onClick:z,size:`sm`,children:`Attach`})]})})]})]}),(0,D.jsx)(T,{description:`Are you sure you want to delete the Internet Gateway "${I.InternetGatewayId}"? This action cannot be undone.`,isPending:j.isPending,onConfirm:R,onOpenChange:N,open:M,title:`Delete Internet Gateway`})]})}export{O as component};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./useNavigate.js";import{cn as a}from"./cluster-config.js";import{t as o}from"./back-link.js";import{t as s}from"./trash-2.js";import{t as c}from"./button.js";import{f as l}from"./ec2.js";import{O as u}from"./ec22.js";import{t as d}from"./_id7.js";import{t as f}from"./page-heading.js";import{n as p,t as m}from"./detail-row.js";import{t as h}from"./error-banner.js";import{t as g}from"./delete-confirmation-dialog.js";var _=e(n()),v=t();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)(h,{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)(p,{children:[(0,v.jsx)(p.Header,{children:`Key Pair Information`}),(0,v.jsxs)(p.Content,{children:[(0,v.jsx)(m,{label:`Key Pair ID`,value:y.KeyPairId}),(0,v.jsx)(m,{label:`Key Name`,value:y.KeyName}),(0,v.jsx)(m,{label:`Key Type`,value:y.KeyType}),(0,v.jsx)(m,{label:`Key Fingerprint`,value:y.KeyFingerprint}),(0,v.jsx)(m,{label:`Creation Date`,value:w})]})]}),y.Tags&&y.Tags.length>0&&(0,v.jsxs)(p,{children:[(0,v.jsx)(p.Header,{children:`Tags`}),(0,v.jsx)(p.Content,{children:y.Tags.map(e=>(0,v.jsx)(m,{label:e.Key??``,value:e.Value},e.Key))})]})]}),(0,v.jsx)(g,{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.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./useNavigate.js";import{cn as a}from"./cluster-config.js";import{t as o}from"./back-link.js";import{t as s}from"./trash-2.js";import{t as c}from"./button.js";import{f as l}from"./ec2.js";import{O as u}from"./ec22.js";import{t as d}from"./_id7.js";import{t as f}from"./page-heading.js";import{n as p,t as m}from"./detail-row.js";import{t as h}from"./error-banner.js";import{t as g}from"./delete-confirmation-dialog.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)(h,{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)(p,{children:[(0,v.jsx)(p.Header,{children:`Key Pair Information`}),(0,v.jsxs)(p.Content,{children:[(0,v.jsx)(m,{label:`Key Pair ID`,value:y.KeyPairId}),(0,v.jsx)(m,{label:`Key Name`,value:y.KeyName}),(0,v.jsx)(m,{label:`Key Type`,value:y.KeyType}),(0,v.jsx)(m,{label:`Key Fingerprint`,value:y.KeyFingerprint}),(0,v.jsx)(m,{label:`Creation Date`,value:w})]})]}),y.Tags&&y.Tags.length>0&&(0,v.jsxs)(p,{children:[(0,v.jsx)(p.Header,{children:`Tags`}),(0,v.jsx)(p.Content,{children:y.Tags.map(e=>(0,v.jsx)(m,{label:e.Key??``,value:e.Value},e.Key))})]})]}),(0,v.jsx)(g,{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};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{dn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{g as u}from"./ec2.js";import{j as d}from"./ec22.js";import{t as f}from"./_id10.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./state-badge.js";import{t as _}from"./error-banner.js";import{t as v}from"./delete-confirmation-dialog.js";var y=e(n()),b=t();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)(_,{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)(g,{state:w.State})]}),subtitle:`NAT Gateway Details`,title:E?`${w.NatGatewayId} (${E})`:w.NatGatewayId}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`NAT Gateway Information`}),(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{label:`NAT Gateway ID`,value:w.NatGatewayId}),(0,b.jsx)(h,{label:`State`,value:w.State}),(0,b.jsx)(h,{label:`Connectivity`,value:w.ConnectivityType}),(0,b.jsx)(h,{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)(h,{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)(h,{label:`Public IP`,value:D?.PublicIp??`—`}),(0,b.jsx)(h,{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)(v,{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.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{dn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{g as u}from"./ec2.js";import{j as d}from"./ec22.js";import{t as f}from"./_id10.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./state-badge.js";import{t as _}from"./error-banner.js";import{t as v}from"./delete-confirmation-dialog.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)(_,{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)(g,{state:w.State})]}),subtitle:`NAT Gateway Details`,title:E?`${w.NatGatewayId} (${E})`:w.NatGatewayId}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`NAT Gateway Information`}),(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{label:`NAT Gateway ID`,value:w.NatGatewayId}),(0,b.jsx)(h,{label:`State`,value:w.State}),(0,b.jsx)(h,{label:`Connectivity`,value:w.ConnectivityType}),(0,b.jsx)(h,{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)(h,{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)(h,{label:`Public IP`,value:D?.PublicIp??`—`}),(0,b.jsx)(h,{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)(v,{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};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id22.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{l as r,t as i}from"./ec2.js";var a=e(`/_auth/ec2/(elastic-ips)/describe-addresses/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | Elastic IP | Mulga`}]}),component:t(()=>n(()=>import(`./_id22.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{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id22.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/with-selector.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{l as r,t as i}from"./ec2.js";var a=e(`/_auth/ec2/(elastic-ips)/describe-addresses/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | Elastic IP | Mulga`}]}),component:t(()=>n(()=>import(`./_id22.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])),`component`)});export{a as t};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{t as o}from"./back-link.js";import{t as s}from"./trash-2.js";import{t as c}from"./button.js";import{l,v as u}from"./ec2.js";import{M as d}from"./ec22.js";import{t as f}from"./_id11.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./state-badge.js";import{t as _}from"./error-banner.js";import{t as v}from"./delete-confirmation-dialog.js";var y=e(n()),b=t();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)(_,{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)(g,{state:T.State})]}),subtitle:`Placement Group Details`,title:T.GroupName??T.GroupId}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Placement Group Information`}),(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{label:`Group ID`,value:T.GroupId}),(0,b.jsx)(h,{label:`Group Name`,value:T.GroupName}),(0,b.jsx)(h,{label:`Strategy`,value:T.Strategy}),(0,b.jsx)(h,{label:`State`,value:T.State}),(0,b.jsx)(h,{label:`Spread Level`,value:T.SpreadLevel})]})]}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Instances`}),E.length>0?E.map(e=>(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{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)(h,{label:`State`,value:e.State?.Name}),(0,b.jsx)(h,{label:`Instance Type`,value:e.InstanceType}),(0,b.jsx)(h,{label:`Availability Zone`,value:e.Placement?.AvailabilityZone})]},e.InstanceId)):(0,b.jsx)(m.Content,{children:(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances in this placement group.`})})]})]}),(0,b.jsx)(v,{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.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{t as o}from"./back-link.js";import{t as s}from"./trash-2.js";import{t as c}from"./button.js";import{l,v as u}from"./ec2.js";import{M as d}from"./ec22.js";import{t as f}from"./_id11.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./state-badge.js";import{t as _}from"./error-banner.js";import{t as v}from"./delete-confirmation-dialog.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)(_,{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)(g,{state:T.State})]}),subtitle:`Placement Group Details`,title:T.GroupName??T.GroupId}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Placement Group Information`}),(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{label:`Group ID`,value:T.GroupId}),(0,b.jsx)(h,{label:`Group Name`,value:T.GroupName}),(0,b.jsx)(h,{label:`Strategy`,value:T.Strategy}),(0,b.jsx)(h,{label:`State`,value:T.State}),(0,b.jsx)(h,{label:`Spread Level`,value:T.SpreadLevel})]})]}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Instances`}),E.length>0?E.map(e=>(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{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)(h,{label:`State`,value:e.State?.Name}),(0,b.jsx)(h,{label:`Instance Type`,value:e.InstanceType}),(0,b.jsx)(h,{label:`Availability Zone`,value:e.Placement?.AvailabilityZone})]},e.InstanceId)):(0,b.jsx)(m.Content,{children:(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances in this placement group.`})})]})]}),(0,b.jsx)(v,{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};
|
||||
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 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{dn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{D as u}from"./ec2.js";import{L as d}from"./ec22.js";import{t as f}from"./_id13.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./state-badge.js";import{t as _}from"./error-banner.js";import{t as v}from"./delete-confirmation-dialog.js";var y=e(n()),b=t();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)(_,{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)(g,{state:x.State})]}),subtitle:`Subnet Details`,title:E?`${x.SubnetId} (${E})`:x.SubnetId}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Subnet Information`}),(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{label:`Subnet ID`,value:x.SubnetId}),(0,b.jsx)(h,{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)(h,{label:`State`,value:x.State}),(0,b.jsx)(h,{label:`CIDR Block`,value:x.CidrBlock}),(0,b.jsx)(h,{label:`Availability Zone`,value:x.AvailabilityZone}),(0,b.jsx)(h,{label:`Available IP Count`,value:x.AvailableIpAddressCount?.toString()}),(0,b.jsx)(h,{label:`Map Public IP on Launch`,value:x.MapPublicIpOnLaunch?`Yes`:`No`}),(0,b.jsx)(h,{label:`Default for AZ`,value:x.DefaultForAz?`Yes`:`No`})]})]})]}),(0,b.jsx)(v,{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.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{dn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{D as u}from"./ec2.js";import{L as d}from"./ec22.js";import{t as f}from"./_id13.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./state-badge.js";import{t as _}from"./error-banner.js";import{t as v}from"./delete-confirmation-dialog.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)(_,{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)(g,{state:x.State})]}),subtitle:`Subnet Details`,title:E?`${x.SubnetId} (${E})`:x.SubnetId}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Subnet Information`}),(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{label:`Subnet ID`,value:x.SubnetId}),(0,b.jsx)(h,{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)(h,{label:`State`,value:x.State}),(0,b.jsx)(h,{label:`CIDR Block`,value:x.CidrBlock}),(0,b.jsx)(h,{label:`Availability Zone`,value:x.AvailabilityZone}),(0,b.jsx)(h,{label:`Available IP Count`,value:x.AvailableIpAddressCount?.toString()}),(0,b.jsx)(h,{label:`Map Public IP on Launch`,value:x.MapPublicIpOnLaunch?`Yes`:`No`}),(0,b.jsx)(h,{label:`Default for AZ`,value:x.DefaultForAz?`Yes`:`No`})]})]})]}),(0,b.jsx)(v,{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};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime.js";import{t as n}from"./useSuspenseQuery.js";import{t as r}from"./useNavigate.js";import{t as i}from"./back-link.js";import{t as a}from"./input.js";import{k as o}from"./ec2.js";import{X as s}from"./ec22.js";import{t as c}from"./_id16.js";import{t as l}from"./page-heading.js";import{i as u,t as d}from"./zod.js";import{t as f}from"./error-banner.js";import{t as p}from"./form-actions.js";import{a as m,r as h,t as g}from"./field.js";import{y as _}from"./ec23.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)(m,{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)(h,{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.js";import{t as n}from"./useSuspenseQuery.js";import{t as r}from"./useNavigate.js";import{t as i}from"./back-link.js";import{t as a}from"./input.js";import{k as o}from"./ec2.js";import{X as s}from"./ec22.js";import{t as c}from"./_id16.js";import{t as l}from"./page-heading.js";import{a as u,r as d,t as f}from"./field.js";import{i as p,t as m}from"./zod.js";import{t as h}from"./error-banner.js";import{t as g}from"./form-actions.js";import{y as _}from"./ec23.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=m(_.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}=p(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)(h,{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)(u,{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)(d,{errors:[N.size]}),e[31]=N.size,e[32]=q);let J;e[33]!==K||e[34]!==q?(J=(0,y.jsxs)(f,{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)(g,{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 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{dn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{O as u,j as d}from"./ec2.js";import{z as f}from"./ec22.js";import{t as p}from"./_id17.js";import{t as m}from"./page-heading.js";import{n as h,t as g}from"./detail-row.js";import{t as _}from"./state-badge.js";import{t as v}from"./error-banner.js";import{t as y}from"./delete-confirmation-dialog.js";var b=e(n()),x=t();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)(v,{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)(_,{state:C.State})]}),subtitle:`VPC Details`,title:k?`${C.VpcId} (${k})`:C.VpcId}),(0,x.jsxs)(h,{children:[(0,x.jsx)(h.Header,{children:`VPC Information`}),(0,x.jsxs)(h.Content,{children:[(0,x.jsx)(g,{label:`VPC ID`,value:C.VpcId}),(0,x.jsx)(g,{label:`State`,value:C.State}),(0,x.jsx)(g,{label:`CIDR Block`,value:C.CidrBlock}),(0,x.jsx)(g,{label:`Is Default`,value:C.IsDefault?`Yes`:`No`}),(0,x.jsx)(g,{label:`DHCP Options ID`,value:C.DhcpOptionsId}),(0,x.jsx)(g,{label:`Instance Tenancy`,value:C.InstanceTenancy}),(0,x.jsx)(g,{label:`Owner ID`,value:C.OwnerId})]})]}),D.length>0&&(0,x.jsxs)(h,{children:[(0,x.jsxs)(h.Header,{children:[`Subnets (`,D.length,`)`]}),D.map(e=>e.SubnetId?(0,x.jsxs)(h.Content,{children:[(0,x.jsx)(g,{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)(g,{label:`CIDR Block`,value:e.CidrBlock}),(0,x.jsx)(g,{label:`Availability Zone`,value:e.AvailabilityZone}),(0,x.jsx)(g,{label:`State`,value:e.State})]},e.SubnetId):null)]})]}),(0,x.jsx)(y,{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.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{dn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{O as u,j as d}from"./ec2.js";import{z as f}from"./ec22.js";import{t as p}from"./_id17.js";import{t as m}from"./page-heading.js";import{n as h,t as g}from"./detail-row.js";import{t as _}from"./state-badge.js";import{t as v}from"./error-banner.js";import{t as y}from"./delete-confirmation-dialog.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)(v,{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)(_,{state:C.State})]}),subtitle:`VPC Details`,title:k?`${C.VpcId} (${k})`:C.VpcId}),(0,x.jsxs)(h,{children:[(0,x.jsx)(h.Header,{children:`VPC Information`}),(0,x.jsxs)(h.Content,{children:[(0,x.jsx)(g,{label:`VPC ID`,value:C.VpcId}),(0,x.jsx)(g,{label:`State`,value:C.State}),(0,x.jsx)(g,{label:`CIDR Block`,value:C.CidrBlock}),(0,x.jsx)(g,{label:`Is Default`,value:C.IsDefault?`Yes`:`No`}),(0,x.jsx)(g,{label:`DHCP Options ID`,value:C.DhcpOptionsId}),(0,x.jsx)(g,{label:`Instance Tenancy`,value:C.InstanceTenancy}),(0,x.jsx)(g,{label:`Owner ID`,value:C.OwnerId})]})]}),D.length>0&&(0,x.jsxs)(h,{children:[(0,x.jsxs)(h.Header,{children:[`Subnets (`,D.length,`)`]}),D.map(e=>e.SubnetId?(0,x.jsxs)(h.Content,{children:[(0,x.jsx)(g,{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)(g,{label:`CIDR Block`,value:e.CidrBlock}),(0,x.jsx)(g,{label:`Availability Zone`,value:e.AvailabilityZone}),(0,x.jsx)(g,{label:`State`,value:e.State})]},e.SubnetId):null)]})]}),(0,x.jsx)(y,{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,4 +1,4 @@
|
||||
import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{t as i}from"./useSuspenseQuery.js";import{t as a}from"./link.js";import{cn as o,ln as s,t as c}from"./cluster-config.js";import{t as l}from"./button.js";import{i as u,n as d,r as f,t as p}from"./ecr.js";import{a as m,c as h,l as g,o as _,r as v,s as y,t as b}from"./ecr2.js";import{r as x}from"./json.js";import{t as S}from"./_id18.js";import{t as C}from"./page-heading.js";import{t as w}from"./badge.js";import{a as T,i as E,l as D,n as O,o as k,r as A,s as j,t as M}from"./alert-dialog.js";import{i as N,n as P,r as F,t as I}from"./tabs.js";import{t as ee}from"./json-editor.js";var L=r(),R=e(n(),1),z=t(),B=`{
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime.js";import{t as i}from"./useSuspenseQuery.js";import{t as a}from"./link.js";import{cn as o,ln as s,t as c}from"./cluster-config.js";import{t as l}from"./button.js";import{i as u,n as d,r as f,t as p}from"./ecr.js";import{a as m,c as h,l as g,o as _,r as v,s as y,t as b}from"./ecr2.js";import{r as x}from"./json.js";import{t as S}from"./_id18.js";import{t as C}from"./page-heading.js";import{t as w}from"./badge.js";import{a as T,i as E,l as D,n as O,o as k,r as A,s as j,t as M}from"./alert-dialog.js";import{i as N,n as P,r as F,t as I}from"./tabs.js";import{t as ee}from"./json-editor.js";var L=r(),R=t(n(),1),z=e(),B=`{
|
||||
"rules": [
|
||||
{
|
||||
"rulePriority": 1,
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id23.js","assets/compiler-runtime.js","assets/QueryClientProvider.js","assets/useMutation.js","assets/mutation.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/circle-arrow-up.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/admin-context.js","assets/sts.js","assets/signed-fetch.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/subnet-calculator.js","assets/page-heading.js","assets/state-badge.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/system-managed.js","assets/ami-details.js","assets/detail-row.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{a as r}from"./ec2.js";var i=e(`/_auth/ec2/(images)/describe-images/$id`)({loader:async({context:e,params:t})=>await e.queryClient.ensureQueryData(r(t.id)),head:({loaderData:e})=>({meta:[{title:`${e?.Images?.[0]?.Name??`Image`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id23.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{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id23.js","assets/compiler-runtime.js","assets/QueryClientProvider.js","assets/useMutation.js","assets/mutation.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/with-selector.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/circle-arrow-up.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/admin-context.js","assets/sts.js","assets/signed-fetch.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/subnet-calculator.js","assets/page-heading.js","assets/state-badge.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/system-managed.js","assets/ami-details.js","assets/detail-row.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{a as r}from"./ec2.js";var i=e(`/_auth/ec2/(images)/describe-images/$id`)({loader:async({context:e,params:t})=>await e.queryClient.ensureQueryData(r(t.id)),head:({loaderData:e})=>({meta:[{title:`${e?.Images?.[0]?.Name??`Image`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id23.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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id24.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/link.js","assets/useStore.js","assets/cluster-config.js","assets/hex-encoding.js","assets/createLucideIcon.js","assets/back-link.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/rotate-cw.js","assets/trash-2.js","assets/input.js","assets/admin-context.js","assets/sts.js","assets/signed-fetch.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/iam2.js","assets/commandBuilder3.js","assets/json.js","assets/page-heading.js","assets/admin.js","assets/detail-row.js","assets/state-badge.js","assets/textarea.js","assets/error-banner.js","assets/field.js","assets/separator.js","assets/label.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/delete-confirmation-dialog.js","assets/ami-details.js","assets/gpu-instance-type-select.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{a as r,c as i,s as a}from"./ec2.js";var o=e(`/_auth/ec2/(instances)/describe-instances/$id`)({loader:async({context:e,params:t})=>{let[n]=await Promise.all([e.queryClient.ensureQueryData(a(t.id)),e.queryClient.ensureQueryData(i)]),o=n.Reservations?.[0]?.Instances?.[0]?.ImageId;return await e.queryClient.ensureQueryData(r(o)),n},head:({loaderData:e})=>({meta:[{title:`${e?.Reservations?.[0]?.Instances?.[0]?.InstanceId??`Instance`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id24.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])),`component`)});export{o as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id24.js","assets/compiler-runtime.js","assets/useQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useSuspenseQuery.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/cluster-config.js","assets/hex-encoding.js","assets/createLucideIcon.js","assets/back-link.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/rotate-cw.js","assets/trash-2.js","assets/input.js","assets/admin-context.js","assets/sts.js","assets/signed-fetch.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/iam2.js","assets/commandBuilder4.js","assets/json.js","assets/page-heading.js","assets/admin.js","assets/detail-row.js","assets/state-badge.js","assets/textarea.js","assets/field.js","assets/separator.js","assets/label.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/delete-confirmation-dialog.js","assets/ami-details.js","assets/gpu-instance-type-select.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{a as r,c as i,s as a}from"./ec2.js";var o=e(`/_auth/ec2/(instances)/describe-instances/$id`)({loader:async({context:e,params:t})=>{let[n]=await Promise.all([e.queryClient.ensureQueryData(a(t.id)),e.queryClient.ensureQueryData(i)]),o=n.Reservations?.[0]?.Instances?.[0]?.ImageId;return await e.queryClient.ensureQueryData(r(o)),n},head:({loaderData:e})=>({meta:[{title:`${e?.Reservations?.[0]?.Instances?.[0]?.InstanceId??`Instance`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id24.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])),`component`)});export{o as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id25.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{M as r,u as i}from"./ec2.js";var a=e(`/_auth/ec2/(internet-gateways)/describe-internet-gateways/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | Internet Gateway | Mulga`}]}),component:t(()=>n(()=>import(`./_id25.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{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id25.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{M as r,u as i}from"./ec2.js";var a=e(`/_auth/ec2/(internet-gateways)/describe-internet-gateways/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(i(t.id)),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${e.id} | Internet Gateway | Mulga`}]}),component:t(()=>n(()=>import(`./_id25.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])),`component`)});export{a as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id26.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{f as r}from"./ec2.js";var i=e(`/_auth/ec2/(key)/describe-key-pairs/$id`)({loader:async({context:e,params:t})=>await e.queryClient.ensureQueryData(r(t.id)),head:({loaderData:e})=>({meta:[{title:`${e?.KeyPairs?.[0]?.KeyName??`Key Pair`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id26.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/_id26.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/with-selector.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{f as r}from"./ec2.js";var i=e(`/_auth/ec2/(key)/describe-key-pairs/$id`)({loader:async({context:e,params:t})=>await e.queryClient.ensureQueryData(r(t.id)),head:({loaderData:e})=>({meta:[{title:`${e?.KeyPairs?.[0]?.KeyName??`Key Pair`} | EC2 | Mulga`}]}),component:t(()=>n(()=>import(`./_id26.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])),`component`)});export{i as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id27.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/createLucideIcon.js","assets/back-link.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/input.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/badge.js","assets/useRender.js","assets/detail-row.js","assets/zod.js","assets/error-banner.js","assets/field.js","assets/separator.js","assets/label.js","assets/ec23.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/launch-template-data-fields.js","assets/textarea.js","assets/collapsible.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.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.js";var u=e(`/_auth/ec2/(launch-templates)/describe-launch-templates/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(a),e.queryClient.ensureQueryData(o(t.id)),e.queryClient.ensureQueryData(s),e.queryClient.ensureQueryData(i),e.queryClient.ensureQueryData(c),e.queryClient.ensureQueryData(r),e.queryClient.ensureQueryData(l)])},head:({params:e})=>({meta:[{title:`${e.id} | Launch Template | Mulga`}]}),component:t(()=>n(()=>import(`./_id27.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])),`component`)});export{u as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id27.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/createLucideIcon.js","assets/back-link.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/input.js","assets/ec2.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/ec22.js","assets/useMutation.js","assets/mutation.js","assets/subnet-calculator.js","assets/page-heading.js","assets/badge.js","assets/useRender.js","assets/detail-row.js","assets/field.js","assets/separator.js","assets/label.js","assets/zod.js","assets/error-banner.js","assets/ec23.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/launch-template-data-fields.js","assets/textarea.js","assets/collapsible.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.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.js";var u=e(`/_auth/ec2/(launch-templates)/describe-launch-templates/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(a),e.queryClient.ensureQueryData(o(t.id)),e.queryClient.ensureQueryData(s),e.queryClient.ensureQueryData(i),e.queryClient.ensureQueryData(c),e.queryClient.ensureQueryData(r),e.queryClient.ensureQueryData(l)])},head:({params:e})=>({meta:[{title:`${e.id} | Launch Template | Mulga`}]}),component:t(()=>n(()=>import(`./_id27.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])),`component`)});export{u as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id28.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/pencil.js","assets/trash-2.js","assets/input.js","assets/acm.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/certificate-import-dialog.js","assets/useMutation.js","assets/mutation.js","assets/textarea.js","assets/error-banner.js","assets/field.js","assets/separator.js","assets/label.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/ec2.js","assets/elbv2.js","assets/commandBuilder2.js","assets/elbv22.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/zod.js","assets/delete-confirmation-dialog.js","assets/elbv23.js","assets/attributes-editor.js","assets/tags-editor.js","assets/plus.js","assets/tabs.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{O as r}from"./ec2.js";import{i,n as a,r as o,s,u as c}from"./elbv22.js";var l=e(`/_auth/ec2/(load-balancers)/describe-load-balancers/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(i(n)),e.queryClient.ensureQueryData(a(n)),e.queryClient.ensureQueryData(o(n)),e.queryClient.ensureQueryData(s([n])),e.queryClient.ensureQueryData(c),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Load Balancer | Mulga`}]}),component:t(()=>n(()=>import(`./_id28.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])),`component`)});export{l as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_id28.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/with-selector.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/pencil.js","assets/trash-2.js","assets/input.js","assets/acm.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/certificate-import-dialog.js","assets/useMutation.js","assets/mutation.js","assets/textarea.js","assets/field.js","assets/separator.js","assets/label.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/ec2.js","assets/elbv2.js","assets/commandBuilder3.js","assets/elbv22.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/zod.js","assets/delete-confirmation-dialog.js","assets/elbv23.js","assets/attributes-editor.js","assets/tags-editor.js","assets/plus.js","assets/tabs.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{O as r}from"./ec2.js";import{i,n as a,r as o,s,u as c}from"./elbv22.js";var l=e(`/_auth/ec2/(load-balancers)/describe-load-balancers/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(i(n)),e.queryClient.ensureQueryData(a(n)),e.queryClient.ensureQueryData(o(n)),e.queryClient.ensureQueryData(s([n])),e.queryClient.ensureQueryData(c),e.queryClient.ensureQueryData(r)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Load Balancer | Mulga`}]}),component:t(()=>n(()=>import(`./_id28.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])),`component`)});export{l as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_instanceProfileName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder3.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{u as r,y as i}from"./iam2.js";var a=e(`/_auth/iam/(instance-profiles)/list-instance-profiles/$instanceProfileName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.instanceProfileName)),e.queryClient.ensureQueryData(i)])},head:({params:e})=>({meta:[{title:`${e.instanceProfileName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_instanceProfileName2.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])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_instanceProfileName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder4.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{u as r,y as i}from"./iam2.js";var a=e(`/_auth/iam/(instance-profiles)/list-instance-profiles/$instanceProfileName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.instanceProfileName)),e.queryClient.ensureQueryData(i)])},head:({params:e})=>({meta:[{title:`${e.instanceProfileName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_instanceProfileName2.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])),`component`)});export{a as t};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{cn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{D as u,h as d,t as f}from"./iam.js";import{u as p,y as m}from"./iam2.js";import{t as h}from"./_instanceProfileName.js";import{t as g}from"./page-heading.js";import{n as _,t as v}from"./detail-row.js";import{t as y}from"./error-banner.js";import{t as b}from"./delete-confirmation-dialog.js";var x=e(n()),S=t();function C(){let{instanceProfileName:e}=h.useParams(),t=a(),{data:n}=r(p(e)),{data:C}=r(m),w=d(),T=f(),E=u(),[D,O]=(0,x.useState)(!1),[k,A]=(0,x.useState)(!1),[j,M]=(0,x.useState)(null),N=n.InstanceProfile,P=N?.Roles??[],F=C.Roles??[],I=new Set(P.map(e=>e.RoleName)),L=F.filter(e=>e.RoleName&&!I.has(e.RoleName)),R=async()=>{try{await w.mutateAsync(e),t({to:`/iam/list-instance-profiles`})}finally{O(!1)}},z=async t=>{await T.mutateAsync({instanceProfileName:e,roleName:t}),A(!1)},B=async t=>{M(t);try{await E.mutateAsync({instanceProfileName:e,roleName:t})}finally{M(null)}};return N?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),w.error&&(0,S.jsx)(y,{error:w.error,msg:`Failed to delete instance profile`}),T.error&&(0,S.jsx)(y,{error:T.error,msg:`Failed to add role`}),E.error&&(0,S.jsx)(y,{error:E.error,msg:`Failed to remove role`}),(0,S.jsxs)(`div`,{className:`space-y-6`,children:[(0,S.jsx)(g,{actions:(0,S.jsxs)(l,{onClick:()=>{O(!0)},size:`sm`,variant:`destructive`,children:[(0,S.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Instance Profile Details`,title:N.InstanceProfileName??``}),(0,S.jsxs)(_,{children:[(0,S.jsx)(_.Header,{children:`Instance Profile Information`}),(0,S.jsxs)(_.Content,{children:[(0,S.jsx)(v,{label:`Name`,value:N.InstanceProfileName}),(0,S.jsx)(v,{label:`ID`,value:N.InstanceProfileId}),(0,S.jsx)(v,{label:`ARN`,value:N.Arn}),(0,S.jsx)(v,{label:`Path`,value:N.Path}),(0,S.jsx)(v,{label:`Created`,value:o(N.CreateDate)})]})]}),(0,S.jsxs)(_,{children:[(0,S.jsx)(_.Header,{children:(0,S.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,S.jsx)(`span`,{children:`Roles`}),(0,S.jsx)(l,{onClick:()=>{A(!k)},size:`sm`,children:`Add Role`})]})}),(0,S.jsxs)(_.Content,{children:[k&&L.length>0&&(0,S.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,S.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a role to add:`}),(0,S.jsx)(`div`,{className:`space-y-1`,children:L.map(e=>(0,S.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:T.isPending,onClick:()=>{e.RoleName&&z(e.RoleName)},type:`button`,children:[(0,S.jsx)(`span`,{children:e.RoleName}),(0,S.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.RoleName))})]}),k&&L.length===0&&(0,S.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No roles available to add.`}),P.length>0?(0,S.jsx)(`div`,{className:`col-span-2 space-y-3`,children:P.map(e=>(0,S.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,S.jsx)(i,{className:`text-sm font-medium text-primary hover:underline`,params:{roleName:e.RoleName??``},to:`/iam/list-roles/$roleName`,children:e.RoleName}),(0,S.jsx)(l,{disabled:j===e.RoleName,onClick:()=>{e.RoleName&&B(e.RoleName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.RoleName))}):(0,S.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No roles in this instance profile.`})]})]})]}),(0,S.jsx)(b,{description:`Are you sure you want to delete the instance profile "${e}"? This action cannot be undone. You must remove all roles first.`,isPending:w.isPending,onConfirm:R,onOpenChange:O,open:D,title:`Delete Instance Profile`})]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),(0,S.jsx)(`p`,{className:`text-muted-foreground`,children:`Instance profile not found.`})]})}export{C as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{cn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{D as u,h as d,t as f}from"./iam.js";import{u as p,y as m}from"./iam2.js";import{t as h}from"./_instanceProfileName.js";import{t as g}from"./page-heading.js";import{n as _,t as v}from"./detail-row.js";import{t as y}from"./error-banner.js";import{t as b}from"./delete-confirmation-dialog.js";var x=t(n()),S=e();function C(){let{instanceProfileName:e}=h.useParams(),t=a(),{data:n}=r(p(e)),{data:C}=r(m),w=d(),T=f(),E=u(),[D,O]=(0,x.useState)(!1),[k,A]=(0,x.useState)(!1),[j,M]=(0,x.useState)(null),N=n.InstanceProfile,P=N?.Roles??[],F=C.Roles??[],I=new Set(P.map(e=>e.RoleName)),L=F.filter(e=>e.RoleName&&!I.has(e.RoleName)),R=async()=>{try{await w.mutateAsync(e),t({to:`/iam/list-instance-profiles`})}finally{O(!1)}},z=async t=>{await T.mutateAsync({instanceProfileName:e,roleName:t}),A(!1)},B=async t=>{M(t);try{await E.mutateAsync({instanceProfileName:e,roleName:t})}finally{M(null)}};return N?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),w.error&&(0,S.jsx)(y,{error:w.error,msg:`Failed to delete instance profile`}),T.error&&(0,S.jsx)(y,{error:T.error,msg:`Failed to add role`}),E.error&&(0,S.jsx)(y,{error:E.error,msg:`Failed to remove role`}),(0,S.jsxs)(`div`,{className:`space-y-6`,children:[(0,S.jsx)(g,{actions:(0,S.jsxs)(l,{onClick:()=>{O(!0)},size:`sm`,variant:`destructive`,children:[(0,S.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Instance Profile Details`,title:N.InstanceProfileName??``}),(0,S.jsxs)(_,{children:[(0,S.jsx)(_.Header,{children:`Instance Profile Information`}),(0,S.jsxs)(_.Content,{children:[(0,S.jsx)(v,{label:`Name`,value:N.InstanceProfileName}),(0,S.jsx)(v,{label:`ID`,value:N.InstanceProfileId}),(0,S.jsx)(v,{label:`ARN`,value:N.Arn}),(0,S.jsx)(v,{label:`Path`,value:N.Path}),(0,S.jsx)(v,{label:`Created`,value:o(N.CreateDate)})]})]}),(0,S.jsxs)(_,{children:[(0,S.jsx)(_.Header,{children:(0,S.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,S.jsx)(`span`,{children:`Roles`}),(0,S.jsx)(l,{onClick:()=>{A(!k)},size:`sm`,children:`Add Role`})]})}),(0,S.jsxs)(_.Content,{children:[k&&L.length>0&&(0,S.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,S.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a role to add:`}),(0,S.jsx)(`div`,{className:`space-y-1`,children:L.map(e=>(0,S.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:T.isPending,onClick:()=>{e.RoleName&&z(e.RoleName)},type:`button`,children:[(0,S.jsx)(`span`,{children:e.RoleName}),(0,S.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.RoleName))})]}),k&&L.length===0&&(0,S.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No roles available to add.`}),P.length>0?(0,S.jsx)(`div`,{className:`col-span-2 space-y-3`,children:P.map(e=>(0,S.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,S.jsx)(i,{className:`text-sm font-medium text-primary hover:underline`,params:{roleName:e.RoleName??``},to:`/iam/list-roles/$roleName`,children:e.RoleName}),(0,S.jsx)(l,{disabled:j===e.RoleName,onClick:()=>{e.RoleName&&B(e.RoleName)},size:`sm`,variant:`outline`,children:`Remove`})]},e.RoleName))}):(0,S.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No roles in this instance profile.`})]})]})]}),(0,S.jsx)(b,{description:`Are you sure you want to delete the instance profile "${e}"? This action cannot be undone. You must remove all roles first.`,isPending:w.isPending,onConfirm:R,onOpenChange:O,open:D,title:`Delete Instance Profile`})]}):(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(s,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),(0,S.jsx)(`p`,{className:`text-muted-foreground`,children:`Instance profile not found.`})]})}export{C as component};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_knowledgeBaseId2.js","assets/compiler-runtime.js","assets/useMutation.js","assets/QueryClientProvider.js","assets/mutation.js","assets/useQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useSuspenseQuery.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/useStore.js","assets/createLucideIcon.js","assets/button.js","assets/dist.js","assets/awsClient.js","assets/index.browser.js","assets/bedrockAgent.js","assets/queryOptions.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/label.js","assets/textarea.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{r,t as i}from"./bedrockAgent.js";var a=e(`/_auth/bedrock/(knowledge-bases)/list-knowledge-bases/$knowledgeBaseId`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.knowledgeBaseId)),e.queryClient.ensureQueryData(i(t.knowledgeBaseId))])},head:({params:e})=>({meta:[{title:`${e.knowledgeBaseId} | Knowledge Base | Mulga`}]}),component:t(()=>n(()=>import(`./_knowledgeBaseId2.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])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_knowledgeBaseId2.js","assets/compiler-runtime.js","assets/useMutation.js","assets/QueryClientProvider.js","assets/mutation.js","assets/useQuery.js","assets/useBaseQuery.js","assets/query.js","assets/useSuspenseQuery.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/createLucideIcon.js","assets/button.js","assets/dist.js","assets/awsClient.js","assets/index.browser.js","assets/bedrockAgent.js","assets/queryOptions.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/label.js","assets/textarea.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{r,t as i}from"./bedrockAgent.js";var a=e(`/_auth/bedrock/(knowledge-bases)/list-knowledge-bases/$knowledgeBaseId`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.knowledgeBaseId)),e.queryClient.ensureQueryData(i(t.knowledgeBaseId))])},head:({params:e})=>({meta:[{title:`${e.knowledgeBaseId} | Knowledge Base | Mulga`}]}),component:t(()=>n(()=>import(`./_knowledgeBaseId2.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])),`component`)});export{a as t};
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_name3.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/input.js","assets/rds.js","assets/awsClient.js","assets/index.browser.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/rds3.js","assets/queryOptions.js","assets/page-heading.js","assets/detail-row.js","assets/tabs.js","assets/rds-tags-tab.js","assets/useQuery.js","assets/tags-editor.js","assets/plus.js","assets/delete-db-parameter-group-dialog.js","assets/rds-delete-dialog.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{b as r}from"./rds.js";import{f as i,g as a,u as o}from"./rds3.js";var s=e(`/_auth/rds/(parameter-groups)/describe-db-parameter-groups/$name`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.name),[s]=await Promise.all([e.queryClient.ensureQueryData(o(n)),e.queryClient.ensureQueryData(i(n))]),c=r(n)?``:s.DBParameterGroups?.[0]?.DBParameterGroupArn??``;c!==``&&await e.queryClient.ensureQueryData(a(c))},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.name)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_name3.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};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_name3.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/with-selector.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/select.js","assets/useValueAsRef.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/button.js","assets/check.js","assets/chevron-down.js","assets/createBaseUIEventDetails.js","assets/useRegisterFieldControl.js","assets/useScrollLock.js","assets/usePositioner.js","assets/DirectionContext.js","assets/useControlled.js","assets/useCompositeListItem.js","assets/trash-2.js","assets/input.js","assets/rds.js","assets/awsClient.js","assets/index.browser.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/rds3.js","assets/queryOptions.js","assets/page-heading.js","assets/detail-row.js","assets/tabs.js","assets/rds-tags-tab.js","assets/useQuery.js","assets/tags-editor.js","assets/plus.js","assets/delete-db-parameter-group-dialog.js","assets/rds-delete-dialog.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{b as r}from"./rds.js";import{f as i,g as a,u as o}from"./rds3.js";var s=e(`/_auth/rds/(parameter-groups)/describe-db-parameter-groups/$name`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.name),[s]=await Promise.all([e.queryClient.ensureQueryData(o(n)),e.queryClient.ensureQueryData(i(n))]),c=r(n)?``:s.DBParameterGroups?.[0]?.DBParameterGroupArn??``;c!==``&&await e.queryClient.ensureQueryData(a(c))},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.name)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_name3.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])),`component`)});export{s as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_name4.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/rds3.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/rds.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/tabs.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/useControlled.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/rds-tags-tab.js","assets/useQuery.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/tags-editor.js","assets/plus.js","assets/input.js","assets/useRegisterFieldControl.js","assets/delete-db-subnet-group-dialog.js","assets/rds-delete-dialog.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{g as r,m as i}from"./rds3.js";var a=e(`/_auth/rds/(subnet-groups)/describe-db-subnet-groups/$name`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.name),a=(await e.queryClient.ensureQueryData(i(n))).DBSubnetGroups?.[0]?.DBSubnetGroupArn??``;a!==``&&await e.queryClient.ensureQueryData(r(a))},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.name)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_name4.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/_name4.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/cluster-config.js","assets/hex-encoding.js","assets/rds3.js","assets/queryOptions.js","assets/awsClient.js","assets/index.browser.js","assets/rds.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/tabs.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/useControlled.js","assets/DirectionContext.js","assets/useCompositeListItem.js","assets/rds-tags-tab.js","assets/useQuery.js","assets/rds2.js","assets/useMutation.js","assets/mutation.js","assets/tags-editor.js","assets/plus.js","assets/input.js","assets/useRegisterFieldControl.js","assets/delete-db-subnet-group-dialog.js","assets/rds-delete-dialog.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{g as r,m as i}from"./rds3.js";var a=e(`/_auth/rds/(subnet-groups)/describe-db-subnet-groups/$name`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.name),a=(await e.queryClient.ensureQueryData(i(n))).DBSubnetGroups?.[0]?.DBSubnetGroupArn??``;a!==``&&await e.queryClient.ensureQueryData(r(a))},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.name)} | RDS | Mulga`}]}),component:t(()=>n(()=>import(`./_name4.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{a as t};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_policyArn2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder3.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/policy-document-viewer.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{h as r,m as i}from"./iam2.js";var a=e(`/_auth/iam/(policies)/list-policies/$policyArn`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.policyArn),a=await e.queryClient.ensureQueryData(i(n)),o=a.Policy?.DefaultVersionId;return o&&await e.queryClient.ensureQueryData(r(n,o)),a},head:({loaderData:e})=>({meta:[{title:`${e?.Policy?.PolicyName??`Policy`} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_policyArn2.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])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_policyArn2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/useNavigate.js","assets/useStore.js","assets/with-selector.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder4.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/policy-document-viewer.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{h as r,m as i}from"./iam2.js";var a=e(`/_auth/iam/(policies)/list-policies/$policyArn`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.policyArn),a=await e.queryClient.ensureQueryData(i(n)),o=a.Policy?.DefaultVersionId;return o&&await e.queryClient.ensureQueryData(r(n,o)),a},head:({loaderData:e})=>({meta:[{title:`${e?.Policy?.PolicyName??`Policy`} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_policyArn2.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])),`component`)});export{a as t};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./useNavigate.js";import{cn as a}from"./cluster-config.js";import{t as o}from"./back-link.js";import{t as s}from"./trash-2.js";import{t as c}from"./button.js";import{g as l}from"./iam.js";import{h as u,m as d}from"./iam2.js";import{t as f}from"./_policyArn.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./error-banner.js";import{t as _}from"./delete-confirmation-dialog.js";import{t as v}from"./policy-document-viewer.js";var y=e(n()),b=t();function x(){let{policyArn:e}=f.useParams(),t=decodeURIComponent(e),n=i(),{data:x}=r(d(t)),S=x.Policy,C=l(),[w,T]=(0,y.useState)(!1),E=S?.DefaultVersionId??`v1`,{data:D}=r(u(t,E)),O=D?.PolicyVersion?.Document?decodeURIComponent(D.PolicyVersion.Document):null;return S?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o,{to:`/iam/list-policies`,children:`Back to policies`}),C.error&&(0,b.jsx)(g,{error:C.error,msg:`Failed to delete policy`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(p,{actions:(0,b.jsxs)(c,{onClick:()=>{T(!0)},size:`sm`,variant:`destructive`,children:[(0,b.jsx)(s,{className:`size-4`}),`Delete`]}),subtitle:`Policy Details`,title:S.PolicyName??``}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Policy Information`}),(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{label:`Policy Name`,value:S.PolicyName}),(0,b.jsx)(h,{label:`Policy ID`,value:S.PolicyId}),(0,b.jsx)(h,{label:`ARN`,value:S.Arn}),(0,b.jsx)(h,{label:`Path`,value:S.Path}),(0,b.jsx)(h,{label:`Description`,value:S.Description??`-`}),(0,b.jsx)(h,{label:`Created`,value:a(S.CreateDate)})]})]}),O&&(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Policy Document`}),(0,b.jsx)(`div`,{className:`p-4`,children:(0,b.jsx)(v,{document:O})})]})]}),(0,b.jsx)(_,{description:`Are you sure you want to delete the policy "${S.PolicyName}"? This action cannot be undone.`,isPending:C.isPending,onConfirm:async()=>{try{await C.mutateAsync(t),n({to:`/iam/list-policies`})}finally{T(!1)}},onOpenChange:T,open:w,title:`Delete Policy`})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o,{to:`/iam/list-policies`,children:`Back to policies`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`Policy not found.`})]})}export{x as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./useNavigate.js";import{cn as a}from"./cluster-config.js";import{t as o}from"./back-link.js";import{t as s}from"./trash-2.js";import{t as c}from"./button.js";import{g as l}from"./iam.js";import{h as u,m as d}from"./iam2.js";import{t as f}from"./_policyArn.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./error-banner.js";import{t as _}from"./delete-confirmation-dialog.js";import{t as v}from"./policy-document-viewer.js";var y=t(n()),b=e();function x(){let{policyArn:e}=f.useParams(),t=decodeURIComponent(e),n=i(),{data:x}=r(d(t)),S=x.Policy,C=l(),[w,T]=(0,y.useState)(!1),E=S?.DefaultVersionId??`v1`,{data:D}=r(u(t,E)),O=D?.PolicyVersion?.Document?decodeURIComponent(D.PolicyVersion.Document):null;return S?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o,{to:`/iam/list-policies`,children:`Back to policies`}),C.error&&(0,b.jsx)(g,{error:C.error,msg:`Failed to delete policy`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(p,{actions:(0,b.jsxs)(c,{onClick:()=>{T(!0)},size:`sm`,variant:`destructive`,children:[(0,b.jsx)(s,{className:`size-4`}),`Delete`]}),subtitle:`Policy Details`,title:S.PolicyName??``}),(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Policy Information`}),(0,b.jsxs)(m.Content,{children:[(0,b.jsx)(h,{label:`Policy Name`,value:S.PolicyName}),(0,b.jsx)(h,{label:`Policy ID`,value:S.PolicyId}),(0,b.jsx)(h,{label:`ARN`,value:S.Arn}),(0,b.jsx)(h,{label:`Path`,value:S.Path}),(0,b.jsx)(h,{label:`Description`,value:S.Description??`-`}),(0,b.jsx)(h,{label:`Created`,value:a(S.CreateDate)})]})]}),O&&(0,b.jsxs)(m,{children:[(0,b.jsx)(m.Header,{children:`Policy Document`}),(0,b.jsx)(`div`,{className:`p-4`,children:(0,b.jsx)(v,{document:O})})]})]}),(0,b.jsx)(_,{description:`Are you sure you want to delete the policy "${S.PolicyName}"? This action cannot be undone.`,isPending:C.isPending,onConfirm:async()=>{try{await C.mutateAsync(t),n({to:`/iam/list-policies`})}finally{T(!1)}},onOpenChange:T,open:w,title:`Delete Policy`})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(o,{to:`/iam/list-policies`,children:`Back to policies`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`Policy not found.`})]})}export{x as component};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_roleName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder3.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/policy-document-viewer.js","assets/inline-policies-panel.js","assets/useQuery.js","assets/input.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/field.js","assets/separator.js","assets/label.js","assets/json-editor.js","assets/textarea.js","assets/iam3.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{d as r,g as i,p as a,r as o,v as s}from"./iam2.js";var c=e(`/_auth/iam/(roles)/list-roles/$roleName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(s(t.roleName)),e.queryClient.ensureQueryData(o(t.roleName)),e.queryClient.ensureQueryData(r(t.roleName)),e.queryClient.ensureQueryData(a),e.queryClient.ensureQueryData(i(t.roleName))])},head:({params:e})=>({meta:[{title:`${e.roleName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_roleName2.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{c as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_roleName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/trash-2.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder4.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/error-banner.js","assets/delete-confirmation-dialog.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/policy-document-viewer.js","assets/inline-policies-panel.js","assets/useQuery.js","assets/input.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/field.js","assets/separator.js","assets/label.js","assets/json-editor.js","assets/textarea.js","assets/iam3.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{d as r,g as i,p as a,r as o,v as s}from"./iam2.js";var c=e(`/_auth/iam/(roles)/list-roles/$roleName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(s(t.roleName)),e.queryClient.ensureQueryData(o(t.roleName)),e.queryClient.ensureQueryData(r(t.roleName)),e.queryClient.ensureQueryData(a),e.queryClient.ensureQueryData(i(t.roleName))])},head:({params:e})=>({meta:[{title:`${e.roleName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_roleName2.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{c as t};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{cn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{_ as u}from"./iam.js";import{d,v as f}from"./iam2.js";import{t as p}from"./_roleName.js";import{t as m}from"./page-heading.js";import{n as h,t as g}from"./detail-row.js";import{t as _}from"./error-banner.js";import{t as v}from"./delete-confirmation-dialog.js";import{t as y}from"./policy-document-viewer.js";import{n as b,t as x}from"./inline-policies-panel.js";var S=e(n()),C=t();function w(){let{roleName:e}=p.useParams(),t=a(),{data:n}=r(f(e)),{data:w}=r(d(e)),T=u(),[E,D]=(0,S.useState)(!1),O=n.Role,k=w.InstanceProfiles??[],A=O?.AssumeRolePolicyDocument?decodeURIComponent(O.AssumeRolePolicyDocument):null;return O?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s,{to:`/iam/list-roles`,children:`Back to roles`}),T.error&&(0,C.jsx)(_,{error:T.error,msg:`Failed to delete role`}),(0,C.jsxs)(`div`,{className:`space-y-6`,children:[(0,C.jsx)(m,{actions:(0,C.jsxs)(l,{onClick:()=>{D(!0)},size:`sm`,variant:`destructive`,children:[(0,C.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Role Details`,title:O.RoleName??``}),(0,C.jsxs)(h,{children:[(0,C.jsx)(h.Header,{children:`Role Information`}),(0,C.jsxs)(h.Content,{children:[(0,C.jsx)(g,{label:`Role Name`,value:O.RoleName}),(0,C.jsx)(g,{label:`Role ID`,value:O.RoleId}),(0,C.jsx)(g,{label:`ARN`,value:O.Arn}),(0,C.jsx)(g,{label:`Path`,value:O.Path}),(0,C.jsx)(g,{label:`Description`,value:O.Description??`-`}),(0,C.jsx)(g,{label:`Created`,value:o(O.CreateDate)})]})]}),A&&(0,C.jsxs)(h,{children:[(0,C.jsx)(h.Header,{children:`Trust Policy`}),(0,C.jsx)(`div`,{className:`p-4`,children:(0,C.jsx)(y,{document:A})})]}),(0,C.jsx)(b,{kind:`role`,name:e}),(0,C.jsx)(x,{kind:`role`,name:e}),(0,C.jsxs)(h,{children:[(0,C.jsx)(h.Header,{children:`Instance Profiles`}),(0,C.jsx)(h.Content,{children:k.length>0?(0,C.jsx)(`div`,{className:`col-span-2 space-y-3`,children:k.map(e=>(0,C.jsxs)(i,{className:`flex items-center justify-between rounded-md border p-3 transition-colors hover:bg-accent`,params:{instanceProfileName:e.InstanceProfileName??``},to:`/iam/list-instance-profiles/$instanceProfileName`,children:[(0,C.jsx)(`p`,{className:`text-sm font-medium`,children:e.InstanceProfileName}),(0,C.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.InstanceProfileName))}):(0,C.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`This role is not in any instance profile.`})})]})]}),(0,C.jsx)(v,{description:`Are you sure you want to delete the role "${e}"? This action cannot be undone. You must detach all policies and remove it from all instance profiles first.`,isPending:T.isPending,onConfirm:async()=>{try{await T.mutateAsync(e),t({to:`/iam/list-roles`})}finally{D(!1)}},onOpenChange:D,open:E,title:`Delete Role`})]}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s,{to:`/iam/list-roles`,children:`Back to roles`}),(0,C.jsx)(`p`,{className:`text-muted-foreground`,children:`Role not found.`})]})}export{w as component};
|
||||
import{n as e,o as t,r as n}from"./compiler-runtime.js";import{t as r}from"./useSuspenseQuery.js";import{t as i}from"./link.js";import{t as a}from"./useNavigate.js";import{cn as o}from"./cluster-config.js";import{t as s}from"./back-link.js";import{t as c}from"./trash-2.js";import{t as l}from"./button.js";import{_ as u}from"./iam.js";import{d,v as f}from"./iam2.js";import{t as p}from"./_roleName.js";import{t as m}from"./page-heading.js";import{n as h,t as g}from"./detail-row.js";import{t as _}from"./error-banner.js";import{t as v}from"./delete-confirmation-dialog.js";import{t as y}from"./policy-document-viewer.js";import{n as b,t as x}from"./inline-policies-panel.js";var S=t(n()),C=e();function w(){let{roleName:e}=p.useParams(),t=a(),{data:n}=r(f(e)),{data:w}=r(d(e)),T=u(),[E,D]=(0,S.useState)(!1),O=n.Role,k=w.InstanceProfiles??[],A=O?.AssumeRolePolicyDocument?decodeURIComponent(O.AssumeRolePolicyDocument):null;return O?(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s,{to:`/iam/list-roles`,children:`Back to roles`}),T.error&&(0,C.jsx)(_,{error:T.error,msg:`Failed to delete role`}),(0,C.jsxs)(`div`,{className:`space-y-6`,children:[(0,C.jsx)(m,{actions:(0,C.jsxs)(l,{onClick:()=>{D(!0)},size:`sm`,variant:`destructive`,children:[(0,C.jsx)(c,{className:`size-4`}),`Delete`]}),subtitle:`Role Details`,title:O.RoleName??``}),(0,C.jsxs)(h,{children:[(0,C.jsx)(h.Header,{children:`Role Information`}),(0,C.jsxs)(h.Content,{children:[(0,C.jsx)(g,{label:`Role Name`,value:O.RoleName}),(0,C.jsx)(g,{label:`Role ID`,value:O.RoleId}),(0,C.jsx)(g,{label:`ARN`,value:O.Arn}),(0,C.jsx)(g,{label:`Path`,value:O.Path}),(0,C.jsx)(g,{label:`Description`,value:O.Description??`-`}),(0,C.jsx)(g,{label:`Created`,value:o(O.CreateDate)})]})]}),A&&(0,C.jsxs)(h,{children:[(0,C.jsx)(h.Header,{children:`Trust Policy`}),(0,C.jsx)(`div`,{className:`p-4`,children:(0,C.jsx)(y,{document:A})})]}),(0,C.jsx)(b,{kind:`role`,name:e}),(0,C.jsx)(x,{kind:`role`,name:e}),(0,C.jsxs)(h,{children:[(0,C.jsx)(h.Header,{children:`Instance Profiles`}),(0,C.jsx)(h.Content,{children:k.length>0?(0,C.jsx)(`div`,{className:`col-span-2 space-y-3`,children:k.map(e=>(0,C.jsxs)(i,{className:`flex items-center justify-between rounded-md border p-3 transition-colors hover:bg-accent`,params:{instanceProfileName:e.InstanceProfileName??``},to:`/iam/list-instance-profiles/$instanceProfileName`,children:[(0,C.jsx)(`p`,{className:`text-sm font-medium`,children:e.InstanceProfileName}),(0,C.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.InstanceProfileName))}):(0,C.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`This role is not in any instance profile.`})})]})]}),(0,C.jsx)(v,{description:`Are you sure you want to delete the role "${e}"? This action cannot be undone. You must detach all policies and remove it from all instance profiles first.`,isPending:T.isPending,onConfirm:async()=>{try{await T.mutateAsync(e),t({to:`/iam/list-roles`})}finally{D(!1)}},onOpenChange:D,open:E,title:`Delete Role`})]}):(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(s,{to:`/iam/list-roles`,children:`Back to roles`}),(0,C.jsx)(`p`,{className:`text-muted-foreground`,children:`Role not found.`})]})}export{w as component};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_serviceName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/back-link.js","assets/createLucideIcon.js","assets/ecs.js","assets/queryOptions.js","assets/cluster-config.js","assets/hex-encoding.js","assets/awsClient.js","assets/index.browser.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{i as r,s as i}from"./ecs.js";var a=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName_/services/$serviceName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.clusterName)),e.queryClient.ensureQueryData(i(t.clusterName))])},head:({params:e})=>({meta:[{title:`${e.serviceName} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_serviceName2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18])),`component`)});export{a as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_serviceName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/back-link.js","assets/createLucideIcon.js","assets/ecs.js","assets/queryOptions.js","assets/cluster-config.js","assets/hex-encoding.js","assets/awsClient.js","assets/index.browser.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{i as r,s as i}from"./ecs.js";var a=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName_/services/$serviceName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.clusterName)),e.queryClient.ensureQueryData(i(t.clusterName))])},head:({params:e})=>({meta:[{title:`${e.serviceName} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_serviceName2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19])),`component`)});export{a as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_taskId2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/back-link.js","assets/link.js","assets/useStore.js","assets/createLucideIcon.js","assets/ecs.js","assets/queryOptions.js","assets/cluster-config.js","assets/hex-encoding.js","assets/awsClient.js","assets/index.browser.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{s as r}from"./ecs.js";var i=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName_/tasks/$taskId`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.clusterName))},head:({params:e})=>({meta:[{title:`${e.taskId} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_taskId2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18])),`component`)});export{i as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_taskId2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/back-link.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/createLucideIcon.js","assets/ecs.js","assets/queryOptions.js","assets/cluster-config.js","assets/hex-encoding.js","assets/awsClient.js","assets/index.browser.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{s as r}from"./ecs.js";var i=e(`/_auth/ecs/(clusters)/list-clusters/$clusterName_/tasks/$taskId`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r(t.clusterName))},head:({params:e})=>({meta:[{title:`${e.taskId} | ECS | Mulga`}]}),component:t(()=>n(()=>import(`./_taskId2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19])),`component`)});export{i as t};
|
||||
@@ -1,2 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_userName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/check.js","assets/trash-2.js","assets/triangle-alert.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder3.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/use-copy-to-clipboard.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/inline-policies-panel.js","assets/useQuery.js","assets/input.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/field.js","assets/separator.js","assets/label.js","assets/json-editor.js","assets/textarea.js","assets/iam3.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{S as r,b as i,c as a,i as o,p as s,t as c}from"./iam2.js";var l=e(`/_auth/iam/(users)/list-users/$userName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.userName)),e.queryClient.ensureQueryData(c(t.userName)),e.queryClient.ensureQueryData(o(t.userName)),e.queryClient.ensureQueryData(s),e.queryClient.ensureQueryData(a(t.userName)),e.queryClient.ensureQueryData(i(t.userName))])},head:({params:e})=>({meta:[{title:`${e.userName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_userName2.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])),`component`)});export{l as t};
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_userName2.js","assets/compiler-runtime.js","assets/useSuspenseQuery.js","assets/useBaseQuery.js","assets/QueryClientProvider.js","assets/query.js","assets/link.js","assets/useStore.js","assets/with-selector.js","assets/useNavigate.js","assets/cluster-config.js","assets/hex-encoding.js","assets/back-link.js","assets/createLucideIcon.js","assets/check.js","assets/trash-2.js","assets/triangle-alert.js","assets/button.js","assets/dist.js","assets/iam.js","assets/useMutation.js","assets/mutation.js","assets/awsClient.js","assets/index.browser.js","assets/commandBuilder4.js","assets/iam2.js","assets/queryOptions.js","assets/json.js","assets/page-heading.js","assets/detail-row.js","assets/state-badge.js","assets/use-copy-to-clipboard.js","assets/error-banner.js","assets/alert-dialog.js","assets/DialogTitle.js","assets/useValueAsRef.js","assets/createBaseUIEventDetails.js","assets/useScrollLock.js","assets/delete-confirmation-dialog.js","assets/inline-policies-panel.js","assets/useQuery.js","assets/input.js","assets/useRegisterFieldControl.js","assets/useControlled.js","assets/field.js","assets/separator.js","assets/label.js","assets/json-editor.js","assets/textarea.js","assets/iam3.js"])))=>i.map(i=>d[i]);
|
||||
import{n as e,t}from"./lazyRouteComponent.js";import{lt as n}from"./cluster-config.js";import{S as r,b as i,c as a,i as o,p as s,t as c}from"./iam2.js";var l=e(`/_auth/iam/(users)/list-users/$userName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(r(t.userName)),e.queryClient.ensureQueryData(c(t.userName)),e.queryClient.ensureQueryData(o(t.userName)),e.queryClient.ensureQueryData(s),e.queryClient.ensureQueryData(a(t.userName)),e.queryClient.ensureQueryData(i(t.userName))])},head:({params:e})=>({meta:[{title:`${e.userName} | IAM | Mulga`}]}),component:t(()=>n(()=>import(`./_userName2.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{l as t};
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{t as e}from"./queryOptions.js";import{Lt as t,_t as n}from"./cluster-config.js";import{Aa as r,ja as i,n as a}from"./awsClient.js";var o=t(i,`CertificateManager`,`ACMClient`,n),s={ServiceType:{type:`staticContextParams`,value:`ACM`}},c=(e,t,n,r)=>[],l=class extends o(s,c,`ListCertificates`,r){},u=e({queryKey:[`acm`,`certificates`],queryFn:async()=>{let e=new l({});return await a().send(e)}});export{o as i,s as n,c as r,u as t};
|
||||
import{t as e}from"./queryOptions.js";import{Lt as t,_t as n}from"./cluster-config.js";import{Ma as r,Na as i,n as a}from"./awsClient.js";var o=t(i,`CertificateManager`,`ACMClient`,n),s={ServiceType:{type:`staticContextParams`,value:`ACM`}},c=(e,t,n,r)=>[],l=class extends o(s,c,`ListCertificates`,r){},u=e({queryKey:[`acm`,`certificates`],queryFn:async()=>{let e=new l({});return await a().send(e)}});export{o as i,s as n,c as r,u as t};
|
||||
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{a as i}from"./cluster-config.js";import{a,i as o,n as s,o as c,r as l}from"./sts.js";import{n as u}from"./signed-fetch.js";var d=class extends a(l,o,`GetCallerIdentity`,c){},f=r(),p=e(n(),1),m=t(),h=`000000000001`;function g(e){let t=e?.indexOf(`:user/`)??-1;return t===-1||e===void 0?null:e.slice(t+6)||null}var _=(0,p.createContext)(void 0);function v(e){let t=(0,f.c)(6),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={isAdmin:!1,accountId:null,userName:null,version:null,license:null,loading:!0},t[0]=r):r=t[0];let[a,o]=(0,p.useState)(r),c,l;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(c=()=>{(async function(){let e=i();if(!e){o(b);return}try{let t=await s().send(new d({})),n=t.Account??null,r=n===h,i=null;if(r)try{i=await u({action:`GetVersion`,credentials:e})}catch{}o({isAdmin:r,accountId:n,userName:g(t.Arn),version:i,license:i?.license??null,loading:!1})}catch{o(y)}})()},l=[],t[1]=c,t[2]=l):(c=t[1],l=t[2]),(0,p.useEffect)(c,l);let v;return t[3]!==n||t[4]!==a?(v=(0,m.jsx)(_,{value:a,children:n}),t[3]=n,t[4]=a,t[5]=v):v=t[5],v}function y(e){return{...e,loading:!1}}function b(e){return{...e,loading:!1}}function x(){let e=(0,p.useContext)(_);if(e===void 0)throw Error(`useAdmin must be used within an AdminProvider`);return e}export{x as n,v as t};
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime.js";import{a as i}from"./cluster-config.js";import{a,i as o,n as s,o as c,r as l}from"./sts.js";import{n as u}from"./signed-fetch.js";var d=class extends a(l,o,`GetCallerIdentity`,c){},f=r(),p=t(n(),1),m=e(),h=`000000000001`;function g(e){let t=e?.indexOf(`:user/`)??-1;return t===-1||e===void 0?null:e.slice(t+6)||null}var _=(0,p.createContext)(void 0);function v(e){let t=(0,f.c)(6),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r={isAdmin:!1,accountId:null,userName:null,version:null,license:null,loading:!0},t[0]=r):r=t[0];let[a,o]=(0,p.useState)(r),c,l;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(c=()=>{(async function(){let e=i();if(!e){o(b);return}try{let t=await s().send(new d({})),n=t.Account??null,r=n===h,i=null;if(r)try{i=await u({action:`GetVersion`,credentials:e})}catch{}o({isAdmin:r,accountId:n,userName:g(t.Arn),version:i,license:i?.license??null,loading:!1})}catch{o(y)}})()},l=[],t[1]=c,t[2]=l):(c=t[1],l=t[2]),(0,p.useEffect)(c,l);let v;return t[3]!==n||t[4]!==a?(v=(0,m.jsx)(_,{value:a,children:n}),t[3]=n,t[4]=a,t[5]=v):v=t[5],v}function y(e){return{...e,loading:!1}}function b(e){return{...e,loading:!1}}function x(){let e=(0,p.useContext)(_);if(e===void 0)throw Error(`useAdmin must be used within an AdminProvider`);return e}export{x as n,v as t};
|
||||
@@ -1,3 +1,3 @@
|
||||
import{n as e,t}from"./compiler-runtime.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{n as o}from"./ec22.js";import{t as s}from"./page-heading.js";import{a as c,i as l,t as u}from"./zod.js";import{t as d}from"./error-banner.js";import{t as f}from"./form-actions.js";import{a as p,t as m}from"./field.js";import{n as h}from"./ec23.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.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{n as o}from"./ec22.js";import{t as s}from"./page-heading.js";import{a as c,t as l}from"./field.js";import{a as u,i as d,t as f}from"./zod.js";import{t as p}from"./error-banner.js";import{t as m}from"./form-actions.js";import{n as h}from"./ec23.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:f(h),defaultValues:{name:``}},e[0]=b):b=e[0];let{control:x,handleSubmit:S,register:C,formState:w}=d(b),{isSubmitting:T}=w,E;e[1]===x?E=e[2]:(E={control:x},e[1]=x,e[2]=E);let D=u(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)(p,{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)(c,{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)(l,{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)(m,{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};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{t as e}from"./queryOptions.js";import{Lt as t,_t as n}from"./cluster-config.js";import{Da as r,Ea as i,Oa as a,a as o}from"./awsClient.js";var s=t(a,`AmazonBedrockControlPlaneService`,`BedrockClient`,n),c={},l=(e,t,n,r)=>[],u=class extends s(c,l,`GetGuardrail`,i){},d=class extends s(c,l,`ListGuardrails`,r){},f=3e4,p=e({queryKey:[`bedrock`,`guardrails`],queryFn:async()=>{let e=new d({});return await o().send(e)},staleTime:f}),m=t=>e({queryKey:[`bedrock`,`guardrails`,t],queryFn:async()=>{let e=new u({guardrailIdentifier:t});return await o().send(e)},staleTime:f}),h=t=>e({queryKey:[`bedrock`,`guardrails`,t,`versions`],queryFn:async()=>{let e=new d({guardrailIdentifier:t});return await o().send(e)},staleTime:f});export{h as n,p as r,m as t};
|
||||
import{t as e}from"./queryOptions.js";import{Lt as t,_t as n}from"./cluster-config.js";import{Aa as r,Da as i,Oa as a,a as o,ka as s}from"./awsClient.js";var c=t(r,`AmazonBedrockControlPlaneService`,`BedrockClient`,n),l={},u=(e,t,n,r)=>[],d=class extends c(l,u,`GetGuardrail`,i){},f=class extends c(l,u,`ListFoundationModels`,a){},p=class extends c(l,u,`ListGuardrails`,s){},m=3e4,h=3e4,g=e({queryKey:[`bedrock`,`guardrails`],queryFn:async()=>{let e=new p({});return await o().send(e)},staleTime:m}),_=t=>e({queryKey:[`bedrock`,`guardrails`,t],queryFn:async()=>{let e=new d({guardrailIdentifier:t});return await o().send(e)},staleTime:m}),v=t=>e({queryKey:[`bedrock`,`guardrails`,t,`versions`],queryFn:async()=>{let e=new p({guardrailIdentifier:t});return await o().send(e)},staleTime:m}),y=e({queryKey:[`bedrock`,`foundationModels`],queryFn:async()=>{let e=new f({});return await o().send(e)},staleTime:h});export{g as i,_ as n,v as r,y as t};
|
||||
@@ -1 +1 @@
|
||||
import{t as e}from"./queryOptions.js";import{Lt as t,_t as n}from"./cluster-config.js";import{Ca as r,Sa as i,Ta as a,r as o,wa as s,xa as c}from"./awsClient.js";var l=t(a,`AmazonBedrockAgentBuildTimeLambda`,`BedrockAgentClient`,n),u={},d=(e,t,n,r)=>[],f=class extends l(u,d,`GetKnowledgeBase`,c){},p=class extends l(u,d,`ListDataSources`,i){},m=class extends l(u,d,`ListIngestionJobs`,r){},h=class extends l(u,d,`ListKnowledgeBases`,s){},g=3e4,_=1e4,v=e({queryKey:[`bedrock-agent`,`knowledge-bases`],queryFn:async()=>{let e=new h({});return await o().send(e)},staleTime:g}),y=t=>e({queryKey:[`bedrock-agent`,`knowledge-bases`,t],queryFn:async()=>{let e=new f({knowledgeBaseId:t});return await o().send(e)},staleTime:g}),b=t=>e({queryKey:[`bedrock-agent`,`knowledge-bases`,t,`data-sources`],queryFn:async()=>{let e=new p({knowledgeBaseId:t});return await o().send(e)},staleTime:g}),x=(t,n)=>e({queryKey:[`bedrock-agent`,`knowledge-bases`,t,`data-sources`,n,`ingestion-jobs`],queryFn:async()=>{let e=new m({knowledgeBaseId:t,dataSourceId:n,sortBy:{attribute:`STARTED_AT`,order:`DESCENDING`}});return await o().send(e)},staleTime:_});export{v as i,x as n,y as r,b as t};
|
||||
import{t as e}from"./queryOptions.js";import{Lt as t,_t as n}from"./cluster-config.js";import{Ca as r,Ea as i,Sa as a,Ta as o,r as s,wa as c}from"./awsClient.js";var l=t(i,`AmazonBedrockAgentBuildTimeLambda`,`BedrockAgentClient`,n),u={},d=(e,t,n,r)=>[],f=class extends l(u,d,`GetKnowledgeBase`,a){},p=class extends l(u,d,`ListDataSources`,r){},m=class extends l(u,d,`ListIngestionJobs`,c){},h=class extends l(u,d,`ListKnowledgeBases`,o){},g=3e4,_=1e4,v=e({queryKey:[`bedrock-agent`,`knowledge-bases`],queryFn:async()=>{let e=new h({});return await s().send(e)},staleTime:g}),y=t=>e({queryKey:[`bedrock-agent`,`knowledge-bases`,t],queryFn:async()=>{let e=new f({knowledgeBaseId:t});return await s().send(e)},staleTime:g}),b=t=>e({queryKey:[`bedrock-agent`,`knowledge-bases`,t,`data-sources`],queryFn:async()=>{let e=new p({knowledgeBaseId:t});return await s().send(e)},staleTime:g}),x=(t,n)=>e({queryKey:[`bedrock-agent`,`knowledge-bases`,t,`data-sources`,n,`ingestion-jobs`],queryFn:async()=>{let e=new m({knowledgeBaseId:t,dataSourceId:n,sortBy:{attribute:`STARTED_AT`,order:`DESCENDING`}});return await s().send(e)},staleTime:_});export{v as i,x as n,y as r,b as t};
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -1 +1 @@
|
||||
import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{n as i}from"./QueryClientProvider.js";import{t as a}from"./useMutation.js";import{ka as o,n as s}from"./awsClient.js";import{i as c,n as l,r as u}from"./acm.js";import{t as d}from"./textarea.js";import{t as f}from"./error-banner.js";import{a as p,t as m}from"./field.js";import{a as ee,i as te,l as h,n as g,o as _,r as v,s as y,t as b}from"./alert-dialog.js";var x=class extends c(l,u,`ImportCertificate`,o){},S=e(n(),1),C=r(),w=new TextEncoder;function T(){let e=(0,C.c)(2),t=i(),n;return e[0]===t?n=e[1]:(n={mutationFn:E,onSuccess:()=>{t.invalidateQueries({queryKey:[`acm`,`certificates`]})}},e[0]=t,e[1]=n),a(n)}async function E(e){let t=new x({Certificate:w.encode(e.certificate),PrivateKey:w.encode(e.privateKey),CertificateChain:e.certificateChain&&e.certificateChain.length>0?w.encode(e.certificateChain):void 0});return await s().send(t)}var D=t();function O(e){let t=(0,C.c)(54),{open:n,onOpenChange:r,onImported:i}=e,[a,o]=(0,S.useState)(``),[s,c]=(0,S.useState)(``),[l,u]=(0,S.useState)(``),x=T(),w;t[0]===x?w=t[1]:(w=()=>{o(``),c(``),u(``),x.reset()},t[0]=x,t[1]=w);let E=w,O;t[2]!==r||t[3]!==E?(O=e=>{e||E(),r(e)},t[2]=r,t[3]=E,t[4]=O):O=t[4];let k=O,A;t[5]!==a||t[6]!==s?(A=a.trim().length>0&&s.trim().length>0,t[5]=a,t[6]=s,t[7]=A):A=t[7];let j=A,M;t[8]!==j||t[9]!==a||t[10]!==l||t[11]!==x||t[12]!==i||t[13]!==r||t[14]!==s||t[15]!==E?(M=async()=>{if(j)try{let e=await x.mutateAsync({certificate:a,privateKey:s,certificateChain:l});e.CertificateArn&&i(e.CertificateArn),E(),r(!1)}catch{}},t[8]=j,t[9]=a,t[10]=l,t[11]=x,t[12]=i,t[13]=r,t[14]=s,t[15]=E,t[16]=M):M=t[16];let N=M,P;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(P={maxWidth:`36rem`,width:`calc(100vw - 2rem)`},t[17]=P):P=t[17];let F;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,D.jsxs)(y,{children:[(0,D.jsx)(h,{children:`Import certificate`}),(0,D.jsx)(ee,{children:`Paste a PEM-encoded certificate and its private key. The optional chain is appended for intermediate CAs.`})]}),t[18]=F):F=t[18];let I;t[19]===x.error?I=t[20]:(I=x.error&&(0,D.jsx)(f,{error:x.error,msg:`Failed to import certificate`}),t[19]=x.error,t[20]=I);let L;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,D.jsx)(p,{children:(0,D.jsx)(`label`,{htmlFor:`cert-body`,children:`Certificate body`})}),t[21]=L):L=t[21];let R;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(R=e=>{o(e.target.value)},t[22]=R):R=t[22];let z;t[23]===a?z=t[24]:(z=(0,D.jsxs)(m,{children:[L,(0,D.jsx)(d,{className:`font-mono text-xs`,id:`cert-body`,onChange:R,placeholder:`-----BEGIN CERTIFICATE-----`,rows:5,value:a})]}),t[23]=a,t[24]=z);let B;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,D.jsx)(p,{children:(0,D.jsx)(`label`,{htmlFor:`cert-key`,children:`Private key`})}),t[25]=B):B=t[25];let V;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(V=e=>{c(e.target.value)},t[26]=V):V=t[26];let H;t[27]===s?H=t[28]:(H=(0,D.jsxs)(m,{children:[B,(0,D.jsx)(d,{className:`font-mono text-xs`,id:`cert-key`,onChange:V,placeholder:`-----BEGIN PRIVATE KEY-----`,rows:5,value:s})]}),t[27]=s,t[28]=H);let U;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,D.jsx)(p,{children:(0,D.jsx)(`label`,{htmlFor:`cert-chain`,children:`Certificate chain (optional)`})}),t[29]=U):U=t[29];let W;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(W=e=>{u(e.target.value)},t[30]=W):W=t[30];let G;t[31]===l?G=t[32]:(G=(0,D.jsxs)(m,{children:[U,(0,D.jsx)(d,{className:`font-mono text-xs`,id:`cert-chain`,onChange:W,placeholder:`-----BEGIN CERTIFICATE-----`,rows:4,value:l})]}),t[31]=l,t[32]=G);let K;t[33]!==z||t[34]!==H||t[35]!==G?(K=(0,D.jsxs)(`div`,{className:`min-w-0 space-y-4`,children:[z,H,G]}),t[33]=z,t[34]=H,t[35]=G,t[36]=K):K=t[36];let q;t[37]===x.isPending?q=t[38]:(q=(0,D.jsx)(v,{disabled:x.isPending,children:`Cancel`}),t[37]=x.isPending,t[38]=q);let J=!j||x.isPending,Y=x.isPending?`Importing…`:`Import`,X;t[39]!==N||t[40]!==J||t[41]!==Y?(X=(0,D.jsx)(g,{disabled:J,onClick:N,children:Y}),t[39]=N,t[40]=J,t[41]=Y,t[42]=X):X=t[42];let Z;t[43]!==q||t[44]!==X?(Z=(0,D.jsxs)(_,{children:[q,X]}),t[43]=q,t[44]=X,t[45]=Z):Z=t[45];let Q;t[46]!==K||t[47]!==Z||t[48]!==I?(Q=(0,D.jsxs)(te,{className:`grid-cols-[minmax(0,1fr)]`,style:P,children:[F,I,K,Z]}),t[46]=K,t[47]=Z,t[48]=I,t[49]=Q):Q=t[49];let $;return t[50]!==k||t[51]!==n||t[52]!==Q?($=(0,D.jsx)(b,{onOpenChange:k,open:n,children:Q}),t[50]=k,t[51]=n,t[52]=Q,t[53]=$):$=t[53],$}export{O as t};
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime.js";import{n as i}from"./QueryClientProvider.js";import{t as a}from"./useMutation.js";import{ja as o,n as s}from"./awsClient.js";import{i as c,n as l,r as u}from"./acm.js";import{t as d}from"./textarea.js";import{a as f,t as p}from"./field.js";import{t as m}from"./error-banner.js";import{a as ee,i as te,l as h,n as g,o as _,r as v,s as y,t as b}from"./alert-dialog.js";var x=class extends c(l,u,`ImportCertificate`,o){},S=t(n(),1),C=r(),w=new TextEncoder;function T(){let e=(0,C.c)(2),t=i(),n;return e[0]===t?n=e[1]:(n={mutationFn:E,onSuccess:()=>{t.invalidateQueries({queryKey:[`acm`,`certificates`]})}},e[0]=t,e[1]=n),a(n)}async function E(e){let t=new x({Certificate:w.encode(e.certificate),PrivateKey:w.encode(e.privateKey),CertificateChain:e.certificateChain&&e.certificateChain.length>0?w.encode(e.certificateChain):void 0});return await s().send(t)}var D=e();function O(e){let t=(0,C.c)(54),{open:n,onOpenChange:r,onImported:i}=e,[a,o]=(0,S.useState)(``),[s,c]=(0,S.useState)(``),[l,u]=(0,S.useState)(``),x=T(),w;t[0]===x?w=t[1]:(w=()=>{o(``),c(``),u(``),x.reset()},t[0]=x,t[1]=w);let E=w,O;t[2]!==r||t[3]!==E?(O=e=>{e||E(),r(e)},t[2]=r,t[3]=E,t[4]=O):O=t[4];let k=O,A;t[5]!==a||t[6]!==s?(A=a.trim().length>0&&s.trim().length>0,t[5]=a,t[6]=s,t[7]=A):A=t[7];let j=A,M;t[8]!==j||t[9]!==a||t[10]!==l||t[11]!==x||t[12]!==i||t[13]!==r||t[14]!==s||t[15]!==E?(M=async()=>{if(j)try{let e=await x.mutateAsync({certificate:a,privateKey:s,certificateChain:l});e.CertificateArn&&i(e.CertificateArn),E(),r(!1)}catch{}},t[8]=j,t[9]=a,t[10]=l,t[11]=x,t[12]=i,t[13]=r,t[14]=s,t[15]=E,t[16]=M):M=t[16];let N=M,P;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(P={maxWidth:`36rem`,width:`calc(100vw - 2rem)`},t[17]=P):P=t[17];let F;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(F=(0,D.jsxs)(y,{children:[(0,D.jsx)(h,{children:`Import certificate`}),(0,D.jsx)(ee,{children:`Paste a PEM-encoded certificate and its private key. The optional chain is appended for intermediate CAs.`})]}),t[18]=F):F=t[18];let I;t[19]===x.error?I=t[20]:(I=x.error&&(0,D.jsx)(m,{error:x.error,msg:`Failed to import certificate`}),t[19]=x.error,t[20]=I);let L;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(L=(0,D.jsx)(f,{children:(0,D.jsx)(`label`,{htmlFor:`cert-body`,children:`Certificate body`})}),t[21]=L):L=t[21];let R;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(R=e=>{o(e.target.value)},t[22]=R):R=t[22];let z;t[23]===a?z=t[24]:(z=(0,D.jsxs)(p,{children:[L,(0,D.jsx)(d,{className:`font-mono text-xs`,id:`cert-body`,onChange:R,placeholder:`-----BEGIN CERTIFICATE-----`,rows:5,value:a})]}),t[23]=a,t[24]=z);let B;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(B=(0,D.jsx)(f,{children:(0,D.jsx)(`label`,{htmlFor:`cert-key`,children:`Private key`})}),t[25]=B):B=t[25];let V;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(V=e=>{c(e.target.value)},t[26]=V):V=t[26];let H;t[27]===s?H=t[28]:(H=(0,D.jsxs)(p,{children:[B,(0,D.jsx)(d,{className:`font-mono text-xs`,id:`cert-key`,onChange:V,placeholder:`-----BEGIN PRIVATE KEY-----`,rows:5,value:s})]}),t[27]=s,t[28]=H);let U;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,D.jsx)(f,{children:(0,D.jsx)(`label`,{htmlFor:`cert-chain`,children:`Certificate chain (optional)`})}),t[29]=U):U=t[29];let W;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(W=e=>{u(e.target.value)},t[30]=W):W=t[30];let G;t[31]===l?G=t[32]:(G=(0,D.jsxs)(p,{children:[U,(0,D.jsx)(d,{className:`font-mono text-xs`,id:`cert-chain`,onChange:W,placeholder:`-----BEGIN CERTIFICATE-----`,rows:4,value:l})]}),t[31]=l,t[32]=G);let K;t[33]!==z||t[34]!==H||t[35]!==G?(K=(0,D.jsxs)(`div`,{className:`min-w-0 space-y-4`,children:[z,H,G]}),t[33]=z,t[34]=H,t[35]=G,t[36]=K):K=t[36];let q;t[37]===x.isPending?q=t[38]:(q=(0,D.jsx)(v,{disabled:x.isPending,children:`Cancel`}),t[37]=x.isPending,t[38]=q);let J=!j||x.isPending,Y=x.isPending?`Importing…`:`Import`,X;t[39]!==N||t[40]!==J||t[41]!==Y?(X=(0,D.jsx)(g,{disabled:J,onClick:N,children:Y}),t[39]=N,t[40]=J,t[41]=Y,t[42]=X):X=t[42];let Z;t[43]!==q||t[44]!==X?(Z=(0,D.jsxs)(_,{children:[q,X]}),t[43]=q,t[44]=X,t[45]=Z):Z=t[45];let Q;t[46]!==K||t[47]!==Z||t[48]!==I?(Q=(0,D.jsxs)(te,{className:`grid-cols-[minmax(0,1fr)]`,style:P,children:[F,I,K,Z]}),t[46]=K,t[47]=Z,t[48]=I,t[49]=Q):Q=t[49];let $;return t[50]!==k||t[51]!==n||t[52]!==Q?($=(0,D.jsx)(b,{onOpenChange:k,open:n,children:Q}),t[50]=k,t[51]=n,t[52]=Q,t[53]=$):$=t[53],$}export{O as t};
|
||||
@@ -1,3 +1,3 @@
|
||||
import{a as e,n as t,r as n,t as r}from"./compiler-runtime.js";import{an as i}from"./cluster-config.js";import{t as a}from"./createLucideIcon.js";import{t as o}from"./check.js";import{t as s}from"./chevron-down.js";import{t as c}from"./copy.js";import{t as l}from"./button.js";import{t as u}from"./use-copy-to-clipboard.js";var d=a(`square-terminal`,[[`path`,{d:`m7 11 2-2-2-2`,key:`1lz0vl`}],[`path`,{d:`M11 13h4`,key:`1p7l4v`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}]]),f=r(),p=e(n(),1),m=t(),h={bin:`text-tactical-cyan font-semibold`,flag:`text-tactical-amber`,value:`text-foreground`,comment:`text-muted-foreground italic`,variable:`text-tactical-green font-semibold`};function g(e,t){return e.length>0?e:`<${t}>`}function _(e,t){return[{type:`flag`,value:` ${e}`},{type:`value`,value:` ${t}`}]}function v(e,t){return t===void 0||t===``||t===!1?[]:t===!0?[{type:`flag`,value:` ${e}`}]:_(e,t)}function y(e){return e.map(e=>e.parts.map(e=>e.value).join(``)).join(`
|
||||
import{n as e,o as t,r as n,t as r}from"./compiler-runtime.js";import{an as i}from"./cluster-config.js";import{t as a}from"./createLucideIcon.js";import{t as o}from"./check.js";import{t as s}from"./chevron-down.js";import{t as c}from"./copy.js";import{t as l}from"./button.js";import{t as u}from"./use-copy-to-clipboard.js";var d=a(`square-terminal`,[[`path`,{d:`m7 11 2-2-2-2`,key:`1lz0vl`}],[`path`,{d:`M11 13h4`,key:`1p7l4v`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}]]),f=r(),p=t(n(),1),m=e(),h={bin:`text-tactical-cyan font-semibold`,flag:`text-tactical-amber`,value:`text-foreground`,comment:`text-muted-foreground italic`,variable:`text-tactical-green font-semibold`};function g(e,t){return e.length>0?e:`<${t}>`}function _(e,t){return[{type:`flag`,value:` ${e}`},{type:`value`,value:` ${t}`}]}function v(e,t){return t===void 0||t===``||t===!1?[]:t===!0?[{type:`flag`,value:` ${e}`}]:_(e,t)}function y(e){return e.map(e=>e.parts.map(e=>e.value).join(``)).join(`
|
||||
|
||||
`)}function b(e){let t=(0,f.c)(18),{commands:n}=e,[r,a]=(0,p.useState)(!1),{copied:h,copy:g}=u();if(n.length===0)return null;let _;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(_=()=>{a(S)},t[0]=_):_=t[0];let v,b;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,m.jsx)(d,{className:`size-3.5`}),b=(0,m.jsx)(`span`,{children:`AWS CLI`}),t[1]=v,t[2]=b):(v=t[1],b=t[2]);let C=r&&`rotate-180`,w;t[3]===C?w=t[4]:(w=i(`ml-auto size-3.5 transition-transform`,C),t[3]=C,t[4]=w);let T;t[5]===w?T=t[6]:(T=(0,m.jsx)(s,{className:w}),t[5]=w,t[6]=T);let E;t[7]!==r||t[8]!==T?(E=(0,m.jsxs)(`button`,{type:`button`,onClick:_,className:`flex w-full items-center gap-2 px-3 py-2 text-xs font-medium text-muted-foreground transition-colors hover:text-foreground`,"aria-expanded":r,children:[v,b,T]}),t[7]=r,t[8]=T,t[9]=E):E=t[9];let D;t[10]!==n||t[11]!==h||t[12]!==g||t[13]!==r?(D=r&&(0,m.jsxs)(`div`,{className:`border-t border-border`,children:[(0,m.jsxs)(`div`,{className:`flex items-center justify-between border-b border-border px-3 py-1.5`,children:[(0,m.jsx)(`span`,{className:`text-[0.625rem] text-muted-foreground`,children:n.length>1?`${n.length} commands`:`command`}),(0,m.jsxs)(l,{type:`button`,variant:`ghost`,size:`xs`,onClick:async()=>{await g(y(n))},children:[h?(0,m.jsx)(o,{className:`size-2.5`}):(0,m.jsx)(c,{className:`size-2.5`}),h?`Copied`:`Copy`]})]}),(0,m.jsx)(`div`,{className:`overflow-x-auto p-3`,children:n.map((e,t)=>(0,m.jsxs)(`div`,{children:[n.length>1&&(0,m.jsx)(`div`,{className:`mb-1 text-[0.625rem] font-medium text-muted-foreground`,children:e.label}),(0,m.jsx)(`pre`,{className:`font-mono text-xs/relaxed`,children:(0,m.jsx)(`code`,{children:e.parts.map(x)})}),t<n.length-1&&(0,m.jsx)(`div`,{className:`my-2`})]},e.label))})]}),t[10]=n,t[11]=h,t[12]=g,t[13]=r,t[14]=D):D=t[14];let O;return t[15]!==E||t[16]!==D?(O=(0,m.jsxs)(`div`,{className:`rounded-md border border-border`,children:[E,D]}),t[15]=E,t[16]=D,t[17]=O):O=t[17],O}function x(e,t){return(0,m.jsx)(`span`,{className:h[e.type],children:e.value},t)}function S(e){return!e}export{v as i,g as n,_ as r,b as t};
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{Lt as e,_t as t}from"./cluster-config.js";import{lr as n}from"./awsClient.js";var r=e(n,`AWSWesleyFrontend`,`EKSClient`,t),i={},a=(e,t,n,r)=>[];export{a as n,r,i as t};
|
||||
import{Lt as e,_t as t}from"./cluster-config.js";import{_a as n}from"./awsClient.js";var r=e(n,`AmazonBedrockFrontendService`,`BedrockRuntimeClient`,t),i={},a=(e,t,n,r)=>[];export{a as n,r,i as t};
|
||||
@@ -1 +1 @@
|
||||
import{Lt as e,_t as t}from"./cluster-config.js";import{Rn as n}from"./awsClient.js";var r=e(n,`ElasticLoadBalancing_v10`,`ElasticLoadBalancingV2Client`,t),i={},a=(e,t,n,r)=>[];export{a as n,r,i as t};
|
||||
import{Lt as e,_t as t}from"./cluster-config.js";import{lr as n}from"./awsClient.js";var r=e(n,`AWSWesleyFrontend`,`EKSClient`,t),i={},a=(e,t,n,r)=>[];export{a as n,r,i as t};
|
||||
@@ -1 +1 @@
|
||||
import{Lt as e,_t as t}from"./cluster-config.js";import{un as n}from"./awsClient.js";var r=e(n,`AWSIdentityManagementV20100508`,`IAMClient`,t),i={},a=(e,t,n,r)=>[];export{a as n,r,i as t};
|
||||
import{Lt as e,_t as t}from"./cluster-config.js";import{Rn as n}from"./awsClient.js";var r=e(n,`ElasticLoadBalancing_v10`,`ElasticLoadBalancingV2Client`,t),i={},a=(e,t,n,r)=>[];export{a as n,r,i as t};
|
||||
@@ -0,0 +1 @@
|
||||
import{Lt as e,_t as t}from"./cluster-config.js";import{un as n}from"./awsClient.js";var r=e(n,`AWSIdentityManagementV20100508`,`IAMClient`,t),i={},a=(e,t,n,r)=>[];export{a as n,r,i as t};
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime.js";import{t as n}from"./useNavigate.js";import{h as r,p as i}from"./cluster-config.js";import{t as a}from"./back-link.js";import{t as o}from"./cli-command-panel.js";import{t as s}from"./input.js";import{t as c}from"./s3.js";import{t as l}from"./page-heading.js";import{a as u,i as d,t as f}from"./zod.js";import{t as p}from"./error-banner.js";import{t as m}from"./form-actions.js";import{a as h,r as g,t as _}from"./field.js";var v=t(),y=i({bucketName:r().min(3,`Bucket name must be at least 3 characters`).max(63,`Bucket name must be at most 63 characters`).regex(/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/,`Must start and end with a lowercase letter or number`).regex(/^[a-z0-9.-]+$/,`Only lowercase letters, numbers, hyphens, and periods allowed`).refine(e=>!e.includes(`..`),`Must not contain consecutive periods`).refine(e=>!(e.includes(`.-`)||e.includes(`-.`)),`Must not contain adjacent period and hyphen`)}),b=e();function x(){let e=(0,v.c)(42),t=n(),r=c(),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={resolver:f(y)},e[0]=i):i=e[0];let{handleSubmit:x,register:C,control:w,formState:T}=d(i),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=u(O),A;e[3]!==r||e[4]!==t?(A=async e=>{await r.mutateAsync(e),t({to:`/s3/ls`})},e[3]=r,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,b.jsx)(a,{to:`/s3/ls`,children:`Back to buckets`}),N=(0,b.jsx)(l,{title:`Create Bucket`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===r.error?P=e[9]:(P=r.error&&(0,b.jsx)(p,{error:r.error,msg:`Failed to create bucket`}),e[8]=r.error,e[9]=P);let F;e[10]!==x||e[11]!==j?(F=x(j),e[10]=x,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,b.jsx)(h,{children:(0,b.jsx)(`label`,{htmlFor:`bucketName`,children:`Bucket Name`})}),e[13]=I):I=e[13];let L=!!E.bucketName,R;e[14]===C?R=e[15]:(R=C(`bucketName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,b.jsx)(s,{"aria-invalid":L,id:`bucketName`,placeholder:`my-bucket`,type:`text`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.bucketName?B=e[20]:(B=(0,b.jsx)(g,{errors:[E.bucketName]}),e[19]=E.bucketName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,b.jsxs)(_,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===k?H=e[25]:(H=S(k),e[24]=k,e[25]=H);let U;e[26]===H?U=e[27]:(U=(0,b.jsx)(o,{commands:H}),e[26]=H,e[27]=U);let W;e[28]===t?W=e[29]:(W=async()=>{await t({to:`/s3/ls`})},e[28]=t,e[29]=W);let G;e[30]!==r.isPending||e[31]!==D||e[32]!==W?(G=(0,b.jsx)(m,{isPending:r.isPending,isSubmitting:D,onCancel:W,pendingLabel:`Creating…`,submitLabel:`Create Bucket`}),e[30]=r.isPending,e[31]=D,e[32]=W,e[33]=G):G=e[33];let K;e[34]!==V||e[35]!==U||e[36]!==G||e[37]!==F?(K=(0,b.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,U,G]}),e[34]=V,e[35]=U,e[36]=G,e[37]=F,e[38]=K):K=e[38];let q;return e[39]!==K||e[40]!==P?(q=(0,b.jsxs)(b.Fragment,{children:[M,N,P,K]}),e[39]=K,e[40]=P,e[41]=q):q=e[41],q}function S(e){return[{label:`Create Bucket`,parts:[{type:`bin`,value:`AWS_PROFILE=spinifex aws s3api create-bucket`},{type:`flag`,value:` --bucket`},{type:`value`,value:` ${(e.bucketName??``)||`<BucketName>`}`}]}]}export{x as component};
|
||||
import{n as e,t}from"./compiler-runtime.js";import{t as n}from"./useNavigate.js";import{h as r,p as i}from"./cluster-config.js";import{t as a}from"./back-link.js";import{t as o}from"./cli-command-panel.js";import{t as s}from"./input.js";import{t as c}from"./s3.js";import{t as l}from"./page-heading.js";import{a as u,r as d,t as f}from"./field.js";import{a as p,i as m,t as h}from"./zod.js";import{t as g}from"./error-banner.js";import{t as _}from"./form-actions.js";var v=t(),y=i({bucketName:r().min(3,`Bucket name must be at least 3 characters`).max(63,`Bucket name must be at most 63 characters`).regex(/^[a-z0-9][a-z0-9.-]*[a-z0-9]$/,`Must start and end with a lowercase letter or number`).regex(/^[a-z0-9.-]+$/,`Only lowercase letters, numbers, hyphens, and periods allowed`).refine(e=>!e.includes(`..`),`Must not contain consecutive periods`).refine(e=>!(e.includes(`.-`)||e.includes(`-.`)),`Must not contain adjacent period and hyphen`)}),b=e();function x(){let e=(0,v.c)(42),t=n(),r=c(),i;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i={resolver:h(y)},e[0]=i):i=e[0];let{handleSubmit:x,register:C,control:w,formState:T}=m(i),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=p(O),A;e[3]!==r||e[4]!==t?(A=async e=>{await r.mutateAsync(e),t({to:`/s3/ls`})},e[3]=r,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,b.jsx)(a,{to:`/s3/ls`,children:`Back to buckets`}),N=(0,b.jsx)(l,{title:`Create Bucket`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===r.error?P=e[9]:(P=r.error&&(0,b.jsx)(g,{error:r.error,msg:`Failed to create bucket`}),e[8]=r.error,e[9]=P);let F;e[10]!==x||e[11]!==j?(F=x(j),e[10]=x,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,b.jsx)(u,{children:(0,b.jsx)(`label`,{htmlFor:`bucketName`,children:`Bucket Name`})}),e[13]=I):I=e[13];let L=!!E.bucketName,R;e[14]===C?R=e[15]:(R=C(`bucketName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,b.jsx)(s,{"aria-invalid":L,id:`bucketName`,placeholder:`my-bucket`,type:`text`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.bucketName?B=e[20]:(B=(0,b.jsx)(d,{errors:[E.bucketName]}),e[19]=E.bucketName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,b.jsxs)(f,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===k?H=e[25]:(H=S(k),e[24]=k,e[25]=H);let U;e[26]===H?U=e[27]:(U=(0,b.jsx)(o,{commands:H}),e[26]=H,e[27]=U);let W;e[28]===t?W=e[29]:(W=async()=>{await t({to:`/s3/ls`})},e[28]=t,e[29]=W);let G;e[30]!==r.isPending||e[31]!==D||e[32]!==W?(G=(0,b.jsx)(_,{isPending:r.isPending,isSubmitting:D,onCancel:W,pendingLabel:`Creating…`,submitLabel:`Create Bucket`}),e[30]=r.isPending,e[31]=D,e[32]=W,e[33]=G):G=e[33];let K;e[34]!==V||e[35]!==U||e[36]!==G||e[37]!==F?(K=(0,b.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,U,G]}),e[34]=V,e[35]=U,e[36]=G,e[37]=F,e[38]=K):K=e[38];let q;return e[39]!==K||e[40]!==P?(q=(0,b.jsxs)(b.Fragment,{children:[M,N,P,K]}),e[39]=K,e[40]=P,e[41]=q):q=e[41],q}function S(e){return[{label:`Create Bucket`,parts:[{type:`bin`,value:`AWS_PROFILE=spinifex aws s3api create-bucket`},{type:`flag`,value:` --bucket`},{type:`value`,value:` ${(e.bucketName??``)||`<BucketName>`}`}]}]}export{x as component};
|
||||
File diff suppressed because one or more lines are too long
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
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 @@
|
||||
import{n as e,t}from"./compiler-runtime.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{s as o}from"./iam.js";import{t as s}from"./page-heading.js";import{a as c,i as l,t as u}from"./zod.js";import{t as d}from"./error-banner.js";import{t as f}from"./form-actions.js";import{a as p,r as m,t as h}from"./field.js";import{n as g}from"./iam3.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:u(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=l(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=c(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-groups`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-groups`,children:`Back to groups`}),N=(0,v.jsx)(s,{title:`Create Group`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(d,{error:y.error,msg:`Failed to create group`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(p,{children:(0,v.jsx)(`label`,{htmlFor:`groupName`,children:`Group Name`})}),e[13]=I):I=e[13];let L=!!E.groupName,R;e[14]===C?R=e[15]:(R=C(`groupName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`groupName`,placeholder:`my-group...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.groupName?B=e[20]:(B=(0,v.jsx)(m,{errors:[E.groupName]}),e[19]=E.groupName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(h,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(p,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(m,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(h,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-groups`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(f,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create Group`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.groupName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-group`},{type:`flag`,value:` --group-name`},{type:`value`,value:` ${t||`<GroupName>`}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create Group`,parts:r}]}export{y as component};
|
||||
import{n as e,t}from"./compiler-runtime.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{s as o}from"./iam.js";import{t as s}from"./page-heading.js";import{a as c,r as l,t as u}from"./field.js";import{a as d,i as f,t as p}from"./zod.js";import{t as m}from"./error-banner.js";import{t as h}from"./form-actions.js";import{n as g}from"./iam3.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:p(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=f(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=d(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-groups`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-groups`,children:`Back to groups`}),N=(0,v.jsx)(s,{title:`Create Group`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(m,{error:y.error,msg:`Failed to create group`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(c,{children:(0,v.jsx)(`label`,{htmlFor:`groupName`,children:`Group Name`})}),e[13]=I):I=e[13];let L=!!E.groupName,R;e[14]===C?R=e[15]:(R=C(`groupName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`groupName`,placeholder:`my-group...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.groupName?B=e[20]:(B=(0,v.jsx)(l,{errors:[E.groupName]}),e[19]=E.groupName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(u,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(c,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(l,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(u,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-groups`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(h,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create Group`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.groupName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-group`},{type:`flag`,value:` --group-name`},{type:`value`,value:` ${t||`<GroupName>`}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create Group`,parts:r}]}export{y as component};
|
||||
+1
-1
@@ -1 +1 @@
|
||||
import{n as e,t}from"./compiler-runtime.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{c as o}from"./iam.js";import{t as s}from"./page-heading.js";import{a as c,i as l,t as u}from"./zod.js";import{t as d}from"./error-banner.js";import{t as f}from"./form-actions.js";import{a as p,r as m,t as h}from"./field.js";import{r as g}from"./iam3.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:u(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=l(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=c(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-instance-profiles`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),N=(0,v.jsx)(s,{title:`Create Instance Profile`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(d,{error:y.error,msg:`Failed to create instance profile`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(p,{children:(0,v.jsx)(`label`,{htmlFor:`instanceProfileName`,children:`Instance Profile Name`})}),e[13]=I):I=e[13];let L=!!E.instanceProfileName,R;e[14]===C?R=e[15]:(R=C(`instanceProfileName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`instanceProfileName`,placeholder:`my-instance-profile...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.instanceProfileName?B=e[20]:(B=(0,v.jsx)(m,{errors:[E.instanceProfileName]}),e[19]=E.instanceProfileName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(h,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(p,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(m,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(h,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-instance-profiles`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(f,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create Instance Profile`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.instanceProfileName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-instance-profile`},{type:`flag`,value:` --instance-profile-name`},{type:`value`,value:` ${t||`<InstanceProfileName>`}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create Instance Profile`,parts:r}]}export{y as component};
|
||||
import{n as e,t}from"./compiler-runtime.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{c as o}from"./iam.js";import{t as s}from"./page-heading.js";import{a as c,r as l,t as u}from"./field.js";import{a as d,i as f,t as p}from"./zod.js";import{t as m}from"./error-banner.js";import{t as h}from"./form-actions.js";import{r as g}from"./iam3.js";var _=t(),v=e();function y(){let e=(0,_.c)(53),t=n(),y=o(),x;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={resolver:p(g)},e[0]=x):x=e[0];let{handleSubmit:S,register:C,control:w,formState:T}=f(x),{errors:E,isSubmitting:D}=T,O;e[1]===w?O=e[2]:(O={control:w},e[1]=w,e[2]=O);let k=d(O),A;e[3]!==y||e[4]!==t?(A=async e=>{await y.mutateAsync(e),t({to:`/iam/list-instance-profiles`})},e[3]=y,e[4]=t,e[5]=A):A=e[5];let j=A,M,N;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,v.jsx)(r,{to:`/iam/list-instance-profiles`,children:`Back to instance profiles`}),N=(0,v.jsx)(s,{title:`Create Instance Profile`}),e[6]=M,e[7]=N):(M=e[6],N=e[7]);let P;e[8]===y.error?P=e[9]:(P=y.error&&(0,v.jsx)(m,{error:y.error,msg:`Failed to create instance profile`}),e[8]=y.error,e[9]=P);let F;e[10]!==S||e[11]!==j?(F=S(j),e[10]=S,e[11]=j,e[12]=F):F=e[12];let I;e[13]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,v.jsx)(c,{children:(0,v.jsx)(`label`,{htmlFor:`instanceProfileName`,children:`Instance Profile Name`})}),e[13]=I):I=e[13];let L=!!E.instanceProfileName,R;e[14]===C?R=e[15]:(R=C(`instanceProfileName`),e[14]=C,e[15]=R);let z;e[16]!==R||e[17]!==L?(z=(0,v.jsx)(a,{"aria-invalid":L,id:`instanceProfileName`,placeholder:`my-instance-profile...`,...R}),e[16]=R,e[17]=L,e[18]=z):z=e[18];let B;e[19]===E.instanceProfileName?B=e[20]:(B=(0,v.jsx)(l,{errors:[E.instanceProfileName]}),e[19]=E.instanceProfileName,e[20]=B);let V;e[21]!==z||e[22]!==B?(V=(0,v.jsxs)(u,{children:[I,z,B]}),e[21]=z,e[22]=B,e[23]=V):V=e[23];let H;e[24]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,v.jsx)(c,{children:(0,v.jsx)(`label`,{htmlFor:`path`,children:`Path (optional)`})}),e[24]=H):H=e[24];let U;e[25]===C?U=e[26]:(U=C(`path`),e[25]=C,e[26]=U);let W;e[27]===U?W=e[28]:(W=(0,v.jsx)(a,{id:`path`,placeholder:`/`,...U}),e[27]=U,e[28]=W);let G;e[29]===E.path?G=e[30]:(G=(0,v.jsx)(l,{errors:[E.path]}),e[29]=E.path,e[30]=G);let K;e[31]!==W||e[32]!==G?(K=(0,v.jsxs)(u,{children:[H,W,G]}),e[31]=W,e[32]=G,e[33]=K):K=e[33];let q;e[34]===k?q=e[35]:(q=b(k),e[34]=k,e[35]=q);let J;e[36]===q?J=e[37]:(J=(0,v.jsx)(i,{commands:q}),e[36]=q,e[37]=J);let Y;e[38]===t?Y=e[39]:(Y=async()=>{await t({to:`/iam/list-instance-profiles`})},e[38]=t,e[39]=Y);let X;e[40]!==y.isPending||e[41]!==D||e[42]!==Y?(X=(0,v.jsx)(h,{isPending:y.isPending,isSubmitting:D,onCancel:Y,pendingLabel:`Creating...`,submitLabel:`Create Instance Profile`}),e[40]=y.isPending,e[41]=D,e[42]=Y,e[43]=X):X=e[43];let Z;e[44]!==V||e[45]!==K||e[46]!==J||e[47]!==X||e[48]!==F?(Z=(0,v.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:F,children:[V,K,J,X]}),e[44]=V,e[45]=K,e[46]=J,e[47]=X,e[48]=F,e[49]=Z):Z=e[49];let Q;return e[50]!==Z||e[51]!==P?(Q=(0,v.jsxs)(v.Fragment,{children:[M,N,P,Z]}),e[50]=Z,e[51]=P,e[52]=Q):Q=e[52],Q}function b(e){let t=e.instanceProfileName??``,n=e.path??``,r=[{type:`bin`,value:`AWS_PROFILE=spinifex aws iam create-instance-profile`},{type:`flag`,value:` --instance-profile-name`},{type:`value`,value:` ${t||`<InstanceProfileName>`}`}];return n&&n!==`/`&&r.push({type:`flag`,value:` --path`},{type:`value`,value:` ${n}`}),[{label:`Create Instance Profile`,parts:r}]}export{y as component};
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
import{n as e,t}from"./compiler-runtime.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{p as o}from"./ec22.js";import{t as s}from"./page-heading.js";import{a as c,i as l,t as u}from"./zod.js";import{t as d}from"./error-banner.js";import{t as f}from"./form-actions.js";import{a as p,t as m}from"./field.js";import{a as h}from"./ec23.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.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{p as o}from"./ec22.js";import{t as s}from"./page-heading.js";import{a as c,t as l}from"./field.js";import{a as u,i as d,t as f}from"./zod.js";import{t as p}from"./error-banner.js";import{t as m}from"./form-actions.js";import{a as h}from"./ec23.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:f(h),defaultValues:{name:``}},e[0]=b):b=e[0];let{control:x,handleSubmit:S,register:C,formState:w}=d(b),{isSubmitting:T}=w,E;e[1]===x?E=e[2]:(E={control:x},e[1]=x,e[2]=E);let D=u(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)(p,{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)(c,{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)(l,{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)(m,{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};
|
||||
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.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{h as o,t as s}from"./ec22.js";import{t as c}from"./page-heading.js";import{a as l,i as u,t as ee}from"./zod.js";import{t as te}from"./error-banner.js";import{t as ne}from"./form-actions.js";import{a as d,r as f,t as p}from"./field.js";import{s as m}from"./ec23.js";import{t as h}from"./launch-template-data-fields.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)(d,{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)(f,{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)(d,{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.js";import{t as n}from"./useNavigate.js";import{t as r}from"./back-link.js";import{t as i}from"./cli-command-panel.js";import{t as a}from"./input.js";import{h as o,t as s}from"./ec22.js";import{t as c}from"./page-heading.js";import{a as l,r as ee,t as u}from"./field.js";import{a as te,i as ne,t as d}from"./zod.js";import{t as f}from"./error-banner.js";import{t as p}from"./form-actions.js";import{s as m}from"./ec23.js";import{t as h}from"./launch-template-data-fields.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=d(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}=ne(x),{errors:E,isSubmitting:D}=T,O;e[2]===S?O=e[3]:(O={control:S},e[2]=S,e[3]=O);let k=te(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)(f,{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)(l,{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)(ee,{errors:[E.launchTemplateName]}),e[20]=E.launchTemplateName,e[21]=B);let V;e[22]!==z||e[23]!==B?(V=(0,_.jsxs)(u,{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)(l,{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)(u,{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)(p,{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};
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user