adminizer 4.4.0-build.150 → 4.4.0-build.151

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,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./toast-editor-DwRk6WqT.js","./app.js","./jsoneditor-D95dIAP2.js","./vendor-wzZzN_Jv.js","./monaco-ICtx6xoc.js","./handsontable-PVakPtJV.js","./app-BJd5vD4i.css","./geo-json-YeWQOYnT.js","./media-manager-DYOfUh8F.js","./tabs-BhkFoerH.js","./dynamic-controls-BOYmRX_z.js","./media-manager-BZPjl98I.css"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./toast-editor-DwRk6WqT.js","./app.js","./jsoneditor-D95dIAP2.js","./vendor-wzZzN_Jv.js","./monaco-ICtx6xoc.js","./handsontable-PVakPtJV.js","./app-mw7Ur3rJ.css","./geo-json-YeWQOYnT.js","./media-manager-DYOfUh8F.js","./tabs-BhkFoerH.js","./dynamic-controls-BOYmRX_z.js","./media-manager-BZPjl98I.css"])))=>i.map(i=>d[i]);
2
2
  var Vp=Object.defineProperty;var zp=(o,i,e)=>i in o?Vp(o,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[i]=e;var u=(o,i,e)=>zp(o,typeof i!="symbol"?i+"":i,e);import{_ as $i}from"./jsoneditor-D95dIAP2.js";import{h as Np,j as D,_ as Dp,I as Op,bA as Fp,S as Up,c as Hp,d as Wp,e as qp,f as jp,bB as Gp,bC as $p,g as Kp}from"./app.js";import{e as ni,r as H}from"./monaco-ICtx6xoc.js";import ki from"./dynamic-controls-BOYmRX_z.js";import{g as ch}from"./vendor-wzZzN_Jv.js";function Zp(o,i){for(var e=0;e<i.length;e++){const t=i[e];if(typeof t!="string"&&!Array.isArray(t)){for(const n in t)if(n!=="default"&&!(n in o)){const s=Object.getOwnPropertyDescriptor(t,n);s&&Object.defineProperty(o,n,s.get?s:{enumerable:!0,get:()=>t[n]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}/**
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./app.js","./jsoneditor-D95dIAP2.js","./vendor-wzZzN_Jv.js","./monaco-ICtx6xoc.js","./handsontable-PVakPtJV.js","./app-BJd5vD4i.css","./add-form-uUiOWEy_.js","./icon-DpkedrXG.js","./field-renderer-BNQVfOir.js","./dynamic-controls-BOYmRX_z.js","./field-renderer-CRNLShJD.css","./input-error-CmXZF6xy.js","./add-group-form-DMz0_Oo9.js","./add-user-form-izlXhv2-.js","./material-icon-DwkE6wKL.js","./app-shell-C8Cnr5Hy.js","./app-sidebar-header-Bcpas2Np.js","./breadcrumbs-DSMzNYiS.js","./nav-user-DuCZNsZX.js","./user-info-BGQvqBmO.js","./user-menu-content-BDm88xaM.js","./theme-switcher-cgyA7_cO.js","./app-sidebar-CNGEOOHu.js","./nav-main-BqKm87JZ.js","./date-picker-kW3wZQr_.js","./form-CAIoGuhZ.js","./geo-json-YeWQOYnT.js","./list-table-BPpHDVPf.js","./del-modal-DyIWFflP.js","./pagination-render-io0M2m2O.js","./nav-footer-B85HLj-j.js","./toast-editor-DwRk6WqT.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./app.js","./jsoneditor-D95dIAP2.js","./vendor-wzZzN_Jv.js","./monaco-ICtx6xoc.js","./handsontable-PVakPtJV.js","./app-mw7Ur3rJ.css","./add-form-uUiOWEy_.js","./icon-DpkedrXG.js","./field-renderer-BNQVfOir.js","./dynamic-controls-BOYmRX_z.js","./field-renderer-CRNLShJD.css","./input-error-CmXZF6xy.js","./add-group-form-DMz0_Oo9.js","./add-user-form-izlXhv2-.js","./material-icon-DwkE6wKL.js","./app-shell-C8Cnr5Hy.js","./app-sidebar-header-Bcpas2Np.js","./breadcrumbs-DSMzNYiS.js","./nav-user-DuCZNsZX.js","./user-info-BGQvqBmO.js","./user-menu-content-BDm88xaM.js","./theme-switcher-cgyA7_cO.js","./app-sidebar-CNGEOOHu.js","./nav-main-BqKm87JZ.js","./date-picker-kW3wZQr_.js","./form-CAIoGuhZ.js","./geo-json-YeWQOYnT.js","./list-table-BPpHDVPf.js","./del-modal-DyIWFflP.js","./pagination-render-io0M2m2O.js","./nav-footer-B85HLj-j.js","./toast-editor-DwRk6WqT.js"])))=>i.map(i=>d[i]);
2
2
  import{_ as t}from"./jsoneditor-D95dIAP2.js";import{u as x,j as o,V as v,W as P}from"./app.js";import{r as l}from"./monaco-ICtx6xoc.js";import"./vendor-wzZzN_Jv.js";import"./handsontable-PVakPtJV.js";const L=(i,n,_)=>{const r=i[n];return r?typeof r=="function"?r():Promise.resolve(r):new Promise((p,m)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(m.bind(null,new Error("Unknown variable dynamic import: "+n+(n.split("/").length!==_?". Note that variables only represent file names one level deep.":""))))})};function T(){const i=x(),[n,_]=l.useState(null),[r,p]=l.useState(null),m=i.props.controls,c=async()=>{const{component:s,props:a}=m[0],E=(await L(Object.assign({"../components/VanillaJSONEditor.tsx":()=>t(()=>import("./app.js").then(e=>e.bO),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),"../components/add-form.tsx":()=>t(()=>import("./add-form-uUiOWEy_.js"),__vite__mapDeps([6,0,1,2,3,4,5,7,8,9,10,11]),import.meta.url),"../components/add-group-form.tsx":()=>t(()=>import("./add-group-form-DMz0_Oo9.js"),__vite__mapDeps([12,0,1,2,3,4,5,7]),import.meta.url),"../components/add-user-form.tsx":()=>t(()=>import("./add-user-form-izlXhv2-.js"),__vite__mapDeps([13,0,1,2,3,4,5,7,11,14]),import.meta.url),"../components/app-shell.tsx":()=>t(()=>import("./app-shell-C8Cnr5Hy.js"),__vite__mapDeps([15,0,1,2,3,4,5]),import.meta.url),"../components/app-sidebar-header.tsx":()=>t(()=>import("./app-sidebar-header-Bcpas2Np.js").then(e=>e.a),__vite__mapDeps([16,0,1,2,3,4,5,17,18,19,20,21,7,14]),import.meta.url),"../components/app-sidebar.tsx":()=>t(()=>import("./app-sidebar-CNGEOOHu.js"),__vite__mapDeps([22,0,1,2,3,4,5,23,14]),import.meta.url),"../components/breadcrumbs.tsx":()=>t(()=>import("./breadcrumbs-DSMzNYiS.js"),__vite__mapDeps([17,0,1,2,3,4,5]),import.meta.url),"../components/date-picker.tsx":()=>t(()=>import("./date-picker-kW3wZQr_.js"),__vite__mapDeps([24,0,1,2,3,4,5]),import.meta.url),"../components/dynamic-controls.tsx":()=>t(()=>import("./dynamic-controls-BOYmRX_z.js"),__vite__mapDeps([9,0,1,2,3,4,5]),import.meta.url),"../components/field-renderer.tsx":()=>t(()=>import("./field-renderer-BNQVfOir.js").then(e=>e.f),__vite__mapDeps([8,1,2,0,3,4,5,9,10]),import.meta.url),"../components/form.tsx":()=>t(()=>import("./form-CAIoGuhZ.js"),__vite__mapDeps([25,0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),"../components/geo-json.tsx":()=>t(()=>import("./geo-json-YeWQOYnT.js"),__vite__mapDeps([26,0,1,2,3,4,5]),import.meta.url),"../components/handsontable.tsx":()=>t(()=>import("./app.js").then(e=>e.bP),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),"../components/icon.tsx":()=>t(()=>import("./icon-DpkedrXG.js"),__vite__mapDeps([7,0,1,2,3,4,5]),import.meta.url),"../components/input-error.tsx":()=>t(()=>import("./input-error-CmXZF6xy.js"),__vite__mapDeps([11,0,1,2,3,4,5]),import.meta.url),"../components/list-table.tsx":()=>t(()=>import("./list-table-BPpHDVPf.js"),__vite__mapDeps([27,0,1,2,3,4,5,7,14,28,29]),import.meta.url),"../components/material-icon.tsx":()=>t(()=>import("./material-icon-DwkE6wKL.js"),__vite__mapDeps([14,0,1,2,3,4,5]),import.meta.url),"../components/monaco-editor.tsx":()=>t(()=>import("./app.js").then(e=>e.bQ),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),"../components/multi-select.tsx":()=>t(()=>import("./app.js").then(e=>e.bR),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),"../components/nav-footer.tsx":()=>t(()=>import("./nav-footer-B85HLj-j.js"),__vite__mapDeps([30,0,1,2,3,4,5,7]),import.meta.url),"../components/nav-main.tsx":()=>t(()=>import("./nav-main-BqKm87JZ.js"),__vite__mapDeps([23,0,1,2,3,4,5,14]),import.meta.url),"../components/nav-user.tsx":()=>t(()=>import("./nav-user-DuCZNsZX.js"),__vite__mapDeps([18,0,1,2,3,4,5,19,20]),import.meta.url),"../components/pagination-render.tsx":()=>t(()=>import("./pagination-render-io0M2m2O.js"),__vite__mapDeps([29,0,1,2,3,4,5]),import.meta.url),"../components/theme-switcher.tsx":()=>t(()=>import("./theme-switcher-cgyA7_cO.js"),__vite__mapDeps([21,0,1,2,3,4,5,7]),import.meta.url),"../components/toast-editor.tsx":()=>t(()=>import("./toast-editor-DwRk6WqT.js"),__vite__mapDeps([31,0,1,2,3,4,5]),import.meta.url),"../components/user-info.tsx":()=>t(()=>import("./user-info-BGQvqBmO.js"),__vite__mapDeps([19,0,1,2,3,4,5]),import.meta.url),"../components/user-menu-content.tsx":()=>t(()=>import("./user-menu-content-BDm88xaM.js"),__vite__mapDeps([20,0,1,2,3,4,5,19]),import.meta.url)}),`../components/${s}.tsx`,3)).default;_(o.jsx(E,{...a}))},d=async()=>{const{component:s}=m[1],u=(await import(s)).default;p(o.jsx(u,{message:"Hello from Component B"}))};return o.jsxs(o.Fragment,{children:[o.jsx(v,{title:"Home"}),o.jsx("div",{children:o.jsx(P,{href:"/page",children:"Page"})}),o.jsx("div",{children:o.jsx("h1",{children:"Is Home"})}),o.jsxs("div",{children:[o.jsx("button",{onClick:c,children:"Загрузить компонент"}),o.jsx("p",{}),n||o.jsx("p",{children:"Нажмите кнопку, чтобы загрузить компонент"})]}),o.jsx("p",{}),o.jsxs("div",{children:[o.jsx("button",{onClick:d,children:"Загрузить компонент"}),o.jsx("p",{}),r||o.jsx("p",{children:"Нажмите кнопку, чтобы загрузить компонент"})]})]})}export{T as default};
@@ -171,7 +171,7 @@
171
171
  "src/assets/js/pages/welcome.tsx"
172
172
  ],
173
173
  "css": [
174
- "app-BJd5vD4i.css"
174
+ "app-mw7Ur3rJ.css"
175
175
  ],
176
176
  "assets": [
177
177
  "material-icons-kAwBdRge.woff2",
@@ -790,7 +790,7 @@
790
790
  ]
791
791
  },
792
792
  "src/assets/js/pages/module.tsx": {
793
- "file": "module-ClA9qnye.js",
793
+ "file": "module-B3jhuqbE.js",
794
794
  "name": "module",
795
795
  "src": "src/assets/js/pages/module.tsx",
796
796
  "isDynamicEntry": true,
@@ -0,0 +1 @@
1
+ import{u as i,j as e,L as l}from"./app.js";import{r as s}from"./monaco-ICtx6xoc.js";import{A as d}from"./app-layout-gAiczU39.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./handsontable-PVakPtJV.js";import"./app-shell-C8Cnr5Hy.js";import"./app-sidebar-CNGEOOHu.js";import"./nav-main-BqKm87JZ.js";import"./material-icon-DwkE6wKL.js";import"./app-sidebar-header-Bcpas2Np.js";import"./breadcrumbs-DSMzNYiS.js";import"./nav-user-DuCZNsZX.js";import"./user-info-BGQvqBmO.js";import"./user-menu-content-BDm88xaM.js";import"./theme-switcher-cgyA7_cO.js";import"./icon-DpkedrXG.js";const c=[];function q(){const r=i(),[n,a]=s.useState(null);return s.useEffect(()=>{const m=async()=>{const o=(await import(r.props.moduleComponent)).default;a(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)})(),m()},[]),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{q as default};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adminizer",
3
3
  "type": "module",
4
- "version": "4.4.0-build.150",
4
+ "version": "4.4.0-build.151",
5
5
  "main": "index.js",
6
6
  "exports": {
7
7
  ".": "./index.js",
@@ -11,6 +11,7 @@
11
11
  "test": "vitest --watch=false",
12
12
  "test:watch": "vitest --reporter verbose",
13
13
  "start": "cross-env NO_SEED_DATA=true ORM=sequelize tsx --tsconfig ./fixture/tsconfig.json ./fixture/index.ts",
14
+ "start:waterline": "cross-env NO_SEED_DATA=true ORM=waterline tsx --tsconfig ./fixture/tsconfig.json ./fixture/index.ts",
14
15
  "dev": "cross-env VITE_ENV=dev ORM=sequelize tsx watch --tsconfig ./fixture/tsconfig.json ./fixture/index.ts",
15
16
  "dev:no-seed": "cross-env VITE_ENV=dev NO_SEED_DATA=true ORM=sequelize tsx watch --tsconfig ./fixture/tsconfig.json ./fixture/index.ts",
16
17
  "dev:no-seed-clean": "cross-env VITE_ENV=dev NO_SEED_DATA=true CLEAN_TMP=true ORM=sequelize tsx watch --tsconfig ./fixture/tsconfig.json ./fixture/index.ts",
@@ -1 +0,0 @@
1
- import{u as i,j as t,L as l}from"./app.js";import{r as s}from"./monaco-ICtx6xoc.js";import{A as c}from"./app-layout-gAiczU39.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./handsontable-PVakPtJV.js";import"./app-shell-C8Cnr5Hy.js";import"./app-sidebar-CNGEOOHu.js";import"./nav-main-BqKm87JZ.js";import"./material-icon-DwkE6wKL.js";import"./app-sidebar-header-Bcpas2Np.js";import"./breadcrumbs-DSMzNYiS.js";import"./nav-user-DuCZNsZX.js";import"./user-info-BGQvqBmO.js";import"./user-menu-content-BDm88xaM.js";import"./theme-switcher-cgyA7_cO.js";import"./icon-DpkedrXG.js";const d=[];function q(){const r=i(),[n,m]=s.useState(null);return s.useEffect(()=>{const a=async()=>{const o=(await import(r.props.moduleComponent)).default;m(t.jsx(o,{message:r.props.message}))};(()=>{const e=r.props.moduleComponentCSS;if(!e||[...document.head.querySelectorAll("link[rel='stylesheet']")].some(p=>p.href.includes(e)))return;const o=document.createElement("link");o.rel="stylesheet",o.href=e,o.type="text/css",o.onload=()=>console.log(`CSS loaded: ${e}`),o.onerror=()=>console.error(`Failed to load CSS: ${e}`),document.head.appendChild(o)})(),a()},[]),t.jsx(c,{breadcrumbs:d,children:t.jsx("div",{className:"m-5",children:n||t.jsx(l,{className:"size-10 animate-spin text-neutral-500 mx-auto mt-[15%]"})})})}export{q as default};