@acorex/modules 20.2.4-next.8 → 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 +13 -13
- 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
|
@@ -0,0 +1,1519 @@
|
|
|
1
|
+
import { AXMEntityCrudServiceImpl, AXPEntityService, AXP_ENTITY_DEFINITION_LOADER } from '@acorex/platform/layout/entity';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { Injectable, inject, signal, NgModule, Injector } from '@angular/core';
|
|
4
|
+
import { AXPWorkflowTaskProvider, AXP_WORKFLOW_TASK_PROVIDER } from '@acorex/platform/workflow';
|
|
5
|
+
import { AXTranslationService } from '@acorex/core/translation';
|
|
6
|
+
import { AXPCommandExecutor, AXPRuntimeModule, provideCommandSetups } from '@acorex/platform/runtime';
|
|
7
|
+
import { AXPDynamicDialogService, AXP_TASK_BADGE_PROVIDERS } from '@acorex/platform/layout/components';
|
|
8
|
+
import { AXPWidgetsList } from '@acorex/modules/common';
|
|
9
|
+
import { AXP_IDENTIFIER_RULES } from '@acorex/modules/identifier-management';
|
|
10
|
+
import { AXP_MENU_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER } from '@acorex/platform/common';
|
|
11
|
+
import { AXP_DATASOURCE_DEFINITION_PROVIDER } from '@acorex/platform/core';
|
|
12
|
+
import { CommonModule } from '@angular/common';
|
|
13
|
+
import { AXDataSource } from '@acorex/cdk/common';
|
|
14
|
+
import { AXPWidgetsCatalog } from '@acorex/platform/layout/builder';
|
|
15
|
+
import { AXPSessionService } from '@acorex/platform/auth';
|
|
16
|
+
import { firstValueFrom } from 'rxjs';
|
|
17
|
+
|
|
18
|
+
const config = {
|
|
19
|
+
i18n: 'human-capital-management',
|
|
20
|
+
module: 'HumanCapitalManagement',
|
|
21
|
+
};
|
|
22
|
+
const RootConfig = {
|
|
23
|
+
config,
|
|
24
|
+
module: {
|
|
25
|
+
route: 'human-capital-management',
|
|
26
|
+
name: config.module,
|
|
27
|
+
title: '@human-capital-management:module-name',
|
|
28
|
+
icon: 'fa-light fa-users',
|
|
29
|
+
},
|
|
30
|
+
entities: {
|
|
31
|
+
employee: {
|
|
32
|
+
name: 'Employee',
|
|
33
|
+
source: `${config.module}.Employee`,
|
|
34
|
+
title: '@human-capital-management:employee.individual-title',
|
|
35
|
+
icon: 'fa-light fa-address-card',
|
|
36
|
+
},
|
|
37
|
+
employmentType: {
|
|
38
|
+
name: 'EmploymentType',
|
|
39
|
+
source: `${config.module}.EmploymentType`,
|
|
40
|
+
title: '@human-capital-management:employment-type.individual-title',
|
|
41
|
+
icon: 'fa-light fa-file-signature',
|
|
42
|
+
},
|
|
43
|
+
skill: {
|
|
44
|
+
name: 'Skill',
|
|
45
|
+
source: `${config.module}.Skill`,
|
|
46
|
+
title: '@human-capital-management:skill.individual-title',
|
|
47
|
+
icon: 'fa-light fa-code',
|
|
48
|
+
},
|
|
49
|
+
skillLevel: {
|
|
50
|
+
name: 'SkillLevel',
|
|
51
|
+
source: `${config.module}.SkillLevel`,
|
|
52
|
+
title: '@human-capital-management:skill-level.individual-title',
|
|
53
|
+
icon: 'fa-light fa-signal-bars',
|
|
54
|
+
},
|
|
55
|
+
employeeSkill: {
|
|
56
|
+
name: 'EmployeeSkill',
|
|
57
|
+
source: `${config.module}.EmployeeSkill`,
|
|
58
|
+
title: '@human-capital-management:employee-skill.individual-title',
|
|
59
|
+
icon: 'fa-light fa-award',
|
|
60
|
+
},
|
|
61
|
+
positionAssignment: {
|
|
62
|
+
name: 'PositionAssignment',
|
|
63
|
+
source: `${config.module}.PositionAssignment`,
|
|
64
|
+
title: '@human-capital-management:position-assignment.individual-title',
|
|
65
|
+
icon: 'fa-light fa-user-tie-hair',
|
|
66
|
+
},
|
|
67
|
+
leaveType: {
|
|
68
|
+
name: 'LeaveType',
|
|
69
|
+
source: `${config.module}.LeaveType`,
|
|
70
|
+
title: '@human-capital-management:leave-type.individual-title',
|
|
71
|
+
icon: 'fa-light fa-calendar-days',
|
|
72
|
+
},
|
|
73
|
+
leaveRequest: {
|
|
74
|
+
name: 'LeaveRequest',
|
|
75
|
+
source: `${config.module}.LeaveRequest`,
|
|
76
|
+
title: '@human-capital-management:leave-request.individual-title',
|
|
77
|
+
icon: 'fa-light fa-plane-departure',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
class AXMHumanCapitalManagementEmployeeEntityService extends AXMEntityCrudServiceImpl {
|
|
83
|
+
}
|
|
84
|
+
class AXMHumanCapitalManagementEmployeeEntityServiceImpl extends AXMHumanCapitalManagementEmployeeEntityService {
|
|
85
|
+
constructor() {
|
|
86
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.employee.name}`);
|
|
87
|
+
}
|
|
88
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
89
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityServiceImpl }); }
|
|
90
|
+
}
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityServiceImpl, decorators: [{
|
|
92
|
+
type: Injectable
|
|
93
|
+
}], ctorParameters: () => [] });
|
|
94
|
+
|
|
95
|
+
class AXMHumanCapitalManagementSkillEntityService extends AXMEntityCrudServiceImpl {
|
|
96
|
+
}
|
|
97
|
+
class AXMHumanCapitalManagementSkillEntityServiceImpl extends AXMHumanCapitalManagementSkillEntityService {
|
|
98
|
+
constructor() {
|
|
99
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.skill.name}`);
|
|
100
|
+
}
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
102
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityServiceImpl }); }
|
|
103
|
+
}
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityServiceImpl, decorators: [{
|
|
105
|
+
type: Injectable
|
|
106
|
+
}], ctorParameters: () => [] });
|
|
107
|
+
|
|
108
|
+
class AXMHumanCapitalManagementEmploymentTypeEntityService extends AXMEntityCrudServiceImpl {
|
|
109
|
+
}
|
|
110
|
+
class AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl extends AXMHumanCapitalManagementEmploymentTypeEntityService {
|
|
111
|
+
constructor() {
|
|
112
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.employmentType.name}`);
|
|
113
|
+
}
|
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
115
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl }); }
|
|
116
|
+
}
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl, decorators: [{
|
|
118
|
+
type: Injectable
|
|
119
|
+
}], ctorParameters: () => [] });
|
|
120
|
+
|
|
121
|
+
class AXMHumanCapitalManagementLeaveRequestEntityService extends AXMEntityCrudServiceImpl {
|
|
122
|
+
}
|
|
123
|
+
class AXMHumanCapitalManagementLeaveRequestEntityServiceImpl extends AXMHumanCapitalManagementLeaveRequestEntityService {
|
|
124
|
+
constructor() {
|
|
125
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.leaveRequest.name}`);
|
|
126
|
+
}
|
|
127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveRequestEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
128
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveRequestEntityServiceImpl }); }
|
|
129
|
+
}
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveRequestEntityServiceImpl, decorators: [{
|
|
131
|
+
type: Injectable
|
|
132
|
+
}], ctorParameters: () => [] });
|
|
133
|
+
|
|
134
|
+
class AXPApproveLeaveCommand {
|
|
135
|
+
constructor() {
|
|
136
|
+
this.leaveRequestService = inject(AXMHumanCapitalManagementLeaveRequestEntityService);
|
|
137
|
+
}
|
|
138
|
+
async execute(input) {
|
|
139
|
+
try {
|
|
140
|
+
// Get the leave request
|
|
141
|
+
const leaveRequest = await this.leaveRequestService.getOne(input.id);
|
|
142
|
+
if (!leaveRequest) {
|
|
143
|
+
return { success: false, message: 'Leave request not found' };
|
|
144
|
+
}
|
|
145
|
+
// Create status change record
|
|
146
|
+
const statusChange = {
|
|
147
|
+
status: 'Approved',
|
|
148
|
+
changedAt: new Date(),
|
|
149
|
+
changedBy: 'current-user-id', // Get from session service
|
|
150
|
+
note: input.note
|
|
151
|
+
};
|
|
152
|
+
// Update status and add to history
|
|
153
|
+
const updatedLeaveRequest = {
|
|
154
|
+
...leaveRequest,
|
|
155
|
+
status: 'Approved',
|
|
156
|
+
statusNote: input.statusNote || leaveRequest.statusNote,
|
|
157
|
+
statusHistory: [
|
|
158
|
+
...(leaveRequest.statusHistory || []),
|
|
159
|
+
statusChange
|
|
160
|
+
]
|
|
161
|
+
};
|
|
162
|
+
await this.leaveRequestService.updateOne(input.id, updatedLeaveRequest);
|
|
163
|
+
return {
|
|
164
|
+
success: true,
|
|
165
|
+
message: 'Leave request approved successfully',
|
|
166
|
+
leaveRequest: await this.leaveRequestService.getOne(input.id)
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
catch (error) {
|
|
170
|
+
return {
|
|
171
|
+
success: false,
|
|
172
|
+
message: `Failed to approve leave request: ${error instanceof Error ? error.message : 'Unknown error'}`
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPApproveLeaveCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
177
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPApproveLeaveCommand, providedIn: 'root' }); }
|
|
178
|
+
}
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPApproveLeaveCommand, decorators: [{
|
|
180
|
+
type: Injectable,
|
|
181
|
+
args: [{
|
|
182
|
+
providedIn: 'root'
|
|
183
|
+
}]
|
|
184
|
+
}] });
|
|
185
|
+
|
|
186
|
+
var approveLeave_command = /*#__PURE__*/Object.freeze({
|
|
187
|
+
__proto__: null,
|
|
188
|
+
AXPApproveLeaveCommand: AXPApproveLeaveCommand
|
|
189
|
+
});
|
|
190
|
+
|
|
191
|
+
class AXPRejectLeaveCommand {
|
|
192
|
+
constructor() {
|
|
193
|
+
this.leaveRequestService = inject(AXMHumanCapitalManagementLeaveRequestEntityService);
|
|
194
|
+
}
|
|
195
|
+
async execute(input) {
|
|
196
|
+
try {
|
|
197
|
+
// Get the leave request
|
|
198
|
+
const leaveRequest = await this.leaveRequestService.getOne(input.id);
|
|
199
|
+
if (!leaveRequest) {
|
|
200
|
+
return { success: false, message: 'Leave request not found' };
|
|
201
|
+
}
|
|
202
|
+
// Create status change record
|
|
203
|
+
const statusChange = {
|
|
204
|
+
status: 'Rejected',
|
|
205
|
+
changedAt: new Date(),
|
|
206
|
+
changedBy: 'current-user-id', // Get from session service
|
|
207
|
+
note: input.note
|
|
208
|
+
};
|
|
209
|
+
// Update status and add to history
|
|
210
|
+
const updatedLeaveRequest = {
|
|
211
|
+
...leaveRequest,
|
|
212
|
+
status: 'Rejected',
|
|
213
|
+
statusNote: input.statusNote || leaveRequest.statusNote,
|
|
214
|
+
statusHistory: [
|
|
215
|
+
...(leaveRequest.statusHistory || []),
|
|
216
|
+
statusChange
|
|
217
|
+
]
|
|
218
|
+
};
|
|
219
|
+
await this.leaveRequestService.updateOne(input.id, updatedLeaveRequest);
|
|
220
|
+
return {
|
|
221
|
+
success: true,
|
|
222
|
+
message: 'Leave request rejected successfully',
|
|
223
|
+
leaveRequest: await this.leaveRequestService.getOne(input.id)
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
catch (error) {
|
|
227
|
+
return {
|
|
228
|
+
success: false,
|
|
229
|
+
message: `Failed to reject leave request: ${error instanceof Error ? error.message : 'Unknown error'}`
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPRejectLeaveCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
234
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPRejectLeaveCommand, providedIn: 'root' }); }
|
|
235
|
+
}
|
|
236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPRejectLeaveCommand, decorators: [{
|
|
237
|
+
type: Injectable,
|
|
238
|
+
args: [{
|
|
239
|
+
providedIn: 'root'
|
|
240
|
+
}]
|
|
241
|
+
}] });
|
|
242
|
+
|
|
243
|
+
var rejectLeave_command = /*#__PURE__*/Object.freeze({
|
|
244
|
+
__proto__: null,
|
|
245
|
+
AXPRejectLeaveCommand: AXPRejectLeaveCommand
|
|
246
|
+
});
|
|
247
|
+
|
|
248
|
+
class AXPCancelLeaveCommand {
|
|
249
|
+
constructor() {
|
|
250
|
+
this.leaveRequestService = inject(AXMHumanCapitalManagementLeaveRequestEntityService);
|
|
251
|
+
}
|
|
252
|
+
async execute(input) {
|
|
253
|
+
try {
|
|
254
|
+
// Get the leave request
|
|
255
|
+
const leaveRequest = await this.leaveRequestService.getOne(input.id);
|
|
256
|
+
if (!leaveRequest) {
|
|
257
|
+
return { success: false, message: 'Leave request not found' };
|
|
258
|
+
}
|
|
259
|
+
// Check if can be cancelled (only pending or approved requests)
|
|
260
|
+
if (leaveRequest.status === 'Rejected' || leaveRequest.status === 'Cancelled') {
|
|
261
|
+
return {
|
|
262
|
+
success: false,
|
|
263
|
+
message: 'Cannot cancel leave request in current status'
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
// Create status change record
|
|
267
|
+
const statusChange = {
|
|
268
|
+
status: 'Cancelled',
|
|
269
|
+
changedAt: new Date(),
|
|
270
|
+
changedBy: 'current-user-id', // Get from session service
|
|
271
|
+
note: input.note
|
|
272
|
+
};
|
|
273
|
+
// Update status and add to history
|
|
274
|
+
const updatedLeaveRequest = {
|
|
275
|
+
...leaveRequest,
|
|
276
|
+
status: 'Cancelled',
|
|
277
|
+
statusNote: input.statusNote || leaveRequest.statusNote,
|
|
278
|
+
statusHistory: [
|
|
279
|
+
...(leaveRequest.statusHistory || []),
|
|
280
|
+
statusChange
|
|
281
|
+
]
|
|
282
|
+
};
|
|
283
|
+
await this.leaveRequestService.updateOne(input.id, updatedLeaveRequest);
|
|
284
|
+
return {
|
|
285
|
+
success: true,
|
|
286
|
+
message: 'Leave request cancelled successfully',
|
|
287
|
+
leaveRequest: await this.leaveRequestService.getOne(input.id)
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
catch (error) {
|
|
291
|
+
return {
|
|
292
|
+
success: false,
|
|
293
|
+
message: `Failed to cancel leave request: ${error instanceof Error ? error.message : 'Unknown error'}`
|
|
294
|
+
};
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPCancelLeaveCommand, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
298
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPCancelLeaveCommand, providedIn: 'root' }); }
|
|
299
|
+
}
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPCancelLeaveCommand, decorators: [{
|
|
301
|
+
type: Injectable,
|
|
302
|
+
args: [{
|
|
303
|
+
providedIn: 'root'
|
|
304
|
+
}]
|
|
305
|
+
}] });
|
|
306
|
+
|
|
307
|
+
var cancelLeave_command = /*#__PURE__*/Object.freeze({
|
|
308
|
+
__proto__: null,
|
|
309
|
+
AXPCancelLeaveCommand: AXPCancelLeaveCommand
|
|
310
|
+
});
|
|
311
|
+
|
|
312
|
+
//#region ---- Command Types ----
|
|
313
|
+
//#endregion
|
|
314
|
+
|
|
315
|
+
class AXPLeaveRequestDialogService {
|
|
316
|
+
constructor() {
|
|
317
|
+
this.dialogService = inject(AXPDynamicDialogService);
|
|
318
|
+
this.translationService = inject(AXTranslationService);
|
|
319
|
+
}
|
|
320
|
+
async showRejectionDialog() {
|
|
321
|
+
const title = await this.translationService.translateAsync('@general:actions.reject.title');
|
|
322
|
+
const message = await this.translationService.translateAsync('@human-capital-management:leave-request.rejection-dialog.message');
|
|
323
|
+
const reasonLabel = await this.translationService.translateAsync('@human-capital-management:leave-request.rejection-dialog.reason-label');
|
|
324
|
+
const reasonPlaceholder = await this.translationService.translateAsync('@human-capital-management:leave-request.rejection-dialog.reason-placeholder');
|
|
325
|
+
const reasonDescription = await this.translationService.translateAsync('@human-capital-management:leave-request.rejection-dialog.reason-description');
|
|
326
|
+
const noteLabel = await this.translationService.translateAsync('@human-capital-management:leave-request.rejection-dialog.note-label');
|
|
327
|
+
const notePlaceholder = await this.translationService.translateAsync('@human-capital-management:leave-request.rejection-dialog.note-placeholder');
|
|
328
|
+
const noteDescription = await this.translationService.translateAsync('@human-capital-management:leave-request.rejection-dialog.note-description');
|
|
329
|
+
const config = {
|
|
330
|
+
title,
|
|
331
|
+
message,
|
|
332
|
+
formDefinition: {
|
|
333
|
+
groups: [
|
|
334
|
+
{
|
|
335
|
+
name: 'form',
|
|
336
|
+
parameters: [
|
|
337
|
+
{
|
|
338
|
+
path: 'reason',
|
|
339
|
+
title: reasonLabel,
|
|
340
|
+
description: reasonDescription,
|
|
341
|
+
widget: {
|
|
342
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
343
|
+
options: {
|
|
344
|
+
placeholder: reasonPlaceholder,
|
|
345
|
+
maxLength: 500
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
path: 'note',
|
|
351
|
+
title: noteLabel,
|
|
352
|
+
description: noteDescription,
|
|
353
|
+
widget: {
|
|
354
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
355
|
+
options: {
|
|
356
|
+
placeholder: notePlaceholder,
|
|
357
|
+
maxLength: 1000
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
context: { reason: '', note: '' },
|
|
366
|
+
actions: {
|
|
367
|
+
footer: {
|
|
368
|
+
suffix: [
|
|
369
|
+
{
|
|
370
|
+
title: await this.translationService.translateAsync('@general:actions.cancel.title'),
|
|
371
|
+
icon: 'fa-times',
|
|
372
|
+
color: 'default',
|
|
373
|
+
command: {
|
|
374
|
+
name: 'cancel'
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
title: await this.translationService.translateAsync('@general:actions.reject.title'),
|
|
379
|
+
icon: 'fa-times',
|
|
380
|
+
color: 'danger',
|
|
381
|
+
command: {
|
|
382
|
+
name: 'reject-leave-request'
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
]
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
const result = await this.dialogService.showDialog(config);
|
|
390
|
+
return {
|
|
391
|
+
reason: result.context['reason'],
|
|
392
|
+
note: result.context['note'],
|
|
393
|
+
cancelled: result.action === 'cancel'
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
async showCancellationDialog() {
|
|
397
|
+
const title = await this.translationService.translateAsync('@general:actions.cancel.title');
|
|
398
|
+
const message = await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.message');
|
|
399
|
+
const reasonLabel = await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.reason-label');
|
|
400
|
+
const reasonPlaceholder = await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.reason-placeholder');
|
|
401
|
+
const reasonDescription = await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.reason-description');
|
|
402
|
+
const noteLabel = await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.note-label');
|
|
403
|
+
const notePlaceholder = await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.note-placeholder');
|
|
404
|
+
const noteDescription = await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.note-description');
|
|
405
|
+
const config = {
|
|
406
|
+
title,
|
|
407
|
+
message,
|
|
408
|
+
formDefinition: {
|
|
409
|
+
groups: [
|
|
410
|
+
{
|
|
411
|
+
name: 'form',
|
|
412
|
+
parameters: [
|
|
413
|
+
{
|
|
414
|
+
path: 'reason',
|
|
415
|
+
title: reasonLabel,
|
|
416
|
+
description: reasonDescription,
|
|
417
|
+
widget: {
|
|
418
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
419
|
+
options: {
|
|
420
|
+
placeholder: reasonPlaceholder,
|
|
421
|
+
maxLength: 500
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
path: 'note',
|
|
427
|
+
title: noteLabel,
|
|
428
|
+
description: noteDescription,
|
|
429
|
+
widget: {
|
|
430
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
431
|
+
options: {
|
|
432
|
+
placeholder: notePlaceholder,
|
|
433
|
+
maxLength: 1000
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
]
|
|
438
|
+
}
|
|
439
|
+
]
|
|
440
|
+
},
|
|
441
|
+
context: { reason: '', note: '' },
|
|
442
|
+
actions: {
|
|
443
|
+
footer: {
|
|
444
|
+
suffix: [
|
|
445
|
+
{
|
|
446
|
+
title: await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.cancel-text'),
|
|
447
|
+
icon: 'fa-times',
|
|
448
|
+
color: 'default',
|
|
449
|
+
command: {
|
|
450
|
+
name: 'cancel'
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
title: await this.translationService.translateAsync('@human-capital-management:leave-request.cancellation-dialog.submit-text'),
|
|
455
|
+
icon: 'fa-check',
|
|
456
|
+
color: 'primary',
|
|
457
|
+
command: {
|
|
458
|
+
name: 'cancel-leave-request'
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
};
|
|
465
|
+
const result = await this.dialogService.showDialog(config);
|
|
466
|
+
return {
|
|
467
|
+
reason: result.context['reason'],
|
|
468
|
+
note: result.context['note'],
|
|
469
|
+
cancelled: result.action === 'cancel'
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
async showApprovalDialog() {
|
|
473
|
+
const title = await this.translationService.translateAsync('@general:actions.approve.title');
|
|
474
|
+
const message = await this.translationService.translateAsync('@human-capital-management:leave-request.approval-dialog.message');
|
|
475
|
+
const noteLabel = await this.translationService.translateAsync('@human-capital-management:leave-request.approval-dialog.note-label');
|
|
476
|
+
const notePlaceholder = await this.translationService.translateAsync('@human-capital-management:leave-request.approval-dialog.note-placeholder');
|
|
477
|
+
const noteDescription = await this.translationService.translateAsync('@human-capital-management:leave-request.approval-dialog.note-description');
|
|
478
|
+
const config = {
|
|
479
|
+
title,
|
|
480
|
+
message,
|
|
481
|
+
formDefinition: {
|
|
482
|
+
groups: [
|
|
483
|
+
{
|
|
484
|
+
name: 'form',
|
|
485
|
+
parameters: [
|
|
486
|
+
{
|
|
487
|
+
path: 'note',
|
|
488
|
+
title: noteLabel,
|
|
489
|
+
description: noteDescription,
|
|
490
|
+
widget: {
|
|
491
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
492
|
+
options: {
|
|
493
|
+
placeholder: notePlaceholder,
|
|
494
|
+
maxLength: 1000
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
]
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
},
|
|
502
|
+
context: { note: '' },
|
|
503
|
+
actions: {
|
|
504
|
+
footer: {
|
|
505
|
+
suffix: [
|
|
506
|
+
{
|
|
507
|
+
title: await this.translationService.translateAsync('@general:actions.cancel.title'),
|
|
508
|
+
icon: 'fa-times',
|
|
509
|
+
color: 'default',
|
|
510
|
+
command: {
|
|
511
|
+
name: 'cancel'
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
title: await this.translationService.translateAsync('@general:actions.approve.title'),
|
|
516
|
+
icon: 'fa-check',
|
|
517
|
+
color: 'success',
|
|
518
|
+
command: {
|
|
519
|
+
name: 'approve-leave-request'
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
]
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
const result = await this.dialogService.showDialog(config);
|
|
527
|
+
return {
|
|
528
|
+
reason: undefined,
|
|
529
|
+
note: result.context['note'],
|
|
530
|
+
cancelled: result.action === 'cancel'
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPLeaveRequestDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
534
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPLeaveRequestDialogService, providedIn: 'root' }); }
|
|
535
|
+
}
|
|
536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPLeaveRequestDialogService, decorators: [{
|
|
537
|
+
type: Injectable,
|
|
538
|
+
args: [{
|
|
539
|
+
providedIn: 'root'
|
|
540
|
+
}]
|
|
541
|
+
}] });
|
|
542
|
+
|
|
543
|
+
class AXMLeaveRequestTaskProvider extends AXPWorkflowTaskProvider {
|
|
544
|
+
constructor() {
|
|
545
|
+
super(...arguments);
|
|
546
|
+
this.leaveRequestService = inject(AXMHumanCapitalManagementLeaveRequestEntityService);
|
|
547
|
+
this.commandExecutor = inject(AXPCommandExecutor);
|
|
548
|
+
this.translationService = inject(AXTranslationService);
|
|
549
|
+
this.dialogService = inject(AXPLeaveRequestDialogService);
|
|
550
|
+
}
|
|
551
|
+
get name() {
|
|
552
|
+
return 'leave-request';
|
|
553
|
+
}
|
|
554
|
+
get title() {
|
|
555
|
+
return '@human-capital-management:leave-request.plural-title';
|
|
556
|
+
}
|
|
557
|
+
get icon() {
|
|
558
|
+
return 'fa-light fa-plane-departure';
|
|
559
|
+
}
|
|
560
|
+
async getTasks(options) {
|
|
561
|
+
const baseFilter = { logic: 'and', filters: [] };
|
|
562
|
+
baseFilter.filters?.push({ field: 'status', operator: { type: 'equal', negative: true }, value: 'Cancelled' });
|
|
563
|
+
if (options?.range?.from) {
|
|
564
|
+
baseFilter.filters?.push({ field: 'startDate', operator: { type: 'gte' }, value: options.range.from });
|
|
565
|
+
}
|
|
566
|
+
if (options?.range?.end) {
|
|
567
|
+
baseFilter.filters?.push({ field: 'endDate', operator: { type: 'lte' }, value: options.range.end });
|
|
568
|
+
}
|
|
569
|
+
if (options?.assigneeIds && options.assigneeIds.length > 0) {
|
|
570
|
+
// Filter by manager (assignee) of the employee requesting leave
|
|
571
|
+
baseFilter.filters?.push({ field: 'employee.manager.userId', operator: { type: 'in' }, value: options.assigneeIds });
|
|
572
|
+
}
|
|
573
|
+
const { items, total } = await this.leaveRequestService.query({
|
|
574
|
+
skip: options?.skip ?? 0,
|
|
575
|
+
take: options?.take ?? 20,
|
|
576
|
+
filter: baseFilter,
|
|
577
|
+
});
|
|
578
|
+
const tasks = items.map((item) => ({
|
|
579
|
+
id: item.id,
|
|
580
|
+
title: `${item.employee?.party?.displayName} - ${this.translationService.translateSync(item.leaveType?.title ?? '')}`,
|
|
581
|
+
description: item.reason ?? '',
|
|
582
|
+
startDate: item.startDate ?? new Date(),
|
|
583
|
+
endDate: item.endDate ?? new Date(),
|
|
584
|
+
assignee: { id: item.employee?.userId ?? '', type: 'user', fullName: item.employee?.manager?.party?.displayName ?? '' },
|
|
585
|
+
index: 2,
|
|
586
|
+
status: { id: item.status ?? 'Pending', title: item.status ?? 'Pending' },
|
|
587
|
+
priority: this.getPriorityFromStatus(item.status ?? 'Pending'),
|
|
588
|
+
reporter: { id: item.employee?.userId ?? item.employeeId, type: 'user', fullName: item.employee?.party?.displayName ?? '' },
|
|
589
|
+
payload: item,
|
|
590
|
+
}));
|
|
591
|
+
return { items: tasks, total };
|
|
592
|
+
}
|
|
593
|
+
async updateTasks(tasksToUpdate) {
|
|
594
|
+
// No-op for now. Could wire drag-drop to update status/dates.
|
|
595
|
+
return tasksToUpdate;
|
|
596
|
+
}
|
|
597
|
+
async executeCommand(command) {
|
|
598
|
+
try {
|
|
599
|
+
if (command.name === 'approveLeave' || command.name === 'rejectLeave' || command.name === 'cancelLeave') {
|
|
600
|
+
const leaveRequestId = command.options?.['id'] ?? '';
|
|
601
|
+
// Show appropriate dialog based on action
|
|
602
|
+
let dialogResult;
|
|
603
|
+
switch (command.name) {
|
|
604
|
+
case 'approveLeave':
|
|
605
|
+
dialogResult = await this.dialogService.showApprovalDialog();
|
|
606
|
+
break;
|
|
607
|
+
case 'rejectLeave':
|
|
608
|
+
dialogResult = await this.dialogService.showRejectionDialog();
|
|
609
|
+
break;
|
|
610
|
+
case 'cancelLeave':
|
|
611
|
+
dialogResult = await this.dialogService.showCancellationDialog();
|
|
612
|
+
break;
|
|
613
|
+
}
|
|
614
|
+
// If dialog was cancelled, return early
|
|
615
|
+
if (dialogResult?.cancelled) {
|
|
616
|
+
return { success: false };
|
|
617
|
+
}
|
|
618
|
+
const commandKey = `HumanCapitalManagement.LeaveRequest:${command.name === 'approveLeave' ? 'Approve' :
|
|
619
|
+
command.name === 'rejectLeave' ? 'Reject' : 'Cancel'}`;
|
|
620
|
+
const result = await this.commandExecutor.execute(commandKey, {
|
|
621
|
+
id: leaveRequestId,
|
|
622
|
+
reason: dialogResult?.reason,
|
|
623
|
+
note: dialogResult?.note,
|
|
624
|
+
statusNote: dialogResult?.note
|
|
625
|
+
});
|
|
626
|
+
if (result?.success) {
|
|
627
|
+
return { success: true };
|
|
628
|
+
}
|
|
629
|
+
else {
|
|
630
|
+
return { success: false };
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
return { success: true };
|
|
634
|
+
}
|
|
635
|
+
catch (error) {
|
|
636
|
+
return {
|
|
637
|
+
success: false
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
async getActions(task) {
|
|
642
|
+
const actions = [];
|
|
643
|
+
// Add approve action for pending requests
|
|
644
|
+
if (task?.status?.id === 'Pending' || task?.status?.id === 'Rejected') {
|
|
645
|
+
actions.push({
|
|
646
|
+
name: 'approveLeave',
|
|
647
|
+
title: this.translationService.translateSync('@general:actions.approve.title'),
|
|
648
|
+
icon: 'fa-light fa-check',
|
|
649
|
+
color: 'success',
|
|
650
|
+
command: { name: 'approveLeave', options: { id: task?.id ?? '' } },
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
// Add reject action for pending or approved requests
|
|
654
|
+
if (task?.status?.id === 'Pending' || task?.status?.id === 'Approved') {
|
|
655
|
+
actions.push({
|
|
656
|
+
name: 'rejectLeave',
|
|
657
|
+
title: this.translationService.translateSync('@general:actions.reject.title'),
|
|
658
|
+
icon: 'fa-light fa-xmark',
|
|
659
|
+
color: 'danger',
|
|
660
|
+
command: { name: 'rejectLeave', options: { id: task?.id ?? '' } },
|
|
661
|
+
});
|
|
662
|
+
}
|
|
663
|
+
// Add cancel action for pending or approved requests
|
|
664
|
+
if (task?.status?.id === 'Pending' || task?.status?.id === 'Approved') {
|
|
665
|
+
actions.push({
|
|
666
|
+
name: 'rejectLeave',
|
|
667
|
+
title: this.translationService.translateSync('@general:actions.cancel.title'),
|
|
668
|
+
icon: 'fa-light fa-ban',
|
|
669
|
+
color: 'secondary',
|
|
670
|
+
command: { name: 'cancelLeave', options: { id: task?.id ?? '' } },
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
return actions;
|
|
674
|
+
}
|
|
675
|
+
async getExtraFields() {
|
|
676
|
+
return [];
|
|
677
|
+
}
|
|
678
|
+
async getStatuses() {
|
|
679
|
+
return [
|
|
680
|
+
{ index: 0, key: 'Pending', title: await this.translationService.translateAsync('@human-capital-management:leave-request.pending'), color: 'warning' },
|
|
681
|
+
{ index: 1, key: 'Approved', title: await this.translationService.translateAsync('@human-capital-management:leave-request.approved'), color: 'success' },
|
|
682
|
+
{ index: 2, key: 'Rejected', title: await this.translationService.translateAsync('@human-capital-management:leave-request.rejected'), color: 'danger' },
|
|
683
|
+
{ index: 3, key: 'Cancelled', title: await this.translationService.translateAsync('@human-capital-management:leave-request.cancelled'), color: 'secondary' },
|
|
684
|
+
];
|
|
685
|
+
}
|
|
686
|
+
getPriorityFromStatus(status) {
|
|
687
|
+
switch (status) {
|
|
688
|
+
case 'Pending':
|
|
689
|
+
return 'medium';
|
|
690
|
+
case 'Approved':
|
|
691
|
+
return 'lowest';
|
|
692
|
+
case 'Rejected':
|
|
693
|
+
return 'high';
|
|
694
|
+
default:
|
|
695
|
+
return 'medium';
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
class AXMLeaveRequestBadgeProvider {
|
|
701
|
+
constructor() {
|
|
702
|
+
this.leaveRequestService = inject(AXMHumanCapitalManagementLeaveRequestEntityService);
|
|
703
|
+
this.count = signal(0, ...(ngDevMode ? [{ debugName: "count" }] : []));
|
|
704
|
+
this.key = 'leave-request-badge';
|
|
705
|
+
setTimeout(() => {
|
|
706
|
+
this.getCount();
|
|
707
|
+
}, 1000);
|
|
708
|
+
}
|
|
709
|
+
async getCount() {
|
|
710
|
+
// Base filter for pending leave requests that need approval
|
|
711
|
+
const baseFilters = [
|
|
712
|
+
{
|
|
713
|
+
field: 'status',
|
|
714
|
+
operator: { type: 'equal' },
|
|
715
|
+
value: 'Pending',
|
|
716
|
+
},
|
|
717
|
+
];
|
|
718
|
+
const result = await this.leaveRequestService.query({
|
|
719
|
+
skip: 0,
|
|
720
|
+
take: 99,
|
|
721
|
+
filter: {
|
|
722
|
+
logic: 'and',
|
|
723
|
+
filters: baseFilters,
|
|
724
|
+
},
|
|
725
|
+
});
|
|
726
|
+
this.count.set(result.total);
|
|
727
|
+
}
|
|
728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMLeaveRequestBadgeProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
729
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMLeaveRequestBadgeProvider }); }
|
|
730
|
+
}
|
|
731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMLeaveRequestBadgeProvider, decorators: [{
|
|
732
|
+
type: Injectable
|
|
733
|
+
}], ctorParameters: () => [] });
|
|
734
|
+
|
|
735
|
+
class AXMHumanCapitalManagementEmployeeSkillEntityService extends AXMEntityCrudServiceImpl {
|
|
736
|
+
}
|
|
737
|
+
class AXMHumanCapitalManagementEmployeeSkillEntityServiceImpl extends AXMHumanCapitalManagementEmployeeSkillEntityService {
|
|
738
|
+
constructor() {
|
|
739
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.employeeSkill.name}`);
|
|
740
|
+
}
|
|
741
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeSkillEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
742
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeSkillEntityServiceImpl }); }
|
|
743
|
+
}
|
|
744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeSkillEntityServiceImpl, decorators: [{
|
|
745
|
+
type: Injectable
|
|
746
|
+
}], ctorParameters: () => [] });
|
|
747
|
+
|
|
748
|
+
class AXMHumanCapitalManagementEmployeeSkillEntityModule {
|
|
749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeSkillEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
750
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeSkillEntityModule }); }
|
|
751
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeSkillEntityModule, providers: [
|
|
752
|
+
{ provide: AXMHumanCapitalManagementEmployeeSkillEntityService, useClass: AXMHumanCapitalManagementEmployeeSkillEntityServiceImpl },
|
|
753
|
+
] }); }
|
|
754
|
+
}
|
|
755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeSkillEntityModule, decorators: [{
|
|
756
|
+
type: NgModule,
|
|
757
|
+
args: [{
|
|
758
|
+
imports: [],
|
|
759
|
+
exports: [],
|
|
760
|
+
declarations: [],
|
|
761
|
+
providers: [
|
|
762
|
+
{ provide: AXMHumanCapitalManagementEmployeeSkillEntityService, useClass: AXMHumanCapitalManagementEmployeeSkillEntityServiceImpl },
|
|
763
|
+
],
|
|
764
|
+
}]
|
|
765
|
+
}] });
|
|
766
|
+
|
|
767
|
+
class AXMHumanCapitalManagementEmployeeEntityModule {
|
|
768
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
769
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityModule }); }
|
|
770
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityModule, providers: [
|
|
771
|
+
{ provide: AXMHumanCapitalManagementEmployeeEntityService, useClass: AXMHumanCapitalManagementEmployeeEntityServiceImpl },
|
|
772
|
+
] }); }
|
|
773
|
+
}
|
|
774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmployeeEntityModule, decorators: [{
|
|
775
|
+
type: NgModule,
|
|
776
|
+
args: [{
|
|
777
|
+
imports: [],
|
|
778
|
+
exports: [],
|
|
779
|
+
declarations: [],
|
|
780
|
+
providers: [
|
|
781
|
+
{ provide: AXMHumanCapitalManagementEmployeeEntityService, useClass: AXMHumanCapitalManagementEmployeeEntityServiceImpl },
|
|
782
|
+
],
|
|
783
|
+
}]
|
|
784
|
+
}] });
|
|
785
|
+
|
|
786
|
+
class AXMHumanCapitalManagementEmploymentTypeEntityModule {
|
|
787
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
788
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityModule }); }
|
|
789
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityModule, providers: [
|
|
790
|
+
{
|
|
791
|
+
provide: AXMHumanCapitalManagementEmploymentTypeEntityService,
|
|
792
|
+
useClass: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl,
|
|
793
|
+
},
|
|
794
|
+
] }); }
|
|
795
|
+
}
|
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementEmploymentTypeEntityModule, decorators: [{
|
|
797
|
+
type: NgModule,
|
|
798
|
+
args: [{
|
|
799
|
+
imports: [],
|
|
800
|
+
exports: [],
|
|
801
|
+
declarations: [],
|
|
802
|
+
providers: [
|
|
803
|
+
{
|
|
804
|
+
provide: AXMHumanCapitalManagementEmploymentTypeEntityService,
|
|
805
|
+
useClass: AXMHumanCapitalManagementEmploymentTypeEntityServiceImpl,
|
|
806
|
+
},
|
|
807
|
+
],
|
|
808
|
+
}]
|
|
809
|
+
}] });
|
|
810
|
+
|
|
811
|
+
class AXMHumanCapitalManagementLeaveTypeEntityService extends AXMEntityCrudServiceImpl {
|
|
812
|
+
}
|
|
813
|
+
class AXMHumanCapitalManagementLeaveTypeEntityServiceImpl extends AXMHumanCapitalManagementLeaveTypeEntityService {
|
|
814
|
+
constructor() {
|
|
815
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.leaveType.name}`);
|
|
816
|
+
}
|
|
817
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
818
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveTypeEntityServiceImpl }); }
|
|
819
|
+
}
|
|
820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveTypeEntityServiceImpl, decorators: [{
|
|
821
|
+
type: Injectable
|
|
822
|
+
}], ctorParameters: () => [] });
|
|
823
|
+
|
|
824
|
+
class AXMHumanCapitalManagementLeaveTypeEntityModule {
|
|
825
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
826
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveTypeEntityModule }); }
|
|
827
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveTypeEntityModule, providers: [
|
|
828
|
+
{
|
|
829
|
+
provide: AXMHumanCapitalManagementLeaveTypeEntityService,
|
|
830
|
+
useClass: AXMHumanCapitalManagementLeaveTypeEntityServiceImpl,
|
|
831
|
+
},
|
|
832
|
+
] }); }
|
|
833
|
+
}
|
|
834
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveTypeEntityModule, decorators: [{
|
|
835
|
+
type: NgModule,
|
|
836
|
+
args: [{
|
|
837
|
+
imports: [],
|
|
838
|
+
exports: [],
|
|
839
|
+
declarations: [],
|
|
840
|
+
providers: [
|
|
841
|
+
{
|
|
842
|
+
provide: AXMHumanCapitalManagementLeaveTypeEntityService,
|
|
843
|
+
useClass: AXMHumanCapitalManagementLeaveTypeEntityServiceImpl,
|
|
844
|
+
},
|
|
845
|
+
],
|
|
846
|
+
}]
|
|
847
|
+
}] });
|
|
848
|
+
|
|
849
|
+
class AXMHumanCapitalManagementPositionAssignmentEntityService extends AXMEntityCrudServiceImpl {
|
|
850
|
+
}
|
|
851
|
+
class AXMHumanCapitalManagementPositionAssignmentEntityServiceImpl extends AXMHumanCapitalManagementPositionAssignmentEntityService {
|
|
852
|
+
constructor() {
|
|
853
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.positionAssignment.name}`);
|
|
854
|
+
}
|
|
855
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementPositionAssignmentEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
856
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementPositionAssignmentEntityServiceImpl }); }
|
|
857
|
+
}
|
|
858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementPositionAssignmentEntityServiceImpl, decorators: [{
|
|
859
|
+
type: Injectable
|
|
860
|
+
}], ctorParameters: () => [] });
|
|
861
|
+
|
|
862
|
+
class AXMHumanCapitalManagementPositionAssignmentEntityModule {
|
|
863
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementPositionAssignmentEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
864
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementPositionAssignmentEntityModule }); }
|
|
865
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementPositionAssignmentEntityModule, providers: [
|
|
866
|
+
{ provide: AXMHumanCapitalManagementPositionAssignmentEntityService, useClass: AXMHumanCapitalManagementPositionAssignmentEntityServiceImpl },
|
|
867
|
+
] }); }
|
|
868
|
+
}
|
|
869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementPositionAssignmentEntityModule, decorators: [{
|
|
870
|
+
type: NgModule,
|
|
871
|
+
args: [{
|
|
872
|
+
imports: [],
|
|
873
|
+
exports: [],
|
|
874
|
+
declarations: [],
|
|
875
|
+
providers: [
|
|
876
|
+
{ provide: AXMHumanCapitalManagementPositionAssignmentEntityService, useClass: AXMHumanCapitalManagementPositionAssignmentEntityServiceImpl },
|
|
877
|
+
],
|
|
878
|
+
}]
|
|
879
|
+
}] });
|
|
880
|
+
|
|
881
|
+
class AXMHumanCapitalManagementSkillLevelEntityService extends AXMEntityCrudServiceImpl {
|
|
882
|
+
}
|
|
883
|
+
class AXMHumanCapitalManagementSkillLevelEntityServiceImpl extends AXMHumanCapitalManagementSkillLevelEntityService {
|
|
884
|
+
constructor() {
|
|
885
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.skillLevel.name}`);
|
|
886
|
+
}
|
|
887
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillLevelEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
888
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillLevelEntityServiceImpl }); }
|
|
889
|
+
}
|
|
890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillLevelEntityServiceImpl, decorators: [{
|
|
891
|
+
type: Injectable
|
|
892
|
+
}], ctorParameters: () => [] });
|
|
893
|
+
|
|
894
|
+
class AXMHumanCapitalManagementSkillLevelEntityModule {
|
|
895
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillLevelEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
896
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillLevelEntityModule }); }
|
|
897
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillLevelEntityModule, providers: [
|
|
898
|
+
{ provide: AXMHumanCapitalManagementSkillLevelEntityService, useClass: AXMHumanCapitalManagementSkillLevelEntityServiceImpl },
|
|
899
|
+
] }); }
|
|
900
|
+
}
|
|
901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillLevelEntityModule, decorators: [{
|
|
902
|
+
type: NgModule,
|
|
903
|
+
args: [{
|
|
904
|
+
imports: [],
|
|
905
|
+
exports: [],
|
|
906
|
+
declarations: [],
|
|
907
|
+
providers: [
|
|
908
|
+
{ provide: AXMHumanCapitalManagementSkillLevelEntityService, useClass: AXMHumanCapitalManagementSkillLevelEntityServiceImpl },
|
|
909
|
+
],
|
|
910
|
+
}]
|
|
911
|
+
}] });
|
|
912
|
+
|
|
913
|
+
class AXMHumanCapitalManagementSkillEntityModule {
|
|
914
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
915
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityModule }); }
|
|
916
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityModule, providers: [
|
|
917
|
+
{ provide: AXMHumanCapitalManagementSkillEntityService, useClass: AXMHumanCapitalManagementSkillEntityServiceImpl },
|
|
918
|
+
] }); }
|
|
919
|
+
}
|
|
920
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementSkillEntityModule, decorators: [{
|
|
921
|
+
type: NgModule,
|
|
922
|
+
args: [{
|
|
923
|
+
imports: [],
|
|
924
|
+
exports: [],
|
|
925
|
+
declarations: [],
|
|
926
|
+
providers: [
|
|
927
|
+
{ provide: AXMHumanCapitalManagementSkillEntityService, useClass: AXMHumanCapitalManagementSkillEntityServiceImpl },
|
|
928
|
+
],
|
|
929
|
+
}]
|
|
930
|
+
}] });
|
|
931
|
+
|
|
932
|
+
class AXMHumanCapitalModuleEntityProvider {
|
|
933
|
+
constructor() {
|
|
934
|
+
this.injector = inject(Injector);
|
|
935
|
+
}
|
|
936
|
+
preload() {
|
|
937
|
+
const module = RootConfig.module.name;
|
|
938
|
+
return Array.from(Object.values(RootConfig.entities)).map((entity) => ({
|
|
939
|
+
module: module,
|
|
940
|
+
entity: entity.name,
|
|
941
|
+
}));
|
|
942
|
+
}
|
|
943
|
+
async get(moduleName, entityName) {
|
|
944
|
+
if (moduleName == RootConfig.module.name) {
|
|
945
|
+
switch (entityName) {
|
|
946
|
+
case RootConfig.entities.employee.name:
|
|
947
|
+
return (await import('./acorex-modules-human-capital-management-employee.entity-Cn9GnmJE.mjs')).factory(this.injector);
|
|
948
|
+
case RootConfig.entities.employmentType.name:
|
|
949
|
+
return (await import('./acorex-modules-human-capital-management-employment-type.entity-BveY2th_.mjs')).factory(this.injector);
|
|
950
|
+
case RootConfig.entities.skill.name:
|
|
951
|
+
return (await import('./acorex-modules-human-capital-management-skill.entity-CDXB7zyy.mjs')).factory(this.injector);
|
|
952
|
+
case RootConfig.entities.skillLevel.name:
|
|
953
|
+
return (await import('./acorex-modules-human-capital-management-skill-level.entity-CZe8y_hA.mjs')).factory(this.injector);
|
|
954
|
+
case RootConfig.entities.employeeSkill.name:
|
|
955
|
+
return (await import('./acorex-modules-human-capital-management-employee-skill.entity-DRUHGUnT.mjs')).factory(this.injector);
|
|
956
|
+
case RootConfig.entities.positionAssignment?.name:
|
|
957
|
+
return (await import('./acorex-modules-human-capital-management-position-assignment.entity-BJw9jR1o.mjs')).factory(this.injector);
|
|
958
|
+
case RootConfig.entities.leaveType.name:
|
|
959
|
+
return (await import('./acorex-modules-human-capital-management-leave-type.entity-COan6Cnw.mjs')).factory(this.injector);
|
|
960
|
+
case RootConfig.entities.leaveRequest.name:
|
|
961
|
+
return (await import('./acorex-modules-human-capital-management-leave-request.entity-CIm3XrTb.mjs')).factory(this.injector);
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
return null;
|
|
965
|
+
}
|
|
966
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalModuleEntityProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
967
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalModuleEntityProvider }); }
|
|
968
|
+
}
|
|
969
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalModuleEntityProvider, decorators: [{
|
|
970
|
+
type: Injectable
|
|
971
|
+
}] });
|
|
972
|
+
|
|
973
|
+
class AXMEmployeeDataSourceDefinition {
|
|
974
|
+
constructor() {
|
|
975
|
+
this.employeeService = inject(AXMHumanCapitalManagementEmployeeEntityService);
|
|
976
|
+
}
|
|
977
|
+
items() {
|
|
978
|
+
return Promise.resolve([
|
|
979
|
+
{
|
|
980
|
+
name: 'employees',
|
|
981
|
+
title: 'Employees',
|
|
982
|
+
source: () => {
|
|
983
|
+
return new AXDataSource({
|
|
984
|
+
key: 'id',
|
|
985
|
+
load: async (_) => {
|
|
986
|
+
try {
|
|
987
|
+
const res = await this.employeeService.query();
|
|
988
|
+
return {
|
|
989
|
+
items: res.items.map((item) => ({
|
|
990
|
+
...item,
|
|
991
|
+
})),
|
|
992
|
+
total: res.total,
|
|
993
|
+
};
|
|
994
|
+
}
|
|
995
|
+
catch (e) {
|
|
996
|
+
console.log(e);
|
|
997
|
+
throw e;
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
byKey: async (key) => {
|
|
1001
|
+
return await this.employeeService.getOne(key);
|
|
1002
|
+
},
|
|
1003
|
+
pageSize: 100,
|
|
1004
|
+
});
|
|
1005
|
+
},
|
|
1006
|
+
columns: [
|
|
1007
|
+
{
|
|
1008
|
+
name: 'id',
|
|
1009
|
+
title: 'ID',
|
|
1010
|
+
datatype: 'uuid',
|
|
1011
|
+
type: AXPWidgetsCatalog.text,
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
name: 'employeeCode',
|
|
1015
|
+
title: 'Employee Code',
|
|
1016
|
+
datatype: 'string',
|
|
1017
|
+
type: AXPWidgetsCatalog.text,
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
name: 'party.displayName',
|
|
1021
|
+
title: 'Display Name',
|
|
1022
|
+
datatype: 'string',
|
|
1023
|
+
type: AXPWidgetsCatalog.text,
|
|
1024
|
+
},
|
|
1025
|
+
],
|
|
1026
|
+
filters: [
|
|
1027
|
+
{
|
|
1028
|
+
field: 'employeeCode',
|
|
1029
|
+
title: 'Employee Code',
|
|
1030
|
+
operator: {
|
|
1031
|
+
type: 'equal',
|
|
1032
|
+
},
|
|
1033
|
+
widget: {
|
|
1034
|
+
type: AXPWidgetsCatalog.text,
|
|
1035
|
+
},
|
|
1036
|
+
filterType: {
|
|
1037
|
+
advance: true,
|
|
1038
|
+
inline: true,
|
|
1039
|
+
},
|
|
1040
|
+
},
|
|
1041
|
+
],
|
|
1042
|
+
textField: {
|
|
1043
|
+
name: 'party.displayName',
|
|
1044
|
+
title: 'Display Name',
|
|
1045
|
+
},
|
|
1046
|
+
valueField: {
|
|
1047
|
+
name: 'id',
|
|
1048
|
+
title: 'ID',
|
|
1049
|
+
},
|
|
1050
|
+
},
|
|
1051
|
+
]);
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
class AXMSkillDataSourceDefinition {
|
|
1056
|
+
constructor() {
|
|
1057
|
+
this.skillService = inject(AXMHumanCapitalManagementSkillEntityService);
|
|
1058
|
+
}
|
|
1059
|
+
items() {
|
|
1060
|
+
return Promise.resolve([
|
|
1061
|
+
{
|
|
1062
|
+
name: 'skills',
|
|
1063
|
+
title: 'Skills',
|
|
1064
|
+
source: () => {
|
|
1065
|
+
return new AXDataSource({
|
|
1066
|
+
key: 'id',
|
|
1067
|
+
load: async (_) => {
|
|
1068
|
+
try {
|
|
1069
|
+
const res = await this.skillService.query();
|
|
1070
|
+
return {
|
|
1071
|
+
items: res.items.map((item) => ({
|
|
1072
|
+
...item,
|
|
1073
|
+
})),
|
|
1074
|
+
total: res.total,
|
|
1075
|
+
};
|
|
1076
|
+
}
|
|
1077
|
+
catch (e) {
|
|
1078
|
+
console.log(e);
|
|
1079
|
+
throw e;
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
byKey: async (key) => {
|
|
1083
|
+
return await this.skillService.getOne(key);
|
|
1084
|
+
},
|
|
1085
|
+
pageSize: 100,
|
|
1086
|
+
});
|
|
1087
|
+
},
|
|
1088
|
+
columns: [
|
|
1089
|
+
{
|
|
1090
|
+
name: 'id',
|
|
1091
|
+
title: 'ID',
|
|
1092
|
+
datatype: 'uuid',
|
|
1093
|
+
type: AXPWidgetsCatalog.text,
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
name: 'title',
|
|
1097
|
+
title: 'Title',
|
|
1098
|
+
datatype: 'string',
|
|
1099
|
+
type: AXPWidgetsCatalog.text,
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
name: 'description',
|
|
1103
|
+
title: 'Description',
|
|
1104
|
+
datatype: 'string',
|
|
1105
|
+
type: AXPWidgetsCatalog.text,
|
|
1106
|
+
},
|
|
1107
|
+
],
|
|
1108
|
+
filters: [
|
|
1109
|
+
{
|
|
1110
|
+
field: 'title',
|
|
1111
|
+
title: 'Title',
|
|
1112
|
+
operator: {
|
|
1113
|
+
type: 'equal',
|
|
1114
|
+
},
|
|
1115
|
+
widget: {
|
|
1116
|
+
type: AXPWidgetsCatalog.text,
|
|
1117
|
+
},
|
|
1118
|
+
filterType: {
|
|
1119
|
+
advance: true,
|
|
1120
|
+
inline: true,
|
|
1121
|
+
},
|
|
1122
|
+
},
|
|
1123
|
+
],
|
|
1124
|
+
textField: {
|
|
1125
|
+
name: 'title',
|
|
1126
|
+
title: 'Title',
|
|
1127
|
+
},
|
|
1128
|
+
valueField: {
|
|
1129
|
+
name: 'id',
|
|
1130
|
+
title: 'ID',
|
|
1131
|
+
},
|
|
1132
|
+
},
|
|
1133
|
+
]);
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
class AXMEmploymentTypeDataSourceDefinition {
|
|
1138
|
+
constructor() {
|
|
1139
|
+
this.employmentTypeService = inject(AXMHumanCapitalManagementEmploymentTypeEntityService);
|
|
1140
|
+
}
|
|
1141
|
+
items() {
|
|
1142
|
+
return Promise.resolve([
|
|
1143
|
+
{
|
|
1144
|
+
name: 'employmentTypes',
|
|
1145
|
+
title: 'Employment Types',
|
|
1146
|
+
source: () => {
|
|
1147
|
+
return new AXDataSource({
|
|
1148
|
+
key: 'id',
|
|
1149
|
+
load: async (_) => {
|
|
1150
|
+
try {
|
|
1151
|
+
const res = await this.employmentTypeService.query();
|
|
1152
|
+
return {
|
|
1153
|
+
items: res.items.map((item) => ({
|
|
1154
|
+
...item,
|
|
1155
|
+
})),
|
|
1156
|
+
total: res.total,
|
|
1157
|
+
};
|
|
1158
|
+
}
|
|
1159
|
+
catch (e) {
|
|
1160
|
+
console.log(e);
|
|
1161
|
+
throw e;
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
byKey: async (key) => {
|
|
1165
|
+
return await this.employmentTypeService.getOne(key);
|
|
1166
|
+
},
|
|
1167
|
+
pageSize: 100,
|
|
1168
|
+
});
|
|
1169
|
+
},
|
|
1170
|
+
columns: [
|
|
1171
|
+
{
|
|
1172
|
+
name: 'id',
|
|
1173
|
+
title: 'ID',
|
|
1174
|
+
datatype: 'uuid',
|
|
1175
|
+
type: AXPWidgetsCatalog.text,
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
name: 'title',
|
|
1179
|
+
title: 'Title',
|
|
1180
|
+
datatype: 'string',
|
|
1181
|
+
type: AXPWidgetsCatalog.text,
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
name: 'description',
|
|
1185
|
+
title: 'Description',
|
|
1186
|
+
datatype: 'string',
|
|
1187
|
+
type: AXPWidgetsCatalog.text,
|
|
1188
|
+
},
|
|
1189
|
+
],
|
|
1190
|
+
filters: [
|
|
1191
|
+
{
|
|
1192
|
+
field: 'title',
|
|
1193
|
+
title: 'Title',
|
|
1194
|
+
operator: {
|
|
1195
|
+
type: 'equal',
|
|
1196
|
+
},
|
|
1197
|
+
widget: {
|
|
1198
|
+
type: AXPWidgetsCatalog.text,
|
|
1199
|
+
},
|
|
1200
|
+
filterType: {
|
|
1201
|
+
advance: true,
|
|
1202
|
+
inline: true,
|
|
1203
|
+
},
|
|
1204
|
+
},
|
|
1205
|
+
],
|
|
1206
|
+
textField: {
|
|
1207
|
+
name: 'title',
|
|
1208
|
+
title: 'Title',
|
|
1209
|
+
},
|
|
1210
|
+
valueField: {
|
|
1211
|
+
name: 'id',
|
|
1212
|
+
title: 'ID',
|
|
1213
|
+
},
|
|
1214
|
+
},
|
|
1215
|
+
]);
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
const AXM_EMPLOYEE_CODE_IDENTIFIER_RULE = {
|
|
1220
|
+
id: 'employee-code',
|
|
1221
|
+
title: 'Employee Code',
|
|
1222
|
+
entity: 'HumanCapitalManagement.Employee',
|
|
1223
|
+
pattern: 'EMP-{date:YYYYMM}-{seq:4}',
|
|
1224
|
+
enabled: true,
|
|
1225
|
+
priority: 1,
|
|
1226
|
+
scopeConfig: { byTenant: false, period: 'yearly', minValue: 100, blockSize: 0 },
|
|
1227
|
+
};
|
|
1228
|
+
|
|
1229
|
+
class AXMMenuProvider {
|
|
1230
|
+
constructor() {
|
|
1231
|
+
this.entityService = inject(AXPEntityService);
|
|
1232
|
+
this.sessionService = inject(AXPSessionService);
|
|
1233
|
+
}
|
|
1234
|
+
async provide(context) {
|
|
1235
|
+
const isAuthorized = await firstValueFrom(this.sessionService.isAuthorized$);
|
|
1236
|
+
if (!isAuthorized) {
|
|
1237
|
+
return;
|
|
1238
|
+
}
|
|
1239
|
+
const scope = RootConfig.config.i18n;
|
|
1240
|
+
const module = RootConfig.module;
|
|
1241
|
+
context.addItems([
|
|
1242
|
+
{
|
|
1243
|
+
priority: 9002,
|
|
1244
|
+
text: '@human-capital-management:root-menu',
|
|
1245
|
+
icon: module.icon,
|
|
1246
|
+
// data: { requiredPermission: 'platform' },
|
|
1247
|
+
children: [
|
|
1248
|
+
{
|
|
1249
|
+
text: '@human-capital-management:employee.plural-title',
|
|
1250
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.employee.name),
|
|
1251
|
+
priority: 10,
|
|
1252
|
+
icon: RootConfig.entities.employee.icon,
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
text: '@human-capital-management:employment-type.plural-title',
|
|
1256
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.employmentType.name),
|
|
1257
|
+
priority: 11,
|
|
1258
|
+
icon: RootConfig.entities.employmentType.icon,
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
text: '@human-capital-management:skill.plural-title',
|
|
1262
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.skill.name),
|
|
1263
|
+
priority: 12,
|
|
1264
|
+
icon: RootConfig.entities.skill.icon,
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
text: '@human-capital-management:skill-level.plural-title',
|
|
1268
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.skillLevel.name),
|
|
1269
|
+
priority: 13,
|
|
1270
|
+
icon: RootConfig.entities.skillLevel.icon,
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
text: ``,
|
|
1274
|
+
type: 'break',
|
|
1275
|
+
priority: 14,
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
text: '@human-capital-management:leave-type.plural-title',
|
|
1279
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.leaveType.name),
|
|
1280
|
+
priority: 15,
|
|
1281
|
+
icon: RootConfig.entities.leaveType.icon,
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
text: '@human-capital-management:leave-request.plural-title',
|
|
1285
|
+
path: this.entityService.createPath(module.name, RootConfig.entities.leaveRequest.name),
|
|
1286
|
+
priority: 16,
|
|
1287
|
+
icon: RootConfig.entities.leaveRequest.icon,
|
|
1288
|
+
badgeKey: 'leave-request-badge',
|
|
1289
|
+
},
|
|
1290
|
+
],
|
|
1291
|
+
},
|
|
1292
|
+
]);
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
class AXMHumanCapitalManagementLeaveRequestEntityModule {
|
|
1297
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveRequestEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1298
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveRequestEntityModule }); }
|
|
1299
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveRequestEntityModule, providers: [
|
|
1300
|
+
{
|
|
1301
|
+
provide: AXMHumanCapitalManagementLeaveRequestEntityService,
|
|
1302
|
+
useClass: AXMHumanCapitalManagementLeaveRequestEntityServiceImpl,
|
|
1303
|
+
},
|
|
1304
|
+
] }); }
|
|
1305
|
+
}
|
|
1306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementLeaveRequestEntityModule, decorators: [{
|
|
1307
|
+
type: NgModule,
|
|
1308
|
+
args: [{
|
|
1309
|
+
imports: [],
|
|
1310
|
+
exports: [],
|
|
1311
|
+
declarations: [],
|
|
1312
|
+
providers: [
|
|
1313
|
+
{
|
|
1314
|
+
provide: AXMHumanCapitalManagementLeaveRequestEntityService,
|
|
1315
|
+
useClass: AXMHumanCapitalManagementLeaveRequestEntityServiceImpl,
|
|
1316
|
+
},
|
|
1317
|
+
],
|
|
1318
|
+
}]
|
|
1319
|
+
}] });
|
|
1320
|
+
|
|
1321
|
+
class AXMLeaveRequestFeatureModule {
|
|
1322
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMLeaveRequestFeatureModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1323
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMLeaveRequestFeatureModule, imports: [CommonModule,
|
|
1324
|
+
AXPRuntimeModule] }); }
|
|
1325
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMLeaveRequestFeatureModule, providers: [
|
|
1326
|
+
{
|
|
1327
|
+
provide: AXP_TASK_BADGE_PROVIDERS,
|
|
1328
|
+
useClass: AXMLeaveRequestBadgeProvider,
|
|
1329
|
+
multi: true,
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
provide: AXP_WORKFLOW_TASK_PROVIDER,
|
|
1333
|
+
useClass: AXMLeaveRequestTaskProvider,
|
|
1334
|
+
multi: true,
|
|
1335
|
+
},
|
|
1336
|
+
provideCommandSetups([
|
|
1337
|
+
{
|
|
1338
|
+
key: 'HumanCapitalManagement.LeaveRequest:Approve',
|
|
1339
|
+
command: () => Promise.resolve().then(function () { return approveLeave_command; }).then((c) => c.AXPApproveLeaveCommand),
|
|
1340
|
+
},
|
|
1341
|
+
{
|
|
1342
|
+
key: 'HumanCapitalManagement.LeaveRequest:Reject',
|
|
1343
|
+
command: () => Promise.resolve().then(function () { return rejectLeave_command; }).then((c) => c.AXPRejectLeaveCommand),
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
key: 'HumanCapitalManagement.LeaveRequest:Cancel',
|
|
1347
|
+
command: () => Promise.resolve().then(function () { return cancelLeave_command; }).then((c) => c.AXPCancelLeaveCommand),
|
|
1348
|
+
},
|
|
1349
|
+
]),
|
|
1350
|
+
], imports: [CommonModule,
|
|
1351
|
+
AXPRuntimeModule] }); }
|
|
1352
|
+
}
|
|
1353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMLeaveRequestFeatureModule, decorators: [{
|
|
1354
|
+
type: NgModule,
|
|
1355
|
+
args: [{
|
|
1356
|
+
imports: [
|
|
1357
|
+
CommonModule,
|
|
1358
|
+
AXPRuntimeModule,
|
|
1359
|
+
],
|
|
1360
|
+
providers: [
|
|
1361
|
+
{
|
|
1362
|
+
provide: AXP_TASK_BADGE_PROVIDERS,
|
|
1363
|
+
useClass: AXMLeaveRequestBadgeProvider,
|
|
1364
|
+
multi: true,
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
provide: AXP_WORKFLOW_TASK_PROVIDER,
|
|
1368
|
+
useClass: AXMLeaveRequestTaskProvider,
|
|
1369
|
+
multi: true,
|
|
1370
|
+
},
|
|
1371
|
+
provideCommandSetups([
|
|
1372
|
+
{
|
|
1373
|
+
key: 'HumanCapitalManagement.LeaveRequest:Approve',
|
|
1374
|
+
command: () => Promise.resolve().then(function () { return approveLeave_command; }).then((c) => c.AXPApproveLeaveCommand),
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
key: 'HumanCapitalManagement.LeaveRequest:Reject',
|
|
1378
|
+
command: () => Promise.resolve().then(function () { return rejectLeave_command; }).then((c) => c.AXPRejectLeaveCommand),
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
key: 'HumanCapitalManagement.LeaveRequest:Cancel',
|
|
1382
|
+
command: () => Promise.resolve().then(function () { return cancelLeave_command; }).then((c) => c.AXPCancelLeaveCommand),
|
|
1383
|
+
},
|
|
1384
|
+
]),
|
|
1385
|
+
],
|
|
1386
|
+
}]
|
|
1387
|
+
}] });
|
|
1388
|
+
|
|
1389
|
+
class AXMHumanCapitalManagementModule {
|
|
1390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1391
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementModule, imports: [CommonModule,
|
|
1392
|
+
AXPRuntimeModule,
|
|
1393
|
+
AXMHumanCapitalManagementEmploymentTypeEntityModule,
|
|
1394
|
+
AXMHumanCapitalManagementSkillEntityModule,
|
|
1395
|
+
AXMHumanCapitalManagementSkillLevelEntityModule,
|
|
1396
|
+
AXMHumanCapitalManagementEmployeeSkillEntityModule,
|
|
1397
|
+
AXMHumanCapitalManagementPositionAssignmentEntityModule,
|
|
1398
|
+
AXMHumanCapitalManagementEmployeeEntityModule,
|
|
1399
|
+
AXMHumanCapitalManagementLeaveTypeEntityModule,
|
|
1400
|
+
AXMHumanCapitalManagementLeaveRequestEntityModule,
|
|
1401
|
+
AXMLeaveRequestFeatureModule] }); }
|
|
1402
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementModule, providers: [
|
|
1403
|
+
{
|
|
1404
|
+
provide: AXP_IDENTIFIER_RULES,
|
|
1405
|
+
multi: true,
|
|
1406
|
+
useValue: AXM_EMPLOYEE_CODE_IDENTIFIER_RULE,
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
|
1410
|
+
useClass: AXMHumanCapitalModuleEntityProvider,
|
|
1411
|
+
multi: true,
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
provide: AXP_MENU_PROVIDER,
|
|
1415
|
+
useClass: AXMMenuProvider,
|
|
1416
|
+
multi: true,
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
1420
|
+
useFactory: async () => {
|
|
1421
|
+
const injector = inject(Injector);
|
|
1422
|
+
const provider = (await import('./acorex-modules-human-capital-management-settings.provider-rRaBaVeh.mjs')).AXMSettingProvider;
|
|
1423
|
+
return new provider(injector);
|
|
1424
|
+
},
|
|
1425
|
+
multi: true,
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
|
1429
|
+
useClass: AXMEmployeeDataSourceDefinition,
|
|
1430
|
+
multi: true,
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
|
1434
|
+
useClass: AXMSkillDataSourceDefinition,
|
|
1435
|
+
multi: true,
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
|
1439
|
+
useClass: AXMEmploymentTypeDataSourceDefinition,
|
|
1440
|
+
multi: true,
|
|
1441
|
+
},
|
|
1442
|
+
], imports: [CommonModule,
|
|
1443
|
+
AXPRuntimeModule,
|
|
1444
|
+
AXMHumanCapitalManagementEmploymentTypeEntityModule,
|
|
1445
|
+
AXMHumanCapitalManagementSkillEntityModule,
|
|
1446
|
+
AXMHumanCapitalManagementSkillLevelEntityModule,
|
|
1447
|
+
AXMHumanCapitalManagementEmployeeSkillEntityModule,
|
|
1448
|
+
AXMHumanCapitalManagementPositionAssignmentEntityModule,
|
|
1449
|
+
AXMHumanCapitalManagementEmployeeEntityModule,
|
|
1450
|
+
AXMHumanCapitalManagementLeaveTypeEntityModule,
|
|
1451
|
+
AXMHumanCapitalManagementLeaveRequestEntityModule,
|
|
1452
|
+
AXMLeaveRequestFeatureModule] }); }
|
|
1453
|
+
}
|
|
1454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMHumanCapitalManagementModule, decorators: [{
|
|
1455
|
+
type: NgModule,
|
|
1456
|
+
args: [{
|
|
1457
|
+
imports: [
|
|
1458
|
+
CommonModule,
|
|
1459
|
+
AXPRuntimeModule,
|
|
1460
|
+
AXMHumanCapitalManagementEmploymentTypeEntityModule,
|
|
1461
|
+
AXMHumanCapitalManagementSkillEntityModule,
|
|
1462
|
+
AXMHumanCapitalManagementSkillLevelEntityModule,
|
|
1463
|
+
AXMHumanCapitalManagementEmployeeSkillEntityModule,
|
|
1464
|
+
AXMHumanCapitalManagementPositionAssignmentEntityModule,
|
|
1465
|
+
AXMHumanCapitalManagementEmployeeEntityModule,
|
|
1466
|
+
AXMHumanCapitalManagementLeaveTypeEntityModule,
|
|
1467
|
+
AXMHumanCapitalManagementLeaveRequestEntityModule,
|
|
1468
|
+
AXMLeaveRequestFeatureModule,
|
|
1469
|
+
],
|
|
1470
|
+
providers: [
|
|
1471
|
+
{
|
|
1472
|
+
provide: AXP_IDENTIFIER_RULES,
|
|
1473
|
+
multi: true,
|
|
1474
|
+
useValue: AXM_EMPLOYEE_CODE_IDENTIFIER_RULE,
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
provide: AXP_ENTITY_DEFINITION_LOADER,
|
|
1478
|
+
useClass: AXMHumanCapitalModuleEntityProvider,
|
|
1479
|
+
multi: true,
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
provide: AXP_MENU_PROVIDER,
|
|
1483
|
+
useClass: AXMMenuProvider,
|
|
1484
|
+
multi: true,
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
provide: AXP_SETTING_DEFINITION_PROVIDER,
|
|
1488
|
+
useFactory: async () => {
|
|
1489
|
+
const injector = inject(Injector);
|
|
1490
|
+
const provider = (await import('./acorex-modules-human-capital-management-settings.provider-rRaBaVeh.mjs')).AXMSettingProvider;
|
|
1491
|
+
return new provider(injector);
|
|
1492
|
+
},
|
|
1493
|
+
multi: true,
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
|
1497
|
+
useClass: AXMEmployeeDataSourceDefinition,
|
|
1498
|
+
multi: true,
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
|
1502
|
+
useClass: AXMSkillDataSourceDefinition,
|
|
1503
|
+
multi: true,
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
provide: AXP_DATASOURCE_DEFINITION_PROVIDER,
|
|
1507
|
+
useClass: AXMEmploymentTypeDataSourceDefinition,
|
|
1508
|
+
multi: true,
|
|
1509
|
+
},
|
|
1510
|
+
],
|
|
1511
|
+
}]
|
|
1512
|
+
}] });
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Generated bundle index. Do not edit.
|
|
1516
|
+
*/
|
|
1517
|
+
|
|
1518
|
+
export { AXMHumanCapitalManagementEmployeeEntityService as A, RootConfig as R, AXMHumanCapitalManagementEmploymentTypeEntityService as a, AXMHumanCapitalManagementSkillEntityService as b, AXMHumanCapitalManagementSkillLevelEntityService as c, AXMHumanCapitalManagementEmployeeSkillEntityService as d, AXMHumanCapitalManagementPositionAssignmentEntityService as e, AXMHumanCapitalManagementLeaveTypeEntityService as f, AXMHumanCapitalManagementLeaveRequestEntityService as g, AXPApproveLeaveCommand as h, AXPRejectLeaveCommand as i, AXPCancelLeaveCommand as j, AXMLeaveRequestTaskProvider as k, AXPLeaveRequestDialogService as l, AXMLeaveRequestBadgeProvider as m, AXMHumanCapitalManagementModule as n };
|
|
1519
|
+
//# sourceMappingURL=acorex-modules-human-capital-management-acorex-modules-human-capital-management-By3qopAk.mjs.map
|