@acorex/modules 20.0.5 → 20.0.7
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 +22 -2
- package/contact-management/README.md +568 -0
- package/contact-management/index.d.ts +263 -0
- package/conversation/index.d.ts +364 -391
- package/document-management/index.d.ts +5 -1
- package/fesm2022/{acorex-modules-application-management-module-designer.component-CvFiEI1a.mjs → acorex-modules-application-management-module-designer.component-BErRgx0w.mjs} +7 -7
- package/fesm2022/{acorex-modules-application-management-module-designer.component-CvFiEI1a.mjs.map → acorex-modules-application-management-module-designer.component-BErRgx0w.mjs.map} +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +41 -42
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-B10cRw3M.mjs → acorex-modules-auth-acorex-modules-auth-X866H4oy.mjs} +44 -44
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-X866H4oy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-C-HPf2jz.mjs → acorex-modules-auth-app-chooser.component-DqKTfLA2.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-app-chooser.component-C-HPf2jz.mjs.map → acorex-modules-auth-app-chooser.component-DqKTfLA2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-blank.layout-C5d42pO1.mjs → acorex-modules-auth-blank.layout-D2qSgxTy.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-blank.layout-C5d42pO1.mjs.map → acorex-modules-auth-blank.layout-D2qSgxTy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-eC1_ukrb.mjs → acorex-modules-auth-login.module-CWOYzn0L.mjs} +8 -8
- package/fesm2022/{acorex-modules-auth-login.module-eC1_ukrb.mjs.map → acorex-modules-auth-login.module-CWOYzn0L.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-DpfqRgAl.mjs → acorex-modules-auth-master.layout-384T0lIg.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-master.layout-DpfqRgAl.mjs.map → acorex-modules-auth-master.layout-384T0lIg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-rE9yrcGW.mjs → acorex-modules-auth-password.component-BW_ooTQG.mjs} +5 -5
- package/fesm2022/acorex-modules-auth-password.component-BW_ooTQG.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-password.component-DAB9dWB8.mjs → acorex-modules-auth-password.component-JG95JpLz.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-password.component-DAB9dWB8.mjs.map → acorex-modules-auth-password.component-JG95JpLz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-EGvejNu9.mjs → acorex-modules-auth-routes-DqKtHu-i.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-EGvejNu9.mjs.map → acorex-modules-auth-routes-DqKtHu-i.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-fmuXNByb.mjs → acorex-modules-auth-tenant-chooser.component-C0jxaqqg.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-fmuXNByb.mjs.map → acorex-modules-auth-tenant-chooser.component-C0jxaqqg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-JYtAQ3qF.mjs → acorex-modules-auth-two-factor-code.component-D7KOomHD.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-two-factor-code.component-JYtAQ3qF.mjs.map → acorex-modules-auth-two-factor-code.component-D7KOomHD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-DF3_fgzH.mjs → acorex-modules-auth-two-factor.module-C88pXqao.mjs} +7 -7
- package/fesm2022/{acorex-modules-auth-two-factor.module-DF3_fgzH.mjs.map → acorex-modules-auth-two-factor.module-C88pXqao.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BPb-WS4k.mjs → acorex-modules-auth-user-sessions.component-loloVwv0.mjs} +5 -5
- package/fesm2022/{acorex-modules-auth-user-sessions.component-BPb-WS4k.mjs.map → acorex-modules-auth-user-sessions.component-loloVwv0.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/{acorex-modules-common-search-popup.component-B5JU9uH9.mjs → acorex-modules-common-search-popup.component-CCKiQx0U.mjs} +8 -8
- package/fesm2022/{acorex-modules-common-search-popup.component-B5JU9uH9.mjs.map → acorex-modules-common-search-popup.component-CCKiQx0U.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-DzvUTy5z.mjs → acorex-modules-common-timeline-version-history-popup.component-DJOcjquG.mjs} +8 -8
- package/fesm2022/{acorex-modules-common-timeline-version-history-popup.component-DzvUTy5z.mjs.map → acorex-modules-common-timeline-version-history-popup.component-DJOcjquG.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +215 -86
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-contact-management-address-type.entity-QMEODkhx.mjs +489 -0
- package/fesm2022/acorex-modules-contact-management-address-type.entity-QMEODkhx.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-contact-address.entity-0f4Vaw_k.mjs +827 -0
- package/fesm2022/acorex-modules-contact-management-contact-address.entity-0f4Vaw_k.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-ChEz1jW0.mjs +509 -0
- package/fesm2022/acorex-modules-contact-management-contact-method.entity-ChEz1jW0.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-contact-relationship.entity-DLfiEEfk.mjs +469 -0
- package/fesm2022/acorex-modules-contact-management-contact-relationship.entity-DLfiEEfk.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management-contact-source.entity-hopVxiIT.mjs +489 -0
- package/fesm2022/acorex-modules-contact-management-contact-source.entity-hopVxiIT.mjs.map +1 -0
- package/fesm2022/acorex-modules-contact-management.mjs +2332 -0
- package/fesm2022/acorex-modules-contact-management.mjs.map +1 -0
- package/fesm2022/acorex-modules-content-management.mjs +119 -55
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +2225 -2073
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +84 -84
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-ClH75xx1.mjs → acorex-modules-document-management-acorex-modules-document-management-C4cvhxSV.mjs} +310 -235
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-C4cvhxSV.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-B_tjfzIn.mjs → acorex-modules-document-management-attachment-widget.component-B5txg8z0.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-B_tjfzIn.mjs.map → acorex-modules-document-management-attachment-widget.component-B5txg8z0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DNdRcCAs.mjs → acorex-modules-document-management-create-folder-dialog.component-LfnTz49a.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DNdRcCAs.mjs.map → acorex-modules-document-management-create-folder-dialog.component-LfnTz49a.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-JsK1UgZh.mjs → acorex-modules-document-management-details-view.component-Co5F8eWp.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-details-view.component-JsK1UgZh.mjs.map → acorex-modules-document-management-details-view.component-Co5F8eWp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DJT9oLek.mjs → acorex-modules-document-management-drive-choose.component-DFRdS7s1.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-DJT9oLek.mjs.map → acorex-modules-document-management-drive-choose.component-DFRdS7s1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DYxpvUWX.mjs → acorex-modules-document-management-drive.component-jGs09Jrd.mjs} +8 -8
- package/fesm2022/{acorex-modules-document-management-drive.component-DYxpvUWX.mjs.map → acorex-modules-document-management-drive.component-jGs09Jrd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-B324V2hL.mjs → acorex-modules-document-management-large-icons-view.component-DD9_xgL4.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-B324V2hL.mjs.map → acorex-modules-document-management-large-icons-view.component-DD9_xgL4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-V5gHyu9X.mjs → acorex-modules-document-management-large-tiles-view.component-CNBUzaUz.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-V5gHyu9X.mjs.map → acorex-modules-document-management-large-tiles-view.component-CNBUzaUz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-B-BzU_4Y.mjs → acorex-modules-document-management-link-dialog.component-CXzR7mUW.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-link-dialog.component-B-BzU_4Y.mjs.map → acorex-modules-document-management-link-dialog.component-CXzR7mUW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-Bm2EH2aT.mjs → acorex-modules-document-management-list-view.component-D4DbyB6W.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-list-view.component-Bm2EH2aT.mjs.map → acorex-modules-document-management-list-view.component-D4DbyB6W.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-CmMvrfKW.mjs +315 -0
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-CmMvrfKW.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-BDhqsc2j.mjs → acorex-modules-document-management-meta-selector-widget-column.component-DHQjyq8s.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-column.component-BDhqsc2j.mjs.map → acorex-modules-document-management-meta-selector-widget-column.component-DHQjyq8s.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-C4GC0GbF.mjs → acorex-modules-document-management-meta-selector-widget-designer.component-Cc6n71wn.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-meta-selector-widget-designer.component-C4GC0GbF.mjs.map → acorex-modules-document-management-meta-selector-widget-designer.component-Cc6n71wn.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-view.component-D88h9eR6.mjs +31 -0
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-view.component-D88h9eR6.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-DGqVDVLJ.mjs → acorex-modules-document-management-permission-definition.provider-DoOyhnwQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-DGqVDVLJ.mjs.map → acorex-modules-document-management-permission-definition.provider-DoOyhnwQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-LgpvDguk.mjs → acorex-modules-document-management-rename-node-dialog.component-JDZWsFXL.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-LgpvDguk.mjs.map → acorex-modules-document-management-rename-node-dialog.component-JDZWsFXL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-DzuYhAD4.mjs → acorex-modules-document-management-share-dialog.component-DTzXwqHw.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-share-dialog.component-DzuYhAD4.mjs.map → acorex-modules-document-management-share-dialog.component-DTzXwqHw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-DNN_3JF2.mjs → acorex-modules-document-management-share-email-dialog.component-BaNzKKG4.mjs} +4 -4
- package/fesm2022/{acorex-modules-document-management-share-email-dialog.component-DNN_3JF2.mjs.map → acorex-modules-document-management-share-email-dialog.component-BaNzKKG4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-BwFoe1vd.mjs → acorex-modules-document-management-small-icons-view.component-BNTmgtYr.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-BwFoe1vd.mjs.map → acorex-modules-document-management-small-icons-view.component-BNTmgtYr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-B5gp0wus.mjs → acorex-modules-document-management-small-tiles-view.component-CbCBAKyR.mjs} +5 -5
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-B5gp0wus.mjs.map → acorex-modules-document-management-small-tiles-view.component-CbCBAKyR.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-B3o427If.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-BsAsK1EG.mjs} +58 -57
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-B3o427If.mjs.map → acorex-modules-form-template-management-acorex-modules-form-template-management-BsAsK1EG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-category.entity-B7dGrmoa.mjs → acorex-modules-form-template-management-category.entity-B3iAtREq.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-category.entity-B7dGrmoa.mjs.map → acorex-modules-form-template-management-category.entity-B3iAtREq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-designer.page-DaTGU3w_.mjs → acorex-modules-form-template-management-designer.page-B-TIUKl7.mjs} +4 -4
- package/fesm2022/{acorex-modules-form-template-management-designer.page-DaTGU3w_.mjs.map → acorex-modules-form-template-management-designer.page-B-TIUKl7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CjjlgO0w.mjs → acorex-modules-form-template-management-permission-definition.provider-CTG95UDp.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-permission-definition.provider-CjjlgO0w.mjs.map → acorex-modules-form-template-management-permission-definition.provider-CTG95UDp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CiSjuHGI.mjs → acorex-modules-form-template-management-settings.provider-BmFufTUd.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CiSjuHGI.mjs.map → acorex-modules-form-template-management-settings.provider-BmFufTUd.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-CQZ37yC2.mjs → acorex-modules-form-template-management-template-picker.component-CNwhdnGC.mjs} +4 -4
- package/fesm2022/{acorex-modules-form-template-management-template-picker.component-CQZ37yC2.mjs.map → acorex-modules-form-template-management-template-picker.component-CNwhdnGC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DUeV0yO8.mjs → acorex-modules-form-template-management-template-widget-edit.component-BNIx16WW.mjs} +5 -5
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-DUeV0yO8.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BNIx16WW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-Cps77n3G.mjs → acorex-modules-form-template-management-template.entity-BGsixiEI.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-Cps77n3G.mjs.map → acorex-modules-form-template-management-template.entity-BGsixiEI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-K2ZznaDw.mjs → acorex-modules-form-template-management-viewer-popup.component-CzjuUz4o.mjs} +9 -6
- package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-CzjuUz4o.mjs.map +1 -0
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-Blyh8QVB.mjs → acorex-modules-issue-management-acorex-modules-issue-management-C2JoHgaa.mjs} +24 -24
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-Blyh8QVB.mjs.map → acorex-modules-issue-management-acorex-modules-issue-management-C2JoHgaa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-BzUN6Cty.mjs → acorex-modules-issue-management-capture-screen.component-DTtUkL78.mjs} +5 -5
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-BzUN6Cty.mjs.map → acorex-modules-issue-management-capture-screen.component-DTtUkL78.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +10 -10
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +35 -35
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-item.component-COUAmxM8.mjs → acorex-modules-organization-management-add-item.component-D99TugmE.mjs} +4 -4
- package/fesm2022/{acorex-modules-organization-management-add-item.component-COUAmxM8.mjs.map → acorex-modules-organization-management-add-item.component-D99TugmE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjGUUbel.mjs → acorex-modules-organization-management-org-chart-configuration.page-DTNqHbxt.mjs} +5 -5
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.page-DjGUUbel.mjs.map → acorex-modules-organization-management-org-chart-configuration.page-DTNqHbxt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-DeoDX_ir.mjs → acorex-modules-organization-management-org-chart-configuration.service-BSO0GrAW.mjs} +4 -4
- package/fesm2022/{acorex-modules-organization-management-org-chart-configuration.service-DeoDX_ir.mjs.map → acorex-modules-organization-management-org-chart-configuration.service-BSO0GrAW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-xlNWhN4W.mjs → acorex-modules-organization-management-org-chart.page-ioMhEPnQ.mjs} +12 -12
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-xlNWhN4W.mjs.map → acorex-modules-organization-management-org-chart.page-ioMhEPnQ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-role.entity-BDErzNv-.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +122 -122
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DqpAYmHM.mjs → acorex-modules-platform-management-acorex-modules-platform-management-CFoPmixl.mjs} +933 -315
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-CFoPmixl.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DidjxkmH.mjs → acorex-modules-platform-management-list-version.component-D0-Ya-Yx.mjs} +7 -7
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DidjxkmH.mjs.map → acorex-modules-platform-management-list-version.component-D0-Ya-Yx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-DcHKHrSK.mjs → acorex-modules-platform-management-settings.provider--ARXqBUY.mjs} +35 -25
- package/fesm2022/acorex-modules-platform-management-settings.provider--ARXqBUY.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management.mjs +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-LrE6TkIp.mjs +302 -0
- package/fesm2022/acorex-modules-report-management-report-create-root.component-LrE6TkIp.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BntIoMfN.mjs +617 -0
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BntIoMfN.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management-run.command-CoXvPC15.mjs +20 -0
- package/fesm2022/acorex-modules-report-management-run.command-CoXvPC15.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +976 -0
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -0
- 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 +624 -120
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-B2CEFpES.mjs → acorex-modules-settings-management-setting-page.component-BKwKLUpD.mjs} +4 -4
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-B2CEFpES.mjs.map → acorex-modules-settings-management-setting-page.component-BKwKLUpD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-DnD83gFz.mjs → acorex-modules-settings-management-setting-view.component-Dco7MvZr.mjs} +4 -4
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-DnD83gFz.mjs.map → acorex-modules-settings-management-setting-view.component-Dco7MvZr.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +6 -6
- package/fesm2022/acorex-modules-settings-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-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 -44
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-ChW_Hwf2.mjs +762 -0
- package/fesm2022/acorex-modules-workflow-management-task-board.page-ChW_Hwf2.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +12 -12
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/package.json +9 -1
- package/platform-management/index.d.ts +235 -8
- package/report-management/README.md +356 -0
- package/report-management/index.d.ts +46 -0
- package/security-management/index.d.ts +162 -2
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-B10cRw3M.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-password.component-rE9yrcGW.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-ClH75xx1.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-lock-dialog.component-DvZ-vrUE.mjs +0 -51
- package/fesm2022/acorex-modules-document-management-lock-dialog.component-DvZ-vrUE.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-q6mDKrFi.mjs +0 -190
- package/fesm2022/acorex-modules-document-management-meta-choose-popup.component-q6mDKrFi.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-view.component-rlSWRGGl.mjs +0 -32
- package/fesm2022/acorex-modules-document-management-meta-selector-widget-view.component-rlSWRGGl.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-unlock-dialog.component-B_TMgAl1.mjs +0 -36
- package/fesm2022/acorex-modules-document-management-unlock-dialog.component-B_TMgAl1.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-viewer-popup.component-K2ZznaDw.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DqpAYmHM.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-settings.provider-DcHKHrSK.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-editor.component-B4TdyHtv.mjs +0 -218
- package/fesm2022/acorex-modules-security-management-permissions-editor.component-B4TdyHtv.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-column.component-DTMj6gxb.mjs +0 -41
- package/fesm2022/acorex-modules-security-management-permissions-widget-column.component-DTMj6gxb.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-designer.component-BJdbKpRQ.mjs +0 -20
- package/fesm2022/acorex-modules-security-management-permissions-widget-designer.component-BJdbKpRQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-edit.component-GTmDlgWW.mjs +0 -51
- package/fesm2022/acorex-modules-security-management-permissions-widget-edit.component-GTmDlgWW.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-print.component-BZ75aI18.mjs +0 -21
- package/fesm2022/acorex-modules-security-management-permissions-widget-print.component-BZ75aI18.mjs.map +0 -1
- package/fesm2022/acorex-modules-security-management-permissions-widget-view.component-CYQqerAX.mjs +0 -20
- package/fesm2022/acorex-modules-security-management-permissions-widget-view.component-CYQqerAX.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-task-board.page-R4x5Rq-D.mjs +0 -494
- package/fesm2022/acorex-modules-workflow-management-task-board.page-R4x5Rq-D.mjs.map +0 -1
@@ -1,19 +1,40 @@
|
|
1
1
|
import { createAllQueryView, AXPEntityCommandScope, AXPEntityQueryType, AXPSearchCommandProvider, AXPRefreshEvent, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER } from '@acorex/platform/common';
|
2
2
|
import * as i2 from '@acorex/platform/layout/builder';
|
3
|
-
import { AXPWidgetsCatalog, AXPWidgetGroupEnum, AXPLayoutBuilderModule } from '@acorex/platform/layout/builder';
|
3
|
+
import { AXPWidgetsCatalog, AXPWidgetGroupEnum, AXPLayoutBuilderModule, AXPValueWidgetComponent, AXPColumnWidgetComponent, AXPLayoutWidgetComponent } from '@acorex/platform/layout/builder';
|
4
4
|
import { AXMEntityCrudServiceImpl, AXPEntityService, AXPEntityResolver, AXPEntityDefinitionRegistryService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
5
5
|
import * as i0 from '@angular/core';
|
6
|
-
import { Injectable, NgModule, inject, Injector } from '@angular/core';
|
6
|
+
import { Injectable, NgModule, inject, Injector, signal, input, output, computed, ViewEncapsulation, Component, ViewChild, effect, ChangeDetectionStrategy } from '@angular/core';
|
7
7
|
import * as i1 from '@acorex/platform/workflow';
|
8
|
-
import { createWorkFlowEvent, AXPWorkflowAction, AXPWorkflowModule } from '@acorex/platform/workflow';
|
8
|
+
import { createWorkFlowEvent, AXPWorkflowAction, AXPWorkflowModule, AXPWorkflowService } from '@acorex/platform/workflow';
|
9
9
|
import { AXPSessionService, AXPPermissionDefinitionService } from '@acorex/platform/auth';
|
10
10
|
import { AXDataSource } from '@acorex/cdk/common';
|
11
11
|
import { AXDialogService } from '@acorex/components/dialog';
|
12
12
|
import { AXLoadingDialogService } from '@acorex/components/loading-dialog';
|
13
|
-
import
|
14
|
-
import {
|
13
|
+
import * as i3$1 from '@acorex/core/translation';
|
14
|
+
import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
|
15
|
+
import { AXP_USER_AVATAR_PROVIDER, AXPThemeLayoutBlockComponent } from '@acorex/platform/layout/components';
|
15
16
|
import { AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_DISABLED_PROPERTY } from '@acorex/platform/widgets';
|
16
17
|
import { AXPopupService } from '@acorex/components/popup';
|
18
|
+
import * as i1$1 from '@angular/common';
|
19
|
+
import { CommonModule } from '@angular/common';
|
20
|
+
import { AXFormModule } from '@acorex/components/form';
|
21
|
+
import { AXButtonModule } from '@acorex/components/button';
|
22
|
+
import { AXTextBoxModule } from '@acorex/components/text-box';
|
23
|
+
import * as i4 from '@acorex/components/check-box';
|
24
|
+
import { AXCheckBoxModule } from '@acorex/components/check-box';
|
25
|
+
import * as i3 from '@acorex/components/label';
|
26
|
+
import { AXLabelModule } from '@acorex/components/label';
|
27
|
+
import * as i6 from '@acorex/components/decorators';
|
28
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
29
|
+
import * as i5 from '@acorex/components/tabs';
|
30
|
+
import { AXTabsModule } from '@acorex/components/tabs';
|
31
|
+
import * as i7 from '@acorex/components/badge';
|
32
|
+
import { AXBadgeModule } from '@acorex/components/badge';
|
33
|
+
import * as i2$1 from '@angular/forms';
|
34
|
+
import { FormsModule } from '@angular/forms';
|
35
|
+
import { AXTooltipModule } from '@acorex/components/tooltip';
|
36
|
+
import { AXPPopupLayoutBaseComponent, AXPPopupLayoutComponent, AXPPopupLayoutBase } from '@acorex/platform/layout/views';
|
37
|
+
import { castArray } from 'lodash-es';
|
17
38
|
|
18
39
|
const config = {
|
19
40
|
i18n: 'security-management',
|
@@ -61,10 +82,10 @@ class AXMDeviceSessionsServiceImpl extends AXMDeviceSessionsService {
|
|
61
82
|
terminate(id) {
|
62
83
|
throw new Error('Method not implemented.');
|
63
84
|
}
|
64
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
65
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
85
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMDeviceSessionsServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
86
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMDeviceSessionsServiceImpl }); }
|
66
87
|
}
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMDeviceSessionsServiceImpl, decorators: [{
|
68
89
|
type: Injectable
|
69
90
|
}], ctorParameters: () => [] });
|
70
91
|
|
@@ -583,16 +604,16 @@ var deviceSessions_entity = /*#__PURE__*/Object.freeze({
|
|
583
604
|
});
|
584
605
|
|
585
606
|
class AXMSecurityManagementDeviceSessionsEntityModule {
|
586
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
587
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
588
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
607
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
608
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule }); }
|
609
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule, providers: [
|
589
610
|
{
|
590
611
|
provide: AXMDeviceSessionsService,
|
591
612
|
useClass: AXMDeviceSessionsServiceImpl,
|
592
613
|
},
|
593
614
|
] }); }
|
594
615
|
}
|
595
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementDeviceSessionsEntityModule, decorators: [{
|
596
617
|
type: NgModule,
|
597
618
|
args: [{
|
598
619
|
imports: [],
|
@@ -620,10 +641,10 @@ class AXMSecurityManagementRolesEntityServiceImpl extends AXMSecurityManagementR
|
|
620
641
|
constructor() {
|
621
642
|
super(`${RootConfig.module.name}.${RootConfig.entities.roles.name}`);
|
622
643
|
}
|
623
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
624
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
644
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
645
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl }); }
|
625
646
|
}
|
626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
647
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementRolesEntityServiceImpl, decorators: [{
|
627
648
|
type: Injectable
|
628
649
|
}], ctorParameters: () => [] });
|
629
650
|
|
@@ -633,10 +654,10 @@ class AXMUsersEntityServiceImpl extends AXMUsersEntityService {
|
|
633
654
|
constructor() {
|
634
655
|
super(`${RootConfig.module.name}.${RootConfig.entities.users.name}`);
|
635
656
|
}
|
636
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
637
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
657
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMUsersEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
658
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMUsersEntityServiceImpl }); }
|
638
659
|
}
|
639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMUsersEntityServiceImpl, decorators: [{
|
640
661
|
type: Injectable
|
641
662
|
}], ctorParameters: () => [] });
|
642
663
|
|
@@ -673,10 +694,10 @@ class AXMEntityProvider {
|
|
673
694
|
}
|
674
695
|
return null;
|
675
696
|
}
|
676
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
677
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
697
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
698
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMEntityProvider }); }
|
678
699
|
}
|
679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMEntityProvider, decorators: [{
|
680
701
|
type: Injectable
|
681
702
|
}] });
|
682
703
|
|
@@ -932,12 +953,6 @@ async function factory$2(injector) {
|
|
932
953
|
interface: {
|
933
954
|
type: AXPWidgetsCatalog.select,
|
934
955
|
options: {
|
935
|
-
triggers: [
|
936
|
-
{
|
937
|
-
event: "{{ events.context('lastName') }}",
|
938
|
-
action: `{{console.log(context.eval('lastName'))}}`,
|
939
|
-
},
|
940
|
-
],
|
941
956
|
dataSource: new AXDataSource({
|
942
957
|
load: async () => {
|
943
958
|
const rolesEntity = await entityResolver.get(RootConfig.module.name, 'roles');
|
@@ -1319,16 +1334,16 @@ var users_entity = /*#__PURE__*/Object.freeze({
|
|
1319
1334
|
});
|
1320
1335
|
|
1321
1336
|
class AXMSecurityManagementUsersEntityModule {
|
1322
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
1323
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
1324
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
1337
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1338
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementUsersEntityModule }); }
|
1339
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, providers: [
|
1325
1340
|
{
|
1326
1341
|
provide: AXMUsersEntityService,
|
1327
1342
|
useClass: AXMUsersEntityServiceImpl,
|
1328
1343
|
},
|
1329
1344
|
] }); }
|
1330
1345
|
}
|
1331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
1346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementUsersEntityModule, decorators: [{
|
1332
1347
|
type: NgModule,
|
1333
1348
|
args: [{
|
1334
1349
|
imports: [],
|
@@ -1568,11 +1583,11 @@ var profile_entity = /*#__PURE__*/Object.freeze({
|
|
1568
1583
|
});
|
1569
1584
|
|
1570
1585
|
class AXMSecurityManagementProfileEntityModule {
|
1571
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
1572
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
1573
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
1586
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementProfileEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1587
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementProfileEntityModule }); }
|
1588
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementProfileEntityModule }); }
|
1574
1589
|
}
|
1575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
1590
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementProfileEntityModule, decorators: [{
|
1576
1591
|
type: NgModule,
|
1577
1592
|
args: [{
|
1578
1593
|
imports: [],
|
@@ -1613,15 +1628,13 @@ async function factory(injector) {
|
|
1613
1628
|
groupId: 'info',
|
1614
1629
|
schema: {
|
1615
1630
|
dataType: 'string',
|
1616
|
-
|
1617
|
-
|
1631
|
+
hidden: true,
|
1632
|
+
nullable: false,
|
1633
|
+
readonly: true,
|
1634
|
+
unique: {
|
1635
|
+
enabled: true,
|
1618
1636
|
},
|
1619
1637
|
},
|
1620
|
-
validations: [
|
1621
|
-
{
|
1622
|
-
rule: 'required',
|
1623
|
-
},
|
1624
|
-
],
|
1625
1638
|
},
|
1626
1639
|
{
|
1627
1640
|
name: 'title',
|
@@ -1671,54 +1684,6 @@ async function factory(injector) {
|
|
1671
1684
|
},
|
1672
1685
|
},
|
1673
1686
|
},
|
1674
|
-
// {
|
1675
|
-
// name: 'disabled',
|
1676
|
-
// title: `t("active", {scope:"${i18n}"})`,
|
1677
|
-
// groupId: 'info',
|
1678
|
-
// options: {
|
1679
|
-
// filter: {
|
1680
|
-
// advance: {
|
1681
|
-
// enabled: true,
|
1682
|
-
// },
|
1683
|
-
// },
|
1684
|
-
// },
|
1685
|
-
// schema: {
|
1686
|
-
// dataType: 'boolean',
|
1687
|
-
// interface: {
|
1688
|
-
// type: AXPWidgetsCatalog.checkbox,
|
1689
|
-
// options: {
|
1690
|
-
// negative: true,
|
1691
|
-
// },
|
1692
|
-
// },
|
1693
|
-
// },
|
1694
|
-
// },
|
1695
|
-
// {
|
1696
|
-
// name: 'permissions',
|
1697
|
-
// title: `t("permissions", { scope: "${i18n}" })`,
|
1698
|
-
// groupId: 'permissions',
|
1699
|
-
// schema: {
|
1700
|
-
// dataType: 'string',
|
1701
|
-
// interface: {
|
1702
|
-
// type: AXPWidgetsCatalog.select,
|
1703
|
-
// options: {
|
1704
|
-
// dataSource: new AXDataSource({
|
1705
|
-
// load: async () => {
|
1706
|
-
// const permissions = await permissionService.getPermissions();
|
1707
|
-
// return {
|
1708
|
-
// items: permissions,
|
1709
|
-
// total: permissions.length,
|
1710
|
-
// };
|
1711
|
-
// },
|
1712
|
-
// pageSize: 1000,
|
1713
|
-
// key: 'name',
|
1714
|
-
// }),
|
1715
|
-
// valueField: 'name',
|
1716
|
-
// textField: 'title',
|
1717
|
-
// multiple: true,
|
1718
|
-
// },
|
1719
|
-
// },
|
1720
|
-
// },
|
1721
|
-
// },
|
1722
1687
|
{
|
1723
1688
|
name: 'permissions',
|
1724
1689
|
title: `t("permissions", { scope: "${i18n}" })`,
|
@@ -1853,7 +1818,7 @@ async function factory(injector) {
|
|
1853
1818
|
},
|
1854
1819
|
},
|
1855
1820
|
{
|
1856
|
-
name: '
|
1821
|
+
name: 'description',
|
1857
1822
|
layout: {
|
1858
1823
|
positions: {
|
1859
1824
|
lg: {
|
@@ -1863,7 +1828,7 @@ async function factory(injector) {
|
|
1863
1828
|
},
|
1864
1829
|
},
|
1865
1830
|
{
|
1866
|
-
name: '
|
1831
|
+
name: 'permissions',
|
1867
1832
|
layout: {
|
1868
1833
|
positions: {
|
1869
1834
|
lg: {
|
@@ -1922,6 +1887,9 @@ async function factory(injector) {
|
|
1922
1887
|
{
|
1923
1888
|
name: 'permissions',
|
1924
1889
|
layout: {
|
1890
|
+
label: {
|
1891
|
+
visible: false,
|
1892
|
+
},
|
1925
1893
|
positions: {
|
1926
1894
|
lg: {
|
1927
1895
|
colSpan: 12,
|
@@ -1979,6 +1947,28 @@ async function factory(injector) {
|
|
1979
1947
|
type: 'view',
|
1980
1948
|
scope: AXPEntityCommandScope.Individual,
|
1981
1949
|
},
|
1950
|
+
{
|
1951
|
+
title: '@activity-log:actions.view-history',
|
1952
|
+
command: {
|
1953
|
+
name: 'show-version-history-popup',
|
1954
|
+
options: {
|
1955
|
+
refId: '{{ context.eval("id") }}',
|
1956
|
+
refType: RootConfig.module.name + '.' + RootConfig.entities.roles.name,
|
1957
|
+
}
|
1958
|
+
},
|
1959
|
+
priority: 'secondary',
|
1960
|
+
type: 'version-history',
|
1961
|
+
scope: AXPEntityCommandScope.Individual,
|
1962
|
+
},
|
1963
|
+
{
|
1964
|
+
title: 'Compare',
|
1965
|
+
command: {
|
1966
|
+
name: 'show-entity-records-compare',
|
1967
|
+
},
|
1968
|
+
priority: 'secondary',
|
1969
|
+
type: 'version-history',
|
1970
|
+
scope: AXPEntityCommandScope.Selected
|
1971
|
+
}
|
1982
1972
|
],
|
1983
1973
|
views: [
|
1984
1974
|
{
|
@@ -2003,16 +1993,16 @@ var roles_entity = /*#__PURE__*/Object.freeze({
|
|
2003
1993
|
});
|
2004
1994
|
|
2005
1995
|
class AXMSecurityManagementRolesEntityModule {
|
2006
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
2007
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
2008
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
1996
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1997
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementRolesEntityModule }); }
|
1998
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, providers: [
|
2009
1999
|
{
|
2010
2000
|
provide: AXMSecurityManagementRolesEntityService,
|
2011
2001
|
useClass: AXMSecurityManagementRolesEntityServiceImpl,
|
2012
2002
|
},
|
2013
2003
|
] }); }
|
2014
2004
|
}
|
2015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
2005
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementRolesEntityModule, decorators: [{
|
2016
2006
|
type: NgModule,
|
2017
2007
|
args: [{
|
2018
2008
|
imports: [],
|
@@ -2122,10 +2112,10 @@ class AXPSessionTerminatePopupAction extends AXPWorkflowAction {
|
|
2122
2112
|
}, 300);
|
2123
2113
|
}
|
2124
2114
|
}
|
2125
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
2126
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
2115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPSessionTerminatePopupAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
2116
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPSessionTerminatePopupAction }); }
|
2127
2117
|
}
|
2128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
2118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPSessionTerminatePopupAction, decorators: [{
|
2129
2119
|
type: Injectable
|
2130
2120
|
}] });
|
2131
2121
|
const AXPSessionTerminateWorkflow = {
|
@@ -2180,11 +2170,11 @@ class AXMUserAvatarProvider {
|
|
2180
2170
|
const AXPPermissionsWidget = {
|
2181
2171
|
name: "permissions-editor",
|
2182
2172
|
title: "Permissions Editor",
|
2183
|
-
description: '',
|
2173
|
+
description: 'Widget for managing permissions with full editor interface',
|
2184
2174
|
type: 'view',
|
2185
2175
|
categories: [],
|
2186
2176
|
groups: [AXPWidgetGroupEnum.EntityWidget],
|
2187
|
-
icon: "fa-solid fa-
|
2177
|
+
icon: "fa-solid fa-user-shield",
|
2188
2178
|
properties: [
|
2189
2179
|
AXP_NAME_PROPERTY,
|
2190
2180
|
AXP_DATA_PATH_PROPERTY,
|
@@ -2192,19 +2182,19 @@ const AXPPermissionsWidget = {
|
|
2192
2182
|
],
|
2193
2183
|
components: {
|
2194
2184
|
view: {
|
2195
|
-
component: () =>
|
2185
|
+
component: () => Promise.resolve().then(function () { return permissionsWidgetView_component; }).then((c) => c.AXPPermissionsWidgetViewComponent),
|
2196
2186
|
},
|
2197
2187
|
edit: {
|
2198
|
-
component: () =>
|
2188
|
+
component: () => Promise.resolve().then(function () { return permissionsWidgetEdit_component; }).then((c) => c.AXPPermissionsWidgetEditComponent),
|
2199
2189
|
},
|
2200
2190
|
column: {
|
2201
|
-
component: () =>
|
2191
|
+
component: () => Promise.resolve().then(function () { return permissionsWidgetColumn_component; }).then((c) => c.AXPPermissionsWidgetColumnComponent),
|
2202
2192
|
},
|
2203
2193
|
print: {
|
2204
|
-
component: () =>
|
2194
|
+
component: () => Promise.resolve().then(function () { return permissionsWidgetPrint_component; }).then((c) => c.AXPPermissionsWidgetPrintComponent),
|
2205
2195
|
},
|
2206
2196
|
designer: {
|
2207
|
-
component: () =>
|
2197
|
+
component: () => Promise.resolve().then(function () { return permissionsWidgetDesigner_component; }).then((c) => c.AXPPermissionsWidgetDesignerComponent),
|
2208
2198
|
},
|
2209
2199
|
}
|
2210
2200
|
};
|
@@ -2217,25 +2207,28 @@ class AXMOpenPermissionsEditorAction extends AXPWorkflowAction {
|
|
2217
2207
|
}
|
2218
2208
|
async execute(context) {
|
2219
2209
|
const role = context.getVariable('data');
|
2220
|
-
const component = await
|
2210
|
+
const component = await Promise.resolve().then(function () { return permissionsEditorPopup_component; }).then(m => m.AXPPermissionsEditorPopupComponent);
|
2221
2211
|
const title = await this.translateService.translateAsync("@security-management:features.permissions.terms.permissions-editor");
|
2222
2212
|
const result = await this.modalService.open(component, {
|
2223
2213
|
title: `${title} - ${role.title}`,
|
2224
2214
|
size: 'md',
|
2225
2215
|
data: {
|
2226
|
-
initialPermissions: role['permissions'] ?? []
|
2216
|
+
initialPermissions: role['permissions'] ?? [],
|
2227
2217
|
}
|
2228
2218
|
});
|
2219
|
+
//
|
2220
|
+
context.setVariable('entity', `${RootConfig.module.name}.${RootConfig.entities.roles.name}`);
|
2221
|
+
//
|
2229
2222
|
const permissions = result.data;
|
2230
2223
|
if (permissions) {
|
2231
2224
|
context.setVariable('data.permissions', permissions);
|
2232
2225
|
context.setOutput('result', true);
|
2233
2226
|
}
|
2234
2227
|
}
|
2235
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
2236
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.
|
2228
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMOpenPermissionsEditorAction, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
2229
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMOpenPermissionsEditorAction }); }
|
2237
2230
|
}
|
2238
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
2231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMOpenPermissionsEditorAction, decorators: [{
|
2239
2232
|
type: Injectable
|
2240
2233
|
}] });
|
2241
2234
|
const AXMAssignPermissionsWorkflow = {
|
@@ -2280,9 +2273,9 @@ const AXMAssignPermissionsWorkflow = {
|
|
2280
2273
|
};
|
2281
2274
|
|
2282
2275
|
class AXMPermissionsModule {
|
2283
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
2284
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
2285
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
2276
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPermissionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
2277
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMPermissionsModule, imports: [i1.AXPWorkflowModule, i2.AXPLayoutBuilderModule] }); }
|
2278
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPermissionsModule, imports: [AXPWorkflowModule.forChild({
|
2286
2279
|
workflows: {
|
2287
2280
|
'assign-permissions': AXMAssignPermissionsWorkflow
|
2288
2281
|
},
|
@@ -2296,7 +2289,7 @@ class AXMPermissionsModule {
|
|
2296
2289
|
]
|
2297
2290
|
})] }); }
|
2298
2291
|
}
|
2299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
2292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMPermissionsModule, decorators: [{
|
2300
2293
|
type: NgModule,
|
2301
2294
|
args: [{
|
2302
2295
|
imports: [
|
@@ -2318,13 +2311,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
2318
2311
|
}] });
|
2319
2312
|
|
2320
2313
|
class AXMSecurityManagementModule {
|
2321
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.
|
2322
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.
|
2314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
2315
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementModule, imports: [AXMSecurityManagementDeviceSessionsEntityModule,
|
2323
2316
|
AXMSecurityManagementProfileEntityModule,
|
2324
2317
|
AXMSecurityManagementRolesEntityModule,
|
2325
2318
|
AXMSecurityManagementUsersEntityModule,
|
2326
2319
|
AXMPermissionsModule, i1.AXPWorkflowModule] }); }
|
2327
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.
|
2320
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementModule, providers: [
|
2328
2321
|
{
|
2329
2322
|
provide: AXP_MENU_PROVIDER,
|
2330
2323
|
useClass: AXMMenuProvider,
|
@@ -2359,7 +2352,7 @@ class AXMSecurityManagementModule {
|
|
2359
2352
|
functions: {},
|
2360
2353
|
})] }); }
|
2361
2354
|
}
|
2362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.
|
2355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXMSecurityManagementModule, decorators: [{
|
2363
2356
|
type: NgModule,
|
2364
2357
|
args: [{
|
2365
2358
|
imports: [
|
@@ -2404,9 +2397,520 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
2404
2397
|
}]
|
2405
2398
|
}] });
|
2406
2399
|
|
2400
|
+
// #region ---------------- Imports ----------------
|
2401
|
+
// #endregion
|
2402
|
+
class AXPPermissionsEditorComponent {
|
2403
|
+
constructor() {
|
2404
|
+
// #region ---------------- Class Properties ----------------
|
2405
|
+
/** Service for fetching permission groups and definitions */
|
2406
|
+
this.permissionService = inject(AXPPermissionDefinitionService);
|
2407
|
+
/** Currently selected permission group */
|
2408
|
+
this.selectedGroup = signal(null);
|
2409
|
+
/** All available permission groups */
|
2410
|
+
this.groups = signal([]);
|
2411
|
+
/** Initial permissions to be selected - exposed as signal input */
|
2412
|
+
this.initialPermissions = input([]);
|
2413
|
+
/** Whether the editor is in read-only mode */
|
2414
|
+
this.readOnly = input(false);
|
2415
|
+
/** List of selected permission names */
|
2416
|
+
this.selectedPermissions = signal([]);
|
2417
|
+
/** Event emitted when permissions selection changes */
|
2418
|
+
this.permissionsChanged = output();
|
2419
|
+
/** Event emitted when permissions are applied/selected */
|
2420
|
+
this.permissionsSelected = output();
|
2421
|
+
/**
|
2422
|
+
* Computed: Returns mapped permissions for the selected group.
|
2423
|
+
*/
|
2424
|
+
this.items = computed(() => {
|
2425
|
+
const permissions = this.selectedGroup()?.permissions || [];
|
2426
|
+
return this.mapPermissions(permissions);
|
2427
|
+
});
|
2428
|
+
/**
|
2429
|
+
* Computed: Returns groups with badge counts.
|
2430
|
+
*/
|
2431
|
+
this.groupsWithBadge = computed(() => {
|
2432
|
+
const groups = this.groups();
|
2433
|
+
const result = groups.map(group => {
|
2434
|
+
return {
|
2435
|
+
...group,
|
2436
|
+
badge: this.getBadge(group) || ''
|
2437
|
+
};
|
2438
|
+
});
|
2439
|
+
return result;
|
2440
|
+
});
|
2441
|
+
}
|
2442
|
+
// #endregion
|
2443
|
+
// #region ---------------- Computed Properties ----------------
|
2444
|
+
/**
|
2445
|
+
* Recursively maps permissions to include selection state and children.
|
2446
|
+
*/
|
2447
|
+
mapPermissions(items) {
|
2448
|
+
return (items || []).map(item => {
|
2449
|
+
const hasChild = Array.isArray(item.children) && item.children.length > 0;
|
2450
|
+
return {
|
2451
|
+
...item,
|
2452
|
+
isSelected: this.isSelected(item.name),
|
2453
|
+
children: hasChild ? this.mapPermissions(item.children) : null
|
2454
|
+
};
|
2455
|
+
});
|
2456
|
+
}
|
2457
|
+
// #endregion
|
2458
|
+
// #region ---------------- Utility Methods ----------------
|
2459
|
+
/**
|
2460
|
+
* Recursively collects all permission names (parents and children) from an array.
|
2461
|
+
*/
|
2462
|
+
collectAllPermissionNames(permissions) {
|
2463
|
+
let names = [];
|
2464
|
+
for (const item of permissions) {
|
2465
|
+
names.push(item.name);
|
2466
|
+
if (Array.isArray(item.children) && item.children.length > 0) {
|
2467
|
+
names = names.concat(this.collectAllPermissionNames(item.children));
|
2468
|
+
}
|
2469
|
+
}
|
2470
|
+
return names;
|
2471
|
+
}
|
2472
|
+
/**
|
2473
|
+
* Returns the badge count for a group (all selected permissions, including parents).
|
2474
|
+
*/
|
2475
|
+
getBadge(group) {
|
2476
|
+
const allNames = this.collectAllPermissionNames(group.permissions || []);
|
2477
|
+
const selectedPermissions = this.selectedPermissions();
|
2478
|
+
const count = allNames.filter(name => selectedPermissions.includes(name)).length;
|
2479
|
+
return count.toString();
|
2480
|
+
}
|
2481
|
+
/**
|
2482
|
+
* Checks if a permission is selected.
|
2483
|
+
*/
|
2484
|
+
isSelected(name) {
|
2485
|
+
return this.selectedPermissions().includes(name);
|
2486
|
+
}
|
2487
|
+
/**
|
2488
|
+
* Recursively collects all descendant permission names for a single item (including itself).
|
2489
|
+
*/
|
2490
|
+
collectPermissionNames(item) {
|
2491
|
+
let names = [item.name];
|
2492
|
+
if (Array.isArray(item.children) && item.children.length > 0) {
|
2493
|
+
for (const child of item.children) {
|
2494
|
+
names = names.concat(this.collectPermissionNames(child));
|
2495
|
+
}
|
2496
|
+
}
|
2497
|
+
return names;
|
2498
|
+
}
|
2499
|
+
/**
|
2500
|
+
* Gets the current selected permissions.
|
2501
|
+
*/
|
2502
|
+
getSelectedPermissions() {
|
2503
|
+
return this.selectedPermissions();
|
2504
|
+
}
|
2505
|
+
/**
|
2506
|
+
* Sets the selected permissions.
|
2507
|
+
*/
|
2508
|
+
setSelectedPermissions(permissions) {
|
2509
|
+
this.selectedPermissions.set(permissions || []);
|
2510
|
+
this.permissionsChanged.emit(this.selectedPermissions());
|
2511
|
+
}
|
2512
|
+
/**
|
2513
|
+
* Applies/selects the current permissions.
|
2514
|
+
*/
|
2515
|
+
selectPermissions() {
|
2516
|
+
this.permissionsSelected.emit(this.selectedPermissions());
|
2517
|
+
}
|
2518
|
+
// #endregion
|
2519
|
+
// #region ---------------- Lifecycle Methods ----------------
|
2520
|
+
/**
|
2521
|
+
* Initializes the component and loads permission groups.
|
2522
|
+
*/
|
2523
|
+
async ngOnInit() {
|
2524
|
+
const groups = await this.permissionService.getGroups();
|
2525
|
+
this.groups.set(groups);
|
2526
|
+
this.selectedGroup.set(groups[0]);
|
2527
|
+
this.selectedPermissions.set(this.initialPermissions());
|
2528
|
+
}
|
2529
|
+
// #endregion
|
2530
|
+
// #region ---------------- UI Handlers ----------------
|
2531
|
+
/**
|
2532
|
+
* Handles group tab/menu item click.
|
2533
|
+
*/
|
2534
|
+
handleMenuItemClick(item) {
|
2535
|
+
this.selectedGroup.set(item);
|
2536
|
+
}
|
2537
|
+
/**
|
2538
|
+
* Handles permission checkbox toggle (checks/unchecks all children recursively).
|
2539
|
+
*/
|
2540
|
+
onPermissionToggle(item, e) {
|
2541
|
+
// Don't allow changes in read-only mode
|
2542
|
+
if (this.readOnly()) {
|
2543
|
+
return;
|
2544
|
+
}
|
2545
|
+
const names = this.collectPermissionNames(item);
|
2546
|
+
if (e.value) {
|
2547
|
+
// Add all names (parent + children), avoiding duplicates
|
2548
|
+
const set = new Set([...this.selectedPermissions(), ...names]);
|
2549
|
+
this.selectedPermissions.set(Array.from(set));
|
2550
|
+
}
|
2551
|
+
else {
|
2552
|
+
// Remove all names (parent + children)
|
2553
|
+
this.selectedPermissions.set(this.selectedPermissions().filter(name => !names.includes(name)));
|
2554
|
+
}
|
2555
|
+
this.permissionsChanged.emit(this.selectedPermissions());
|
2556
|
+
}
|
2557
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
2558
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", 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" }, ngImport: i0, template: "<div class=\"axm-permissions-editor\">\n\n <div class=\"ax-flex ax-min-h-96\">\n\n <div class=\"__groups ax-p-4 ax-min-h-full ax-overflow-auto ax-w-2/5\">\n\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\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\">\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\"\n [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\n </div>\n\n </div>\n\n </div>\n\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
|
+
// Angular
|
2560
|
+
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
|
+
// ACoreX
|
2562
|
+
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
|
+
}
|
2564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsEditorComponent, decorators: [{
|
2565
|
+
type: Component,
|
2566
|
+
args: [{ selector: 'axm-permissions-editor', imports: [
|
2567
|
+
// Angular
|
2568
|
+
CommonModule,
|
2569
|
+
FormsModule,
|
2570
|
+
// ACoreX
|
2571
|
+
AXFormModule,
|
2572
|
+
AXTextBoxModule,
|
2573
|
+
AXButtonModule,
|
2574
|
+
AXLabelModule,
|
2575
|
+
AXCheckBoxModule,
|
2576
|
+
AXTabsModule,
|
2577
|
+
AXDecoratorModule,
|
2578
|
+
AXTranslationModule,
|
2579
|
+
AXBadgeModule,
|
2580
|
+
AXCheckBoxModule,
|
2581
|
+
AXTooltipModule,
|
2582
|
+
], encapsulation: ViewEncapsulation.None, template: "<div class=\"axm-permissions-editor\">\n\n <div class=\"ax-flex ax-min-h-96\">\n\n <div class=\"__groups ax-p-4 ax-min-h-full ax-overflow-auto ax-w-2/5\">\n\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\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\">\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\"\n [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\n </div>\n\n </div>\n\n </div>\n\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"] }]
|
2583
|
+
}] });
|
2584
|
+
|
2585
|
+
// #region ---------------- Imports ----------------
|
2586
|
+
// #endregion
|
2587
|
+
class AXPPermissionsEditorPopupComponent extends AXPPopupLayoutBaseComponent {
|
2588
|
+
constructor() {
|
2589
|
+
super(...arguments);
|
2590
|
+
/** Initial permissions to be selected */
|
2591
|
+
this.initialPermissions = [];
|
2592
|
+
}
|
2593
|
+
// #endregion
|
2594
|
+
// #region ---------------- Lifecycle Methods ----------------
|
2595
|
+
/**
|
2596
|
+
* Initializes the component.
|
2597
|
+
*/
|
2598
|
+
async ngOnInit() {
|
2599
|
+
super.ngOnInit();
|
2600
|
+
// Any popup-specific initialization can go here
|
2601
|
+
}
|
2602
|
+
// #endregion
|
2603
|
+
// #region ---------------- UI Handlers ----------------
|
2604
|
+
/**
|
2605
|
+
* Returns the primary menu items for the popup layout.
|
2606
|
+
*/
|
2607
|
+
getPrimaryMenuItems() {
|
2608
|
+
return [
|
2609
|
+
{
|
2610
|
+
title: 't("select")',
|
2611
|
+
icon: 'fa-solid fa-check',
|
2612
|
+
command: {
|
2613
|
+
name: 'select'
|
2614
|
+
}
|
2615
|
+
}
|
2616
|
+
];
|
2617
|
+
}
|
2618
|
+
/**
|
2619
|
+
* Handles permission selection changes from the editor component.
|
2620
|
+
*/
|
2621
|
+
onPermissionsChanged(permissions) {
|
2622
|
+
// Handle permission changes if needed for popup-specific logic
|
2623
|
+
}
|
2624
|
+
/**
|
2625
|
+
* Handles when permissions are selected from the editor component.
|
2626
|
+
*/
|
2627
|
+
onPermissionsSelected(permissions) {
|
2628
|
+
this.close(permissions);
|
2629
|
+
}
|
2630
|
+
/**
|
2631
|
+
* Executes popup commands.
|
2632
|
+
*/
|
2633
|
+
execute(command) {
|
2634
|
+
if (command.name === 'select') {
|
2635
|
+
const selectedPermissions = this.permissionEditor.getSelectedPermissions();
|
2636
|
+
this.close(selectedPermissions);
|
2637
|
+
}
|
2638
|
+
}
|
2639
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsEditorPopupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2640
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: AXPPermissionsEditorPopupComponent, isStandalone: true, selector: "axm-permissions-editor-popup", providers: [
|
2641
|
+
{
|
2642
|
+
provide: AXPPopupLayoutBase,
|
2643
|
+
useExisting: AXPPermissionsEditorPopupComponent
|
2644
|
+
}
|
2645
|
+
], viewQueries: [{ propertyName: "permissionEditor", first: true, predicate: AXPPermissionsEditorComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<axp-popup-layout>\n <axp-page-content>\n <axm-permissions-editor [initialPermissions]=\"initialPermissions\"\n (permissionsChanged)=\"onPermissionsChanged($event)\" (permissionsSelected)=\"onPermissionsSelected($event)\">\n </axm-permissions-editor>\n </axp-page-content>\n</axp-popup-layout>", dependencies: [{ kind: "ngmodule", type:
|
2646
|
+
// Angular
|
2647
|
+
CommonModule }, { kind: "ngmodule", type:
|
2648
|
+
// ACoreX
|
2649
|
+
AXTranslationModule }, { kind: "component", type:
|
2650
|
+
// Platform
|
2651
|
+
AXPPopupLayoutComponent, selector: "axp-popup-layout" }, { kind: "component", type:
|
2652
|
+
// Local
|
2653
|
+
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 }); }
|
2654
|
+
}
|
2655
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsEditorPopupComponent, decorators: [{
|
2656
|
+
type: Component,
|
2657
|
+
args: [{ selector: 'axm-permissions-editor-popup', imports: [
|
2658
|
+
// Angular
|
2659
|
+
CommonModule,
|
2660
|
+
// ACoreX
|
2661
|
+
AXTranslationModule,
|
2662
|
+
// Platform
|
2663
|
+
AXPPopupLayoutComponent,
|
2664
|
+
// Local
|
2665
|
+
AXPPermissionsEditorComponent,
|
2666
|
+
AXPThemeLayoutBlockComponent
|
2667
|
+
], encapsulation: ViewEncapsulation.None, providers: [
|
2668
|
+
{
|
2669
|
+
provide: AXPPopupLayoutBase,
|
2670
|
+
useExisting: AXPPermissionsEditorPopupComponent
|
2671
|
+
}
|
2672
|
+
], template: "<axp-popup-layout>\n <axp-page-content>\n <axm-permissions-editor [initialPermissions]=\"initialPermissions\"\n (permissionsChanged)=\"onPermissionsChanged($event)\" (permissionsSelected)=\"onPermissionsSelected($event)\">\n </axm-permissions-editor>\n </axp-page-content>\n</axp-popup-layout>" }]
|
2673
|
+
}], propDecorators: { permissionEditor: [{
|
2674
|
+
type: ViewChild,
|
2675
|
+
args: [AXPPermissionsEditorComponent]
|
2676
|
+
}] } });
|
2677
|
+
|
2678
|
+
var permissionsEditorPopup_component = /*#__PURE__*/Object.freeze({
|
2679
|
+
__proto__: null,
|
2680
|
+
AXPPermissionsEditorPopupComponent: AXPPermissionsEditorPopupComponent
|
2681
|
+
});
|
2682
|
+
|
2683
|
+
class AXPPermissionsWidgetViewComponent extends AXPValueWidgetComponent {
|
2684
|
+
constructor() {
|
2685
|
+
super(...arguments);
|
2686
|
+
this.permissionService = inject(AXPPermissionDefinitionService);
|
2687
|
+
this.workflowService = inject(AXPWorkflowService);
|
2688
|
+
this.groups = signal([]);
|
2689
|
+
this.loadGroupsEffect = effect(async () => {
|
2690
|
+
// Load groups when component initializes
|
2691
|
+
if (this.groups().length === 0) {
|
2692
|
+
const groupsData = await this.permissionService.getGroups();
|
2693
|
+
this.groups.set(groupsData);
|
2694
|
+
}
|
2695
|
+
});
|
2696
|
+
this.selectedPermissionsByGroup = computed(() => {
|
2697
|
+
const selected = new Set(this.getValue() ?? []);
|
2698
|
+
const result = {};
|
2699
|
+
for (const group of this.groups()) {
|
2700
|
+
const permPaths = [];
|
2701
|
+
const findPermissionPaths = (items, path = []) => {
|
2702
|
+
for (const item of items) {
|
2703
|
+
const currentPath = [...path, item];
|
2704
|
+
if (selected.has(item.name)) {
|
2705
|
+
const displayPath = currentPath.map(p => p.title).join(' > ');
|
2706
|
+
permPaths.push({
|
2707
|
+
group,
|
2708
|
+
path: currentPath,
|
2709
|
+
displayPath
|
2710
|
+
});
|
2711
|
+
}
|
2712
|
+
if (item.children?.length) {
|
2713
|
+
findPermissionPaths(item.children, currentPath);
|
2714
|
+
}
|
2715
|
+
}
|
2716
|
+
};
|
2717
|
+
findPermissionPaths(group.permissions);
|
2718
|
+
result[group.name] = permPaths;
|
2719
|
+
}
|
2720
|
+
return result;
|
2721
|
+
});
|
2722
|
+
this.isEmpty = computed(() => {
|
2723
|
+
return Object.values(this.selectedPermissionsByGroup()).every(arr => !arr.length);
|
2724
|
+
});
|
2725
|
+
}
|
2726
|
+
async openPermissionsEditor() {
|
2727
|
+
await this.workflowService.execute('assign-permissions', {
|
2728
|
+
data: this.contextService.data(),
|
2729
|
+
});
|
2730
|
+
}
|
2731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2732
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: AXPPermissionsWidgetViewComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
2733
|
+
<!-- <axm-permissions-editor
|
2734
|
+
[initialPermissions]="getValue() || []"
|
2735
|
+
[readOnly]="true">
|
2736
|
+
</axm-permissions-editor> -->
|
2737
|
+
<div class="ax-flex ax-flex-col ax-gap-2">
|
2738
|
+
@for (group of groups(); track group.name) {
|
2739
|
+
<div *ngIf="selectedPermissionsByGroup()[group.name]?.length">
|
2740
|
+
<div class="ax-text-xs ax-font-semibold ax-mb-2 ax-text-muted">{{ group.title }}</div>
|
2741
|
+
<div class="ax-flex ax-gap-1 ax-flex-wrap">
|
2742
|
+
@for (permPath of selectedPermissionsByGroup()[group.name]; track permPath.path[permPath.path.length - 1].name) {
|
2743
|
+
<ax-badge [text]="permPath.displayPath" color="primary" size="sm"></ax-badge>
|
2744
|
+
}
|
2745
|
+
</div>
|
2746
|
+
</div>
|
2747
|
+
}
|
2748
|
+
@if (isEmpty()) {
|
2749
|
+
<div class="ax-text-muted">{{'@security-management:features.permissions.no-permissions' | translate | async}}</div>
|
2750
|
+
}
|
2751
|
+
</div>
|
2752
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXBadgeModule }, { kind: "component", type: i7.AXBadgeComponent, selector: "ax-badge", inputs: ["color", "look", "text"] }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2753
|
+
}
|
2754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetViewComponent, decorators: [{
|
2755
|
+
type: Component,
|
2756
|
+
args: [{
|
2757
|
+
template: `
|
2758
|
+
<!-- <axm-permissions-editor
|
2759
|
+
[initialPermissions]="getValue() || []"
|
2760
|
+
[readOnly]="true">
|
2761
|
+
</axm-permissions-editor> -->
|
2762
|
+
<div class="ax-flex ax-flex-col ax-gap-2">
|
2763
|
+
@for (group of groups(); track group.name) {
|
2764
|
+
<div *ngIf="selectedPermissionsByGroup()[group.name]?.length">
|
2765
|
+
<div class="ax-text-xs ax-font-semibold ax-mb-2 ax-text-muted">{{ group.title }}</div>
|
2766
|
+
<div class="ax-flex ax-gap-1 ax-flex-wrap">
|
2767
|
+
@for (permPath of selectedPermissionsByGroup()[group.name]; track permPath.path[permPath.path.length - 1].name) {
|
2768
|
+
<ax-badge [text]="permPath.displayPath" color="primary" size="sm"></ax-badge>
|
2769
|
+
}
|
2770
|
+
</div>
|
2771
|
+
</div>
|
2772
|
+
}
|
2773
|
+
@if (isEmpty()) {
|
2774
|
+
<div class="ax-text-muted">{{'@security-management:features.permissions.no-permissions' | translate | async}}</div>
|
2775
|
+
}
|
2776
|
+
</div>
|
2777
|
+
`,
|
2778
|
+
standalone: true,
|
2779
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2780
|
+
imports: [CommonModule, AXBadgeModule, AXTranslationModule]
|
2781
|
+
}]
|
2782
|
+
}] });
|
2783
|
+
|
2784
|
+
var permissionsWidgetView_component = /*#__PURE__*/Object.freeze({
|
2785
|
+
__proto__: null,
|
2786
|
+
AXPPermissionsWidgetViewComponent: AXPPermissionsWidgetViewComponent
|
2787
|
+
});
|
2788
|
+
|
2789
|
+
class AXPPermissionsWidgetEditComponent extends AXPValueWidgetComponent {
|
2790
|
+
// #region ---------------- UI Handlers ----------------
|
2791
|
+
/**
|
2792
|
+
* Handles permissions changes from the editor.
|
2793
|
+
*/
|
2794
|
+
onPermissionsChanged(permissions) {
|
2795
|
+
this.setValue(permissions);
|
2796
|
+
}
|
2797
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2798
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: AXPPermissionsWidgetEditComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
2799
|
+
<axm-permissions-editor
|
2800
|
+
[initialPermissions]="getValue() || []"
|
2801
|
+
[readOnly]="false"
|
2802
|
+
(permissionsChanged)="onPermissionsChanged($event)">
|
2803
|
+
</axm-permissions-editor>
|
2804
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type:
|
2805
|
+
// Angular
|
2806
|
+
CommonModule }, { kind: "component", type:
|
2807
|
+
// Local
|
2808
|
+
AXPPermissionsEditorComponent, selector: "axm-permissions-editor", inputs: ["initialPermissions", "readOnly"], outputs: ["permissionsChanged", "permissionsSelected"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2809
|
+
}
|
2810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetEditComponent, decorators: [{
|
2811
|
+
type: Component,
|
2812
|
+
args: [{
|
2813
|
+
template: `
|
2814
|
+
<axm-permissions-editor
|
2815
|
+
[initialPermissions]="getValue() || []"
|
2816
|
+
[readOnly]="false"
|
2817
|
+
(permissionsChanged)="onPermissionsChanged($event)">
|
2818
|
+
</axm-permissions-editor>
|
2819
|
+
`,
|
2820
|
+
standalone: true,
|
2821
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2822
|
+
imports: [
|
2823
|
+
// Angular
|
2824
|
+
CommonModule,
|
2825
|
+
// Local
|
2826
|
+
AXPPermissionsEditorComponent
|
2827
|
+
]
|
2828
|
+
}]
|
2829
|
+
}] });
|
2830
|
+
|
2831
|
+
var permissionsWidgetEdit_component = /*#__PURE__*/Object.freeze({
|
2832
|
+
__proto__: null,
|
2833
|
+
AXPPermissionsWidgetEditComponent: AXPPermissionsWidgetEditComponent
|
2834
|
+
});
|
2835
|
+
|
2836
|
+
class AXPPermissionsWidgetColumnComponent extends AXPColumnWidgetComponent {
|
2837
|
+
constructor() {
|
2838
|
+
super(...arguments);
|
2839
|
+
this.count = computed(() => castArray(this.rawValue).length);
|
2840
|
+
this.workflowService = inject(AXPWorkflowService);
|
2841
|
+
}
|
2842
|
+
async openPermissionsEditor() {
|
2843
|
+
await this.workflowService.execute('assign-permissions', {
|
2844
|
+
data: this.rowData
|
2845
|
+
});
|
2846
|
+
}
|
2847
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetColumnComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2848
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: AXPPermissionsWidgetColumnComponent, isStandalone: true, selector: "ng-component", inputs: { rawValue: "rawValue", rowData: "rowData" }, usesInheritance: true, ngImport: i0, template: `
|
2849
|
+
<span class="ax-cursor-pointer ax-text-primary ax-underline" (click)="openPermissionsEditor()">{{count()}} {{'@security-management:features.permissions.terms.permissions' | translate | async}}</span>
|
2850
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "pipe", type: i3$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2851
|
+
}
|
2852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetColumnComponent, decorators: [{
|
2853
|
+
type: Component,
|
2854
|
+
args: [{
|
2855
|
+
template: `
|
2856
|
+
<span class="ax-cursor-pointer ax-text-primary ax-underline" (click)="openPermissionsEditor()">{{count()}} {{'@security-management:features.permissions.terms.permissions' | translate | async}}</span>
|
2857
|
+
`,
|
2858
|
+
standalone: true,
|
2859
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2860
|
+
imports: [CommonModule, AXTranslationModule],
|
2861
|
+
inputs: ['rawValue', 'rowData']
|
2862
|
+
}]
|
2863
|
+
}] });
|
2864
|
+
|
2865
|
+
var permissionsWidgetColumn_component = /*#__PURE__*/Object.freeze({
|
2866
|
+
__proto__: null,
|
2867
|
+
AXPPermissionsWidgetColumnComponent: AXPPermissionsWidgetColumnComponent
|
2868
|
+
});
|
2869
|
+
|
2870
|
+
class AXPPermissionsWidgetPrintComponent extends AXPLayoutWidgetComponent {
|
2871
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2872
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: AXPPermissionsWidgetPrintComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2873
|
+
}
|
2874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetPrintComponent, decorators: [{
|
2875
|
+
type: Component,
|
2876
|
+
args: [{
|
2877
|
+
template: ``,
|
2878
|
+
standalone: true,
|
2879
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2880
|
+
imports: [],
|
2881
|
+
inputs: []
|
2882
|
+
}]
|
2883
|
+
}] });
|
2884
|
+
|
2885
|
+
var permissionsWidgetPrint_component = /*#__PURE__*/Object.freeze({
|
2886
|
+
__proto__: null,
|
2887
|
+
AXPPermissionsWidgetPrintComponent: AXPPermissionsWidgetPrintComponent
|
2888
|
+
});
|
2889
|
+
|
2890
|
+
class AXPPermissionsWidgetDesignerComponent extends AXPLayoutWidgetComponent {
|
2891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
2892
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: AXPPermissionsWidgetDesignerComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
2893
|
+
}
|
2894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: AXPPermissionsWidgetDesignerComponent, decorators: [{
|
2895
|
+
type: Component,
|
2896
|
+
args: [{
|
2897
|
+
template: ``,
|
2898
|
+
standalone: true,
|
2899
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
2900
|
+
imports: []
|
2901
|
+
}]
|
2902
|
+
}] });
|
2903
|
+
|
2904
|
+
var permissionsWidgetDesigner_component = /*#__PURE__*/Object.freeze({
|
2905
|
+
__proto__: null,
|
2906
|
+
AXPPermissionsWidgetDesignerComponent: AXPPermissionsWidgetDesignerComponent
|
2907
|
+
});
|
2908
|
+
|
2909
|
+
// Permission Editor Components
|
2910
|
+
|
2407
2911
|
/**
|
2408
2912
|
* Generated bundle index. Do not edit.
|
2409
2913
|
*/
|
2410
2914
|
|
2411
|
-
export { AXMDeviceSessionsService, AXMDeviceSessionsServiceImpl, AXMSecurityManagementDeviceSessionsEntityModule, AXMSecurityManagementModule, AXMSecurityManagementRolesEntityService, AXMSecurityManagementRolesEntityServiceImpl, AXMSessionStatusTypes, AXMUsersEntityService, AXMUsersEntityServiceImpl, AXPSecurityManagementMenuKeys, RootConfig, factory$3 as factory };
|
2915
|
+
export { AXMDeviceSessionsService, AXMDeviceSessionsServiceImpl, AXMPermissionsModule, AXMSecurityManagementDeviceSessionsEntityModule, AXMSecurityManagementModule, AXMSecurityManagementRolesEntityService, AXMSecurityManagementRolesEntityServiceImpl, AXMSessionStatusTypes, AXMUsersEntityService, AXMUsersEntityServiceImpl, AXPPermissionsEditorComponent, AXPPermissionsEditorPopupComponent, AXPPermissionsWidget, AXPPermissionsWidgetColumnComponent, AXPPermissionsWidgetDesignerComponent, AXPPermissionsWidgetEditComponent, AXPPermissionsWidgetPrintComponent, AXPPermissionsWidgetViewComponent, AXPSecurityManagementMenuKeys, RootConfig, factory$3 as factory };
|
2412
2916
|
//# sourceMappingURL=acorex-modules-security-management.mjs.map
|