adminizer 4.6.0-build.210 → 4.6.0-build.211
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.
- package/assets/app.js +2 -2
- package/assets/manifest.json +1 -1
- package/assets/module-BDXazYdM.js +1 -0
- package/package.json +1 -1
- package/assets/module-CrRDdlUP.js +0 -1
package/assets/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./add-group-Bjq2R0iV.js","./app-layout-mT3oXgd7.js","./app-shell-DbPu3ZPM.js","./handsontable-PxYdjN8c.js","./jsoneditor-De1FvcYu.js","./monaco-BhBYtg3d.js","./app-sidebar-DEpxtufv.js","./nav-main-CroFjRVi.js","./material-icon-BXxpxGAd.js","./app-sidebar-header-BeiWUuCC.js","./breadcrumbs-CZZirDj8.js","./nav-user-DIuv8mfu.js","./user-info-DtBK5Kh8.js","./user-menu-content-bdKtg5yV.js","./theme-switcher-2tPEnSJf.js","./icon-BTIjB9Wk.js","./RelationDialogStack-CJ8JvUDg.js","./dynamic-controls-k61T9W2P.js","./input-error-CSrUHo1P.js","./RelationDialogStack-DV8OITPR.css","./add-group-form-B7c4coU-.js","./add-user-ChZGses8.js","./add-user-form-BXSGx38D.js","./add-COpwiOsy.js","./catalog-RUS5EBuy.js","./del-modal-CF3OUMvW.js","./catalog-D4n6dpGl.css","./dashboard-5NZ3QseL.js","./dashboard-BOltB2Hq.css","./form-Cb-Rvm4q.js","./form-WqY1RtmV.js","./history-B_8v8I3J.js","./home-C_xUaJoJ.js","./init-user-CsEDYKZe.js","./list-CDFtsuUr.js","./list-table-PLHaED_1.js","./pagination-render-40Bk8JSz.js","./login-puJIq5NA.js","./module-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./add-group-Bjq2R0iV.js","./app-layout-mT3oXgd7.js","./app-shell-DbPu3ZPM.js","./handsontable-PxYdjN8c.js","./jsoneditor-De1FvcYu.js","./monaco-BhBYtg3d.js","./app-sidebar-DEpxtufv.js","./nav-main-CroFjRVi.js","./material-icon-BXxpxGAd.js","./app-sidebar-header-BeiWUuCC.js","./breadcrumbs-CZZirDj8.js","./nav-user-DIuv8mfu.js","./user-info-DtBK5Kh8.js","./user-menu-content-bdKtg5yV.js","./theme-switcher-2tPEnSJf.js","./icon-BTIjB9Wk.js","./RelationDialogStack-CJ8JvUDg.js","./dynamic-controls-k61T9W2P.js","./input-error-CSrUHo1P.js","./RelationDialogStack-DV8OITPR.css","./add-group-form-B7c4coU-.js","./add-user-ChZGses8.js","./add-user-form-BXSGx38D.js","./add-COpwiOsy.js","./catalog-RUS5EBuy.js","./del-modal-CF3OUMvW.js","./catalog-D4n6dpGl.css","./dashboard-5NZ3QseL.js","./dashboard-BOltB2Hq.css","./form-Cb-Rvm4q.js","./form-WqY1RtmV.js","./history-B_8v8I3J.js","./home-C_xUaJoJ.js","./init-user-CsEDYKZe.js","./list-CDFtsuUr.js","./list-table-PLHaED_1.js","./pagination-render-40Bk8JSz.js","./login-puJIq5NA.js","./module-BDXazYdM.js","./notification-Deuf56Yd.js","./tabs-DTgMEGE8.js","./register-C2TFSMX0.js","./welcome-BerxxdCf.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
import{a as see,c as GH,b as xa,s as Ma,d as ga,i as Mi,h as SF,m as jj,e as lee,f as dee,z as uee,v as hee,_ as vn}from"./jsoneditor-De1FvcYu.js";import{r as p,e as ke,a as Kd,b as CF,c as pee,R as bP,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 fee,at as yee,au as mee,av as vee,aw as kee,ax as gee,ay as Mee,az as xee}from"./handsontable-PxYdjN8c.js";import{F as bee}from"./monaco-BhBYtg3d.js";var o$={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]:"第二值"};vee();const wF={de:CHe,en:Mee,es:NHe,fr:LHe,it:EHe,ja:IHe,ko:AHe,nl:THe,pl:RHe,pt:$He,ru:jHe,zh:PHe},OHe=document.documentElement.lang,XY=wF[OHe]??wF.en;kee(XY);const KY=({config:e,data:t=[],onChange:a,disabled:o})=>{const{appearance:i}=eD(),[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(gee,{className:o?"pointer-events-none opacity-50":"",themeName:s,language:XY.languageCode,ref:k,...e,afterChange:y,children:e.columns.map(m=>M.jsx(xee,{data:m.data,...m},m.data))})})},vVe=Object.freeze(Object.defineProperty({__proto__:null,default:KY},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},YY=({onChange:e,value:t,options:a,disabled:o})=>{const{appearance:i}=eD(),[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(bee,{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:YY},Symbol.toStringTag,{value:"Module"})),$j=MA("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"}}),tD=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",onOpenItem:w,onAddNew:_,...N},L)=>{const O=gA().props.uiMessages||{},[D,P]=p.useState(s),[A,j]=p.useState(!1),[V,K]=p.useState(!1);p.useEffect(()=>{s&&P(s)},[s]);const q=$=>{if($.key==="Enter")j(!0);else if($.key==="Backspace"&&!$.currentTarget.value){const T=[...D];T.pop(),P(T),t(T)}},B=$=>{let T;b==="single"?T=D.includes($)?[]:[$]:T=D.includes($)?D.filter(G=>G!==$):[...D,$],P(T),t(T),b==="single"&&j(!1)},F=()=>{P([]),t([])},J=()=>{j($=>!$)},pe=()=>{const $=D.slice(0,k);P($),t($)},R=()=>_?M.jsxs("div",{role:"button",className:ee("m-1 cursor-pointer",V?"animate-bounce":"",$j({variant:a})),style:{animationDuration:`${y}s`},onClick:$=>{$.stopPropagation(),_()},children:[M.jsx(k2,{className:"mr-1 h-3.5 w-3.5"}),M.jsx("span",{children:O.Add||"Add"})]}):null;return M.jsxs(MK,{open:A,onOpenChange:j,modal:m,children:[M.jsx(xK,{asChild:!0,children:M.jsx(xA,{ref:L,...N,onClick:J,disabled:i,className:ee("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:D.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[D.slice(0,k).map($=>{const T=e.find(W=>W.value===$),G=T==null?void 0:T.icon;return M.jsxs("div",{className:ee(V?"animate-bounce":"",$j({variant:a})),style:{animationDuration:`${y}s`},children:[G&&M.jsx(G,{className:"h-4 w-4 mr-2"}),T==null?void 0:T.label,w&&M.jsx(v2,{className:"ml-2 h-4 w-4 cursor-pointer text-muted-foreground hover:text-foreground",onClick:W=>{W.stopPropagation(),w($)}}),M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:W=>{W.stopPropagation(),o||B($)}})]},$)}),b==="multiple"&&D.length>k&&M.jsxs("div",{className:ee("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",V?"animate-bounce":"",$j({variant:a})),style:{animationDuration:`${y}s`},children:[`+ ${D.length-k} more`,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:$=>{$.stopPropagation(),pe()}})]}),R()]}),M.jsxs("div",{className:"flex items-center justify-between",children:[D.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(bi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:$=>{$.stopPropagation(),F()}}),M.jsx(XO,{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.jsxs("div",{className:"flex items-center",children:[R(),M.jsx(xi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})]})})}),M.jsx(bK,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>j(!1),children:M.jsxs(lO,{children:[M.jsx(zW,{placeholder:f,onKeyDown:q}),M.jsxs(qW,{children:[M.jsx(HW,{children:h}),M.jsx(VW,{children:e.map($=>{const T=D.includes($.value);return M.jsxs(FW,{onSelect:()=>B($.value),className:"cursor-pointer",children:[M.jsx("div",{className:ee("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",T?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(sr,{className:"h-4 w-4 text-primary-foreground"})}),$.icon&&M.jsx($.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:$.label})]},$.value)})}),M.jsx(BW,{})]})]})}),y>0&&D.length>0&&b==="multiple"&&M.jsx(ki,{className:ee("cursor-pointer my-2 text-foreground bg-background w-3 h-3",V?"":"text-muted-foreground"),onClick:()=>K(!V)})]})});tD.displayName="MultiSelect";const gVe=Object.freeze(Object.defineProperty({__proto__:null,default:tD},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:zre,AvatarImage:qre,AvatarFallback:Hre,Badge:Bre,Breadcrumb:U_e,BreadcrumbList:G_e,BreadcrumbItem:W_e,BreadcrumbLink:Z_e,BreadcrumbPage:X_e,BreadcrumbSeparator:K_e,BreadcrumbEllipsis:Y_e,Button:xA,Calendar:DNe,Card:zNe,CardHeader:qNe,CardFooter:UNe,CardTitle:HNe,CardAction:BNe,CardDescription:VNe,CardContent:FNe,Checkbox:uLe,Collapsible:NLe,CollapsibleTrigger:LLe,CollapsibleContent:ELe,Command:lO,CommandDialog:DIe,CommandInput:zW,CommandList:qW,CommandEmpty:HW,CommandGroup:VW,CommandItem:FW,CommandShortcut:zIe,CommandSeparator:BW,ContextMenu:l$e,ContextMenuTrigger:d$e,ContextMenuContent:v$e,ContextMenuItem:k$e,ContextMenuCheckboxItem:g$e,ContextMenuRadioItem:M$e,ContextMenuLabel:x$e,ContextMenuSeparator:b$e,ContextMenuShortcut:w$e,ContextMenuGroup:u$e,ContextMenuPortal:h$e,ContextMenuSub:p$e,ContextMenuSubContent:m$e,ContextMenuSubTrigger:y$e,ContextMenuRadioGroup:f$e,Dialog:TW,DialogClose:PIe,DialogContent:jW,DialogDescription:DW,DialogFooter:OIe,DialogHeader:PW,DialogOverlay:$W,DialogPortal:RW,DialogTitle:OW,DialogTrigger:jIe,DialogStack:mX,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:PX,Label:Oje,Menubar:CPe,MenubarPortal:iK,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:UO,PaginationItem:BPe,PaginationPrevious:FPe,PaginationNext:UPe,PaginationEllipsis:GPe,Popover:MK,PopoverTrigger:xK,PopoverContent:bK,PopoverAnchor:mOe,Select:vDe,SelectContent:xDe,SelectGroup:kDe,SelectItem:wDe,SelectLabel:bDe,SelectScrollDownButton:aY,SelectScrollUpButton:nY,SelectSeparator:_De,SelectTrigger:MDe,SelectValue:gDe,Separator:XO,Sheet:rY,SheetTrigger:EDe,SheetClose:IDe,SheetContent:iY,SheetHeader:cY,SheetFooter:RDe,SheetTitle:sY,SheetDescription:lY,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:J2,Skeleton:fP,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:bY,TooltipTrigger:wY,TooltipContent:_Y,TooltipProvider:QO,VanillaJSONEditor:xP}),Object.assign(window.JSComponents,{VanillaJSONEditor:xP,HandsonTable:KY,MonacoEditor:YY,MultiSelect:tD})}const{createInertiaApp:qHe,router:QY}=HU;window.React=ke;window.ReactDOM=ur;window.InertiajsReact=HU;window.LucideReact=F_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 nD=!1;QY.on("navigate",e=>{nD=!0});QY.on("finish",e=>{nD=!1});const _F=document.createElement.bind(document);document.createElement=function(e,t){const a=_F(e,t);return e.toLowerCase()==="iframe"&&nD?(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-Bjq2R0iV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url),"./pages/add-user.tsx":()=>vn(()=>import("./add-user-ChZGses8.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22]),import.meta.url),"./pages/add.tsx":()=>vn(()=>import("./add-COpwiOsy.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/catalog.tsx":()=>vn(()=>import("./catalog-RUS5EBuy.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,25,26]),import.meta.url),"./pages/dashboard.tsx":()=>vn(()=>import("./dashboard-5NZ3QseL.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,28]),import.meta.url),"./pages/form.tsx":()=>vn(()=>import("./form-Cb-Rvm4q.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30]),import.meta.url),"./pages/history.tsx":()=>vn(()=>import("./history-B_8v8I3J.js"),__vite__mapDeps([31,3,4,16,15,5,17,18,19,1,2,6,7,8,9,10,11,12,13,14]),import.meta.url),"./pages/home.tsx":()=>vn(()=>import("./home-C_xUaJoJ.js"),__vite__mapDeps([32,4,3,5]),import.meta.url),"./pages/init-user.tsx":()=>vn(()=>import("./init-user-CsEDYKZe.js"),__vite__mapDeps([33,3,4,18,5]),import.meta.url),"./pages/list.tsx":()=>vn(()=>import("./list-CDFtsuUr.js"),__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,35,25,36]),import.meta.url),"./pages/login.tsx":()=>vn(()=>import("./login-puJIq5NA.js"),__vite__mapDeps([37,15,4,3,5,18]),import.meta.url),"./pages/module.tsx":()=>vn(()=>import("./module-CrRDdlUP.js"),__vite__mapDeps([38,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/notification.tsx":()=>vn(()=>import("./notification-Deuf56Yd.js"),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,40]),import.meta.url),"./pages/register.tsx":()=>vn(()=>import("./register-C2TFSMX0.js"),__vite__mapDeps([41,3,4,18,5]),import.meta.url),"./pages/welcome.tsx":()=>vn(()=>import("./welcome-BerxxdCf.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url)})),setup({el:e,App:t,props:a}){Loe.createRoot(e).render(M.jsx(t,{...a}))},progress:{color:"#0f4898"}});export{MK as $,v$e as A,xA as B,lr as C,mX as D,l5 as E,k$e as F,zNe as G,qNe as H,PX as I,HNe as J,UNe as K,Fs as L,QO as M,bY as N,wY as O,k2 as P,_Y as Q,hHe as R,vDe as S,Kqe as T,S$e as U,E$e as V,hr as W,hj as X,c2 as Y,s2 as Z,_Se as _,s5 as a,G8 as a$,xK as a0,uv as a1,W1 as a2,bK as a3,DNe as a4,pHe as a5,fHe as a6,vHe as a7,kHe as a8,yHe as a9,ee as aA,OIe as aB,PIe as aC,vf as aD,Qp as aE,nf as aF,cf as aG,jIe as aH,Rs as aI,kt as aJ,H2 as aK,bn as aL,It as aM,xZ as aN,bZ as aO,xe as aP,Pn as aQ,zA as aR,D7 as aS,yM as aT,kze as aU,XHe as aV,Mje as aW,xy as aX,Sje as aY,Ije as aZ,Mze as a_,gHe as aa,vc as ab,TW as ac,jW as ad,PW as ae,OW as af,vG as ag,voe as ah,goe as ai,$U as aj,hVe as ak,jE as al,$x as am,bze as an,vl as ao,bi as ap,YU as aq,xHe as ar,DHe as as,eD as at,sb as au,F8 as av,v_ as aw,sr as ax,UL as ay,M1 as az,Oje as b,kVe as b$,gze as b0,_ze as b1,Tze as b2,Rze as b3,CPe as b4,NPe as b5,IPe as b6,jze as b7,e4 as b8,APe as b9,Eze as bA,Aze as bB,NLe as bC,ELe as bD,J2 as bE,$De as bF,wN as bG,w7 as bH,SN as bI,zre as bJ,qre as bK,Hre as bL,Eje as bM,Px as bN,dVe as bO,uf as bP,g2 as bQ,r1 as bR,__ as bS,HPe as bT,VPe as bU,BPe as bV,UO as bW,FPe as bX,UPe as bY,mVe as bZ,vVe as b_,DPe as ba,zPe as bb,qPe as bc,TPe as bd,Lze as be,HG as bf,LLe as bg,FG as bh,zze as bi,qze as bj,Hze as bk,Nze as bl,Sze as bm,U_e as bn,G_e as bo,W_e as bp,X_e as bq,Z_e as br,K_e as bs,tD as bt,mqe as bu,Un as bv,s7 as bw,yVe as bx,fVe as by,pVe as bz,MDe as c,gVe as c0,gDe as d,xDe as e,wDe as f,uLe as g,Nt as h,C$e as i,M as j,N$e as k,L$e as l,fP as m,Bre as n,Qw as o,Uf as p,kX as q,qU as r,bje as s,Oqe as t,gA as u,fc as v,wje as w,_je as x,l$e as y,d$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]:"第二值"};vee();const wF={de:CHe,en:Mee,es:NHe,fr:LHe,it:EHe,ja:IHe,ko:AHe,nl:THe,pl:RHe,pt:$He,ru:jHe,zh:PHe},OHe=document.documentElement.lang,XY=wF[OHe]??wF.en;kee(XY);const KY=({config:e,data:t=[],onChange:a,disabled:o})=>{const{appearance:i}=eD(),[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(gee,{className:o?"pointer-events-none opacity-50":"",themeName:s,language:XY.languageCode,ref:k,...e,afterChange:y,children:e.columns.map(m=>M.jsx(xee,{data:m.data,...m},m.data))})})},vVe=Object.freeze(Object.defineProperty({__proto__:null,default:KY},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},YY=({onChange:e,value:t,options:a,disabled:o})=>{const{appearance:i}=eD(),[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(bee,{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:YY},Symbol.toStringTag,{value:"Module"})),$j=MA("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"}}),tD=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",onOpenItem:w,onAddNew:_,...N},L)=>{const O=gA().props.uiMessages||{},[D,P]=p.useState(s),[A,j]=p.useState(!1),[V,K]=p.useState(!1);p.useEffect(()=>{s&&P(s)},[s]);const q=$=>{if($.key==="Enter")j(!0);else if($.key==="Backspace"&&!$.currentTarget.value){const T=[...D];T.pop(),P(T),t(T)}},B=$=>{let T;b==="single"?T=D.includes($)?[]:[$]:T=D.includes($)?D.filter(G=>G!==$):[...D,$],P(T),t(T),b==="single"&&j(!1)},F=()=>{P([]),t([])},J=()=>{j($=>!$)},pe=()=>{const $=D.slice(0,k);P($),t($)},R=()=>_?M.jsxs("div",{role:"button",className:ee("m-1 cursor-pointer",V?"animate-bounce":"",$j({variant:a})),style:{animationDuration:`${y}s`},onClick:$=>{$.stopPropagation(),_()},children:[M.jsx(k2,{className:"mr-1 h-3.5 w-3.5"}),M.jsx("span",{children:O.Add||"Add"})]}):null;return M.jsxs(MK,{open:A,onOpenChange:j,modal:m,children:[M.jsx(xK,{asChild:!0,children:M.jsx(xA,{ref:L,...N,onClick:J,disabled:i,className:ee("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:D.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[D.slice(0,k).map($=>{const T=e.find(W=>W.value===$),G=T==null?void 0:T.icon;return M.jsxs("div",{className:ee(V?"animate-bounce":"",$j({variant:a})),style:{animationDuration:`${y}s`},children:[G&&M.jsx(G,{className:"h-4 w-4 mr-2"}),T==null?void 0:T.label,w&&M.jsx(v2,{className:"ml-2 h-4 w-4 cursor-pointer text-muted-foreground hover:text-foreground",onClick:W=>{W.stopPropagation(),w($)}}),M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:W=>{W.stopPropagation(),o||B($)}})]},$)}),b==="multiple"&&D.length>k&&M.jsxs("div",{className:ee("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",V?"animate-bounce":"",$j({variant:a})),style:{animationDuration:`${y}s`},children:[`+ ${D.length-k} more`,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:$=>{$.stopPropagation(),pe()}})]}),R()]}),M.jsxs("div",{className:"flex items-center justify-between",children:[D.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(bi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:$=>{$.stopPropagation(),F()}}),M.jsx(XO,{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.jsxs("div",{className:"flex items-center",children:[R(),M.jsx(xi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})]})})}),M.jsx(bK,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>j(!1),children:M.jsxs(lO,{children:[M.jsx(zW,{placeholder:f,onKeyDown:q}),M.jsxs(qW,{children:[M.jsx(HW,{children:h}),M.jsx(VW,{children:e.map($=>{const T=D.includes($.value);return M.jsxs(FW,{onSelect:()=>B($.value),className:"cursor-pointer",children:[M.jsx("div",{className:ee("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",T?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(sr,{className:"h-4 w-4 text-primary-foreground"})}),$.icon&&M.jsx($.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:$.label})]},$.value)})}),M.jsx(BW,{})]})]})}),y>0&&D.length>0&&b==="multiple"&&M.jsx(ki,{className:ee("cursor-pointer my-2 text-foreground bg-background w-3 h-3",V?"":"text-muted-foreground"),onClick:()=>K(!V)})]})});tD.displayName="MultiSelect";const gVe=Object.freeze(Object.defineProperty({__proto__:null,default:tD},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:zre,AvatarImage:qre,AvatarFallback:Hre,Badge:Bre,Breadcrumb:U_e,BreadcrumbList:G_e,BreadcrumbItem:W_e,BreadcrumbLink:Z_e,BreadcrumbPage:X_e,BreadcrumbSeparator:K_e,BreadcrumbEllipsis:Y_e,Button:xA,Calendar:DNe,Card:zNe,CardHeader:qNe,CardFooter:UNe,CardTitle:HNe,CardAction:BNe,CardDescription:VNe,CardContent:FNe,Checkbox:uLe,Collapsible:NLe,CollapsibleTrigger:LLe,CollapsibleContent:ELe,Command:lO,CommandDialog:DIe,CommandInput:zW,CommandList:qW,CommandEmpty:HW,CommandGroup:VW,CommandItem:FW,CommandShortcut:zIe,CommandSeparator:BW,ContextMenu:l$e,ContextMenuTrigger:d$e,ContextMenuContent:v$e,ContextMenuItem:k$e,ContextMenuCheckboxItem:g$e,ContextMenuRadioItem:M$e,ContextMenuLabel:x$e,ContextMenuSeparator:b$e,ContextMenuShortcut:w$e,ContextMenuGroup:u$e,ContextMenuPortal:h$e,ContextMenuSub:p$e,ContextMenuSubContent:m$e,ContextMenuSubTrigger:y$e,ContextMenuRadioGroup:f$e,Dialog:TW,DialogClose:PIe,DialogContent:jW,DialogDescription:DW,DialogFooter:OIe,DialogHeader:PW,DialogOverlay:$W,DialogPortal:RW,DialogTitle:OW,DialogTrigger:jIe,DialogStack:mX,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:PX,Label:Oje,Menubar:CPe,MenubarPortal:iK,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:UO,PaginationItem:BPe,PaginationPrevious:FPe,PaginationNext:UPe,PaginationEllipsis:GPe,Popover:MK,PopoverTrigger:xK,PopoverContent:bK,PopoverAnchor:mOe,Select:vDe,SelectContent:xDe,SelectGroup:kDe,SelectItem:wDe,SelectLabel:bDe,SelectScrollDownButton:aY,SelectScrollUpButton:nY,SelectSeparator:_De,SelectTrigger:MDe,SelectValue:gDe,Separator:XO,Sheet:rY,SheetTrigger:EDe,SheetClose:IDe,SheetContent:iY,SheetHeader:cY,SheetFooter:RDe,SheetTitle:sY,SheetDescription:lY,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:J2,Skeleton:fP,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:bY,TooltipTrigger:wY,TooltipContent:_Y,TooltipProvider:QO,VanillaJSONEditor:xP}),Object.assign(window.JSComponents,{VanillaJSONEditor:xP,HandsonTable:KY,MonacoEditor:YY,MultiSelect:tD})}const{createInertiaApp:qHe,router:QY}=HU;window.React=ke;window.ReactDOM=ur;window.InertiajsReact=HU;window.LucideReact=F_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 nD=!1;QY.on("navigate",e=>{nD=!0});QY.on("finish",e=>{nD=!1});const _F=document.createElement.bind(document);document.createElement=function(e,t){const a=_F(e,t);return e.toLowerCase()==="iframe"&&nD?(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-Bjq2R0iV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url),"./pages/add-user.tsx":()=>vn(()=>import("./add-user-ChZGses8.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22]),import.meta.url),"./pages/add.tsx":()=>vn(()=>import("./add-COpwiOsy.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/catalog.tsx":()=>vn(()=>import("./catalog-RUS5EBuy.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,25,26]),import.meta.url),"./pages/dashboard.tsx":()=>vn(()=>import("./dashboard-5NZ3QseL.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,28]),import.meta.url),"./pages/form.tsx":()=>vn(()=>import("./form-Cb-Rvm4q.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30]),import.meta.url),"./pages/history.tsx":()=>vn(()=>import("./history-B_8v8I3J.js"),__vite__mapDeps([31,3,4,16,15,5,17,18,19,1,2,6,7,8,9,10,11,12,13,14]),import.meta.url),"./pages/home.tsx":()=>vn(()=>import("./home-C_xUaJoJ.js"),__vite__mapDeps([32,4,3,5]),import.meta.url),"./pages/init-user.tsx":()=>vn(()=>import("./init-user-CsEDYKZe.js"),__vite__mapDeps([33,3,4,18,5]),import.meta.url),"./pages/list.tsx":()=>vn(()=>import("./list-CDFtsuUr.js"),__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,35,25,36]),import.meta.url),"./pages/login.tsx":()=>vn(()=>import("./login-puJIq5NA.js"),__vite__mapDeps([37,15,4,3,5,18]),import.meta.url),"./pages/module.tsx":()=>vn(()=>import("./module-BDXazYdM.js"),__vite__mapDeps([38,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/notification.tsx":()=>vn(()=>import("./notification-Deuf56Yd.js"),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,40]),import.meta.url),"./pages/register.tsx":()=>vn(()=>import("./register-C2TFSMX0.js"),__vite__mapDeps([41,3,4,18,5]),import.meta.url),"./pages/welcome.tsx":()=>vn(()=>import("./welcome-BerxxdCf.js"),__vite__mapDeps([42,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url)})),setup({el:e,App:t,props:a}){Loe.createRoot(e).render(M.jsx(t,{...a}))},progress:{color:"#0f4898"}});export{MK as $,v$e as A,xA as B,lr as C,mX as D,l5 as E,k$e as F,zNe as G,qNe as H,PX as I,HNe as J,UNe as K,Fs as L,QO as M,bY as N,wY as O,k2 as P,_Y as Q,hHe as R,vDe as S,Kqe as T,S$e as U,E$e as V,hr as W,hj as X,c2 as Y,s2 as Z,_Se as _,s5 as a,G8 as a$,xK as a0,uv as a1,W1 as a2,bK as a3,DNe as a4,pHe as a5,fHe as a6,vHe as a7,kHe as a8,yHe as a9,ee as aA,OIe as aB,PIe as aC,vf as aD,Qp as aE,nf as aF,cf as aG,jIe as aH,Rs as aI,kt as aJ,H2 as aK,bn as aL,It as aM,xZ as aN,bZ as aO,xe as aP,Pn as aQ,zA as aR,D7 as aS,yM as aT,kze as aU,XHe as aV,Mje as aW,xy as aX,Sje as aY,Ije as aZ,Mze as a_,gHe as aa,vc as ab,TW as ac,jW as ad,PW as ae,OW as af,vG as ag,voe as ah,goe as ai,$U as aj,hVe as ak,jE as al,$x as am,bze as an,vl as ao,bi as ap,YU as aq,xHe as ar,DHe as as,eD as at,sb as au,F8 as av,v_ as aw,sr as ax,UL as ay,M1 as az,Oje as b,kVe as b$,gze as b0,_ze as b1,Tze as b2,Rze as b3,CPe as b4,NPe as b5,IPe as b6,jze as b7,e4 as b8,APe as b9,Eze as bA,Aze as bB,NLe as bC,ELe as bD,J2 as bE,$De as bF,wN as bG,w7 as bH,SN as bI,zre as bJ,qre as bK,Hre as bL,Eje as bM,Px as bN,dVe as bO,uf as bP,g2 as bQ,r1 as bR,__ as bS,HPe as bT,VPe as bU,BPe as bV,UO as bW,FPe as bX,UPe as bY,mVe as bZ,vVe as b_,DPe as ba,zPe as bb,qPe as bc,TPe as bd,Lze as be,HG as bf,LLe as bg,FG as bh,zze as bi,qze as bj,Hze as bk,Nze as bl,Sze as bm,U_e as bn,G_e as bo,W_e as bp,X_e as bq,Z_e as br,K_e as bs,tD as bt,mqe as bu,Un as bv,s7 as bw,yVe as bx,fVe as by,pVe as bz,MDe as c,gVe as c0,gDe as d,xDe as e,wDe as f,uLe as g,Nt as h,C$e as i,M as j,N$e as k,L$e as l,fP as m,Bre as n,Qw as o,Uf as p,kX as q,qU as r,bje as s,Oqe as t,gA as u,fc as v,wje as w,_je as x,l$e as y,d$e as z};
|
package/assets/manifest.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as a,j as e,L as c}from"./app.js";import{r as s}from"./handsontable-PxYdjN8c.js";import{A as d}from"./app-layout-mT3oXgd7.js";import"./jsoneditor-De1FvcYu.js";import"./monaco-BhBYtg3d.js";import"./app-shell-DbPu3ZPM.js";import"./app-sidebar-DEpxtufv.js";import"./nav-main-CroFjRVi.js";import"./material-icon-BXxpxGAd.js";import"./app-sidebar-header-BeiWUuCC.js";import"./breadcrumbs-CZZirDj8.js";import"./nav-user-DIuv8mfu.js";import"./user-info-DtBK5Kh8.js";import"./user-menu-content-bdKtg5yV.js";import"./theme-switcher-2tPEnSJf.js";import"./icon-BTIjB9Wk.js";import"./RelationDialogStack-CJ8JvUDg.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-CSrUHo1P.js";const u=[];function z(){const r=a(),[m,p]=s.useState(null);return s.useEffect(()=>{const i=async()=>{const o=(await import(r.props.moduleComponent)).default,{moduleComponent:n,moduleComponentCSS:S,...l}=r.props;p(e.jsx(o,{...l}))};(()=>{const t=r.props.moduleComponentCSS;if(!t||[...document.head.querySelectorAll("link[rel='stylesheet']")].some(n=>n.href.includes(t)))return;const o=document.createElement("link");o.rel="stylesheet",o.href=t,o.type="text/css",o.onload=()=>console.log(`CSS loaded: ${t}`),o.onerror=()=>console.error(`Failed to load CSS: ${t}`),document.head.appendChild(o)})(),i()},[]),e.jsx(d,{breadcrumbs:u,children:e.jsx("div",{className:"m-5",children:m||e.jsx(c,{className:"size-10 animate-spin text-neutral-500 mx-auto mt-[15%]"})})})}export{z as default};
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as i,j as e,L as l}from"./app.js";import{r as s}from"./handsontable-PxYdjN8c.js";import{A as d}from"./app-layout-mT3oXgd7.js";import"./jsoneditor-De1FvcYu.js";import"./monaco-BhBYtg3d.js";import"./app-shell-DbPu3ZPM.js";import"./app-sidebar-DEpxtufv.js";import"./nav-main-CroFjRVi.js";import"./material-icon-BXxpxGAd.js";import"./app-sidebar-header-BeiWUuCC.js";import"./breadcrumbs-CZZirDj8.js";import"./nav-user-DIuv8mfu.js";import"./user-info-DtBK5Kh8.js";import"./user-menu-content-bdKtg5yV.js";import"./theme-switcher-2tPEnSJf.js";import"./icon-BTIjB9Wk.js";import"./RelationDialogStack-CJ8JvUDg.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-CSrUHo1P.js";const c=[];function w(){const r=i(),[n,m]=s.useState(null);return s.useEffect(()=>{const a=async()=>{const o=(await import(r.props.moduleComponent)).default;m(e.jsx(o,{data:r.props.data}))};(()=>{const t=r.props.moduleComponentCSS;if(!t||[...document.head.querySelectorAll("link[rel='stylesheet']")].some(p=>p.href.includes(t)))return;const o=document.createElement("link");o.rel="stylesheet",o.href=t,o.type="text/css",o.onload=()=>console.log(`CSS loaded: ${t}`),o.onerror=()=>console.error(`Failed to load CSS: ${t}`),document.head.appendChild(o)})(),a()},[]),e.jsx(d,{breadcrumbs:c,children:e.jsx("div",{className:"m-5",children:n||e.jsx(l,{className:"size-10 animate-spin text-neutral-500 mx-auto mt-[15%]"})})})}export{w as default};
|