@acorex/modules 20.2.0-next.3 → 20.2.0
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/contact-management/index.d.ts +21 -163
- package/content-management/index.d.ts +59 -2
- package/conversation/index.d.ts +77 -68
- package/dashboard-management/index.d.ts +7 -4
- package/data-management/index.d.ts +66 -10
- package/document-management/index.d.ts +51 -2
- package/fesm2022/{acorex-modules-application-management-module-designer.component-CsZjqUAj.mjs → acorex-modules-application-management-module-designer.component-BitSGI0F.mjs} +7 -7
- package/fesm2022/{acorex-modules-application-management-module-designer.component-CsZjqUAj.mjs.map → acorex-modules-application-management-module-designer.component-BitSGI0F.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +41 -41
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-tDyQQDnk.mjs → acorex-modules-auth-acorex-modules-auth-CdZ9BHOa.mjs} +47 -47
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-tDyQQDnk.mjs.map → acorex-modules-auth-acorex-modules-auth-CdZ9BHOa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-yu1DJZKN.mjs → acorex-modules-auth-app-chooser.component-D4ehfpnB.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-app-chooser.component-yu1DJZKN.mjs.map → acorex-modules-auth-app-chooser.component-D4ehfpnB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-blank.layout-ZjroQcdq.mjs → acorex-modules-auth-blank.layout-D0KDl_qd.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-blank.layout-ZjroQcdq.mjs.map → acorex-modules-auth-blank.layout-D0KDl_qd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-D1aa1F6G.mjs → acorex-modules-auth-login.module-BHRC357P.mjs} +8 -8
- package/fesm2022/{acorex-modules-auth-login.module-D1aa1F6G.mjs.map → acorex-modules-auth-login.module-BHRC357P.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CGQmSlGQ.mjs → acorex-modules-auth-master.layout-DAYMmpBW.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-master.layout-CGQmSlGQ.mjs.map → acorex-modules-auth-master.layout-DAYMmpBW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-m9YiJ4e9.mjs → acorex-modules-auth-oauth-callback.component-B0Q3w45s.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-m9YiJ4e9.mjs.map → acorex-modules-auth-oauth-callback.component-B0Q3w45s.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Cb3FJ1DZ.mjs → acorex-modules-auth-password.component-BJpxtJYh.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-Cb3FJ1DZ.mjs.map → acorex-modules-auth-password.component-BJpxtJYh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CiWdX7f_.mjs → acorex-modules-auth-password.component-NAY46d_2.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-CiWdX7f_.mjs.map → acorex-modules-auth-password.component-NAY46d_2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-pae8qpX9.mjs → acorex-modules-auth-routes-hvqL2dCH.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-pae8qpX9.mjs.map → acorex-modules-auth-routes-hvqL2dCH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Bk0l3XoV.mjs → acorex-modules-auth-tenant-chooser.component-Cy94co3S.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-Bk0l3XoV.mjs.map → acorex-modules-auth-tenant-chooser.component-Cy94co3S.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DDEIajiI.mjs → acorex-modules-auth-two-factor-code.component-CAbntIoR.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-DDEIajiI.mjs.map → acorex-modules-auth-two-factor-code.component-CAbntIoR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-DtcoHPH4.mjs → acorex-modules-auth-two-factor.module-kPuT8yUw.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-two-factor.module-DtcoHPH4.mjs.map → acorex-modules-auth-two-factor.module-kPuT8yUw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-sI6P2joA.mjs → acorex-modules-auth-user-sessions.component-Chx_jTSJ.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-user-sessions.component-sI6P2joA.mjs.map → acorex-modules-auth-user-sessions.component-Chx_jTSJ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +22 -22
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-common-search-popup.component-D7Y4T3Rp.mjs → acorex-modules-common-search-popup.component-39U0-TIj.mjs} +4 -4
- package/fesm2022/{acorex-modules-common-search-popup.component-D7Y4T3Rp.mjs.map → acorex-modules-common-search-popup.component-39U0-TIj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-ceEtE6qB.mjs → acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs} +4 -4
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-ceEtE6qB.mjs.map → acorex-modules-common-timeline-version-history-popup.component-_KJd8oGw.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +72 -49
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs +863 -0
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-_Bxallkg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-contact-method.entity-Ci93_mb9.mjs → acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs} +2 -35
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-CIeZtPSy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-DjOm8qQb.mjs → acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs} +2 -2
- package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-DjOm8qQb.mjs.map → acorex-modules-contact-management-emergency-contact-category.entity-B2DPfonq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-BQyjzPR8.mjs → acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs} +2 -2
- package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-BQyjzPR8.mjs.map → acorex-modules-contact-management-emergency-contact.entity-CeIealVy.mjs.map} +1 -1
- package/fesm2022/acorex-modules-contact-management.mjs +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +823 -14
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +161 -99
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +246 -142
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +516 -50
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-DXGX-riG.mjs → acorex-modules-document-management-acorex-modules-document-management-C4G6L94e.mjs} +1132 -191
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C4G6L94e.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-NaY7Mn95.mjs → acorex-modules-document-management-attachment-widget.component-CbDcYxEZ.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-NaY7Mn95.mjs.map → acorex-modules-document-management-attachment-widget.component-CbDcYxEZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-epxEuBU5.mjs → acorex-modules-document-management-create-folder-dialog.component-BCs4aZKn.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-epxEuBU5.mjs.map → acorex-modules-document-management-create-folder-dialog.component-BCs4aZKn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-CMI2Eokj.mjs → acorex-modules-document-management-details-view.component-v1VroVv-.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-details-view.component-CMI2Eokj.mjs.map → acorex-modules-document-management-details-view.component-v1VroVv-.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-document-distribution-popup.component-DB4JJ3w7.mjs +123 -0
- package/fesm2022/acorex-modules-document-management-document-distribution-popup.component-DB4JJ3w7.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs +105 -0
- package/fesm2022/acorex-modules-document-management-document-signature-popup.component-CK8MX49w.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DBKgwm70.mjs → acorex-modules-document-management-drive-choose.component-C5gJtH7_.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DBKgwm70.mjs.map → acorex-modules-document-management-drive-choose.component-C5gJtH7_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DoGdTL3n.mjs → acorex-modules-document-management-drive.component-D5OwpnAP.mjs} +40 -17
- package/fesm2022/acorex-modules-document-management-drive.component-D5OwpnAP.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BRsTSoln.mjs → acorex-modules-document-management-large-icons-view.component-DkHt-dTD.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BRsTSoln.mjs.map → acorex-modules-document-management-large-icons-view.component-DkHt-dTD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CpYeYyR5.mjs → acorex-modules-document-management-large-tiles-view.component-D2nA00k3.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-CpYeYyR5.mjs.map → acorex-modules-document-management-large-tiles-view.component-D2nA00k3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-ZteosW8O.mjs → acorex-modules-document-management-link-dialog.component-DKOod11R.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-ZteosW8O.mjs.map → acorex-modules-document-management-link-dialog.component-DKOod11R.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-C4VFnACA.mjs → acorex-modules-document-management-list-view.component-RaW67V7O.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-list-view.component-C4VFnACA.mjs.map → acorex-modules-document-management-list-view.component-RaW67V7O.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-D5Csi3A3.mjs → acorex-modules-document-management-meta-choose-popup.component-BZu8EbTh.mjs} +5 -5
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-BZu8EbTh.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-OXeS0kW8.mjs → acorex-modules-document-management-meta-selector-widget-column.component-CBAE1KZM.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-OXeS0kW8.mjs.map → acorex-modules-document-management-meta-selector-widget-column.component-CBAE1KZM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-BdVSGb3M.mjs → acorex-modules-document-management-meta-selector-widget-designer.component-B9Eqa6j0.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-BdVSGb3M.mjs.map → acorex-modules-document-management-meta-selector-widget-designer.component-B9Eqa6j0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-B-Vos30P.mjs → acorex-modules-document-management-meta-selector-widget-view.component-BPBqDMwP.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-B-Vos30P.mjs.map → acorex-modules-document-management-meta-selector-widget-view.component-BPBqDMwP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-Bc7rbWwN.mjs → acorex-modules-document-management-permission-definition.provider-B6nu7fmX.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-Bc7rbWwN.mjs.map → acorex-modules-document-management-permission-definition.provider-B6nu7fmX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DWUVMrVt.mjs → acorex-modules-document-management-rename-node-dialog.component--6V1Zaoz.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DWUVMrVt.mjs.map → acorex-modules-document-management-rename-node-dialog.component--6V1Zaoz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-CkyuEAwV.mjs → acorex-modules-document-management-share-dialog.component-mBEu2KpG.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-CkyuEAwV.mjs.map → acorex-modules-document-management-share-dialog.component-mBEu2KpG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-DXjcTOny.mjs → acorex-modules-document-management-share-email-dialog.component-CI4SKdjk.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-DXjcTOny.mjs.map → acorex-modules-document-management-share-email-dialog.component-CI4SKdjk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CCirsfoz.mjs → acorex-modules-document-management-small-icons-view.component-Cl1MKsX9.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-CCirsfoz.mjs.map → acorex-modules-document-management-small-icons-view.component-Cl1MKsX9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-58KZSQC4.mjs → acorex-modules-document-management-small-tiles-view.component-xoO1Loxt.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-58KZSQC4.mjs.map → acorex-modules-document-management-small-tiles-view.component-xoO1Loxt.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-DxSYInAR.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-CeQnu6WW.mjs} +56 -56
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-DxSYInAR.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-CeQnu6WW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-category.entity-DeCfvNqF.mjs → acorex-modules-form-template-management-category.entity-DmrE2Pfz.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-category.entity-DeCfvNqF.mjs.map → acorex-modules-form-template-management-category.entity-DmrE2Pfz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-designer.page-BsjFGFOD.mjs → acorex-modules-form-template-management-designer.page-CarisHH5.mjs} +4 -4
- package/fesm2022/{acorex-modules-form-template-management-designer.page-BsjFGFOD.mjs.map → acorex-modules-form-template-management-designer.page-CarisHH5.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CsjgxSgC.mjs → acorex-modules-form-template-management-permission-definition.provider-CfOa446m.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CsjgxSgC.mjs.map → acorex-modules-form-template-management-permission-definition.provider-CfOa446m.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-_BIGyRt8.mjs → acorex-modules-form-template-management-settings.provider-hLlHnm-I.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-_BIGyRt8.mjs.map → acorex-modules-form-template-management-settings.provider-hLlHnm-I.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BCg756yD.mjs → acorex-modules-form-template-management-template-picker.component-bxYZqmYR.mjs} +5 -5
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-BCg756yD.mjs.map → acorex-modules-form-template-management-template-picker.component-bxYZqmYR.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DkqRsXMq.mjs → acorex-modules-form-template-management-template-widget-edit.component-D_Ys5kRT.mjs} +5 -5
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DkqRsXMq.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-D_Ys5kRT.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-CQm29n5v.mjs → acorex-modules-form-template-management-template.entity-CvlwS8TY.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-CQm29n5v.mjs.map → acorex-modules-form-template-management-template.entity-CvlwS8TY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DW2Z5EcJ.mjs → acorex-modules-form-template-management-viewer-popup.component-CE13nuke.mjs} +5 -5
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-DW2Z5EcJ.mjs.map → acorex-modules-form-template-management-viewer-popup.component-CE13nuke.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/acorex-modules-identifier-management.mjs +512 -0
- package/fesm2022/acorex-modules-identifier-management.mjs.map +1 -0
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-a_wcGVPh.mjs → acorex-modules-issue-management-acorex-modules-issue-management-CTFlKzqy.mjs} +36 -36
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-a_wcGVPh.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-CTFlKzqy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-CsahsE-E.mjs → acorex-modules-issue-management-capture-screen.component-DDvum8EG.mjs} +5 -5
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-CsahsE-E.mjs.map → acorex-modules-issue-management-capture-screen.component-DDvum8EG.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/{acorex-modules-locale-management-settings.provider-PKnqTses.mjs → acorex-modules-locale-management-settings.provider-ClVIqYIL.mjs} +2 -2
- package/fesm2022/{acorex-modules-locale-management-settings.provider-PKnqTses.mjs.map → acorex-modules-locale-management-settings.provider-ClVIqYIL.mjs.map} +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +1974 -1
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +56 -43
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +198 -10
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +158 -100
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-item.component-CzIIXsRJ.mjs → acorex-modules-organization-management-add-item.component-DkXcoyHa.mjs} +4 -4
- package/fesm2022/{acorex-modules-organization-management-add-item.component-CzIIXsRJ.mjs.map → acorex-modules-organization-management-add-item.component-DkXcoyHa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-XXAEpYNo.mjs → acorex-modules-organization-management-org-chart-configuration.page-kVFv0xZ0.mjs} +5 -5
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-XXAEpYNo.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-kVFv0xZ0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-CIveMQUH.mjs → acorex-modules-organization-management-org-chart-configuration.service-7I15ZQGa.mjs} +4 -4
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-CIveMQUH.mjs.map → acorex-modules-organization-management-org-chart-configuration.service-7I15ZQGa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-UqJ1VOJ-.mjs → acorex-modules-organization-management-org-chart.page-DuyhYwnh.mjs} +12 -12
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-UqJ1VOJ-.mjs.map → acorex-modules-organization-management-org-chart.page-DuyhYwnh.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +265 -122
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-B8X8tXFw.mjs +714 -0
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-B8X8tXFw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-contact-source.entity-BsF9p0GK.mjs → acorex-modules-party-management-party-identifier-type.entity-b8aNBCpT.mjs} +238 -136
- package/fesm2022/acorex-modules-party-management-party-identifier-type.entity-b8aNBCpT.mjs.map +1 -0
- package/fesm2022/acorex-modules-party-management-party-identifier.entity-B_5MSDF1.mjs +470 -0
- package/fesm2022/acorex-modules-party-management-party-identifier.entity-B_5MSDF1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-address-type.entity-DQZwgXki.mjs → acorex-modules-party-management-party-relationship.entity-CLAAuCde.mjs} +174 -218
- package/fesm2022/acorex-modules-party-management-party-relationship.entity-CLAAuCde.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-contact-relationship.entity-CqdXpqLN.mjs → acorex-modules-party-management-party-role.entity-C5BeakjX.mjs} +157 -162
- package/fesm2022/acorex-modules-party-management-party-role.entity-C5BeakjX.mjs.map +1 -0
- package/fesm2022/acorex-modules-party-management-party.entity-Blwg8o3o.mjs +538 -0
- package/fesm2022/acorex-modules-party-management-party.entity-Blwg8o3o.mjs.map +1 -0
- package/fesm2022/acorex-modules-party-management-permission-definition.provider-DwMPgZkB.mjs +59 -0
- package/fesm2022/acorex-modules-party-management-permission-definition.provider-DwMPgZkB.mjs.map +1 -0
- package/fesm2022/acorex-modules-party-management.mjs +2 -0
- package/fesm2022/acorex-modules-party-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management-list-terms.component-B1gl5xfT.mjs +93 -0
- package/fesm2022/acorex-modules-platform-management-list-terms.component-B1gl5xfT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-wqhq6ek4.mjs → acorex-modules-platform-management-list-version.component-DTfLeVbH.mjs} +4 -4
- package/fesm2022/{acorex-modules-platform-management-list-version.component-wqhq6ek4.mjs.map → acorex-modules-platform-management-list-version.component-DTfLeVbH.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +483 -2129
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +43 -43
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-report-management-report-create-root.component-CFNtnshF.mjs → acorex-modules-report-management-report-create-root.component-CPR6H1R1.mjs} +4 -4
- package/fesm2022/{acorex-modules-report-management-report-create-root.component-CFNtnshF.mjs.map → acorex-modules-report-management-report-create-root.component-CPR6H1R1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-CbfJ_7Da.mjs → acorex-modules-report-management-report-runner-root-page.component-BIUto_c9.mjs} +8 -9
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BIUto_c9.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +279 -35
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-scheduler-job-management.mjs +14 -14
- package/fesm2022/acorex-modules-scheduler-job-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +60 -60
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-BhF5x-8D.mjs → acorex-modules-settings-management-setting-page.component-BWXHxXwS.mjs} +4 -4
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-BhF5x-8D.mjs.map → acorex-modules-settings-management-setting-page.component-BWXHxXwS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-Do_gNJ2t.mjs → acorex-modules-settings-management-setting-view.component-D5pKY0Ag.mjs} +4 -4
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-Do_gNJ2t.mjs.map → acorex-modules-settings-management-setting-view.component-D5pKY0Ag.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +6 -6
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +196 -153
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-text-template-management.mjs +24 -24
- package/fesm2022/acorex-modules-text-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +44 -44
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-DC7jdoqZ.mjs → acorex-modules-workflow-management-acorex-modules-workflow-management-BfE17ZXY.mjs} +13 -13
- package/fesm2022/{acorex-modules-workflow-management-acorex-modules-workflow-management-DC7jdoqZ.mjs.map → acorex-modules-workflow-management-acorex-modules-workflow-management-BfE17ZXY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-workflow-management-task-board.page-Bv2GAPaN.mjs → acorex-modules-workflow-management-task-board.page-2UTqXn3s.mjs} +20 -20
- package/fesm2022/{acorex-modules-workflow-management-task-board.page-Bv2GAPaN.mjs.map → acorex-modules-workflow-management-task-board.page-2UTqXn3s.mjs.map} +1 -1
- package/fesm2022/acorex-modules-workflow-management.mjs +1 -1
- package/identifier-management/README.md +269 -0
- package/identifier-management/index.d.ts +271 -0
- package/locale-management/index.d.ts +22 -1
- package/location-management/index.d.ts +4 -1
- package/notification-management/index.d.ts +9 -5
- package/package.json +9 -1
- package/party-management/README.md +177 -0
- package/party-management/index.d.ts +86 -0
- package/platform-management/index.d.ts +2 -140
- package/report-management/index.d.ts +481 -35
- package/task-management/index.d.ts +4 -4
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-Co0tt3cj.mjs +0 -2600
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-Co0tt3cj.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-address-type.entity-DQZwgXki.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-address.entity-CFfRywsB.mjs +0 -781
- package/fesm2022/acorex-modules-contact-management-contact-address.entity-CFfRywsB.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-Ci93_mb9.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-relationship.entity-CqdXpqLN.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-contact-source.entity-BsF9p0GK.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-DXGX-riG.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive.component-DoGdTL3n.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-D5Csi3A3.mjs.map +0 -1
- package/fesm2022/acorex-modules-locale-management-acorex-modules-locale-management-CfaOC6U5.mjs +0 -1975
- package/fesm2022/acorex-modules-locale-management-acorex-modules-locale-management-CfaOC6U5.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-CbfJ_7Da.mjs.map +0 -1
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, Injector, Injectable, NgModule, InjectionToken } from '@angular/core';
|
|
3
|
+
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
4
|
+
import { AXPSearchCommandProvider, AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
|
5
|
+
import { AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
6
|
+
import { AXPDataGenerator } from '@acorex/platform/core';
|
|
7
|
+
|
|
8
|
+
const config = {
|
|
9
|
+
i18n: 'identifier-management',
|
|
10
|
+
};
|
|
11
|
+
const RootConfig = {
|
|
12
|
+
config,
|
|
13
|
+
module: {
|
|
14
|
+
module: 'identifier-management',
|
|
15
|
+
name: 'IdentifierManagement',
|
|
16
|
+
title: `t('module-name', {scope:"${config.i18n}"})`,
|
|
17
|
+
icon: 'fa-light fa-file-invoice',
|
|
18
|
+
},
|
|
19
|
+
entities: {
|
|
20
|
+
// category: {
|
|
21
|
+
// name: 'Category',
|
|
22
|
+
// title: 't("category", { scope: "common" })',
|
|
23
|
+
// icon: 'fa-light fa-list'
|
|
24
|
+
// },
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
class AXMMenuProvider {
|
|
29
|
+
constructor() {
|
|
30
|
+
this.entityService = inject(AXPEntityService);
|
|
31
|
+
}
|
|
32
|
+
async provide(context) {
|
|
33
|
+
const scope = RootConfig.config.i18n;
|
|
34
|
+
const module = RootConfig.module;
|
|
35
|
+
// context.addItems([
|
|
36
|
+
// {
|
|
37
|
+
// priority: 9001,
|
|
38
|
+
// text: `t('module-name', {scope:"${scope}"})`,
|
|
39
|
+
// icon: module.icon,
|
|
40
|
+
// children: [
|
|
41
|
+
// {
|
|
42
|
+
// text: `t("entity-name", { scope: "common" })`,
|
|
43
|
+
// path: this.entityService.createPath(module.name, RootConfig.entities.category.name),
|
|
44
|
+
// icon: RootConfig.entities.category.icon,
|
|
45
|
+
// priority: 1,
|
|
46
|
+
// }
|
|
47
|
+
// ],
|
|
48
|
+
// },
|
|
49
|
+
// ]);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
class AXMEntityProvider {
|
|
54
|
+
constructor() {
|
|
55
|
+
this.injector = inject(Injector);
|
|
56
|
+
}
|
|
57
|
+
preload() {
|
|
58
|
+
const module = RootConfig.module.name;
|
|
59
|
+
return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
|
|
60
|
+
module: module,
|
|
61
|
+
entity: entity.name,
|
|
62
|
+
}));
|
|
63
|
+
}
|
|
64
|
+
async get(moduleName, entityName) {
|
|
65
|
+
if (moduleName == RootConfig.module.name) {
|
|
66
|
+
switch (entityName
|
|
67
|
+
// case RootConfig.entities.sample.name:
|
|
68
|
+
// return (await import('./entities/sample/sample.entity')).factory(this.injector);
|
|
69
|
+
) {
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
75
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMEntityProvider }); }
|
|
76
|
+
}
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMEntityProvider, decorators: [{
|
|
78
|
+
type: Injectable
|
|
79
|
+
}] });
|
|
80
|
+
|
|
81
|
+
class AXMPermissionDefinitionProvider {
|
|
82
|
+
async define(context) {
|
|
83
|
+
// context.addPermissions([
|
|
84
|
+
// {
|
|
85
|
+
// name: 'view_templates',
|
|
86
|
+
// title: 'Permission to view templates',
|
|
87
|
+
// isArchived: false,
|
|
88
|
+
// },
|
|
89
|
+
// ]);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
class AXMSettingProvider {
|
|
94
|
+
async provide(context) {
|
|
95
|
+
// context
|
|
96
|
+
// // Add Form Template Group
|
|
97
|
+
// .addGroup('form-template', 'Form Template', 'Settings related to form templates.', RootConfig.module.icon)
|
|
98
|
+
// // Start Interface Section
|
|
99
|
+
// .addSection('interface', 'UI Interface', 'Customize the user interface for forms.')
|
|
100
|
+
// .addSetting({
|
|
101
|
+
// key: 'history-panel',
|
|
102
|
+
// title: 'Show History Panel',
|
|
103
|
+
// scope: 'U',
|
|
104
|
+
// isInherited: true,
|
|
105
|
+
// defaultValue: false,
|
|
106
|
+
// widget: {
|
|
107
|
+
// type: AXPWidgetsCatalog.toggle,
|
|
108
|
+
// },
|
|
109
|
+
// description: 'Enable or disable the history panel for forms.',
|
|
110
|
+
// validationRules: [
|
|
111
|
+
// {
|
|
112
|
+
// rule: 'required',
|
|
113
|
+
// },
|
|
114
|
+
// ],
|
|
115
|
+
// })
|
|
116
|
+
// .endSection()
|
|
117
|
+
// .endGroup();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
|
122
|
+
constructor() {
|
|
123
|
+
super(...arguments);
|
|
124
|
+
this.commands = [
|
|
125
|
+
// {
|
|
126
|
+
// group: 'command',
|
|
127
|
+
// title: 'New Form Template',
|
|
128
|
+
// icon: RootConfig.entities.template.icon,
|
|
129
|
+
// description: 'Create a new form template for designing reusable forms.', // Added description
|
|
130
|
+
// commands: {
|
|
131
|
+
// 'create-entity': {
|
|
132
|
+
// entity: `${RootConfig.module.name}.${RootConfig.entities.template.name}`,
|
|
133
|
+
// },
|
|
134
|
+
// },
|
|
135
|
+
// }
|
|
136
|
+
];
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
class AXMIdentifierManagementModule {
|
|
141
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMIdentifierManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
142
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMIdentifierManagementModule }); }
|
|
143
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMIdentifierManagementModule, providers: [
|
|
144
|
+
{
|
|
145
|
+
provide: AXP_MENU_PROVIDER,
|
|
146
|
+
useClass: AXMMenuProvider,
|
|
147
|
+
multi: true,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
|
151
|
+
useClass: AXMEntityProvider,
|
|
152
|
+
multi: true,
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
156
|
+
useClass: AXMSettingProvider,
|
|
157
|
+
multi: true,
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
provide: AXP_SEARCH_PROVIDER,
|
|
161
|
+
useClass: AXMSearchCommandProvider,
|
|
162
|
+
multi: true,
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
166
|
+
useClass: AXMPermissionDefinitionProvider,
|
|
167
|
+
multi: true,
|
|
168
|
+
},
|
|
169
|
+
] }); }
|
|
170
|
+
}
|
|
171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMIdentifierManagementModule, decorators: [{
|
|
172
|
+
type: NgModule,
|
|
173
|
+
args: [{
|
|
174
|
+
imports: [],
|
|
175
|
+
exports: [],
|
|
176
|
+
declarations: [],
|
|
177
|
+
providers: [
|
|
178
|
+
{
|
|
179
|
+
provide: AXP_MENU_PROVIDER,
|
|
180
|
+
useClass: AXMMenuProvider,
|
|
181
|
+
multi: true,
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
|
185
|
+
useClass: AXMEntityProvider,
|
|
186
|
+
multi: true,
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
190
|
+
useClass: AXMSettingProvider,
|
|
191
|
+
multi: true,
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
provide: AXP_SEARCH_PROVIDER,
|
|
195
|
+
useClass: AXMSearchCommandProvider,
|
|
196
|
+
multi: true,
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
200
|
+
useClass: AXMPermissionDefinitionProvider,
|
|
201
|
+
multi: true,
|
|
202
|
+
},
|
|
203
|
+
]
|
|
204
|
+
}]
|
|
205
|
+
}] });
|
|
206
|
+
|
|
207
|
+
//#region ---- Imports ----
|
|
208
|
+
//#endregion
|
|
209
|
+
//#region ---- Main Port (UI) ----
|
|
210
|
+
class AXPIdentifierService {
|
|
211
|
+
}
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region ---- DI Tokens ----
|
|
214
|
+
const AXP_IDENTIFIER_RULES = new InjectionToken('AXP_IDENTIFIER_RULES');
|
|
215
|
+
//#endregion
|
|
216
|
+
|
|
217
|
+
//#region ---- Token Contracts ----
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region ---- DI Tokens ----
|
|
220
|
+
const AXP_TOKEN_HANDLERS = new InjectionToken('AXP_TOKEN_HANDLERS');
|
|
221
|
+
//#endregion
|
|
222
|
+
|
|
223
|
+
//#region ---- Imports ----
|
|
224
|
+
//#endregion
|
|
225
|
+
class AXPTokenRegistryService {
|
|
226
|
+
constructor() {
|
|
227
|
+
//#region ---- Fields ----
|
|
228
|
+
this.handlers = new Map();
|
|
229
|
+
this.providerHandlers = inject(AXP_TOKEN_HANDLERS, { optional: true }) ?? [];
|
|
230
|
+
}
|
|
231
|
+
//#endregion
|
|
232
|
+
//#region ---- Public API ----
|
|
233
|
+
register(handler) {
|
|
234
|
+
const existing = this.handlers.get(handler.name);
|
|
235
|
+
if (!existing || (handler.priority ?? 0) > (existing.priority ?? 0)) {
|
|
236
|
+
this.handlers.set(handler.name, handler);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
unregister(name) {
|
|
240
|
+
this.handlers.delete(name);
|
|
241
|
+
}
|
|
242
|
+
get(name) {
|
|
243
|
+
// provider-provided take precedence by priority
|
|
244
|
+
const fromProviders = this.providerHandlers
|
|
245
|
+
.filter((h) => h.name === name)
|
|
246
|
+
.sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0))[0];
|
|
247
|
+
if (fromProviders)
|
|
248
|
+
return fromProviders;
|
|
249
|
+
return this.handlers.get(name);
|
|
250
|
+
}
|
|
251
|
+
list() {
|
|
252
|
+
const map = new Map();
|
|
253
|
+
const put = (h) => {
|
|
254
|
+
const prev = map.get(h.name);
|
|
255
|
+
if (!prev || (h.priority ?? 0) > (prev.priority ?? 0))
|
|
256
|
+
map.set(h.name, h);
|
|
257
|
+
};
|
|
258
|
+
this.providerHandlers.forEach(put);
|
|
259
|
+
Array.from(this.handlers.values()).forEach(put);
|
|
260
|
+
return Array.from(map.values()).sort((a, b) => (b.priority ?? 0) - (a.priority ?? 0));
|
|
261
|
+
}
|
|
262
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPTokenRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
263
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPTokenRegistryService, providedIn: 'root' }); }
|
|
264
|
+
}
|
|
265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPTokenRegistryService, decorators: [{
|
|
266
|
+
type: Injectable,
|
|
267
|
+
args: [{ providedIn: 'root' }]
|
|
268
|
+
}] });
|
|
269
|
+
|
|
270
|
+
//#region ---- Imports ----
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region ---- Simple Pattern Engine Impl ----
|
|
273
|
+
const TOKEN_REGEX = /\{([^{}]+)\}/g; // matches {token[:args]}
|
|
274
|
+
class AXPSimplePatternEngine {
|
|
275
|
+
constructor() {
|
|
276
|
+
this.registry = inject(AXPTokenRegistryService);
|
|
277
|
+
}
|
|
278
|
+
compile(pattern) {
|
|
279
|
+
const tokens = [];
|
|
280
|
+
let match;
|
|
281
|
+
let index = 0;
|
|
282
|
+
let lastIndex = 0;
|
|
283
|
+
while ((match = TOKEN_REGEX.exec(pattern)) !== null) {
|
|
284
|
+
// push any literal text before this token
|
|
285
|
+
const literal = pattern.slice(lastIndex, match.index);
|
|
286
|
+
if (literal) {
|
|
287
|
+
tokens.push({ type: 'literal', text: literal });
|
|
288
|
+
}
|
|
289
|
+
const raw = match[0];
|
|
290
|
+
const inner = match[1];
|
|
291
|
+
const [name, ...args] = inner.split(':');
|
|
292
|
+
const token = {
|
|
293
|
+
name: name.trim(),
|
|
294
|
+
args: args.length ? inner.substring(inner.indexOf(':') + 1).split(':') : [],
|
|
295
|
+
raw,
|
|
296
|
+
index: index++,
|
|
297
|
+
};
|
|
298
|
+
const handler = this.registry.get(token.name);
|
|
299
|
+
if (!handler) {
|
|
300
|
+
throw new Error(`Unknown token: ${token.name}`);
|
|
301
|
+
}
|
|
302
|
+
handler.validate?.(token);
|
|
303
|
+
tokens.push(token);
|
|
304
|
+
lastIndex = match.index + raw.length;
|
|
305
|
+
}
|
|
306
|
+
// trailing literal
|
|
307
|
+
const tail = pattern.slice(lastIndex);
|
|
308
|
+
if (tail) {
|
|
309
|
+
tokens.push({ type: 'literal', text: tail });
|
|
310
|
+
}
|
|
311
|
+
return { pattern, tokens };
|
|
312
|
+
}
|
|
313
|
+
async evaluate(compiled, ctx) {
|
|
314
|
+
let built = '';
|
|
315
|
+
for (const frag of compiled.tokens) {
|
|
316
|
+
if (frag.type === 'literal') {
|
|
317
|
+
built += frag.text;
|
|
318
|
+
continue;
|
|
319
|
+
}
|
|
320
|
+
const token = frag;
|
|
321
|
+
ctx.cache.set('__acc__', built);
|
|
322
|
+
const handler = this.registry.get(token.name);
|
|
323
|
+
if (!handler) {
|
|
324
|
+
throw new Error(`Unknown token at eval: ${token.name}`);
|
|
325
|
+
}
|
|
326
|
+
const fragment = await handler.eval(token, ctx);
|
|
327
|
+
built += fragment;
|
|
328
|
+
}
|
|
329
|
+
return built;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
//#endregion
|
|
333
|
+
|
|
334
|
+
//#region ---- Imports ----
|
|
335
|
+
//#endregion
|
|
336
|
+
//#region ---- Utility Functions ----
|
|
337
|
+
function buildScopeHash(parts) {
|
|
338
|
+
return parts.filter(Boolean).join('|');
|
|
339
|
+
}
|
|
340
|
+
function padNumber(num, size) {
|
|
341
|
+
const s = String(num);
|
|
342
|
+
if (s.length >= size)
|
|
343
|
+
return s;
|
|
344
|
+
return '0'.repeat(size - s.length) + s;
|
|
345
|
+
}
|
|
346
|
+
function uuid() {
|
|
347
|
+
return AXPDataGenerator.uuid();
|
|
348
|
+
}
|
|
349
|
+
//#endregion
|
|
350
|
+
|
|
351
|
+
//#endregion
|
|
352
|
+
//#region ---- Built-in Token Handlers (Injectable) ----
|
|
353
|
+
class DateToken {
|
|
354
|
+
constructor() {
|
|
355
|
+
this.name = 'date';
|
|
356
|
+
this.meta = { title: 'Date', description: 'Formats current date', argHints: ['YYYY', 'YYYYMM', 'YYYYMMDD'] };
|
|
357
|
+
}
|
|
358
|
+
async eval(token, ctx) {
|
|
359
|
+
const fmt = token.args[0] ?? 'YYYYMMDD';
|
|
360
|
+
const d = ctx.services.clock?.now() ?? ctx.now;
|
|
361
|
+
const y = String(d.getFullYear());
|
|
362
|
+
const m = padNumber(d.getMonth() + 1, 2);
|
|
363
|
+
const day = padNumber(d.getDate(), 2);
|
|
364
|
+
switch (fmt) {
|
|
365
|
+
case 'YYYY':
|
|
366
|
+
return y;
|
|
367
|
+
case 'YYYYMM':
|
|
368
|
+
return y + m;
|
|
369
|
+
case 'YYYYMMDD':
|
|
370
|
+
default:
|
|
371
|
+
return y + m + day;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DateToken, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
375
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DateToken }); }
|
|
376
|
+
}
|
|
377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: DateToken, decorators: [{
|
|
378
|
+
type: Injectable
|
|
379
|
+
}] });
|
|
380
|
+
class ConstToken {
|
|
381
|
+
constructor() {
|
|
382
|
+
this.name = 'const';
|
|
383
|
+
this.meta = { title: 'Constant', description: 'Fixed literal value' };
|
|
384
|
+
}
|
|
385
|
+
async eval(token) {
|
|
386
|
+
return token.args.join(':');
|
|
387
|
+
}
|
|
388
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConstToken, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
389
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConstToken }); }
|
|
390
|
+
}
|
|
391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ConstToken, decorators: [{
|
|
392
|
+
type: Injectable
|
|
393
|
+
}] });
|
|
394
|
+
class FieldToken {
|
|
395
|
+
constructor() {
|
|
396
|
+
this.name = 'field';
|
|
397
|
+
this.meta = { title: 'Field', description: 'Reads a value from request.payload' };
|
|
398
|
+
}
|
|
399
|
+
async eval(token, ctx) {
|
|
400
|
+
const key = token.args[0];
|
|
401
|
+
if (!key)
|
|
402
|
+
return '';
|
|
403
|
+
const value = ctx.request.payload?.[key];
|
|
404
|
+
return value == null ? '' : String(value);
|
|
405
|
+
}
|
|
406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldToken, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
407
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldToken }); }
|
|
408
|
+
}
|
|
409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: FieldToken, decorators: [{
|
|
410
|
+
type: Injectable
|
|
411
|
+
}] });
|
|
412
|
+
class TenantToken {
|
|
413
|
+
constructor() {
|
|
414
|
+
this.name = 'tenant';
|
|
415
|
+
this.meta = { title: 'Tenant', description: 'Tenant scope identifier' };
|
|
416
|
+
}
|
|
417
|
+
async eval(_t, ctx) {
|
|
418
|
+
return ctx.request.tenantId ?? '';
|
|
419
|
+
}
|
|
420
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TenantToken, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
421
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TenantToken }); }
|
|
422
|
+
}
|
|
423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: TenantToken, decorators: [{
|
|
424
|
+
type: Injectable
|
|
425
|
+
}] });
|
|
426
|
+
class AppToken {
|
|
427
|
+
constructor() {
|
|
428
|
+
this.name = 'app';
|
|
429
|
+
this.meta = { title: 'App', description: 'Application scope identifier' };
|
|
430
|
+
}
|
|
431
|
+
async eval(_t, ctx) {
|
|
432
|
+
return ctx.request.appId ?? '';
|
|
433
|
+
}
|
|
434
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppToken, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
435
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppToken }); }
|
|
436
|
+
}
|
|
437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AppToken, decorators: [{
|
|
438
|
+
type: Injectable
|
|
439
|
+
}] });
|
|
440
|
+
class SeqToken {
|
|
441
|
+
constructor() {
|
|
442
|
+
this.name = 'seq';
|
|
443
|
+
this.meta = { title: 'Sequence', description: 'Auto-increment sequence', argHints: ['pad'] };
|
|
444
|
+
}
|
|
445
|
+
async eval(token, ctx) {
|
|
446
|
+
const pad = Number(token.args[0] ?? '0') || 0;
|
|
447
|
+
const consume = ctx.request.mode === 'commit';
|
|
448
|
+
const n = await ctx.services.sequence.next(ctx.cache.get('scopeHash'), { pad, consume });
|
|
449
|
+
return pad ? padNumber(n, pad) : String(n);
|
|
450
|
+
}
|
|
451
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SeqToken, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
452
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SeqToken }); }
|
|
453
|
+
}
|
|
454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: SeqToken, decorators: [{
|
|
455
|
+
type: Injectable
|
|
456
|
+
}] });
|
|
457
|
+
class CheckToken {
|
|
458
|
+
constructor() {
|
|
459
|
+
this.name = 'check';
|
|
460
|
+
this.meta = { title: 'Checksum', description: 'Checksum of the string built so far', argHints: ['luhn|mod11'] };
|
|
461
|
+
}
|
|
462
|
+
async eval(token, ctx) {
|
|
463
|
+
const algo = token.args[0] ?? 'luhn';
|
|
464
|
+
const acc = String(ctx.cache.get('__acc__') ?? '');
|
|
465
|
+
return ctx.services.checksum.compute(algo, acc);
|
|
466
|
+
}
|
|
467
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CheckToken, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
468
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CheckToken }); }
|
|
469
|
+
}
|
|
470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CheckToken, decorators: [{
|
|
471
|
+
type: Injectable
|
|
472
|
+
}] });
|
|
473
|
+
|
|
474
|
+
const AXP_DEFAULT_TOKEN_PROVIDERS = [
|
|
475
|
+
{ provide: AXP_TOKEN_HANDLERS, useClass: DateToken, multi: true },
|
|
476
|
+
{ provide: AXP_TOKEN_HANDLERS, useClass: ConstToken, multi: true },
|
|
477
|
+
{ provide: AXP_TOKEN_HANDLERS, useClass: FieldToken, multi: true },
|
|
478
|
+
{ provide: AXP_TOKEN_HANDLERS, useClass: TenantToken, multi: true },
|
|
479
|
+
{ provide: AXP_TOKEN_HANDLERS, useClass: AppToken, multi: true },
|
|
480
|
+
{ provide: AXP_TOKEN_HANDLERS, useClass: SeqToken, multi: true },
|
|
481
|
+
{ provide: AXP_TOKEN_HANDLERS, useClass: CheckToken, multi: true },
|
|
482
|
+
];
|
|
483
|
+
|
|
484
|
+
//#region ---- Imports ----
|
|
485
|
+
// import removed; defaults now provided via DI multi-providers
|
|
486
|
+
//#endregion
|
|
487
|
+
//#region ---- Mock Adapter (UI-first) ----
|
|
488
|
+
// NOTE: moved to connectivity mock as AXPMockIdentifierService. This class is a thin alias for backward compatibility.
|
|
489
|
+
class AXPMockIdentifierService extends AXPIdentifierService {
|
|
490
|
+
async generate(_req) {
|
|
491
|
+
throw new Error('AXPMockIdentifierService has moved to @acorex/connectivity/mock. Import from there.');
|
|
492
|
+
}
|
|
493
|
+
async peek(_req) {
|
|
494
|
+
throw new Error('AXPMockIdentifierService has moved to @acorex/connectivity/mock. Import from there.');
|
|
495
|
+
}
|
|
496
|
+
async validate(_code, _entity, _tenantId) {
|
|
497
|
+
throw new Error('AXPMockIdentifierService has moved to @acorex/connectivity/mock. Import from there.');
|
|
498
|
+
}
|
|
499
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPMockIdentifierService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
500
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPMockIdentifierService, providedIn: 'root' }); }
|
|
501
|
+
}
|
|
502
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPMockIdentifierService, decorators: [{
|
|
503
|
+
type: Injectable,
|
|
504
|
+
args: [{ providedIn: 'root' }]
|
|
505
|
+
}] });
|
|
506
|
+
|
|
507
|
+
/**
|
|
508
|
+
* Generated bundle index. Do not edit.
|
|
509
|
+
*/
|
|
510
|
+
|
|
511
|
+
export { AXMEntityProvider, AXMIdentifierManagementModule, AXMMenuProvider, AXMSearchCommandProvider, AXMSettingProvider, AXPIdentifierService, AXPMockIdentifierService, AXPSimplePatternEngine, AXPTokenRegistryService, AXP_DEFAULT_TOKEN_PROVIDERS, AXP_IDENTIFIER_RULES, AXP_TOKEN_HANDLERS, AppToken, CheckToken, ConstToken, DateToken, FieldToken, RootConfig, SeqToken, TenantToken, buildScopeHash, padNumber, uuid };
|
|
512
|
+
//# sourceMappingURL=acorex-modules-identifier-management.mjs.map
|