adminizer 5.0.0-build.4 → 5.0.0-build.6
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-CoMADTQn.js → add-Brb-cV33.js} +1 -1
- package/assets/{add-group-CpYh05Gr.js → add-group-DY9pHQwo.js} +1 -1
- package/assets/{add-user-Z9WpJ_d_.js → add-user-DIuPWMB5.js} +1 -1
- package/assets/{app-layout-DVX2PU-T.js → app-layout-DPewS6HJ.js} +1 -1
- package/assets/app.js +33 -33
- package/assets/{catalog-KxmfEHFZ.js → catalog-BuJwUNfR.js} +1 -1
- package/assets/controls/ckeditor.es.js +267 -264
- package/assets/controls/jsoneditor.es.js +12955 -12879
- package/assets/controls/leaflet.es.js +1023 -1004
- package/assets/controls/toast-ui.es.js +1825 -1817
- package/assets/{dashboard-Fo2hkzUo.js → dashboard-1Qh1ZTlj.js} +1 -1
- package/assets/{history-BdY803dB.js → history-BG_35eEy.js} +1 -1
- package/assets/{list-CvvdHVTu.js → list-ChGmUbv1.js} +1 -1
- package/assets/manifest.json +24 -24
- package/assets/{module-CVMNuMJk.js → module-Ct-bvNzt.js} +1 -1
- package/assets/{notification-Bj9-bA_4.js → notification-DvCi_Ivk.js} +1 -1
- package/assets/{user-filters-list-Bxa5sRQ1.js → user-filters-list-CLQDcsCD.js} +1 -1
- package/assets/{welcome-Cv9aMbZo.js → welcome-CL4Z7ey_.js} +1 -1
- package/controllers/catalog/FrontendCatalogAdapter.d.ts +1 -1
- package/controllers/catalog/FrontentCatalogAdapter.d.ts +1 -1
- package/controllers/feedback/feedbackController.d.ts +1 -1
- package/controllers/history-actions/HistoryController.d.ts +1 -1
- package/controllers/media-manager/mediaManagerAdapter.d.ts +1 -1
- package/helpers/accessRightsHelper.d.ts +3 -3
- package/helpers/configHelper.d.ts +3 -3
- package/helpers/controllerHelper.d.ts +2 -2
- package/helpers/fieldsHelper.d.ts +2 -2
- package/helpers/filterDatetimeHelper.d.ts +1 -1
- package/helpers/inertiaActionsHelper.d.ts +2 -2
- package/helpers/inertiaAddHelper.d.ts +4 -4
- package/helpers/inertiaGroupHelper.d.ts +3 -3
- package/helpers/inertiaListHelper.d.ts +3 -3
- package/helpers/inertiaMenuHelper.d.ts +2 -2
- package/helpers/inertiaUserHelper.d.ts +3 -3
- package/helpers/menuHelper.d.ts +2 -2
- package/helpers/translationHelper.d.ts +2 -2
- package/index.d.ts +58 -58
- package/interfaces/adminpanelConfig.d.ts +4 -4
- package/interfaces/global.d.ts +6 -6
- package/interfaces/internalModelAccess.d.ts +1 -1
- package/interfaces/listQueryBuilder.d.ts +1 -1
- package/interfaces/types.d.ts +2 -2
- package/lib/Adminizer.d.ts +38 -26
- package/lib/Adminizer.js +19 -1
- package/lib/DataAccessor.d.ts +6 -6
- package/lib/MiddlewareManager.d.ts +1 -1
- package/lib/access-rights/AccessRightsHandler.d.ts +2 -2
- package/lib/ai-assistant/AbstractAiModelService.d.ts +2 -2
- package/lib/ai-assistant/AiAssistantHandler.d.ts +15 -5
- package/lib/ai-assistant/AiAssistantHandler.js +31 -1
- package/lib/app-manager/AdminizerApp.d.ts +10 -10
- package/lib/app-manager/AppManager.d.ts +2 -2
- package/lib/app-manager/AppManager.js +11 -8
- package/lib/app-manager/AssetHandler.d.ts +2 -2
- package/lib/app-manager/ConfigLayerHandler.d.ts +2 -2
- package/lib/app-manager/ControllerHandler.d.ts +2 -2
- package/lib/catalog/AbstractCatalog.d.ts +1 -1
- package/lib/catalog/CatalogHandler.d.ts +1 -1
- package/lib/controls/ControlsHandler.d.ts +1 -1
- package/lib/controls/codeEditor/MonacoEditor.d.ts +1 -1
- package/lib/controls/geojsoneditor/GeoEditor.d.ts +1 -1
- package/lib/controls/jsoneditor/JsonEditor.d.ts +1 -1
- package/lib/controls/markdown/ToastUiEditor.d.ts +1 -1
- package/lib/controls/table/Handsontable.d.ts +1 -1
- package/lib/controls/wysiwyg/CKeditor.d.ts +1 -1
- package/lib/feedback/FeedbackHandler.d.ts +2 -2
- package/lib/filters/ConditionValidator.d.ts +1 -1
- package/lib/filters/FilterCustomFieldHandler.d.ts +2 -2
- package/lib/filters/FilterService.d.ts +4 -4
- package/lib/filters/index.d.ts +6 -6
- package/lib/history-actions/AbstractHistoryAdapter.d.ts +6 -6
- package/lib/history-actions/DefaultHistoryAdapter.d.ts +4 -4
- package/lib/history-actions/HistoryHandler.d.ts +1 -1
- package/lib/list-query-builder/ListQueryBuilder.d.ts +7 -7
- package/lib/media-manager/AbstractMediaManager.d.ts +2 -2
- package/lib/media-manager/MediaManagerHandler.d.ts +1 -1
- package/lib/media-manager/Thumb.d.ts +1 -1
- package/lib/media-manager/helpers/MediaManagerHelper.d.ts +5 -5
- package/lib/model/AbstractModel.d.ts +3 -3
- package/lib/model/InternalModelAccessFactory.d.ts +2 -2
- package/lib/model/ModelHandler.d.ts +3 -3
- package/lib/model/adapter/sequelize.d.ts +2 -2
- package/lib/model/adapter/typeorm.d.ts +2 -2
- package/lib/model/internalModelRepository.d.ts +2 -2
- package/lib/notifications/AbstractNotificationService.d.ts +4 -4
- package/lib/notifications/GeneralNotificationService.d.ts +2 -2
- package/lib/notifications/NotificationHandler.d.ts +2 -2
- package/lib/notifications/SystemNotificationService.d.ts +2 -2
- package/lib/requestProcessor.d.ts +1 -1
- package/lib/widgets/abstractAction.d.ts +1 -1
- package/lib/widgets/abstractCustom.d.ts +2 -2
- package/lib/widgets/abstractInfo.d.ts +1 -1
- package/lib/widgets/abstractLink.d.ts +2 -2
- package/lib/widgets/abstractSwitch.d.ts +1 -1
- package/lib/widgets/abstractWidgetBase.d.ts +1 -1
- package/lib/widgets/widgetHandler.d.ts +9 -9
- package/models/Filter.d.ts +1 -1
- package/models/FilterColumn.d.ts +1 -1
- package/models/Group.d.ts +1 -1
- package/models/HistoryActions.d.ts +1 -1
- package/models/MediaManagerAP.d.ts +2 -2
- package/models/MediaManagerAssociationsAP.d.ts +1 -1
- package/models/MediaManagerMetaAP.d.ts +1 -1
- package/models/User.d.ts +2 -2
- package/models/UserNotification.d.ts +1 -1
- package/package.json +1 -1
- package/services/FeedService.d.ts +3 -3
- package/system/Router.d.ts +1 -1
- package/system/bindAccessRights.d.ts +1 -1
- package/system/bindAuthorization.d.ts +1 -1
- package/system/bindControls.d.ts +1 -1
- package/system/bindCors.d.ts +1 -1
- package/system/bindCustomFilterHandlers.d.ts +1 -1
- package/system/bindDashboardWidgets.d.ts +1 -1
- package/system/bindDev.d.ts +1 -1
- package/system/bindHistory.d.ts +1 -1
- package/system/bindInertia.d.ts +1 -1
- package/system/bindMediaManager.d.ts +1 -1
- package/system/bindNotifications.d.ts +1 -1
- package/system/bindReqFunctions.d.ts +1 -1
- package/system/bindTranslations.d.ts +1 -1
- package/system/buildInternalModelAccess.d.ts +3 -3
- package/system/defaults.d.ts +1 -1
- package/system/routePolicies.d.ts +1 -1
- package/system/systemModelContracts.d.ts +1 -1
- package/system/validateSystemModels.d.ts +1 -1
|
@@ -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 Xr,i as Yr,k as Zr,l as Jr,m as Qr,B as Be,P as No,p as X,D as El,y as Pl,z as Ol,F as jn,A as Lt,G as Il,H as $s,t as ct,J as Bn,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,A as Ul}from"./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 Xr,i as Yr,k as Zr,l as Jr,m as Qr,B as Be,P as No,p as X,D as El,y as Pl,z as Ol,F as jn,A as Lt,G as Il,H as $s,t as ct,J as Bn,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,A as Ul}from"./app-layout-DPewS6HJ.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,hr,fr,pr,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,hr,(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,fr).call(this,window),A(this,ie)[A(this,se)].instance.setup()}},this.teardown=()=>{typeof window>"u"||(Kt.isSetUp=!1,A(this,pr).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,fr,s=>{for(let i of A(this,Ce))i.transition&&s.addEventListener(i.transition.event,A(this,Gt))}),le(this,pr,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)
|