adminizer 5.0.0-build.12 → 5.0.0-build.13
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/{add-BhTWhSNx.js → add-B_hn__Ba.js} +1 -1
- package/assets/{add-group-BEOEkMGK.js → add-group-0SdYgiXZ.js} +1 -1
- package/assets/{add-user-MW-fSILU.js → add-user-Bh1iqSem.js} +1 -1
- package/assets/ai-assistant/agent.es.js +3948 -3889
- package/assets/app.js +32 -32
- package/assets/{catalog-D-lFVV9U.js → catalog-DjK8r0Mn.js} +1 -1
- package/assets/controls/handsontable.es.js +11637 -11632
- package/assets/controls/jsoneditor.es.js +6308 -6297
- package/assets/controls/toast-ui.es.js +18 -17
- package/assets/{dashboard-Cmj4Df_C.js → dashboard-CbJIK7ka.js} +1 -1
- package/assets/{history-BXfeZHTD.js → history-CZAJgVXP.js} +1 -1
- package/assets/{list-Dp8F_hor.js → list-C6w_xDK2.js} +1 -1
- package/assets/manifest.json +24 -24
- package/assets/{module-Q-1AzZH9.js → module-DvPjKyF_.js} +1 -1
- package/assets/{notification-CSeMEsPn.js → notification-N_b-N0Zu.js} +1 -1
- package/assets/{user-filters-list-Do6Dis5D.js → user-filters-list-xbJoY_5_.js} +1 -1
- package/assets/{welcome-D3dg746Y.js → welcome-BUkdkKa5.js} +1 -1
- package/assets/{with-app-layout-Bjo8B9zO.js → with-app-layout-WhRyO5WK.js} +1 -1
- package/controllers/view.js +1 -1
- package/helpers/configHelper.js +12 -17
- package/helpers/controllerHelper.d.ts +1 -0
- package/helpers/controllerHelper.js +25 -15
- package/helpers/fieldsHelper.js +3 -3
- package/helpers/inertiaAddHelper.js +1 -1
- package/helpers/modelResourceHelper.d.ts +1 -1
- package/helpers/modelResourceHelper.js +8 -4
- package/interfaces/adminpanelConfig.d.ts +6 -1
- package/lib/DataAccessor.d.ts +1 -0
- package/lib/DataAccessor.js +45 -47
- package/lib/filters/FilterService.js +4 -3
- package/lib/history-actions/AbstractHistoryAdapter.js +11 -9
- package/lib/model/AbstractModel.d.ts +2 -0
- package/lib/model/ModelHandler.d.ts +47 -2
- package/lib/model/ModelHandler.js +107 -8
- package/package.json +1 -1
- package/system/bindAccessRights.js +2 -3
- package/system/buildInternalModelAccess.js +5 -2
- package/system/validateSystemModels.js +29 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as g,j as v,s as wl,v as $,w as Sl,E as Dl,x as Cl,b as et,c as Lo,S as Yr,i as Zr,k as Jr,l as Qr,m as es,B as Be,P as No,p as X,D as El,y as Pl,z as Ol,F as Bn,A as Lt,G as Il,H as $s,t as ct,J as Fn,q as Ml,N as Al,O as Rl,Q as kl,U as Ll,V as Nl,W as Vl,X as jl,Y as Bl,Z as Fl,d as _l,_ as zl,$ as Hl,a0 as $l,a1 as Nt}from"./app.js";import{M as an,w as Ul}from"./with-app-layout-
|
|
1
|
+
import{r as g,j as v,s as wl,v as $,w as Sl,E as Dl,x as Cl,b as et,c as Lo,S as Yr,i as Zr,k as Jr,l as Qr,m as es,B as Be,P as No,p as X,D as El,y as Pl,z as Ol,F as Bn,A as Lt,G as Il,H as $s,t as ct,J as Fn,q as Ml,N as Al,O as Rl,Q as kl,U as Ll,V as Nl,W as Vl,X as jl,Y as Bl,Z as Fl,d as _l,_ as zl,$ as Hl,a0 as $l,a1 as Nt}from"./app.js";import{M as an,w as Ul}from"./with-app-layout-WhRyO5WK.js";import{d as Wl}from"./debounce-BMmXVQ06.js";import"./use-appearance-_EbbjHTh.js";var Vo=t=>{throw TypeError(t)},jo=(t,e,n)=>e.has(t)||Vo("Cannot "+n),A=(t,e,n)=>(jo(t,e,"read from private field"),n?n.call(t):e.get(t)),le=(t,e,n)=>e.has(t)?Vo("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),Fe=(t,e,n,r)=>(jo(t,e,"write to private field"),e.set(t,n),n),Ie,Gl=class{constructor(){le(this,Ie),this.register=t=>{A(this,Ie).push(t)},this.unregister=t=>{for(;A(this,Ie).indexOf(t)!==-1;)A(this,Ie).splice(A(this,Ie).indexOf(t),1)},this.backendChanged=t=>{for(let e of A(this,Ie))e.backendChanged(t)},Fe(this,Ie,[])}};Ie=new WeakMap;var se,ft,ie,Ce,_e,fr,pr,gr,Gt,qt,pt,Bo=class Kt{constructor(e,n,r){if(le(this,se),le(this,ft),le(this,ie),le(this,Ce),le(this,_e),le(this,fr,(s,i,o)=>{if(!o.backend)throw new Error(`You must specify a 'backend' property in your Backend entry: ${JSON.stringify(o)}`);let a=o.backend(s,i,o.options),c=o.id,l=!o.id&&a&&a.constructor;if(l&&(c=a.constructor.name),!c)throw new Error(`You must specify an 'id' property in your Backend entry: ${JSON.stringify(o)}
|
|
2
2
|
see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-5xx`);if(l&&console.warn(`Deprecation notice: You are using a pipeline which doesn't include backends' 'id'.
|
|
3
3
|
This might be unsupported in the future, please specify 'id' explicitely for every backend.`),A(this,ie)[c])throw new Error(`You must specify a unique 'id' property in your Backend entry:
|
|
4
4
|
${JSON.stringify(o)} (conflicts with: ${JSON.stringify(A(this,ie)[c])})`);return{id:c,instance:a,preview:o.preview??!1,transition:o.transition,skipDispatchOnTransition:o.skipDispatchOnTransition??!1}}),this.setup=()=>{if(!(typeof window>"u")){if(Kt.isSetUp)throw new Error("Cannot have two MultiBackends at the same time.");Kt.isSetUp=!0,A(this,pr).call(this,window),A(this,ie)[A(this,se)].instance.setup()}},this.teardown=()=>{typeof window>"u"||(Kt.isSetUp=!1,A(this,gr).call(this,window),A(this,ie)[A(this,se)].instance.teardown())},this.connectDragSource=(s,i,o)=>A(this,pt).call(this,"connectDragSource",s,i,o),this.connectDragPreview=(s,i,o)=>A(this,pt).call(this,"connectDragPreview",s,i,o),this.connectDropTarget=(s,i,o)=>A(this,pt).call(this,"connectDropTarget",s,i,o),this.profile=()=>A(this,ie)[A(this,se)].instance.profile(),this.previewEnabled=()=>A(this,ie)[A(this,se)].preview,this.previewsList=()=>A(this,ft),this.backendsList=()=>A(this,Ce),le(this,pr,s=>{for(let i of A(this,Ce))i.transition&&s.addEventListener(i.transition.event,A(this,Gt))}),le(this,gr,s=>{for(let i of A(this,Ce))i.transition&&s.removeEventListener(i.transition.event,A(this,Gt))}),le(this,Gt,s=>{let i=A(this,se);if(A(this,Ce).some(o=>o.id!==A(this,se)&&o.transition&&o.transition.check(s)?(Fe(this,se,o.id),!0):!1),A(this,se)!==i){A(this,ie)[i].instance.teardown();for(let[l,u]of Object.entries(A(this,_e)))u.unsubscribe(),u.unsubscribe=A(this,qt).call(this,u.func,...u.args);A(this,ft).backendChanged(this);let o=A(this,ie)[A(this,se)];if(o.instance.setup(),o.skipDispatchOnTransition)return;let a=s.constructor,c=new a(s.type,s);s.target?.dispatchEvent(c)}}),le(this,qt,(s,i,o,a)=>A(this,ie)[A(this,se)].instance[s](i,o,a)),le(this,pt,(s,i,o,a)=>{let c=`${s}_${i}`,l=A(this,qt).call(this,s,i,o,a);return A(this,_e)[c]={func:s,args:[i,o,a],unsubscribe:l},()=>{A(this,_e)[c].unsubscribe(),delete A(this,_e)[c]}}),!r||!r.backends||r.backends.length<1)throw new Error(`You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)
|