adminizer 4.4.0-build.154 → 4.4.0-build.155

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 y,X as v,bx as m,j as e,B as p,by as l,L as d,bz as c}from"./app.js";import{r as x}from"./monaco-ICtx6xoc.js";import{LabelRenderer as g,LazyField as F}from"./add-form-jLwBgqxD.js";import h from"./input-error-CmXZF6xy.js";import{F as N}from"./field-renderer-BTbMeyVH.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./handsontable-PVakPtJV.js";import"./icon-DpkedrXG.js";import"./dynamic-controls-BOYmRX_z.js";const A=()=>{const t=y(),{fields:a}=t.props,{data:o,setData:n,post:u,processing:r}=v({...Object.fromEntries((a||[]).map(s=>[s.name,s.value??void 0]))});x.useEffect(()=>(m(),()=>{m()}),[]);const i=x.useCallback((s,b)=>{n(s,b)},[n]);if(!Array.isArray(a))return console.error("Fields is not an array in Form component:",a),e.jsx("div",{className:"p-4 text-red-500",children:"Error: Fields data is invalid"});if(a.length===0)return console.warn("Fields array is empty in Form component"),e.jsx("div",{className:"p-4 text-gray-500",children:"No fields to display"});const j=s=>{s.preventDefault(),u(t.props.postLink,{preserveState:!1})};return e.jsxs("div",{className:"p-4 w-full",children:[e.jsx("div",{className:"w-full sticky z-[1001] py-4 pb-8 top-0 h-fit bg-background flex gap-4 lg:hidden",children:e.jsxs(p,{variant:"green",type:"submit",className:"w-fit",form:"addUserForm",disabled:r||l(),children:[r&&e.jsx(d,{className:"h-4 w-4 animate-spin"}),t.props.btnSave.title]})}),e.jsx("form",{className:`mt-8 ${r?"invisible":""}`,id:"addUserForm",onSubmit:j,children:e.jsxs("div",{className:"grid lg:grid-cols-[1fr_150px] gap-4 max-w-[1144px] pb-8",children:[e.jsx("div",{className:"flex flex-col gap-10",children:a.map(s=>e.jsx("div",{className:"grid gap-4 w-full",children:s.type==="markdown"||s.type==="table"||s.type==="jsonEditor"||s.type==="codeEditor"||s.type==="geoJson"?e.jsxs(e.Fragment,{children:[e.jsx(g,{field:s}),e.jsx(h,{message:c(`${s.type}-${s.name}`)}),e.jsx(F,{field:s,value:o[s.name],onChange:i,processing:r})]}):e.jsxs(e.Fragment,{children:[e.jsx(g,{field:s}),e.jsx(h,{message:c(`${s.type}-${s.name}`)}),e.jsx(N,{field:s,value:o[s.name],onChange:i,processing:r})]})},s.name))}),e.jsx("div",{className:"p-4 rounded-md h-fit sticky top-[84px] shadow hidden lg:block",children:e.jsxs(p,{variant:"green",type:"submit",className:"w-fit",disabled:r||l(),children:[r&&e.jsx(d,{className:"h-4 w-4 animate-spin"}),t.props.btnSave.title]})})]})})]})};export{A as default};
1
+ import{u as y,X as v,bx as m,j as e,B as p,by as l,L as d,bz as c}from"./app.js";import{r as x}from"./monaco-ICtx6xoc.js";import{LabelRenderer as g,LazyField as F}from"./add-form-D-yC67U1.js";import h from"./input-error-CmXZF6xy.js";import{F as N}from"./field-renderer-5eDbYf4v.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./handsontable-PVakPtJV.js";import"./icon-DpkedrXG.js";import"./dynamic-controls-BOYmRX_z.js";const A=()=>{const t=y(),{fields:a}=t.props,{data:o,setData:n,post:u,processing:r}=v({...Object.fromEntries((a||[]).map(s=>[s.name,s.value??void 0]))});x.useEffect(()=>(m(),()=>{m()}),[]);const i=x.useCallback((s,b)=>{n(s,b)},[n]);if(!Array.isArray(a))return console.error("Fields is not an array in Form component:",a),e.jsx("div",{className:"p-4 text-red-500",children:"Error: Fields data is invalid"});if(a.length===0)return console.warn("Fields array is empty in Form component"),e.jsx("div",{className:"p-4 text-gray-500",children:"No fields to display"});const j=s=>{s.preventDefault(),u(t.props.postLink,{preserveState:!1})};return e.jsxs("div",{className:"p-4 w-full",children:[e.jsx("div",{className:"w-full sticky z-[1001] py-4 pb-8 top-0 h-fit bg-background flex gap-4 lg:hidden",children:e.jsxs(p,{variant:"green",type:"submit",className:"w-fit",form:"addUserForm",disabled:r||l(),children:[r&&e.jsx(d,{className:"h-4 w-4 animate-spin"}),t.props.btnSave.title]})}),e.jsx("form",{className:`mt-8 ${r?"invisible":""}`,id:"addUserForm",onSubmit:j,children:e.jsxs("div",{className:"grid lg:grid-cols-[1fr_150px] gap-4 max-w-[1144px] pb-8",children:[e.jsx("div",{className:"flex flex-col gap-10",children:a.map(s=>e.jsx("div",{className:"grid gap-4 w-full",children:s.type==="markdown"||s.type==="table"||s.type==="jsonEditor"||s.type==="codeEditor"||s.type==="geoJson"?e.jsxs(e.Fragment,{children:[e.jsx(g,{field:s}),e.jsx(h,{message:c(`${s.type}-${s.name}`)}),e.jsx(F,{field:s,value:o[s.name],onChange:i,processing:r})]}):e.jsxs(e.Fragment,{children:[e.jsx(g,{field:s}),e.jsx(h,{message:c(`${s.type}-${s.name}`)}),e.jsx(N,{field:s,value:o[s.name],onChange:i,processing:r})]})},s.name))}),e.jsx("div",{className:"p-4 rounded-md h-fit sticky top-[84px] shadow hidden lg:block",children:e.jsxs(p,{variant:"green",type:"submit",className:"w-fit",disabled:r||l(),children:[r&&e.jsx(d,{className:"h-4 w-4 animate-spin"}),t.props.btnSave.title]})})]})})]})};export{A as default};
@@ -1 +1 @@
1
- import{j as r}from"./app.js";import{A as o}from"./app-layout-gAiczU39.js";import t from"./form-WmXKykFy.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.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";import"./add-form-jLwBgqxD.js";import"./field-renderer-BTbMeyVH.js";import"./dynamic-controls-BOYmRX_z.js";import"./input-error-CmXZF6xy.js";const m=[];function g(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{g as default};
1
+ import{j as r}from"./app.js";import{A as o}from"./app-layout-gAiczU39.js";import t from"./form-CsehoH9m.js";import"./jsoneditor-D95dIAP2.js";import"./vendor-wzZzN_Jv.js";import"./monaco-ICtx6xoc.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";import"./add-form-D-yC67U1.js";import"./field-renderer-5eDbYf4v.js";import"./dynamic-controls-BOYmRX_z.js";import"./input-error-CmXZF6xy.js";const m=[];function g(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{g as default};
@@ -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-mw7Ur3rJ.css","./add-form-jLwBgqxD.js","./icon-DpkedrXG.js","./field-renderer-BTbMeyVH.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-WmXKykFy.js","./geo-json-YeWQOYnT.js","./list-table-BnxHpCFW.js","./del-modal-DyIWFflP.js","./pagination-render-io0M2m2O.js","./nav-footer-B85HLj-j.js","./toast-editor-DwRk6WqT.js"])))=>i.map(i=>d[i]);
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-jLwBgqxD.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-BTbMeyVH.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-WmXKykFy.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-BnxHpCFW.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};
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-CFt5jdVM.css","./add-form-D-yC67U1.js","./icon-DpkedrXG.js","./field-renderer-5eDbYf4v.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-CsehoH9m.js","./geo-json-YeWQOYnT.js","./list-table-BnxHpCFW.js","./del-modal-DyIWFflP.js","./pagination-render-io0M2m2O.js","./nav-footer-B85HLj-j.js","./toast-editor-DwRk6WqT.js"])))=>i.map(i=>d[i]);
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-D-yC67U1.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-5eDbYf4v.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-CsehoH9m.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-BnxHpCFW.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};
@@ -32,8 +32,8 @@
32
32
  "src/assets/js/components/icon.tsx"
33
33
  ]
34
34
  },
35
- "_field-renderer-BTbMeyVH.js": {
36
- "file": "field-renderer-BTbMeyVH.js",
35
+ "_field-renderer-5eDbYf4v.js": {
36
+ "file": "field-renderer-5eDbYf4v.js",
37
37
  "name": "field-renderer",
38
38
  "isDynamicEntry": true,
39
39
  "imports": [
@@ -171,7 +171,7 @@
171
171
  "src/assets/js/pages/welcome.tsx"
172
172
  ],
173
173
  "css": [
174
- "app-mw7Ur3rJ.css"
174
+ "app-CFt5jdVM.css"
175
175
  ],
176
176
  "assets": [
177
177
  "material-icons-kAwBdRge.woff2",
@@ -187,7 +187,7 @@
187
187
  ]
188
188
  },
189
189
  "src/assets/js/components/add-form.tsx": {
190
- "file": "add-form-jLwBgqxD.js",
190
+ "file": "add-form-D-yC67U1.js",
191
191
  "name": "add-form",
192
192
  "src": "src/assets/js/components/add-form.tsx",
193
193
  "isDynamicEntry": true,
@@ -195,7 +195,7 @@
195
195
  "src/assets/js/app.tsx",
196
196
  "_monaco-ICtx6xoc.js",
197
197
  "src/assets/js/components/icon.tsx",
198
- "_field-renderer-BTbMeyVH.js",
198
+ "_field-renderer-5eDbYf4v.js",
199
199
  "src/assets/js/components/input-error.tsx",
200
200
  "_jsoneditor-D95dIAP2.js",
201
201
  "_vendor-wzZzN_Jv.js",
@@ -301,7 +301,7 @@
301
301
  ]
302
302
  },
303
303
  "src/assets/js/components/form.tsx": {
304
- "file": "form-WmXKykFy.js",
304
+ "file": "form-CsehoH9m.js",
305
305
  "name": "form",
306
306
  "src": "src/assets/js/components/form.tsx",
307
307
  "isDynamicEntry": true,
@@ -310,7 +310,7 @@
310
310
  "_monaco-ICtx6xoc.js",
311
311
  "src/assets/js/components/add-form.tsx",
312
312
  "src/assets/js/components/input-error.tsx",
313
- "_field-renderer-BTbMeyVH.js",
313
+ "_field-renderer-5eDbYf4v.js",
314
314
  "_jsoneditor-D95dIAP2.js",
315
315
  "_vendor-wzZzN_Jv.js",
316
316
  "_handsontable-PVakPtJV.js",
@@ -388,7 +388,7 @@
388
388
  ]
389
389
  },
390
390
  "src/assets/js/components/media-manager/media-manager.tsx": {
391
- "file": "media-manager-CcPYTimK.js",
391
+ "file": "media-manager-Bq3fLKR0.js",
392
392
  "name": "media-manager",
393
393
  "src": "src/assets/js/components/media-manager/media-manager.tsx",
394
394
  "isDynamicEntry": true,
@@ -396,7 +396,7 @@
396
396
  "src/assets/js/app.tsx",
397
397
  "_monaco-ICtx6xoc.js",
398
398
  "_handsontable-PVakPtJV.js",
399
- "_field-renderer-BTbMeyVH.js",
399
+ "_field-renderer-5eDbYf4v.js",
400
400
  "_tabs-BhkFoerH.js",
401
401
  "_jsoneditor-D95dIAP2.js",
402
402
  "_vendor-wzZzN_Jv.js",
@@ -570,7 +570,7 @@
570
570
  ]
571
571
  },
572
572
  "src/assets/js/pages/add.tsx": {
573
- "file": "add-CohxwHV4.js",
573
+ "file": "add-WS8qGCdZ.js",
574
574
  "name": "add",
575
575
  "src": "src/assets/js/pages/add.tsx",
576
576
  "isDynamicEntry": true,
@@ -593,13 +593,13 @@
593
593
  "src/assets/js/components/user-menu-content.tsx",
594
594
  "src/assets/js/components/theme-switcher.tsx",
595
595
  "src/assets/js/components/icon.tsx",
596
- "_field-renderer-BTbMeyVH.js",
596
+ "_field-renderer-5eDbYf4v.js",
597
597
  "src/assets/js/components/dynamic-controls.tsx",
598
598
  "src/assets/js/components/input-error.tsx"
599
599
  ]
600
600
  },
601
601
  "src/assets/js/pages/catalog.tsx": {
602
- "file": "catalog-lfHtOKlW.js",
602
+ "file": "catalog-xElikv0n.js",
603
603
  "name": "catalog",
604
604
  "src": "src/assets/js/pages/catalog.tsx",
605
605
  "isDynamicEntry": true,
@@ -623,7 +623,7 @@
623
623
  "src/assets/js/components/user-menu-content.tsx",
624
624
  "src/assets/js/components/theme-switcher.tsx",
625
625
  "src/assets/js/components/icon.tsx",
626
- "_field-renderer-BTbMeyVH.js",
626
+ "_field-renderer-5eDbYf4v.js",
627
627
  "src/assets/js/components/dynamic-controls.tsx",
628
628
  "src/assets/js/components/input-error.tsx"
629
629
  ],
@@ -660,7 +660,7 @@
660
660
  ]
661
661
  },
662
662
  "src/assets/js/pages/form.tsx": {
663
- "file": "form-DEDPXI5l.js",
663
+ "file": "form-HOkteeF9.js",
664
664
  "name": "form",
665
665
  "src": "src/assets/js/pages/form.tsx",
666
666
  "isDynamicEntry": true,
@@ -684,13 +684,13 @@
684
684
  "src/assets/js/components/theme-switcher.tsx",
685
685
  "src/assets/js/components/icon.tsx",
686
686
  "src/assets/js/components/add-form.tsx",
687
- "_field-renderer-BTbMeyVH.js",
687
+ "_field-renderer-5eDbYf4v.js",
688
688
  "src/assets/js/components/dynamic-controls.tsx",
689
689
  "src/assets/js/components/input-error.tsx"
690
690
  ]
691
691
  },
692
692
  "src/assets/js/pages/home.tsx": {
693
- "file": "home-BDd8zDuH.js",
693
+ "file": "home-Cw9UXSLl.js",
694
694
  "name": "home",
695
695
  "src": "src/assets/js/pages/home.tsx",
696
696
  "isDynamicEntry": true,
@@ -712,7 +712,7 @@
712
712
  "src/assets/js/components/breadcrumbs.tsx",
713
713
  "src/assets/js/components/date-picker.tsx",
714
714
  "src/assets/js/components/dynamic-controls.tsx",
715
- "_field-renderer-BTbMeyVH.js",
715
+ "_field-renderer-5eDbYf4v.js",
716
716
  "src/assets/js/components/form.tsx",
717
717
  "src/assets/js/components/geo-json.tsx",
718
718
  "src/assets/js/app.tsx",