@acorex/modules 20.2.4-next.9 → 20.3.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/application-management/index.d.ts +49 -1
- package/calendar-management/index.d.ts +19 -1
- package/common/index.d.ts +50 -0
- package/contact-management/index.d.ts +40 -4
- package/content-management/index.d.ts +20 -2
- package/conversation/index.d.ts +34 -16
- package/dashboard-management/index.d.ts +11 -4
- package/data-management/index.d.ts +20 -2
- package/document-management/index.d.ts +36 -6
- package/fesm2022/acorex-modules-application-management.mjs +483 -286
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-BbO_ea5W.mjs → acorex-modules-auth-acorex-modules-auth-BTi7qTvr.mjs} +29 -12
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BTi7qTvr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-app-chooser.component-y0HLrwJM.mjs → acorex-modules-auth-app-chooser.component-s4LYKAc7.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-y0HLrwJM.mjs.map → acorex-modules-auth-app-chooser.component-s4LYKAc7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-1U_5UgDs.mjs → acorex-modules-auth-login.module-DetWdAgo.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-1U_5UgDs.mjs.map → acorex-modules-auth-login.module-DetWdAgo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-DGsAGhOH.mjs → acorex-modules-auth-master.layout-BJRB1Vns.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-DGsAGhOH.mjs.map → acorex-modules-auth-master.layout-BJRB1Vns.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CPHBV5bA.mjs → acorex-modules-auth-oauth-callback.component-DKHJoF3X.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-CPHBV5bA.mjs.map → acorex-modules-auth-oauth-callback.component-DKHJoF3X.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-CF3ReHyw.mjs → acorex-modules-auth-password.component-B_vA7-vu.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-CF3ReHyw.mjs.map → acorex-modules-auth-password.component-B_vA7-vu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-C85NgQxA.mjs → acorex-modules-auth-password.component-WUrm5Y6i.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-C85NgQxA.mjs.map → acorex-modules-auth-password.component-WUrm5Y6i.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-BJh0Fwpy.mjs → acorex-modules-auth-routes-CYf17elA.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-BJh0Fwpy.mjs.map → acorex-modules-auth-routes-CYf17elA.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-show-profile-command-DjvX7n9K.mjs +53 -0
- package/fesm2022/acorex-modules-auth-show-profile-command-DjvX7n9K.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-Bsh2_A5L.mjs → acorex-modules-auth-two-factor.module-CeJGeuid.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-Bsh2_A5L.mjs.map → acorex-modules-auth-two-factor.module-CeJGeuid.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-ChMkstLg.mjs → acorex-modules-auth-user-sessions.component-D0jQEJcC.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-ChMkstLg.mjs.map → acorex-modules-auth-user-sessions.component-D0jQEJcC.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-calendar-management.mjs +92 -29
- package/fesm2022/acorex-modules-calendar-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs → acorex-modules-common-manage-extra-properties.command-7prqQhV5.mjs} +15 -12
- package/fesm2022/acorex-modules-common-manage-extra-properties.command-7prqQhV5.mjs.map +1 -0
- package/fesm2022/acorex-modules-common.mjs +106 -8
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-contact-management.mjs +280 -122
- package/fesm2022/acorex-modules-contact-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-content-management.mjs +555 -490
- package/fesm2022/acorex-modules-content-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +315 -252
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-customer-management-acorex-modules-customer-management-DZBixdOT.mjs → acorex-modules-customer-management-acorex-modules-customer-management-BHs4rrB8.mjs} +12 -12
- package/fesm2022/{acorex-modules-customer-management-acorex-modules-customer-management-DZBixdOT.mjs.map → acorex-modules-customer-management-acorex-modules-customer-management-BHs4rrB8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-activity.entity-By32mnXN.mjs → acorex-modules-customer-management-activity.entity-D_9Nut_6.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-activity.entity-By32mnXN.mjs.map → acorex-modules-customer-management-activity.entity-D_9Nut_6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer-segment.entity-CjFYqTMc.mjs → acorex-modules-customer-management-customer-segment.entity-swBR8-dJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-customer-segment.entity-CjFYqTMc.mjs.map → acorex-modules-customer-management-customer-segment.entity-swBR8-dJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer-type.entity-Bk_Ng_DS.mjs → acorex-modules-customer-management-customer-type.entity-GmfdE2Ex.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-customer-type.entity-Bk_Ng_DS.mjs.map → acorex-modules-customer-management-customer-type.entity-GmfdE2Ex.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-customer.entity-rUNC9glL.mjs → acorex-modules-customer-management-customer.entity-Bld5nRai.mjs} +23 -23
- package/fesm2022/acorex-modules-customer-management-customer.entity-Bld5nRai.mjs.map +1 -0
- package/fesm2022/{acorex-modules-customer-management-deal-contact-role.entity-BWX44lzi.mjs → acorex-modules-customer-management-deal-contact-role.entity-Ci_ymO_w.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-deal-contact-role.entity-BWX44lzi.mjs.map → acorex-modules-customer-management-deal-contact-role.entity-Ci_ymO_w.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-lead.entity-B3gv0YnT.mjs → acorex-modules-customer-management-lead.entity-BcQvYHnL.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-lead.entity-B3gv0YnT.mjs.map → acorex-modules-customer-management-lead.entity-BcQvYHnL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-lifecycle-stage.entity-cs1hb_Ro.mjs → acorex-modules-customer-management-lifecycle-stage.entity-DSZyAv5_.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-lifecycle-stage.entity-cs1hb_Ro.mjs.map → acorex-modules-customer-management-lifecycle-stage.entity-DSZyAv5_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-opportunity-stage.entity-C-opdmDW.mjs → acorex-modules-customer-management-opportunity-stage.entity-BpwLN_fw.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-opportunity-stage.entity-C-opdmDW.mjs.map → acorex-modules-customer-management-opportunity-stage.entity-BpwLN_fw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-opportunity.entity-D5n_4xgK.mjs → acorex-modules-customer-management-opportunity.entity-DaiL4951.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-opportunity.entity-D5n_4xgK.mjs.map → acorex-modules-customer-management-opportunity.entity-DaiL4951.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-sales-pipeline.entity-AeLhcil2.mjs → acorex-modules-customer-management-sales-pipeline.entity-DP_w8V9E.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-sales-pipeline.entity-AeLhcil2.mjs.map → acorex-modules-customer-management-sales-pipeline.entity-DP_w8V9E.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-customer-management-sales-territory.entity-uK9N7p_k.mjs → acorex-modules-customer-management-sales-territory.entity-BJNrmMO3.mjs} +2 -2
- package/fesm2022/{acorex-modules-customer-management-sales-territory.entity-uK9N7p_k.mjs.map → acorex-modules-customer-management-sales-territory.entity-BJNrmMO3.mjs.map} +1 -1
- package/fesm2022/acorex-modules-customer-management.mjs +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +182 -54
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +93 -28
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-CiVbcZ81.mjs → acorex-modules-document-management-acorex-modules-document-management-BV6piYsz.mjs} +1037 -926
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-BV6piYsz.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-iRZU056o.mjs → acorex-modules-document-management-attachment-widget.component-DVXmIiQt.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-iRZU056o.mjs.map → acorex-modules-document-management-attachment-widget.component-DVXmIiQt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DCoD73F7.mjs → acorex-modules-document-management-create-folder-dialog.component-CiT3wteQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-create-folder-dialog.component-DCoD73F7.mjs.map → acorex-modules-document-management-create-folder-dialog.component-CiT3wteQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-D0JuVG8v.mjs → acorex-modules-document-management-details-view.component-BXUpaDZO.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-D0JuVG8v.mjs.map → acorex-modules-document-management-details-view.component-BXUpaDZO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-B-VnHqr3.mjs → acorex-modules-document-management-document-signature-popup.component-D3GahdPn.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-B-VnHqr3.mjs.map → acorex-modules-document-management-document-signature-popup.component-D3GahdPn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BdIU8PXg.mjs → acorex-modules-document-management-drive-choose.component-Bbms4LAS.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-BdIU8PXg.mjs.map → acorex-modules-document-management-drive-choose.component-Bbms4LAS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-DGQD1adR.mjs → acorex-modules-document-management-drive.component-DfHDC5o7.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-DGQD1adR.mjs.map → acorex-modules-document-management-drive.component-DfHDC5o7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-Ch9CAOwx.mjs → acorex-modules-document-management-large-icons-view.component-BPmfNI3J.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-Ch9CAOwx.mjs.map → acorex-modules-document-management-large-icons-view.component-BPmfNI3J.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DgGef-W5.mjs → acorex-modules-document-management-large-tiles-view.component-6fjTzrwf.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-DgGef-W5.mjs.map → acorex-modules-document-management-large-tiles-view.component-6fjTzrwf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-DK6IZdC0.mjs → acorex-modules-document-management-list-view.component-DeBNY8Aj.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-DK6IZdC0.mjs.map → acorex-modules-document-management-list-view.component-DeBNY8Aj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BV7PYxuz.mjs → acorex-modules-document-management-permission-definition.provider-Bn-umdXX.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-BV7PYxuz.mjs.map → acorex-modules-document-management-permission-definition.provider-Bn-umdXX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C37tOs99.mjs → acorex-modules-document-management-rename-node-dialog.component-LRFo58Xg.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-rename-node-dialog.component-C37tOs99.mjs.map → acorex-modules-document-management-rename-node-dialog.component-LRFo58Xg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D0NHNq4W.mjs → acorex-modules-document-management-small-icons-view.component-BlQ3EhiJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-D0NHNq4W.mjs.map → acorex-modules-document-management-small-icons-view.component-BlQ3EhiJ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DLNbw_y5.mjs → acorex-modules-document-management-small-tiles-view.component-BM2Uj_Wz.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DLNbw_y5.mjs.map → acorex-modules-document-management-small-tiles-view.component-BM2Uj_Wz.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/{acorex-modules-help-desk-acorex-modules-help-desk-BvDYd3fI.mjs → acorex-modules-help-desk-acorex-modules-help-desk-C4s1EVQy.mjs} +123 -49
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-C4s1EVQy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DH_FG8iE.mjs → acorex-modules-help-desk-capture-screen.component-BLZbJmw1.mjs} +2 -2
- package/fesm2022/{acorex-modules-help-desk-capture-screen.component-DH_FG8iE.mjs.map → acorex-modules-help-desk-capture-screen.component-BLZbJmw1.mjs.map} +1 -1
- package/fesm2022/acorex-modules-help-desk.mjs +1 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-By3qopAk.mjs +1519 -0
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-By3qopAk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs → acorex-modules-human-capital-management-employee-skill.entity-DRUHGUnT.mjs} +17 -17
- package/fesm2022/acorex-modules-human-capital-management-employee-skill.entity-DRUHGUnT.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs → acorex-modules-human-capital-management-employee.entity-Cn9GnmJE.mjs} +37 -15
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-Cn9GnmJE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs → acorex-modules-human-capital-management-employment-type.entity-BveY2th_.mjs} +11 -10
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-BveY2th_.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CIm3XrTb.mjs +267 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-request.entity-CIm3XrTb.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-COan6Cnw.mjs +95 -0
- package/fesm2022/acorex-modules-human-capital-management-leave-type.entity-COan6Cnw.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs → acorex-modules-human-capital-management-position-assignment.entity-BJw9jR1o.mjs} +14 -14
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BJw9jR1o.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs → acorex-modules-human-capital-management-skill-level.entity-CZe8y_hA.mjs} +10 -10
- package/fesm2022/acorex-modules-human-capital-management-skill-level.entity-CZe8y_hA.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs → acorex-modules-human-capital-management-skill.entity-CDXB7zyy.mjs} +8 -8
- package/fesm2022/acorex-modules-human-capital-management-skill.entity-CDXB7zyy.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +120 -13
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +125 -57
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-log-management.mjs +440 -164
- package/fesm2022/acorex-modules-log-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-D-RQ-D3d.mjs +155 -0
- package/fesm2022/acorex-modules-meeting-management-meeting-schedule.entity-D-RQ-D3d.mjs.map +1 -0
- package/fesm2022/acorex-modules-meeting-management.mjs +654 -620
- package/fesm2022/acorex-modules-meeting-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +835 -795
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-party-management-acorex-modules-party-management-BshJoI7_.mjs → acorex-modules-party-management-acorex-modules-party-management-DzhGLAZb.mjs} +373 -230
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-DzhGLAZb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-party-management-industry.entity-CoMI4imz.mjs → acorex-modules-party-management-industry.entity-sLrAmADa.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-industry.entity-CoMI4imz.mjs.map → acorex-modules-party-management-industry.entity-sLrAmADa.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-D-VpvXeU.mjs → acorex-modules-party-management-party-identifier-type.entity-WL-tJlK7.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-identifier-type.entity-D-VpvXeU.mjs.map → acorex-modules-party-management-party-identifier-type.entity-WL-tJlK7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-BcXi9BM0.mjs → acorex-modules-party-management-party-identifier.entity-BGJdllN8.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-identifier.entity-BcXi9BM0.mjs.map → acorex-modules-party-management-party-identifier.entity-BGJdllN8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-B-gMK84C.mjs → acorex-modules-party-management-party-relationship.entity-Bhqgy4-Y.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-relationship.entity-B-gMK84C.mjs.map → acorex-modules-party-management-party-relationship.entity-Bhqgy4-Y.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party-role.entity-OV4XUnfD.mjs → acorex-modules-party-management-party-role.entity-BpPCL3GG.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party-role.entity-OV4XUnfD.mjs.map → acorex-modules-party-management-party-role.entity-BpPCL3GG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-party-management-party.entity-Cwd9EqB4.mjs → acorex-modules-party-management-party.entity-v-YrPNOP.mjs} +2 -2
- package/fesm2022/{acorex-modules-party-management-party.entity-Cwd9EqB4.mjs.map → acorex-modules-party-management-party.entity-v-YrPNOP.mjs.map} +1 -1
- package/fesm2022/acorex-modules-party-management.mjs +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +444 -397
- package/fesm2022/acorex-modules-platform-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-project-management-email-jsa.command-DC3Zbfdn.mjs +115 -0
- package/fesm2022/acorex-modules-project-management-email-jsa.command-DC3Zbfdn.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management-reassign-jsa.command-CJKR5FZw.mjs +113 -0
- package/fesm2022/acorex-modules-project-management-reassign-jsa.command-CJKR5FZw.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management-setup-jsa.command-Cztc8TDy.mjs +94 -0
- package/fesm2022/acorex-modules-project-management-setup-jsa.command-Cztc8TDy.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management-sign-jsa.command-b28tr2kE.mjs +77 -0
- package/fesm2022/acorex-modules-project-management-sign-jsa.command-b28tr2kE.mjs.map +1 -0
- package/fesm2022/acorex-modules-project-management.mjs +1416 -279
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +83 -15
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +4 -1
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-Je2Y8X62.mjs → acorex-modules-task-management-task-board.page-CaypEYjP.mjs} +3 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-Je2Y8X62.mjs.map → acorex-modules-task-management-task-board.page-CaypEYjP.mjs.map} +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +3254 -3069
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +1 -1
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -1
- package/help-desk/index.d.ts +32 -14
- package/human-capital-management/index.d.ts +150 -2
- package/locale-management/index.d.ts +27 -3
- package/location-management/index.d.ts +20 -2
- package/log-management/index.d.ts +8 -1
- package/meeting-management/index.d.ts +47 -20
- package/notification-management/index.d.ts +48 -36
- package/package.json +5 -5
- package/party-management/index.d.ts +43 -1
- package/platform-management/index.d.ts +33 -21
- package/project-management/index.d.ts +156 -3
- package/report-management/index.d.ts +14 -2
- package/task-management/index.d.ts +56 -2
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-BbO_ea5W.mjs.map +0 -1
- package/fesm2022/acorex-modules-common-manage-extra-properties.command-DqdhTfLD.mjs.map +0 -1
- package/fesm2022/acorex-modules-customer-management-customer.entity-rUNC9glL.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-CiVbcZ81.mjs.map +0 -1
- package/fesm2022/acorex-modules-help-desk-acorex-modules-help-desk-BvDYd3fI.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs +0 -723
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-D4A3ZYFq.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee-skill.entity-DfVvf8Fg.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-ByBqfKiF.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employment-type.entity-DZ8ubvD6.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-position-assignment.entity-BtIVnv-C.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-skill-level.entity-DFCE3zcH.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-skill.entity-DPeTwYH4.mjs.map +0 -1
- package/fesm2022/acorex-modules-party-management-acorex-modules-party-management-BshJoI7_.mjs.map +0 -1
|
@@ -404,6 +404,9 @@ async function documentFactory(injector) {
|
|
|
404
404
|
inline: {
|
|
405
405
|
enabled: true,
|
|
406
406
|
},
|
|
407
|
+
advance: {
|
|
408
|
+
enabled: true,
|
|
409
|
+
},
|
|
407
410
|
},
|
|
408
411
|
},
|
|
409
412
|
schema: {
|
|
@@ -2562,35 +2565,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
2562
2565
|
}]
|
|
2563
2566
|
}] });
|
|
2564
2567
|
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
constructor() {
|
|
2569
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.folder.name}`);
|
|
2570
|
-
}
|
|
2571
|
-
async getPath(_) {
|
|
2572
|
-
throw new Error('Not implemented');
|
|
2573
|
-
}
|
|
2574
|
-
async searchFolders(_searchTerm, _rootFolderId) {
|
|
2575
|
-
throw new Error('Not implemented');
|
|
2576
|
-
}
|
|
2577
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2578
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderServiceImpl }); }
|
|
2579
|
-
}
|
|
2580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderServiceImpl, decorators: [{
|
|
2581
|
-
type: Injectable
|
|
2582
|
-
}], ctorParameters: () => [] });
|
|
2583
|
-
|
|
2584
|
-
async function folderFactory(injector) {
|
|
2585
|
-
const dataService = injector.get(AXMFolderService);
|
|
2568
|
+
async function documentRelatedFactory(injector) {
|
|
2569
|
+
const dataService = injector.get(AXMDocumentService);
|
|
2570
|
+
const i18n = RootConfig.config.i18n;
|
|
2586
2571
|
const entityDef = {
|
|
2587
2572
|
module: RootConfig.module.name,
|
|
2588
|
-
name: RootConfig.entities.
|
|
2573
|
+
name: RootConfig.entities.documentRelated.name,
|
|
2589
2574
|
source: '',
|
|
2590
|
-
title: RootConfig.entities.
|
|
2575
|
+
title: RootConfig.entities.documentRelated.title,
|
|
2591
2576
|
formats: {
|
|
2592
|
-
individual: RootConfig.entities.
|
|
2593
|
-
plural: RootConfig.entities.
|
|
2577
|
+
individual: RootConfig.entities.documentRelated.title,
|
|
2578
|
+
plural: RootConfig.entities.documentRelated.titlePlural,
|
|
2594
2579
|
searchResult: {
|
|
2595
2580
|
title: '{{ title }}',
|
|
2596
2581
|
description: RootConfig.module.title,
|
|
@@ -2600,7 +2585,7 @@ async function folderFactory(injector) {
|
|
|
2600
2585
|
groups: [
|
|
2601
2586
|
{
|
|
2602
2587
|
id: 'section',
|
|
2603
|
-
title: RootConfig.entities.
|
|
2588
|
+
title: RootConfig.entities.documentRelated.title,
|
|
2604
2589
|
},
|
|
2605
2590
|
],
|
|
2606
2591
|
properties: [
|
|
@@ -2608,15 +2593,27 @@ async function folderFactory(injector) {
|
|
|
2608
2593
|
name: 'name',
|
|
2609
2594
|
title: 't("name", { scope: "common" })',
|
|
2610
2595
|
groupId: 'section',
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2596
|
+
schema: {
|
|
2597
|
+
dataType: 'string',
|
|
2598
|
+
readonly: true,
|
|
2599
|
+
interface: {
|
|
2600
|
+
type: AXPWidgetsCatalog.text,
|
|
2601
|
+
options: {
|
|
2602
|
+
placeholder: 't("name", { scope: "common" })',
|
|
2603
|
+
},
|
|
2614
2604
|
},
|
|
2615
2605
|
},
|
|
2606
|
+
},
|
|
2607
|
+
{
|
|
2608
|
+
name: 'size',
|
|
2609
|
+
title: 't("size", { scope: "common" })',
|
|
2610
|
+
groupId: 'section',
|
|
2616
2611
|
schema: {
|
|
2617
2612
|
dataType: 'string',
|
|
2613
|
+
readonly: true,
|
|
2618
2614
|
interface: {
|
|
2619
|
-
type: AXPWidgetsCatalog.
|
|
2615
|
+
type: AXPWidgetsCatalog.number,
|
|
2616
|
+
options: {},
|
|
2620
2617
|
},
|
|
2621
2618
|
},
|
|
2622
2619
|
validations: [
|
|
@@ -2626,13 +2623,60 @@ async function folderFactory(injector) {
|
|
|
2626
2623
|
],
|
|
2627
2624
|
},
|
|
2628
2625
|
{
|
|
2629
|
-
name: '
|
|
2630
|
-
title: 't("
|
|
2626
|
+
name: 'type',
|
|
2627
|
+
title: 't("type", { scope: "common" })',
|
|
2631
2628
|
groupId: 'section',
|
|
2632
2629
|
schema: {
|
|
2633
2630
|
dataType: 'string',
|
|
2631
|
+
readonly: true,
|
|
2634
2632
|
interface: {
|
|
2635
|
-
type: AXPWidgetsCatalog.
|
|
2633
|
+
type: AXPWidgetsCatalog.lookup,
|
|
2634
|
+
options: {
|
|
2635
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.documentType.name}`,
|
|
2636
|
+
expose: 'type',
|
|
2637
|
+
},
|
|
2638
|
+
},
|
|
2639
|
+
},
|
|
2640
|
+
validations: [
|
|
2641
|
+
{
|
|
2642
|
+
rule: 'required',
|
|
2643
|
+
},
|
|
2644
|
+
],
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
name: 'metaData',
|
|
2648
|
+
title: `t("metaData", { scope: "${i18n}" })`,
|
|
2649
|
+
groupId: 'section',
|
|
2650
|
+
schema: {
|
|
2651
|
+
dataType: 'object',
|
|
2652
|
+
readonly: true,
|
|
2653
|
+
interface: {
|
|
2654
|
+
type: AXPWidgetsCatalog.blockLayout,
|
|
2655
|
+
options: {},
|
|
2656
|
+
// children: 'context.eval("type.meta")'
|
|
2657
|
+
children: []
|
|
2658
|
+
},
|
|
2659
|
+
},
|
|
2660
|
+
validations: [
|
|
2661
|
+
{
|
|
2662
|
+
rule: 'required',
|
|
2663
|
+
},
|
|
2664
|
+
],
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
name: 'fileId',
|
|
2668
|
+
title: `t("file", { scope: "${i18n}" })`,
|
|
2669
|
+
groupId: 'section',
|
|
2670
|
+
schema: {
|
|
2671
|
+
dataType: 'string',
|
|
2672
|
+
readonly: true,
|
|
2673
|
+
interface: {
|
|
2674
|
+
type: AXPWidgetsCatalog.fileUploader,
|
|
2675
|
+
options: {
|
|
2676
|
+
maxFileSize: ` {{context.eval("type.maxSize")}} `,
|
|
2677
|
+
multiple: ` {{context.eval("type.multiple")}} `,
|
|
2678
|
+
// accept: ` {{context.eval("type.multiple")}} `,
|
|
2679
|
+
},
|
|
2636
2680
|
},
|
|
2637
2681
|
},
|
|
2638
2682
|
validations: [
|
|
@@ -2642,7 +2686,12 @@ async function folderFactory(injector) {
|
|
|
2642
2686
|
],
|
|
2643
2687
|
},
|
|
2644
2688
|
],
|
|
2645
|
-
columns: [
|
|
2689
|
+
columns: [
|
|
2690
|
+
{ name: 'name' },
|
|
2691
|
+
{ name: 'fileId' },
|
|
2692
|
+
{ name: 'type' },
|
|
2693
|
+
{ name: 'size' }
|
|
2694
|
+
],
|
|
2646
2695
|
commands: {
|
|
2647
2696
|
create: {
|
|
2648
2697
|
execute: async (data) => {
|
|
@@ -2664,13 +2713,20 @@ async function folderFactory(injector) {
|
|
|
2664
2713
|
queries: {
|
|
2665
2714
|
byKey: {
|
|
2666
2715
|
execute: async (id) => {
|
|
2667
|
-
|
|
2716
|
+
const x = await dataService.getOne(id);
|
|
2717
|
+
console.log(x);
|
|
2718
|
+
return x;
|
|
2668
2719
|
},
|
|
2669
2720
|
type: AXPEntityQueryType.Single,
|
|
2670
2721
|
},
|
|
2671
2722
|
list: {
|
|
2672
2723
|
execute: async (e) => {
|
|
2673
|
-
|
|
2724
|
+
const x = await dataService.query({
|
|
2725
|
+
skip: e.skip,
|
|
2726
|
+
take: e.take,
|
|
2727
|
+
filter: e.filter,
|
|
2728
|
+
});
|
|
2729
|
+
return x;
|
|
2674
2730
|
},
|
|
2675
2731
|
type: AXPEntityQueryType.List,
|
|
2676
2732
|
},
|
|
@@ -2685,21 +2741,21 @@ async function folderFactory(injector) {
|
|
|
2685
2741
|
],
|
|
2686
2742
|
properties: [
|
|
2687
2743
|
{
|
|
2688
|
-
name: '
|
|
2744
|
+
name: 'metaData',
|
|
2689
2745
|
layout: {
|
|
2690
2746
|
positions: {
|
|
2691
2747
|
lg: {
|
|
2692
|
-
colSpan:
|
|
2748
|
+
colSpan: 12,
|
|
2693
2749
|
},
|
|
2694
2750
|
},
|
|
2695
2751
|
},
|
|
2696
2752
|
},
|
|
2697
2753
|
{
|
|
2698
|
-
name: '
|
|
2754
|
+
name: 'fileId',
|
|
2699
2755
|
layout: {
|
|
2700
2756
|
positions: {
|
|
2701
2757
|
lg: {
|
|
2702
|
-
colSpan:
|
|
2758
|
+
colSpan: 12,
|
|
2703
2759
|
},
|
|
2704
2760
|
},
|
|
2705
2761
|
},
|
|
@@ -2724,11 +2780,31 @@ async function folderFactory(injector) {
|
|
|
2724
2780
|
},
|
|
2725
2781
|
},
|
|
2726
2782
|
{
|
|
2727
|
-
name: '
|
|
2783
|
+
name: 'type',
|
|
2728
2784
|
layout: {
|
|
2729
2785
|
positions: {
|
|
2730
2786
|
lg: {
|
|
2731
|
-
colSpan:
|
|
2787
|
+
colSpan: 12,
|
|
2788
|
+
},
|
|
2789
|
+
},
|
|
2790
|
+
},
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
name: 'metaData',
|
|
2794
|
+
layout: {
|
|
2795
|
+
positions: {
|
|
2796
|
+
lg: {
|
|
2797
|
+
colSpan: 12,
|
|
2798
|
+
},
|
|
2799
|
+
},
|
|
2800
|
+
},
|
|
2801
|
+
},
|
|
2802
|
+
{
|
|
2803
|
+
name: 'file',
|
|
2804
|
+
layout: {
|
|
2805
|
+
positions: {
|
|
2806
|
+
lg: {
|
|
2807
|
+
colSpan: 12,
|
|
2732
2808
|
},
|
|
2733
2809
|
},
|
|
2734
2810
|
},
|
|
@@ -2751,120 +2827,208 @@ async function folderFactory(injector) {
|
|
|
2751
2827
|
],
|
|
2752
2828
|
properties: [
|
|
2753
2829
|
{
|
|
2754
|
-
name: '
|
|
2830
|
+
name: 'metaData',
|
|
2755
2831
|
layout: {
|
|
2756
2832
|
positions: {
|
|
2757
2833
|
lg: {
|
|
2758
2834
|
colSpan: 6,
|
|
2759
2835
|
},
|
|
2760
|
-
}
|
|
2836
|
+
}
|
|
2761
2837
|
},
|
|
2762
2838
|
},
|
|
2763
2839
|
{
|
|
2764
|
-
name: '
|
|
2840
|
+
name: 'fileId',
|
|
2765
2841
|
layout: {
|
|
2766
2842
|
positions: {
|
|
2767
2843
|
lg: {
|
|
2768
|
-
colSpan:
|
|
2844
|
+
colSpan: 12,
|
|
2769
2845
|
},
|
|
2770
2846
|
},
|
|
2771
2847
|
},
|
|
2772
2848
|
},
|
|
2773
2849
|
],
|
|
2774
|
-
actions: [],
|
|
2775
|
-
},
|
|
2776
|
-
list: {
|
|
2777
2850
|
actions: [
|
|
2778
2851
|
{
|
|
2779
|
-
title: `t("
|
|
2780
|
-
command:
|
|
2852
|
+
title: `t("document-review.send-review.title", { scope: "${i18n}" })`,
|
|
2853
|
+
command: {
|
|
2854
|
+
name: 'send-to-review',
|
|
2855
|
+
options: {
|
|
2856
|
+
id: '{{context.eval("id")}}',
|
|
2857
|
+
title: '{{context.eval("title")}}',
|
|
2858
|
+
},
|
|
2859
|
+
},
|
|
2781
2860
|
priority: 'primary',
|
|
2782
|
-
type: '
|
|
2861
|
+
type: 'sent',
|
|
2783
2862
|
scope: AXPEntityCommandScope.TypeLevel,
|
|
2863
|
+
disabled: '{{context.eval("status") != "Draft"}}',
|
|
2784
2864
|
},
|
|
2785
2865
|
{
|
|
2786
|
-
title:
|
|
2787
|
-
command:
|
|
2866
|
+
title: `t("document-review.submit-review.title", { scope: "${i18n}" })`,
|
|
2867
|
+
command: {
|
|
2868
|
+
name: 'submit-review',
|
|
2869
|
+
options: {
|
|
2870
|
+
id: '{{context.eval("reviewRecordId")}}',
|
|
2871
|
+
decoration: {
|
|
2872
|
+
header: {
|
|
2873
|
+
title: '{{ context.eval("title") }}',
|
|
2874
|
+
},
|
|
2875
|
+
},
|
|
2876
|
+
},
|
|
2877
|
+
},
|
|
2788
2878
|
priority: 'primary',
|
|
2789
|
-
type: '
|
|
2790
|
-
scope: AXPEntityCommandScope.
|
|
2879
|
+
type: 'review',
|
|
2880
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
2881
|
+
disabled: '{{context.eval("status") != "PendingReview"}}',
|
|
2882
|
+
},
|
|
2883
|
+
{
|
|
2884
|
+
title: `t("distributed", { scope: "${i18n}" })`,
|
|
2885
|
+
command: {
|
|
2886
|
+
name: 'distributed',
|
|
2887
|
+
options: {
|
|
2888
|
+
id: '{{context.eval("id")}}',
|
|
2889
|
+
title: '{{context.eval("title")}}',
|
|
2890
|
+
},
|
|
2891
|
+
},
|
|
2892
|
+
priority: 'primary',
|
|
2893
|
+
type: 'review',
|
|
2894
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
2895
|
+
disabled: '{{context.eval("status") != "Reviewed" && context.eval("status") != "Completed"}}',
|
|
2791
2896
|
},
|
|
2897
|
+
],
|
|
2898
|
+
},
|
|
2899
|
+
list: {
|
|
2900
|
+
actions: [
|
|
2792
2901
|
{
|
|
2793
2902
|
title: 't("detail", { scope: "common" })',
|
|
2794
2903
|
command: 'open-entity',
|
|
2795
2904
|
priority: 'secondary',
|
|
2796
2905
|
type: 'view',
|
|
2906
|
+
default: true,
|
|
2797
2907
|
scope: AXPEntityCommandScope.Individual,
|
|
2798
2908
|
},
|
|
2799
2909
|
{
|
|
2800
|
-
title:
|
|
2801
|
-
|
|
2910
|
+
title: `t("document-review.send-review.title", { scope: "${i18n}" })`,
|
|
2911
|
+
icon: 'fa-light fa-shield-check',
|
|
2912
|
+
command: {
|
|
2913
|
+
name: 'send-to-review',
|
|
2914
|
+
options: {
|
|
2915
|
+
id: '{{context.eval("id")}}',
|
|
2916
|
+
title: '{{context.eval("title")}}',
|
|
2917
|
+
},
|
|
2918
|
+
},
|
|
2802
2919
|
priority: 'secondary',
|
|
2803
|
-
type: '
|
|
2920
|
+
type: 'sent',
|
|
2804
2921
|
scope: AXPEntityCommandScope.Individual,
|
|
2922
|
+
disabled: '{{context.eval("status") != "Draft"}}',
|
|
2805
2923
|
},
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
}
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
}
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2924
|
+
{
|
|
2925
|
+
title: `t("document-review.submit-review.title", { scope: "${i18n}" })`,
|
|
2926
|
+
icon: 'fa-light fa-ballot-check',
|
|
2927
|
+
command: {
|
|
2928
|
+
name: 'submit-review',
|
|
2929
|
+
options: {
|
|
2930
|
+
id: '{{context.eval("reviewRecordId")}}',
|
|
2931
|
+
// reviewedAt : '{{ variables.execute("now") }}',
|
|
2932
|
+
decoration: {
|
|
2933
|
+
header: {
|
|
2934
|
+
title: '{{ context.eval("title") + " - version: " + context.eval("version") }}',
|
|
2935
|
+
},
|
|
2936
|
+
},
|
|
2937
|
+
},
|
|
2938
|
+
},
|
|
2939
|
+
priority: 'secondary',
|
|
2940
|
+
type: 'review',
|
|
2941
|
+
scope: AXPEntityCommandScope.Individual,
|
|
2942
|
+
disabled: '{{context.eval("status") != "PendingReview"}}',
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
title: `t("distributed", { scope: "${i18n}" })`,
|
|
2946
|
+
icon: 'fa-light fa-chart-network',
|
|
2947
|
+
command: {
|
|
2948
|
+
name: 'distributed',
|
|
2949
|
+
options: {
|
|
2950
|
+
id: '{{context.eval("id")}}',
|
|
2951
|
+
title: '{{context.eval("title")}}',
|
|
2952
|
+
},
|
|
2953
|
+
},
|
|
2954
|
+
priority: 'secondary',
|
|
2955
|
+
type: 'review',
|
|
2956
|
+
scope: AXPEntityCommandScope.Individual,
|
|
2957
|
+
disabled: '{{context.eval("status") != "Reviewed" && context.eval("status") != "Completed"}}',
|
|
2958
|
+
},
|
|
2959
|
+
],
|
|
2960
|
+
views: [
|
|
2961
|
+
createAllQueryView({ sorts: [{ name: 'name', dir: 'asc' }] }),
|
|
2962
|
+
createQueryView('Draft', `t("draft", { scope: "${i18n}" })`, true, {
|
|
2963
|
+
conditions: [
|
|
2964
|
+
{
|
|
2965
|
+
name: 'status',
|
|
2966
|
+
operator: {
|
|
2967
|
+
type: 'equal',
|
|
2968
|
+
},
|
|
2969
|
+
value: 'Draft',
|
|
2970
|
+
},
|
|
2971
|
+
],
|
|
2972
|
+
}),
|
|
2973
|
+
createQueryView('PendingReview', `t("pending", { scope: "${i18n}" })`, true, {
|
|
2974
|
+
conditions: [
|
|
2975
|
+
{
|
|
2976
|
+
name: 'status',
|
|
2977
|
+
operator: {
|
|
2978
|
+
type: 'equal',
|
|
2979
|
+
},
|
|
2980
|
+
value: 'PendingReview',
|
|
2981
|
+
},
|
|
2982
|
+
],
|
|
2983
|
+
}),
|
|
2984
|
+
createQueryView('Reviewed', `t("reviewed", { scope: "${i18n}" })`, true, {
|
|
2985
|
+
conditions: [
|
|
2986
|
+
{
|
|
2987
|
+
name: 'status',
|
|
2988
|
+
operator: {
|
|
2989
|
+
type: 'equal',
|
|
2990
|
+
},
|
|
2991
|
+
value: 'Reviewed',
|
|
2992
|
+
},
|
|
2993
|
+
],
|
|
2994
|
+
}),
|
|
2995
|
+
],
|
|
2996
|
+
},
|
|
2997
|
+
},
|
|
2998
|
+
},
|
|
2999
|
+
};
|
|
3000
|
+
return entityDef;
|
|
3001
|
+
}
|
|
2827
3002
|
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
const documentService = injector.get(AXMDocumentService);
|
|
2834
|
-
// Map review status to document workflow phase
|
|
2835
|
-
let documentStatus;
|
|
2836
|
-
switch (reviewStatus) {
|
|
2837
|
-
case 'Approved':
|
|
2838
|
-
documentStatus = 'Reviewed';
|
|
2839
|
-
break;
|
|
2840
|
-
case 'Rejected':
|
|
2841
|
-
documentStatus = 'Rejected';
|
|
2842
|
-
break;
|
|
2843
|
-
case 'Pending':
|
|
2844
|
-
documentStatus = 'PendingReview';
|
|
2845
|
-
break;
|
|
2846
|
-
default:
|
|
2847
|
-
documentStatus = 'PendingReview';
|
|
2848
|
-
}
|
|
2849
|
-
// Update the document status
|
|
2850
|
-
await documentService.updateOne(documentId, { status: documentStatus });
|
|
3003
|
+
class AXMFolderService extends AXMEntityCrudServiceImpl {
|
|
3004
|
+
}
|
|
3005
|
+
class AXMFolderServiceImpl extends AXMFolderService {
|
|
3006
|
+
constructor() {
|
|
3007
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.folder.name}`);
|
|
2851
3008
|
}
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
// Don't throw error to avoid breaking the review process
|
|
3009
|
+
async getPath(_) {
|
|
3010
|
+
throw new Error('Not implemented');
|
|
2855
3011
|
}
|
|
3012
|
+
async searchFolders(_searchTerm, _rootFolderId) {
|
|
3013
|
+
throw new Error('Not implemented');
|
|
3014
|
+
}
|
|
3015
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3016
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderServiceImpl }); }
|
|
2856
3017
|
}
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
3018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderServiceImpl, decorators: [{
|
|
3019
|
+
type: Injectable
|
|
3020
|
+
}], ctorParameters: () => [] });
|
|
3021
|
+
|
|
3022
|
+
async function folderFactory(injector) {
|
|
3023
|
+
const dataService = injector.get(AXMFolderService);
|
|
2860
3024
|
const entityDef = {
|
|
2861
3025
|
module: RootConfig.module.name,
|
|
2862
|
-
name: RootConfig.entities.
|
|
3026
|
+
name: RootConfig.entities.folder.name,
|
|
2863
3027
|
source: '',
|
|
2864
|
-
title: RootConfig.entities.
|
|
3028
|
+
title: RootConfig.entities.folder.title,
|
|
2865
3029
|
formats: {
|
|
2866
|
-
individual: RootConfig.entities.
|
|
2867
|
-
plural: RootConfig.entities.
|
|
3030
|
+
individual: RootConfig.entities.folder.title,
|
|
3031
|
+
plural: RootConfig.entities.folder.titlePlural,
|
|
2868
3032
|
searchResult: {
|
|
2869
3033
|
title: '{{ title }}',
|
|
2870
3034
|
description: RootConfig.module.title,
|
|
@@ -2874,244 +3038,53 @@ async function reviewFactory(injector) {
|
|
|
2874
3038
|
groups: [
|
|
2875
3039
|
{
|
|
2876
3040
|
id: 'section',
|
|
2877
|
-
title: RootConfig.entities.
|
|
3041
|
+
title: RootConfig.entities.folder.title,
|
|
2878
3042
|
},
|
|
2879
3043
|
],
|
|
2880
3044
|
properties: [
|
|
2881
3045
|
{
|
|
2882
|
-
name: '
|
|
2883
|
-
title:
|
|
2884
|
-
groupId: 'section',
|
|
2885
|
-
schema: {
|
|
2886
|
-
dataType: 'number',
|
|
2887
|
-
interface: {
|
|
2888
|
-
type: AXPWidgetsCatalog.textBlockLayout,
|
|
2889
|
-
options: {
|
|
2890
|
-
content: `{{ context.eval('version') }}`,
|
|
2891
|
-
},
|
|
2892
|
-
},
|
|
2893
|
-
},
|
|
2894
|
-
},
|
|
2895
|
-
{
|
|
2896
|
-
name: 'documentId',
|
|
3046
|
+
name: 'name',
|
|
3047
|
+
title: 't("name", { scope: "common" })',
|
|
2897
3048
|
groupId: 'section',
|
|
2898
|
-
title: `t("document", { scope: "${i18n}" })`,
|
|
2899
3049
|
options: {
|
|
2900
3050
|
sort: {
|
|
2901
3051
|
enabled: true,
|
|
2902
3052
|
},
|
|
2903
|
-
filter: {
|
|
2904
|
-
advance: {
|
|
2905
|
-
enabled: true,
|
|
2906
|
-
},
|
|
2907
|
-
inline: {
|
|
2908
|
-
enabled: true,
|
|
2909
|
-
},
|
|
2910
|
-
},
|
|
2911
|
-
},
|
|
2912
|
-
schema: {
|
|
2913
|
-
dataType: 'string',
|
|
2914
|
-
interface: {
|
|
2915
|
-
type: AXPWidgetsCatalog.lookup,
|
|
2916
|
-
options: {
|
|
2917
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.document.name}`,
|
|
2918
|
-
multiple: false,
|
|
2919
|
-
filter: "{{ { logic:'and' , filters: [ { field:'documentType.requiresReview' , value: true , operator: { type:'equal' } },] } }}",
|
|
2920
|
-
textField: 'name',
|
|
2921
|
-
valueField: 'id',
|
|
2922
|
-
expose: [
|
|
2923
|
-
{ source: 'id', target: 'document.id' },
|
|
2924
|
-
{ source: 'name', target: 'document.name' },
|
|
2925
|
-
{ source: 'title', target: 'document.title' },
|
|
2926
|
-
{ source: 'version', target: 'document.version' },
|
|
2927
|
-
],
|
|
2928
|
-
},
|
|
2929
|
-
triggers: [
|
|
2930
|
-
{
|
|
2931
|
-
event: "{{ events.context('documentId') }}",
|
|
2932
|
-
action: "{{ context.set('version' , context.eval('document').version ) }}",
|
|
2933
|
-
},
|
|
2934
|
-
],
|
|
2935
|
-
},
|
|
2936
|
-
},
|
|
2937
|
-
validations: [
|
|
2938
|
-
{
|
|
2939
|
-
rule: 'required',
|
|
2940
|
-
},
|
|
2941
|
-
],
|
|
2942
|
-
},
|
|
2943
|
-
{
|
|
2944
|
-
name: 'reviewerId',
|
|
2945
|
-
title: `t("reviewer", { scope: "${i18n}" })`,
|
|
2946
|
-
groupId: 'section',
|
|
2947
|
-
schema: {
|
|
2948
|
-
dataType: 'string',
|
|
2949
|
-
defaultValue: '{{ session.currentUser().id }}',
|
|
2950
|
-
interface: {
|
|
2951
|
-
type: AXPWidgetsCatalog.lookup,
|
|
2952
|
-
options: {
|
|
2953
|
-
entity: 'SecurityManagement.User',
|
|
2954
|
-
multiple: false,
|
|
2955
|
-
textField: 'username',
|
|
2956
|
-
valueField: 'id',
|
|
2957
|
-
expose: [
|
|
2958
|
-
{ source: 'id', target: 'reviewer.id' },
|
|
2959
|
-
{ source: 'username', target: 'reviewer.username' },
|
|
2960
|
-
],
|
|
2961
|
-
},
|
|
2962
|
-
},
|
|
2963
|
-
},
|
|
2964
|
-
validations: [
|
|
2965
|
-
{
|
|
2966
|
-
rule: 'required',
|
|
2967
|
-
},
|
|
2968
|
-
],
|
|
2969
|
-
},
|
|
2970
|
-
{
|
|
2971
|
-
name: 'status',
|
|
2972
|
-
title: `t("approve", { scope: "${i18n}" })`,
|
|
2973
|
-
groupId: 'section',
|
|
2974
|
-
schema: {
|
|
2975
|
-
dataType: 'string',
|
|
2976
|
-
interface: {
|
|
2977
|
-
type: AXPWidgetsCatalog.toggle,
|
|
2978
|
-
options: {},
|
|
2979
|
-
},
|
|
2980
3053
|
},
|
|
2981
|
-
validations: [
|
|
2982
|
-
{
|
|
2983
|
-
rule: 'required',
|
|
2984
|
-
},
|
|
2985
|
-
],
|
|
2986
|
-
},
|
|
2987
|
-
{
|
|
2988
|
-
name: 'comment',
|
|
2989
|
-
title: `t("comment", { scope: "${i18n}" })`,
|
|
2990
|
-
groupId: 'section',
|
|
2991
3054
|
schema: {
|
|
2992
3055
|
dataType: 'string',
|
|
2993
3056
|
interface: {
|
|
2994
|
-
type: AXPWidgetsCatalog.
|
|
2995
|
-
},
|
|
2996
|
-
},
|
|
2997
|
-
},
|
|
2998
|
-
{
|
|
2999
|
-
name: 'reviewedAt',
|
|
3000
|
-
title: `t("reviewedAt", { scope: "${i18n}" })`,
|
|
3001
|
-
groupId: 'section',
|
|
3002
|
-
options: {
|
|
3003
|
-
sort: {
|
|
3004
|
-
enabled: true,
|
|
3005
|
-
},
|
|
3006
|
-
filter: {
|
|
3007
|
-
advance: {
|
|
3008
|
-
enabled: true,
|
|
3009
|
-
},
|
|
3010
|
-
inline: {
|
|
3011
|
-
enabled: false,
|
|
3012
|
-
},
|
|
3013
|
-
},
|
|
3014
|
-
},
|
|
3015
|
-
schema: {
|
|
3016
|
-
defaultValue: '{{ variables.execute("now") }}',
|
|
3017
|
-
dataType: 'date',
|
|
3018
|
-
interface: {
|
|
3019
|
-
type: AXPWidgetsCatalog.dateTime,
|
|
3020
|
-
options: {
|
|
3021
|
-
showTime: true,
|
|
3022
|
-
},
|
|
3023
|
-
},
|
|
3024
|
-
},
|
|
3025
|
-
validations: [
|
|
3026
|
-
{
|
|
3027
|
-
rule: 'required',
|
|
3028
|
-
},
|
|
3029
|
-
],
|
|
3030
|
-
},
|
|
3031
|
-
{
|
|
3032
|
-
name: 'modifiedAt',
|
|
3033
|
-
title: `t("modifiedAt", { scope: "${i18n}" })`,
|
|
3034
|
-
groupId: 'section',
|
|
3035
|
-
options: {
|
|
3036
|
-
sort: {
|
|
3037
|
-
enabled: true,
|
|
3038
|
-
},
|
|
3039
|
-
filter: {
|
|
3040
|
-
advance: {
|
|
3041
|
-
enabled: true,
|
|
3042
|
-
},
|
|
3043
|
-
inline: {
|
|
3044
|
-
enabled: false,
|
|
3045
|
-
},
|
|
3046
|
-
},
|
|
3047
|
-
},
|
|
3048
|
-
schema: {
|
|
3049
|
-
dataType: 'date',
|
|
3050
|
-
interface: {
|
|
3051
|
-
type: AXPWidgetsCatalog.dateTime,
|
|
3052
|
-
options: {
|
|
3053
|
-
showTime: true,
|
|
3054
|
-
},
|
|
3055
|
-
},
|
|
3056
|
-
},
|
|
3057
|
-
},
|
|
3058
|
-
{
|
|
3059
|
-
name: 'modifiedBy',
|
|
3060
|
-
title: `t("modifiedBy", { scope: "${i18n}" })`,
|
|
3061
|
-
groupId: 'section',
|
|
3062
|
-
options: {
|
|
3063
|
-
sort: {
|
|
3064
|
-
enabled: true,
|
|
3065
|
-
},
|
|
3066
|
-
filter: {
|
|
3067
|
-
advance: {
|
|
3068
|
-
enabled: true,
|
|
3069
|
-
},
|
|
3070
|
-
inline: {
|
|
3071
|
-
enabled: true,
|
|
3072
|
-
},
|
|
3057
|
+
type: AXPWidgetsCatalog.text,
|
|
3073
3058
|
},
|
|
3074
3059
|
},
|
|
3060
|
+
validations: [
|
|
3061
|
+
{
|
|
3062
|
+
rule: 'required',
|
|
3063
|
+
},
|
|
3064
|
+
],
|
|
3065
|
+
},
|
|
3066
|
+
{
|
|
3067
|
+
name: 'title',
|
|
3068
|
+
title: 't("title", { scope: "common" })',
|
|
3069
|
+
groupId: 'section',
|
|
3075
3070
|
schema: {
|
|
3076
3071
|
dataType: 'string',
|
|
3077
3072
|
interface: {
|
|
3078
|
-
type: AXPWidgetsCatalog.
|
|
3079
|
-
options: {
|
|
3080
|
-
entity: 'SecurityManagement.User',
|
|
3081
|
-
multiple: false,
|
|
3082
|
-
textField: 'name',
|
|
3083
|
-
valueField: 'id',
|
|
3084
|
-
expose: [
|
|
3085
|
-
{ source: 'id', target: 'modifier.id' },
|
|
3086
|
-
{ source: 'name', target: 'modifier.name' },
|
|
3087
|
-
],
|
|
3088
|
-
},
|
|
3073
|
+
type: AXPWidgetsCatalog.text,
|
|
3089
3074
|
},
|
|
3090
3075
|
},
|
|
3076
|
+
validations: [
|
|
3077
|
+
{
|
|
3078
|
+
rule: 'required',
|
|
3079
|
+
},
|
|
3080
|
+
],
|
|
3091
3081
|
},
|
|
3092
3082
|
],
|
|
3093
|
-
columns: [
|
|
3094
|
-
{ name: 'documentId', options: { dataPath: 'document.name' } },
|
|
3095
|
-
{ name: 'reviewerId', options: { dataPath: 'reviewer.title' } },
|
|
3096
|
-
{ name: 'status' },
|
|
3097
|
-
{ name: 'comment' },
|
|
3098
|
-
{ name: 'reviewedAt' },
|
|
3099
|
-
{ name: 'modifiedAt' },
|
|
3100
|
-
{ name: 'modifiedBy' },
|
|
3101
|
-
],
|
|
3083
|
+
columns: [{ name: 'name' }, { name: 'title' }],
|
|
3102
3084
|
commands: {
|
|
3103
3085
|
create: {
|
|
3104
3086
|
execute: async (data) => {
|
|
3105
|
-
// Set reviewedAt to current date if not provided
|
|
3106
|
-
if (!data.reviewedAt) {
|
|
3107
|
-
data.reviewedAt = new Date();
|
|
3108
|
-
}
|
|
3109
|
-
//TODO for test
|
|
3110
|
-
data.reviewStatus = 'Approved';
|
|
3111
|
-
// Create the review record
|
|
3112
3087
|
const res = await dataService.insertOne(data);
|
|
3113
|
-
// Update document status based on review status
|
|
3114
|
-
await updateDocumentStatus(data.documentId, data.reviewStatus, injector);
|
|
3115
3088
|
return { id: res };
|
|
3116
3089
|
},
|
|
3117
3090
|
},
|
|
@@ -3122,34 +3095,20 @@ async function reviewFactory(injector) {
|
|
|
3122
3095
|
},
|
|
3123
3096
|
update: {
|
|
3124
3097
|
execute: async (data) => {
|
|
3125
|
-
|
|
3126
|
-
data.reviewedAt = new Date();
|
|
3127
|
-
//TODO for test
|
|
3128
|
-
data.reviewStatus = 'Approved';
|
|
3129
|
-
// Update the review record
|
|
3130
|
-
const result = await dataService.updateOne(data.id, data);
|
|
3131
|
-
// Update document status based on review status
|
|
3132
|
-
await updateDocumentStatus(data.documentId, data.reviewStatus, injector);
|
|
3133
|
-
return result;
|
|
3098
|
+
return await dataService.updateOne(data.id, data);
|
|
3134
3099
|
},
|
|
3135
3100
|
},
|
|
3136
3101
|
},
|
|
3137
3102
|
queries: {
|
|
3138
3103
|
byKey: {
|
|
3139
3104
|
execute: async (id) => {
|
|
3140
|
-
|
|
3141
|
-
return {
|
|
3142
|
-
...review,
|
|
3143
|
-
reviewedAt: review.reviewedAt ?? new Date(),
|
|
3144
|
-
};
|
|
3105
|
+
return await dataService.getOne(id);
|
|
3145
3106
|
},
|
|
3146
3107
|
type: AXPEntityQueryType.Single,
|
|
3147
3108
|
},
|
|
3148
3109
|
list: {
|
|
3149
3110
|
execute: async (e) => {
|
|
3150
|
-
|
|
3151
|
-
console.log(a);
|
|
3152
|
-
return a;
|
|
3111
|
+
return await dataService.query(e);
|
|
3153
3112
|
},
|
|
3154
3113
|
type: AXPEntityQueryType.List,
|
|
3155
3114
|
},
|
|
@@ -3164,67 +3123,21 @@ async function reviewFactory(injector) {
|
|
|
3164
3123
|
],
|
|
3165
3124
|
properties: [
|
|
3166
3125
|
{
|
|
3167
|
-
name: '
|
|
3168
|
-
layout: {
|
|
3169
|
-
positions: {
|
|
3170
|
-
lg: {
|
|
3171
|
-
colSpan: 12,
|
|
3172
|
-
order: 1,
|
|
3173
|
-
},
|
|
3174
|
-
},
|
|
3175
|
-
},
|
|
3176
|
-
},
|
|
3177
|
-
{
|
|
3178
|
-
name: 'reviewerId',
|
|
3179
|
-
layout: {
|
|
3180
|
-
positions: {
|
|
3181
|
-
lg: {
|
|
3182
|
-
colSpan: 6,
|
|
3183
|
-
order: 5,
|
|
3184
|
-
},
|
|
3185
|
-
},
|
|
3186
|
-
},
|
|
3187
|
-
},
|
|
3188
|
-
{
|
|
3189
|
-
name: 'version',
|
|
3190
|
-
layout: {
|
|
3191
|
-
positions: {
|
|
3192
|
-
lg: {
|
|
3193
|
-
colSpan: 6,
|
|
3194
|
-
order: 2,
|
|
3195
|
-
},
|
|
3196
|
-
},
|
|
3197
|
-
},
|
|
3198
|
-
},
|
|
3199
|
-
{
|
|
3200
|
-
name: 'status',
|
|
3126
|
+
name: 'name',
|
|
3201
3127
|
layout: {
|
|
3202
3128
|
positions: {
|
|
3203
3129
|
lg: {
|
|
3204
3130
|
colSpan: 6,
|
|
3205
|
-
order: 3,
|
|
3206
|
-
},
|
|
3207
|
-
},
|
|
3208
|
-
},
|
|
3209
|
-
},
|
|
3210
|
-
{
|
|
3211
|
-
name: 'comment',
|
|
3212
|
-
layout: {
|
|
3213
|
-
positions: {
|
|
3214
|
-
lg: {
|
|
3215
|
-
colSpan: 12,
|
|
3216
|
-
order: 4,
|
|
3217
3131
|
},
|
|
3218
3132
|
},
|
|
3219
3133
|
},
|
|
3220
3134
|
},
|
|
3221
3135
|
{
|
|
3222
|
-
name: '
|
|
3136
|
+
name: 'title',
|
|
3223
3137
|
layout: {
|
|
3224
3138
|
positions: {
|
|
3225
3139
|
lg: {
|
|
3226
3140
|
colSpan: 6,
|
|
3227
|
-
order: 6,
|
|
3228
3141
|
},
|
|
3229
3142
|
},
|
|
3230
3143
|
},
|
|
@@ -3239,34 +3152,21 @@ async function reviewFactory(injector) {
|
|
|
3239
3152
|
],
|
|
3240
3153
|
properties: [
|
|
3241
3154
|
{
|
|
3242
|
-
name: '
|
|
3155
|
+
name: 'name',
|
|
3243
3156
|
layout: {
|
|
3244
3157
|
positions: {
|
|
3245
3158
|
lg: {
|
|
3246
3159
|
colSpan: 6,
|
|
3247
|
-
order: 5,
|
|
3248
|
-
},
|
|
3249
|
-
},
|
|
3250
|
-
},
|
|
3251
|
-
},
|
|
3252
|
-
{
|
|
3253
|
-
name: 'comment',
|
|
3254
|
-
layout: {
|
|
3255
|
-
positions: {
|
|
3256
|
-
lg: {
|
|
3257
|
-
colSpan: 12,
|
|
3258
|
-
order: 4,
|
|
3259
3160
|
},
|
|
3260
3161
|
},
|
|
3261
3162
|
},
|
|
3262
3163
|
},
|
|
3263
3164
|
{
|
|
3264
|
-
name: '
|
|
3165
|
+
name: 'title',
|
|
3265
3166
|
layout: {
|
|
3266
3167
|
positions: {
|
|
3267
3168
|
lg: {
|
|
3268
3169
|
colSpan: 6,
|
|
3269
|
-
order: 6,
|
|
3270
3170
|
},
|
|
3271
3171
|
},
|
|
3272
3172
|
},
|
|
@@ -3274,7 +3174,7 @@ async function reviewFactory(injector) {
|
|
|
3274
3174
|
],
|
|
3275
3175
|
},
|
|
3276
3176
|
single: {
|
|
3277
|
-
title: '{{
|
|
3177
|
+
title: '{{title}}',
|
|
3278
3178
|
sections: [
|
|
3279
3179
|
{
|
|
3280
3180
|
id: 'section',
|
|
@@ -3289,104 +3189,60 @@ async function reviewFactory(injector) {
|
|
|
3289
3189
|
],
|
|
3290
3190
|
properties: [
|
|
3291
3191
|
{
|
|
3292
|
-
name: '
|
|
3293
|
-
dataPath: 'document',
|
|
3294
|
-
layout: {
|
|
3295
|
-
positions: {
|
|
3296
|
-
lg: {
|
|
3297
|
-
colSpan: 12,
|
|
3298
|
-
order: 1,
|
|
3299
|
-
},
|
|
3300
|
-
},
|
|
3301
|
-
},
|
|
3302
|
-
},
|
|
3303
|
-
{
|
|
3304
|
-
name: 'reviewerId',
|
|
3305
|
-
layout: {
|
|
3306
|
-
positions: {
|
|
3307
|
-
lg: {
|
|
3308
|
-
colSpan: 6,
|
|
3309
|
-
order: 5,
|
|
3310
|
-
},
|
|
3311
|
-
},
|
|
3312
|
-
},
|
|
3313
|
-
},
|
|
3314
|
-
{
|
|
3315
|
-
name: 'version',
|
|
3192
|
+
name: 'name',
|
|
3316
3193
|
layout: {
|
|
3317
3194
|
positions: {
|
|
3318
3195
|
lg: {
|
|
3319
3196
|
colSpan: 6,
|
|
3320
|
-
order: 2,
|
|
3321
3197
|
},
|
|
3322
3198
|
},
|
|
3323
3199
|
},
|
|
3324
3200
|
},
|
|
3325
3201
|
{
|
|
3326
|
-
name: '
|
|
3202
|
+
name: 'title',
|
|
3327
3203
|
layout: {
|
|
3328
3204
|
positions: {
|
|
3329
3205
|
lg: {
|
|
3330
3206
|
colSpan: 6,
|
|
3331
|
-
order: 3,
|
|
3332
3207
|
},
|
|
3333
3208
|
},
|
|
3334
3209
|
},
|
|
3335
3210
|
},
|
|
3211
|
+
],
|
|
3212
|
+
actions: [],
|
|
3213
|
+
},
|
|
3214
|
+
list: {
|
|
3215
|
+
actions: [
|
|
3336
3216
|
{
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
order: 4,
|
|
3343
|
-
},
|
|
3344
|
-
},
|
|
3345
|
-
},
|
|
3217
|
+
title: `t("create", { scope: "common" })`,
|
|
3218
|
+
command: 'create-entity',
|
|
3219
|
+
priority: 'primary',
|
|
3220
|
+
type: 'create',
|
|
3221
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
3346
3222
|
},
|
|
3347
3223
|
{
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
order: 6,
|
|
3354
|
-
},
|
|
3355
|
-
},
|
|
3356
|
-
},
|
|
3224
|
+
title: 't("deleteItems", { scope: "common" })',
|
|
3225
|
+
command: 'delete-entity',
|
|
3226
|
+
priority: 'primary',
|
|
3227
|
+
type: 'delete',
|
|
3228
|
+
scope: AXPEntityCommandScope.Selected,
|
|
3357
3229
|
},
|
|
3358
3230
|
{
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
order: 7,
|
|
3365
|
-
},
|
|
3366
|
-
},
|
|
3367
|
-
},
|
|
3231
|
+
title: 't("detail", { scope: "common" })',
|
|
3232
|
+
command: 'open-entity',
|
|
3233
|
+
priority: 'secondary',
|
|
3234
|
+
type: 'view',
|
|
3235
|
+
scope: AXPEntityCommandScope.Individual,
|
|
3368
3236
|
},
|
|
3369
3237
|
{
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
order: 8,
|
|
3376
|
-
},
|
|
3377
|
-
},
|
|
3378
|
-
},
|
|
3238
|
+
title: 't("delete", { scope: "common" })',
|
|
3239
|
+
command: 'delete-entity',
|
|
3240
|
+
priority: 'secondary',
|
|
3241
|
+
type: 'delete',
|
|
3242
|
+
scope: AXPEntityCommandScope.Individual,
|
|
3379
3243
|
},
|
|
3380
3244
|
],
|
|
3381
|
-
|
|
3382
|
-
},
|
|
3383
|
-
list: {
|
|
3384
|
-
actions: [],
|
|
3385
|
-
views: [
|
|
3386
|
-
createAllQueryView({
|
|
3387
|
-
sorts: [{ name: 'reviewedAt', dir: 'desc' }],
|
|
3388
|
-
}),
|
|
3389
|
-
],
|
|
3245
|
+
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
3390
3246
|
},
|
|
3391
3247
|
},
|
|
3392
3248
|
},
|
|
@@ -3394,71 +3250,151 @@ async function reviewFactory(injector) {
|
|
|
3394
3250
|
return entityDef;
|
|
3395
3251
|
}
|
|
3396
3252
|
|
|
3397
|
-
class
|
|
3253
|
+
class AXMFolderEntityModule {
|
|
3254
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3255
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderEntityModule }); }
|
|
3256
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderEntityModule, providers: [
|
|
3257
|
+
{
|
|
3258
|
+
provide: AXMFolderService,
|
|
3259
|
+
useClass: AXMFolderServiceImpl,
|
|
3260
|
+
},
|
|
3261
|
+
] }); }
|
|
3262
|
+
}
|
|
3263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMFolderEntityModule, decorators: [{
|
|
3264
|
+
type: NgModule,
|
|
3265
|
+
args: [{
|
|
3266
|
+
imports: [],
|
|
3267
|
+
exports: [],
|
|
3268
|
+
declarations: [],
|
|
3269
|
+
providers: [
|
|
3270
|
+
{
|
|
3271
|
+
provide: AXMFolderService,
|
|
3272
|
+
useClass: AXMFolderServiceImpl,
|
|
3273
|
+
},
|
|
3274
|
+
],
|
|
3275
|
+
}]
|
|
3276
|
+
}] });
|
|
3277
|
+
|
|
3278
|
+
class AXMReviewService extends AXMEntityCrudServiceImpl {
|
|
3398
3279
|
}
|
|
3399
|
-
class
|
|
3280
|
+
class AXMReviewServiceImpl extends AXMReviewService {
|
|
3400
3281
|
constructor() {
|
|
3401
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.
|
|
3282
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.review.name}`);
|
|
3402
3283
|
}
|
|
3403
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type:
|
|
3404
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type:
|
|
3284
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMReviewServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3285
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMReviewServiceImpl }); }
|
|
3405
3286
|
}
|
|
3406
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type:
|
|
3287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMReviewServiceImpl, decorators: [{
|
|
3407
3288
|
type: Injectable
|
|
3408
3289
|
}], ctorParameters: () => [] });
|
|
3409
3290
|
|
|
3410
|
-
|
|
3411
|
-
|
|
3291
|
+
// Helper function to update document status based on review status
|
|
3292
|
+
async function updateDocumentStatus(documentId, reviewStatus, injector) {
|
|
3293
|
+
try {
|
|
3294
|
+
// Import document service dynamically to avoid circular dependencies
|
|
3295
|
+
const { AXMDocumentService } = await Promise.resolve().then(function () { return document_service; });
|
|
3296
|
+
const documentService = injector.get(AXMDocumentService);
|
|
3297
|
+
// Map review status to document workflow phase
|
|
3298
|
+
let documentStatus;
|
|
3299
|
+
switch (reviewStatus) {
|
|
3300
|
+
case 'Approved':
|
|
3301
|
+
documentStatus = 'Reviewed';
|
|
3302
|
+
break;
|
|
3303
|
+
case 'Rejected':
|
|
3304
|
+
documentStatus = 'Rejected';
|
|
3305
|
+
break;
|
|
3306
|
+
case 'Pending':
|
|
3307
|
+
documentStatus = 'PendingReview';
|
|
3308
|
+
break;
|
|
3309
|
+
default:
|
|
3310
|
+
documentStatus = 'PendingReview';
|
|
3311
|
+
}
|
|
3312
|
+
// Update the document status
|
|
3313
|
+
await documentService.updateOne(documentId, { status: documentStatus });
|
|
3314
|
+
}
|
|
3315
|
+
catch (error) {
|
|
3316
|
+
console.error('Failed to update document status:', error);
|
|
3317
|
+
// Don't throw error to avoid breaking the review process
|
|
3318
|
+
}
|
|
3319
|
+
}
|
|
3320
|
+
async function reviewFactory(injector) {
|
|
3321
|
+
const dataService = injector.get(AXMReviewService);
|
|
3412
3322
|
const i18n = RootConfig.config.i18n;
|
|
3413
3323
|
const entityDef = {
|
|
3414
3324
|
module: RootConfig.module.name,
|
|
3415
|
-
name: RootConfig.entities.
|
|
3325
|
+
name: RootConfig.entities.review.name,
|
|
3416
3326
|
source: '',
|
|
3417
|
-
title: RootConfig.entities.
|
|
3327
|
+
title: RootConfig.entities.review.title,
|
|
3418
3328
|
formats: {
|
|
3419
|
-
individual: RootConfig.entities.
|
|
3420
|
-
plural: RootConfig.entities.
|
|
3329
|
+
individual: RootConfig.entities.review.title,
|
|
3330
|
+
plural: RootConfig.entities.review.titlePlural,
|
|
3421
3331
|
searchResult: {
|
|
3422
3332
|
title: '{{ title }}',
|
|
3423
3333
|
description: RootConfig.module.title,
|
|
3424
3334
|
},
|
|
3425
3335
|
},
|
|
3426
|
-
relatedEntities: [
|
|
3427
|
-
{
|
|
3428
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.distributionInteraction.name}`,
|
|
3429
|
-
columns: [],
|
|
3430
|
-
conditions: [
|
|
3431
|
-
{
|
|
3432
|
-
name: 'documentDistributionId',
|
|
3433
|
-
operator: {
|
|
3434
|
-
type: 'equal',
|
|
3435
|
-
},
|
|
3436
|
-
value: '{{context.eval("id")}}',
|
|
3437
|
-
},
|
|
3438
|
-
],
|
|
3439
|
-
},
|
|
3440
|
-
],
|
|
3336
|
+
relatedEntities: [],
|
|
3441
3337
|
groups: [
|
|
3442
3338
|
{
|
|
3443
3339
|
id: 'section',
|
|
3444
|
-
title: RootConfig.entities.
|
|
3340
|
+
title: RootConfig.entities.review.title,
|
|
3445
3341
|
},
|
|
3446
3342
|
],
|
|
3447
3343
|
properties: [
|
|
3344
|
+
{
|
|
3345
|
+
name: 'version',
|
|
3346
|
+
title: `t("version", { scope: "${i18n}" })`,
|
|
3347
|
+
groupId: 'section',
|
|
3348
|
+
schema: {
|
|
3349
|
+
dataType: 'number',
|
|
3350
|
+
interface: {
|
|
3351
|
+
type: AXPWidgetsCatalog.textBlockLayout,
|
|
3352
|
+
options: {
|
|
3353
|
+
content: `{{ context.eval('version') }}`,
|
|
3354
|
+
},
|
|
3355
|
+
},
|
|
3356
|
+
},
|
|
3357
|
+
},
|
|
3448
3358
|
{
|
|
3449
3359
|
name: 'documentId',
|
|
3450
|
-
title: `t("documentId", { scope: "${i18n}" })`,
|
|
3451
3360
|
groupId: 'section',
|
|
3452
|
-
|
|
3361
|
+
title: `t("document", { scope: "${i18n}" })`,
|
|
3362
|
+
options: {
|
|
3363
|
+
sort: {
|
|
3364
|
+
enabled: true,
|
|
3365
|
+
},
|
|
3366
|
+
filter: {
|
|
3367
|
+
advance: {
|
|
3368
|
+
enabled: true,
|
|
3369
|
+
},
|
|
3370
|
+
inline: {
|
|
3371
|
+
enabled: true,
|
|
3372
|
+
},
|
|
3373
|
+
},
|
|
3374
|
+
},
|
|
3453
3375
|
schema: {
|
|
3454
3376
|
dataType: 'string',
|
|
3455
3377
|
interface: {
|
|
3456
3378
|
type: AXPWidgetsCatalog.lookup,
|
|
3457
3379
|
options: {
|
|
3458
|
-
entity:
|
|
3380
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.document.name}`,
|
|
3459
3381
|
multiple: false,
|
|
3460
|
-
|
|
3382
|
+
filter: "{{ { logic:'and' , filters: [ { field:'documentType.requiresReview' , value: true , operator: { type:'equal' } },] } }}",
|
|
3383
|
+
textField: 'name',
|
|
3384
|
+
valueField: 'id',
|
|
3385
|
+
expose: [
|
|
3386
|
+
{ source: 'id', target: 'document.id' },
|
|
3387
|
+
{ source: 'name', target: 'document.name' },
|
|
3388
|
+
{ source: 'title', target: 'document.title' },
|
|
3389
|
+
{ source: 'version', target: 'document.version' },
|
|
3390
|
+
],
|
|
3461
3391
|
},
|
|
3392
|
+
triggers: [
|
|
3393
|
+
{
|
|
3394
|
+
event: "{{ events.context('documentId') }}",
|
|
3395
|
+
action: "{{ context.set('version' , context.eval('document').version ) }}",
|
|
3396
|
+
},
|
|
3397
|
+
],
|
|
3462
3398
|
},
|
|
3463
3399
|
},
|
|
3464
3400
|
validations: [
|
|
@@ -3468,8 +3404,63 @@ async function distributionFactory(injector) {
|
|
|
3468
3404
|
],
|
|
3469
3405
|
},
|
|
3470
3406
|
{
|
|
3471
|
-
name: '
|
|
3472
|
-
title: `t("
|
|
3407
|
+
name: 'reviewerId',
|
|
3408
|
+
title: `t("reviewer", { scope: "${i18n}" })`,
|
|
3409
|
+
groupId: 'section',
|
|
3410
|
+
schema: {
|
|
3411
|
+
dataType: 'string',
|
|
3412
|
+
defaultValue: '{{ session.currentUser().id }}',
|
|
3413
|
+
interface: {
|
|
3414
|
+
type: AXPWidgetsCatalog.lookup,
|
|
3415
|
+
options: {
|
|
3416
|
+
entity: 'SecurityManagement.User',
|
|
3417
|
+
multiple: false,
|
|
3418
|
+
textField: 'username',
|
|
3419
|
+
valueField: 'id',
|
|
3420
|
+
expose: [
|
|
3421
|
+
{ source: 'id', target: 'reviewer.id' },
|
|
3422
|
+
{ source: 'username', target: 'reviewer.username' },
|
|
3423
|
+
],
|
|
3424
|
+
},
|
|
3425
|
+
},
|
|
3426
|
+
},
|
|
3427
|
+
validations: [
|
|
3428
|
+
{
|
|
3429
|
+
rule: 'required',
|
|
3430
|
+
},
|
|
3431
|
+
],
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
name: 'status',
|
|
3435
|
+
title: `t("approve", { scope: "${i18n}" })`,
|
|
3436
|
+
groupId: 'section',
|
|
3437
|
+
schema: {
|
|
3438
|
+
dataType: 'string',
|
|
3439
|
+
interface: {
|
|
3440
|
+
type: AXPWidgetsCatalog.toggle,
|
|
3441
|
+
options: {},
|
|
3442
|
+
},
|
|
3443
|
+
},
|
|
3444
|
+
validations: [
|
|
3445
|
+
{
|
|
3446
|
+
rule: 'required',
|
|
3447
|
+
},
|
|
3448
|
+
],
|
|
3449
|
+
},
|
|
3450
|
+
{
|
|
3451
|
+
name: 'comment',
|
|
3452
|
+
title: `t("comment", { scope: "${i18n}" })`,
|
|
3453
|
+
groupId: 'section',
|
|
3454
|
+
schema: {
|
|
3455
|
+
dataType: 'string',
|
|
3456
|
+
interface: {
|
|
3457
|
+
type: AXPWidgetsCatalog.richText,
|
|
3458
|
+
},
|
|
3459
|
+
},
|
|
3460
|
+
},
|
|
3461
|
+
{
|
|
3462
|
+
name: 'reviewedAt',
|
|
3463
|
+
title: `t("reviewedAt", { scope: "${i18n}" })`,
|
|
3473
3464
|
groupId: 'section',
|
|
3474
3465
|
options: {
|
|
3475
3466
|
sort: {
|
|
@@ -3485,9 +3476,13 @@ async function distributionFactory(injector) {
|
|
|
3485
3476
|
},
|
|
3486
3477
|
},
|
|
3487
3478
|
schema: {
|
|
3488
|
-
|
|
3479
|
+
defaultValue: '{{ variables.execute("now") }}',
|
|
3480
|
+
dataType: 'date',
|
|
3489
3481
|
interface: {
|
|
3490
|
-
type: AXPWidgetsCatalog.
|
|
3482
|
+
type: AXPWidgetsCatalog.dateTime,
|
|
3483
|
+
options: {
|
|
3484
|
+
showTime: true,
|
|
3485
|
+
},
|
|
3491
3486
|
},
|
|
3492
3487
|
},
|
|
3493
3488
|
validations: [
|
|
@@ -3497,43 +3492,89 @@ async function distributionFactory(injector) {
|
|
|
3497
3492
|
],
|
|
3498
3493
|
},
|
|
3499
3494
|
{
|
|
3500
|
-
name: '
|
|
3501
|
-
title: `t("
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3495
|
+
name: 'modifiedAt',
|
|
3496
|
+
title: `t("modifiedAt", { scope: "${i18n}" })`,
|
|
3497
|
+
groupId: 'section',
|
|
3498
|
+
options: {
|
|
3499
|
+
sort: {
|
|
3500
|
+
enabled: true,
|
|
3501
|
+
},
|
|
3502
|
+
filter: {
|
|
3503
|
+
advance: {
|
|
3504
|
+
enabled: true,
|
|
3505
|
+
},
|
|
3506
|
+
inline: {
|
|
3507
|
+
enabled: false,
|
|
3508
|
+
},
|
|
3506
3509
|
},
|
|
3507
3510
|
},
|
|
3508
|
-
},
|
|
3509
|
-
{
|
|
3510
|
-
name: 'signedCount',
|
|
3511
|
-
title: `t("signed-count", { scope: "${i18n}" })`,
|
|
3512
3511
|
schema: {
|
|
3513
|
-
dataType: '
|
|
3512
|
+
dataType: 'date',
|
|
3514
3513
|
interface: {
|
|
3515
|
-
type: AXPWidgetsCatalog.
|
|
3514
|
+
type: AXPWidgetsCatalog.dateTime,
|
|
3515
|
+
options: {
|
|
3516
|
+
showTime: true,
|
|
3517
|
+
},
|
|
3516
3518
|
},
|
|
3517
3519
|
},
|
|
3518
3520
|
},
|
|
3519
3521
|
{
|
|
3520
|
-
name: '
|
|
3521
|
-
title: `t("
|
|
3522
|
+
name: 'modifiedBy',
|
|
3523
|
+
title: `t("modifiedBy", { scope: "${i18n}" })`,
|
|
3524
|
+
groupId: 'section',
|
|
3525
|
+
options: {
|
|
3526
|
+
sort: {
|
|
3527
|
+
enabled: true,
|
|
3528
|
+
},
|
|
3529
|
+
filter: {
|
|
3530
|
+
advance: {
|
|
3531
|
+
enabled: true,
|
|
3532
|
+
},
|
|
3533
|
+
inline: {
|
|
3534
|
+
enabled: true,
|
|
3535
|
+
},
|
|
3536
|
+
},
|
|
3537
|
+
},
|
|
3522
3538
|
schema: {
|
|
3523
3539
|
dataType: 'string',
|
|
3524
3540
|
interface: {
|
|
3525
|
-
type: AXPWidgetsCatalog.
|
|
3541
|
+
type: AXPWidgetsCatalog.lookup,
|
|
3542
|
+
options: {
|
|
3543
|
+
entity: 'SecurityManagement.User',
|
|
3544
|
+
multiple: false,
|
|
3545
|
+
textField: 'name',
|
|
3546
|
+
valueField: 'id',
|
|
3547
|
+
expose: [
|
|
3548
|
+
{ source: 'id', target: 'modifier.id' },
|
|
3549
|
+
{ source: 'name', target: 'modifier.name' },
|
|
3550
|
+
],
|
|
3551
|
+
},
|
|
3526
3552
|
},
|
|
3527
3553
|
},
|
|
3528
3554
|
},
|
|
3529
3555
|
],
|
|
3530
|
-
columns: [
|
|
3531
|
-
{ name: '
|
|
3556
|
+
columns: [
|
|
3557
|
+
{ name: 'documentId', options: { dataPath: 'document.name' } },
|
|
3558
|
+
{ name: 'reviewerId', options: { dataPath: 'reviewer.title' } },
|
|
3559
|
+
{ name: 'status' },
|
|
3560
|
+
{ name: 'comment' },
|
|
3561
|
+
{ name: 'reviewedAt' },
|
|
3562
|
+
{ name: 'modifiedAt' },
|
|
3563
|
+
{ name: 'modifiedBy' },
|
|
3532
3564
|
],
|
|
3533
3565
|
commands: {
|
|
3534
3566
|
create: {
|
|
3535
3567
|
execute: async (data) => {
|
|
3568
|
+
// Set reviewedAt to current date if not provided
|
|
3569
|
+
if (!data.reviewedAt) {
|
|
3570
|
+
data.reviewedAt = new Date();
|
|
3571
|
+
}
|
|
3572
|
+
//TODO for test
|
|
3573
|
+
data.reviewStatus = 'Approved';
|
|
3574
|
+
// Create the review record
|
|
3536
3575
|
const res = await dataService.insertOne(data);
|
|
3576
|
+
// Update document status based on review status
|
|
3577
|
+
await updateDocumentStatus(data.documentId, data.reviewStatus, injector);
|
|
3537
3578
|
return { id: res };
|
|
3538
3579
|
},
|
|
3539
3580
|
},
|
|
@@ -3544,22 +3585,34 @@ async function distributionFactory(injector) {
|
|
|
3544
3585
|
},
|
|
3545
3586
|
update: {
|
|
3546
3587
|
execute: async (data) => {
|
|
3547
|
-
|
|
3588
|
+
// Update reviewedAt to current date
|
|
3589
|
+
data.reviewedAt = new Date();
|
|
3590
|
+
//TODO for test
|
|
3591
|
+
data.reviewStatus = 'Approved';
|
|
3592
|
+
// Update the review record
|
|
3593
|
+
const result = await dataService.updateOne(data.id, data);
|
|
3594
|
+
// Update document status based on review status
|
|
3595
|
+
await updateDocumentStatus(data.documentId, data.reviewStatus, injector);
|
|
3596
|
+
return result;
|
|
3548
3597
|
},
|
|
3549
3598
|
},
|
|
3550
3599
|
},
|
|
3551
3600
|
queries: {
|
|
3552
3601
|
byKey: {
|
|
3553
3602
|
execute: async (id) => {
|
|
3554
|
-
|
|
3603
|
+
const review = await dataService.getOne(id);
|
|
3604
|
+
return {
|
|
3605
|
+
...review,
|
|
3606
|
+
reviewedAt: review.reviewedAt ?? new Date(),
|
|
3607
|
+
};
|
|
3555
3608
|
},
|
|
3556
3609
|
type: AXPEntityQueryType.Single,
|
|
3557
3610
|
},
|
|
3558
3611
|
list: {
|
|
3559
3612
|
execute: async (e) => {
|
|
3560
|
-
const
|
|
3561
|
-
console.log(
|
|
3562
|
-
return
|
|
3613
|
+
const a = await dataService.query(e);
|
|
3614
|
+
console.log(a);
|
|
3615
|
+
return a;
|
|
3563
3616
|
},
|
|
3564
3617
|
type: AXPEntityQueryType.List,
|
|
3565
3618
|
},
|
|
@@ -3578,12 +3631,23 @@ async function distributionFactory(injector) {
|
|
|
3578
3631
|
layout: {
|
|
3579
3632
|
positions: {
|
|
3580
3633
|
lg: {
|
|
3581
|
-
colSpan:
|
|
3634
|
+
colSpan: 12,
|
|
3582
3635
|
order: 1,
|
|
3583
3636
|
},
|
|
3584
3637
|
},
|
|
3585
3638
|
},
|
|
3586
3639
|
},
|
|
3640
|
+
{
|
|
3641
|
+
name: 'reviewerId',
|
|
3642
|
+
layout: {
|
|
3643
|
+
positions: {
|
|
3644
|
+
lg: {
|
|
3645
|
+
colSpan: 6,
|
|
3646
|
+
order: 5,
|
|
3647
|
+
},
|
|
3648
|
+
},
|
|
3649
|
+
},
|
|
3650
|
+
},
|
|
3587
3651
|
{
|
|
3588
3652
|
name: 'version',
|
|
3589
3653
|
layout: {
|
|
@@ -3595,6 +3659,39 @@ async function distributionFactory(injector) {
|
|
|
3595
3659
|
},
|
|
3596
3660
|
},
|
|
3597
3661
|
},
|
|
3662
|
+
{
|
|
3663
|
+
name: 'status',
|
|
3664
|
+
layout: {
|
|
3665
|
+
positions: {
|
|
3666
|
+
lg: {
|
|
3667
|
+
colSpan: 6,
|
|
3668
|
+
order: 3,
|
|
3669
|
+
},
|
|
3670
|
+
},
|
|
3671
|
+
},
|
|
3672
|
+
},
|
|
3673
|
+
{
|
|
3674
|
+
name: 'comment',
|
|
3675
|
+
layout: {
|
|
3676
|
+
positions: {
|
|
3677
|
+
lg: {
|
|
3678
|
+
colSpan: 12,
|
|
3679
|
+
order: 4,
|
|
3680
|
+
},
|
|
3681
|
+
},
|
|
3682
|
+
},
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
name: 'reviewedAt',
|
|
3686
|
+
layout: {
|
|
3687
|
+
positions: {
|
|
3688
|
+
lg: {
|
|
3689
|
+
colSpan: 6,
|
|
3690
|
+
order: 6,
|
|
3691
|
+
},
|
|
3692
|
+
},
|
|
3693
|
+
},
|
|
3694
|
+
},
|
|
3598
3695
|
],
|
|
3599
3696
|
},
|
|
3600
3697
|
update: {
|
|
@@ -3605,23 +3702,34 @@ async function distributionFactory(injector) {
|
|
|
3605
3702
|
],
|
|
3606
3703
|
properties: [
|
|
3607
3704
|
{
|
|
3608
|
-
name: '
|
|
3705
|
+
name: 'reviewerId',
|
|
3609
3706
|
layout: {
|
|
3610
3707
|
positions: {
|
|
3611
3708
|
lg: {
|
|
3612
3709
|
colSpan: 6,
|
|
3613
|
-
order:
|
|
3710
|
+
order: 5,
|
|
3614
3711
|
},
|
|
3615
3712
|
},
|
|
3616
3713
|
},
|
|
3617
3714
|
},
|
|
3618
3715
|
{
|
|
3619
|
-
name: '
|
|
3716
|
+
name: 'comment',
|
|
3717
|
+
layout: {
|
|
3718
|
+
positions: {
|
|
3719
|
+
lg: {
|
|
3720
|
+
colSpan: 12,
|
|
3721
|
+
order: 4,
|
|
3722
|
+
},
|
|
3723
|
+
},
|
|
3724
|
+
},
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
name: 'reviewedAt',
|
|
3620
3728
|
layout: {
|
|
3621
3729
|
positions: {
|
|
3622
3730
|
lg: {
|
|
3623
3731
|
colSpan: 6,
|
|
3624
|
-
order:
|
|
3732
|
+
order: 6,
|
|
3625
3733
|
},
|
|
3626
3734
|
},
|
|
3627
3735
|
},
|
|
@@ -3629,7 +3737,7 @@ async function distributionFactory(injector) {
|
|
|
3629
3737
|
],
|
|
3630
3738
|
},
|
|
3631
3739
|
single: {
|
|
3632
|
-
title:
|
|
3740
|
+
title: '{{document.name}} - Review',
|
|
3633
3741
|
sections: [
|
|
3634
3742
|
{
|
|
3635
3743
|
id: 'section',
|
|
@@ -3645,15 +3753,27 @@ async function distributionFactory(injector) {
|
|
|
3645
3753
|
properties: [
|
|
3646
3754
|
{
|
|
3647
3755
|
name: 'documentId',
|
|
3756
|
+
dataPath: 'document',
|
|
3648
3757
|
layout: {
|
|
3649
3758
|
positions: {
|
|
3650
3759
|
lg: {
|
|
3651
|
-
colSpan:
|
|
3760
|
+
colSpan: 12,
|
|
3652
3761
|
order: 1,
|
|
3653
3762
|
},
|
|
3654
3763
|
},
|
|
3655
3764
|
},
|
|
3656
3765
|
},
|
|
3766
|
+
{
|
|
3767
|
+
name: 'reviewerId',
|
|
3768
|
+
layout: {
|
|
3769
|
+
positions: {
|
|
3770
|
+
lg: {
|
|
3771
|
+
colSpan: 6,
|
|
3772
|
+
order: 5,
|
|
3773
|
+
},
|
|
3774
|
+
},
|
|
3775
|
+
},
|
|
3776
|
+
},
|
|
3657
3777
|
{
|
|
3658
3778
|
name: 'version',
|
|
3659
3779
|
layout: {
|
|
@@ -3665,43 +3785,69 @@ async function distributionFactory(injector) {
|
|
|
3665
3785
|
},
|
|
3666
3786
|
},
|
|
3667
3787
|
},
|
|
3668
|
-
],
|
|
3669
|
-
actions: [],
|
|
3670
|
-
},
|
|
3671
|
-
list: {
|
|
3672
|
-
actions: [
|
|
3673
3788
|
{
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3789
|
+
name: 'status',
|
|
3790
|
+
layout: {
|
|
3791
|
+
positions: {
|
|
3792
|
+
lg: {
|
|
3793
|
+
colSpan: 6,
|
|
3794
|
+
order: 3,
|
|
3795
|
+
},
|
|
3796
|
+
},
|
|
3797
|
+
},
|
|
3679
3798
|
},
|
|
3680
3799
|
{
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3800
|
+
name: 'comment',
|
|
3801
|
+
layout: {
|
|
3802
|
+
positions: {
|
|
3803
|
+
lg: {
|
|
3804
|
+
colSpan: 12,
|
|
3805
|
+
order: 4,
|
|
3806
|
+
},
|
|
3807
|
+
},
|
|
3808
|
+
},
|
|
3686
3809
|
},
|
|
3687
3810
|
{
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3811
|
+
name: 'reviewedAt',
|
|
3812
|
+
layout: {
|
|
3813
|
+
positions: {
|
|
3814
|
+
lg: {
|
|
3815
|
+
colSpan: 6,
|
|
3816
|
+
order: 6,
|
|
3817
|
+
},
|
|
3818
|
+
},
|
|
3819
|
+
},
|
|
3693
3820
|
},
|
|
3694
3821
|
{
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3822
|
+
name: 'modifiedAt',
|
|
3823
|
+
layout: {
|
|
3824
|
+
positions: {
|
|
3825
|
+
lg: {
|
|
3826
|
+
colSpan: 6,
|
|
3827
|
+
order: 7,
|
|
3828
|
+
},
|
|
3829
|
+
},
|
|
3830
|
+
},
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
name: 'modifiedBy',
|
|
3834
|
+
layout: {
|
|
3835
|
+
positions: {
|
|
3836
|
+
lg: {
|
|
3837
|
+
colSpan: 6,
|
|
3838
|
+
order: 8,
|
|
3839
|
+
},
|
|
3840
|
+
},
|
|
3841
|
+
},
|
|
3700
3842
|
},
|
|
3701
3843
|
],
|
|
3844
|
+
actions: [],
|
|
3845
|
+
},
|
|
3846
|
+
list: {
|
|
3847
|
+
actions: [],
|
|
3702
3848
|
views: [
|
|
3703
3849
|
createAllQueryView({
|
|
3704
|
-
sorts: [{ name: '
|
|
3850
|
+
sorts: [{ name: 'reviewedAt', dir: 'desc' }],
|
|
3705
3851
|
}),
|
|
3706
3852
|
],
|
|
3707
3853
|
},
|
|
@@ -3711,51 +3857,96 @@ async function distributionFactory(injector) {
|
|
|
3711
3857
|
return entityDef;
|
|
3712
3858
|
}
|
|
3713
3859
|
|
|
3714
|
-
class
|
|
3860
|
+
class AXMReviewEntityModule {
|
|
3861
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMReviewEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3862
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMReviewEntityModule }); }
|
|
3863
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMReviewEntityModule, providers: [
|
|
3864
|
+
{
|
|
3865
|
+
provide: AXMReviewService,
|
|
3866
|
+
useClass: AXMReviewServiceImpl,
|
|
3867
|
+
},
|
|
3868
|
+
] }); }
|
|
3715
3869
|
}
|
|
3716
|
-
|
|
3870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMReviewEntityModule, decorators: [{
|
|
3871
|
+
type: NgModule,
|
|
3872
|
+
args: [{
|
|
3873
|
+
imports: [],
|
|
3874
|
+
exports: [],
|
|
3875
|
+
declarations: [],
|
|
3876
|
+
providers: [
|
|
3877
|
+
{
|
|
3878
|
+
provide: AXMReviewService,
|
|
3879
|
+
useClass: AXMReviewServiceImpl,
|
|
3880
|
+
},
|
|
3881
|
+
],
|
|
3882
|
+
}]
|
|
3883
|
+
}] });
|
|
3884
|
+
|
|
3885
|
+
class AXMDistributionService extends AXMEntityCrudServiceImpl {
|
|
3886
|
+
}
|
|
3887
|
+
class AXMDistributionServiceImpl extends AXMDistributionService {
|
|
3717
3888
|
constructor() {
|
|
3718
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.
|
|
3889
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.distribution.name}`);
|
|
3719
3890
|
}
|
|
3720
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type:
|
|
3721
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type:
|
|
3891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3892
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionServiceImpl }); }
|
|
3722
3893
|
}
|
|
3723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type:
|
|
3894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionServiceImpl, decorators: [{
|
|
3724
3895
|
type: Injectable
|
|
3725
3896
|
}], ctorParameters: () => [] });
|
|
3726
3897
|
|
|
3727
|
-
async function
|
|
3728
|
-
const dataService = injector.get(
|
|
3898
|
+
async function distributionFactory(injector) {
|
|
3899
|
+
const dataService = injector.get(AXMDistributionService);
|
|
3729
3900
|
const i18n = RootConfig.config.i18n;
|
|
3730
3901
|
const entityDef = {
|
|
3731
3902
|
module: RootConfig.module.name,
|
|
3732
|
-
name: RootConfig.entities.
|
|
3903
|
+
name: RootConfig.entities.distribution.name,
|
|
3733
3904
|
source: '',
|
|
3734
|
-
title: RootConfig.entities.
|
|
3905
|
+
title: RootConfig.entities.distribution.title,
|
|
3735
3906
|
formats: {
|
|
3736
|
-
individual: RootConfig.entities.
|
|
3737
|
-
plural: RootConfig.entities.
|
|
3907
|
+
individual: RootConfig.entities.distribution.title,
|
|
3908
|
+
plural: RootConfig.entities.distribution.titlePlural,
|
|
3738
3909
|
searchResult: {
|
|
3739
3910
|
title: '{{ title }}',
|
|
3740
3911
|
description: RootConfig.module.title,
|
|
3741
3912
|
},
|
|
3742
3913
|
},
|
|
3743
|
-
relatedEntities: [
|
|
3914
|
+
relatedEntities: [
|
|
3915
|
+
{
|
|
3916
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.distributionInteraction.name}`,
|
|
3917
|
+
columns: [],
|
|
3918
|
+
conditions: [
|
|
3919
|
+
{
|
|
3920
|
+
name: 'documentDistributionId',
|
|
3921
|
+
operator: {
|
|
3922
|
+
type: 'equal',
|
|
3923
|
+
},
|
|
3924
|
+
value: '{{context.eval("id")}}',
|
|
3925
|
+
},
|
|
3926
|
+
],
|
|
3927
|
+
},
|
|
3928
|
+
],
|
|
3744
3929
|
groups: [
|
|
3745
3930
|
{
|
|
3746
3931
|
id: 'section',
|
|
3747
|
-
title: RootConfig.entities.
|
|
3932
|
+
title: RootConfig.entities.distribution.title,
|
|
3748
3933
|
},
|
|
3749
3934
|
],
|
|
3750
3935
|
properties: [
|
|
3751
3936
|
{
|
|
3752
|
-
name: '
|
|
3753
|
-
title: `t("
|
|
3937
|
+
name: 'documentId',
|
|
3938
|
+
title: `t("documentId", { scope: "${i18n}" })`,
|
|
3754
3939
|
groupId: 'section',
|
|
3940
|
+
options: {},
|
|
3755
3941
|
schema: {
|
|
3756
3942
|
dataType: 'string',
|
|
3757
3943
|
interface: {
|
|
3758
|
-
type: AXPWidgetsCatalog.
|
|
3944
|
+
type: AXPWidgetsCatalog.lookup,
|
|
3945
|
+
options: {
|
|
3946
|
+
entity: 'DocumentManagement.documents',
|
|
3947
|
+
multiple: false,
|
|
3948
|
+
look: 'lookup',
|
|
3949
|
+
},
|
|
3759
3950
|
},
|
|
3760
3951
|
},
|
|
3761
3952
|
validations: [
|
|
@@ -3765,54 +3956,67 @@ async function distributionInteractionFactory(injector) {
|
|
|
3765
3956
|
],
|
|
3766
3957
|
},
|
|
3767
3958
|
{
|
|
3768
|
-
name: '
|
|
3769
|
-
title: `t("
|
|
3959
|
+
name: 'version',
|
|
3960
|
+
title: `t("version", { scope: "${i18n}" })`,
|
|
3770
3961
|
groupId: 'section',
|
|
3962
|
+
options: {
|
|
3963
|
+
sort: {
|
|
3964
|
+
enabled: true,
|
|
3965
|
+
},
|
|
3966
|
+
filter: {
|
|
3967
|
+
advance: {
|
|
3968
|
+
enabled: true,
|
|
3969
|
+
},
|
|
3970
|
+
inline: {
|
|
3971
|
+
enabled: false,
|
|
3972
|
+
},
|
|
3973
|
+
},
|
|
3974
|
+
},
|
|
3771
3975
|
schema: {
|
|
3772
|
-
dataType: '
|
|
3976
|
+
dataType: 'string',
|
|
3773
3977
|
interface: {
|
|
3774
|
-
type: AXPWidgetsCatalog.
|
|
3978
|
+
type: AXPWidgetsCatalog.text,
|
|
3775
3979
|
},
|
|
3776
3980
|
},
|
|
3981
|
+
validations: [
|
|
3982
|
+
{
|
|
3983
|
+
rule: 'required',
|
|
3984
|
+
},
|
|
3985
|
+
],
|
|
3777
3986
|
},
|
|
3778
3987
|
{
|
|
3779
|
-
name: '
|
|
3780
|
-
title: `t("
|
|
3781
|
-
groupId: 'section',
|
|
3988
|
+
name: 'viewedCount',
|
|
3989
|
+
title: `t("viewed-count", { scope: "${i18n}" })`,
|
|
3782
3990
|
schema: {
|
|
3783
|
-
dataType: '
|
|
3991
|
+
dataType: 'string',
|
|
3784
3992
|
interface: {
|
|
3785
|
-
type: AXPWidgetsCatalog.
|
|
3993
|
+
type: AXPWidgetsCatalog.text,
|
|
3786
3994
|
},
|
|
3787
3995
|
},
|
|
3788
3996
|
},
|
|
3789
3997
|
{
|
|
3790
|
-
name: '
|
|
3791
|
-
title: `t("
|
|
3792
|
-
groupId: 'section',
|
|
3998
|
+
name: 'signedCount',
|
|
3999
|
+
title: `t("signed-count", { scope: "${i18n}" })`,
|
|
3793
4000
|
schema: {
|
|
3794
|
-
dataType: '
|
|
4001
|
+
dataType: 'string',
|
|
3795
4002
|
interface: {
|
|
3796
|
-
type: AXPWidgetsCatalog.
|
|
4003
|
+
type: AXPWidgetsCatalog.text,
|
|
3797
4004
|
},
|
|
3798
4005
|
},
|
|
3799
4006
|
},
|
|
3800
4007
|
{
|
|
3801
|
-
name: '
|
|
3802
|
-
title: `t("
|
|
3803
|
-
groupId: 'section',
|
|
4008
|
+
name: 'status',
|
|
4009
|
+
title: `t("status", { scope: "${i18n}" })`,
|
|
3804
4010
|
schema: {
|
|
3805
|
-
dataType: '
|
|
4011
|
+
dataType: 'string',
|
|
3806
4012
|
interface: {
|
|
3807
|
-
type: AXPWidgetsCatalog.
|
|
4013
|
+
type: AXPWidgetsCatalog.text,
|
|
3808
4014
|
},
|
|
3809
4015
|
},
|
|
3810
4016
|
},
|
|
3811
4017
|
],
|
|
3812
|
-
columns: [{ name: '
|
|
3813
|
-
{ name: '
|
|
3814
|
-
{ name: 'hasSigned' },
|
|
3815
|
-
{ name: 'lastSignDate' }
|
|
4018
|
+
columns: [{ name: 'documentId', options: { dataPath: 'document.name' } }, { name: 'version' },
|
|
4019
|
+
{ name: 'viewedCount' }, { name: 'signedCount' }, { name: 'status' }
|
|
3816
4020
|
],
|
|
3817
4021
|
commands: {
|
|
3818
4022
|
create: {
|
|
@@ -3858,7 +4062,7 @@ async function distributionInteractionFactory(injector) {
|
|
|
3858
4062
|
],
|
|
3859
4063
|
properties: [
|
|
3860
4064
|
{
|
|
3861
|
-
name: '
|
|
4065
|
+
name: 'documentId',
|
|
3862
4066
|
layout: {
|
|
3863
4067
|
positions: {
|
|
3864
4068
|
lg: {
|
|
@@ -3869,7 +4073,7 @@ async function distributionInteractionFactory(injector) {
|
|
|
3869
4073
|
},
|
|
3870
4074
|
},
|
|
3871
4075
|
{
|
|
3872
|
-
name: '
|
|
4076
|
+
name: 'version',
|
|
3873
4077
|
layout: {
|
|
3874
4078
|
positions: {
|
|
3875
4079
|
lg: {
|
|
@@ -3889,7 +4093,7 @@ async function distributionInteractionFactory(injector) {
|
|
|
3889
4093
|
],
|
|
3890
4094
|
properties: [
|
|
3891
4095
|
{
|
|
3892
|
-
name: '
|
|
4096
|
+
name: 'documentId',
|
|
3893
4097
|
layout: {
|
|
3894
4098
|
positions: {
|
|
3895
4099
|
lg: {
|
|
@@ -3900,7 +4104,7 @@ async function distributionInteractionFactory(injector) {
|
|
|
3900
4104
|
},
|
|
3901
4105
|
},
|
|
3902
4106
|
{
|
|
3903
|
-
name: '
|
|
4107
|
+
name: 'version',
|
|
3904
4108
|
layout: {
|
|
3905
4109
|
positions: {
|
|
3906
4110
|
lg: {
|
|
@@ -3913,7 +4117,7 @@ async function distributionInteractionFactory(injector) {
|
|
|
3913
4117
|
],
|
|
3914
4118
|
},
|
|
3915
4119
|
single: {
|
|
3916
|
-
title:
|
|
4120
|
+
title: `{{document.name}}`,
|
|
3917
4121
|
sections: [
|
|
3918
4122
|
{
|
|
3919
4123
|
id: 'section',
|
|
@@ -3928,7 +4132,7 @@ async function distributionInteractionFactory(injector) {
|
|
|
3928
4132
|
],
|
|
3929
4133
|
properties: [
|
|
3930
4134
|
{
|
|
3931
|
-
name: '
|
|
4135
|
+
name: 'documentId',
|
|
3932
4136
|
layout: {
|
|
3933
4137
|
positions: {
|
|
3934
4138
|
lg: {
|
|
@@ -3939,7 +4143,7 @@ async function distributionInteractionFactory(injector) {
|
|
|
3939
4143
|
},
|
|
3940
4144
|
},
|
|
3941
4145
|
{
|
|
3942
|
-
name: '
|
|
4146
|
+
name: 'version',
|
|
3943
4147
|
layout: {
|
|
3944
4148
|
positions: {
|
|
3945
4149
|
lg: {
|
|
@@ -3953,10 +4157,39 @@ async function distributionInteractionFactory(injector) {
|
|
|
3953
4157
|
actions: [],
|
|
3954
4158
|
},
|
|
3955
4159
|
list: {
|
|
3956
|
-
actions: [
|
|
4160
|
+
actions: [
|
|
4161
|
+
{
|
|
4162
|
+
title: `t("create", { scope: "common" })`,
|
|
4163
|
+
command: 'create-entity',
|
|
4164
|
+
priority: 'primary',
|
|
4165
|
+
type: 'create',
|
|
4166
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
4167
|
+
},
|
|
4168
|
+
{
|
|
4169
|
+
title: 't("deleteItems", { scope: "common" })',
|
|
4170
|
+
command: 'delete-entity',
|
|
4171
|
+
priority: 'primary',
|
|
4172
|
+
type: 'delete',
|
|
4173
|
+
scope: AXPEntityCommandScope.Selected,
|
|
4174
|
+
},
|
|
4175
|
+
{
|
|
4176
|
+
title: 't("detail", { scope: "common" })',
|
|
4177
|
+
command: 'open-entity',
|
|
4178
|
+
priority: 'secondary',
|
|
4179
|
+
type: 'view',
|
|
4180
|
+
scope: AXPEntityCommandScope.Individual,
|
|
4181
|
+
},
|
|
4182
|
+
{
|
|
4183
|
+
title: 't("delete", { scope: "common" })',
|
|
4184
|
+
command: 'delete-entity',
|
|
4185
|
+
priority: 'secondary',
|
|
4186
|
+
type: 'delete',
|
|
4187
|
+
scope: AXPEntityCommandScope.Individual,
|
|
4188
|
+
},
|
|
4189
|
+
],
|
|
3957
4190
|
views: [
|
|
3958
4191
|
createAllQueryView({
|
|
3959
|
-
sorts: [{ name: '
|
|
4192
|
+
sorts: [{ name: 'documentId', dir: 'asc' }],
|
|
3960
4193
|
}),
|
|
3961
4194
|
],
|
|
3962
4195
|
},
|
|
@@ -3966,17 +4199,55 @@ async function distributionInteractionFactory(injector) {
|
|
|
3966
4199
|
return entityDef;
|
|
3967
4200
|
}
|
|
3968
4201
|
|
|
3969
|
-
|
|
3970
|
-
|
|
4202
|
+
class AXMDistributionEntityModule {
|
|
4203
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4204
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionEntityModule }); }
|
|
4205
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionEntityModule, providers: [
|
|
4206
|
+
{
|
|
4207
|
+
provide: AXMDistributionService,
|
|
4208
|
+
useClass: AXMDistributionServiceImpl,
|
|
4209
|
+
},
|
|
4210
|
+
] }); }
|
|
4211
|
+
}
|
|
4212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionEntityModule, decorators: [{
|
|
4213
|
+
type: NgModule,
|
|
4214
|
+
args: [{
|
|
4215
|
+
imports: [],
|
|
4216
|
+
exports: [],
|
|
4217
|
+
declarations: [],
|
|
4218
|
+
providers: [
|
|
4219
|
+
{
|
|
4220
|
+
provide: AXMDistributionService,
|
|
4221
|
+
useClass: AXMDistributionServiceImpl,
|
|
4222
|
+
},
|
|
4223
|
+
],
|
|
4224
|
+
}]
|
|
4225
|
+
}] });
|
|
4226
|
+
|
|
4227
|
+
class AXMDistributionInteractionService extends AXMEntityCrudServiceImpl {
|
|
4228
|
+
}
|
|
4229
|
+
class AXMDistributionInteractionServiceImpl extends AXMDistributionInteractionService {
|
|
4230
|
+
constructor() {
|
|
4231
|
+
super(`${RootConfig.module.name}.${RootConfig.entities.distributionInteraction.name}`);
|
|
4232
|
+
}
|
|
4233
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionInteractionServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4234
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionInteractionServiceImpl }); }
|
|
4235
|
+
}
|
|
4236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionInteractionServiceImpl, decorators: [{
|
|
4237
|
+
type: Injectable
|
|
4238
|
+
}], ctorParameters: () => [] });
|
|
4239
|
+
|
|
4240
|
+
async function distributionInteractionFactory(injector) {
|
|
4241
|
+
const dataService = injector.get(AXMDistributionInteractionService);
|
|
3971
4242
|
const i18n = RootConfig.config.i18n;
|
|
3972
4243
|
const entityDef = {
|
|
3973
4244
|
module: RootConfig.module.name,
|
|
3974
|
-
name: RootConfig.entities.
|
|
4245
|
+
name: RootConfig.entities.distributionInteraction.name,
|
|
3975
4246
|
source: '',
|
|
3976
|
-
title: RootConfig.entities.
|
|
4247
|
+
title: RootConfig.entities.distributionInteraction.title,
|
|
3977
4248
|
formats: {
|
|
3978
|
-
individual: RootConfig.entities.
|
|
3979
|
-
plural: RootConfig.entities.
|
|
4249
|
+
individual: RootConfig.entities.distributionInteraction.title,
|
|
4250
|
+
plural: RootConfig.entities.distributionInteraction.titlePlural,
|
|
3980
4251
|
searchResult: {
|
|
3981
4252
|
title: '{{ title }}',
|
|
3982
4253
|
description: RootConfig.module.title,
|
|
@@ -3986,112 +4257,75 @@ async function documentRelatedFactory(injector) {
|
|
|
3986
4257
|
groups: [
|
|
3987
4258
|
{
|
|
3988
4259
|
id: 'section',
|
|
3989
|
-
title: RootConfig.entities.
|
|
4260
|
+
title: RootConfig.entities.distributionInteraction.title,
|
|
3990
4261
|
},
|
|
3991
4262
|
],
|
|
3992
4263
|
properties: [
|
|
3993
4264
|
{
|
|
3994
|
-
name: '
|
|
3995
|
-
title:
|
|
4265
|
+
name: 'user',
|
|
4266
|
+
title: `t("user", { scope: "common" })`,
|
|
3996
4267
|
groupId: 'section',
|
|
3997
4268
|
schema: {
|
|
3998
4269
|
dataType: 'string',
|
|
3999
|
-
readonly: true,
|
|
4000
4270
|
interface: {
|
|
4001
4271
|
type: AXPWidgetsCatalog.text,
|
|
4002
|
-
options: {
|
|
4003
|
-
placeholder: 't("name", { scope: "common" })',
|
|
4004
|
-
},
|
|
4005
4272
|
},
|
|
4006
4273
|
},
|
|
4274
|
+
validations: [
|
|
4275
|
+
{
|
|
4276
|
+
rule: 'required',
|
|
4277
|
+
},
|
|
4278
|
+
],
|
|
4007
4279
|
},
|
|
4008
4280
|
{
|
|
4009
|
-
name: '
|
|
4010
|
-
title:
|
|
4281
|
+
name: 'hasViewed',
|
|
4282
|
+
title: `t("has-view", { scope: "${i18n}" })`,
|
|
4011
4283
|
groupId: 'section',
|
|
4012
4284
|
schema: {
|
|
4013
|
-
dataType: '
|
|
4014
|
-
readonly: true,
|
|
4285
|
+
dataType: 'boolean',
|
|
4015
4286
|
interface: {
|
|
4016
|
-
type: AXPWidgetsCatalog.
|
|
4017
|
-
options: {},
|
|
4287
|
+
type: AXPWidgetsCatalog.toggle,
|
|
4018
4288
|
},
|
|
4019
4289
|
},
|
|
4020
|
-
validations: [
|
|
4021
|
-
{
|
|
4022
|
-
rule: 'required',
|
|
4023
|
-
},
|
|
4024
|
-
],
|
|
4025
4290
|
},
|
|
4026
4291
|
{
|
|
4027
|
-
name: '
|
|
4028
|
-
title:
|
|
4292
|
+
name: 'hasSigned',
|
|
4293
|
+
title: `t("has-signed", { scope: "${i18n}" })`,
|
|
4029
4294
|
groupId: 'section',
|
|
4030
4295
|
schema: {
|
|
4031
|
-
dataType: '
|
|
4032
|
-
readonly: true,
|
|
4296
|
+
dataType: 'boolean',
|
|
4033
4297
|
interface: {
|
|
4034
|
-
type: AXPWidgetsCatalog.
|
|
4035
|
-
options: {
|
|
4036
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.documentType.name}`,
|
|
4037
|
-
expose: 'type',
|
|
4038
|
-
},
|
|
4298
|
+
type: AXPWidgetsCatalog.toggle,
|
|
4039
4299
|
},
|
|
4040
4300
|
},
|
|
4041
|
-
validations: [
|
|
4042
|
-
{
|
|
4043
|
-
rule: 'required',
|
|
4044
|
-
},
|
|
4045
|
-
],
|
|
4046
4301
|
},
|
|
4047
4302
|
{
|
|
4048
|
-
name: '
|
|
4049
|
-
title: `t("
|
|
4303
|
+
name: 'lastViewDate',
|
|
4304
|
+
title: `t("view-at", { scope: "${i18n}" })`,
|
|
4050
4305
|
groupId: 'section',
|
|
4051
4306
|
schema: {
|
|
4052
|
-
dataType: '
|
|
4053
|
-
readonly: true,
|
|
4307
|
+
dataType: 'date',
|
|
4054
4308
|
interface: {
|
|
4055
|
-
type: AXPWidgetsCatalog.
|
|
4056
|
-
options: {},
|
|
4057
|
-
// children: 'context.eval("type.meta")'
|
|
4058
|
-
children: []
|
|
4309
|
+
type: AXPWidgetsCatalog.dateTime,
|
|
4059
4310
|
},
|
|
4060
4311
|
},
|
|
4061
|
-
validations: [
|
|
4062
|
-
{
|
|
4063
|
-
rule: 'required',
|
|
4064
|
-
},
|
|
4065
|
-
],
|
|
4066
4312
|
},
|
|
4067
4313
|
{
|
|
4068
|
-
name: '
|
|
4069
|
-
title: `t("
|
|
4314
|
+
name: 'lastSignDate',
|
|
4315
|
+
title: `t("signed-at", { scope: "${i18n}" })`,
|
|
4070
4316
|
groupId: 'section',
|
|
4071
4317
|
schema: {
|
|
4072
|
-
dataType: '
|
|
4073
|
-
readonly: true,
|
|
4318
|
+
dataType: 'date',
|
|
4074
4319
|
interface: {
|
|
4075
|
-
type: AXPWidgetsCatalog.
|
|
4076
|
-
options: {
|
|
4077
|
-
maxFileSize: ` {{context.eval("type.maxSize")}} `,
|
|
4078
|
-
multiple: ` {{context.eval("type.multiple")}} `,
|
|
4079
|
-
// accept: ` {{context.eval("type.multiple")}} `,
|
|
4080
|
-
},
|
|
4320
|
+
type: AXPWidgetsCatalog.dateTime,
|
|
4081
4321
|
},
|
|
4082
4322
|
},
|
|
4083
|
-
validations: [
|
|
4084
|
-
{
|
|
4085
|
-
rule: 'required',
|
|
4086
|
-
},
|
|
4087
|
-
],
|
|
4088
4323
|
},
|
|
4089
4324
|
],
|
|
4090
|
-
columns: [
|
|
4091
|
-
{ name: '
|
|
4092
|
-
{ name: '
|
|
4093
|
-
{ name: '
|
|
4094
|
-
{ name: 'size' }
|
|
4325
|
+
columns: [{ name: 'user', options: { dataPath: 'user.title' } }, { name: 'hasViewed' },
|
|
4326
|
+
{ name: 'lastViewDate' },
|
|
4327
|
+
{ name: 'hasSigned' },
|
|
4328
|
+
{ name: 'lastSignDate' }
|
|
4095
4329
|
],
|
|
4096
4330
|
commands: {
|
|
4097
4331
|
create: {
|
|
@@ -4114,19 +4348,14 @@ async function documentRelatedFactory(injector) {
|
|
|
4114
4348
|
queries: {
|
|
4115
4349
|
byKey: {
|
|
4116
4350
|
execute: async (id) => {
|
|
4117
|
-
|
|
4118
|
-
console.log(x);
|
|
4119
|
-
return x;
|
|
4351
|
+
return await dataService.getOne(id);
|
|
4120
4352
|
},
|
|
4121
4353
|
type: AXPEntityQueryType.Single,
|
|
4122
4354
|
},
|
|
4123
4355
|
list: {
|
|
4124
4356
|
execute: async (e) => {
|
|
4125
|
-
const x = await dataService.query(
|
|
4126
|
-
|
|
4127
|
-
take: e.take,
|
|
4128
|
-
filter: e.filter,
|
|
4129
|
-
});
|
|
4357
|
+
const x = await dataService.query(e);
|
|
4358
|
+
console.log(x);
|
|
4130
4359
|
return x;
|
|
4131
4360
|
},
|
|
4132
4361
|
type: AXPEntityQueryType.List,
|
|
@@ -4142,21 +4371,23 @@ async function documentRelatedFactory(injector) {
|
|
|
4142
4371
|
],
|
|
4143
4372
|
properties: [
|
|
4144
4373
|
{
|
|
4145
|
-
name: '
|
|
4374
|
+
name: 'name',
|
|
4146
4375
|
layout: {
|
|
4147
4376
|
positions: {
|
|
4148
4377
|
lg: {
|
|
4149
|
-
colSpan:
|
|
4378
|
+
colSpan: 6,
|
|
4379
|
+
order: 1,
|
|
4150
4380
|
},
|
|
4151
4381
|
},
|
|
4152
4382
|
},
|
|
4153
4383
|
},
|
|
4154
4384
|
{
|
|
4155
|
-
name: '
|
|
4385
|
+
name: 'title',
|
|
4156
4386
|
layout: {
|
|
4157
4387
|
positions: {
|
|
4158
4388
|
lg: {
|
|
4159
|
-
colSpan:
|
|
4389
|
+
colSpan: 6,
|
|
4390
|
+
order: 2,
|
|
4160
4391
|
},
|
|
4161
4392
|
},
|
|
4162
4393
|
},
|
|
@@ -4176,36 +4407,18 @@ async function documentRelatedFactory(injector) {
|
|
|
4176
4407
|
positions: {
|
|
4177
4408
|
lg: {
|
|
4178
4409
|
colSpan: 6,
|
|
4410
|
+
order: 1,
|
|
4179
4411
|
},
|
|
4180
4412
|
},
|
|
4181
4413
|
},
|
|
4182
4414
|
},
|
|
4183
4415
|
{
|
|
4184
|
-
name: '
|
|
4185
|
-
layout: {
|
|
4186
|
-
positions: {
|
|
4187
|
-
lg: {
|
|
4188
|
-
colSpan: 12,
|
|
4189
|
-
},
|
|
4190
|
-
},
|
|
4191
|
-
},
|
|
4192
|
-
},
|
|
4193
|
-
{
|
|
4194
|
-
name: 'metaData',
|
|
4195
|
-
layout: {
|
|
4196
|
-
positions: {
|
|
4197
|
-
lg: {
|
|
4198
|
-
colSpan: 12,
|
|
4199
|
-
},
|
|
4200
|
-
},
|
|
4201
|
-
},
|
|
4202
|
-
},
|
|
4203
|
-
{
|
|
4204
|
-
name: 'file',
|
|
4416
|
+
name: 'title',
|
|
4205
4417
|
layout: {
|
|
4206
4418
|
positions: {
|
|
4207
4419
|
lg: {
|
|
4208
|
-
colSpan:
|
|
4420
|
+
colSpan: 6,
|
|
4421
|
+
order: 2,
|
|
4209
4422
|
},
|
|
4210
4423
|
},
|
|
4211
4424
|
},
|
|
@@ -4228,170 +4441,35 @@ async function documentRelatedFactory(injector) {
|
|
|
4228
4441
|
],
|
|
4229
4442
|
properties: [
|
|
4230
4443
|
{
|
|
4231
|
-
name: '
|
|
4444
|
+
name: 'name',
|
|
4232
4445
|
layout: {
|
|
4233
4446
|
positions: {
|
|
4234
4447
|
lg: {
|
|
4235
4448
|
colSpan: 6,
|
|
4449
|
+
order: 1,
|
|
4236
4450
|
},
|
|
4237
|
-
}
|
|
4451
|
+
},
|
|
4238
4452
|
},
|
|
4239
4453
|
},
|
|
4240
4454
|
{
|
|
4241
|
-
name: '
|
|
4455
|
+
name: 'title',
|
|
4242
4456
|
layout: {
|
|
4243
4457
|
positions: {
|
|
4244
4458
|
lg: {
|
|
4245
|
-
colSpan:
|
|
4246
|
-
|
|
4247
|
-
},
|
|
4248
|
-
},
|
|
4249
|
-
},
|
|
4250
|
-
],
|
|
4251
|
-
actions: [
|
|
4252
|
-
{
|
|
4253
|
-
title: `t("document-review.send-review.title", { scope: "${i18n}" })`,
|
|
4254
|
-
command: {
|
|
4255
|
-
name: 'send-to-review',
|
|
4256
|
-
options: {
|
|
4257
|
-
id: '{{context.eval("id")}}',
|
|
4258
|
-
title: '{{context.eval("title")}}',
|
|
4259
|
-
},
|
|
4260
|
-
},
|
|
4261
|
-
priority: 'primary',
|
|
4262
|
-
type: 'sent',
|
|
4263
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
4264
|
-
disabled: '{{context.eval("status") != "Draft"}}',
|
|
4265
|
-
},
|
|
4266
|
-
{
|
|
4267
|
-
title: `t("document-review.submit-review.title", { scope: "${i18n}" })`,
|
|
4268
|
-
command: {
|
|
4269
|
-
name: 'submit-review',
|
|
4270
|
-
options: {
|
|
4271
|
-
id: '{{context.eval("reviewRecordId")}}',
|
|
4272
|
-
decoration: {
|
|
4273
|
-
header: {
|
|
4274
|
-
title: '{{ context.eval("title") }}',
|
|
4275
|
-
},
|
|
4459
|
+
colSpan: 6,
|
|
4460
|
+
order: 2,
|
|
4276
4461
|
},
|
|
4277
4462
|
},
|
|
4278
4463
|
},
|
|
4279
|
-
priority: 'primary',
|
|
4280
|
-
type: 'review',
|
|
4281
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
4282
|
-
disabled: '{{context.eval("status") != "PendingReview"}}',
|
|
4283
|
-
},
|
|
4284
|
-
{
|
|
4285
|
-
title: `t("distributed", { scope: "${i18n}" })`,
|
|
4286
|
-
command: {
|
|
4287
|
-
name: 'distributed',
|
|
4288
|
-
options: {
|
|
4289
|
-
id: '{{context.eval("id")}}',
|
|
4290
|
-
title: '{{context.eval("title")}}',
|
|
4291
|
-
},
|
|
4292
|
-
},
|
|
4293
|
-
priority: 'primary',
|
|
4294
|
-
type: 'review',
|
|
4295
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
4296
|
-
disabled: '{{context.eval("status") != "Reviewed" && context.eval("status") != "Completed"}}',
|
|
4297
4464
|
},
|
|
4298
4465
|
],
|
|
4466
|
+
actions: [],
|
|
4299
4467
|
},
|
|
4300
4468
|
list: {
|
|
4301
|
-
actions: [
|
|
4302
|
-
{
|
|
4303
|
-
title: 't("detail", { scope: "common" })',
|
|
4304
|
-
command: 'open-entity',
|
|
4305
|
-
priority: 'secondary',
|
|
4306
|
-
type: 'view',
|
|
4307
|
-
default: true,
|
|
4308
|
-
scope: AXPEntityCommandScope.Individual,
|
|
4309
|
-
},
|
|
4310
|
-
{
|
|
4311
|
-
title: `t("document-review.send-review.title", { scope: "${i18n}" })`,
|
|
4312
|
-
icon: 'fa-light fa-shield-check',
|
|
4313
|
-
command: {
|
|
4314
|
-
name: 'send-to-review',
|
|
4315
|
-
options: {
|
|
4316
|
-
id: '{{context.eval("id")}}',
|
|
4317
|
-
title: '{{context.eval("title")}}',
|
|
4318
|
-
},
|
|
4319
|
-
},
|
|
4320
|
-
priority: 'secondary',
|
|
4321
|
-
type: 'sent',
|
|
4322
|
-
scope: AXPEntityCommandScope.Individual,
|
|
4323
|
-
disabled: '{{context.eval("status") != "Draft"}}',
|
|
4324
|
-
},
|
|
4325
|
-
{
|
|
4326
|
-
title: `t("document-review.submit-review.title", { scope: "${i18n}" })`,
|
|
4327
|
-
icon: 'fa-light fa-ballot-check',
|
|
4328
|
-
command: {
|
|
4329
|
-
name: 'submit-review',
|
|
4330
|
-
options: {
|
|
4331
|
-
id: '{{context.eval("reviewRecordId")}}',
|
|
4332
|
-
// reviewedAt : '{{ variables.execute("now") }}',
|
|
4333
|
-
decoration: {
|
|
4334
|
-
header: {
|
|
4335
|
-
title: '{{ context.eval("title") + " - version: " + context.eval("version") }}',
|
|
4336
|
-
},
|
|
4337
|
-
},
|
|
4338
|
-
},
|
|
4339
|
-
},
|
|
4340
|
-
priority: 'secondary',
|
|
4341
|
-
type: 'review',
|
|
4342
|
-
scope: AXPEntityCommandScope.Individual,
|
|
4343
|
-
disabled: '{{context.eval("status") != "PendingReview"}}',
|
|
4344
|
-
},
|
|
4345
|
-
{
|
|
4346
|
-
title: `t("distributed", { scope: "${i18n}" })`,
|
|
4347
|
-
icon: 'fa-light fa-chart-network',
|
|
4348
|
-
command: {
|
|
4349
|
-
name: 'distributed',
|
|
4350
|
-
options: {
|
|
4351
|
-
id: '{{context.eval("id")}}',
|
|
4352
|
-
title: '{{context.eval("title")}}',
|
|
4353
|
-
},
|
|
4354
|
-
},
|
|
4355
|
-
priority: 'secondary',
|
|
4356
|
-
type: 'review',
|
|
4357
|
-
scope: AXPEntityCommandScope.Individual,
|
|
4358
|
-
disabled: '{{context.eval("status") != "Reviewed" && context.eval("status") != "Completed"}}',
|
|
4359
|
-
},
|
|
4360
|
-
],
|
|
4469
|
+
actions: [],
|
|
4361
4470
|
views: [
|
|
4362
|
-
createAllQueryView({
|
|
4363
|
-
|
|
4364
|
-
conditions: [
|
|
4365
|
-
{
|
|
4366
|
-
name: 'status',
|
|
4367
|
-
operator: {
|
|
4368
|
-
type: 'equal',
|
|
4369
|
-
},
|
|
4370
|
-
value: 'Draft',
|
|
4371
|
-
},
|
|
4372
|
-
],
|
|
4373
|
-
}),
|
|
4374
|
-
createQueryView('PendingReview', `t("pending", { scope: "${i18n}" })`, true, {
|
|
4375
|
-
conditions: [
|
|
4376
|
-
{
|
|
4377
|
-
name: 'status',
|
|
4378
|
-
operator: {
|
|
4379
|
-
type: 'equal',
|
|
4380
|
-
},
|
|
4381
|
-
value: 'PendingReview',
|
|
4382
|
-
},
|
|
4383
|
-
],
|
|
4384
|
-
}),
|
|
4385
|
-
createQueryView('Reviewed', `t("reviewed", { scope: "${i18n}" })`, true, {
|
|
4386
|
-
conditions: [
|
|
4387
|
-
{
|
|
4388
|
-
name: 'status',
|
|
4389
|
-
operator: {
|
|
4390
|
-
type: 'equal',
|
|
4391
|
-
},
|
|
4392
|
-
value: 'Reviewed',
|
|
4393
|
-
},
|
|
4394
|
-
],
|
|
4471
|
+
createAllQueryView({
|
|
4472
|
+
sorts: [{ name: 'name', dir: 'asc' }],
|
|
4395
4473
|
}),
|
|
4396
4474
|
],
|
|
4397
4475
|
},
|
|
@@ -4401,8 +4479,52 @@ async function documentRelatedFactory(injector) {
|
|
|
4401
4479
|
return entityDef;
|
|
4402
4480
|
}
|
|
4403
4481
|
|
|
4482
|
+
class AXMDistributionInteractionEntityModule {
|
|
4483
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionInteractionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4484
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionInteractionEntityModule }); }
|
|
4485
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionInteractionEntityModule, providers: [
|
|
4486
|
+
{
|
|
4487
|
+
provide: AXMDistributionInteractionService,
|
|
4488
|
+
useClass: AXMDistributionInteractionServiceImpl,
|
|
4489
|
+
},
|
|
4490
|
+
] }); }
|
|
4491
|
+
}
|
|
4492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDistributionInteractionEntityModule, decorators: [{
|
|
4493
|
+
type: NgModule,
|
|
4494
|
+
args: [{
|
|
4495
|
+
imports: [],
|
|
4496
|
+
exports: [],
|
|
4497
|
+
declarations: [],
|
|
4498
|
+
providers: [
|
|
4499
|
+
{
|
|
4500
|
+
provide: AXMDistributionInteractionService,
|
|
4501
|
+
useClass: AXMDistributionInteractionServiceImpl,
|
|
4502
|
+
},
|
|
4503
|
+
],
|
|
4504
|
+
}]
|
|
4505
|
+
}] });
|
|
4506
|
+
|
|
4507
|
+
class AXMDocumentReletedEntityModule {
|
|
4508
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDocumentReletedEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4509
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMDocumentReletedEntityModule }); }
|
|
4510
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDocumentReletedEntityModule }); }
|
|
4511
|
+
}
|
|
4512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDocumentReletedEntityModule, decorators: [{
|
|
4513
|
+
type: NgModule,
|
|
4514
|
+
args: [{
|
|
4515
|
+
imports: [],
|
|
4516
|
+
exports: [],
|
|
4517
|
+
declarations: [],
|
|
4518
|
+
providers: [],
|
|
4519
|
+
}]
|
|
4520
|
+
}] });
|
|
4521
|
+
|
|
4522
|
+
// Entity Services
|
|
4523
|
+
|
|
4404
4524
|
var index$1 = /*#__PURE__*/Object.freeze({
|
|
4405
4525
|
__proto__: null,
|
|
4526
|
+
AXMDistributionEntityModule: AXMDistributionEntityModule,
|
|
4527
|
+
AXMDistributionInteractionEntityModule: AXMDistributionInteractionEntityModule,
|
|
4406
4528
|
AXMDistributionInteractionService: AXMDistributionInteractionService,
|
|
4407
4529
|
AXMDistributionInteractionServiceImpl: AXMDistributionInteractionServiceImpl,
|
|
4408
4530
|
AXMDistributionService: AXMDistributionService,
|
|
@@ -4418,12 +4540,15 @@ var index$1 = /*#__PURE__*/Object.freeze({
|
|
|
4418
4540
|
AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule: AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule,
|
|
4419
4541
|
AXMDocumentManagementDocumentTypeStatusDefinitionEntityService: AXMDocumentManagementDocumentTypeStatusDefinitionEntityService,
|
|
4420
4542
|
AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl: AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl,
|
|
4543
|
+
AXMDocumentReletedEntityModule: AXMDocumentReletedEntityModule,
|
|
4421
4544
|
AXMDocumentService: AXMDocumentService,
|
|
4422
4545
|
AXMDocumentServiceImpl: AXMDocumentServiceImpl,
|
|
4423
4546
|
AXMDocumentTypeService: AXMDocumentTypeService,
|
|
4424
4547
|
AXMDocumentTypeServiceImpl: AXMDocumentTypeServiceImpl,
|
|
4548
|
+
AXMFolderEntityModule: AXMFolderEntityModule,
|
|
4425
4549
|
AXMFolderService: AXMFolderService,
|
|
4426
4550
|
AXMFolderServiceImpl: AXMFolderServiceImpl,
|
|
4551
|
+
AXMReviewEntityModule: AXMReviewEntityModule,
|
|
4427
4552
|
AXMReviewService: AXMReviewService,
|
|
4428
4553
|
AXMReviewServiceImpl: AXMReviewServiceImpl,
|
|
4429
4554
|
canTransition: canTransition,
|
|
@@ -5609,7 +5734,7 @@ class AXMDocumentSignaturePopupAction extends AXPWorkflowAction {
|
|
|
5609
5734
|
const documentId = context.getVariable('options.id');
|
|
5610
5735
|
const documentTitle = context.getVariable('options.title');
|
|
5611
5736
|
const fileId = context.getVariable('options.fileId');
|
|
5612
|
-
const comp = await import('./acorex-modules-document-management-document-signature-popup.component-
|
|
5737
|
+
const comp = await import('./acorex-modules-document-management-document-signature-popup.component-D3GahdPn.mjs')
|
|
5613
5738
|
.then(x => x.AXMDocumentSignaturePopupComponent);
|
|
5614
5739
|
console.log(fileId);
|
|
5615
5740
|
const result = await this.popupService.open(comp, {
|
|
@@ -6323,7 +6448,7 @@ class AXMDocumentManagerService {
|
|
|
6323
6448
|
* Moves a node to another location
|
|
6324
6449
|
*/
|
|
6325
6450
|
async moveTo(options) {
|
|
6326
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
6451
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-Bbms4LAS.mjs')).AXMDocumentDriveChooseComponent;
|
|
6327
6452
|
const popup = await this.popupService.open(comp, {
|
|
6328
6453
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
|
6329
6454
|
data: {
|
|
@@ -6356,7 +6481,7 @@ class AXMDocumentManagerService {
|
|
|
6356
6481
|
* Copies a node to another location
|
|
6357
6482
|
*/
|
|
6358
6483
|
async copyTo(options) {
|
|
6359
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
6484
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-Bbms4LAS.mjs')).AXMDocumentDriveChooseComponent;
|
|
6360
6485
|
const popup = await this.popupService.open(comp, {
|
|
6361
6486
|
title: `Choose ${options.browseMode == 'file' ? 'File' : 'Folder'}`,
|
|
6362
6487
|
data: {
|
|
@@ -6633,7 +6758,7 @@ class AXMDocumentManagerService {
|
|
|
6633
6758
|
* Shows folder edit dialog
|
|
6634
6759
|
*/
|
|
6635
6760
|
async showFolderEditDialog(node) {
|
|
6636
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
|
6761
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-CiT3wteQ.mjs'))
|
|
6637
6762
|
.AXMCreateFolderDialog;
|
|
6638
6763
|
const popup = await this.popupService.open(comp, {
|
|
6639
6764
|
title: await this.translate.translateAsync('@document-management:actions.update-folder'),
|
|
@@ -6647,7 +6772,7 @@ class AXMDocumentManagerService {
|
|
|
6647
6772
|
* Shows create folder dialog
|
|
6648
6773
|
*/
|
|
6649
6774
|
async showCreateFolderDialog(parentId) {
|
|
6650
|
-
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-
|
|
6775
|
+
const comp = (await import('./acorex-modules-document-management-create-folder-dialog.component-CiT3wteQ.mjs'))
|
|
6651
6776
|
.AXMCreateFolderDialog;
|
|
6652
6777
|
const popup = await this.popupService.open(comp, {
|
|
6653
6778
|
title: await this.translate.translateAsync('@document-management:actions.create-folder'),
|
|
@@ -6661,7 +6786,7 @@ class AXMDocumentManagerService {
|
|
|
6661
6786
|
* Shows rename popup for a node
|
|
6662
6787
|
*/
|
|
6663
6788
|
async showRenamePopup(node) {
|
|
6664
|
-
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-
|
|
6789
|
+
const comp = (await import('./acorex-modules-document-management-rename-node-dialog.component-LRFo58Xg.mjs'))
|
|
6665
6790
|
.AXMRenameNodeDialog;
|
|
6666
6791
|
const popup = await this.popupService.open(comp, {
|
|
6667
6792
|
title: 't("actions.rename")',
|
|
@@ -6687,7 +6812,7 @@ class AXMDocumentManagerService {
|
|
|
6687
6812
|
* Shows choose file dialog
|
|
6688
6813
|
*/
|
|
6689
6814
|
async showChooseFileDialog(scope) {
|
|
6690
|
-
const comp = (await import('./acorex-modules-document-management-drive-choose.component-
|
|
6815
|
+
const comp = (await import('./acorex-modules-document-management-drive-choose.component-Bbms4LAS.mjs')).AXMDocumentDriveChooseComponent;
|
|
6691
6816
|
const result = await this.popupService.open(comp, {
|
|
6692
6817
|
title: await this.translate.translateAsync('@document-management:actions.choose-from-drive'),
|
|
6693
6818
|
data: {
|
|
@@ -6990,11 +7115,11 @@ class AXMDocumentTypeChooseFileComponent extends AXBasePageComponent {
|
|
|
6990
7115
|
}
|
|
6991
7116
|
}
|
|
6992
7117
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDocumentTypeChooseFileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6993
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMDocumentTypeChooseFileComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ax-content>\n <div class=\"ax-flex ax-flex-col ax-py-4 ax-px-6\">\n <axp-dynamic-form \n [formDefinition]=\"formDefinition()\" \n [context]=\"formContext()\"\n [layoutConfig]=\"defaultLayout()\" \n [
|
|
7118
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.6", type: AXMDocumentTypeChooseFileComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<ax-content>\n <div class=\"ax-flex ax-flex-col ax-py-4 ax-px-6\">\n <axp-dynamic-form \n [formDefinition]=\"formDefinition()\" \n [context]=\"formContext()\"\n [layoutConfig]=\"defaultLayout()\" \n [layoutLook]=\"'compact'\" \n (contextChange)=\"handleContextChange($event)\"\n >\n </axp-dynamic-form>\n </div>\n</ax-content>\n<ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'cancel' | translate | async\" (onClick)=\"handleCancel()\"> </ax-button>\n\n @if(files.length == 1) {\n <ax-dropdown-button color=\"primary\" [text]=\"('@common:submit' | translate | async)!\" look=\"solid\"\n (onClick)=\"handleSubmit()\">\n <ax-button-item-list>\n <ax-button-item [text]=\"('@document-management:submitAndSendForReview' | translate | async)!\"\n (onClick)=\"handleSubmit(true)\">\n </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-button>\n }@else{\n <ax-button color=\"primary\" [text]=\"('@common:submit' | translate | async)!\" (onClick)=\"handleSubmit()\" look=\"solid\"> </ax-button>\n }\n </ax-suffix>\n</ax-footer>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type:
|
|
6994
7119
|
//
|
|
6995
7120
|
AXButtonModule }, { kind: "component", type: i1$3.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "component", type: i1$3.AXButtonItemComponent, selector: "ax-button-item", inputs: ["color", "disabled", "text", "selected", "divided", "data", "name"], outputs: ["onClick", "onFocus", "onBlur", "disabledChange"] }, { kind: "component", type: i1$3.AXButtonItemListComponent, selector: "ax-button-item-list", inputs: ["items"], outputs: ["onItemClick"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i2.AXDecoratorGenericComponent, selector: "ax-footer, ax-header, ax-content, ax-divider, ax-form-hint, ax-prefix, ax-suffix, ax-text, ax-title, ax-subtitle, ax-placeholder, ax-overlay" }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: AXDropdownButtonModule }, { kind: "component", type: i3$1.AXDropdownButtonComponent, selector: "ax-dropdown-button", inputs: ["disabled", "size", "color", "look", "text", "type", "mode"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "lookChange", "colorChange", "disabledChange"] }, { kind: "ngmodule", type:
|
|
6996
7121
|
//
|
|
6997
|
-
AXPLayoutBuilderModule }, { kind: "component", type: AXPDynamicFormComponent, selector: "axp-dynamic-form", inputs: ["formDefinition", "context", "
|
|
7122
|
+
AXPLayoutBuilderModule }, { kind: "component", type: AXPDynamicFormComponent, selector: "axp-dynamic-form", inputs: ["formDefinition", "context", "layoutLook", "layoutDirection", "layoutConfig"], outputs: ["contextChange", "contextInitiated", "validityChange"] }, { kind: "pipe", type: i1$4.AsyncPipe, name: "async" }, { kind: "pipe", type: i5.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6998
7123
|
}
|
|
6999
7124
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDocumentTypeChooseFileComponent, decorators: [{
|
|
7000
7125
|
type: Component,
|
|
@@ -7011,7 +7136,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
7011
7136
|
//
|
|
7012
7137
|
AXPLayoutBuilderModule,
|
|
7013
7138
|
AXPDynamicFormComponent,
|
|
7014
|
-
], template: "<ax-content>\n <div class=\"ax-flex ax-flex-col ax-py-4 ax-px-6\">\n <axp-dynamic-form \n [formDefinition]=\"formDefinition()\" \n [context]=\"formContext()\"\n [layoutConfig]=\"defaultLayout()\" \n [
|
|
7139
|
+
], template: "<ax-content>\n <div class=\"ax-flex ax-flex-col ax-py-4 ax-px-6\">\n <axp-dynamic-form \n [formDefinition]=\"formDefinition()\" \n [context]=\"formContext()\"\n [layoutConfig]=\"defaultLayout()\" \n [layoutLook]=\"'compact'\" \n (contextChange)=\"handleContextChange($event)\"\n >\n </axp-dynamic-form>\n </div>\n</ax-content>\n<ax-footer>\n <ax-suffix>\n <ax-button [text]=\"'cancel' | translate | async\" (onClick)=\"handleCancel()\"> </ax-button>\n\n @if(files.length == 1) {\n <ax-dropdown-button color=\"primary\" [text]=\"('@common:submit' | translate | async)!\" look=\"solid\"\n (onClick)=\"handleSubmit()\">\n <ax-button-item-list>\n <ax-button-item [text]=\"('@document-management:submitAndSendForReview' | translate | async)!\"\n (onClick)=\"handleSubmit(true)\">\n </ax-button-item>\n </ax-button-item-list>\n </ax-dropdown-button>\n }@else{\n <ax-button color=\"primary\" [text]=\"('@common:submit' | translate | async)!\" (onClick)=\"handleSubmit()\" look=\"solid\"> </ax-button>\n }\n </ax-suffix>\n</ax-footer>\n" }]
|
|
7015
7140
|
}] });
|
|
7016
7141
|
|
|
7017
7142
|
class AXMFileViewerPopupComponent extends AXBasePageComponent {
|
|
@@ -8011,13 +8136,13 @@ class AXMDocumentExplorerComponent {
|
|
|
8011
8136
|
this.showContextMenu = input(true, ...(ngDevMode ? [{ debugName: "showContextMenu" }] : []));
|
|
8012
8137
|
this.view = signal(null, ...(ngDevMode ? [{ debugName: "view" }] : []));
|
|
8013
8138
|
this.viewMap = {
|
|
8014
|
-
list: async () => (await import('./acorex-modules-document-management-list-view.component-
|
|
8015
|
-
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-
|
|
8016
|
-
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-
|
|
8017
|
-
details: async () => (await import('./acorex-modules-document-management-details-view.component-
|
|
8018
|
-
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-
|
|
8019
|
-
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-
|
|
8020
|
-
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-
|
|
8139
|
+
list: async () => (await import('./acorex-modules-document-management-list-view.component-DeBNY8Aj.mjs')).AXMDocumentExplorerListViewComponent,
|
|
8140
|
+
'small-tiles': async () => (await import('./acorex-modules-document-management-small-tiles-view.component-BM2Uj_Wz.mjs')).AXMDocumentExplorerSmallTilesViewComponent,
|
|
8141
|
+
'large-tiles': async () => (await import('./acorex-modules-document-management-large-tiles-view.component-6fjTzrwf.mjs')).AXMDocumentExplorerLargeTilesViewComponent,
|
|
8142
|
+
details: async () => (await import('./acorex-modules-document-management-details-view.component-BXUpaDZO.mjs')).AXMDocumentExplorerDetailsViewComponent,
|
|
8143
|
+
'large-icons': async () => (await import('./acorex-modules-document-management-large-icons-view.component-BPmfNI3J.mjs')).AXMDocumentExplorerLargeIconsViewComponent,
|
|
8144
|
+
'small-icons': async () => (await import('./acorex-modules-document-management-small-icons-view.component-BlQ3EhiJ.mjs')).AXMDocumentExplorerSmallIconsViewComponent,
|
|
8145
|
+
'attachment': async () => (await import('./acorex-modules-document-management-attachment-widget.component-DVXmIiQt.mjs')).AXMDocumentExplorerAttachmentComponent,
|
|
8021
8146
|
};
|
|
8022
8147
|
this.#effect = effect(() => {
|
|
8023
8148
|
if (this.vm.loadingFolderId() == null) {
|
|
@@ -8887,12 +9012,12 @@ class AXPDocumentUploaderWidgetEditComponent extends AXPValueWidgetComponent {
|
|
|
8887
9012
|
[formDefinition]="formDefinition()"
|
|
8888
9013
|
[context]="formContext()"
|
|
8889
9014
|
[layoutConfig]="defaultLayout()"
|
|
8890
|
-
[
|
|
9015
|
+
[layoutLook]="'compact'"
|
|
8891
9016
|
(contextChange)="handleContextChange($event)"
|
|
8892
9017
|
>
|
|
8893
9018
|
</axp-dynamic-form>
|
|
8894
9019
|
</div>
|
|
8895
|
-
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: AXPDynamicFormComponent, selector: "axp-dynamic-form", inputs: ["formDefinition", "context", "
|
|
9020
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: AXButtonModule }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXLabelModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: AXPDynamicFormComponent, selector: "axp-dynamic-form", inputs: ["formDefinition", "context", "layoutLook", "layoutDirection", "layoutConfig"], outputs: ["contextChange", "contextInitiated", "validityChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8896
9021
|
}
|
|
8897
9022
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXPDocumentUploaderWidgetEditComponent, decorators: [{
|
|
8898
9023
|
type: Component,
|
|
@@ -8904,7 +9029,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
8904
9029
|
[formDefinition]="formDefinition()"
|
|
8905
9030
|
[context]="formContext()"
|
|
8906
9031
|
[layoutConfig]="defaultLayout()"
|
|
8907
|
-
[
|
|
9032
|
+
[layoutLook]="'compact'"
|
|
8908
9033
|
(contextChange)="handleContextChange($event)"
|
|
8909
9034
|
>
|
|
8910
9035
|
</axp-dynamic-form>
|
|
@@ -9516,11 +9641,11 @@ function routesFacory() {
|
|
|
9516
9641
|
children: [
|
|
9517
9642
|
{
|
|
9518
9643
|
path: '',
|
|
9519
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
|
9644
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-DfHDC5o7.mjs').then((c) => c.AXMDocumentDriveComponent),
|
|
9520
9645
|
},
|
|
9521
9646
|
{
|
|
9522
9647
|
path: ':id',
|
|
9523
|
-
loadComponent: () => import('./acorex-modules-document-management-drive.component-
|
|
9648
|
+
loadComponent: () => import('./acorex-modules-document-management-drive.component-DfHDC5o7.mjs').then((c) => c.AXMDocumentDriveComponent),
|
|
9524
9649
|
},
|
|
9525
9650
|
],
|
|
9526
9651
|
},
|
|
@@ -9530,26 +9655,17 @@ function routesFacory() {
|
|
|
9530
9655
|
class AXMDocumentManagementModule {
|
|
9531
9656
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDocumentManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9532
9657
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: AXMDocumentManagementModule, imports: [AXMDriveChooseModule,
|
|
9533
|
-
//
|
|
9658
|
+
// Entity Modules
|
|
9534
9659
|
AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule,
|
|
9535
9660
|
AXMDocumentManagementDocumentTypeMetaValueEntityModule,
|
|
9536
9661
|
AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule,
|
|
9537
9662
|
AXMDocumentManagementDocumentTypeEntityModule,
|
|
9538
|
-
AXMDocumentManagementDocumentEntityModule,
|
|
9539
|
-
|
|
9540
|
-
|
|
9541
|
-
|
|
9542
|
-
|
|
9543
|
-
|
|
9544
|
-
useClass: AXMDistributionServiceImpl,
|
|
9545
|
-
}, {
|
|
9546
|
-
provide: AXMReviewService,
|
|
9547
|
-
useClass: AXMReviewServiceImpl,
|
|
9548
|
-
},
|
|
9549
|
-
{
|
|
9550
|
-
provide: AXMFolderService,
|
|
9551
|
-
useClass: AXMFolderServiceImpl,
|
|
9552
|
-
},
|
|
9663
|
+
AXMDocumentManagementDocumentEntityModule,
|
|
9664
|
+
AXMFolderEntityModule,
|
|
9665
|
+
AXMReviewEntityModule,
|
|
9666
|
+
AXMDistributionEntityModule,
|
|
9667
|
+
AXMDistributionInteractionEntityModule, i1$2.AXPLayoutBuilderModule, AXMFileTypeModule, i3$2.AXMediaViewerModule, i3$4.AXPWorkflowModule] }); }
|
|
9668
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AXMDocumentManagementModule, providers: [
|
|
9553
9669
|
{
|
|
9554
9670
|
provide: AXP_MENU_PROVIDER,
|
|
9555
9671
|
useClass: AXMMenuProvider,
|
|
@@ -9574,7 +9690,7 @@ class AXMDocumentManagementModule {
|
|
|
9574
9690
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
9575
9691
|
useFactory: async () => {
|
|
9576
9692
|
const injector = inject(Injector);
|
|
9577
|
-
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-
|
|
9693
|
+
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-Bn-umdXX.mjs')).AXMPermissionDefinitionProvider;
|
|
9578
9694
|
return new provider(injector);
|
|
9579
9695
|
},
|
|
9580
9696
|
multi: true,
|
|
@@ -9602,12 +9718,16 @@ class AXMDocumentManagementModule {
|
|
|
9602
9718
|
useFactory: routesFacory,
|
|
9603
9719
|
},
|
|
9604
9720
|
], imports: [AXMDriveChooseModule,
|
|
9605
|
-
//
|
|
9721
|
+
// Entity Modules
|
|
9606
9722
|
AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule,
|
|
9607
9723
|
AXMDocumentManagementDocumentTypeMetaValueEntityModule,
|
|
9608
9724
|
AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule,
|
|
9609
9725
|
AXMDocumentManagementDocumentTypeEntityModule,
|
|
9610
9726
|
AXMDocumentManagementDocumentEntityModule,
|
|
9727
|
+
AXMFolderEntityModule,
|
|
9728
|
+
AXMReviewEntityModule,
|
|
9729
|
+
AXMDistributionEntityModule,
|
|
9730
|
+
AXMDistributionInteractionEntityModule,
|
|
9611
9731
|
AXPLayoutBuilderModule.forChild({
|
|
9612
9732
|
widgets: [AXmFileTypeExtensionWidget, AXPMetaSelectorWidget, AXPDocumentUploaderWidget],
|
|
9613
9733
|
}),
|
|
@@ -9640,12 +9760,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
9640
9760
|
args: [{
|
|
9641
9761
|
imports: [
|
|
9642
9762
|
AXMDriveChooseModule,
|
|
9643
|
-
//
|
|
9763
|
+
// Entity Modules
|
|
9644
9764
|
AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule,
|
|
9645
9765
|
AXMDocumentManagementDocumentTypeMetaValueEntityModule,
|
|
9646
9766
|
AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule,
|
|
9647
9767
|
AXMDocumentManagementDocumentTypeEntityModule,
|
|
9648
9768
|
AXMDocumentManagementDocumentEntityModule,
|
|
9769
|
+
AXMFolderEntityModule,
|
|
9770
|
+
AXMReviewEntityModule,
|
|
9771
|
+
AXMDistributionEntityModule,
|
|
9772
|
+
AXMDistributionInteractionEntityModule,
|
|
9649
9773
|
AXPLayoutBuilderModule.forChild({
|
|
9650
9774
|
widgets: [AXmFileTypeExtensionWidget, AXPMetaSelectorWidget, AXPDocumentUploaderWidget],
|
|
9651
9775
|
}),
|
|
@@ -9674,20 +9798,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
9674
9798
|
}),
|
|
9675
9799
|
],
|
|
9676
9800
|
exports: [],
|
|
9677
|
-
providers: [
|
|
9678
|
-
provide: AXMDistributionInteractionService,
|
|
9679
|
-
useClass: AXMDistributionInteractionServiceImpl,
|
|
9680
|
-
}, {
|
|
9681
|
-
provide: AXMDistributionService,
|
|
9682
|
-
useClass: AXMDistributionServiceImpl,
|
|
9683
|
-
}, {
|
|
9684
|
-
provide: AXMReviewService,
|
|
9685
|
-
useClass: AXMReviewServiceImpl,
|
|
9686
|
-
},
|
|
9687
|
-
{
|
|
9688
|
-
provide: AXMFolderService,
|
|
9689
|
-
useClass: AXMFolderServiceImpl,
|
|
9690
|
-
},
|
|
9801
|
+
providers: [
|
|
9691
9802
|
{
|
|
9692
9803
|
provide: AXP_MENU_PROVIDER,
|
|
9693
9804
|
useClass: AXMMenuProvider,
|
|
@@ -9712,7 +9823,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
9712
9823
|
provide: AXP_PERMISSION_DEFINITION_PROVIDER,
|
|
9713
9824
|
useFactory: async () => {
|
|
9714
9825
|
const injector = inject(Injector);
|
|
9715
|
-
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-
|
|
9826
|
+
const provider = (await import('./acorex-modules-document-management-permission-definition.provider-Bn-umdXX.mjs')).AXMPermissionDefinitionProvider;
|
|
9716
9827
|
return new provider(injector);
|
|
9717
9828
|
},
|
|
9718
9829
|
multi: true,
|
|
@@ -9747,5 +9858,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
9747
9858
|
* Generated bundle index. Do not edit.
|
|
9748
9859
|
*/
|
|
9749
9860
|
|
|
9750
|
-
export { AXPDocumentExplorerViewModel as A, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService as B, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl as C,
|
|
9751
|
-
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-
|
|
9861
|
+
export { AXPDocumentUploaderWidgetEditComponent as $, AXPDocumentExplorerViewModel as A, AXMDocumentManagementDocumentTypeStatusDefinitionEntityService as B, AXMDocumentManagementDocumentTypeStatusDefinitionEntityServiceImpl as C, documentRelatedFactory as D, folderFactory as E, AXMFolderService as F, AXMFolderServiceImpl as G, AXMFolderEntityModule as H, reviewFactory as I, AXMReviewService as J, AXMReviewServiceImpl as K, AXMReviewEntityModule as L, distributionFactory as M, AXMDistributionService as N, AXMDistributionServiceImpl as O, AXMDistributionEntityModule as P, distributionInteractionFactory as Q, RootConfig as R, AXMDistributionInteractionServiceImpl as S, AXMDistributionInteractionEntityModule as T, AXMDocumentReletedEntityModule as U, AXMEntityProvider as V, AXMMenuProvider as W, AXMSearchCommandProvider as X, AXMSettingProvider as Y, AXPDocumentUploaderWidget as Z, AXPDocumentUploaderWidgetDesignerComponent as _, AXMDocumentManagerService as a, AXPDocumentUploaderWidgetViewComponent as a0, AXPDocumentUploaderWidgetFilterComponent as a1, AXPDocumentUploaderWidgetColumnComponent as a2, AXPDocumentUploaderWidgetPrintComponent as a3, AXMDocumentExplorerComponent as b, AXMPermissionsKeys as c, AXMDistributionInteractionService as d, AXMFolderPathBreadcrumbsComponent as e, AXMDocumentTypeService as f, AXMDocumentManagementModule as g, documentFactory as h, AXMDocumentManagementDocumentEntityModule as i, AXMDocumentService as j, AXMDocumentServiceImpl as k, getNextStatus as l, canTransition as m, documentTypeFactory as n, AXMDocumentManagementDocumentTypeEntityModule as o, AXMDocumentTypeServiceImpl as p, documentTypeMetaDefinitionfactory as q, AXMDocumentManagementDocumentTypeMetaDefinitionEntityModule as r, AXMDocumentManagementDocumentTypeMetaDefinitionEntityService as s, AXMDocumentManagementDocumentTypeMetaDefinitionEntityServiceImpl as t, documentTypeMetaValueFactory as u, AXMDocumentManagementDocumentTypeMetaValueEntityModule as v, AXMDocumentManagementDocumentTypeMetaValueEntityService as w, AXMDocumentManagementDocumentTypeMetaValueEntityServiceImpl as x, documentTypeStatusDefinitionFactory as y, AXMDocumentManagementDocumentTypeStatusDefinitionEntityModule as z };
|
|
9862
|
+
//# sourceMappingURL=acorex-modules-document-management-acorex-modules-document-management-BV6piYsz.mjs.map
|