@acorex/modules 20.0.25 → 20.2.0-next.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/common/index.d.ts +8 -1
- package/conversation/index.d.ts +69 -9
- package/dashboard-management/index.d.ts +2 -0
- package/data-management/index.d.ts +401 -3
- package/fesm2022/{acorex-modules-application-management-module-designer.component-BvuZJdwg.mjs → acorex-modules-application-management-module-designer.component-udoks-Ef.mjs} +17 -17
- package/fesm2022/acorex-modules-application-management-module-designer.component-udoks-Ef.mjs.map +1 -0
- package/fesm2022/acorex-modules-application-management.mjs +53 -53
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DqsEqXec.mjs → acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs} +67 -125
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-y6rICHrT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-D0pKNUts.mjs → acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-app-chooser.component-D0pKNUts.mjs.map → acorex-modules-auth-app-chooser.component-Cpy0VN6n.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-blank.layout-BwVSMaFI.mjs → acorex-modules-auth-blank.layout-C8NsXB9K.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-blank.layout-BwVSMaFI.mjs.map → acorex-modules-auth-blank.layout-C8NsXB9K.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-Dky49ylL.mjs → acorex-modules-auth-login.module-ZEX4NMuJ.mjs} +8 -8
- package/fesm2022/{acorex-modules-auth-login.module-Dky49ylL.mjs.map → acorex-modules-auth-login.module-ZEX4NMuJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-DXfRjCLL.mjs → acorex-modules-auth-master.layout-D-lIn4Pl.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-master.layout-DXfRjCLL.mjs.map → acorex-modules-auth-master.layout-D-lIn4Pl.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-oH5OFHqQ.mjs → acorex-modules-auth-password.component-CafZfqKe.mjs} +12 -12
- package/fesm2022/{acorex-modules-auth-password.component-oH5OFHqQ.mjs.map → acorex-modules-auth-password.component-CafZfqKe.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BbsQWpEh.mjs → acorex-modules-auth-password.component-DLCb0_6e.mjs} +16 -16
- package/fesm2022/acorex-modules-auth-password.component-DLCb0_6e.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-routes-DAiaTm4Y.mjs → acorex-modules-auth-routes-D9-qfC3V.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-DAiaTm4Y.mjs.map → acorex-modules-auth-routes-D9-qfC3V.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-settings.provider-CM-T8nbI.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-3-FFY4tI.mjs → acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs} +10 -10
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-3-FFY4tI.mjs.map → acorex-modules-auth-tenant-chooser.component-B1aE-TOD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-UUmdX7IM.mjs → acorex-modules-auth-two-factor-code.component-BglerlU-.mjs} +10 -10
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-UUmdX7IM.mjs.map → acorex-modules-auth-two-factor-code.component-BglerlU-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-Coe4NNUW.mjs → acorex-modules-auth-two-factor.module-D3N2XyOH.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-two-factor.module-Coe4NNUW.mjs.map → acorex-modules-auth-two-factor.module-D3N2XyOH.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +19 -19
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-common-acorex-modules-common-DQESb8jf.mjs +1667 -0
- package/fesm2022/acorex-modules-common-acorex-modules-common-DQESb8jf.mjs.map +1 -0
- package/fesm2022/{acorex-modules-common-search-popup.component-B_bJ0ZRM.mjs → acorex-modules-common-search-popup.component-CpFvcrxw.mjs} +13 -13
- package/fesm2022/acorex-modules-common-search-popup.component-CpFvcrxw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-settings.provider-intHn3XI.mjs → acorex-modules-common-settings.provider-ha75F6g5.mjs} +2 -3
- package/fesm2022/acorex-modules-common-settings.provider-ha75F6g5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-D48aDOVu.mjs → acorex-modules-common-timeline-version-history-popup.component-D_6STmWm.mjs} +11 -11
- package/fesm2022/acorex-modules-common-timeline-version-history-popup.component-D_6STmWm.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +1 -1199
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/{acorex-modules-contact-management-acorex-modules-contact-management-DVjMlS0K.mjs → acorex-modules-contact-management-acorex-modules-contact-management-CM72FkGM.mjs} +47 -222
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-CM72FkGM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-contact-management-address-type.entity-CWIBwWfZ.mjs → acorex-modules-contact-management-address-type.entity-CW0fx3v8.mjs} +2 -2
- package/fesm2022/{acorex-modules-contact-management-address-type.entity-CWIBwWfZ.mjs.map → acorex-modules-contact-management-address-type.entity-CW0fx3v8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-contact-management-contact-address.entity-DO6GizbS.mjs → acorex-modules-contact-management-contact-address.entity-D5OGWsSx.mjs} +2 -2
- package/fesm2022/{acorex-modules-contact-management-contact-address.entity-DO6GizbS.mjs.map → acorex-modules-contact-management-contact-address.entity-D5OGWsSx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-contact-management-contact-method.entity-tEtMSV4f.mjs → acorex-modules-contact-management-contact-method.entity-Cpdd-Xwb.mjs} +2 -2
- package/fesm2022/{acorex-modules-contact-management-contact-method.entity-tEtMSV4f.mjs.map → acorex-modules-contact-management-contact-method.entity-Cpdd-Xwb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-contact-management-contact-relationship.entity-C-B5aOoq.mjs → acorex-modules-contact-management-contact-relationship.entity-B_gQ7mEo.mjs} +2 -2
- package/fesm2022/{acorex-modules-contact-management-contact-relationship.entity-C-B5aOoq.mjs.map → acorex-modules-contact-management-contact-relationship.entity-B_gQ7mEo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-contact-management-contact-source.entity-Dw8jwcox.mjs → acorex-modules-contact-management-contact-source.entity-BwYBaS8B.mjs} +2 -2
- package/fesm2022/{acorex-modules-contact-management-contact-source.entity-Dw8jwcox.mjs.map → acorex-modules-contact-management-contact-source.entity-BwYBaS8B.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-BJOOhcD1.mjs → acorex-modules-contact-management-emergency-contact-category.entity-CDbm4Rq3.mjs} +2 -2
- package/fesm2022/{acorex-modules-contact-management-emergency-contact-category.entity-BJOOhcD1.mjs.map → acorex-modules-contact-management-emergency-contact-category.entity-CDbm4Rq3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-Cr7_5JKD.mjs → acorex-modules-contact-management-emergency-contact.entity-BpNDJPVs.mjs} +2 -2
- package/fesm2022/{acorex-modules-contact-management-emergency-contact.entity-Cr7_5JKD.mjs.map → acorex-modules-contact-management-emergency-contact.entity-BpNDJPVs.mjs.map} +1 -1
- package/fesm2022/acorex-modules-contact-management.mjs +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +14 -14
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +608 -178
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +191 -191
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +2215 -265
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-Bte3VGKC.mjs → acorex-modules-document-management-acorex-modules-document-management-B4Jd-KGV.mjs} +144 -144
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-B4Jd-KGV.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Cc0anIMV.mjs → acorex-modules-document-management-attachment-widget.component-Bp4kKjC4.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-Cc0anIMV.mjs.map → acorex-modules-document-management-attachment-widget.component-Bp4kKjC4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-BNcu8bzT.mjs → acorex-modules-document-management-create-folder-dialog.component-12aUAucS.mjs} +22 -22
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-12aUAucS.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-details-view.component-BeN0NPcy.mjs → acorex-modules-document-management-details-view.component-bzA7fJZW.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-details-view.component-BeN0NPcy.mjs.map → acorex-modules-document-management-details-view.component-bzA7fJZW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-B66wODCQ.mjs → acorex-modules-document-management-drive-choose.component-DLJdJzp1.mjs} +18 -18
- package/fesm2022/acorex-modules-document-management-drive-choose.component-DLJdJzp1.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-drive.component-CUej0GjY.mjs → acorex-modules-document-management-drive.component-DrkSd6Rv.mjs} +28 -28
- package/fesm2022/acorex-modules-document-management-drive.component-DrkSd6Rv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BuwrkLhe.mjs → acorex-modules-document-management-large-icons-view.component-DV8oWdDh.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-BuwrkLhe.mjs.map → acorex-modules-document-management-large-icons-view.component-DV8oWdDh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cs-mjiQX.mjs → acorex-modules-document-management-large-tiles-view.component-Bgr9s_zf.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-Cs-mjiQX.mjs.map → acorex-modules-document-management-large-tiles-view.component-Bgr9s_zf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-OTa8ttto.mjs → acorex-modules-document-management-link-dialog.component-CSEIhT4P.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-OTa8ttto.mjs.map → acorex-modules-document-management-link-dialog.component-CSEIhT4P.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-1M2rIOGv.mjs → acorex-modules-document-management-list-view.component-Dz6ymqrq.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-list-view.component-1M2rIOGv.mjs.map → acorex-modules-document-management-list-view.component-Dz6ymqrq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-choose-popup.component-DsSo15AL.mjs → acorex-modules-document-management-meta-choose-popup.component-DYJN-4Pe.mjs} +20 -20
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-DYJN-4Pe.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-gunvY9et.mjs → acorex-modules-document-management-meta-selector-widget-column.component-C_J1rPak.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-gunvY9et.mjs.map → acorex-modules-document-management-meta-selector-widget-column.component-C_J1rPak.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-B-fYrGs1.mjs → acorex-modules-document-management-meta-selector-widget-designer.component-By_NgUX6.mjs} +7 -7
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-designer.component-By_NgUX6.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-D4gu7liQ.mjs → acorex-modules-document-management-meta-selector-widget-view.component-zwCw3v1w.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-view.component-D4gu7liQ.mjs.map → acorex-modules-document-management-meta-selector-widget-view.component-zwCw3v1w.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BEq3ySY3.mjs → acorex-modules-document-management-permission-definition.provider-CN7HVQLu.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BEq3ySY3.mjs.map → acorex-modules-document-management-permission-definition.provider-CN7HVQLu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-DWzD41AV.mjs → acorex-modules-document-management-rename-node-dialog.component-C_dsLLMb.mjs} +15 -15
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-C_dsLLMb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-DiyR6CiE.mjs → acorex-modules-document-management-share-dialog.component-CBrf7hjZ.mjs} +6 -6
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-DiyR6CiE.mjs.map → acorex-modules-document-management-share-dialog.component-CBrf7hjZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-CKlG3YwB.mjs → acorex-modules-document-management-share-email-dialog.component-D3WcHAOf.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-CKlG3YwB.mjs.map → acorex-modules-document-management-share-email-dialog.component-D3WcHAOf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Dh5Di_2Y.mjs → acorex-modules-document-management-small-icons-view.component-wvFkjOqg.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Dh5Di_2Y.mjs.map → acorex-modules-document-management-small-icons-view.component-wvFkjOqg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-mOjQbw-f.mjs → acorex-modules-document-management-small-tiles-view.component-C4ARGOZR.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-mOjQbw-f.mjs.map → acorex-modules-document-management-small-tiles-view.component-C4ARGOZR.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-EsaVgkdd.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-zz8KU2BM.mjs} +68 -68
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-zz8KU2BM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-category.entity-CC0qe4pv.mjs → acorex-modules-form-template-management-category.entity-g5YGQjj3.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-category.entity-CC0qe4pv.mjs.map → acorex-modules-form-template-management-category.entity-g5YGQjj3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-designer.page-B14QVCAw.mjs → acorex-modules-form-template-management-designer.page-DQorNK3f.mjs} +6 -6
- package/fesm2022/acorex-modules-form-template-management-designer.page-DQorNK3f.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-BMd6DvoR.mjs → acorex-modules-form-template-management-permission-definition.provider-BFPqDVO3.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-BMd6DvoR.mjs.map → acorex-modules-form-template-management-permission-definition.provider-BFPqDVO3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-BYS5t4c_.mjs → acorex-modules-form-template-management-settings.provider-DYbrgJI7.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-BYS5t4c_.mjs.map → acorex-modules-form-template-management-settings.provider-DYbrgJI7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-C0mLCsFT.mjs → acorex-modules-form-template-management-template-picker.component-DgH_DUIB.mjs} +14 -14
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-DgH_DUIB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-CffnsEo2.mjs → acorex-modules-form-template-management-template-widget-edit.component-CCL7xNSm.mjs} +9 -9
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CCL7xNSm.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-template.entity-DTx9CejD.mjs → acorex-modules-form-template-management-template.entity-XNBsmQZY.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-DTx9CejD.mjs.map → acorex-modules-form-template-management-template.entity-XNBsmQZY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-BwVSDsN3.mjs → acorex-modules-form-template-management-viewer-popup.component-Bw9VbGx7.mjs} +12 -12
- package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-Bw9VbGx7.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-DKdtV_QL.mjs → acorex-modules-issue-management-acorex-modules-issue-management-B8ZVc-0b.mjs} +45 -45
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-DKdtV_QL.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-B8ZVc-0b.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-CucnKDr1.mjs → acorex-modules-issue-management-capture-screen.component-D1vapaJC.mjs} +7 -7
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-CucnKDr1.mjs.map → acorex-modules-issue-management-capture-screen.component-D1vapaJC.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +427 -479
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +169 -63
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-item.component-Br70YGJS.mjs → acorex-modules-organization-management-add-item.component-DsDk5cyO.mjs} +16 -16
- package/fesm2022/{acorex-modules-organization-management-add-item.component-Br70YGJS.mjs.map → acorex-modules-organization-management-add-item.component-DsDk5cyO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-branch.entity-Bsgj4Pow.mjs → acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs} +80 -6
- package/fesm2022/acorex-modules-organization-management-branch.entity-CHp5WtIF.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-chart.entity-UAn44WCP.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management-company.entity-D1A1HSkC.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-department.entity-BMojk26d.mjs → acorex-modules-organization-management-department.entity-BxCyXNtv.mjs} +68 -7
- package/fesm2022/acorex-modules-organization-management-department.entity-BxCyXNtv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-division.entity-BnWpX4US.mjs → acorex-modules-organization-management-division.entity-DzQT2jpz.mjs} +68 -6
- package/fesm2022/acorex-modules-organization-management-division.entity-DzQT2jpz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employee.entity-DBuCVYZP.mjs → acorex-modules-organization-management-employee.entity-CSY_U9Bl.mjs} +152 -28
- package/fesm2022/acorex-modules-organization-management-employee.entity-CSY_U9Bl.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs → acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs} +21 -8
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-h9Hua7Xe.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DHu4UuxD.mjs → acorex-modules-organization-management-org-chart-configuration.page-a2JPiCy9.mjs} +6 -6
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-a2JPiCy9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-CcZMGyCz.mjs → acorex-modules-organization-management-org-chart-configuration.service-BkfSow3s.mjs} +5 -5
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-BkfSow3s.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-CSMTnTDi.mjs → acorex-modules-organization-management-org-chart.page-DWQ-5NF_.mjs} +20 -20
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DWQ-5NF_.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position-category.entity-DrZ9Ott4.mjs → acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs} +20 -35
- package/fesm2022/acorex-modules-organization-management-position-category.entity-CIir9UMg.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs +526 -0
- package/fesm2022/acorex-modules-organization-management-position.entity-BpkjUsoZ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibility-category.entity-CmafbyCZ.mjs → acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs} +12 -25
- package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-tJFpEylO.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-DmLeFogS.mjs → acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs} +70 -25
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmKSoxpL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-role-category.entity-Cyt1dAKR.mjs → acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs} +22 -14
- package/fesm2022/acorex-modules-organization-management-role-category.entity-CAljzQcH.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-CY4TugWR.mjs → acorex-modules-organization-management-role.entity-CruQeObl.mjs} +77 -79
- package/fesm2022/acorex-modules-organization-management-role.entity-CruQeObl.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-settings.provider-hlbUXugb.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-skill-category.entity-BPgGGVT3.mjs → acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs} +18 -33
- package/fesm2022/acorex-modules-organization-management-skill-category.entity-iIbc-pjJ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-skill.entity-D9XojzUV.mjs → acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs} +61 -22
- package/fesm2022/acorex-modules-organization-management-skill.entity-DoAsCzm9.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team.entity-mYPhrc2l.mjs → acorex-modules-organization-management-team.entity-DMCfAZsr.mjs} +58 -10
- package/fesm2022/acorex-modules-organization-management-team.entity-DMCfAZsr.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +221 -136
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-list-version.component-CgF5pvTa.mjs → acorex-modules-platform-management-list-version.component-BOfUQDwo.mjs} +9 -9
- package/fesm2022/acorex-modules-platform-management-list-version.component-BOfUQDwo.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +3479 -1
- 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-DqrLa6vh.mjs → acorex-modules-report-management-report-create-root.component-DgouOz2M.mjs} +10 -10
- package/fesm2022/acorex-modules-report-management-report-create-root.component-DgouOz2M.mjs.map +1 -0
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-C3UP9Jsi.mjs → acorex-modules-report-management-report-runner-root-page.component-DHu-kyCd.mjs} +13 -13
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-C3UP9Jsi.mjs.map → acorex-modules-report-management-report-runner-root-page.component-DHu-kyCd.mjs.map} +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +465 -232
- 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 +432 -900
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-BbnEqXKu.mjs → acorex-modules-settings-management-setting-page.component-cG4ykm2g.mjs} +17 -17
- package/fesm2022/acorex-modules-settings-management-setting-page.component-cG4ykm2g.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-DP8mxDK9.mjs → acorex-modules-settings-management-setting-view.component-CrEK2N1U.mjs} +11 -11
- package/fesm2022/acorex-modules-settings-management-setting-view.component-CrEK2N1U.mjs.map +1 -0
- package/fesm2022/acorex-modules-settings-management.mjs +6 -6
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-text-template-management-settings.provider-fX0dhWUL.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 +43 -43
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-workflow-management-task-board.page-zaSchG-u.mjs → acorex-modules-workflow-management-task-board.page-BoG_tFGn.mjs} +123 -133
- package/fesm2022/acorex-modules-workflow-management-task-board.page-BoG_tFGn.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +12 -12
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/log-management/index.d.ts +46 -19
- package/notification-management/index.d.ts +125 -29
- package/organization-management/index.d.ts +41 -13
- package/package.json +5 -5
- package/platform-management/index.d.ts +8 -277
- package/report-management/index.d.ts +182 -126
- package/security-management/index.d.ts +5 -58
- package/fesm2022/acorex-modules-application-management-module-designer.component-BvuZJdwg.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DqsEqXec.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-BbsQWpEh.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-user-sessions.component-CtTrstZT.mjs +0 -135
- package/fesm2022/acorex-modules-auth-user-sessions.component-CtTrstZT.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-search-popup.component-B_bJ0ZRM.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-timeline-version-history-popup.component-D48aDOVu.mjs.map +0 -1
- package/fesm2022/acorex-modules-contact-management-acorex-modules-contact-management-DVjMlS0K.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-Bte3VGKC.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-create-folder-dialog.component-BNcu8bzT.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive-choose.component-B66wODCQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-drive.component-CUej0GjY.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-DsSo15AL.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-designer.component-B-fYrGs1.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-rename-node-dialog.component-DWzD41AV.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-EsaVgkdd.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-designer.page-B14QVCAw.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-picker.component-C0mLCsFT.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-template-widget-edit.component-CffnsEo2.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-BwVSDsN3.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-branch.entity-Bsgj4Pow.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-department.entity-BMojk26d.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-division.entity-BnWpX4US.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employee.entity-DBuCVYZP.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-employment-type.entity-CWYu9tIg.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.page-DHu4UuxD.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-configuration.service-CcZMGyCz.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-CSMTnTDi.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position-category.entity-DrZ9Ott4.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-CY4TugWR.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility-category.entity-CmafbyCZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibility.entity-DmLeFogS.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role-category.entity-Cyt1dAKR.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs +0 -324
- package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-skill-category.entity-BPgGGVT3.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-skill.entity-D9XojzUV.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-mYPhrc2l.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-BLhzWiXM.mjs +0 -5524
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-BLhzWiXM.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-list-version.component-CgF5pvTa.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-settings.provider-intHn3XI.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-create-root.component-DqrLa6vh.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-page.component-BbnEqXKu.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-view.component-DP8mxDK9.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-zaSchG-u.mjs.map +0 -1
@@ -1,639 +1,78 @@
|
|
1
|
-
import {
|
2
|
-
import * as
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import * as
|
6
|
-
import {
|
7
|
-
import
|
8
|
-
import {
|
9
|
-
import
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import {
|
13
|
-
import
|
14
|
-
import {
|
15
|
-
import
|
16
|
-
import {
|
17
|
-
import {
|
18
|
-
import
|
19
|
-
import
|
20
|
-
import {
|
21
|
-
import {
|
22
|
-
import {
|
23
|
-
import
|
24
|
-
import
|
25
|
-
import
|
26
|
-
import
|
27
|
-
import
|
28
|
-
import
|
29
|
-
import
|
30
|
-
import
|
31
|
-
import
|
32
|
-
import
|
33
|
-
import
|
34
|
-
import
|
35
|
-
import {
|
36
|
-
import {
|
37
|
-
import {
|
38
|
-
|
39
|
-
const config = {
|
40
|
-
i18n: 'security-management',
|
41
|
-
profileEntity: 'Profile',
|
42
|
-
};
|
43
|
-
const RootConfig = {
|
44
|
-
config,
|
45
|
-
module: {
|
46
|
-
route: 'security-management',
|
47
|
-
name: 'SecurityManagement',
|
48
|
-
title: `t('module-name', {scope:"${config.i18n}"})`,
|
49
|
-
icon: 'fa-light fa-file-invoice',
|
50
|
-
},
|
51
|
-
entities: {
|
52
|
-
deviceSessions: {
|
53
|
-
name: 'DeviceSessions',
|
54
|
-
title: `t("session", { scope: "${config.i18n}" })`,
|
55
|
-
titlePlural: `t("sessions", { scope: "${config.i18n}" })`,
|
56
|
-
icon: 'fa-light fa-default',
|
57
|
-
},
|
58
|
-
users: {
|
59
|
-
name: 'users',
|
60
|
-
title: `t("users", { scope: "${config.i18n}" })`,
|
61
|
-
icon: 'fa-light fa-users',
|
62
|
-
},
|
63
|
-
roles: {
|
64
|
-
name: 'roles',
|
65
|
-
title: `t("roles",{scope:"${config.i18n}"})`,
|
66
|
-
icon: 'fa-light fa-key',
|
67
|
-
},
|
68
|
-
profile: {
|
69
|
-
name: 'profile',
|
70
|
-
title: `t("profile",{scope:"${config.i18n}"})`,
|
71
|
-
icon: 'fa-light fa-user',
|
72
|
-
},
|
73
|
-
},
|
74
|
-
};
|
75
|
-
|
76
|
-
class AXMDeviceSessionsService extends AXMEntityCrudServiceImpl {
|
77
|
-
}
|
78
|
-
class AXMDeviceSessionsServiceImpl extends AXMDeviceSessionsService {
|
79
|
-
constructor() {
|
80
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.deviceSessions.name}`);
|
81
|
-
}
|
82
|
-
terminate(id) {
|
83
|
-
throw new Error('Method not implemented.');
|
84
|
-
}
|
85
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMDeviceSessionsServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
86
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMDeviceSessionsServiceImpl }); }
|
87
|
-
}
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMDeviceSessionsServiceImpl, decorators: [{
|
89
|
-
type: Injectable
|
90
|
-
}], ctorParameters: () => [] });
|
91
|
-
|
92
|
-
async function factory$3(injector) {
|
93
|
-
const dataService = injector.get(AXMDeviceSessionsService);
|
94
|
-
const i18n = RootConfig.config.i18n;
|
95
|
-
const entityDef = {
|
96
|
-
module: RootConfig.module.name,
|
97
|
-
name: RootConfig.entities.deviceSessions.name,
|
98
|
-
source: '',
|
99
|
-
title: RootConfig.entities.deviceSessions.title,
|
100
|
-
formats: {
|
101
|
-
individual: RootConfig.entities.deviceSessions.title,
|
102
|
-
plural: RootConfig.entities.deviceSessions.titlePlural,
|
103
|
-
searchResult: {
|
104
|
-
title: '{{ title }}',
|
105
|
-
description: RootConfig.module.title,
|
106
|
-
},
|
107
|
-
},
|
108
|
-
relatedEntities: [],
|
109
|
-
groups: [
|
110
|
-
{
|
111
|
-
id: 'section',
|
112
|
-
title: RootConfig.entities.deviceSessions.title,
|
113
|
-
},
|
114
|
-
{
|
115
|
-
id: 'device',
|
116
|
-
title: `t('device', { scope: "${i18n}" })`,
|
117
|
-
},
|
118
|
-
{
|
119
|
-
id: 'session',
|
120
|
-
title: `t('session', { scope: "${i18n}" })`,
|
121
|
-
},
|
122
|
-
],
|
123
|
-
properties: [
|
124
|
-
{
|
125
|
-
name: 'tenant.name',
|
126
|
-
title: `t('tenant', { scope: "${i18n}" })`,
|
127
|
-
groupId: 'section',
|
128
|
-
options: {
|
129
|
-
sort: {
|
130
|
-
enabled: true,
|
131
|
-
},
|
132
|
-
},
|
133
|
-
schema: {
|
134
|
-
dataType: 'string',
|
135
|
-
interface: {
|
136
|
-
type: AXPWidgetsCatalog.text,
|
137
|
-
},
|
138
|
-
},
|
139
|
-
validations: [
|
140
|
-
{
|
141
|
-
rule: 'required',
|
142
|
-
},
|
143
|
-
],
|
144
|
-
},
|
145
|
-
{
|
146
|
-
name: 'user.name',
|
147
|
-
title: `t('user', { scope: "${i18n}" })`,
|
148
|
-
groupId: 'section',
|
149
|
-
options: {
|
150
|
-
sort: {
|
151
|
-
enabled: true,
|
152
|
-
},
|
153
|
-
},
|
154
|
-
schema: {
|
155
|
-
dataType: 'string',
|
156
|
-
interface: {
|
157
|
-
type: AXPWidgetsCatalog.text,
|
158
|
-
},
|
159
|
-
},
|
160
|
-
validations: [
|
161
|
-
{
|
162
|
-
rule: 'required',
|
163
|
-
},
|
164
|
-
],
|
165
|
-
},
|
166
|
-
{
|
167
|
-
name: 'application.name',
|
168
|
-
title: `t('application', { scope: "${i18n}" })`,
|
169
|
-
groupId: 'section',
|
170
|
-
options: {
|
171
|
-
sort: {
|
172
|
-
enabled: true,
|
173
|
-
},
|
174
|
-
},
|
175
|
-
schema: {
|
176
|
-
dataType: 'string',
|
177
|
-
interface: {
|
178
|
-
type: AXPWidgetsCatalog.text,
|
179
|
-
},
|
180
|
-
},
|
181
|
-
validations: [
|
182
|
-
{
|
183
|
-
rule: 'required',
|
184
|
-
},
|
185
|
-
],
|
186
|
-
},
|
187
|
-
{
|
188
|
-
name: 'clientName',
|
189
|
-
title: `t('clientName', { scope: "${i18n}" })`,
|
190
|
-
groupId: 'section',
|
191
|
-
options: {
|
192
|
-
sort: {
|
193
|
-
enabled: true,
|
194
|
-
},
|
195
|
-
},
|
196
|
-
schema: {
|
197
|
-
dataType: 'string',
|
198
|
-
interface: {
|
199
|
-
type: AXPWidgetsCatalog.text,
|
200
|
-
},
|
201
|
-
},
|
202
|
-
validations: [
|
203
|
-
{
|
204
|
-
rule: 'required',
|
205
|
-
},
|
206
|
-
],
|
207
|
-
},
|
208
|
-
{
|
209
|
-
name: 'location',
|
210
|
-
title: `t('location', { scope: "${i18n}" })`,
|
211
|
-
groupId: 'device',
|
212
|
-
options: {
|
213
|
-
sort: {
|
214
|
-
enabled: true,
|
215
|
-
},
|
216
|
-
},
|
217
|
-
schema: {
|
218
|
-
dataType: 'string',
|
219
|
-
interface: {
|
220
|
-
type: AXPWidgetsCatalog.text,
|
221
|
-
},
|
222
|
-
},
|
223
|
-
validations: [
|
224
|
-
{
|
225
|
-
rule: 'required',
|
226
|
-
},
|
227
|
-
],
|
228
|
-
},
|
229
|
-
{
|
230
|
-
name: 'ipAddress',
|
231
|
-
title: `t('ipAddress', { scope: "${i18n}" })`,
|
232
|
-
groupId: 'device',
|
233
|
-
options: {
|
234
|
-
sort: {
|
235
|
-
enabled: true,
|
236
|
-
},
|
237
|
-
},
|
238
|
-
schema: {
|
239
|
-
dataType: 'string',
|
240
|
-
interface: {
|
241
|
-
type: AXPWidgetsCatalog.text,
|
242
|
-
},
|
243
|
-
},
|
244
|
-
validations: [
|
245
|
-
{
|
246
|
-
rule: 'required',
|
247
|
-
},
|
248
|
-
],
|
249
|
-
},
|
250
|
-
{
|
251
|
-
name: 'lastLoginDate',
|
252
|
-
title: `t('lastLoginDate', { scope: "${i18n}" })`,
|
253
|
-
groupId: 'session',
|
254
|
-
options: {
|
255
|
-
sort: {
|
256
|
-
enabled: true,
|
257
|
-
},
|
258
|
-
},
|
259
|
-
schema: {
|
260
|
-
dataType: 'dateTime',
|
261
|
-
interface: {
|
262
|
-
type: AXPWidgetsCatalog.dateTime,
|
263
|
-
options: {
|
264
|
-
format: 'MM/DD/YYYY hh:mm a',
|
265
|
-
},
|
266
|
-
},
|
267
|
-
},
|
268
|
-
validations: [
|
269
|
-
{
|
270
|
-
rule: 'required',
|
271
|
-
},
|
272
|
-
],
|
273
|
-
},
|
274
|
-
{
|
275
|
-
name: 'operatingSystem',
|
276
|
-
title: `t('operatingSystem', { scope: "${i18n}" })`,
|
277
|
-
groupId: 'device',
|
278
|
-
options: {
|
279
|
-
sort: {
|
280
|
-
enabled: true,
|
281
|
-
},
|
282
|
-
},
|
283
|
-
schema: {
|
284
|
-
dataType: 'string',
|
285
|
-
interface: {
|
286
|
-
type: AXPWidgetsCatalog.text,
|
287
|
-
},
|
288
|
-
},
|
289
|
-
validations: [
|
290
|
-
{
|
291
|
-
rule: 'required',
|
292
|
-
},
|
293
|
-
],
|
294
|
-
},
|
295
|
-
{
|
296
|
-
name: 'deviceName',
|
297
|
-
title: `t('deviceName', { scope: "${i18n}" })`,
|
298
|
-
groupId: 'device',
|
299
|
-
options: {
|
300
|
-
sort: {
|
301
|
-
enabled: true,
|
302
|
-
},
|
303
|
-
},
|
304
|
-
schema: {
|
305
|
-
dataType: 'string',
|
306
|
-
interface: {
|
307
|
-
type: AXPWidgetsCatalog.text,
|
308
|
-
},
|
309
|
-
},
|
310
|
-
validations: [
|
311
|
-
{
|
312
|
-
rule: 'required',
|
313
|
-
},
|
314
|
-
],
|
315
|
-
},
|
316
|
-
],
|
317
|
-
columns: [
|
318
|
-
{ name: 'tenant.name' },
|
319
|
-
{ name: 'user.name' },
|
320
|
-
{ name: 'application.name' },
|
321
|
-
{ name: 'clientName' },
|
322
|
-
{ name: 'location' },
|
323
|
-
{ name: 'deviceName' },
|
324
|
-
{ name: 'lastLoginDate' },
|
325
|
-
{ name: 'operatingSystem' },
|
326
|
-
],
|
327
|
-
commands: {
|
328
|
-
create: {
|
329
|
-
execute: async (data) => {
|
330
|
-
const res = await dataService.insertOne(data);
|
331
|
-
return { id: res };
|
332
|
-
},
|
333
|
-
},
|
334
|
-
delete: {
|
335
|
-
execute: async (id) => {
|
336
|
-
return await dataService.deleteOne(id);
|
337
|
-
},
|
338
|
-
},
|
339
|
-
update: {
|
340
|
-
execute: async (data) => {
|
341
|
-
return await dataService.updateOne(data.id, data);
|
342
|
-
},
|
343
|
-
},
|
344
|
-
terminate: {
|
345
|
-
execute: async (id) => {
|
346
|
-
const x = await dataService.terminate(id);
|
347
|
-
return x;
|
348
|
-
},
|
349
|
-
},
|
350
|
-
},
|
351
|
-
queries: {
|
352
|
-
byKey: {
|
353
|
-
execute: async (id) => {
|
354
|
-
return await dataService.getOne(id);
|
355
|
-
},
|
356
|
-
type: AXPEntityQueryType.Single,
|
357
|
-
},
|
358
|
-
list: {
|
359
|
-
execute: async (e) => {
|
360
|
-
const res = await dataService.query({ skip: e.skip, take: e.take, filter: e.filter });
|
361
|
-
console.log('res', res);
|
362
|
-
return res;
|
363
|
-
},
|
364
|
-
type: AXPEntityQueryType.List,
|
365
|
-
},
|
366
|
-
},
|
367
|
-
interfaces: {
|
368
|
-
master: {
|
369
|
-
create: {
|
370
|
-
sections: [
|
371
|
-
{
|
372
|
-
id: 'section',
|
373
|
-
},
|
374
|
-
],
|
375
|
-
properties: [
|
376
|
-
{
|
377
|
-
name: 'clientName',
|
378
|
-
layout: {
|
379
|
-
positions: {
|
380
|
-
lg: {
|
381
|
-
colSpan: 6,
|
382
|
-
},
|
383
|
-
},
|
384
|
-
},
|
385
|
-
},
|
386
|
-
{
|
387
|
-
name: 'title',
|
388
|
-
layout: {
|
389
|
-
positions: {
|
390
|
-
lg: {
|
391
|
-
colSpan: 6,
|
392
|
-
},
|
393
|
-
},
|
394
|
-
},
|
395
|
-
},
|
396
|
-
],
|
397
|
-
},
|
398
|
-
update: {
|
399
|
-
sections: [
|
400
|
-
{
|
401
|
-
id: 'section',
|
402
|
-
},
|
403
|
-
],
|
404
|
-
properties: [
|
405
|
-
{
|
406
|
-
name: 'ClientName',
|
407
|
-
layout: {
|
408
|
-
positions: {
|
409
|
-
lg: {
|
410
|
-
colSpan: 6,
|
411
|
-
},
|
412
|
-
},
|
413
|
-
},
|
414
|
-
},
|
415
|
-
{
|
416
|
-
name: 'title',
|
417
|
-
layout: {
|
418
|
-
positions: {
|
419
|
-
lg: {
|
420
|
-
colSpan: 6,
|
421
|
-
},
|
422
|
-
},
|
423
|
-
},
|
424
|
-
},
|
425
|
-
],
|
426
|
-
},
|
427
|
-
single: {
|
428
|
-
title: '{{user.name}}',
|
429
|
-
sections: [
|
430
|
-
{
|
431
|
-
id: 'session',
|
432
|
-
layout: {
|
433
|
-
positions: {
|
434
|
-
lg: {
|
435
|
-
colSpan: 12,
|
436
|
-
},
|
437
|
-
},
|
438
|
-
},
|
439
|
-
},
|
440
|
-
{
|
441
|
-
id: 'section',
|
442
|
-
layout: {
|
443
|
-
positions: {
|
444
|
-
lg: {
|
445
|
-
colSpan: 12,
|
446
|
-
},
|
447
|
-
},
|
448
|
-
},
|
449
|
-
},
|
450
|
-
{
|
451
|
-
id: 'device',
|
452
|
-
layout: {
|
453
|
-
positions: {
|
454
|
-
lg: {
|
455
|
-
colSpan: 12,
|
456
|
-
},
|
457
|
-
},
|
458
|
-
},
|
459
|
-
},
|
460
|
-
],
|
461
|
-
properties: [
|
462
|
-
{
|
463
|
-
name: 'tenant.name',
|
464
|
-
layout: {
|
465
|
-
positions: {
|
466
|
-
lg: {
|
467
|
-
colSpan: 6,
|
468
|
-
},
|
469
|
-
},
|
470
|
-
},
|
471
|
-
},
|
472
|
-
{
|
473
|
-
name: 'user.name',
|
474
|
-
layout: {
|
475
|
-
positions: {
|
476
|
-
lg: {
|
477
|
-
colSpan: 6,
|
478
|
-
},
|
479
|
-
},
|
480
|
-
},
|
481
|
-
},
|
482
|
-
{
|
483
|
-
name: 'application.name',
|
484
|
-
layout: {
|
485
|
-
positions: {
|
486
|
-
lg: {
|
487
|
-
colSpan: 6,
|
488
|
-
},
|
489
|
-
},
|
490
|
-
},
|
491
|
-
},
|
492
|
-
{
|
493
|
-
name: 'clientName',
|
494
|
-
layout: {
|
495
|
-
positions: {
|
496
|
-
lg: {
|
497
|
-
colSpan: 6,
|
498
|
-
},
|
499
|
-
},
|
500
|
-
},
|
501
|
-
},
|
502
|
-
{
|
503
|
-
name: 'location',
|
504
|
-
layout: {
|
505
|
-
positions: {
|
506
|
-
lg: {
|
507
|
-
colSpan: 6,
|
508
|
-
},
|
509
|
-
},
|
510
|
-
},
|
511
|
-
},
|
512
|
-
{
|
513
|
-
name: 'ipAddress',
|
514
|
-
layout: {
|
515
|
-
positions: {
|
516
|
-
lg: {
|
517
|
-
colSpan: 6,
|
518
|
-
},
|
519
|
-
},
|
520
|
-
},
|
521
|
-
},
|
522
|
-
{
|
523
|
-
name: 'lastLoginDate',
|
524
|
-
layout: {
|
525
|
-
positions: {
|
526
|
-
lg: {
|
527
|
-
colSpan: 6,
|
528
|
-
},
|
529
|
-
},
|
530
|
-
},
|
531
|
-
},
|
532
|
-
{
|
533
|
-
name: 'operatingSystem',
|
534
|
-
layout: {
|
535
|
-
positions: {
|
536
|
-
lg: {
|
537
|
-
colSpan: 6,
|
538
|
-
},
|
539
|
-
},
|
540
|
-
},
|
541
|
-
},
|
542
|
-
{
|
543
|
-
name: 'deviceName',
|
544
|
-
layout: {
|
545
|
-
positions: {
|
546
|
-
lg: {
|
547
|
-
colSpan: 6,
|
548
|
-
},
|
549
|
-
},
|
550
|
-
},
|
551
|
-
},
|
552
|
-
],
|
553
|
-
actions: [],
|
554
|
-
},
|
555
|
-
list: {
|
556
|
-
actions: [
|
557
|
-
// {
|
558
|
-
// title: `t("create", { scope: "common" })`,
|
559
|
-
// command: 'create-entity',
|
560
|
-
// priority: 'primary',
|
561
|
-
// type: 'create',
|
562
|
-
// scope: AXPEntityCommandScope.TypeLevel,
|
563
|
-
// },
|
564
|
-
// {
|
565
|
-
// title: 't("deleteItems", { scope: "common" })',
|
566
|
-
// command: 'delete-entity',
|
567
|
-
// priority: 'primary',
|
568
|
-
// type: 'delete',
|
569
|
-
// scope: AXPEntityCommandScope.Selected,
|
570
|
-
// },
|
571
|
-
{
|
572
|
-
title: 't("terminate.Selected", { scope: "common" })',
|
573
|
-
command: 'terminate-entity',
|
574
|
-
priority: 'primary',
|
575
|
-
type: 'delete',
|
576
|
-
scope: AXPEntityCommandScope.Selected,
|
577
|
-
},
|
578
|
-
{
|
579
|
-
title: 't("detail", { scope: "common" })',
|
580
|
-
command: 'open-entity',
|
581
|
-
priority: 'secondary',
|
582
|
-
type: 'view',
|
583
|
-
scope: AXPEntityCommandScope.Individual,
|
584
|
-
},
|
585
|
-
{
|
586
|
-
title: 't("terminate", { scope: "common" })',
|
587
|
-
command: 'terminate-entity',
|
588
|
-
priority: 'secondary',
|
589
|
-
type: 'delete',
|
590
|
-
scope: AXPEntityCommandScope.Individual,
|
591
|
-
},
|
592
|
-
],
|
593
|
-
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
594
|
-
},
|
595
|
-
},
|
596
|
-
},
|
597
|
-
};
|
598
|
-
return entityDef;
|
599
|
-
}
|
600
|
-
|
601
|
-
var deviceSessions_entity = /*#__PURE__*/Object.freeze({
|
602
|
-
__proto__: null,
|
603
|
-
factory: factory$3
|
604
|
-
});
|
605
|
-
|
606
|
-
class AXMSecurityManagementDeviceSessionsEntityModule {
|
607
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
608
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule }); }
|
609
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule, providers: [
|
610
|
-
{
|
611
|
-
provide: AXMDeviceSessionsService,
|
612
|
-
useClass: AXMDeviceSessionsServiceImpl,
|
613
|
-
},
|
614
|
-
] }); }
|
615
|
-
}
|
616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule, decorators: [{
|
617
|
-
type: NgModule,
|
618
|
-
args: [{
|
619
|
-
imports: [],
|
620
|
-
exports: [],
|
621
|
-
declarations: [],
|
622
|
-
providers: [
|
623
|
-
{
|
624
|
-
provide: AXMDeviceSessionsService,
|
625
|
-
useClass: AXMDeviceSessionsServiceImpl,
|
626
|
-
},
|
627
|
-
],
|
628
|
-
}]
|
629
|
-
}] });
|
1
|
+
import { AXMEntityCrudServiceImpl, AXPEntityService, AXPEntityResolver, AXPEntityDefinitionRegistryService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
2
|
+
import * as i0 from '@angular/core';
|
3
|
+
import { Injectable, inject, Injector, NgModule, signal, input, output, computed, ViewEncapsulation, Component, ViewChild, effect, ChangeDetectionStrategy } from '@angular/core';
|
4
|
+
import { AXPEntityCommandScope, AXPEntityQueryType, AXPSearchCommandProvider, AXPRefreshEvent, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
5
|
+
import * as i1 from '@acorex/platform/workflow';
|
6
|
+
import { AXPWorkflowAction, AXPWorkflowModule, createWorkFlowEvent, AXPWorkflowService } from '@acorex/platform/workflow';
|
7
|
+
import { AXP_DATASOURCE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
8
|
+
import { AXP_USER_AVATAR_PROVIDER, AXPThemeLayoutBlockComponent } from '@acorex/platform/layout/components';
|
9
|
+
import * as i2 from '@acorex/platform/layout/builder';
|
10
|
+
import { AXPWidgetsCatalog, AXPWidgetGroupEnum, AXPLayoutBuilderModule, AXPValueWidgetComponent, AXPColumnWidgetComponent, AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
11
|
+
import { AXPSessionService, AXPPermissionDefinitionService } from '@acorex/platform/auth';
|
12
|
+
import { AXDataSource } from '@acorex/cdk/common';
|
13
|
+
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
|
14
|
+
import { AXPopupService } from '@acorex/components/popup';
|
15
|
+
import * as i3$1 from '@acorex/core/translation';
|
16
|
+
import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
|
17
|
+
import { AXDialogService } from '@acorex/components/dialog';
|
18
|
+
import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
|
19
|
+
import * as i1$1 from '@angular/common';
|
20
|
+
import { CommonModule } from '@angular/common';
|
21
|
+
import { AXFormModule } from '@acorex/components/form';
|
22
|
+
import { AXButtonModule } from '@acorex/components/button';
|
23
|
+
import { AXTextBoxModule } from '@acorex/components/text-box';
|
24
|
+
import * as i4 from '@acorex/components/check-box';
|
25
|
+
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
26
|
+
import * as i3 from '@acorex/components/label';
|
27
|
+
import { AXLabelModule } from '@acorex/components/label';
|
28
|
+
import * as i6 from '@acorex/components/decorators';
|
29
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
30
|
+
import * as i5 from '@acorex/components/tabs';
|
31
|
+
import { AXTabsModule } from '@acorex/components/tabs';
|
32
|
+
import * as i7 from '@acorex/components/badge';
|
33
|
+
import { AXBadgeModule } from '@acorex/components/badge';
|
34
|
+
import * as i2$1 from '@angular/forms';
|
35
|
+
import { FormsModule } from '@angular/forms';
|
36
|
+
import { AXTooltipModule } from '@acorex/components/tooltip';
|
37
|
+
import { AXPPopupLayoutBaseComponent, AXPPopupLayoutComponent, AXPPopupLayoutBase } from '@acorex/platform/layout/views';
|
38
|
+
import { castArray } from 'lodash-es';
|
630
39
|
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
40
|
+
const config = {
|
41
|
+
i18n: 'security-management',
|
42
|
+
profileEntity: 'Profile',
|
43
|
+
};
|
44
|
+
const RootConfig = {
|
45
|
+
config,
|
46
|
+
module: {
|
47
|
+
route: 'security-management',
|
48
|
+
name: 'SecurityManagement',
|
49
|
+
title: `t('module-name', {scope:"${config.i18n}"})`,
|
50
|
+
icon: 'fa-light fa-file-invoice',
|
51
|
+
},
|
52
|
+
entities: {
|
53
|
+
deviceSessions: {
|
54
|
+
name: 'DeviceSessions',
|
55
|
+
title: `t("session", { scope: "${config.i18n}" })`,
|
56
|
+
titlePlural: `t("sessions", { scope: "${config.i18n}" })`,
|
57
|
+
icon: 'fa-light fa-default',
|
58
|
+
},
|
59
|
+
users: {
|
60
|
+
name: 'users',
|
61
|
+
title: `t("users", { scope: "${config.i18n}" })`,
|
62
|
+
icon: 'fa-light fa-users',
|
63
|
+
},
|
64
|
+
roles: {
|
65
|
+
name: 'roles',
|
66
|
+
title: `t("roles",{scope:"${config.i18n}"})`,
|
67
|
+
icon: 'fa-light fa-key',
|
68
|
+
},
|
69
|
+
profile: {
|
70
|
+
name: 'profile',
|
71
|
+
title: `t("profile",{scope:"${config.i18n}"})`,
|
72
|
+
icon: 'fa-light fa-user',
|
73
|
+
},
|
74
|
+
},
|
75
|
+
};
|
637
76
|
|
638
77
|
class AXMSecurityManagementRolesEntityService extends AXMEntityCrudServiceImpl {
|
639
78
|
}
|
@@ -641,10 +80,10 @@ class AXMSecurityManagementRolesEntityServiceImpl extends AXMSecurityManagementR
|
|
641
80
|
constructor() {
|
642
81
|
super(`${RootConfig.module.name}.${RootConfig.entities.roles.name}`);
|
643
82
|
}
|
644
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
645
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
83
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
84
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl }); }
|
646
85
|
}
|
647
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, decorators: [{
|
648
87
|
type: Injectable
|
649
88
|
}], ctorParameters: () => [] });
|
650
89
|
|
@@ -654,13 +93,15 @@ class AXMUsersEntityServiceImpl extends AXMUsersEntityService {
|
|
654
93
|
constructor() {
|
655
94
|
super(`${RootConfig.module.name}.${RootConfig.entities.users.name}`);
|
656
95
|
}
|
657
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
658
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
96
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMUsersEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
97
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMUsersEntityServiceImpl }); }
|
659
98
|
}
|
660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMUsersEntityServiceImpl, decorators: [{
|
661
100
|
type: Injectable
|
662
101
|
}], ctorParameters: () => [] });
|
663
102
|
|
103
|
+
// export * from './device-sessions';
|
104
|
+
|
664
105
|
const key = 'security-management';
|
665
106
|
var AXPSecurityManagementMenuKeys;
|
666
107
|
(function (AXPSecurityManagementMenuKeys) {
|
@@ -688,16 +129,16 @@ class AXMEntityProvider {
|
|
688
129
|
return (await Promise.resolve().then(function () { return roles_entity; })).factory(this.injector);
|
689
130
|
case RootConfig.entities.profile.name:
|
690
131
|
return (await Promise.resolve().then(function () { return profile_entity; })).factory(this.injector);
|
691
|
-
case RootConfig.entities.deviceSessions.name:
|
692
|
-
|
132
|
+
// case RootConfig.entities.deviceSessions.name:
|
133
|
+
// return (await import('./entities/device-sessions/device-sessions.entity')).factory(this.injector);
|
693
134
|
}
|
694
135
|
}
|
695
136
|
return null;
|
696
137
|
}
|
697
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
698
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
139
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMEntityProvider }); }
|
699
140
|
}
|
700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMEntityProvider, decorators: [{
|
701
142
|
type: Injectable
|
702
143
|
}] });
|
703
144
|
|
@@ -738,16 +179,16 @@ class AXMMenuProvider {
|
|
738
179
|
// requiredPermission: 'demo.admin.settings',
|
739
180
|
},
|
740
181
|
},
|
741
|
-
{
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
},
|
182
|
+
// {
|
183
|
+
// priority: 9005,
|
184
|
+
// text: `t('deviceSessions', { scope: "${scope}" })`,
|
185
|
+
// path: this.entityService.createPath(moduleName, RootConfig.entities.deviceSessions.name),
|
186
|
+
// icon: 'fa-light fa-key',
|
187
|
+
// name: AXPSecurityManagementMenuKeys.DeviceSessions,
|
188
|
+
// data: {
|
189
|
+
// // requiredPermission: 'demo.admin.settings',
|
190
|
+
// },
|
191
|
+
// },
|
751
192
|
],
|
752
193
|
},
|
753
194
|
]);
|
@@ -1334,16 +775,16 @@ var users_entity = /*#__PURE__*/Object.freeze({
|
|
1334
775
|
});
|
1335
776
|
|
1336
777
|
class AXMSecurityManagementUsersEntityModule {
|
1337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
1338
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
1339
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
778
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
779
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementUsersEntityModule }); }
|
780
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, providers: [
|
1340
781
|
{
|
1341
782
|
provide: AXMUsersEntityService,
|
1342
783
|
useClass: AXMUsersEntityServiceImpl,
|
1343
784
|
},
|
1344
785
|
] }); }
|
1345
786
|
}
|
1346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
787
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, decorators: [{
|
1347
788
|
type: NgModule,
|
1348
789
|
args: [{
|
1349
790
|
imports: [],
|
@@ -1583,11 +1024,11 @@ var profile_entity = /*#__PURE__*/Object.freeze({
|
|
1583
1024
|
});
|
1584
1025
|
|
1585
1026
|
class AXMSecurityManagementProfileEntityModule {
|
1586
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
1587
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
1588
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
1027
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementProfileEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1028
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementProfileEntityModule }); }
|
1029
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementProfileEntityModule }); }
|
1589
1030
|
}
|
1590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
1031
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementProfileEntityModule, decorators: [{
|
1591
1032
|
type: NgModule,
|
1592
1033
|
args: [{
|
1593
1034
|
imports: [],
|
@@ -1978,194 +1419,44 @@ async function factory(injector) {
|
|
1978
1419
|
columns: [],
|
1979
1420
|
conditions: [],
|
1980
1421
|
sorts: [],
|
1981
|
-
},
|
1982
|
-
],
|
1983
|
-
},
|
1984
|
-
},
|
1985
|
-
},
|
1986
|
-
};
|
1987
|
-
return entityDef;
|
1988
|
-
}
|
1989
|
-
|
1990
|
-
var roles_entity = /*#__PURE__*/Object.freeze({
|
1991
|
-
__proto__: null,
|
1992
|
-
factory: factory
|
1993
|
-
});
|
1994
|
-
|
1995
|
-
class AXMSecurityManagementRolesEntityModule {
|
1996
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1997
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.7", ngImport: i0, type: AXMSecurityManagementRolesEntityModule }); }
|
1998
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, providers: [
|
1999
|
-
{
|
2000
|
-
provide: AXMSecurityManagementRolesEntityService,
|
2001
|
-
useClass: AXMSecurityManagementRolesEntityServiceImpl,
|
2002
|
-
},
|
2003
|
-
] }); }
|
2004
|
-
}
|
2005
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, decorators: [{
|
2006
|
-
type: NgModule,
|
2007
|
-
args: [{
|
2008
|
-
imports: [],
|
2009
|
-
exports: [],
|
2010
|
-
declarations: [],
|
2011
|
-
providers: [
|
2012
|
-
{
|
2013
|
-
provide: AXMSecurityManagementRolesEntityService,
|
2014
|
-
useClass: AXMSecurityManagementRolesEntityServiceImpl,
|
2015
|
-
},
|
2016
|
-
],
|
2017
|
-
}]
|
2018
|
-
}] });
|
2019
|
-
|
2020
|
-
class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
2021
|
-
constructor() {
|
2022
|
-
super(...arguments);
|
2023
|
-
this.commands = [
|
2024
|
-
{
|
2025
|
-
id: 'create-security-user',
|
2026
|
-
group: 'command',
|
2027
|
-
title: 'New User',
|
2028
|
-
icon: RootConfig.entities.users.icon,
|
2029
|
-
description: 'Create a new user entity in the system.', // Added meaningful description
|
2030
|
-
command: {
|
2031
|
-
// 'create-entity': {
|
2032
|
-
// entity: `${RootConfig.module.name}.${RootConfig.entities.users.name}`,
|
2033
|
-
// },
|
2034
|
-
name: 'create-entity',
|
2035
|
-
options: {
|
2036
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.users.name}`
|
2037
|
-
}
|
2038
|
-
},
|
2039
|
-
},
|
2040
|
-
{
|
2041
|
-
id: 'create-security-role',
|
2042
|
-
group: 'command',
|
2043
|
-
title: 'New Security Role',
|
2044
|
-
icon: RootConfig.entities.roles.icon,
|
2045
|
-
description: 'Define a new security role to manage permissions.', // Added meaningful description
|
2046
|
-
command: {
|
2047
|
-
// 'create-entity': {
|
2048
|
-
// entity: `${RootConfig.module.name}.${RootConfig.entities.roles.name}`,
|
2049
|
-
// },
|
2050
|
-
name: 'create-entity',
|
2051
|
-
options: {
|
2052
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.roles.name}`,
|
2053
|
-
}
|
2054
|
-
},
|
2055
|
-
},
|
2056
|
-
];
|
2057
|
-
}
|
2058
|
-
}
|
2059
|
-
|
2060
|
-
const AXPSessionTerminateEvent = createWorkFlowEvent('[Entity] Terminated!');
|
2061
|
-
class AXPSessionTerminatePopupAction extends AXPWorkflowAction {
|
2062
|
-
constructor() {
|
2063
|
-
super(...arguments);
|
2064
|
-
this.entityRegistery = inject(AXPEntityDefinitionRegistryService);
|
2065
|
-
this.dialogService = inject(AXDialogService);
|
2066
|
-
this.loadingDialog = inject(AXLoadingDialogService);
|
2067
|
-
this.translationService = inject(AXTranslationService);
|
2068
|
-
}
|
2069
|
-
async execute(context) {
|
2070
|
-
const moduleEntity = context.getVariable('entity');
|
2071
|
-
const [moduleName, entityName] = moduleEntity.split('.');
|
2072
|
-
const data = context.getVariable('data');
|
2073
|
-
const meta = context.getVariable('meta');
|
2074
|
-
const ids = Array.isArray(data) ? data.map((c) => c.id) : [data.id];
|
2075
|
-
const entity = await this.entityRegistery.resolve(moduleName, entityName);
|
2076
|
-
if (entity.parentKey && data[entity.parentKey]) {
|
2077
|
-
context.setVariable('meta', { ...meta, refreshTargetId: data[entity.parentKey] });
|
2078
|
-
}
|
2079
|
-
context.setVariable('terminateSuccessful', false);
|
2080
|
-
const dialog = this.loadingDialog.show({
|
2081
|
-
title: await this.translationService.translateAsync('workflow.terminating'),
|
2082
|
-
mode: 'determinate',
|
2083
|
-
status: 'Terminating...',
|
2084
|
-
progressValue: 0,
|
2085
|
-
text: `0/${ids.length}`,
|
2086
|
-
buttons: [
|
2087
|
-
{
|
2088
|
-
text: await this.translationService.translateAsync('cancel'),
|
2089
|
-
color: 'danger',
|
2090
|
-
onClick: () => {
|
2091
|
-
dialog.close();
|
2092
|
-
},
|
2093
|
-
},
|
2094
|
-
],
|
2095
|
-
});
|
2096
|
-
if (entity.commands.terminate != null) {
|
2097
|
-
const terminateExec = entity.commands.terminate?.execute;
|
2098
|
-
let faildCounter = 0;
|
2099
|
-
for (const element of ids) {
|
2100
|
-
const res = await terminateExec(element);
|
2101
|
-
if (!res) {
|
2102
|
-
faildCounter++;
|
2103
|
-
await this.dialogService.alert(await this.translationService.translateAsync('workflow.fail-delete-title'), await this.translationService.translateAsync('workflow.fail-delete-body', {
|
2104
|
-
params: { item: 1 },
|
2105
|
-
}), 'danger');
|
2106
|
-
}
|
2107
|
-
}
|
2108
|
-
context.setOutput('result', faildCounter == 0 ? true : false);
|
2109
|
-
setTimeout(() => {
|
2110
|
-
dialog.close();
|
2111
|
-
this.dispatch(AXPRefreshEvent({ entity: moduleEntity, meta: context.getVariable('meta') }));
|
2112
|
-
}, 300);
|
2113
|
-
}
|
2114
|
-
}
|
2115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSessionTerminatePopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
2116
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSessionTerminatePopupAction }); }
|
2117
|
-
}
|
2118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImport: i0, type: AXPSessionTerminatePopupAction, decorators: [{
|
2119
|
-
type: Injectable
|
2120
|
-
}] });
|
2121
|
-
const AXPSessionTerminateWorkflow = {
|
2122
|
-
startStepId: 'show-popup',
|
2123
|
-
steps: {
|
2124
|
-
'show-popup': {
|
2125
|
-
action: 'AXPSessionTerminatePopupAction',
|
2126
|
-
nextSteps: [
|
2127
|
-
{
|
2128
|
-
conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
|
2129
|
-
nextStepId: 'show-toast',
|
1422
|
+
},
|
1423
|
+
],
|
2130
1424
|
},
|
2131
|
-
],
|
2132
|
-
},
|
2133
|
-
'show-toast': {
|
2134
|
-
action: 'AXPToastAction',
|
2135
|
-
input: {
|
2136
|
-
color: 'success',
|
2137
|
-
title: 'workflow.session-terminated',
|
2138
|
-
content: 'workflow.session-terminated-body',
|
2139
1425
|
},
|
2140
|
-
nextSteps: [
|
2141
|
-
{
|
2142
|
-
conditions: [],
|
2143
|
-
nextStepId: 'dispatch-event',
|
2144
|
-
},
|
2145
|
-
],
|
2146
1426
|
},
|
2147
|
-
}
|
2148
|
-
|
1427
|
+
};
|
1428
|
+
return entityDef;
|
1429
|
+
}
|
2149
1430
|
|
2150
|
-
|
2151
|
-
|
2152
|
-
|
2153
|
-
|
2154
|
-
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2158
|
-
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2164
|
-
status: 'online',
|
2165
|
-
avatarUrl: 'https://via.placeholder.com/150',
|
2166
|
-
};
|
2167
|
-
}
|
1431
|
+
var roles_entity = /*#__PURE__*/Object.freeze({
|
1432
|
+
__proto__: null,
|
1433
|
+
factory: factory
|
1434
|
+
});
|
1435
|
+
|
1436
|
+
class AXMSecurityManagementRolesEntityModule {
|
1437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1438
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityModule }); }
|
1439
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, providers: [
|
1440
|
+
{
|
1441
|
+
provide: AXMSecurityManagementRolesEntityService,
|
1442
|
+
useClass: AXMSecurityManagementRolesEntityServiceImpl,
|
1443
|
+
},
|
1444
|
+
] }); }
|
2168
1445
|
}
|
1446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, decorators: [{
|
1447
|
+
type: NgModule,
|
1448
|
+
args: [{
|
1449
|
+
imports: [],
|
1450
|
+
exports: [],
|
1451
|
+
declarations: [],
|
1452
|
+
providers: [
|
1453
|
+
{
|
1454
|
+
provide: AXMSecurityManagementRolesEntityService,
|
1455
|
+
useClass: AXMSecurityManagementRolesEntityServiceImpl,
|
1456
|
+
},
|
1457
|
+
],
|
1458
|
+
}]
|
1459
|
+
}] });
|
2169
1460
|
|
2170
1461
|
const AXPPermissionsWidget = {
|
2171
1462
|
name: "permissions-editor",
|
@@ -2225,10 +1516,10 @@ class AXMOpenPermissionsEditorAction extends AXPWorkflowAction {
|
|
2225
1516
|
context.setOutput('result', true);
|
2226
1517
|
}
|
2227
1518
|
}
|
2228
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2229
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
1519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMOpenPermissionsEditorAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
1520
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMOpenPermissionsEditorAction }); }
|
2230
1521
|
}
|
2231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
1522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMOpenPermissionsEditorAction, decorators: [{
|
2232
1523
|
type: Injectable
|
2233
1524
|
}] });
|
2234
1525
|
const AXMAssignPermissionsWorkflow = {
|
@@ -2273,9 +1564,9 @@ const AXMAssignPermissionsWorkflow = {
|
|
2273
1564
|
};
|
2274
1565
|
|
2275
1566
|
class AXMPermissionsModule {
|
2276
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2277
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
2278
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
1567
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMPermissionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1568
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMPermissionsModule, imports: [i1.AXPWorkflowModule, i2.AXPLayoutBuilderModule] }); }
|
1569
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMPermissionsModule, imports: [AXPWorkflowModule.forChild({
|
2279
1570
|
workflows: {
|
2280
1571
|
'assign-permissions': AXMAssignPermissionsWorkflow
|
2281
1572
|
},
|
@@ -2289,7 +1580,7 @@ class AXMPermissionsModule {
|
|
2289
1580
|
]
|
2290
1581
|
})] }); }
|
2291
1582
|
}
|
2292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
1583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMPermissionsModule, decorators: [{
|
2293
1584
|
type: NgModule,
|
2294
1585
|
args: [{
|
2295
1586
|
imports: [
|
@@ -2310,14 +1601,244 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
2310
1601
|
}]
|
2311
1602
|
}] });
|
2312
1603
|
|
1604
|
+
class AXMUsersDataSourceDefinition {
|
1605
|
+
constructor() {
|
1606
|
+
this.userService = inject(AXMUsersEntityService);
|
1607
|
+
}
|
1608
|
+
items() {
|
1609
|
+
return Promise.resolve([
|
1610
|
+
{
|
1611
|
+
name: 'users',
|
1612
|
+
title: 'Users',
|
1613
|
+
source: () => {
|
1614
|
+
return new AXDataSource({
|
1615
|
+
load: async (_) => {
|
1616
|
+
try {
|
1617
|
+
const res = await this.userService.query();
|
1618
|
+
return {
|
1619
|
+
items: res.items.map((item) => ({
|
1620
|
+
...item,
|
1621
|
+
displayName: `${item.firstName} ${item.lastName}`,
|
1622
|
+
})),
|
1623
|
+
total: res.total,
|
1624
|
+
};
|
1625
|
+
}
|
1626
|
+
catch (e) {
|
1627
|
+
console.log(e);
|
1628
|
+
throw e;
|
1629
|
+
}
|
1630
|
+
},
|
1631
|
+
pageSize: 100,
|
1632
|
+
});
|
1633
|
+
},
|
1634
|
+
columns: [
|
1635
|
+
{
|
1636
|
+
name: 'id',
|
1637
|
+
title: 'ID',
|
1638
|
+
datatype: 'uuid',
|
1639
|
+
type: AXPWidgetsCatalog.text,
|
1640
|
+
},
|
1641
|
+
{
|
1642
|
+
name: 'displayName',
|
1643
|
+
title: `Display Name`,
|
1644
|
+
datatype: 'string',
|
1645
|
+
type: AXPWidgetsCatalog.text,
|
1646
|
+
},
|
1647
|
+
{
|
1648
|
+
name: 'username',
|
1649
|
+
title: `Username`,
|
1650
|
+
datatype: 'string',
|
1651
|
+
type: AXPWidgetsCatalog.text,
|
1652
|
+
},
|
1653
|
+
],
|
1654
|
+
filters: [
|
1655
|
+
{
|
1656
|
+
field: 'username',
|
1657
|
+
title: 'Username',
|
1658
|
+
operator: {
|
1659
|
+
type: 'equal',
|
1660
|
+
},
|
1661
|
+
widget: {
|
1662
|
+
type: AXPWidgetsCatalog.text,
|
1663
|
+
},
|
1664
|
+
filterType: {
|
1665
|
+
advance: true,
|
1666
|
+
inline: true,
|
1667
|
+
},
|
1668
|
+
},
|
1669
|
+
],
|
1670
|
+
textField: {
|
1671
|
+
name: 'displayName',
|
1672
|
+
title: 'Display Name',
|
1673
|
+
},
|
1674
|
+
valueField: {
|
1675
|
+
name: 'id',
|
1676
|
+
title: 'ID',
|
1677
|
+
},
|
1678
|
+
},
|
1679
|
+
]);
|
1680
|
+
}
|
1681
|
+
}
|
1682
|
+
|
1683
|
+
class AXMSearchCommandProvider extends AXPSearchCommandProvider {
|
1684
|
+
constructor() {
|
1685
|
+
super(...arguments);
|
1686
|
+
this.commands = [
|
1687
|
+
{
|
1688
|
+
id: 'create-security-user',
|
1689
|
+
group: 'command',
|
1690
|
+
title: 'New User',
|
1691
|
+
icon: RootConfig.entities.users.icon,
|
1692
|
+
description: 'Create a new user entity in the system.', // Added meaningful description
|
1693
|
+
command: {
|
1694
|
+
// 'create-entity': {
|
1695
|
+
// entity: `${RootConfig.module.name}.${RootConfig.entities.users.name}`,
|
1696
|
+
// },
|
1697
|
+
name: 'create-entity',
|
1698
|
+
options: {
|
1699
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.users.name}`
|
1700
|
+
}
|
1701
|
+
},
|
1702
|
+
},
|
1703
|
+
{
|
1704
|
+
id: 'create-security-role',
|
1705
|
+
group: 'command',
|
1706
|
+
title: 'New Security Role',
|
1707
|
+
icon: RootConfig.entities.roles.icon,
|
1708
|
+
description: 'Define a new security role to manage permissions.', // Added meaningful description
|
1709
|
+
command: {
|
1710
|
+
// 'create-entity': {
|
1711
|
+
// entity: `${RootConfig.module.name}.${RootConfig.entities.roles.name}`,
|
1712
|
+
// },
|
1713
|
+
name: 'create-entity',
|
1714
|
+
options: {
|
1715
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.roles.name}`,
|
1716
|
+
}
|
1717
|
+
},
|
1718
|
+
},
|
1719
|
+
];
|
1720
|
+
}
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
class AXMUserAvatarProvider {
|
1724
|
+
constructor() {
|
1725
|
+
this.userService = inject(AXMUsersEntityService);
|
1726
|
+
}
|
1727
|
+
async provide(userId) {
|
1728
|
+
const user = await this.userService.getOne(userId);
|
1729
|
+
if (!user) {
|
1730
|
+
throw new Error(`User not found for ${userId}`);
|
1731
|
+
}
|
1732
|
+
return {
|
1733
|
+
id: user.id,
|
1734
|
+
username: user.username,
|
1735
|
+
firstName: user.firstName,
|
1736
|
+
lastName: user.lastName,
|
1737
|
+
status: 'online',
|
1738
|
+
avatarUrl: 'https://via.placeholder.com/150',
|
1739
|
+
};
|
1740
|
+
}
|
1741
|
+
}
|
1742
|
+
|
1743
|
+
const AXPSessionTerminateEvent = createWorkFlowEvent('[Entity] Terminated!');
|
1744
|
+
class AXPSessionTerminatePopupAction extends AXPWorkflowAction {
|
1745
|
+
constructor() {
|
1746
|
+
super(...arguments);
|
1747
|
+
this.entityRegistery = inject(AXPEntityDefinitionRegistryService);
|
1748
|
+
this.dialogService = inject(AXDialogService);
|
1749
|
+
this.loadingDialog = inject(AXLoadingDialogService);
|
1750
|
+
this.translationService = inject(AXTranslationService);
|
1751
|
+
}
|
1752
|
+
async execute(context) {
|
1753
|
+
const moduleEntity = context.getVariable('entity');
|
1754
|
+
const [moduleName, entityName] = moduleEntity.split('.');
|
1755
|
+
const data = context.getVariable('data');
|
1756
|
+
const meta = context.getVariable('meta');
|
1757
|
+
const ids = Array.isArray(data) ? data.map((c) => c.id) : [data.id];
|
1758
|
+
const entity = await this.entityRegistery.resolve(moduleName, entityName);
|
1759
|
+
if (entity.parentKey && data[entity.parentKey]) {
|
1760
|
+
context.setVariable('meta', { ...meta, refreshTargetId: data[entity.parentKey] });
|
1761
|
+
}
|
1762
|
+
context.setVariable('terminateSuccessful', false);
|
1763
|
+
const dialog = this.loadingDialog.show({
|
1764
|
+
title: await this.translationService.translateAsync('workflow.terminating'),
|
1765
|
+
mode: 'determinate',
|
1766
|
+
status: 'Terminating...',
|
1767
|
+
progressValue: 0,
|
1768
|
+
text: `0/${ids.length}`,
|
1769
|
+
buttons: [
|
1770
|
+
{
|
1771
|
+
text: await this.translationService.translateAsync('cancel'),
|
1772
|
+
color: 'danger',
|
1773
|
+
onClick: () => {
|
1774
|
+
dialog.close();
|
1775
|
+
},
|
1776
|
+
},
|
1777
|
+
],
|
1778
|
+
});
|
1779
|
+
if (entity.commands.terminate != null) {
|
1780
|
+
const terminateExec = entity.commands.terminate?.execute;
|
1781
|
+
let faildCounter = 0;
|
1782
|
+
for (const element of ids) {
|
1783
|
+
const res = await terminateExec(element);
|
1784
|
+
if (!res) {
|
1785
|
+
faildCounter++;
|
1786
|
+
await this.dialogService.alert(await this.translationService.translateAsync('workflow.fail-delete-title'), await this.translationService.translateAsync('workflow.fail-delete-body', {
|
1787
|
+
params: { item: 1 },
|
1788
|
+
}), 'danger');
|
1789
|
+
}
|
1790
|
+
}
|
1791
|
+
context.setOutput('result', faildCounter == 0 ? true : false);
|
1792
|
+
setTimeout(() => {
|
1793
|
+
dialog.close();
|
1794
|
+
this.dispatch(AXPRefreshEvent({ entity: moduleEntity, meta: context.getVariable('meta') }));
|
1795
|
+
}, 300);
|
1796
|
+
}
|
1797
|
+
}
|
1798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSessionTerminatePopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
1799
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSessionTerminatePopupAction }); }
|
1800
|
+
}
|
1801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPSessionTerminatePopupAction, decorators: [{
|
1802
|
+
type: Injectable
|
1803
|
+
}] });
|
1804
|
+
const AXPSessionTerminateWorkflow = {
|
1805
|
+
startStepId: 'show-popup',
|
1806
|
+
steps: {
|
1807
|
+
'show-popup': {
|
1808
|
+
action: 'AXPSessionTerminatePopupAction',
|
1809
|
+
nextSteps: [
|
1810
|
+
{
|
1811
|
+
conditions: [{ type: 'SINGLE', expression: 'context.getOutput("result") == true' }],
|
1812
|
+
nextStepId: 'show-toast',
|
1813
|
+
},
|
1814
|
+
],
|
1815
|
+
},
|
1816
|
+
'show-toast': {
|
1817
|
+
action: 'AXPToastAction',
|
1818
|
+
input: {
|
1819
|
+
color: 'success',
|
1820
|
+
title: 'workflow.session-terminated',
|
1821
|
+
content: 'workflow.session-terminated-body',
|
1822
|
+
},
|
1823
|
+
nextSteps: [
|
1824
|
+
{
|
1825
|
+
conditions: [],
|
1826
|
+
nextStepId: 'dispatch-event',
|
1827
|
+
},
|
1828
|
+
],
|
1829
|
+
},
|
1830
|
+
},
|
1831
|
+
};
|
1832
|
+
|
2313
1833
|
class AXMSecurityManagementModule {
|
2314
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2315
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
1834
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1835
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementModule, imports: [
|
1836
|
+
// AXMSecurityManagementDeviceSessionsEntityModule,
|
2316
1837
|
AXMSecurityManagementProfileEntityModule,
|
2317
1838
|
AXMSecurityManagementRolesEntityModule,
|
2318
1839
|
AXMSecurityManagementUsersEntityModule,
|
2319
1840
|
AXMPermissionsModule, i1.AXPWorkflowModule] }); }
|
2320
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
1841
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementModule, providers: [
|
2321
1842
|
{
|
2322
1843
|
provide: AXP_MENU_PROVIDER,
|
2323
1844
|
useClass: AXMMenuProvider,
|
@@ -2336,15 +1857,21 @@ class AXMSecurityManagementModule {
|
|
2336
1857
|
{
|
2337
1858
|
provide: AXP_USER_AVATAR_PROVIDER,
|
2338
1859
|
useClass: AXMUserAvatarProvider,
|
2339
|
-
}
|
2340
|
-
|
1860
|
+
},
|
1861
|
+
{
|
1862
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
1863
|
+
useClass: AXMUsersDataSourceDefinition,
|
1864
|
+
multi: true,
|
1865
|
+
},
|
1866
|
+
], imports: [
|
1867
|
+
// AXMSecurityManagementDeviceSessionsEntityModule,
|
2341
1868
|
AXMSecurityManagementProfileEntityModule,
|
2342
1869
|
AXMSecurityManagementRolesEntityModule,
|
2343
1870
|
AXMSecurityManagementUsersEntityModule,
|
2344
1871
|
AXMPermissionsModule,
|
2345
1872
|
AXPWorkflowModule.forChild({
|
2346
1873
|
actions: {
|
2347
|
-
AXPSessionTerminatePopupAction
|
1874
|
+
AXPSessionTerminatePopupAction,
|
2348
1875
|
},
|
2349
1876
|
workflows: {
|
2350
1877
|
'terminate-entity': AXPSessionTerminateWorkflow,
|
@@ -2352,18 +1879,18 @@ class AXMSecurityManagementModule {
|
|
2352
1879
|
functions: {},
|
2353
1880
|
})] }); }
|
2354
1881
|
}
|
2355
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
1882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXMSecurityManagementModule, decorators: [{
|
2356
1883
|
type: NgModule,
|
2357
1884
|
args: [{
|
2358
1885
|
imports: [
|
2359
|
-
AXMSecurityManagementDeviceSessionsEntityModule,
|
1886
|
+
// AXMSecurityManagementDeviceSessionsEntityModule,
|
2360
1887
|
AXMSecurityManagementProfileEntityModule,
|
2361
1888
|
AXMSecurityManagementRolesEntityModule,
|
2362
1889
|
AXMSecurityManagementUsersEntityModule,
|
2363
1890
|
AXMPermissionsModule,
|
2364
1891
|
AXPWorkflowModule.forChild({
|
2365
1892
|
actions: {
|
2366
|
-
AXPSessionTerminatePopupAction
|
1893
|
+
AXPSessionTerminatePopupAction,
|
2367
1894
|
},
|
2368
1895
|
workflows: {
|
2369
1896
|
'terminate-entity': AXPSessionTerminateWorkflow,
|
@@ -2392,7 +1919,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
2392
1919
|
{
|
2393
1920
|
provide: AXP_USER_AVATAR_PROVIDER,
|
2394
1921
|
useClass: AXMUserAvatarProvider,
|
2395
|
-
}
|
1922
|
+
},
|
1923
|
+
{
|
1924
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
1925
|
+
useClass: AXMUsersDataSourceDefinition,
|
1926
|
+
multi: true,
|
1927
|
+
},
|
2396
1928
|
],
|
2397
1929
|
}]
|
2398
1930
|
}] });
|
@@ -2405,15 +1937,15 @@ class AXPPermissionsEditorComponent {
|
|
2405
1937
|
/** Service for fetching permission groups and definitions */
|
2406
1938
|
this.permissionService = inject(AXPPermissionDefinitionService);
|
2407
1939
|
/** Currently selected permission group */
|
2408
|
-
this.selectedGroup = signal(null);
|
1940
|
+
this.selectedGroup = signal(null, ...(ngDevMode ? [{ debugName: "selectedGroup" }] : []));
|
2409
1941
|
/** All available permission groups */
|
2410
|
-
this.groups = signal([]);
|
1942
|
+
this.groups = signal([], ...(ngDevMode ? [{ debugName: "groups" }] : []));
|
2411
1943
|
/** Initial permissions to be selected - exposed as signal input */
|
2412
|
-
this.initialPermissions = input([]);
|
1944
|
+
this.initialPermissions = input([], ...(ngDevMode ? [{ debugName: "initialPermissions" }] : []));
|
2413
1945
|
/** Whether the editor is in read-only mode */
|
2414
|
-
this.readOnly = input(false);
|
1946
|
+
this.readOnly = input(false, ...(ngDevMode ? [{ debugName: "readOnly" }] : []));
|
2415
1947
|
/** List of selected permission names */
|
2416
|
-
this.selectedPermissions = signal([]);
|
1948
|
+
this.selectedPermissions = signal([], ...(ngDevMode ? [{ debugName: "selectedPermissions" }] : []));
|
2417
1949
|
/** Event emitted when permissions selection changes */
|
2418
1950
|
this.permissionsChanged = output();
|
2419
1951
|
/** Event emitted when permissions are applied/selected */
|
@@ -2424,7 +1956,7 @@ class AXPPermissionsEditorComponent {
|
|
2424
1956
|
this.items = computed(() => {
|
2425
1957
|
const permissions = this.selectedGroup()?.permissions || [];
|
2426
1958
|
return this.mapPermissions(permissions);
|
2427
|
-
});
|
1959
|
+
}, ...(ngDevMode ? [{ debugName: "items" }] : []));
|
2428
1960
|
/**
|
2429
1961
|
* Computed: Returns groups with badge counts.
|
2430
1962
|
*/
|
@@ -2437,7 +1969,7 @@ class AXPPermissionsEditorComponent {
|
|
2437
1969
|
};
|
2438
1970
|
});
|
2439
1971
|
return result;
|
2440
|
-
});
|
1972
|
+
}, ...(ngDevMode ? [{ debugName: "groupsWithBadge" }] : []));
|
2441
1973
|
}
|
2442
1974
|
// #endregion
|
2443
1975
|
// #region ---------------- Computed Properties ----------------
|
@@ -2554,14 +2086,14 @@ class AXPPermissionsEditorComponent {
|
|
2554
2086
|
}
|
2555
2087
|
this.permissionsChanged.emit(this.selectedPermissions());
|
2556
2088
|
}
|
2557
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2558
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
2089
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
2090
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXPPermissionsEditorComponent, isStandalone: true, selector: "axm-permissions-editor", inputs: { initialPermissions: { classPropertyName: "initialPermissions", publicName: "initialPermissions", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { permissionsChanged: "permissionsChanged", permissionsSelected: "permissionsSelected" }, host: { classAttribute: "ax-h-[75vh] ax-flex" }, ngImport: i0, template: "<div class=\"__groups ax-p-4 ax-min-h-full ax-w-2/5\">\n <ax-tabs location=\"start\" look=\"with-line-color\" class=\"ax-h-full\">\n @for (group of groupsWithBadge(); track $index) {\n <ax-tab-item [active]=\"group.name === selectedGroup()?.name\" [text]=\"group.title\"\n (onClick)=\"handleMenuItemClick(group)\">\n <ax-suffix>\n <ax-badge color=\"primary\" [text]=\"group.badge\"></ax-badge>\n </ax-suffix>\n </ax-tab-item>\n }\n </ax-tabs>\n</div>\n\n<div class=\"__permissions ax-flex ax-h-full ax-overflow-auto ax-flex-col ax-w-3/5 ax-border-s\">\n\n <div class=\"__header ax-p-4 ax-border-b ax-border-lightest\">\n <span class=\"ax-h6\">{{ selectedGroup()?.title! }}</span>\n </div>\n\n <div class=\"__content ax-flex ax-p-4 ax-overflow-auto\">\n\n <ul class=\"__list\">\n <ng-template #recursiveList let-items>\n @for (item of items; track $index) {\n <li class=\"__item ax-py-1 ax-ps-2\">\n\n <ax-check-box [ngModel]=\"item.isSelected\" [readonly]=\"readOnly()\"\n (onValueChanged)=\"onPermissionToggle(item, $event)\">\n <ax-label>\n {{ item.title }}\n @if (item.description) {\n <i class=\"ax-ps-2 ax-text-xs fa-light fa-circle-info\" [title]=\"item.description\"></i>\n }\n </ax-label>\n </ax-check-box>\n\n @if (item.children && item.children.length > 0) {\n <ul class=\"__children ax-p-2 ax-mt-1 ax-ms-1\">\n <ng-container\n *ngTemplateOutlet=\"recursiveList; context: { $implicit: item.children }\"></ng-container>\n </ul>\n }\n\n </li>\n }\n </ng-template>\n <ng-container *ngTemplateOutlet=\"recursiveList; context: { $implicit: items() }\"></ng-container>\n </ul>\n </div>\n</div>", styles: [".axm-permissions-editor{display:flex;height:100%;flex-direction:column}.axm-permissions-editor .__groups .__tabs{height:100%}.axm-permissions-editor .__permissions .__header .__title{font-size:1rem;font-weight:500;line-height:1rem}.axm-permissions-editor .__permissions .__content .__list{width:100%}.axm-permissions-editor .__permissions .__content .__list .__item .__children{margin-left:.5rem;border-left-width:1px;border-style:dashed;--tw-border-opacity: 1;border-color:rgba(var(--ax-sys-color-border-lighter-surface),var(--tw-border-opacity, 1))}\n"], dependencies: [{ kind: "ngmodule", type:
|
2559
2091
|
// Angular
|
2560
2092
|
CommonModule }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type:
|
2561
2093
|
// ACoreX
|
2562
2094
|
AXFormModule }, { kind: "ngmodule", type: AXTextBoxModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "component", type: i3.AXLabelComponent, selector: "ax-label", inputs: ["required", "for"], outputs: ["requiredChange"] }, { kind: "ngmodule", type: AXCheckBoxModule }, { kind: "component", type: i4.AXCheckBoxComponent, selector: "ax-check-box", inputs: ["disabled", "tabIndex", "readonly", "color", "value", "name", "id", "checked", "isLoading", "indeterminate"], outputs: ["onBlur", "onFocus", "valueChange", "onValueChanged"] }, { kind: "ngmodule", type: AXTabsModule }, { kind: "component", type: i5.AXTabsComponent, selector: "ax-tabs", inputs: ["look", "location", "fitParent", "minWidth", "content"], outputs: ["onActiveTabChanged"] }, { kind: "component", type: i5.AXTabItemComponent, selector: "ax-tab-item", inputs: ["disabled", "text", "key", "headerTemplate", "active"], outputs: ["disabledChange", "onClick", "onBlur", "onFocus", "activeChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i6.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXTooltipModule }], encapsulation: i0.ViewEncapsulation.None }); }
|
2563
2095
|
}
|
2564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
2096
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsEditorComponent, decorators: [{
|
2565
2097
|
type: Component,
|
2566
2098
|
args: [{ selector: 'axm-permissions-editor', imports: [
|
2567
2099
|
// Angular
|
@@ -2638,8 +2170,8 @@ class AXPPermissionsEditorPopupComponent extends AXPPopupLayoutBaseComponent {
|
|
2638
2170
|
this.close(selectedPermissions);
|
2639
2171
|
}
|
2640
2172
|
}
|
2641
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2642
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
2173
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsEditorPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2174
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsEditorPopupComponent, isStandalone: true, selector: "axm-permissions-editor-popup", providers: [
|
2643
2175
|
{
|
2644
2176
|
provide: AXPPopupLayoutBase,
|
2645
2177
|
useExisting: AXPPermissionsEditorPopupComponent
|
@@ -2654,7 +2186,7 @@ class AXPPermissionsEditorPopupComponent extends AXPPopupLayoutBaseComponent {
|
|
2654
2186
|
// Local
|
2655
2187
|
AXPPermissionsEditorComponent, selector: "axm-permissions-editor", inputs: ["initialPermissions", "readOnly"], outputs: ["permissionsChanged", "permissionsSelected"] }, { kind: "component", type: AXPThemeLayoutBlockComponent, selector: " axp-page-content, axp-page-footer-container, axp-page-footer, axp-page-header, axp-page-header-container, axp-page-toolbar, axp-layout-content, axp-layout-page-content, axp-layout-sections, axp-layout-body, axp-layout-page-body, axp-layout-prefix, axp-layout-suffix, axp-layout-title-bar, axp-layout-title, axp-layout-title-actions, axp-layout-nav-button, axp-layout-description, axp-layout-breadcrumbs, axp-layout-list-action, " }], encapsulation: i0.ViewEncapsulation.None }); }
|
2656
2188
|
}
|
2657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
2189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsEditorPopupComponent, decorators: [{
|
2658
2190
|
type: Component,
|
2659
2191
|
args: [{ selector: 'axm-permissions-editor-popup', imports: [
|
2660
2192
|
// Angular
|
@@ -2687,14 +2219,14 @@ class AXPPermissionsWidgetViewComponent extends AXPValueWidgetComponent {
|
|
2687
2219
|
super(...arguments);
|
2688
2220
|
this.permissionService = inject(AXPPermissionDefinitionService);
|
2689
2221
|
this.workflowService = inject(AXPWorkflowService);
|
2690
|
-
this.groups = signal([]);
|
2222
|
+
this.groups = signal([], ...(ngDevMode ? [{ debugName: "groups" }] : []));
|
2691
2223
|
this.loadGroupsEffect = effect(async () => {
|
2692
2224
|
// Load groups when component initializes
|
2693
2225
|
if (this.groups().length === 0) {
|
2694
2226
|
const groupsData = await this.permissionService.getGroups();
|
2695
2227
|
this.groups.set(groupsData);
|
2696
2228
|
}
|
2697
|
-
});
|
2229
|
+
}, ...(ngDevMode ? [{ debugName: "loadGroupsEffect" }] : []));
|
2698
2230
|
this.selectedPermissionsByGroup = computed(() => {
|
2699
2231
|
const selected = new Set(this.getValue() ?? []);
|
2700
2232
|
const result = {};
|
@@ -2720,18 +2252,18 @@ class AXPPermissionsWidgetViewComponent extends AXPValueWidgetComponent {
|
|
2720
2252
|
result[group.name] = permPaths;
|
2721
2253
|
}
|
2722
2254
|
return result;
|
2723
|
-
});
|
2255
|
+
}, ...(ngDevMode ? [{ debugName: "selectedPermissionsByGroup" }] : []));
|
2724
2256
|
this.isEmpty = computed(() => {
|
2725
2257
|
return Object.values(this.selectedPermissionsByGroup()).every(arr => !arr.length);
|
2726
|
-
});
|
2258
|
+
}, ...(ngDevMode ? [{ debugName: "isEmpty" }] : []));
|
2727
2259
|
}
|
2728
2260
|
async openPermissionsEditor() {
|
2729
2261
|
await this.workflowService.execute('assign-permissions', {
|
2730
2262
|
data: this.contextService.data(),
|
2731
2263
|
});
|
2732
2264
|
}
|
2733
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2734
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.
|
2265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2266
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: AXPPermissionsWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
2735
2267
|
<!-- <axm-permissions-editor
|
2736
2268
|
[initialPermissions]="getValue() || []"
|
2737
2269
|
[readOnly]="true">
|
@@ -2751,9 +2283,9 @@ class AXPPermissionsWidgetViewComponent extends AXPValueWidgetComponent {
|
|
2751
2283
|
<div class="ax-text-muted">{{'@security-management:features.permissions.no-permissions' | translate | async}}</div>
|
2752
2284
|
}
|
2753
2285
|
</div>
|
2754
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "
|
2286
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2755
2287
|
}
|
2756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
2288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetViewComponent, decorators: [{
|
2757
2289
|
type: Component,
|
2758
2290
|
args: [{
|
2759
2291
|
template: `
|
@@ -2796,8 +2328,8 @@ class AXPPermissionsWidgetEditComponent extends AXPValueWidgetComponent {
|
|
2796
2328
|
onPermissionsChanged(permissions) {
|
2797
2329
|
this.setValue(permissions);
|
2798
2330
|
}
|
2799
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2800
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
2331
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2332
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
2801
2333
|
<axm-permissions-editor
|
2802
2334
|
[initialPermissions]="getValue() || []"
|
2803
2335
|
[readOnly]="false"
|
@@ -2809,7 +2341,7 @@ class AXPPermissionsWidgetEditComponent extends AXPValueWidgetComponent {
|
|
2809
2341
|
// Local
|
2810
2342
|
AXPPermissionsEditorComponent, selector: "axm-permissions-editor", inputs: ["initialPermissions", "readOnly"], outputs: ["permissionsChanged", "permissionsSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2811
2343
|
}
|
2812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
2344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetEditComponent, decorators: [{
|
2813
2345
|
type: Component,
|
2814
2346
|
args: [{
|
2815
2347
|
template: `
|
@@ -2838,7 +2370,7 @@ var permissionsWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
|
2838
2370
|
class AXPPermissionsWidgetColumnComponent extends AXPColumnWidgetComponent {
|
2839
2371
|
constructor() {
|
2840
2372
|
super(...arguments);
|
2841
|
-
this.count = computed(() => castArray(this.rawValue).length);
|
2373
|
+
this.count = computed(() => castArray(this.rawValue).length, ...(ngDevMode ? [{ debugName: "count" }] : []));
|
2842
2374
|
this.workflowService = inject(AXPWorkflowService);
|
2843
2375
|
}
|
2844
2376
|
async openPermissionsEditor() {
|
@@ -2846,12 +2378,12 @@ class AXPPermissionsWidgetColumnComponent extends AXPColumnWidgetComponent {
|
|
2846
2378
|
data: this.rowData
|
2847
2379
|
});
|
2848
2380
|
}
|
2849
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2850
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
2381
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2382
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
|
2851
2383
|
<span class="ax-cursor-pointer ax-text-primary ax-underline" (click)="openPermissionsEditor()">{{count()}} {{'@security-management:features.permissions.terms.permissions' | translate | async}}</span>
|
2852
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "
|
2384
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2853
2385
|
}
|
2854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
2386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetColumnComponent, decorators: [{
|
2855
2387
|
type: Component,
|
2856
2388
|
args: [{
|
2857
2389
|
template: `
|
@@ -2870,10 +2402,10 @@ var permissionsWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
|
2870
2402
|
});
|
2871
2403
|
|
2872
2404
|
class AXPPermissionsWidgetPrintComponent extends AXPLayoutWidgetComponent {
|
2873
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2874
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
2405
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2406
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2875
2407
|
}
|
2876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
2408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, decorators: [{
|
2877
2409
|
type: Component,
|
2878
2410
|
args: [{
|
2879
2411
|
template: ``,
|
@@ -2890,10 +2422,10 @@ var permissionsWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
|
2890
2422
|
});
|
2891
2423
|
|
2892
2424
|
class AXPPermissionsWidgetDesignerComponent extends AXPLayoutWidgetComponent {
|
2893
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
2894
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.
|
2425
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2426
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: AXPPermissionsWidgetDesignerComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2895
2427
|
}
|
2896
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
2428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AXPPermissionsWidgetDesignerComponent, decorators: [{
|
2897
2429
|
type: Component,
|
2898
2430
|
args: [{
|
2899
2431
|
template: ``,
|
@@ -2914,5 +2446,5 @@ var permissionsWidgetDesigner_component = /*#__PURE__*/Object.freeze({
|
|
2914
2446
|
* Generated bundle index. Do not edit.
|
2915
2447
|
*/
|
2916
2448
|
|
2917
|
-
export {
|
2449
|
+
export { AXMPermissionsModule, AXMSecurityManagementModule, AXMSecurityManagementRolesEntityService, AXMSecurityManagementRolesEntityServiceImpl, AXMUsersEntityService, AXMUsersEntityServiceImpl, AXPPermissionsEditorComponent, AXPPermissionsEditorPopupComponent, AXPPermissionsWidget, AXPPermissionsWidgetColumnComponent, AXPPermissionsWidgetDesignerComponent, AXPPermissionsWidgetEditComponent, AXPPermissionsWidgetPrintComponent, AXPPermissionsWidgetViewComponent, AXPSecurityManagementMenuKeys, RootConfig };
|
2918
2450
|
//# sourceMappingURL=acorex-modules-security-management.mjs.map
|