adminizer 4.5.0-build.196 → 4.5.0-build.197

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-DBlkqXBF.js";import p from"./add-form-Nn7zuSFW.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-CwiL9UZ5.js";import"./app-sidebar-IrVF2Bpi.js";import"./nav-main-G6VwCche.js";import"./material-icon-DZVU9Gse.js";import"./app-sidebar-header-qHEOMq5D.js";import"./breadcrumbs-D5PCyRGn.js";import"./nav-user-BfROibnw.js";import"./user-info-gFSwypEN.js";import"./user-menu-content-CjsydEH4.js";import"./theme-switcher-BURZ8Tza.js";import"./icon-FyVrxiPs.js";import"./field-renderer-Ddc4u-gC.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-cgnQ235Q.js";import"./DiffViewer-DL5uCv8d.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-DM2_7wxW.js";import p from"./add-form-Nn7zuSFW.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-CwiL9UZ5.js";import"./app-sidebar-C7TXiSvV.js";import"./nav-main-G6VwCche.js";import"./material-icon-DZVU9Gse.js";import"./app-sidebar-header-qHEOMq5D.js";import"./breadcrumbs-D5PCyRGn.js";import"./nav-user-BfROibnw.js";import"./user-info-gFSwypEN.js";import"./user-menu-content-CjsydEH4.js";import"./theme-switcher-BURZ8Tza.js";import"./icon-FyVrxiPs.js";import"./field-renderer-Ddc4u-gC.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-cgnQ235Q.js";import"./DiffViewer-DL5uCv8d.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-DBlkqXBF.js";import t from"./add-group-form-DUhDxVwB.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-CwiL9UZ5.js";import"./app-sidebar-IrVF2Bpi.js";import"./nav-main-G6VwCche.js";import"./material-icon-DZVU9Gse.js";import"./app-sidebar-header-qHEOMq5D.js";import"./breadcrumbs-D5PCyRGn.js";import"./nav-user-BfROibnw.js";import"./user-info-gFSwypEN.js";import"./user-menu-content-CjsydEH4.js";import"./theme-switcher-BURZ8Tza.js";import"./icon-FyVrxiPs.js";const m=[];function y(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{y as default};
1
+ import{j as r}from"./app.js";import{A as o}from"./app-layout-DM2_7wxW.js";import t from"./add-group-form-DUhDxVwB.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-CwiL9UZ5.js";import"./app-sidebar-C7TXiSvV.js";import"./nav-main-G6VwCche.js";import"./material-icon-DZVU9Gse.js";import"./app-sidebar-header-qHEOMq5D.js";import"./breadcrumbs-D5PCyRGn.js";import"./nav-user-BfROibnw.js";import"./user-info-gFSwypEN.js";import"./user-menu-content-CjsydEH4.js";import"./theme-switcher-BURZ8Tza.js";import"./icon-FyVrxiPs.js";const m=[];function y(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{y as default};
@@ -1 +1 @@
1
- import{j as r}from"./app.js";import{A as o}from"./app-layout-DBlkqXBF.js";import t from"./add-user-form-Ct4i6Dse.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-CwiL9UZ5.js";import"./app-sidebar-IrVF2Bpi.js";import"./nav-main-G6VwCche.js";import"./material-icon-DZVU9Gse.js";import"./app-sidebar-header-qHEOMq5D.js";import"./breadcrumbs-D5PCyRGn.js";import"./nav-user-BfROibnw.js";import"./user-info-gFSwypEN.js";import"./user-menu-content-CjsydEH4.js";import"./theme-switcher-BURZ8Tza.js";import"./icon-FyVrxiPs.js";import"./input-error-cgnQ235Q.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-DM2_7wxW.js";import t from"./add-user-form-Ct4i6Dse.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-CwiL9UZ5.js";import"./app-sidebar-C7TXiSvV.js";import"./nav-main-G6VwCche.js";import"./material-icon-DZVU9Gse.js";import"./app-sidebar-header-qHEOMq5D.js";import"./breadcrumbs-D5PCyRGn.js";import"./nav-user-BfROibnw.js";import"./user-info-gFSwypEN.js";import"./user-menu-content-CjsydEH4.js";import"./theme-switcher-BURZ8Tza.js";import"./icon-FyVrxiPs.js";import"./input-error-cgnQ235Q.js";const m=[];function E(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{E as default};
@@ -1 +1 @@
1
- import{u as E,j as e,ag as I,am as L,an as P,B as v,ao as z,S as C,c as M,d as R,e as T,f as D,ap as w,aq as O,L as k}from"./app.js";import B from"./app-shell-CwiL9UZ5.js";import{AppSidebar as K}from"./app-sidebar-IrVF2Bpi.js";import{A as V,a as N,N as _,b as F}from"./app-sidebar-header-qHEOMq5D.js";import{r as l}from"./handsontable-PxYdjN8c.js";const H=l.memo(({children:o,breadcrumbs:a=[],className:i})=>{const n=E();return e.jsxs(B,{variant:"sidebar",children:[e.jsx(I,{title:n.props.title}),e.jsx(K,{}),e.jsxs(L,{className:i,children:[e.jsx(V,{breadcrumbs:a}),e.jsx("div",{className:"relative flex-1 overflow-hidden",children:e.jsx("div",{className:"h-full",children:o})})]})]})});function q({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:w("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(v,{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:w("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(v,{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 $="min(25vw, 420px)",b="margin-right 300ms ease-in-out";function G({children:o,panelWidth:a=$}){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(q,{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,ag as I,am as L,an as P,B as v,ao as z,S as C,c as M,d as R,e as T,f as D,ap as w,aq as O,L as k}from"./app.js";import B from"./app-shell-CwiL9UZ5.js";import{AppSidebar as K}from"./app-sidebar-C7TXiSvV.js";import{A as V,a as N,N as _,b as F}from"./app-sidebar-header-qHEOMq5D.js";import{r as l}from"./handsontable-PxYdjN8c.js";const H=l.memo(({children:o,breadcrumbs:a=[],className:i})=>{const n=E();return e.jsxs(B,{variant:"sidebar",children:[e.jsx(I,{title:n.props.title}),e.jsx(K,{}),e.jsxs(L,{className:i,children:[e.jsx(V,{breadcrumbs:a}),e.jsx("div",{className:"relative flex-1 overflow-hidden",children:e.jsx("div",{className:"h-full",children:o})})]})]})});function q({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:w("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(v,{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:w("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(v,{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 $="min(25vw, 420px)",b="margin-right 300ms ease-in-out";function G({children:o,panelWidth:a=$}){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(q,{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,j as s,a_ as N,a$ as g,b0 as i,b1 as c,b2 as f,b3 as v,b4 as k,b5 as d,B as C,b6 as M,b7 as w,b8 as _,b9 as y,ba as B,bb as x,ah as n,bc as T,bd as p,be as t,C as o,bf as h,bg as j,bh as b,bi as m,bj as $,bk as R}from"./app.js";import{NavMain as z}from"./nav-main-G6VwCche.js";import l from"./material-icon-DZVU9Gse.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";function L(){const r=u();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(b,{children:s.jsx(m,{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(b,{children:s.jsx(m,{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($,{children:s.jsx(z,{items:r.props.menu})}),s.jsx(R,{children:s.jsx("div",{className:"text-center opacity-70",children:r.props.showVersion&&"v.4.5.0"})})]})}export{L as AppSidebar};
1
+ import{u,j as s,a_ as N,a$ as g,b0 as i,b1 as c,b2 as f,b3 as v,b4 as k,b5 as d,B as C,b6 as M,b7 as w,b8 as _,b9 as y,ba as B,bb as x,ah as n,bc as T,bd as p,be as t,C as o,bf as h,bg as j,bh as b,bi as m,bj as $,bk as R}from"./app.js";import{NavMain as z}from"./nav-main-G6VwCche.js";import l from"./material-icon-DZVU9Gse.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";function L(){const r=u();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(b,{children:s.jsx(m,{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(b,{children:s.jsx(m,{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($,{children:s.jsx(z,{items:r.props.menu})}),s.jsx(R,{children:s.jsx("div",{className:"text-center opacity-70",children:r.props.showVersion&&`v.${r.props.versionText||"4.5.0"}`})})]})}export{L 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-BwIvHgW7.js","./app-layout-DBlkqXBF.js","./app-shell-CwiL9UZ5.js","./handsontable-PxYdjN8c.js","./jsoneditor-De1FvcYu.js","./monaco-BhBYtg3d.js","./app-sidebar-IrVF2Bpi.js","./nav-main-G6VwCche.js","./material-icon-DZVU9Gse.js","./app-sidebar-header-qHEOMq5D.js","./breadcrumbs-D5PCyRGn.js","./nav-user-BfROibnw.js","./user-info-gFSwypEN.js","./user-menu-content-CjsydEH4.js","./theme-switcher-BURZ8Tza.js","./icon-FyVrxiPs.js","./add-group-form-DUhDxVwB.js","./add-user-x9lVhP7v.js","./add-user-form-Ct4i6Dse.js","./input-error-cgnQ235Q.js","./add-CoJs41f3.js","./add-form-Nn7zuSFW.js","./field-renderer-Ddc4u-gC.js","./dynamic-controls-k61T9W2P.js","./field-renderer-DV8OITPR.css","./DiffViewer-DL5uCv8d.js","./catalog-Cp7rX4NA.js","./del-modal-yU9LPEgz.js","./catalog-D4n6dpGl.css","./dashboard-BB9tozjF.js","./dashboard-BOltB2Hq.css","./form-BMgynZ7t.js","./form-G2lvZbid.js","./history-CpB7eOZV.js","./home-9xyBsZpJ.js","./init-user-DhzPzTRM.js","./list-DfFKDMo_.js","./list-table-BxVhDSbv.js","./pagination-render-CqNIIF8P.js","./login-CyEIe-hN.js","./module-DC-BVptm.js","./notification-Dix_eeOm.js","./tabs-BhUuWdzc.js","./register-Bt0RP4PE.js","./welcome-bgzg6DxL.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./add-group-sofsuFYA.js","./app-layout-DM2_7wxW.js","./app-shell-CwiL9UZ5.js","./handsontable-PxYdjN8c.js","./jsoneditor-De1FvcYu.js","./monaco-BhBYtg3d.js","./app-sidebar-C7TXiSvV.js","./nav-main-G6VwCche.js","./material-icon-DZVU9Gse.js","./app-sidebar-header-qHEOMq5D.js","./breadcrumbs-D5PCyRGn.js","./nav-user-BfROibnw.js","./user-info-gFSwypEN.js","./user-menu-content-CjsydEH4.js","./theme-switcher-BURZ8Tza.js","./icon-FyVrxiPs.js","./add-group-form-DUhDxVwB.js","./add-user-DM1nsN83.js","./add-user-form-Ct4i6Dse.js","./input-error-cgnQ235Q.js","./add-D9qTFgIT.js","./add-form-Nn7zuSFW.js","./field-renderer-Ddc4u-gC.js","./dynamic-controls-k61T9W2P.js","./field-renderer-DV8OITPR.css","./DiffViewer-DL5uCv8d.js","./catalog-BIwiWMeW.js","./del-modal-yU9LPEgz.js","./catalog-D4n6dpGl.css","./dashboard-C2Y09gw1.js","./dashboard-BOltB2Hq.css","./form-P1bFGHCF.js","./form-G2lvZbid.js","./history-DHZfSpf_.js","./home-Do0C-Tzu.js","./init-user-DhzPzTRM.js","./list-D72uhn00.js","./list-table-BxVhDSbv.js","./pagination-render-CqNIIF8P.js","./login-CyEIe-hN.js","./module-DI6zzr4C.js","./notification-BZzAyhJ1.js","./tabs-BhUuWdzc.js","./register-Bt0RP4PE.js","./welcome-8dJL4cIX.js"])))=>i.map(i=>d[i]);
2
2
  import{a as cee,c as UH,b as xa,s as Ma,d as ga,i as Mi,h as SF,m as Rj,e as see,f as lee,z as dee,v as uee,_ as vn}from"./jsoneditor-De1FvcYu.js";import{r as p,e as ke,a as Kd,b as CF,c as hee,R as MP,d as ur,F as Ca,f as Na,g as La,h as Ea,i as Ia,j as Aa,k as Ta,l as Ra,m as $a,n as ja,o as Pa,p as Oa,q as Da,s as za,t as qa,u as Ha,v as Va,w as Ba,x as Fa,y as Ua,z as Ga,A as Wa,B as Za,C as Xa,D as Ka,E as Ya,G as Qa,H as Ja,I as eo,J as to,K as no,L as ao,M as oo,N as ro,O as io,P as co,Q as so,S as lo,T as uo,U as ho,V as po,W as fo,X as yo,Y as mo,Z as vo,_ as ko,$ as go,a0 as Mo,a1 as xo,a2 as bo,a3 as wo,a4 as _o,a5 as So,a6 as Co,a7 as No,a8 as Lo,a9 as Eo,aa as Io,ab as Ao,ac as To,ad as Ro,ae as $o,af as jo,ag as Po,ah as Oo,ai as Do,aj as zo,ak as qo,al as Ho,am as Vo,an as Bo,ao as Fo,ap as Yd,aq as Qd,ar as Jd,as as pee,at as fee,au as yee,av as mee,aw as vee,ax as kee,ay as gee,az as Mee}from"./handsontable-PxYdjN8c.js";import{F as xee}from"./monaco-BhBYtg3d.js";var a$={exports:{}},e2={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
@@ -8070,4 +8070,4 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8070
8070
  * Last updated: Mar 09, 2023
8071
8071
  *
8072
8072
  * Description: Definition file for Chinese - China language-country.
8073
- */const PHe={languageCode:"zh-CN",[Fo]:"上方插入行",[Bo]:"下方插入行",[Vo]:"左方插入列",[Ho]:"右方插入列",[qo]:["移除该行","移除多行"],[zo]:["移除该列","移除多列"],[Do]:"撤销",[Oo]:"恢复",[Po]:"只读",[jo]:"清空该列",[$o]:"对齐",[Ro]:"左对齐",[To]:"水平居中",[Ao]:"右对齐",[Io]:"两端对齐",[Eo]:"顶端对齐",[Lo]:"垂直居中",[No]:"底端对齐",[Co]:"冻结该列",[So]:"取消冻结",[_o]:"边框",[wo]:"上",[bo]:"右",[xo]:"下",[Mo]:"左",[go]:"移除边框",[ko]:"插入批注",[vo]:"编辑批注",[mo]:"删除批注",[yo]:"只读批注",[fo]:"合并",[po]:"取消合并",[ho]:"复制",[Jd]:"带标题的复制",[Qd]:"带标题组的复制",[Yd]:"仅复制标题",[uo]:"剪切",[lo]:"插入子行",[so]:"与母行分离",[co]:["隐藏该列","隐藏多列"],[io]:["显示该列","显示多列"],[ro]:["隐藏该行","隐藏多行"],[oo]:["显示该行","显示多行"],[ao]:"无",[no]:"为空",[to]:"不为空",[eo]:"等于",[Ja]:"不等于",[Qa]:"开头是",[Ya]:"结尾是",[Ka]:"包含",[Xa]:"不包含",[Za]:"大于",[Wa]:"大于或等于",[Ga]:"小于",[Ua]:"小于或等于",[Fa]:"在此范围",[Ba]:"不在此范围",[Va]:"之后",[Ha]:"之前",[qa]:"今天",[za]:"明天",[Da]:"昨天",[Oa]:"空白单元格",[Pa]:"按条件过滤",[ja]:"按值过滤",[$a]:"且",[Ra]:"或",[Ta]:"全选",[Aa]:"清除",[Ia]:"确认",[Ea]:"取消",[La]:"搜索",[Na]:"值",[Ca]:"第二值"};mee();const bF={de:CHe,en:gee,es:NHe,fr:LHe,it:EHe,ja:IHe,ko:AHe,nl:THe,pl:RHe,pt:$He,ru:jHe,zh:PHe},OHe=document.documentElement.lang,ZY=bF[OHe]??bF.en;vee(ZY);const XY=({config:e,data:t=[],onChange:a,disabled:o})=>{const{appearance:i}=JO(),[s,l]=p.useState("ht-theme-main"),[h,f]=p.useState(!1),y=p.useCallback((m,x)=>{var b,w;if(x==="loadData")return;const S=(w=(b=k.current)==null?void 0:b.hotInstance)==null?void 0:w.getSourceData();a(S)},[]),k=p.useRef(null);return p.useEffect(()=>{const m=setTimeout(()=>{var x;(x=k.current)!=null&&x.hotInstance&&(k.current.hotInstance.loadData(t??[]),f(!0))},100);return()=>clearTimeout(m)},[t]),p.useEffect(()=>{l(i==="dark"?"ht-theme-main-dark":"ht-theme-main")},[i]),M.jsx("div",{style:{opacity:h?1:0},children:M.jsx(kee,{className:o?"pointer-events-none opacity-50":"",themeName:s,language:ZY.languageCode,ref:k,...e,afterChange:y,children:e.columns.map(m=>M.jsx(Mee,{data:m.data,...m},m.data))})})},vVe=Object.freeze(Object.defineProperty({__proto__:null,default:XY},Symbol.toStringTag,{value:"Module"})),DHe=()=>{const[e,t]=p.useState({width:typeof window<"u"?window.innerWidth:1024,height:typeof window<"u"?window.innerHeight:768});return p.useEffect(()=>{if(typeof window>"u")return;const a=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),e},KY=({onChange:e,value:t,options:a,disabled:o})=>{const{appearance:i}=JO(),[s,l]=p.useState("light"),h=p.useRef(null),f=p.useRef(null),{width:y}=DHe(),k=y<768,m=y>=768&&y<1024,x=_=>{e(_)},S=_=>{h.current=_,b()},b=()=>{var N;if(!h.current)return;const _={minimap:{enabled:!k},fontSize:k?12:m?13:14,lineNumbers:k?"off":"on",lineDecorationsWidth:k?5:10,scrollBeyondLastLine:!k,wordWrap:k?"on":"bounded",renderWhitespace:k?"none":"selection",padding:{top:k?8:16,bottom:k?8:16}};h.current.updateOptions(_),(N=f.current)==null||N.classList.add("overflow-hidden"),setTimeout(()=>{var L,I;(L=h.current)==null||L.layout(),(I=f.current)==null||I.classList.remove("overflow-hidden")},100)};p.useEffect(()=>{l(i==="dark"?"vs-dark":"light")},[i]),p.useEffect(()=>{b()},[y]);const w=k?"300px":m?"400px":"500px";return M.jsx("div",{className:`border rounded-lg ${k?"p-1":"p-2"}`,ref:f,children:M.jsx(xee,{height:w,language:a.language,value:t,theme:s,options:{automaticLayout:!0,...k&&{wordWrap:"on"},minimap:{enabled:!k}},onChange:x,onMount:S,className:`transition-all duration-200 ease-in-out ${o?"pointer-events-none opacity-50 cursor-not-allowed":""}`})})},kVe=Object.freeze(Object.defineProperty({__proto__:null,default:KY},Symbol.toStringTag,{value:"Module"})),wF=gA("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"}}),eD=p.forwardRef(({options:e,onValueChange:t,variant:a,processing:o,disabled:i,defaultValue:s=[],placeholder:l="",notFound:h="",search:f="",animation:y=0,maxCount:k=3,modalPopover:m=!1,asChild:x=!1,className:S,mode:b="multiple",...w},_)=>{const[N,L]=p.useState(s),[I,j]=p.useState(!1),[O,P]=p.useState(!1);p.useEffect(()=>{s&&L(s)},[s]);const A=q=>{if(q.key==="Enter")j(!0);else if(q.key==="Backspace"&&!q.currentTarget.value){const B=[...N];B.pop(),L(B),t(B)}},$=q=>{let B;b==="single"?B=N.includes(q)?[]:[q]:B=N.includes(q)?N.filter(Y=>Y!==q):[...N,q],L(B),t(B),b==="single"&&j(!1)},F=()=>{L([]),t([])},X=()=>{j(q=>!q)},H=()=>{const q=N.slice(0,k);L(q),t(q)};return M.jsxs(gK,{open:I,onOpenChange:j,modal:m,children:[M.jsx(MK,{asChild:!0,children:M.jsx(MA,{ref:_,...w,onClick:X,disabled:i,className:te("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",S),children:N.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[N.slice(0,k).map(q=>{const B=e.find(ue=>ue.value===q),Y=B==null?void 0:B.icon;return M.jsxs("div",{className:te(O?"animate-bounce":"",wF({variant:a})),style:{animationDuration:`${y}s`},children:[Y&&M.jsx(Y,{className:"h-4 w-4 mr-2"}),B==null?void 0:B.label,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:ue=>{ue.stopPropagation(),o||$(q)}})]},q)}),b==="multiple"&&N.length>k&&M.jsxs("div",{className:te("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",O?"animate-bounce":"",wF({variant:a})),style:{animationDuration:`${y}s`},children:[`+ ${N.length-k} more`,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:q=>{q.stopPropagation(),H()}})]})]}),M.jsxs("div",{className:"flex items-center justify-between",children:[N.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(bi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:q=>{q.stopPropagation(),F()}}),M.jsx(ZO,{orientation:"vertical",className:"flex min-h-6 h-full"})]}),M.jsx(xi,{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:l}),M.jsx(xi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})})}),M.jsx(xK,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>j(!1),children:M.jsxs(sO,{children:[M.jsx(zW,{placeholder:f,onKeyDown:A}),M.jsxs(qW,{children:[M.jsx(HW,{children:h}),M.jsx(VW,{children:e.map(q=>{const B=N.includes(q.value);return M.jsxs(FW,{onSelect:()=>$(q.value),className:"cursor-pointer",children:[M.jsx("div",{className:te("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",B?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(sr,{className:"h-4 w-4 text-primary-foreground"})}),q.icon&&M.jsx(q.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:q.label})]},q.value)})}),M.jsx(BW,{})]})]})}),y>0&&N.length>0&&b==="multiple"&&M.jsx(ki,{className:te("cursor-pointer my-2 text-foreground bg-background w-3 h-3",O?"":"text-muted-foreground"),onClick:()=>P(!O)})]})});eD.displayName="MultiSelect";const gVe=Object.freeze(Object.defineProperty({__proto__:null,default:eD},Symbol.toStringTag,{value:"Module"}));function zHe(){window.UIComponents??(window.UIComponents={}),window.JSComponents??(window.JSComponents={}),window.axios=Nt,window.sonner=Xqe,Object.assign(window.UIComponents,{Avatar:Dre,AvatarImage:zre,AvatarFallback:qre,Badge:Vre,Breadcrumb:F_e,BreadcrumbList:U_e,BreadcrumbItem:G_e,BreadcrumbLink:W_e,BreadcrumbPage:Z_e,BreadcrumbSeparator:X_e,BreadcrumbEllipsis:K_e,Button:MA,Calendar:ONe,Card:DNe,CardHeader:zNe,CardFooter:FNe,CardTitle:qNe,CardAction:VNe,CardDescription:HNe,CardContent:BNe,Checkbox:dLe,Collapsible:CLe,CollapsibleTrigger:NLe,CollapsibleContent:LLe,Command:sO,CommandDialog:OIe,CommandInput:zW,CommandList:qW,CommandEmpty:HW,CommandGroup:VW,CommandItem:FW,CommandShortcut:DIe,CommandSeparator:BW,ContextMenu:s$e,ContextMenuTrigger:l$e,ContextMenuContent:m$e,ContextMenuItem:v$e,ContextMenuCheckboxItem:k$e,ContextMenuRadioItem:g$e,ContextMenuLabel:M$e,ContextMenuSeparator:x$e,ContextMenuShortcut:b$e,ContextMenuGroup:d$e,ContextMenuPortal:u$e,ContextMenuSub:h$e,ContextMenuSubContent:y$e,ContextMenuSubTrigger:f$e,ContextMenuRadioGroup:p$e,Dialog:TW,DialogClose:jIe,DialogContent:jW,DialogDescription:DW,DialogFooter:PIe,DialogHeader:PW,DialogOverlay:$W,DialogPortal:RW,DialogTitle:OW,DialogTrigger:$Ie,DialogStack:yX,DialogStackTrigger:S$e,DialogStackOverlay:C$e,DialogStackBody:N$e,DialogStackContent:L$e,DialogStackTitle:E$e,DialogStackDescription:I$e,DialogStackHeader:A$e,DialogStackFooter:T$e,DialogStackNext:R$e,DialogStackPrevious:$$e,DropdownMenu:Mje,DropdownMenuPortal:xje,DropdownMenuTrigger:bje,DropdownMenuContent:wje,DropdownMenuGroup:_je,DropdownMenuLabel:Eje,DropdownMenuItem:Sje,DropdownMenuCheckboxItem:Cje,DropdownMenuRadioGroup:Nje,DropdownMenuRadioItem:Lje,DropdownMenuSeparator:Ije,DropdownMenuShortcut:Aje,DropdownMenuSub:Tje,DropdownMenuSubTrigger:Rje,DropdownMenuSubContent:$je,Input:jX,Label:Oje,Menubar:CPe,MenubarPortal:rK,MenubarMenu:NPe,MenubarTrigger:IPe,MenubarContent:APe,MenubarGroup:LPe,MenubarSeparator:PPe,MenubarLabel:jPe,MenubarItem:TPe,MenubarShortcut:OPe,MenubarCheckboxItem:RPe,MenubarRadioGroup:EPe,MenubarRadioItem:$Pe,MenubarSub:DPe,MenubarSubTrigger:zPe,MenubarSubContent:qPe,Pagination:HPe,PaginationContent:VPe,PaginationLink:FO,PaginationItem:BPe,PaginationPrevious:FPe,PaginationNext:UPe,PaginationEllipsis:GPe,Popover:gK,PopoverTrigger:MK,PopoverContent:xK,PopoverAnchor:mOe,Select:vDe,SelectContent:xDe,SelectGroup:kDe,SelectItem:wDe,SelectLabel:bDe,SelectScrollDownButton:nY,SelectScrollUpButton:tY,SelectSeparator:_De,SelectTrigger:MDe,SelectValue:gDe,Separator:ZO,Sheet:oY,SheetTrigger:EDe,SheetClose:IDe,SheetContent:rY,SheetHeader:iY,SheetFooter:RDe,SheetTitle:cY,SheetDescription:sY,Sidebar:gze,SidebarContent:Nze,SidebarFooter:Sze,SidebarGroup:Lze,SidebarGroupAction:Ize,SidebarGroupContent:Aze,SidebarGroupLabel:Eze,SidebarHeader:_ze,SidebarInput:wze,SidebarInset:bze,SidebarMenu:Tze,SidebarMenuAction:Pze,SidebarMenuBadge:Oze,SidebarMenuButton:jze,SidebarMenuItem:Rze,SidebarMenuSkeleton:Dze,SidebarMenuSub:zze,SidebarMenuSubButton:Hze,SidebarMenuSubItem:qze,SidebarProvider:kze,SidebarRail:xze,SidebarSeparator:Cze,SidebarTrigger:Mze,useSidebar:Y2,Skeleton:hP,Slider:mqe,Toaster:Kqe,Switch:hHe,Table:pHe,TableHeader:fHe,TableBody:yHe,TableFooter:mHe,TableHead:kHe,TableRow:vHe,TableCell:gHe,TableCaption:MHe,Textarea:xHe,Tooltip:xY,TooltipTrigger:bY,TooltipContent:wY,TooltipProvider:YO,VanillaJSONEditor:gP}),Object.assign(window.JSComponents,{VanillaJSONEditor:gP,HandsonTable:XY,MonacoEditor:KY,MultiSelect:eD})}const{createInertiaApp:qHe,router:YY}=HU;window.React=ke;window.ReactDOM=ur;window.InertiajsReact=HU;window.LucideReact=B_e;zHe();async function HHe(e,t){for(const a of Array.isArray(e)?e:[e]){const o=t[a];if(!(typeof o>"u"))return typeof o=="function"?o():o}throw new Error(`Page not found: ${e}`)}let tD=!1;YY.on("navigate",e=>{tD=!0});YY.on("finish",e=>{tD=!1});const _F=document.createElement.bind(document);document.createElement=function(e,t){const a=_F(e,t);return e.toLowerCase()==="iframe"&&tD?(console.warn("[Adminizer] Prevented iframe creation, forcing full page reload"),setTimeout(()=>{window.location.reload()},0),_F("div")):a};qHe({title:e=>`${e}`,resolve:e=>HHe(`./pages/${e}.tsx`,Object.assign({"./pages/add-group.tsx":()=>vn(()=>import("./add-group-BwIvHgW7.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url),"./pages/add-user.tsx":()=>vn(()=>import("./add-user-x9lVhP7v.js"),__vite__mapDeps([17,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,19]),import.meta.url),"./pages/add.tsx":()=>vn(()=>import("./add-CoJs41f3.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,21,22,23,24,19,25]),import.meta.url),"./pages/catalog.tsx":()=>vn(()=>import("./catalog-Cp7rX4NA.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,27,21,22,23,24,19,25,28]),import.meta.url),"./pages/dashboard.tsx":()=>vn(()=>import("./dashboard-BB9tozjF.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,30]),import.meta.url),"./pages/form.tsx":()=>vn(()=>import("./form-BMgynZ7t.js"),__vite__mapDeps([31,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,32,21,22,23,24,19,25]),import.meta.url),"./pages/history.tsx":()=>vn(()=>import("./history-CpB7eOZV.js"),__vite__mapDeps([33,3,4,25,1,2,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url),"./pages/home.tsx":()=>vn(()=>import("./home-9xyBsZpJ.js"),__vite__mapDeps([34,4,3,5]),import.meta.url),"./pages/init-user.tsx":()=>vn(()=>import("./init-user-DhzPzTRM.js"),__vite__mapDeps([35,3,4,19,5]),import.meta.url),"./pages/list.tsx":()=>vn(()=>import("./list-DfFKDMo_.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,37,27,38]),import.meta.url),"./pages/login.tsx":()=>vn(()=>import("./login-CyEIe-hN.js"),__vite__mapDeps([39,15,4,3,5,19]),import.meta.url),"./pages/module.tsx":()=>vn(()=>import("./module-DC-BVptm.js"),__vite__mapDeps([40,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url),"./pages/notification.tsx":()=>vn(()=>import("./notification-Dix_eeOm.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,42]),import.meta.url),"./pages/register.tsx":()=>vn(()=>import("./register-Bt0RP4PE.js"),__vite__mapDeps([43,3,4,19,5]),import.meta.url),"./pages/welcome.tsx":()=>vn(()=>import("./welcome-bgzg6DxL.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url)})),setup({el:e,App:t,props:a}){Noe.createRoot(e).render(M.jsx(t,{...a}))},progress:{color:"#0f4898"}});export{MK as $,v$e as A,MA as B,lr as C,yX as D,s5 as E,DNe as F,zNe as G,qNe as H,jX as I,FNe as J,YO as K,Fs as L,xY as M,bY as N,wY as O,I9 as P,hHe as Q,S$e as R,vDe as S,Kqe as T,E$e as U,hr as V,uj as W,c2 as X,s2 as Y,wSe as Z,gK as _,i5 as a,_ze as a$,lv as a0,W1 as a1,xK as a2,ONe as a3,pHe as a4,fHe as a5,vHe as a6,kHe as a7,yHe as a8,gHe as a9,PIe as aA,jIe as aB,yf as aC,Kp as aD,ef as aE,of as aF,$Ie as aG,Rs as aH,kt as aI,z2 as aJ,bn as aK,It as aL,xZ as aM,bZ as aN,xe as aO,Pn as aP,DA as aQ,O7 as aR,fM as aS,kze as aT,Mje as aU,gy as aV,Sje as aW,Ije as aX,Mze as aY,U8 as aZ,gze as a_,vc as aa,TW as ab,jW as ac,PW as ad,OW as ae,vG as af,moe as ag,koe as ah,$U as ai,hVe as aj,jE as ak,Rx as al,bze as am,vl as an,bi as ao,YU as ap,xHe as aq,DHe as ar,JO as as,cb as at,B8 as au,v_ as av,sr as aw,UL as ax,M1 as ay,te as az,Oje as b,Tze as b0,Rze as b1,CPe as b2,NPe as b3,IPe as b4,jze as b5,Qv as b6,APe as b7,DPe as b8,zPe as b9,Dre as bA,zre as bB,qre as bC,Eje as bD,jx as bE,yVe as bF,fVe as bG,pVe as bH,eD as bI,mqe as bJ,Un as bK,c7 as bL,dVe as bM,lf as bN,v2 as bO,r1 as bP,__ as bQ,HPe as bR,VPe as bS,BPe as bT,FO as bU,FPe as bV,UPe as bW,mVe as bX,vVe as bY,kVe as bZ,gVe as b_,qPe as ba,TPe as bb,Lze as bc,HG as bd,NLe as be,FG as bf,zze as bg,qze as bh,Hze as bi,Nze as bj,Sze as bk,F_e as bl,U_e as bm,G_e as bn,Z_e as bo,W_e as bp,X_e as bq,Eze as br,Aze as bs,CLe as bt,LLe as bu,Y2 as bv,$De as bw,wN as bx,b7 as by,SN as bz,MDe as c,gDe as d,xDe as e,wDe as f,dLe as g,Nt as h,C$e as i,M as j,N$e as k,L$e as l,hP as m,Yw as n,Bf as o,vX as p,bje as q,qU as r,fc as s,Oqe as t,TP as u,wje as v,_je as w,s$e as x,l$e as y,m$e as z};
8073
+ */const PHe={languageCode:"zh-CN",[Fo]:"上方插入行",[Bo]:"下方插入行",[Vo]:"左方插入列",[Ho]:"右方插入列",[qo]:["移除该行","移除多行"],[zo]:["移除该列","移除多列"],[Do]:"撤销",[Oo]:"恢复",[Po]:"只读",[jo]:"清空该列",[$o]:"对齐",[Ro]:"左对齐",[To]:"水平居中",[Ao]:"右对齐",[Io]:"两端对齐",[Eo]:"顶端对齐",[Lo]:"垂直居中",[No]:"底端对齐",[Co]:"冻结该列",[So]:"取消冻结",[_o]:"边框",[wo]:"上",[bo]:"右",[xo]:"下",[Mo]:"左",[go]:"移除边框",[ko]:"插入批注",[vo]:"编辑批注",[mo]:"删除批注",[yo]:"只读批注",[fo]:"合并",[po]:"取消合并",[ho]:"复制",[Jd]:"带标题的复制",[Qd]:"带标题组的复制",[Yd]:"仅复制标题",[uo]:"剪切",[lo]:"插入子行",[so]:"与母行分离",[co]:["隐藏该列","隐藏多列"],[io]:["显示该列","显示多列"],[ro]:["隐藏该行","隐藏多行"],[oo]:["显示该行","显示多行"],[ao]:"无",[no]:"为空",[to]:"不为空",[eo]:"等于",[Ja]:"不等于",[Qa]:"开头是",[Ya]:"结尾是",[Ka]:"包含",[Xa]:"不包含",[Za]:"大于",[Wa]:"大于或等于",[Ga]:"小于",[Ua]:"小于或等于",[Fa]:"在此范围",[Ba]:"不在此范围",[Va]:"之后",[Ha]:"之前",[qa]:"今天",[za]:"明天",[Da]:"昨天",[Oa]:"空白单元格",[Pa]:"按条件过滤",[ja]:"按值过滤",[$a]:"且",[Ra]:"或",[Ta]:"全选",[Aa]:"清除",[Ia]:"确认",[Ea]:"取消",[La]:"搜索",[Na]:"值",[Ca]:"第二值"};mee();const bF={de:CHe,en:gee,es:NHe,fr:LHe,it:EHe,ja:IHe,ko:AHe,nl:THe,pl:RHe,pt:$He,ru:jHe,zh:PHe},OHe=document.documentElement.lang,ZY=bF[OHe]??bF.en;vee(ZY);const XY=({config:e,data:t=[],onChange:a,disabled:o})=>{const{appearance:i}=JO(),[s,l]=p.useState("ht-theme-main"),[h,f]=p.useState(!1),y=p.useCallback((m,x)=>{var b,w;if(x==="loadData")return;const S=(w=(b=k.current)==null?void 0:b.hotInstance)==null?void 0:w.getSourceData();a(S)},[]),k=p.useRef(null);return p.useEffect(()=>{const m=setTimeout(()=>{var x;(x=k.current)!=null&&x.hotInstance&&(k.current.hotInstance.loadData(t??[]),f(!0))},100);return()=>clearTimeout(m)},[t]),p.useEffect(()=>{l(i==="dark"?"ht-theme-main-dark":"ht-theme-main")},[i]),M.jsx("div",{style:{opacity:h?1:0},children:M.jsx(kee,{className:o?"pointer-events-none opacity-50":"",themeName:s,language:ZY.languageCode,ref:k,...e,afterChange:y,children:e.columns.map(m=>M.jsx(Mee,{data:m.data,...m},m.data))})})},vVe=Object.freeze(Object.defineProperty({__proto__:null,default:XY},Symbol.toStringTag,{value:"Module"})),DHe=()=>{const[e,t]=p.useState({width:typeof window<"u"?window.innerWidth:1024,height:typeof window<"u"?window.innerHeight:768});return p.useEffect(()=>{if(typeof window>"u")return;const a=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),e},KY=({onChange:e,value:t,options:a,disabled:o})=>{const{appearance:i}=JO(),[s,l]=p.useState("light"),h=p.useRef(null),f=p.useRef(null),{width:y}=DHe(),k=y<768,m=y>=768&&y<1024,x=_=>{e(_)},S=_=>{h.current=_,b()},b=()=>{var N;if(!h.current)return;const _={minimap:{enabled:!k},fontSize:k?12:m?13:14,lineNumbers:k?"off":"on",lineDecorationsWidth:k?5:10,scrollBeyondLastLine:!k,wordWrap:k?"on":"bounded",renderWhitespace:k?"none":"selection",padding:{top:k?8:16,bottom:k?8:16}};h.current.updateOptions(_),(N=f.current)==null||N.classList.add("overflow-hidden"),setTimeout(()=>{var L,I;(L=h.current)==null||L.layout(),(I=f.current)==null||I.classList.remove("overflow-hidden")},100)};p.useEffect(()=>{l(i==="dark"?"vs-dark":"light")},[i]),p.useEffect(()=>{b()},[y]);const w=k?"300px":m?"400px":"500px";return M.jsx("div",{className:`border rounded-lg ${k?"p-1":"p-2"}`,ref:f,children:M.jsx(xee,{height:w,language:a.language,value:t,theme:s,options:{automaticLayout:!0,...k&&{wordWrap:"on"},minimap:{enabled:!k}},onChange:x,onMount:S,className:`transition-all duration-200 ease-in-out ${o?"pointer-events-none opacity-50 cursor-not-allowed":""}`})})},kVe=Object.freeze(Object.defineProperty({__proto__:null,default:KY},Symbol.toStringTag,{value:"Module"})),wF=gA("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"}}),eD=p.forwardRef(({options:e,onValueChange:t,variant:a,processing:o,disabled:i,defaultValue:s=[],placeholder:l="",notFound:h="",search:f="",animation:y=0,maxCount:k=3,modalPopover:m=!1,asChild:x=!1,className:S,mode:b="multiple",...w},_)=>{const[N,L]=p.useState(s),[I,j]=p.useState(!1),[O,P]=p.useState(!1);p.useEffect(()=>{s&&L(s)},[s]);const A=q=>{if(q.key==="Enter")j(!0);else if(q.key==="Backspace"&&!q.currentTarget.value){const B=[...N];B.pop(),L(B),t(B)}},$=q=>{let B;b==="single"?B=N.includes(q)?[]:[q]:B=N.includes(q)?N.filter(Y=>Y!==q):[...N,q],L(B),t(B),b==="single"&&j(!1)},F=()=>{L([]),t([])},X=()=>{j(q=>!q)},H=()=>{const q=N.slice(0,k);L(q),t(q)};return M.jsxs(gK,{open:I,onOpenChange:j,modal:m,children:[M.jsx(MK,{asChild:!0,children:M.jsx(MA,{ref:_,...w,onClick:X,disabled:i,className:te("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",S),children:N.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[N.slice(0,k).map(q=>{const B=e.find(ue=>ue.value===q),Y=B==null?void 0:B.icon;return M.jsxs("div",{className:te(O?"animate-bounce":"",wF({variant:a})),style:{animationDuration:`${y}s`},children:[Y&&M.jsx(Y,{className:"h-4 w-4 mr-2"}),B==null?void 0:B.label,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:ue=>{ue.stopPropagation(),o||$(q)}})]},q)}),b==="multiple"&&N.length>k&&M.jsxs("div",{className:te("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",O?"animate-bounce":"",wF({variant:a})),style:{animationDuration:`${y}s`},children:[`+ ${N.length-k} more`,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:q=>{q.stopPropagation(),H()}})]})]}),M.jsxs("div",{className:"flex items-center justify-between",children:[N.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(bi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:q=>{q.stopPropagation(),F()}}),M.jsx(ZO,{orientation:"vertical",className:"flex min-h-6 h-full"})]}),M.jsx(xi,{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:l}),M.jsx(xi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})})}),M.jsx(xK,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>j(!1),children:M.jsxs(sO,{children:[M.jsx(zW,{placeholder:f,onKeyDown:A}),M.jsxs(qW,{children:[M.jsx(HW,{children:h}),M.jsx(VW,{children:e.map(q=>{const B=N.includes(q.value);return M.jsxs(FW,{onSelect:()=>$(q.value),className:"cursor-pointer",children:[M.jsx("div",{className:te("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",B?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(sr,{className:"h-4 w-4 text-primary-foreground"})}),q.icon&&M.jsx(q.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:q.label})]},q.value)})}),M.jsx(BW,{})]})]})}),y>0&&N.length>0&&b==="multiple"&&M.jsx(ki,{className:te("cursor-pointer my-2 text-foreground bg-background w-3 h-3",O?"":"text-muted-foreground"),onClick:()=>P(!O)})]})});eD.displayName="MultiSelect";const gVe=Object.freeze(Object.defineProperty({__proto__:null,default:eD},Symbol.toStringTag,{value:"Module"}));function zHe(){window.UIComponents??(window.UIComponents={}),window.JSComponents??(window.JSComponents={}),window.axios=Nt,window.sonner=Xqe,Object.assign(window.UIComponents,{Avatar:Dre,AvatarImage:zre,AvatarFallback:qre,Badge:Vre,Breadcrumb:F_e,BreadcrumbList:U_e,BreadcrumbItem:G_e,BreadcrumbLink:W_e,BreadcrumbPage:Z_e,BreadcrumbSeparator:X_e,BreadcrumbEllipsis:K_e,Button:MA,Calendar:ONe,Card:DNe,CardHeader:zNe,CardFooter:FNe,CardTitle:qNe,CardAction:VNe,CardDescription:HNe,CardContent:BNe,Checkbox:dLe,Collapsible:CLe,CollapsibleTrigger:NLe,CollapsibleContent:LLe,Command:sO,CommandDialog:OIe,CommandInput:zW,CommandList:qW,CommandEmpty:HW,CommandGroup:VW,CommandItem:FW,CommandShortcut:DIe,CommandSeparator:BW,ContextMenu:s$e,ContextMenuTrigger:l$e,ContextMenuContent:m$e,ContextMenuItem:v$e,ContextMenuCheckboxItem:k$e,ContextMenuRadioItem:g$e,ContextMenuLabel:M$e,ContextMenuSeparator:x$e,ContextMenuShortcut:b$e,ContextMenuGroup:d$e,ContextMenuPortal:u$e,ContextMenuSub:h$e,ContextMenuSubContent:y$e,ContextMenuSubTrigger:f$e,ContextMenuRadioGroup:p$e,Dialog:TW,DialogClose:jIe,DialogContent:jW,DialogDescription:DW,DialogFooter:PIe,DialogHeader:PW,DialogOverlay:$W,DialogPortal:RW,DialogTitle:OW,DialogTrigger:$Ie,DialogStack:yX,DialogStackTrigger:S$e,DialogStackOverlay:C$e,DialogStackBody:N$e,DialogStackContent:L$e,DialogStackTitle:E$e,DialogStackDescription:I$e,DialogStackHeader:A$e,DialogStackFooter:T$e,DialogStackNext:R$e,DialogStackPrevious:$$e,DropdownMenu:Mje,DropdownMenuPortal:xje,DropdownMenuTrigger:bje,DropdownMenuContent:wje,DropdownMenuGroup:_je,DropdownMenuLabel:Eje,DropdownMenuItem:Sje,DropdownMenuCheckboxItem:Cje,DropdownMenuRadioGroup:Nje,DropdownMenuRadioItem:Lje,DropdownMenuSeparator:Ije,DropdownMenuShortcut:Aje,DropdownMenuSub:Tje,DropdownMenuSubTrigger:Rje,DropdownMenuSubContent:$je,Input:jX,Label:Oje,Menubar:CPe,MenubarPortal:rK,MenubarMenu:NPe,MenubarTrigger:IPe,MenubarContent:APe,MenubarGroup:LPe,MenubarSeparator:PPe,MenubarLabel:jPe,MenubarItem:TPe,MenubarShortcut:OPe,MenubarCheckboxItem:RPe,MenubarRadioGroup:EPe,MenubarRadioItem:$Pe,MenubarSub:DPe,MenubarSubTrigger:zPe,MenubarSubContent:qPe,Pagination:HPe,PaginationContent:VPe,PaginationLink:FO,PaginationItem:BPe,PaginationPrevious:FPe,PaginationNext:UPe,PaginationEllipsis:GPe,Popover:gK,PopoverTrigger:MK,PopoverContent:xK,PopoverAnchor:mOe,Select:vDe,SelectContent:xDe,SelectGroup:kDe,SelectItem:wDe,SelectLabel:bDe,SelectScrollDownButton:nY,SelectScrollUpButton:tY,SelectSeparator:_De,SelectTrigger:MDe,SelectValue:gDe,Separator:ZO,Sheet:oY,SheetTrigger:EDe,SheetClose:IDe,SheetContent:rY,SheetHeader:iY,SheetFooter:RDe,SheetTitle:cY,SheetDescription:sY,Sidebar:gze,SidebarContent:Nze,SidebarFooter:Sze,SidebarGroup:Lze,SidebarGroupAction:Ize,SidebarGroupContent:Aze,SidebarGroupLabel:Eze,SidebarHeader:_ze,SidebarInput:wze,SidebarInset:bze,SidebarMenu:Tze,SidebarMenuAction:Pze,SidebarMenuBadge:Oze,SidebarMenuButton:jze,SidebarMenuItem:Rze,SidebarMenuSkeleton:Dze,SidebarMenuSub:zze,SidebarMenuSubButton:Hze,SidebarMenuSubItem:qze,SidebarProvider:kze,SidebarRail:xze,SidebarSeparator:Cze,SidebarTrigger:Mze,useSidebar:Y2,Skeleton:hP,Slider:mqe,Toaster:Kqe,Switch:hHe,Table:pHe,TableHeader:fHe,TableBody:yHe,TableFooter:mHe,TableHead:kHe,TableRow:vHe,TableCell:gHe,TableCaption:MHe,Textarea:xHe,Tooltip:xY,TooltipTrigger:bY,TooltipContent:wY,TooltipProvider:YO,VanillaJSONEditor:gP}),Object.assign(window.JSComponents,{VanillaJSONEditor:gP,HandsonTable:XY,MonacoEditor:KY,MultiSelect:eD})}const{createInertiaApp:qHe,router:YY}=HU;window.React=ke;window.ReactDOM=ur;window.InertiajsReact=HU;window.LucideReact=B_e;zHe();async function HHe(e,t){for(const a of Array.isArray(e)?e:[e]){const o=t[a];if(!(typeof o>"u"))return typeof o=="function"?o():o}throw new Error(`Page not found: ${e}`)}let tD=!1;YY.on("navigate",e=>{tD=!0});YY.on("finish",e=>{tD=!1});const _F=document.createElement.bind(document);document.createElement=function(e,t){const a=_F(e,t);return e.toLowerCase()==="iframe"&&tD?(console.warn("[Adminizer] Prevented iframe creation, forcing full page reload"),setTimeout(()=>{window.location.reload()},0),_F("div")):a};qHe({title:e=>`${e}`,resolve:e=>HHe(`./pages/${e}.tsx`,Object.assign({"./pages/add-group.tsx":()=>vn(()=>import("./add-group-sofsuFYA.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url),"./pages/add-user.tsx":()=>vn(()=>import("./add-user-DM1nsN83.js"),__vite__mapDeps([17,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,18,19]),import.meta.url),"./pages/add.tsx":()=>vn(()=>import("./add-D9qTFgIT.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,21,22,23,24,19,25]),import.meta.url),"./pages/catalog.tsx":()=>vn(()=>import("./catalog-BIwiWMeW.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,27,21,22,23,24,19,25,28]),import.meta.url),"./pages/dashboard.tsx":()=>vn(()=>import("./dashboard-C2Y09gw1.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,30]),import.meta.url),"./pages/form.tsx":()=>vn(()=>import("./form-P1bFGHCF.js"),__vite__mapDeps([31,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,32,21,22,23,24,19,25]),import.meta.url),"./pages/history.tsx":()=>vn(()=>import("./history-DHZfSpf_.js"),__vite__mapDeps([33,3,4,25,1,2,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url),"./pages/home.tsx":()=>vn(()=>import("./home-Do0C-Tzu.js"),__vite__mapDeps([34,4,3,5]),import.meta.url),"./pages/init-user.tsx":()=>vn(()=>import("./init-user-DhzPzTRM.js"),__vite__mapDeps([35,3,4,19,5]),import.meta.url),"./pages/list.tsx":()=>vn(()=>import("./list-D72uhn00.js"),__vite__mapDeps([36,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,37,27,38]),import.meta.url),"./pages/login.tsx":()=>vn(()=>import("./login-CyEIe-hN.js"),__vite__mapDeps([39,15,4,3,5,19]),import.meta.url),"./pages/module.tsx":()=>vn(()=>import("./module-DI6zzr4C.js"),__vite__mapDeps([40,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url),"./pages/notification.tsx":()=>vn(()=>import("./notification-BZzAyhJ1.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,42]),import.meta.url),"./pages/register.tsx":()=>vn(()=>import("./register-Bt0RP4PE.js"),__vite__mapDeps([43,3,4,19,5]),import.meta.url),"./pages/welcome.tsx":()=>vn(()=>import("./welcome-8dJL4cIX.js"),__vite__mapDeps([44,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url)})),setup({el:e,App:t,props:a}){Noe.createRoot(e).render(M.jsx(t,{...a}))},progress:{color:"#0f4898"}});export{MK as $,v$e as A,MA as B,lr as C,yX as D,s5 as E,DNe as F,zNe as G,qNe as H,jX as I,FNe as J,YO as K,Fs as L,xY as M,bY as N,wY as O,I9 as P,hHe as Q,S$e as R,vDe as S,Kqe as T,E$e as U,hr as V,uj as W,c2 as X,s2 as Y,wSe as Z,gK as _,i5 as a,_ze as a$,lv as a0,W1 as a1,xK as a2,ONe as a3,pHe as a4,fHe as a5,vHe as a6,kHe as a7,yHe as a8,gHe as a9,PIe as aA,jIe as aB,yf as aC,Kp as aD,ef as aE,of as aF,$Ie as aG,Rs as aH,kt as aI,z2 as aJ,bn as aK,It as aL,xZ as aM,bZ as aN,xe as aO,Pn as aP,DA as aQ,O7 as aR,fM as aS,kze as aT,Mje as aU,gy as aV,Sje as aW,Ije as aX,Mze as aY,U8 as aZ,gze as a_,vc as aa,TW as ab,jW as ac,PW as ad,OW as ae,vG as af,moe as ag,koe as ah,$U as ai,hVe as aj,jE as ak,Rx as al,bze as am,vl as an,bi as ao,YU as ap,xHe as aq,DHe as ar,JO as as,cb as at,B8 as au,v_ as av,sr as aw,UL as ax,M1 as ay,te as az,Oje as b,Tze as b0,Rze as b1,CPe as b2,NPe as b3,IPe as b4,jze as b5,Qv as b6,APe as b7,DPe as b8,zPe as b9,Dre as bA,zre as bB,qre as bC,Eje as bD,jx as bE,yVe as bF,fVe as bG,pVe as bH,eD as bI,mqe as bJ,Un as bK,c7 as bL,dVe as bM,lf as bN,v2 as bO,r1 as bP,__ as bQ,HPe as bR,VPe as bS,BPe as bT,FO as bU,FPe as bV,UPe as bW,mVe as bX,vVe as bY,kVe as bZ,gVe as b_,qPe as ba,TPe as bb,Lze as bc,HG as bd,NLe as be,FG as bf,zze as bg,qze as bh,Hze as bi,Nze as bj,Sze as bk,F_e as bl,U_e as bm,G_e as bn,Z_e as bo,W_e as bp,X_e as bq,Eze as br,Aze as bs,CLe as bt,LLe as bu,Y2 as bv,$De as bw,wN as bx,b7 as by,SN as bz,MDe as c,gDe as d,xDe as e,wDe as f,dLe as g,Nt as h,C$e as i,M as j,N$e as k,L$e as l,hP as m,Yw as n,Bf as o,vX as p,bje as q,qU as r,fc as s,Oqe as t,TP as u,wje as v,_je as w,s$e as x,l$e as y,m$e as z};