adminizer 4.4.0-build.175 → 4.5.0-build.176

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{u as t,j as o}from"./app.js";import{A as m}from"./app-layout-mpp8ni0G.js";import p from"./add-form-BfIXZ_9g.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.js";import"./handsontable-PVakPtJV.js";import"./app-shell-CggZrBz6.js";import"./app-sidebar-Do2eoo3w.js";import"./nav-main-CZa4xkP1.js";import"./material-icon-DwkE6wKL.js";import"./app-sidebar-header-pfquDpHT.js";import"./breadcrumbs-BS5uXMaM.js";import"./nav-user-e1Cj0abB.js";import"./user-info-DrdQBvFb.js";import"./user-menu-content-ePAt_cwK.js";import"./theme-switcher-xFldiRZz.js";import"./icon-DpkedrXG.js";import"./field-renderer-CUYWPzfi.js";import"./dynamic-controls-BOYmRX_z.js";import"./input-error-CmXZF6xy.js";const i=[];function k(){const r=t();return o.jsx(m,{breadcrumbs:i,children:o.jsx(p,{page:r,catalog:!1})})}export{k as default};
1
+ import{u as t,j as o}from"./app.js";import{A as m}from"./app-layout-BarrICdq.js";import p from"./add-form-BfIXZ_9g.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.js";import"./handsontable-PVakPtJV.js";import"./app-shell-CggZrBz6.js";import"./app-sidebar-CiyLPsHp.js";import"./nav-main-CZa4xkP1.js";import"./material-icon-DwkE6wKL.js";import"./app-sidebar-header-pfquDpHT.js";import"./breadcrumbs-BS5uXMaM.js";import"./nav-user-e1Cj0abB.js";import"./user-info-DrdQBvFb.js";import"./user-menu-content-ePAt_cwK.js";import"./theme-switcher-xFldiRZz.js";import"./icon-DpkedrXG.js";import"./field-renderer-CUYWPzfi.js";import"./dynamic-controls-BOYmRX_z.js";import"./input-error-CmXZF6xy.js";const i=[];function k(){const r=t();return o.jsx(m,{breadcrumbs:i,children:o.jsx(p,{page:r,catalog:!1})})}export{k as default};
@@ -1 +1 @@
1
- import{j as r}from"./app.js";import{A as o}from"./app-layout-mpp8ni0G.js";import t from"./add-group-form-BkXmTsXF.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.js";import"./handsontable-PVakPtJV.js";import"./app-shell-CggZrBz6.js";import"./app-sidebar-Do2eoo3w.js";import"./nav-main-CZa4xkP1.js";import"./material-icon-DwkE6wKL.js";import"./app-sidebar-header-pfquDpHT.js";import"./breadcrumbs-BS5uXMaM.js";import"./nav-user-e1Cj0abB.js";import"./user-info-DrdQBvFb.js";import"./user-menu-content-ePAt_cwK.js";import"./theme-switcher-xFldiRZz.js";import"./icon-DpkedrXG.js";const m=[];function E(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{E as default};
1
+ import{j as r}from"./app.js";import{A as o}from"./app-layout-BarrICdq.js";import t from"./add-group-form-BkXmTsXF.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.js";import"./handsontable-PVakPtJV.js";import"./app-shell-CggZrBz6.js";import"./app-sidebar-CiyLPsHp.js";import"./nav-main-CZa4xkP1.js";import"./material-icon-DwkE6wKL.js";import"./app-sidebar-header-pfquDpHT.js";import"./breadcrumbs-BS5uXMaM.js";import"./nav-user-e1Cj0abB.js";import"./user-info-DrdQBvFb.js";import"./user-menu-content-ePAt_cwK.js";import"./theme-switcher-xFldiRZz.js";import"./icon-DpkedrXG.js";const m=[];function E(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{E as default};
@@ -1 +1 @@
1
- import{j as r}from"./app.js";import{A as o}from"./app-layout-mpp8ni0G.js";import t from"./add-user-form-CeLtuCJN.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.js";import"./handsontable-PVakPtJV.js";import"./app-shell-CggZrBz6.js";import"./app-sidebar-Do2eoo3w.js";import"./nav-main-CZa4xkP1.js";import"./material-icon-DwkE6wKL.js";import"./app-sidebar-header-pfquDpHT.js";import"./breadcrumbs-BS5uXMaM.js";import"./nav-user-e1Cj0abB.js";import"./user-info-DrdQBvFb.js";import"./user-menu-content-ePAt_cwK.js";import"./theme-switcher-xFldiRZz.js";import"./icon-DpkedrXG.js";import"./input-error-CmXZF6xy.js";const m=[];function F(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{F as default};
1
+ import{j as r}from"./app.js";import{A as o}from"./app-layout-BarrICdq.js";import t from"./add-user-form-CeLtuCJN.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.js";import"./handsontable-PVakPtJV.js";import"./app-shell-CggZrBz6.js";import"./app-sidebar-CiyLPsHp.js";import"./nav-main-CZa4xkP1.js";import"./material-icon-DwkE6wKL.js";import"./app-sidebar-header-pfquDpHT.js";import"./breadcrumbs-BS5uXMaM.js";import"./nav-user-e1Cj0abB.js";import"./user-info-DrdQBvFb.js";import"./user-menu-content-ePAt_cwK.js";import"./theme-switcher-xFldiRZz.js";import"./icon-DpkedrXG.js";import"./input-error-CmXZF6xy.js";const m=[];function F(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{F as default};
@@ -1 +1 @@
1
- import{u as E,j as e,V as I,ad as L,ae as v,af as P,B as w,ag as z,S as C,c as M,d as R,e as T,f as D,ah as O,L as k}from"./app.js";import V from"./app-shell-CggZrBz6.js";import{AppSidebar as B}from"./app-sidebar-Do2eoo3w.js";import{A as K,a as N,N as _,b as F}from"./app-sidebar-header-pfquDpHT.js";import{r as l}from"./monaco-ICtx6xoc.js";const H=l.memo(({children:o,breadcrumbs:a=[],className:i})=>{const n=E();return e.jsxs(V,{variant:"sidebar",children:[e.jsx(I,{title:n.props.title}),e.jsx(B,{}),e.jsxs(L,{className:i,children:[e.jsx(K,{breadcrumbs:a}),e.jsx("div",{className:"relative flex-1 overflow-hidden",children:e.jsx("div",{className:"h-full",children:o})})]})]})});function $({width:o="min(25vw, 420px)"}){const{isEnabled:a,isOpen:i,closeChat:n,models:s,activeModel:r,setActiveModel:d,messages:c,loading:m,sending:x,error:j,sendMessage:y}=N(),[f,h]=l.useState(""),g=l.useRef(null);l.useEffect(()=>{i||h("")},[i]),l.useEffect(()=>{g.current&&g.current.scrollIntoView({behavior:"smooth"})},[c]);const u=s.length>0,A=async t=>{t.preventDefault();const p=f.trim();p&&(await y(p),h(""))},S=t=>{if((t.ctrlKey||t.metaKey)&&t.key==="Enter"){t.preventDefault();const p=f.trim();p&&!x&&(y(p),h(""))}};return a?e.jsxs("aside",{id:"ai-assistant-panel","aria-label":"AI assistant chat","aria-hidden":!i,className:v("bg-card text-card-foreground fixed bottom-0 right-0 top-0 z-[60] flex h-full flex-col border-l shadow-xl transition-all duration-300 ease-in-out","md:w-auto w-full",i?"translate-x-0 opacity-100":"translate-x-full opacity-0 pointer-events-none"),style:{width:"var(--ai-assistant-panel-actual-width, "+o+")"},children:[e.jsxs("div",{className:"flex items-center justify-between border-b px-4 py-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(P,{className:"size-5 text-primary"}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"font-semibold leading-tight",children:"AI assistant"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:"Chat with your selected model."})]})]}),e.jsx(w,{variant:"ghost",size:"icon",onClick:n,"aria-label":"Close AI assistant",children:e.jsx(z,{className:"size-4"})})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-4 overflow-hidden px-4 py-4",children:[!u&&!m&&e.jsx("div",{className:"flex flex-1 items-center justify-center rounded-md border border-dashed p-6 text-sm text-muted-foreground",children:"No AI models are available for your account."}),u&&e.jsxs(e.Fragment,{children:[e.jsxs(C,{value:r,onValueChange:d,children:[e.jsx(M,{className:"w-full",children:e.jsx(R,{placeholder:"Select a model"})}),e.jsx(T,{className:"z-[70]",children:s.map(t=>e.jsx(D,{value:t.id,children:e.jsxs("div",{className:"flex flex-col text-left",children:[e.jsx("span",{className:"font-medium",children:t.name}),t.description&&e.jsx("span",{className:"text-xs text-muted-foreground",children:t.description})]})},t.id))})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-3 overflow-hidden rounded-md border bg-background p-4",children:[e.jsxs("div",{className:"flex-1 space-y-3 overflow-y-auto pr-2","data-ai-assistant-messages":!0,children:[m&&e.jsx("div",{className:"flex justify-center py-6 text-sm text-muted-foreground",children:"Loading conversation..."}),!m&&c.length===0&&e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:"Start a conversation to see responses here."}),c.map(t=>e.jsxs("div",{className:v("flex flex-col gap-1 rounded-md border p-3 text-sm shadow-xs",t.role==="assistant"?"border-primary/30 bg-primary/5":"border-border bg-background"),children:[e.jsx("span",{className:"font-semibold",children:t.role==="assistant"?"Assistant":"You"}),e.jsx("p",{className:"whitespace-pre-wrap leading-relaxed",children:t.content}),e.jsx("span",{className:"text-xs text-muted-foreground",children:new Date(t.timestamp).toLocaleTimeString()})]},t.id)),e.jsx("div",{ref:g})]}),e.jsxs("form",{className:"space-y-2",onSubmit:A,children:[e.jsx(O,{placeholder:u?"Type your question... (Ctrl+Enter to send)":"No models available",value:f,onChange:t=>h(t.target.value),onKeyDown:S,disabled:!u||x,rows:3}),e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[j&&e.jsx("span",{className:"text-xs text-destructive",children:j}),e.jsx(w,{type:"submit",disabled:!u||x||!f.trim(),children:x?e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(k,{className:"size-4 animate-spin"}),"Sending…"]}):"Send"})]})]})]})]})]})]}):null}const q="min(25vw, 420px)",b="margin-right 300ms ease-in-out";function G({children:o,panelWidth:a=q}){const{isEnabled:i,isOpen:n}=N();return l.useEffect(()=>{const s=document.getElementById("app");if(!s)return;const r=s.style.transition,d=r==null?void 0:r.includes("margin-right");return d||(s.style.transition=r?`${r}, ${b}`:b),s.classList.add("ai-assistant-host"),s.style.setProperty("--ai-assistant-panel-width",a),()=>{s.classList.remove("ai-assistant-host"),s.style.removeProperty("--ai-assistant-panel-width"),s.style.removeProperty("--ai-assistant-panel-actual-width"),s.style.removeProperty("margin-right"),delete s.dataset.aiAssistantOpen,d||(s.style.transition=r)}},[a]),l.useEffect(()=>{const s=document.getElementById("app");if(!s)return;const r=window.innerWidth<768,d=r?"100vw":a;s.style.setProperty("--ai-assistant-panel-actual-width",d),i&&n?(s.style.marginRight=r?"0":a,s.dataset.aiAssistantOpen="true"):(s.style.removeProperty("margin-right"),s.dataset.aiAssistantOpen="false");const c=()=>{const m=window.innerWidth<768,x=m?"100vw":a;s.style.setProperty("--ai-assistant-panel-actual-width",x),i&&n&&(s.style.marginRight=m?"0":a)};return window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)},[i,n,a]),e.jsxs(e.Fragment,{children:[o,e.jsx($,{width:a})]})}const Z=l.memo(({children:o,className:a,breadcrumbs:i,...n})=>e.jsx(_,{children:e.jsxs(F,{children:[e.jsx(H,{breadcrumbs:i,className:a,...n,children:o}),e.jsx(G,{})]})}));export{Z as A};
1
+ import{u as E,j as e,V as I,ad as L,ae as v,af as P,B as w,ag as z,S as C,c as M,d as R,e as T,f as D,ah as O,L as k}from"./app.js";import V from"./app-shell-CggZrBz6.js";import{AppSidebar as B}from"./app-sidebar-CiyLPsHp.js";import{A as K,a as N,N as _,b as F}from"./app-sidebar-header-pfquDpHT.js";import{r as l}from"./monaco-ICtx6xoc.js";const H=l.memo(({children:o,breadcrumbs:a=[],className:i})=>{const n=E();return e.jsxs(V,{variant:"sidebar",children:[e.jsx(I,{title:n.props.title}),e.jsx(B,{}),e.jsxs(L,{className:i,children:[e.jsx(K,{breadcrumbs:a}),e.jsx("div",{className:"relative flex-1 overflow-hidden",children:e.jsx("div",{className:"h-full",children:o})})]})]})});function $({width:o="min(25vw, 420px)"}){const{isEnabled:a,isOpen:i,closeChat:n,models:s,activeModel:r,setActiveModel:d,messages:c,loading:m,sending:x,error:j,sendMessage:y}=N(),[f,h]=l.useState(""),g=l.useRef(null);l.useEffect(()=>{i||h("")},[i]),l.useEffect(()=>{g.current&&g.current.scrollIntoView({behavior:"smooth"})},[c]);const u=s.length>0,A=async t=>{t.preventDefault();const p=f.trim();p&&(await y(p),h(""))},S=t=>{if((t.ctrlKey||t.metaKey)&&t.key==="Enter"){t.preventDefault();const p=f.trim();p&&!x&&(y(p),h(""))}};return a?e.jsxs("aside",{id:"ai-assistant-panel","aria-label":"AI assistant chat","aria-hidden":!i,className:v("bg-card text-card-foreground fixed bottom-0 right-0 top-0 z-[60] flex h-full flex-col border-l shadow-xl transition-all duration-300 ease-in-out","md:w-auto w-full",i?"translate-x-0 opacity-100":"translate-x-full opacity-0 pointer-events-none"),style:{width:"var(--ai-assistant-panel-actual-width, "+o+")"},children:[e.jsxs("div",{className:"flex items-center justify-between border-b px-4 py-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(P,{className:"size-5 text-primary"}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"font-semibold leading-tight",children:"AI assistant"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:"Chat with your selected model."})]})]}),e.jsx(w,{variant:"ghost",size:"icon",onClick:n,"aria-label":"Close AI assistant",children:e.jsx(z,{className:"size-4"})})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-4 overflow-hidden px-4 py-4",children:[!u&&!m&&e.jsx("div",{className:"flex flex-1 items-center justify-center rounded-md border border-dashed p-6 text-sm text-muted-foreground",children:"No AI models are available for your account."}),u&&e.jsxs(e.Fragment,{children:[e.jsxs(C,{value:r,onValueChange:d,children:[e.jsx(M,{className:"w-full",children:e.jsx(R,{placeholder:"Select a model"})}),e.jsx(T,{className:"z-[70]",children:s.map(t=>e.jsx(D,{value:t.id,children:e.jsxs("div",{className:"flex flex-col text-left",children:[e.jsx("span",{className:"font-medium",children:t.name}),t.description&&e.jsx("span",{className:"text-xs text-muted-foreground",children:t.description})]})},t.id))})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-3 overflow-hidden rounded-md border bg-background p-4",children:[e.jsxs("div",{className:"flex-1 space-y-3 overflow-y-auto pr-2","data-ai-assistant-messages":!0,children:[m&&e.jsx("div",{className:"flex justify-center py-6 text-sm text-muted-foreground",children:"Loading conversation..."}),!m&&c.length===0&&e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:"Start a conversation to see responses here."}),c.map(t=>e.jsxs("div",{className:v("flex flex-col gap-1 rounded-md border p-3 text-sm shadow-xs",t.role==="assistant"?"border-primary/30 bg-primary/5":"border-border bg-background"),children:[e.jsx("span",{className:"font-semibold",children:t.role==="assistant"?"Assistant":"You"}),e.jsx("p",{className:"whitespace-pre-wrap leading-relaxed",children:t.content}),e.jsx("span",{className:"text-xs text-muted-foreground",children:new Date(t.timestamp).toLocaleTimeString()})]},t.id)),e.jsx("div",{ref:g})]}),e.jsxs("form",{className:"space-y-2",onSubmit:A,children:[e.jsx(O,{placeholder:u?"Type your question... (Ctrl+Enter to send)":"No models available",value:f,onChange:t=>h(t.target.value),onKeyDown:S,disabled:!u||x,rows:3}),e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[j&&e.jsx("span",{className:"text-xs text-destructive",children:j}),e.jsx(w,{type:"submit",disabled:!u||x||!f.trim(),children:x?e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(k,{className:"size-4 animate-spin"}),"Sending…"]}):"Send"})]})]})]})]})]})]}):null}const q="min(25vw, 420px)",b="margin-right 300ms ease-in-out";function G({children:o,panelWidth:a=q}){const{isEnabled:i,isOpen:n}=N();return l.useEffect(()=>{const s=document.getElementById("app");if(!s)return;const r=s.style.transition,d=r==null?void 0:r.includes("margin-right");return d||(s.style.transition=r?`${r}, ${b}`:b),s.classList.add("ai-assistant-host"),s.style.setProperty("--ai-assistant-panel-width",a),()=>{s.classList.remove("ai-assistant-host"),s.style.removeProperty("--ai-assistant-panel-width"),s.style.removeProperty("--ai-assistant-panel-actual-width"),s.style.removeProperty("margin-right"),delete s.dataset.aiAssistantOpen,d||(s.style.transition=r)}},[a]),l.useEffect(()=>{const s=document.getElementById("app");if(!s)return;const r=window.innerWidth<768,d=r?"100vw":a;s.style.setProperty("--ai-assistant-panel-actual-width",d),i&&n?(s.style.marginRight=r?"0":a,s.dataset.aiAssistantOpen="true"):(s.style.removeProperty("margin-right"),s.dataset.aiAssistantOpen="false");const c=()=>{const m=window.innerWidth<768,x=m?"100vw":a;s.style.setProperty("--ai-assistant-panel-actual-width",x),i&&n&&(s.style.marginRight=m?"0":a)};return window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)},[i,n,a]),e.jsxs(e.Fragment,{children:[o,e.jsx($,{width:a})]})}const Z=l.memo(({children:o,className:a,breadcrumbs:i,...n})=>e.jsx(_,{children:e.jsxs(F,{children:[e.jsx(H,{breadcrumbs:i,className:a,...n,children:o}),e.jsx(G,{})]})}));export{Z as A};
@@ -1 +1 @@
1
- import{u as b,j as s,aP as N,aQ as g,aR as i,aS as c,aT as f,aU as v,aV as k,aW as d,B as C,aX as M,aY as w,aZ as _,a_ as y,a$ as B,b0 as x,W as n,b1 as T,b2 as p,b3 as t,C as o,b4 as h,b5 as j,b6 as m,b7 as u,b8 as R,b9 as $}from"./app.js";import{NavMain as P}from"./nav-main-CZa4xkP1.js";import l from"./material-icon-DwkE6wKL.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.js";import"./handsontable-PVakPtJV.js";function F(){const r=b();return s.jsxs(N,{collapsible:"icon",variant:"inset",children:[s.jsx(g,{children:s.jsx(i,{children:s.jsxs(c,{children:[s.jsx(f,{className:"p-0 shadow-none border-none bg-transparent hidden md:block",children:s.jsxs(v,{children:[s.jsx(k,{asChild:!0,className:"text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground rounded-md",children:s.jsx(d,{asChild:!0,children:s.jsx(C,{variant:"ghost",asChild:!0,className:`w-full ${r.props.section?"":"pointer-events-none"}`,children:s.jsxs("div",{children:[s.jsx(l,{name:"rocket_launch",className:"!text-[18px]"}),s.jsx("span",{className:"group-data-[state=collapsed]:hidden",children:r.props.brand}),r.props.section&&s.jsx(M,{className:"ml-auto group-data-[state=collapsed]:hidden"})]})})})}),r.props.section&&s.jsx(w,{side:"right",className:"z-[1003]",children:r.props.section.map(e=>s.jsx("div",{children:e.subItems?s.jsxs(_,{children:[s.jsxs(y,{className:"flex gap-2 items-center cursor-pointer",children:[s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]}),s.jsx(B,{children:e.subItems.map(a=>s.jsx(x,{children:a.type==="blank"?s.jsxs("a",{href:a.link,target:"_blank",className:"flex gap-2 items-center",children:[a.icon&&s.jsx(l,{name:a.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:a.title})]},a.id):s.jsxs(n,{href:a.link,className:"flex gap-2 items-center",children:[a.icon&&s.jsx(l,{name:a.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:a.title})]},a.id)},a.id))})]}):s.jsx(x,{children:e.type==="blank"?s.jsxs("a",{href:e.link,target:"_blank",className:"flex gap-2 items-center",children:[e.icon&&s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]}):s.jsxs(n,{href:e.link,className:"flex gap-2 items-center",children:[e.icon&&s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]})})},e.id))})]})}),s.jsx(T,{className:"px-2 py-0 block md:hidden",children:s.jsx(i,{children:s.jsx(p,{asChild:!0,className:"group/collapsible",children:s.jsxs(c,{children:[s.jsx(t,{asChild:!0,children:s.jsxs(d,{children:[s.jsx(l,{name:"rocket_launch",className:"!text-[18px]"}),s.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:r.props.brand}),r.props.section&&s.jsx(o,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"})]})}),r.props.section&&s.jsx(h,{children:s.jsx(j,{children:r.props.section&&r.props.section.map(e=>e.subItems?s.jsx(i,{children:s.jsx(p,{asChild:!0,className:"group/collapsible-sub",children:s.jsxs(c,{children:[s.jsx(t,{asChild:!0,children:s.jsxs(d,{children:[s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:e.title}),s.jsx(o,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible-sub:rotate-90"})]})}),s.jsx(h,{children:s.jsx(j,{children:e.subItems.map(a=>s.jsx(m,{children:s.jsx(u,{asChild:!0,children:a.type==="blank"?s.jsxs("a",{href:a.link,target:"_blank",className:"flex gap-2 items-center",children:[a.icon&&s.jsx(l,{name:a.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:a.title})]}):s.jsxs(n,{href:a.link,className:"flex gap-2 items-center",children:[a.icon&&s.jsx(l,{name:a.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:a.title})]})})},a.id))})})]})})},e.id):s.jsx(m,{children:s.jsx(u,{asChild:!0,children:e.type==="blank"?s.jsxs("a",{href:e.link,target:"_blank",className:"flex gap-2 items-center",children:[e.icon&&s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]}):s.jsxs(n,{href:e.link,className:"flex gap-2 items-center",children:[e.icon&&s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]})})},e.id))})})]})})})})]},r.props.brand)})}),s.jsx(R,{children:s.jsx(P,{items:r.props.menu})}),s.jsx($,{children:s.jsx("div",{className:"text-center opacity-70",children:r.props.showVersion&&"v.4.4.0"})})]})}export{F as AppSidebar};
1
+ import{u as b,j as s,aP as N,aQ as g,aR as i,aS as c,aT as f,aU as v,aV as k,aW as d,B as C,aX as M,aY as w,aZ as _,a_ as y,a$ as B,b0 as x,W as n,b1 as T,b2 as p,b3 as t,C as o,b4 as h,b5 as j,b6 as m,b7 as u,b8 as R,b9 as $}from"./app.js";import{NavMain as P}from"./nav-main-CZa4xkP1.js";import l from"./material-icon-DwkE6wKL.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.js";import"./handsontable-PVakPtJV.js";function F(){const r=b();return s.jsxs(N,{collapsible:"icon",variant:"inset",children:[s.jsx(g,{children:s.jsx(i,{children:s.jsxs(c,{children:[s.jsx(f,{className:"p-0 shadow-none border-none bg-transparent hidden md:block",children:s.jsxs(v,{children:[s.jsx(k,{asChild:!0,className:"text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground rounded-md",children:s.jsx(d,{asChild:!0,children:s.jsx(C,{variant:"ghost",asChild:!0,className:`w-full ${r.props.section?"":"pointer-events-none"}`,children:s.jsxs("div",{children:[s.jsx(l,{name:"rocket_launch",className:"!text-[18px]"}),s.jsx("span",{className:"group-data-[state=collapsed]:hidden",children:r.props.brand}),r.props.section&&s.jsx(M,{className:"ml-auto group-data-[state=collapsed]:hidden"})]})})})}),r.props.section&&s.jsx(w,{side:"right",className:"z-[1003]",children:r.props.section.map(e=>s.jsx("div",{children:e.subItems?s.jsxs(_,{children:[s.jsxs(y,{className:"flex gap-2 items-center cursor-pointer",children:[s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]}),s.jsx(B,{children:e.subItems.map(a=>s.jsx(x,{children:a.type==="blank"?s.jsxs("a",{href:a.link,target:"_blank",className:"flex gap-2 items-center",children:[a.icon&&s.jsx(l,{name:a.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:a.title})]},a.id):s.jsxs(n,{href:a.link,className:"flex gap-2 items-center",children:[a.icon&&s.jsx(l,{name:a.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:a.title})]},a.id)},a.id))})]}):s.jsx(x,{children:e.type==="blank"?s.jsxs("a",{href:e.link,target:"_blank",className:"flex gap-2 items-center",children:[e.icon&&s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]}):s.jsxs(n,{href:e.link,className:"flex gap-2 items-center",children:[e.icon&&s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]})})},e.id))})]})}),s.jsx(T,{className:"px-2 py-0 block md:hidden",children:s.jsx(i,{children:s.jsx(p,{asChild:!0,className:"group/collapsible",children:s.jsxs(c,{children:[s.jsx(t,{asChild:!0,children:s.jsxs(d,{children:[s.jsx(l,{name:"rocket_launch",className:"!text-[18px]"}),s.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:r.props.brand}),r.props.section&&s.jsx(o,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"})]})}),r.props.section&&s.jsx(h,{children:s.jsx(j,{children:r.props.section&&r.props.section.map(e=>e.subItems?s.jsx(i,{children:s.jsx(p,{asChild:!0,className:"group/collapsible-sub",children:s.jsxs(c,{children:[s.jsx(t,{asChild:!0,children:s.jsxs(d,{children:[s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:e.title}),s.jsx(o,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible-sub:rotate-90"})]})}),s.jsx(h,{children:s.jsx(j,{children:e.subItems.map(a=>s.jsx(m,{children:s.jsx(u,{asChild:!0,children:a.type==="blank"?s.jsxs("a",{href:a.link,target:"_blank",className:"flex gap-2 items-center",children:[a.icon&&s.jsx(l,{name:a.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:a.title})]}):s.jsxs(n,{href:a.link,className:"flex gap-2 items-center",children:[a.icon&&s.jsx(l,{name:a.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:a.title})]})})},a.id))})})]})})},e.id):s.jsx(m,{children:s.jsx(u,{asChild:!0,children:e.type==="blank"?s.jsxs("a",{href:e.link,target:"_blank",className:"flex gap-2 items-center",children:[e.icon&&s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]}):s.jsxs(n,{href:e.link,className:"flex gap-2 items-center",children:[e.icon&&s.jsx(l,{name:e.icon,className:"!text-[18px]"}),s.jsx("span",{className:"hover:underline",children:e.title})]})})},e.id))})})]})})})})]},r.props.brand)})}),s.jsx(R,{children:s.jsx(P,{items:r.props.menu})}),s.jsx($,{children:s.jsx("div",{className:"text-center opacity-70",children:r.props.showVersion&&"v.4.5.0"})})]})}export{F as AppSidebar};
package/assets/app.js CHANGED
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./add-group-CLSUO35F.js","./app-layout-mpp8ni0G.js","./app-shell-CggZrBz6.js","./monaco-ICtx6xoc.js","./vendor-wzZzN_Jv.js","./jsoneditor-D95dIAP2.js","./handsontable-PVakPtJV.js","./app-sidebar-Do2eoo3w.js","./nav-main-CZa4xkP1.js","./material-icon-DwkE6wKL.js","./app-sidebar-header-pfquDpHT.js","./breadcrumbs-BS5uXMaM.js","./nav-user-e1Cj0abB.js","./user-info-DrdQBvFb.js","./user-menu-content-ePAt_cwK.js","./theme-switcher-xFldiRZz.js","./icon-DpkedrXG.js","./add-group-form-BkXmTsXF.js","./add-user-Bw5AuxqF.js","./add-user-form-CeLtuCJN.js","./input-error-CmXZF6xy.js","./add-DlVWR7Qx.js","./add-form-BfIXZ_9g.js","./field-renderer-CUYWPzfi.js","./dynamic-controls-BOYmRX_z.js","./field-renderer-CRNLShJD.css","./catalog-BbgPgewa.js","./del-modal-P8KiMFNx.js","./catalog-D4n6dpGl.css","./dashboard-Chht3NJZ.js","./dashboard-BOltB2Hq.css","./form-wcpZWHjp.js","./form-DMLPoAW8.js","./home-OvDENcVX.js","./init-user-DaOvt0vG.js","./list-DfqnQZpI.js","./list-table-CmYyTdS5.js","./pagination-render-C1OX0c6q.js","./login-DR6fvKtm.js","./module-DxNCvjiw.js","./notification-DWxL0Sxm.js","./tabs-7Dl6--VG.js","./register-hJD1ETdf.js","./welcome-Buo3uXmE.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./add-group-DukHMB0D.js","./app-layout-BarrICdq.js","./app-shell-CggZrBz6.js","./monaco-ICtx6xoc.js","./vendor-wzZzN_Jv.js","./jsoneditor-D95dIAP2.js","./handsontable-PVakPtJV.js","./app-sidebar-CiyLPsHp.js","./nav-main-CZa4xkP1.js","./material-icon-DwkE6wKL.js","./app-sidebar-header-pfquDpHT.js","./breadcrumbs-BS5uXMaM.js","./nav-user-e1Cj0abB.js","./user-info-DrdQBvFb.js","./user-menu-content-ePAt_cwK.js","./theme-switcher-xFldiRZz.js","./icon-DpkedrXG.js","./add-group-form-BkXmTsXF.js","./add-user-BMSnrNjG.js","./add-user-form-CeLtuCJN.js","./input-error-CmXZF6xy.js","./add-8gey7dzI.js","./add-form-BfIXZ_9g.js","./field-renderer-CUYWPzfi.js","./dynamic-controls-BOYmRX_z.js","./field-renderer-CRNLShJD.css","./catalog-Bf_ljqeu.js","./del-modal-P8KiMFNx.js","./catalog-D4n6dpGl.css","./dashboard-Bq5BHxQd.js","./dashboard-BOltB2Hq.css","./form-BZYpPjh4.js","./form-DMLPoAW8.js","./home-DOZTBkTR.js","./init-user-DaOvt0vG.js","./list-BciRbNoe.js","./list-table-CmYyTdS5.js","./pagination-render-C1OX0c6q.js","./login-DR6fvKtm.js","./module-CXzKzMta.js","./notification-DiUY6oAU.js","./tabs-7Dl6--VG.js","./register-hJD1ETdf.js","./welcome-BhkcZ9JK.js"])))=>i.map(i=>d[i]);
2
2
  import{g as Ju,s as ai,c as xd,i as kV,h as _Q,e as SQ,f as CQ,t as LQ,_ as yn}from"./jsoneditor-D95dIAP2.js";import{b as NQ,c as VP,r as vV,a as IQ}from"./vendor-wzZzN_Jv.js";import{r as g,e as ke,R as gV,F as AQ}from"./monaco-ICtx6xoc.js";import{r as AA,R as e2,F as sa,a as la,b as da,c as ua,d as ha,e as pa,f as fa,g as ya,h as ma,i as ka,j as va,k as ga,l as Ma,m as xa,n as ba,o as wa,p as _a,q as Sa,s as Ca,t as La,u as Na,v as Ia,w as Aa,x as Ea,y as Ta,z as Ra,A as ja,B as Da,C as qa,D as za,E as $a,G as Oa,H as Pa,I as Ha,J as Ba,K as Va,L as Fa,M as Ua,N as Ga,O as Za,P as Wa,Q as Xa,S as Ka,T as Ya,U as Qa,V as Ja,W as eo,X as to,Y as no,Z as ao,_ as oo,$ as ro,a0 as io,a1 as co,a2 as so,a3 as lo,a4 as uo,a5 as ho,a6 as po,a7 as fo,a8 as yo,a9 as mo,aa as ko,ab as vo,ac as go,ad as Mo,ae as xo,af as bo,ag as wo,ah as _o,ai as So,aj as Co,ak as Ed,al as Td,am as Rd,an as EQ,ao as TQ,ap as RQ,aq as jQ,ar as DQ,as as qQ,at as zQ,au as $Q}from"./handsontable-PVakPtJV.js";var xR={exports:{}},$u={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
@@ -8062,4 +8062,4 @@ For more information, see https://radix-ui.com/primitives/docs/components/${n.do
8062
8062
  * Last updated: Mar 09, 2023
8063
8063
  *
8064
8064
  * Description: Definition file for Chinese - China language-country.
8065
- */const vqe={languageCode:"zh-CN",[Co]:"上方插入行",[So]:"下方插入行",[_o]:"左方插入列",[wo]:"右方插入列",[bo]:["移除该行","移除多行"],[xo]:["移除该列","移除多列"],[Mo]:"撤销",[go]:"恢复",[vo]:"只读",[ko]:"清空该列",[mo]:"对齐",[yo]:"左对齐",[fo]:"水平居中",[po]:"右对齐",[ho]:"两端对齐",[uo]:"顶端对齐",[lo]:"垂直居中",[so]:"底端对齐",[co]:"冻结该列",[io]:"取消冻结",[ro]:"边框",[oo]:"上",[ao]:"右",[no]:"下",[to]:"左",[eo]:"移除边框",[Ja]:"插入批注",[Qa]:"编辑批注",[Ya]:"删除批注",[Ka]:"只读批注",[Xa]:"合并",[Wa]:"取消合并",[Za]:"复制",[Rd]:"带标题的复制",[Td]:"带标题组的复制",[Ed]:"仅复制标题",[Ga]:"剪切",[Ua]:"插入子行",[Fa]:"与母行分离",[Va]:["隐藏该列","隐藏多列"],[Ba]:["显示该列","显示多列"],[Ha]:["隐藏该行","隐藏多行"],[Pa]:["显示该行","显示多行"],[Oa]:"无",[$a]:"为空",[za]:"不为空",[qa]:"等于",[Da]:"不等于",[ja]:"开头是",[Ra]:"结尾是",[Ta]:"包含",[Ea]:"不包含",[Aa]:"大于",[Ia]:"大于或等于",[Na]:"小于",[La]:"小于或等于",[Ca]:"在此范围",[Sa]:"不在此范围",[_a]:"之后",[wa]:"之前",[ba]:"今天",[xa]:"明天",[Ma]:"昨天",[ga]:"空白单元格",[va]:"按条件过滤",[ka]:"按值过滤",[ma]:"且",[ya]:"或",[fa]:"全选",[pa]:"清除",[ha]:"确认",[ua]:"取消",[da]:"搜索",[la]:"值",[sa]:"第二值"};jQ();const yV={de:sqe,en:zQ,es:lqe,fr:dqe,it:uqe,ja:hqe,ko:pqe,nl:fqe,pl:yqe,pt:mqe,ru:kqe,zh:vqe},gqe=document.documentElement.lang,pK=yV[gqe]??yV.en;DQ(pK);const fK=({config:e,data:n=[],onChange:o,disabled:r})=>{const{appearance:c}=iz(),[d,u]=g.useState("ht-theme-main"),h=g.useCallback((k,m)=>{var x,b;if(m==="loadData")return;const y=(b=(x=f.current)==null?void 0:x.hotInstance)==null?void 0:b.getSourceData();o(y)},[]),f=g.useRef(null);return g.useEffect(()=>{const k=setTimeout(()=>{var m;(m=f.current)!=null&&m.hotInstance&&f.current.hotInstance.loadData(n)},100);return()=>clearTimeout(k)},[n]),g.useEffect(()=>{u(c==="dark"?"ht-theme-main-dark":"ht-theme-main")},[c]),M.jsx(qQ,{className:r?"pointer-events-none opacity-50":"",themeName:d,language:pK.languageCode,ref:f,...e,afterChange:h,children:e.columns.map(k=>M.jsx($Q,{data:k.data,...k},k.data))})},nze=Object.freeze(Object.defineProperty({__proto__:null,default:fK},Symbol.toStringTag,{value:"Module"})),Mqe=()=>{const[e,n]=g.useState({width:typeof window<"u"?window.innerWidth:1024,height:typeof window<"u"?window.innerHeight:768});return g.useEffect(()=>{if(typeof window>"u")return;const o=()=>{n({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[]),e},yK=({onChange:e,value:n,options:o,disabled:r})=>{const{appearance:c}=iz(),[d,u]=g.useState("light"),h=g.useRef(null),f=g.useRef(null),{width:k}=Mqe(),m=k<768,y=k>=768&&k<1024,x=_=>{e(_)},b=_=>{h.current=_,w()},w=()=>{var C;if(!h.current)return;const _={minimap:{enabled:!m},fontSize:m?12:y?13:14,lineNumbers:m?"off":"on",lineDecorationsWidth:m?5:10,scrollBeyondLastLine:!m,wordWrap:m?"on":"bounded",renderWhitespace:m?"none":"selection",padding:{top:m?8:16,bottom:m?8:16}};h.current.updateOptions(_),(C=f.current)==null||C.classList.add("overflow-hidden"),setTimeout(()=>{var N,A;(N=h.current)==null||N.layout(),(A=f.current)==null||A.classList.remove("overflow-hidden")},100)};g.useEffect(()=>{u(c==="dark"?"vs-dark":"light")},[c]),g.useEffect(()=>{w()},[k]);const S=m?"300px":y?"400px":"500px";return M.jsx("div",{className:`border rounded-lg ${m?"p-1":"p-2"}`,ref:f,children:M.jsx(AQ,{height:S,language:o.language,value:n,theme:d,options:{automaticLayout:!0,...m&&{wordWrap:"on"},minimap:{enabled:!m}},onChange:x,onMount:b,className:`transition-all duration-200 ease-in-out ${r?"pointer-events-none opacity-50 cursor-not-allowed":""}`})})},aze=Object.freeze(Object.defineProperty({__proto__:null,default:yK},Symbol.toStringTag,{value:"Module"})),mV=OA("m-1 flex items-center border rounded-sm px-1",{variants:{variant:{default:"border-foreground/10 text-foreground bg-card hover:bg-card/80",secondary:"border-foreground/10 bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",inverted:"inverted"}},defaultVariants:{variant:"default"}}),cz=g.forwardRef(({options:e,onValueChange:n,variant:o,processing:r,disabled:c,defaultValue:d=[],placeholder:u="",notFound:h="",search:f="",animation:k=0,maxCount:m=3,modalPopover:y=!1,asChild:x=!1,className:b,mode:w="multiple",...S},_)=>{const[C,N]=g.useState(d),[A,T]=g.useState(!1),[q,$]=g.useState(!1),z=V=>{if(V.key==="Enter")T(!0);else if(V.key==="Backspace"&&!V.currentTarget.value){const se=[...C];se.pop(),N(se),n(se)}},P=V=>{let se;w==="single"?se=C.includes(V)?[]:[V]:se=C.includes(V)?C.filter(le=>le!==V):[...C,V],N(se),n(se),w==="single"&&T(!1)},ae=()=>{N([]),n([])},re=()=>{T(V=>!V)},he=()=>{const V=C.slice(0,m);N(V),n(V)};return M.jsxs(FW,{open:A,onOpenChange:T,modal:y,children:[M.jsx(UW,{asChild:!0,children:M.jsx(PA,{ref:_,...S,onClick:re,disabled:c,className:K("flex w-full p-1 rounded-md border-input border-1 min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto",b),children:C.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[C.slice(0,m).map(V=>{const se=e.find(ye=>ye.value===V),le=se==null?void 0:se.icon;return M.jsxs("div",{className:K(q?"animate-bounce":"",mV({variant:o})),style:{animationDuration:`${k}s`},children:[le&&M.jsx(le,{className:"h-4 w-4 mr-2"}),se==null?void 0:se.label,M.jsx(Mr,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:ye=>{ye.stopPropagation(),r||P(V)}})]},V)}),w==="multiple"&&C.length>m&&M.jsxs("div",{className:K("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",q?"animate-bounce":"",mV({variant:o})),style:{animationDuration:`${k}s`},children:[`+ ${C.length-m} more`,M.jsx(Mr,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:V=>{V.stopPropagation(),he()}})]})]}),M.jsxs("div",{className:"flex items-center justify-between",children:[C.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(ri,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:V=>{V.stopPropagation(),ae()}}),M.jsx(tz,{orientation:"vertical",className:"flex min-h-6 h-full"})]}),M.jsx(oi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground"})]})]}):M.jsxs("div",{className:"flex items-center justify-between w-full mx-auto",children:[M.jsx("span",{className:"text-sm text-muted-foreground mx-3",children:u}),M.jsx(oi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})})}),M.jsx(GW,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>T(!1),children:M.jsxs(mq,{children:[M.jsx(vG,{placeholder:f,onKeyDown:z}),M.jsxs(gG,{children:[M.jsx(MG,{children:h}),M.jsx(xG,{children:e.map(V=>{const se=C.includes(V.value);return M.jsxs(wG,{onSelect:()=>P(V.value),className:"cursor-pointer",children:[M.jsx("div",{className:K("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",se?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(Uo,{className:"h-4 w-4 text-primary-foreground"})}),V.icon&&M.jsx(V.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:V.label})]},V.value)})}),M.jsx(bG,{})]})]})}),k>0&&C.length>0&&w==="multiple"&&M.jsx(ti,{className:K("cursor-pointer my-2 text-foreground bg-background w-3 h-3",q?"":"text-muted-foreground"),onClick:()=>$(!q)})]})});cz.displayName="MultiSelect";const oze=Object.freeze(Object.defineProperty({__proto__:null,default:cz},Symbol.toStringTag,{value:"Module"}));function xqe(){window.UIComponents??(window.UIComponents={}),window.JSComponents??(window.JSComponents={}),window.axios=wt,window.sonner=PDe,Object.assign(window.UIComponents,{Avatar:bae,AvatarImage:wae,AvatarFallback:_ae,Badge:Cae,Breadcrumb:N9e,BreadcrumbList:I9e,BreadcrumbItem:A9e,BreadcrumbLink:E9e,BreadcrumbPage:T9e,BreadcrumbSeparator:R9e,BreadcrumbEllipsis:j9e,Button:PA,Calendar:xSe,Card:bSe,CardHeader:wSe,CardFooter:NSe,CardTitle:_Se,CardAction:CSe,CardDescription:SSe,CardContent:LSe,Checkbox:OSe,Collapsible:GSe,CollapsibleTrigger:ZSe,CollapsibleContent:WSe,Command:mq,CommandDialog:RLe,CommandInput:vG,CommandList:gG,CommandEmpty:MG,CommandGroup:xG,CommandItem:wG,CommandShortcut:jLe,CommandSeparator:bG,ContextMenu:uAe,ContextMenuTrigger:hAe,ContextMenuContent:gAe,ContextMenuItem:MAe,ContextMenuCheckboxItem:xAe,ContextMenuRadioItem:bAe,ContextMenuLabel:wAe,ContextMenuSeparator:_Ae,ContextMenuShortcut:SAe,ContextMenuGroup:pAe,ContextMenuPortal:fAe,ContextMenuSub:yAe,ContextMenuSubContent:vAe,ContextMenuSubTrigger:kAe,ContextMenuRadioGroup:mAe,Dialog:uG,DialogClose:ELe,DialogContent:fG,DialogDescription:kG,DialogFooter:TLe,DialogHeader:yG,DialogOverlay:pG,DialogPortal:hG,DialogTitle:mG,DialogTrigger:ALe,DialogStack:VZ,DialogStackTrigger:CAe,DialogStackOverlay:LAe,DialogStackBody:NAe,DialogStackContent:IAe,DialogStackTitle:AAe,DialogStackDescription:EAe,DialogStackHeader:TAe,DialogStackFooter:RAe,DialogStackNext:jAe,DialogStackPrevious:DAe,DropdownMenu:uEe,DropdownMenuPortal:hEe,DropdownMenuTrigger:pEe,DropdownMenuContent:fEe,DropdownMenuGroup:yEe,DropdownMenuLabel:MEe,DropdownMenuItem:mEe,DropdownMenuCheckboxItem:kEe,DropdownMenuRadioGroup:vEe,DropdownMenuRadioItem:gEe,DropdownMenuSeparator:xEe,DropdownMenuShortcut:bEe,DropdownMenuSub:wEe,DropdownMenuSubTrigger:_Ee,DropdownMenuSubContent:SEe,Input:lW,Label:NEe,Menubar:sTe,MenubarPortal:TW,MenubarMenu:lTe,MenubarTrigger:hTe,MenubarContent:pTe,MenubarGroup:dTe,MenubarSeparator:vTe,MenubarLabel:kTe,MenubarItem:fTe,MenubarShortcut:gTe,MenubarCheckboxItem:yTe,MenubarRadioGroup:uTe,MenubarRadioItem:mTe,MenubarSub:MTe,MenubarSubTrigger:xTe,MenubarSubContent:bTe,Pagination:wTe,PaginationContent:_Te,PaginationLink:Qq,PaginationItem:STe,PaginationPrevious:CTe,PaginationNext:LTe,PaginationEllipsis:NTe,Popover:FW,PopoverTrigger:UW,PopoverContent:GW,PopoverAnchor:VTe,Select:LRe,SelectContent:ERe,SelectGroup:NRe,SelectItem:RRe,SelectLabel:TRe,SelectScrollDownButton:SX,SelectScrollUpButton:_X,SelectSeparator:jRe,SelectTrigger:ARe,SelectValue:IRe,Separator:tz,Sheet:LX,SheetTrigger:ORe,SheetClose:PRe,SheetContent:NX,SheetHeader:IX,SheetFooter:VRe,SheetTitle:AX,SheetDescription:EX,Sidebar:gje,SidebarContent:Lje,SidebarFooter:Sje,SidebarGroup:Nje,SidebarGroupAction:Aje,SidebarGroupContent:Eje,SidebarGroupLabel:Ije,SidebarHeader:_je,SidebarInput:wje,SidebarInset:bje,SidebarMenu:Tje,SidebarMenuAction:qje,SidebarMenuBadge:zje,SidebarMenuButton:Dje,SidebarMenuItem:Rje,SidebarMenuSkeleton:$je,SidebarMenuSub:Oje,SidebarMenuSubButton:Hje,SidebarMenuSubItem:Pje,SidebarProvider:vje,SidebarRail:xje,SidebarSeparator:Cje,SidebarTrigger:Mje,useSidebar:E2,Skeleton:ID,Slider:cDe,Toaster:HDe,Switch:WDe,Table:XDe,TableHeader:KDe,TableBody:YDe,TableFooter:QDe,TableHead:eqe,TableRow:JDe,TableCell:tqe,TableCaption:nqe,Textarea:aqe,Tooltip:HX,TooltipTrigger:BX,TooltipContent:VX,TooltipProvider:oz,VanillaJSONEditor:qD}),Object.assign(window.JSComponents,{VanillaJSONEditor:qD,HandsonTable:fK,MonacoEditor:yK,MultiSelect:cz})}const{createInertiaApp:bqe}=LF;window.React=ke;window.ReactDOM=e2;window.InertiajsReact=LF;window.LucideReact=L9e;xqe();async function wqe(e,n){for(const o of Array.isArray(e)?e:[e]){const r=n[o];if(!(typeof r>"u"))return typeof r=="function"?r():r}throw new Error(`Page not found: ${e}`)}bqe({title:e=>`${e}`,resolve:e=>wqe(`./pages/${e}.tsx`,Object.assign({"./pages/add-group.tsx":()=>yn(()=>import("./add-group-CLSUO35F.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./pages/add-user.tsx":()=>yn(()=>import("./add-user-Bw5AuxqF.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,20]),import.meta.url),"./pages/add.tsx":()=>yn(()=>import("./add-DlVWR7Qx.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,22,23,24,25,20]),import.meta.url),"./pages/catalog.tsx":()=>yn(()=>import("./catalog-BbgPgewa.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,27,22,23,24,25,20,28]),import.meta.url),"./pages/dashboard.tsx":()=>yn(()=>import("./dashboard-Chht3NJZ.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,30]),import.meta.url),"./pages/form.tsx":()=>yn(()=>import("./form-wcpZWHjp.js"),__vite__mapDeps([31,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,32,22,23,24,25,20]),import.meta.url),"./pages/home.tsx":()=>yn(()=>import("./home-OvDENcVX.js"),__vite__mapDeps([33,5,4,3,6]),import.meta.url),"./pages/init-user.tsx":()=>yn(()=>import("./init-user-DaOvt0vG.js"),__vite__mapDeps([34,3,4,20,5,6]),import.meta.url),"./pages/list.tsx":()=>yn(()=>import("./list-DfqnQZpI.js"),__vite__mapDeps([35,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,36,27,37]),import.meta.url),"./pages/login.tsx":()=>yn(()=>import("./login-DR6fvKtm.js"),__vite__mapDeps([38,16,5,4,3,6,20]),import.meta.url),"./pages/module.tsx":()=>yn(()=>import("./module-DxNCvjiw.js"),__vite__mapDeps([39,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url),"./pages/notification.tsx":()=>yn(()=>import("./notification-DWxL0Sxm.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,41]),import.meta.url),"./pages/register.tsx":()=>yn(()=>import("./register-hJD1ETdf.js"),__vite__mapDeps([42,3,4,20,5,6]),import.meta.url),"./pages/welcome.tsx":()=>yn(()=>import("./welcome-Buo3uXmE.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url)})),setup({el:e,App:n,props:o}){bne.createRoot(e).render(M.jsx(n,{...o}))},progress:{color:"#0f4898"}});export{En as $,MAe as A,PA as B,Go as C,VZ as D,j5 as E,bSe as F,wSe as G,_Se as H,lW as I,NSe as J,oz as K,Cs as L,HX as M,BX as N,VX as O,nw as P,WDe as Q,CAe as R,LRe as S,HDe as T,AAe as U,une as V,pne as W,xF as X,Yqe as Y,cI as Z,K as _,T5 as a,bTe as a$,Rx as a0,Ap as a1,XDe as a2,KDe as a3,JDe as a4,eqe as a5,YDe as a6,tqe as a7,Ji as a8,uG as a9,bt as aA,be as aB,oE as aC,KG as aD,YG as aE,ge as aF,xn as aG,lb as aH,P8 as aI,vje as aJ,uEe as aK,Uf as aL,mEe as aM,xEe as aN,Mje as aO,gje as aP,_je as aQ,Tje as aR,Rje as aS,sTe as aT,lTe as aU,hTe as aV,Dje as aW,_4 as aX,pTe as aY,MTe as aZ,xTe as a_,fG as aa,yG as ab,mG as ac,bje as ad,zF as ae,Js as af,ri as ag,aqe as ah,Mqe as ai,iz as aj,R7 as ak,y8 as al,Vw as am,Uo as an,kN as ao,nl as ap,TLe as aq,ELe as ar,Pp as as,bp as at,Cp as au,ALe as av,ys as aw,g2 as ax,dn as ay,Jt as az,NEe as b,fTe as b0,Nje as b1,wU as b2,ZSe as b3,CU as b4,Oje as b5,Pje as b6,Hje as b7,Lje as b8,Sje as b9,eze as bA,Jqe as bB,Qqe as bC,cz as bD,cDe as bE,Xqe as bF,jp as bG,Yu as bH,H1 as bI,Kw as bJ,wTe as bK,_Te as bL,STe as bM,Qq as bN,CTe as bO,LTe as bP,tze as bQ,nze as bR,aze as bS,oze as bT,N9e as ba,I9e as bb,A9e as bc,T9e as bd,E9e as be,R9e as bf,FW as bg,UW as bh,Il as bi,Dm as bj,GW as bk,xSe as bl,Ije as bm,Eje as bn,GSe as bo,WSe as bp,E2 as bq,FRe as br,XC as bs,Wx as bt,YC as bu,bae as bv,wae as bw,_ae as bx,MEe as by,c7 as bz,ARe as c,IRe as d,ERe as e,RRe as f,OSe as g,wt as h,LAe as i,M as j,NAe as k,IAe as l,ID as m,w9 as n,yf as o,UZ as p,pEe as q,CF as r,Ki as s,NDe as t,gF as u,fEe as v,yEe as w,uAe as x,hAe as y,gAe as z};
8065
+ */const vqe={languageCode:"zh-CN",[Co]:"上方插入行",[So]:"下方插入行",[_o]:"左方插入列",[wo]:"右方插入列",[bo]:["移除该行","移除多行"],[xo]:["移除该列","移除多列"],[Mo]:"撤销",[go]:"恢复",[vo]:"只读",[ko]:"清空该列",[mo]:"对齐",[yo]:"左对齐",[fo]:"水平居中",[po]:"右对齐",[ho]:"两端对齐",[uo]:"顶端对齐",[lo]:"垂直居中",[so]:"底端对齐",[co]:"冻结该列",[io]:"取消冻结",[ro]:"边框",[oo]:"上",[ao]:"右",[no]:"下",[to]:"左",[eo]:"移除边框",[Ja]:"插入批注",[Qa]:"编辑批注",[Ya]:"删除批注",[Ka]:"只读批注",[Xa]:"合并",[Wa]:"取消合并",[Za]:"复制",[Rd]:"带标题的复制",[Td]:"带标题组的复制",[Ed]:"仅复制标题",[Ga]:"剪切",[Ua]:"插入子行",[Fa]:"与母行分离",[Va]:["隐藏该列","隐藏多列"],[Ba]:["显示该列","显示多列"],[Ha]:["隐藏该行","隐藏多行"],[Pa]:["显示该行","显示多行"],[Oa]:"无",[$a]:"为空",[za]:"不为空",[qa]:"等于",[Da]:"不等于",[ja]:"开头是",[Ra]:"结尾是",[Ta]:"包含",[Ea]:"不包含",[Aa]:"大于",[Ia]:"大于或等于",[Na]:"小于",[La]:"小于或等于",[Ca]:"在此范围",[Sa]:"不在此范围",[_a]:"之后",[wa]:"之前",[ba]:"今天",[xa]:"明天",[Ma]:"昨天",[ga]:"空白单元格",[va]:"按条件过滤",[ka]:"按值过滤",[ma]:"且",[ya]:"或",[fa]:"全选",[pa]:"清除",[ha]:"确认",[ua]:"取消",[da]:"搜索",[la]:"值",[sa]:"第二值"};jQ();const yV={de:sqe,en:zQ,es:lqe,fr:dqe,it:uqe,ja:hqe,ko:pqe,nl:fqe,pl:yqe,pt:mqe,ru:kqe,zh:vqe},gqe=document.documentElement.lang,pK=yV[gqe]??yV.en;DQ(pK);const fK=({config:e,data:n=[],onChange:o,disabled:r})=>{const{appearance:c}=iz(),[d,u]=g.useState("ht-theme-main"),h=g.useCallback((k,m)=>{var x,b;if(m==="loadData")return;const y=(b=(x=f.current)==null?void 0:x.hotInstance)==null?void 0:b.getSourceData();o(y)},[]),f=g.useRef(null);return g.useEffect(()=>{const k=setTimeout(()=>{var m;(m=f.current)!=null&&m.hotInstance&&f.current.hotInstance.loadData(n)},100);return()=>clearTimeout(k)},[n]),g.useEffect(()=>{u(c==="dark"?"ht-theme-main-dark":"ht-theme-main")},[c]),M.jsx(qQ,{className:r?"pointer-events-none opacity-50":"",themeName:d,language:pK.languageCode,ref:f,...e,afterChange:h,children:e.columns.map(k=>M.jsx($Q,{data:k.data,...k},k.data))})},nze=Object.freeze(Object.defineProperty({__proto__:null,default:fK},Symbol.toStringTag,{value:"Module"})),Mqe=()=>{const[e,n]=g.useState({width:typeof window<"u"?window.innerWidth:1024,height:typeof window<"u"?window.innerHeight:768});return g.useEffect(()=>{if(typeof window>"u")return;const o=()=>{n({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)},[]),e},yK=({onChange:e,value:n,options:o,disabled:r})=>{const{appearance:c}=iz(),[d,u]=g.useState("light"),h=g.useRef(null),f=g.useRef(null),{width:k}=Mqe(),m=k<768,y=k>=768&&k<1024,x=_=>{e(_)},b=_=>{h.current=_,w()},w=()=>{var C;if(!h.current)return;const _={minimap:{enabled:!m},fontSize:m?12:y?13:14,lineNumbers:m?"off":"on",lineDecorationsWidth:m?5:10,scrollBeyondLastLine:!m,wordWrap:m?"on":"bounded",renderWhitespace:m?"none":"selection",padding:{top:m?8:16,bottom:m?8:16}};h.current.updateOptions(_),(C=f.current)==null||C.classList.add("overflow-hidden"),setTimeout(()=>{var N,A;(N=h.current)==null||N.layout(),(A=f.current)==null||A.classList.remove("overflow-hidden")},100)};g.useEffect(()=>{u(c==="dark"?"vs-dark":"light")},[c]),g.useEffect(()=>{w()},[k]);const S=m?"300px":y?"400px":"500px";return M.jsx("div",{className:`border rounded-lg ${m?"p-1":"p-2"}`,ref:f,children:M.jsx(AQ,{height:S,language:o.language,value:n,theme:d,options:{automaticLayout:!0,...m&&{wordWrap:"on"},minimap:{enabled:!m}},onChange:x,onMount:b,className:`transition-all duration-200 ease-in-out ${r?"pointer-events-none opacity-50 cursor-not-allowed":""}`})})},aze=Object.freeze(Object.defineProperty({__proto__:null,default:yK},Symbol.toStringTag,{value:"Module"})),mV=OA("m-1 flex items-center border rounded-sm px-1",{variants:{variant:{default:"border-foreground/10 text-foreground bg-card hover:bg-card/80",secondary:"border-foreground/10 bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",inverted:"inverted"}},defaultVariants:{variant:"default"}}),cz=g.forwardRef(({options:e,onValueChange:n,variant:o,processing:r,disabled:c,defaultValue:d=[],placeholder:u="",notFound:h="",search:f="",animation:k=0,maxCount:m=3,modalPopover:y=!1,asChild:x=!1,className:b,mode:w="multiple",...S},_)=>{const[C,N]=g.useState(d),[A,T]=g.useState(!1),[q,$]=g.useState(!1),z=V=>{if(V.key==="Enter")T(!0);else if(V.key==="Backspace"&&!V.currentTarget.value){const se=[...C];se.pop(),N(se),n(se)}},P=V=>{let se;w==="single"?se=C.includes(V)?[]:[V]:se=C.includes(V)?C.filter(le=>le!==V):[...C,V],N(se),n(se),w==="single"&&T(!1)},ae=()=>{N([]),n([])},re=()=>{T(V=>!V)},he=()=>{const V=C.slice(0,m);N(V),n(V)};return M.jsxs(FW,{open:A,onOpenChange:T,modal:y,children:[M.jsx(UW,{asChild:!0,children:M.jsx(PA,{ref:_,...S,onClick:re,disabled:c,className:K("flex w-full p-1 rounded-md border-input border-1 min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto",b),children:C.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[C.slice(0,m).map(V=>{const se=e.find(ye=>ye.value===V),le=se==null?void 0:se.icon;return M.jsxs("div",{className:K(q?"animate-bounce":"",mV({variant:o})),style:{animationDuration:`${k}s`},children:[le&&M.jsx(le,{className:"h-4 w-4 mr-2"}),se==null?void 0:se.label,M.jsx(Mr,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:ye=>{ye.stopPropagation(),r||P(V)}})]},V)}),w==="multiple"&&C.length>m&&M.jsxs("div",{className:K("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",q?"animate-bounce":"",mV({variant:o})),style:{animationDuration:`${k}s`},children:[`+ ${C.length-m} more`,M.jsx(Mr,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:V=>{V.stopPropagation(),he()}})]})]}),M.jsxs("div",{className:"flex items-center justify-between",children:[C.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(ri,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:V=>{V.stopPropagation(),ae()}}),M.jsx(tz,{orientation:"vertical",className:"flex min-h-6 h-full"})]}),M.jsx(oi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground"})]})]}):M.jsxs("div",{className:"flex items-center justify-between w-full mx-auto",children:[M.jsx("span",{className:"text-sm text-muted-foreground mx-3",children:u}),M.jsx(oi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})})}),M.jsx(GW,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>T(!1),children:M.jsxs(mq,{children:[M.jsx(vG,{placeholder:f,onKeyDown:z}),M.jsxs(gG,{children:[M.jsx(MG,{children:h}),M.jsx(xG,{children:e.map(V=>{const se=C.includes(V.value);return M.jsxs(wG,{onSelect:()=>P(V.value),className:"cursor-pointer",children:[M.jsx("div",{className:K("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",se?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(Uo,{className:"h-4 w-4 text-primary-foreground"})}),V.icon&&M.jsx(V.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:V.label})]},V.value)})}),M.jsx(bG,{})]})]})}),k>0&&C.length>0&&w==="multiple"&&M.jsx(ti,{className:K("cursor-pointer my-2 text-foreground bg-background w-3 h-3",q?"":"text-muted-foreground"),onClick:()=>$(!q)})]})});cz.displayName="MultiSelect";const oze=Object.freeze(Object.defineProperty({__proto__:null,default:cz},Symbol.toStringTag,{value:"Module"}));function xqe(){window.UIComponents??(window.UIComponents={}),window.JSComponents??(window.JSComponents={}),window.axios=wt,window.sonner=PDe,Object.assign(window.UIComponents,{Avatar:bae,AvatarImage:wae,AvatarFallback:_ae,Badge:Cae,Breadcrumb:N9e,BreadcrumbList:I9e,BreadcrumbItem:A9e,BreadcrumbLink:E9e,BreadcrumbPage:T9e,BreadcrumbSeparator:R9e,BreadcrumbEllipsis:j9e,Button:PA,Calendar:xSe,Card:bSe,CardHeader:wSe,CardFooter:NSe,CardTitle:_Se,CardAction:CSe,CardDescription:SSe,CardContent:LSe,Checkbox:OSe,Collapsible:GSe,CollapsibleTrigger:ZSe,CollapsibleContent:WSe,Command:mq,CommandDialog:RLe,CommandInput:vG,CommandList:gG,CommandEmpty:MG,CommandGroup:xG,CommandItem:wG,CommandShortcut:jLe,CommandSeparator:bG,ContextMenu:uAe,ContextMenuTrigger:hAe,ContextMenuContent:gAe,ContextMenuItem:MAe,ContextMenuCheckboxItem:xAe,ContextMenuRadioItem:bAe,ContextMenuLabel:wAe,ContextMenuSeparator:_Ae,ContextMenuShortcut:SAe,ContextMenuGroup:pAe,ContextMenuPortal:fAe,ContextMenuSub:yAe,ContextMenuSubContent:vAe,ContextMenuSubTrigger:kAe,ContextMenuRadioGroup:mAe,Dialog:uG,DialogClose:ELe,DialogContent:fG,DialogDescription:kG,DialogFooter:TLe,DialogHeader:yG,DialogOverlay:pG,DialogPortal:hG,DialogTitle:mG,DialogTrigger:ALe,DialogStack:VZ,DialogStackTrigger:CAe,DialogStackOverlay:LAe,DialogStackBody:NAe,DialogStackContent:IAe,DialogStackTitle:AAe,DialogStackDescription:EAe,DialogStackHeader:TAe,DialogStackFooter:RAe,DialogStackNext:jAe,DialogStackPrevious:DAe,DropdownMenu:uEe,DropdownMenuPortal:hEe,DropdownMenuTrigger:pEe,DropdownMenuContent:fEe,DropdownMenuGroup:yEe,DropdownMenuLabel:MEe,DropdownMenuItem:mEe,DropdownMenuCheckboxItem:kEe,DropdownMenuRadioGroup:vEe,DropdownMenuRadioItem:gEe,DropdownMenuSeparator:xEe,DropdownMenuShortcut:bEe,DropdownMenuSub:wEe,DropdownMenuSubTrigger:_Ee,DropdownMenuSubContent:SEe,Input:lW,Label:NEe,Menubar:sTe,MenubarPortal:TW,MenubarMenu:lTe,MenubarTrigger:hTe,MenubarContent:pTe,MenubarGroup:dTe,MenubarSeparator:vTe,MenubarLabel:kTe,MenubarItem:fTe,MenubarShortcut:gTe,MenubarCheckboxItem:yTe,MenubarRadioGroup:uTe,MenubarRadioItem:mTe,MenubarSub:MTe,MenubarSubTrigger:xTe,MenubarSubContent:bTe,Pagination:wTe,PaginationContent:_Te,PaginationLink:Qq,PaginationItem:STe,PaginationPrevious:CTe,PaginationNext:LTe,PaginationEllipsis:NTe,Popover:FW,PopoverTrigger:UW,PopoverContent:GW,PopoverAnchor:VTe,Select:LRe,SelectContent:ERe,SelectGroup:NRe,SelectItem:RRe,SelectLabel:TRe,SelectScrollDownButton:SX,SelectScrollUpButton:_X,SelectSeparator:jRe,SelectTrigger:ARe,SelectValue:IRe,Separator:tz,Sheet:LX,SheetTrigger:ORe,SheetClose:PRe,SheetContent:NX,SheetHeader:IX,SheetFooter:VRe,SheetTitle:AX,SheetDescription:EX,Sidebar:gje,SidebarContent:Lje,SidebarFooter:Sje,SidebarGroup:Nje,SidebarGroupAction:Aje,SidebarGroupContent:Eje,SidebarGroupLabel:Ije,SidebarHeader:_je,SidebarInput:wje,SidebarInset:bje,SidebarMenu:Tje,SidebarMenuAction:qje,SidebarMenuBadge:zje,SidebarMenuButton:Dje,SidebarMenuItem:Rje,SidebarMenuSkeleton:$je,SidebarMenuSub:Oje,SidebarMenuSubButton:Hje,SidebarMenuSubItem:Pje,SidebarProvider:vje,SidebarRail:xje,SidebarSeparator:Cje,SidebarTrigger:Mje,useSidebar:E2,Skeleton:ID,Slider:cDe,Toaster:HDe,Switch:WDe,Table:XDe,TableHeader:KDe,TableBody:YDe,TableFooter:QDe,TableHead:eqe,TableRow:JDe,TableCell:tqe,TableCaption:nqe,Textarea:aqe,Tooltip:HX,TooltipTrigger:BX,TooltipContent:VX,TooltipProvider:oz,VanillaJSONEditor:qD}),Object.assign(window.JSComponents,{VanillaJSONEditor:qD,HandsonTable:fK,MonacoEditor:yK,MultiSelect:cz})}const{createInertiaApp:bqe}=LF;window.React=ke;window.ReactDOM=e2;window.InertiajsReact=LF;window.LucideReact=L9e;xqe();async function wqe(e,n){for(const o of Array.isArray(e)?e:[e]){const r=n[o];if(!(typeof r>"u"))return typeof r=="function"?r():r}throw new Error(`Page not found: ${e}`)}bqe({title:e=>`${e}`,resolve:e=>wqe(`./pages/${e}.tsx`,Object.assign({"./pages/add-group.tsx":()=>yn(()=>import("./add-group-DukHMB0D.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url),"./pages/add-user.tsx":()=>yn(()=>import("./add-user-BMSnrNjG.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,19,20]),import.meta.url),"./pages/add.tsx":()=>yn(()=>import("./add-8gey7dzI.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,22,23,24,25,20]),import.meta.url),"./pages/catalog.tsx":()=>yn(()=>import("./catalog-Bf_ljqeu.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,27,22,23,24,25,20,28]),import.meta.url),"./pages/dashboard.tsx":()=>yn(()=>import("./dashboard-Bq5BHxQd.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,30]),import.meta.url),"./pages/form.tsx":()=>yn(()=>import("./form-BZYpPjh4.js"),__vite__mapDeps([31,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,32,22,23,24,25,20]),import.meta.url),"./pages/home.tsx":()=>yn(()=>import("./home-DOZTBkTR.js"),__vite__mapDeps([33,5,4,3,6]),import.meta.url),"./pages/init-user.tsx":()=>yn(()=>import("./init-user-DaOvt0vG.js"),__vite__mapDeps([34,3,4,20,5,6]),import.meta.url),"./pages/list.tsx":()=>yn(()=>import("./list-BciRbNoe.js"),__vite__mapDeps([35,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,36,27,37]),import.meta.url),"./pages/login.tsx":()=>yn(()=>import("./login-DR6fvKtm.js"),__vite__mapDeps([38,16,5,4,3,6,20]),import.meta.url),"./pages/module.tsx":()=>yn(()=>import("./module-CXzKzMta.js"),__vite__mapDeps([39,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url),"./pages/notification.tsx":()=>yn(()=>import("./notification-DiUY6oAU.js"),__vite__mapDeps([40,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,41]),import.meta.url),"./pages/register.tsx":()=>yn(()=>import("./register-hJD1ETdf.js"),__vite__mapDeps([42,3,4,20,5,6]),import.meta.url),"./pages/welcome.tsx":()=>yn(()=>import("./welcome-BhkcZ9JK.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url)})),setup({el:e,App:n,props:o}){bne.createRoot(e).render(M.jsx(n,{...o}))},progress:{color:"#0f4898"}});export{En as $,MAe as A,PA as B,Go as C,VZ as D,j5 as E,bSe as F,wSe as G,_Se as H,lW as I,NSe as J,oz as K,Cs as L,HX as M,BX as N,VX as O,nw as P,WDe as Q,CAe as R,LRe as S,HDe as T,AAe as U,une as V,pne as W,xF as X,Yqe as Y,cI as Z,K as _,T5 as a,bTe as a$,Rx as a0,Ap as a1,XDe as a2,KDe as a3,JDe as a4,eqe as a5,YDe as a6,tqe as a7,Ji as a8,uG as a9,bt as aA,be as aB,oE as aC,KG as aD,YG as aE,ge as aF,xn as aG,lb as aH,P8 as aI,vje as aJ,uEe as aK,Uf as aL,mEe as aM,xEe as aN,Mje as aO,gje as aP,_je as aQ,Tje as aR,Rje as aS,sTe as aT,lTe as aU,hTe as aV,Dje as aW,_4 as aX,pTe as aY,MTe as aZ,xTe as a_,fG as aa,yG as ab,mG as ac,bje as ad,zF as ae,Js as af,ri as ag,aqe as ah,Mqe as ai,iz as aj,R7 as ak,y8 as al,Vw as am,Uo as an,kN as ao,nl as ap,TLe as aq,ELe as ar,Pp as as,bp as at,Cp as au,ALe as av,ys as aw,g2 as ax,dn as ay,Jt as az,NEe as b,fTe as b0,Nje as b1,wU as b2,ZSe as b3,CU as b4,Oje as b5,Pje as b6,Hje as b7,Lje as b8,Sje as b9,eze as bA,Jqe as bB,Qqe as bC,cz as bD,cDe as bE,Xqe as bF,jp as bG,Yu as bH,H1 as bI,Kw as bJ,wTe as bK,_Te as bL,STe as bM,Qq as bN,CTe as bO,LTe as bP,tze as bQ,nze as bR,aze as bS,oze as bT,N9e as ba,I9e as bb,A9e as bc,T9e as bd,E9e as be,R9e as bf,FW as bg,UW as bh,Il as bi,Dm as bj,GW as bk,xSe as bl,Ije as bm,Eje as bn,GSe as bo,WSe as bp,E2 as bq,FRe as br,XC as bs,Wx as bt,YC as bu,bae as bv,wae as bw,_ae as bx,MEe as by,c7 as bz,ARe as c,IRe as d,ERe as e,RRe as f,OSe as g,wt as h,LAe as i,M as j,NAe as k,IAe as l,ID as m,w9 as n,yf as o,UZ as p,pEe as q,CF as r,Ki as s,NDe as t,gF as u,fEe as v,yEe as w,uAe as x,hAe as y,gAe as z};