@acorex/modules 20.2.4-next.9 → 20.3.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/application-management/index.d.ts +49 -1
- package/calendar-management/index.d.ts +19 -1
- package/common/index.d.ts +50 -0
- package/contact-management/index.d.ts +40 -4
- package/content-management/index.d.ts +20 -2
- package/conversation/index.d.ts +34 -16
- package/dashboard-management/index.d.ts +11 -4
- package/data-management/index.d.ts +20 -2
- package/document-management/index.d.ts +36 -6
- package/fesm2022/acorex-modules-application-management.mjs +483 -286
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BbO_ea5W.mjs → acorex-modules-auth-acorex-modules-auth-BTi7qTvr.mjs} +29 -12
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BTi7qTvr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-y0HLrwJM.mjs → acorex-modules-auth-app-chooser.component-s4LYKAc7.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-y0HLrwJM.mjs.map → acorex-modules-auth-app-chooser.component-s4LYKAc7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-1U_5UgDs.mjs → acorex-modules-auth-login.module-DetWdAgo.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-1U_5UgDs.mjs.map → acorex-modules-auth-login.module-DetWdAgo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-DGsAGhOH.mjs → acorex-modules-auth-master.layout-BJRB1Vns.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-DGsAGhOH.mjs.map → acorex-modules-auth-master.layout-BJRB1Vns.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CPHBV5bA.mjs → acorex-modules-auth-oauth-callback.component-DKHJoF3X.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CPHBV5bA.mjs.map → acorex-modules-auth-oauth-callback.component-DKHJoF3X.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CF3ReHyw.mjs → acorex-modules-auth-password.component-B_vA7-vu.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-CF3ReHyw.mjs.map → acorex-modules-auth-password.component-B_vA7-vu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-C85NgQxA.mjs → acorex-modules-auth-password.component-WUrm5Y6i.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-C85NgQxA.mjs.map → acorex-modules-auth-password.component-WUrm5Y6i.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-BJh0Fwpy.mjs → acorex-modules-auth-routes-CYf17elA.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-BJh0Fwpy.mjs.map → acorex-modules-auth-routes-CYf17elA.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-show-profile-command-DjvX7n9K.mjs +53 -0
- package/fesm2022/acorex-modules-auth-show-profile-command-DjvX7n9K.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-Bsh2_A5L.mjs → acorex-modules-auth-two-factor.module-CeJGeuid.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-Bsh2_A5L.mjs.map → acorex-modules-auth-two-factor.module-CeJGeuid.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-ChMkstLg.mjs → acorex-modules-auth-user-sessions.component-D0jQEJcC.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-ChMkstLg.mjs.map → acorex-modules-auth-user-sessions.component-D0jQEJcC.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +92 -29
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs → acorex-modules-common-manage-extra-properties.command-7prqQhV5.mjs} +15 -12
- package/fesm2022/acorex-modules-common-manage-extra-properties.command-7prqQhV5.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +106 -8
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-contact-management.mjs +280 -122
- package/fesm2022/acorex-modules-contact-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +555 -490
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +315 -252
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-customer-management-acorex-modules-customer-management-DZBixdOT.mjs → acorex-modules-customer-management-acorex-modules-customer-management-BHs4rrB8.mjs} +12 -12
- package/fesm2022/{acorex-modules-customer-management-acorex-modules-customer-management-DZBixdOT.mjs.map → acorex-modules-customer-management-acorex-modules-customer-management-BHs4rrB8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-activity.entity-By32mnXN.mjs → acorex-modules-customer-management-activity.entity-D_9Nut_6.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-activity.entity-By32mnXN.mjs.map → acorex-modules-customer-management-activity.entity-D_9Nut_6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer-segment.entity-CjFYqTMc.mjs → acorex-modules-customer-management-customer-segment.entity-swBR8-dJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-customer-segment.entity-CjFYqTMc.mjs.map → acorex-modules-customer-management-customer-segment.entity-swBR8-dJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer-type.entity-Bk_Ng_DS.mjs → acorex-modules-customer-management-customer-type.entity-GmfdE2Ex.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-customer-type.entity-Bk_Ng_DS.mjs.map → acorex-modules-customer-management-customer-type.entity-GmfdE2Ex.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer.entity-rUNC9glL.mjs → acorex-modules-customer-management-customer.entity-Bld5nRai.mjs} +23 -23
- package/fesm2022/acorex-modules-customer-management-customer.entity-Bld5nRai.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-deal-contact-role.entity-BWX44lzi.mjs → acorex-modules-customer-management-deal-contact-role.entity-Ci_ymO_w.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-deal-contact-role.entity-BWX44lzi.mjs.map → acorex-modules-customer-management-deal-contact-role.entity-Ci_ymO_w.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-lead.entity-B3gv0YnT.mjs → acorex-modules-customer-management-lead.entity-BcQvYHnL.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-lead.entity-B3gv0YnT.mjs.map → acorex-modules-customer-management-lead.entity-BcQvYHnL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-lifecycle-stage.entity-cs1hb_Ro.mjs → acorex-modules-customer-management-lifecycle-stage.entity-DSZyAv5_.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-lifecycle-stage.entity-cs1hb_Ro.mjs.map → acorex-modules-customer-management-lifecycle-stage.entity-DSZyAv5_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-opportunity-stage.entity-C-opdmDW.mjs → acorex-modules-customer-management-opportunity-stage.entity-BpwLN_fw.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-opportunity-stage.entity-C-opdmDW.mjs.map → acorex-modules-customer-management-opportunity-stage.entity-BpwLN_fw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-opportunity.entity-D5n_4xgK.mjs → acorex-modules-customer-management-opportunity.entity-DaiL4951.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-opportunity.entity-D5n_4xgK.mjs.map → acorex-modules-customer-management-opportunity.entity-DaiL4951.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-sales-pipeline.entity-AeLhcil2.mjs → acorex-modules-customer-management-sales-pipeline.entity-DP_w8V9E.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-sales-pipeline.entity-AeLhcil2.mjs.map → acorex-modules-customer-management-sales-pipeline.entity-DP_w8V9E.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-sales-territory.entity-uK9N7p_k.mjs → acorex-modules-customer-management-sales-territory.entity-BJNrmMO3.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-sales-territory.entity-uK9N7p_k.mjs.map → acorex-modules-customer-management-sales-territory.entity-BJNrmMO3.mjs.map} +1 -1
- package/fesm2022/acorex-modules-customer-management.mjs +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +182 -54
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +93 -28
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-CiVbcZ81.mjs → acorex-modules-document-management-acorex-modules-document-management-BV6piYsz.mjs} +1037 -926
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BV6piYsz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-iRZU056o.mjs → acorex-modules-document-management-attachment-widget.component-DVXmIiQt.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-iRZU056o.mjs.map → acorex-modules-document-management-attachment-widget.component-DVXmIiQt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DCoD73F7.mjs → acorex-modules-document-management-create-folder-dialog.component-CiT3wteQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DCoD73F7.mjs.map → acorex-modules-document-management-create-folder-dialog.component-CiT3wteQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-D0JuVG8v.mjs → acorex-modules-document-management-details-view.component-BXUpaDZO.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-D0JuVG8v.mjs.map → acorex-modules-document-management-details-view.component-BXUpaDZO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-B-VnHqr3.mjs → acorex-modules-document-management-document-signature-popup.component-D3GahdPn.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-B-VnHqr3.mjs.map → acorex-modules-document-management-document-signature-popup.component-D3GahdPn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BdIU8PXg.mjs → acorex-modules-document-management-drive-choose.component-Bbms4LAS.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BdIU8PXg.mjs.map → acorex-modules-document-management-drive-choose.component-Bbms4LAS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DGQD1adR.mjs → acorex-modules-document-management-drive.component-DfHDC5o7.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-DGQD1adR.mjs.map → acorex-modules-document-management-drive.component-DfHDC5o7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-Ch9CAOwx.mjs → acorex-modules-document-management-large-icons-view.component-BPmfNI3J.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-Ch9CAOwx.mjs.map → acorex-modules-document-management-large-icons-view.component-BPmfNI3J.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DgGef-W5.mjs → acorex-modules-document-management-large-tiles-view.component-6fjTzrwf.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DgGef-W5.mjs.map → acorex-modules-document-management-large-tiles-view.component-6fjTzrwf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-DK6IZdC0.mjs → acorex-modules-document-management-list-view.component-DeBNY8Aj.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-DK6IZdC0.mjs.map → acorex-modules-document-management-list-view.component-DeBNY8Aj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BV7PYxuz.mjs → acorex-modules-document-management-permission-definition.provider-Bn-umdXX.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BV7PYxuz.mjs.map → acorex-modules-document-management-permission-definition.provider-Bn-umdXX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C37tOs99.mjs → acorex-modules-document-management-rename-node-dialog.component-LRFo58Xg.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C37tOs99.mjs.map → acorex-modules-document-management-rename-node-dialog.component-LRFo58Xg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D0NHNq4W.mjs → acorex-modules-document-management-small-icons-view.component-BlQ3EhiJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D0NHNq4W.mjs.map → acorex-modules-document-management-small-icons-view.component-BlQ3EhiJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DLNbw_y5.mjs → acorex-modules-document-management-small-tiles-view.component-BM2Uj_Wz.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DLNbw_y5.mjs.map → acorex-modules-document-management-small-tiles-view.component-BM2Uj_Wz.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-BvDYd3fI.mjs → acorex-modules-help-desk-acorex-modules-help-desk-C4s1EVQy.mjs} +123 -49
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-C4s1EVQy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DH_FG8iE.mjs → acorex-modules-help-desk-capture-screen.component-BLZbJmw1.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DH_FG8iE.mjs.map → acorex-modules-help-desk-capture-screen.component-BLZbJmw1.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-By3qopAk.mjs +1519 -0
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-By3qopAk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs → acorex-modules-human-capital-management-employee-skill.entity-DRUHGUnT.mjs} +17 -17
- package/fesm2022/acorex-modules-human-capital-management-employee-skill.entity-DRUHGUnT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs → acorex-modules-human-capital-management-employee.entity-Cn9GnmJE.mjs} +37 -15
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-Cn9GnmJE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs → acorex-modules-human-capital-management-employment-type.entity-BveY2th_.mjs} +11 -10
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-BveY2th_.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CIm3XrTb.mjs +267 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CIm3XrTb.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-COan6Cnw.mjs +95 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-COan6Cnw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs → acorex-modules-human-capital-management-position-assignment.entity-BJw9jR1o.mjs} +14 -14
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BJw9jR1o.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs → acorex-modules-human-capital-management-skill-level.entity-CZe8y_hA.mjs} +10 -10
- package/fesm2022/acorex-modules-human-capital-management-skill-level.entity-CZe8y_hA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs → acorex-modules-human-capital-management-skill.entity-CDXB7zyy.mjs} +8 -8
- package/fesm2022/acorex-modules-human-capital-management-skill.entity-CDXB7zyy.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +120 -13
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +125 -57
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +440 -164
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-D-RQ-D3d.mjs +155 -0
- package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-D-RQ-D3d.mjs.map +1 -0
- package/fesm2022/acorex-modules-meeting-management.mjs +654 -620
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +835 -795
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-BshJoI7_.mjs → acorex-modules-party-management-acorex-modules-party-management-DzhGLAZb.mjs} +373 -230
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-DzhGLAZb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-industry.entity-CoMI4imz.mjs → acorex-modules-party-management-industry.entity-sLrAmADa.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-industry.entity-CoMI4imz.mjs.map → acorex-modules-party-management-industry.entity-sLrAmADa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-D-VpvXeU.mjs → acorex-modules-party-management-party-identifier-type.entity-WL-tJlK7.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-D-VpvXeU.mjs.map → acorex-modules-party-management-party-identifier-type.entity-WL-tJlK7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-BcXi9BM0.mjs → acorex-modules-party-management-party-identifier.entity-BGJdllN8.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-BcXi9BM0.mjs.map → acorex-modules-party-management-party-identifier.entity-BGJdllN8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-B-gMK84C.mjs → acorex-modules-party-management-party-relationship.entity-Bhqgy4-Y.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-B-gMK84C.mjs.map → acorex-modules-party-management-party-relationship.entity-Bhqgy4-Y.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-role.entity-OV4XUnfD.mjs → acorex-modules-party-management-party-role.entity-BpPCL3GG.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-role.entity-OV4XUnfD.mjs.map → acorex-modules-party-management-party-role.entity-BpPCL3GG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party.entity-Cwd9EqB4.mjs → acorex-modules-party-management-party.entity-v-YrPNOP.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party.entity-Cwd9EqB4.mjs.map → acorex-modules-party-management-party.entity-v-YrPNOP.mjs.map} +1 -1
- package/fesm2022/acorex-modules-party-management.mjs +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +444 -397
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management-email-jsa.command-DC3Zbfdn.mjs +115 -0
- package/fesm2022/acorex-modules-project-management-email-jsa.command-DC3Zbfdn.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management-reassign-jsa.command-CJKR5FZw.mjs +113 -0
- package/fesm2022/acorex-modules-project-management-reassign-jsa.command-CJKR5FZw.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management-setup-jsa.command-Cztc8TDy.mjs +94 -0
- package/fesm2022/acorex-modules-project-management-setup-jsa.command-Cztc8TDy.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management-sign-jsa.command-b28tr2kE.mjs +77 -0
- package/fesm2022/acorex-modules-project-management-sign-jsa.command-b28tr2kE.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management.mjs +1416 -279
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +83 -15
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +4 -1
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-Je2Y8X62.mjs → acorex-modules-task-management-task-board.page-CaypEYjP.mjs} +3 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-Je2Y8X62.mjs.map → acorex-modules-task-management-task-board.page-CaypEYjP.mjs.map} +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +3254 -3069
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +1 -1
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/help-desk/index.d.ts +32 -14
- package/human-capital-management/index.d.ts +150 -2
- package/locale-management/index.d.ts +27 -3
- package/location-management/index.d.ts +20 -2
- package/log-management/index.d.ts +8 -1
- package/meeting-management/index.d.ts +47 -20
- package/notification-management/index.d.ts +48 -36
- package/package.json +5 -5
- package/party-management/index.d.ts +43 -1
- package/platform-management/index.d.ts +33 -21
- package/project-management/index.d.ts +156 -3
- package/report-management/index.d.ts +14 -2
- package/task-management/index.d.ts +56 -2
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BbO_ea5W.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-customer.entity-rUNC9glL.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CiVbcZ81.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-BvDYd3fI.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs +0 -723
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BshJoI7_.mjs.map +0 -1
|
@@ -5,7 +5,7 @@ import { AXPWidgetsCatalog, AXPLayoutBaseWidgetComponent, AXPWidgetGroupEnum, AX
|
|
|
5
5
|
import { AXMEntityCrudServiceImpl, AXPEntityService, AXP_ENTITY_CONFIG_TOKEN, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
6
6
|
import { AXP_DATA_PROPERTY_GROUP, AXP_APPEARANCE_PROPERTY_GROUP, AXP_NAME_PROPERTY, AXP_DATA_PATH_PROPERTY, AXP_BEHAVIOR_PROPERTY_GROUP, AXP_BG_COLOR_PROPERTY, plainTextDefaultProperty, AXP_COLOR_PROPERTY, AXPWidgetsModule } from '@acorex/platform/widgets';
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
|
-
import { Injectable, inject, Injector, input, signal, computed, effect, ChangeDetectionStrategy, Component, ElementRef, ChangeDetectorRef, viewChild, HostListener, InjectionToken, HostBinding,
|
|
8
|
+
import { Injectable, NgModule, inject, Injector, input, signal, computed, effect, ChangeDetectionStrategy, Component, ElementRef, ChangeDetectorRef, viewChild, HostListener, InjectionToken, HostBinding, output, contentChild, afterNextRender, model, ViewEncapsulation } from '@angular/core';
|
|
9
9
|
import { AXMLocaleManagementService } from '@acorex/modules/locale-management';
|
|
10
10
|
import { AXBarChartComponent } from '@acorex/charts/bar-chart';
|
|
11
11
|
import * as i2$3 from '@acorex/components/decorators';
|
|
@@ -54,6 +54,7 @@ import { AXPPageLayoutBaseComponent, AXPPageLayoutComponent, AXPPageLayoutBase }
|
|
|
54
54
|
import { AXPLayoutThemeService } from '@acorex/platform/themes/shared';
|
|
55
55
|
import * as i1$3 from '@acorex/components/loading';
|
|
56
56
|
import { AXLoadingModule } from '@acorex/components/loading';
|
|
57
|
+
import { AXMUsersEntityService } from '@acorex/modules/security-management';
|
|
57
58
|
import { signalStore, withState, withComputed, withMethods, patchState } from '@ngrx/signals';
|
|
58
59
|
import { AXLabelModule } from '@acorex/components/label';
|
|
59
60
|
import { AXBasePageComponent } from '@acorex/components/page';
|
|
@@ -419,6 +420,33 @@ var dashboard_entity = /*#__PURE__*/Object.freeze({
|
|
|
419
420
|
dashboardFactory: dashboardFactory
|
|
420
421
|
});
|
|
421
422
|
|
|
423
|
+
class AXMDashboardEntityModule {
|
|
424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDashboardEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
425
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMDashboardEntityModule }); }
|
|
426
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDashboardEntityModule, providers: [
|
|
427
|
+
{
|
|
428
|
+
provide: AXMDashboardService,
|
|
429
|
+
useClass: AXMDashboardServiceImpl,
|
|
430
|
+
},
|
|
431
|
+
] }); }
|
|
432
|
+
}
|
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDashboardEntityModule, decorators: [{
|
|
434
|
+
type: NgModule,
|
|
435
|
+
args: [{
|
|
436
|
+
imports: [],
|
|
437
|
+
exports: [],
|
|
438
|
+
declarations: [],
|
|
439
|
+
providers: [
|
|
440
|
+
{
|
|
441
|
+
provide: AXMDashboardService,
|
|
442
|
+
useClass: AXMDashboardServiceImpl,
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
}]
|
|
446
|
+
}] });
|
|
447
|
+
|
|
448
|
+
// Entity Services
|
|
449
|
+
|
|
422
450
|
class AXMEntityProvider {
|
|
423
451
|
constructor() {
|
|
424
452
|
this.injector = inject(Injector);
|
|
@@ -658,6 +686,27 @@ class AXMClockWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
|
|
|
658
686
|
const minWidthNeeded = clockCount * 100;
|
|
659
687
|
return width >= minWidthNeeded && clockCount <= 4;
|
|
660
688
|
}, ...(ngDevMode ? [{ debugName: "hasEnoughSpaceForHorizontal" }] : []));
|
|
689
|
+
// Dynamically compute font sizes for timezone code and abbreviation
|
|
690
|
+
this.codeFontSize = computed(() => {
|
|
691
|
+
const width = this.containerWidth();
|
|
692
|
+
const codeLength = this.timezone()?.code?.length ?? 0;
|
|
693
|
+
// Base scales with container width (100px -> ~10px, 400px -> ~22px)
|
|
694
|
+
const base = (width / 400) * 14 + 8;
|
|
695
|
+
// Penalize long codes more aggressively to allow two-line fit
|
|
696
|
+
const penalty = codeLength > 14 ? (codeLength - 14) * 0.8 : 0;
|
|
697
|
+
const size = Math.max(9, Math.min(22, base - penalty));
|
|
698
|
+
return Math.round(size);
|
|
699
|
+
}, ...(ngDevMode ? [{ debugName: "codeFontSize" }] : []));
|
|
700
|
+
this.abbrFontSize = computed(() => {
|
|
701
|
+
const width = this.containerWidth();
|
|
702
|
+
const abbrLength = this.timezone()?.abbr?.length ?? 0;
|
|
703
|
+
// Base scales with container width (100px -> ~16px, 400px -> ~30px)
|
|
704
|
+
const base = (width / 400) * 18 + 12;
|
|
705
|
+
// Penalize unusually long abbreviations
|
|
706
|
+
const penalty = abbrLength > 4 ? (abbrLength - 4) * 1 : 0;
|
|
707
|
+
const size = Math.max(14, Math.min(28, base - penalty));
|
|
708
|
+
return Math.round(size);
|
|
709
|
+
}, ...(ngDevMode ? [{ debugName: "abbrFontSize" }] : []));
|
|
661
710
|
this.loadUserTimezone();
|
|
662
711
|
}
|
|
663
712
|
ngAfterViewInit() {
|
|
@@ -721,16 +770,17 @@ class AXMClockWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
|
|
|
721
770
|
></axm-analog-clock>
|
|
722
771
|
</div>
|
|
723
772
|
@if (timezone()?.abbr) {
|
|
724
|
-
<div
|
|
725
|
-
class="ax-flex ax-flex-col ax-items-center ax-justify-center ax-text-center ax-min-w-[50px]"
|
|
726
|
-
[class.ax-pe-8]="isHorizontal() && others().length > 0"
|
|
727
|
-
>
|
|
773
|
+
<div class="ax-flex ax-flex-col ax-items-center ax-justify-center ax-text-center ax-min-w-[50px]">
|
|
728
774
|
@if (timezone()?.code) {
|
|
729
|
-
<span
|
|
730
|
-
|
|
731
|
-
|
|
775
|
+
<span
|
|
776
|
+
class="ax-font-medium ax-text-gray-500 ax-uppercase ax-block ax-2line"
|
|
777
|
+
[style.fontSize.px]="codeFontSize()"
|
|
778
|
+
>{{ timezone()?.code }}</span
|
|
779
|
+
>
|
|
732
780
|
}
|
|
733
|
-
<span class="ax-
|
|
781
|
+
<span class="ax-font-bold ax-text-gray-800 ax-mt-0" [style.fontSize.px]="abbrFontSize()">{{
|
|
782
|
+
timezone()?.abbr
|
|
783
|
+
}}</span>
|
|
734
784
|
</div>
|
|
735
785
|
}
|
|
736
786
|
</div>
|
|
@@ -776,7 +826,7 @@ class AXMClockWidgetViewComponent extends AXPLayoutBaseWidgetComponent {
|
|
|
776
826
|
}
|
|
777
827
|
</div>
|
|
778
828
|
</div>
|
|
779
|
-
`, isInline: true, styles: [":host{display:block;width:100%;height:100%}.ax-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "component", type: AXMAnalogClockComponent, selector: "axm-analog-clock", inputs: ["timezone", "classes", "showNumbers"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
829
|
+
`, isInline: true, styles: [":host{display:block;width:100%;height:100%}.ax-2line{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;line-height:1.1;max-height:2.2em}.ax-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"], dependencies: [{ kind: "component", type: AXMAnalogClockComponent, selector: "axm-analog-clock", inputs: ["timezone", "classes", "showNumbers"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
780
830
|
}
|
|
781
831
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMClockWidgetViewComponent, decorators: [{
|
|
782
832
|
type: Component,
|
|
@@ -807,16 +857,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
807
857
|
></axm-analog-clock>
|
|
808
858
|
</div>
|
|
809
859
|
@if (timezone()?.abbr) {
|
|
810
|
-
<div
|
|
811
|
-
class="ax-flex ax-flex-col ax-items-center ax-justify-center ax-text-center ax-min-w-[50px]"
|
|
812
|
-
[class.ax-pe-8]="isHorizontal() && others().length > 0"
|
|
813
|
-
>
|
|
860
|
+
<div class="ax-flex ax-flex-col ax-items-center ax-justify-center ax-text-center ax-min-w-[50px]">
|
|
814
861
|
@if (timezone()?.code) {
|
|
815
|
-
<span
|
|
816
|
-
|
|
817
|
-
|
|
862
|
+
<span
|
|
863
|
+
class="ax-font-medium ax-text-gray-500 ax-uppercase ax-block ax-2line"
|
|
864
|
+
[style.fontSize.px]="codeFontSize()"
|
|
865
|
+
>{{ timezone()?.code }}</span
|
|
866
|
+
>
|
|
818
867
|
}
|
|
819
|
-
<span class="ax-
|
|
868
|
+
<span class="ax-font-bold ax-text-gray-800 ax-mt-0" [style.fontSize.px]="abbrFontSize()">{{
|
|
869
|
+
timezone()?.abbr
|
|
870
|
+
}}</span>
|
|
820
871
|
</div>
|
|
821
872
|
}
|
|
822
873
|
</div>
|
|
@@ -862,7 +913,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
862
913
|
}
|
|
863
914
|
</div>
|
|
864
915
|
</div>
|
|
865
|
-
`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXMAnalogClockComponent], styles: [":host{display:block;width:100%;height:100%}.ax-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
|
|
916
|
+
`, standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [AXMAnalogClockComponent], styles: [":host{display:block;width:100%;height:100%}.ax-2line{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal;line-height:1.1;max-height:2.2em}.ax-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\n"] }]
|
|
866
917
|
}], ctorParameters: () => [] });
|
|
867
918
|
|
|
868
919
|
var analogClockWidgetView_component = /*#__PURE__*/Object.freeze({
|
|
@@ -4934,12 +4985,10 @@ function createAppRoute() {
|
|
|
4934
4985
|
}
|
|
4935
4986
|
class AXMDashboardManagementModule {
|
|
4936
4987
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDashboardManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4937
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMDashboardManagementModule, imports: [i2$2.AXPLayoutBuilderModule
|
|
4988
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMDashboardManagementModule, imports: [i2$2.AXPLayoutBuilderModule,
|
|
4989
|
+
// Entity Modules
|
|
4990
|
+
AXMDashboardEntityModule] }); }
|
|
4938
4991
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDashboardManagementModule, providers: [
|
|
4939
|
-
{
|
|
4940
|
-
provide: AXMDashboardService,
|
|
4941
|
-
useClass: AXMDashboardServiceImpl,
|
|
4942
|
-
},
|
|
4943
4992
|
{
|
|
4944
4993
|
provide: AXP_HOME_PAGES,
|
|
4945
4994
|
multi: true,
|
|
@@ -4982,7 +5031,9 @@ class AXMDashboardManagementModule {
|
|
|
4982
5031
|
AXPAdvancedWeatherWidget,
|
|
4983
5032
|
AXPAnalogClockWidget,
|
|
4984
5033
|
],
|
|
4985
|
-
})
|
|
5034
|
+
}),
|
|
5035
|
+
// Entity Modules
|
|
5036
|
+
AXMDashboardEntityModule] }); }
|
|
4986
5037
|
}
|
|
4987
5038
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDashboardManagementModule, decorators: [{
|
|
4988
5039
|
type: NgModule,
|
|
@@ -5005,12 +5056,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
5005
5056
|
AXPAnalogClockWidget,
|
|
5006
5057
|
],
|
|
5007
5058
|
}),
|
|
5059
|
+
// Entity Modules
|
|
5060
|
+
AXMDashboardEntityModule,
|
|
5008
5061
|
],
|
|
5009
5062
|
providers: [
|
|
5010
|
-
{
|
|
5011
|
-
provide: AXMDashboardService,
|
|
5012
|
-
useClass: AXMDashboardServiceImpl,
|
|
5013
|
-
},
|
|
5014
5063
|
{
|
|
5015
5064
|
provide: AXP_HOME_PAGES,
|
|
5016
5065
|
multi: true,
|
|
@@ -5426,12 +5475,12 @@ const modelToDashboardLayout = (model) => ({
|
|
|
5426
5475
|
title: model.title,
|
|
5427
5476
|
description: model.description,
|
|
5428
5477
|
widgets: model.widgets || [],
|
|
5478
|
+
createdBy: model.userId ?? model.createdBy,
|
|
5429
5479
|
roleIds: model.roleIds,
|
|
5430
5480
|
isDeleted: model.isDeleted,
|
|
5431
5481
|
locked: model.locked,
|
|
5432
5482
|
createdAt: model.createdAt,
|
|
5433
5483
|
updatedAt: model.updatedAt,
|
|
5434
|
-
createdBy: model.createdBy,
|
|
5435
5484
|
updatedBy: model.updatedBy,
|
|
5436
5485
|
scope: model.scope,
|
|
5437
5486
|
});
|
|
@@ -5444,6 +5493,7 @@ const dashboardLayoutToModel = (layout) => ({
|
|
|
5444
5493
|
title: layout.title,
|
|
5445
5494
|
description: layout.description || '',
|
|
5446
5495
|
widgets: layout.widgets,
|
|
5496
|
+
userId: layout.createdBy,
|
|
5447
5497
|
roleIds: layout.roleIds,
|
|
5448
5498
|
isDeleted: layout.isDeleted,
|
|
5449
5499
|
locked: layout.locked,
|
|
@@ -5467,6 +5517,28 @@ const readUserRole = (sessionService) => {
|
|
|
5467
5517
|
const candidate = sessionService.user;
|
|
5468
5518
|
return candidate?.role;
|
|
5469
5519
|
};
|
|
5520
|
+
/**
|
|
5521
|
+
* Extracts role ids from a user entity returned by AXMUsersEntityService.
|
|
5522
|
+
*/
|
|
5523
|
+
const extractUserRoleIds = (user) => {
|
|
5524
|
+
if (!user)
|
|
5525
|
+
return [];
|
|
5526
|
+
if (Array.isArray(user.roleIds) && user.roleIds.length > 0) {
|
|
5527
|
+
return user.roleIds.filter((r) => typeof r === 'string');
|
|
5528
|
+
}
|
|
5529
|
+
if (Array.isArray(user.roles) && user.roles.length > 0) {
|
|
5530
|
+
const ids = user.roles
|
|
5531
|
+
.map((r) => (typeof r?.id === 'string' ? r.id : undefined))
|
|
5532
|
+
.filter((id) => typeof id === 'string');
|
|
5533
|
+
if (ids.length > 0)
|
|
5534
|
+
return ids;
|
|
5535
|
+
}
|
|
5536
|
+
if (typeof user.roleId === 'string' && user.roleId)
|
|
5537
|
+
return [user.roleId];
|
|
5538
|
+
if (typeof user.role === 'string' && user.role)
|
|
5539
|
+
return [user.role];
|
|
5540
|
+
return [];
|
|
5541
|
+
};
|
|
5470
5542
|
/**
|
|
5471
5543
|
* Determines whether the given dashboard contains the provided user role.
|
|
5472
5544
|
*/
|
|
@@ -5573,18 +5645,90 @@ withComputed((state, sessionService = inject(AXPSessionService), layoutThemeServ
|
|
|
5573
5645
|
})),
|
|
5574
5646
|
//#endregion
|
|
5575
5647
|
//#region ---- Methods ----
|
|
5576
|
-
withMethods((store, dashboardPopup = inject(AXMDashboardPopupService), dialogService = inject(AXDialogService), translationService = inject(AXTranslationService), widgetPickerService = inject(AXPWidgetPickerService), dashboardService = inject(AXMDashboardService), settingService = inject(AXPSettingService), sessionService = inject(AXPSessionService), layoutThemeService = inject(AXPLayoutThemeService)) => {
|
|
5577
|
-
// Load dashboards from service - runs on init
|
|
5648
|
+
withMethods((store, dashboardPopup = inject(AXMDashboardPopupService), dialogService = inject(AXDialogService), translationService = inject(AXTranslationService), widgetPickerService = inject(AXPWidgetPickerService), dashboardService = inject(AXMDashboardService), settingService = inject(AXPSettingService), sessionService = inject(AXPSessionService), layoutThemeService = inject(AXPLayoutThemeService), usersService = inject(AXMUsersEntityService)) => {
|
|
5649
|
+
// Load dashboards from service - runs on init and when admin flag changes
|
|
5578
5650
|
effect(() => {
|
|
5579
|
-
|
|
5651
|
+
const isAdmin = store.isUserAdmin();
|
|
5652
|
+
loadDashboards(isAdmin);
|
|
5580
5653
|
});
|
|
5581
5654
|
/**
|
|
5582
5655
|
* Loads dashboards and sets current dashboard based on user settings.
|
|
5583
5656
|
*/
|
|
5584
|
-
async function loadDashboards() {
|
|
5657
|
+
async function loadDashboards(isAdmin) {
|
|
5585
5658
|
try {
|
|
5586
5659
|
patchState(store, { isLoading: true });
|
|
5587
|
-
|
|
5660
|
+
// Build server-side filter based on admin flag and user identity/role
|
|
5661
|
+
const userId = readUserId(sessionService);
|
|
5662
|
+
let userRoleIds = [];
|
|
5663
|
+
let userDisplayName;
|
|
5664
|
+
let filter;
|
|
5665
|
+
if (isAdmin) {
|
|
5666
|
+
// Admins see tenant scoped dashboards
|
|
5667
|
+
filter = {
|
|
5668
|
+
field: 'scope',
|
|
5669
|
+
operator: { type: 'equal' },
|
|
5670
|
+
value: 'T',
|
|
5671
|
+
};
|
|
5672
|
+
}
|
|
5673
|
+
else {
|
|
5674
|
+
// Non-admins see either:
|
|
5675
|
+
// 1) User scoped dashboards they created
|
|
5676
|
+
// 2) Tenant scoped dashboards where their role is included in roleIds
|
|
5677
|
+
const orFilters = [];
|
|
5678
|
+
if (userId) {
|
|
5679
|
+
try {
|
|
5680
|
+
const user = await usersService.getOne(userId);
|
|
5681
|
+
userRoleIds = extractUserRoleIds(user);
|
|
5682
|
+
userDisplayName = user?.displayName;
|
|
5683
|
+
}
|
|
5684
|
+
catch { }
|
|
5685
|
+
}
|
|
5686
|
+
if (userId) {
|
|
5687
|
+
// Match personal U dashboards by new field userId (preferred)
|
|
5688
|
+
orFilters.push({
|
|
5689
|
+
field: null,
|
|
5690
|
+
logic: 'and',
|
|
5691
|
+
operator: null,
|
|
5692
|
+
filters: [
|
|
5693
|
+
{ field: 'scope', operator: { type: 'equal' }, value: 'U' },
|
|
5694
|
+
{ field: 'userId', operator: { type: 'equal' }, value: userId },
|
|
5695
|
+
],
|
|
5696
|
+
});
|
|
5697
|
+
// Backward compatibility: also match by legacy createdBy if present
|
|
5698
|
+
orFilters.push({
|
|
5699
|
+
field: null,
|
|
5700
|
+
logic: 'and',
|
|
5701
|
+
operator: null,
|
|
5702
|
+
filters: [
|
|
5703
|
+
{ field: 'scope', operator: { type: 'equal' }, value: 'U' },
|
|
5704
|
+
{ field: 'createdBy', operator: { type: 'equal' }, value: userId },
|
|
5705
|
+
],
|
|
5706
|
+
});
|
|
5707
|
+
}
|
|
5708
|
+
if (userRoleIds.length > 0) {
|
|
5709
|
+
orFilters.push({
|
|
5710
|
+
field: null,
|
|
5711
|
+
logic: 'and',
|
|
5712
|
+
operator: null,
|
|
5713
|
+
filters: [
|
|
5714
|
+
{ field: 'scope', operator: { type: 'equal' }, value: 'T' },
|
|
5715
|
+
{ field: 'roleIds', operator: { type: 'in' }, value: userRoleIds },
|
|
5716
|
+
],
|
|
5717
|
+
});
|
|
5718
|
+
}
|
|
5719
|
+
if (orFilters.length === 1) {
|
|
5720
|
+
filter = orFilters[0];
|
|
5721
|
+
}
|
|
5722
|
+
else if (orFilters.length > 1) {
|
|
5723
|
+
filter = {
|
|
5724
|
+
field: null,
|
|
5725
|
+
logic: 'or',
|
|
5726
|
+
operator: null,
|
|
5727
|
+
filters: orFilters,
|
|
5728
|
+
};
|
|
5729
|
+
}
|
|
5730
|
+
}
|
|
5731
|
+
const result = await dashboardService.query({ skip: 0, take: 100, filter });
|
|
5588
5732
|
const dashboardModels = result.items || [];
|
|
5589
5733
|
const dashboards = dashboardModels.map(modelToDashboardLayout);
|
|
5590
5734
|
const currentDashboardId = await settingService
|
|
@@ -5945,19 +6089,7 @@ withMethods((store, dashboardPopup = inject(AXMDashboardPopupService), dialogSer
|
|
|
5945
6089
|
setIsAdmin(isAdmin) {
|
|
5946
6090
|
patchState(store, { isAdmin });
|
|
5947
6091
|
},
|
|
5948
|
-
|
|
5949
|
-
* Filters dashboards by user scope and role permissions.
|
|
5950
|
-
*/
|
|
5951
|
-
filterDashboardsByScope(isAdmin) {
|
|
5952
|
-
const allDashboards = store.availableDashboards();
|
|
5953
|
-
const userId = readUserId(sessionService);
|
|
5954
|
-
const userRole = readUserRole(sessionService);
|
|
5955
|
-
const filteredDashboards = filterDashboardsForUser(allDashboards, isAdmin, userId, userRole);
|
|
5956
|
-
patchState(store, { dashboards: filteredDashboards });
|
|
5957
|
-
if (filteredDashboards.length > 0 && !filteredDashboards.some((d) => d.id === store.currentDashboardId())) {
|
|
5958
|
-
this.setCurrentDashboard(filteredDashboards[0].id);
|
|
5959
|
-
}
|
|
5960
|
-
},
|
|
6092
|
+
// Client-side scope filtering is no longer needed; handled in query filter
|
|
5961
6093
|
/**
|
|
5962
6094
|
* Toggles lock state for current dashboard based on permission rules.
|
|
5963
6095
|
*/
|
|
@@ -6042,9 +6174,7 @@ class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent {
|
|
|
6042
6174
|
// Effects
|
|
6043
6175
|
#initEffect;
|
|
6044
6176
|
// Private Methods
|
|
6045
|
-
applyDashboardFiltering() {
|
|
6046
|
-
this.store.filterDashboardsByScope(this.store.isUserAdmin());
|
|
6047
|
-
}
|
|
6177
|
+
applyDashboardFiltering() { }
|
|
6048
6178
|
async confirmWidgetDelete(dashboardId, widgetId) {
|
|
6049
6179
|
try {
|
|
6050
6180
|
const dialogResult = await this.dialogService.confirm(await this.translateService.translateAsync('workflow.warning'), await this.translateService.translateAsync('workflow.confirm-delete'), 'danger', 'horizontal');
|
|
@@ -6132,7 +6262,6 @@ class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent {
|
|
|
6132
6262
|
switch (command.name) {
|
|
6133
6263
|
case 'new-dashboard':
|
|
6134
6264
|
await this.store.addDashboard();
|
|
6135
|
-
this.applyDashboardFiltering();
|
|
6136
6265
|
this.recompute();
|
|
6137
6266
|
break;
|
|
6138
6267
|
case 'new-widget':
|
|
@@ -6145,7 +6274,6 @@ class AXMDashboardHomeComponent extends AXPPageLayoutBaseComponent {
|
|
|
6145
6274
|
break;
|
|
6146
6275
|
case 'delete':
|
|
6147
6276
|
await this.store.removeDashboard(this.store.selectedDashboard()?.id);
|
|
6148
|
-
this.applyDashboardFiltering();
|
|
6149
6277
|
this.recompute();
|
|
6150
6278
|
break;
|
|
6151
6279
|
case 'toggle-lock':
|
|
@@ -6207,5 +6335,5 @@ var AXPHomeDashboardSetting;
|
|
|
6207
6335
|
* Generated bundle index. Do not edit.
|
|
6208
6336
|
*/
|
|
6209
6337
|
|
|
6210
|
-
export { AXMAddDashboardPopup, AXMAdvancedWeatherViewComponent, AXMAnalogClockComponent, AXMClockWidgetViewComponent, AXMConfigurationPopup, AXMDashboardHomeComponent, AXMDashboardManagementModule, AXMDashboardPopupService, AXMDashboardService, AXMDashboardServiceImpl, AXMDashboardStore, AXMDashboardWidgetWrapperComponent, AXMMinimalWeatherViewComponent, AXPAdvancedWeatherWidget, AXPAnalogClockWidget, AXPBarChartWidget, AXPBarChartWidgetViewComponent, AXPClockCalendarWidget, AXPClockCalendarWidgetViewComponent, AXPDonutChartWidget, AXPDonutChartWidgetViewComponent, AXPGaugeChartWidget, AXPGaugeChartWidgetViewComponent, AXPHomeDashboardSetting, AXPLineChartWidget, AXPLineChartWidgetViewComponent, AXPMinimalWeatherWidget, AXPStickyNoteWidget, AXPStickyNoteWidgetViewComponent, AXPWeatherApiAbstract, AXPWeatherApiMockService, AXPWeatherApiService, AXPWeatherWidget, AXPWeatherWidgetViewComponent, AXP_DATE_FORMAT_OPTIONS, AXP_TIMEZONE_OPTIONS, AXP_WIDGETS_CHART_CATEGORY, AXP_WIDGETS_UTILITY_CATEGORY, RootConfig, dashboardFactory };
|
|
6338
|
+
export { AXMAddDashboardPopup, AXMAdvancedWeatherViewComponent, AXMAnalogClockComponent, AXMClockWidgetViewComponent, AXMConfigurationPopup, AXMDashboardEntityModule, AXMDashboardHomeComponent, AXMDashboardManagementModule, AXMDashboardPopupService, AXMDashboardService, AXMDashboardServiceImpl, AXMDashboardStore, AXMDashboardWidgetWrapperComponent, AXMMinimalWeatherViewComponent, AXPAdvancedWeatherWidget, AXPAnalogClockWidget, AXPBarChartWidget, AXPBarChartWidgetViewComponent, AXPClockCalendarWidget, AXPClockCalendarWidgetViewComponent, AXPDonutChartWidget, AXPDonutChartWidgetViewComponent, AXPGaugeChartWidget, AXPGaugeChartWidgetViewComponent, AXPHomeDashboardSetting, AXPLineChartWidget, AXPLineChartWidgetViewComponent, AXPMinimalWeatherWidget, AXPStickyNoteWidget, AXPStickyNoteWidgetViewComponent, AXPWeatherApiAbstract, AXPWeatherApiMockService, AXPWeatherApiService, AXPWeatherWidget, AXPWeatherWidgetViewComponent, AXP_DATE_FORMAT_OPTIONS, AXP_TIMEZONE_OPTIONS, AXP_WIDGETS_CHART_CATEGORY, AXP_WIDGETS_UTILITY_CATEGORY, RootConfig, dashboardFactory };
|
|
6211
6339
|
//# sourceMappingURL=acorex-modules-dashboard-management.mjs.map
|