@acorex/modules 21.0.0-beta.7 → 21.0.0-beta.8
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/fesm2022/acorex-modules-ai-management.mjs +31 -225
- package/fesm2022/acorex-modules-ai-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-Blejt-Mo.mjs → acorex-modules-asset-management-acorex-modules-asset-management-BQcQ6ZR-.mjs} +718 -90
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-BQcQ6ZR-.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs +118 -0
- package/fesm2022/acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-CtCyaI46.mjs → acorex-modules-asset-management-asset-system-assignment.entity-BGdQY4Fh.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-CtCyaI46.mjs.map → acorex-modules-asset-management-asset-system-assignment.entity-BGdQY4Fh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-CfoB6Faf.mjs → acorex-modules-asset-management-asset-system-type.entity-VxShztML.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-CfoB6Faf.mjs.map → acorex-modules-asset-management-asset-system-type.entity-VxShztML.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-CvKC7MKH.mjs → acorex-modules-asset-management-asset-system.entity-BdyFBhzS.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-CvKC7MKH.mjs.map → acorex-modules-asset-management-asset-system.entity-BdyFBhzS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-xfRZM5vK.mjs → acorex-modules-asset-management-asset-type-section-component.entity-unp7Q8MH.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-xfRZM5vK.mjs.map → acorex-modules-asset-management-asset-type-section-component.entity-unp7Q8MH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-DdEcyihk.mjs → acorex-modules-asset-management-asset-type-section.entity-bJKJdrpm.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-DdEcyihk.mjs.map → acorex-modules-asset-management-asset-type-section.entity-bJKJdrpm.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-D78ztUZ5.mjs → acorex-modules-asset-management-asset-type.entity-B2eXZqQG.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-D78ztUZ5.mjs.map → acorex-modules-asset-management-asset-type.entity-B2eXZqQG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset.entity-3dFsNRkr.mjs → acorex-modules-asset-management-asset.entity-Bk_NIpzQ.mjs} +21 -27
- package/fesm2022/acorex-modules-asset-management-asset.entity-Bk_NIpzQ.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management.mjs +1 -1
- package/fesm2022/{acorex-modules-common-search-popup.component-Bh3otWbL.mjs → acorex-modules-common-search-popup.component-ChaAcWfD.mjs} +3 -3
- package/fesm2022/{acorex-modules-common-search-popup.component-Bh3otWbL.mjs.map → acorex-modules-common-search-popup.component-ChaAcWfD.mjs.map} +1 -1
- package/fesm2022/acorex-modules-common.mjs +2 -2
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DgEFx2Ae.mjs +6157 -0
- package/fesm2022/acorex-modules-conversation-acorex-modules-conversation-DgEFx2Ae.mjs.map +1 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Cvd2BFaC.mjs +324 -0
- package/fesm2022/acorex-modules-conversation-assist-delegated-agent-detail-popup.component-Cvd2BFaC.mjs.map +1 -0
- package/fesm2022/{acorex-modules-conversation-comments-page.component-C8HWwI_w.mjs → acorex-modules-conversation-comments-page.component-B5y5qeV6.mjs} +2 -2
- package/fesm2022/{acorex-modules-conversation-comments-page.component-C8HWwI_w.mjs.map → acorex-modules-conversation-comments-page.component-B5y5qeV6.mjs.map} +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1 -6190
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-DaIVK3ew.mjs +24 -0
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-DaIVK3ew.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-G5AGqp_q.mjs +24 -0
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-G5AGqp_q.mjs.map +1 -0
- package/fesm2022/acorex-modules-document-management.mjs +67 -29
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-acorex-modules-human-capital-management-Bwk3-2wy.mjs → acorex-modules-human-capital-management-acorex-modules-human-capital-management-hImDhzkB.mjs} +16 -19
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-hImDhzkB.mjs.map +1 -0
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-B5aSubCY.mjs → acorex-modules-human-capital-management-approve-leave-request.command-DujyJOvo.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-approve-leave-request.command-B5aSubCY.mjs.map → acorex-modules-human-capital-management-approve-leave-request.command-DujyJOvo.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-l8dGe3kg.mjs → acorex-modules-human-capital-management-assign-position-assignment.command-BPB9vaCn.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-assign-position-assignment.command-l8dGe3kg.mjs.map → acorex-modules-human-capital-management-assign-position-assignment.command-BPB9vaCn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-CeV-5Y5n.mjs → acorex-modules-human-capital-management-cancel-leave-request.command-BdPUdhbU.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-cancel-leave-request.command-CeV-5Y5n.mjs.map → acorex-modules-human-capital-management-cancel-leave-request.command-BdPUdhbU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-DNgt9yQm.mjs → acorex-modules-human-capital-management-employee.entity-CgmF-WPf.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-DNgt9yQm.mjs.map → acorex-modules-human-capital-management-employee.entity-CgmF-WPf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-rq8-Bauc.mjs → acorex-modules-human-capital-management-employment-type.entity-Chio_E9S.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-employment-type.entity-rq8-Bauc.mjs.map → acorex-modules-human-capital-management-employment-type.entity-Chio_E9S.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-DlQJw4F6.mjs → acorex-modules-human-capital-management-leave-request.entity--9iGu0H7.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-request.entity-DlQJw4F6.mjs.map → acorex-modules-human-capital-management-leave-request.entity--9iGu0H7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-D5J2oOuY.mjs → acorex-modules-human-capital-management-leave-type.entity-O0j4P2oU.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-leave-type.entity-D5J2oOuY.mjs.map → acorex-modules-human-capital-management-leave-type.entity-O0j4P2oU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-D7mKhxYp.mjs → acorex-modules-human-capital-management-position-assignment.entity-Bg6omEy_.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-position-assignment.entity-D7mKhxYp.mjs.map → acorex-modules-human-capital-management-position-assignment.entity-Bg6omEy_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-C4AWFOmG.mjs → acorex-modules-human-capital-management-reject-leave-request.command-ZNGufyB1.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-reject-leave-request.command-C4AWFOmG.mjs.map → acorex-modules-human-capital-management-reject-leave-request.command-ZNGufyB1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-BSJhBW3p.mjs → acorex-modules-human-capital-management-revoke-position-assignment.command-C8pwJExa.mjs} +2 -2
- package/fesm2022/{acorex-modules-human-capital-management-revoke-position-assignment.command-BSJhBW3p.mjs.map → acorex-modules-human-capital-management-revoke-position-assignment.command-C8pwJExa.mjs.map} +1 -1
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/{acorex-modules-organization-management-acorex-modules-organization-management-BDnIsf2j.mjs → acorex-modules-organization-management-acorex-modules-organization-management-aord1Uv0.mjs} +169 -606
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-aord1Uv0.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BB8-LTp8.mjs → acorex-modules-organization-management-add-business-unit-to-business-unit.command-AfY76V1Q.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BB8-LTp8.mjs.map → acorex-modules-organization-management-add-business-unit-to-business-unit.command-AfY76V1Q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-BaEW7Jx8.mjs → acorex-modules-organization-management-add-position-to-business-unit.command-DT9WSyiI.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-BaEW7Jx8.mjs.map → acorex-modules-organization-management-add-position-to-business-unit.command-DT9WSyiI.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-add-team-to-business-unit.command-Cm7ze35c.mjs +130 -0
- package/fesm2022/acorex-modules-organization-management-add-team-to-business-unit.command-Cm7ze35c.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-business-unit.entity-CuFBCQ7T.mjs → acorex-modules-organization-management-business-unit.entity-BgxuZhyH.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-business-unit.entity-CuFBCQ7T.mjs.map → acorex-modules-organization-management-business-unit.entity-BgxuZhyH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-chart.entity-B7oSgI4o.mjs → acorex-modules-organization-management-chart.entity-DSvAq3s6.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-chart.entity-B7oSgI4o.mjs.map → acorex-modules-organization-management-chart.entity-DSvAq3s6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-company.entity-BSDic10Z.mjs → acorex-modules-organization-management-company.entity-BU1_8FIf.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-company.entity-BSDic10Z.mjs.map → acorex-modules-organization-management-company.entity-BU1_8FIf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-entity.provider-BkWwyLUZ.mjs → acorex-modules-organization-management-entity.provider-i18ksNjv.mjs} +15 -15
- package/fesm2022/{acorex-modules-organization-management-entity.provider-BkWwyLUZ.mjs.map → acorex-modules-organization-management-entity.provider-i18ksNjv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-D8Tsj3hk.mjs → acorex-modules-organization-management-feature-definition.provider-CDPVhpcX.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-D8Tsj3hk.mjs.map → acorex-modules-organization-management-feature-definition.provider-CDPVhpcX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-cHJU9tB2.mjs → acorex-modules-organization-management-job-definition-pages-component.provider-BlOJIHXX.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-cHJU9tB2.mjs.map → acorex-modules-organization-management-job-definition-pages-component.provider-BlOJIHXX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-Yu4gOQ6K.mjs → acorex-modules-organization-management-job-definition-responsibilities-page.component-BtotMHNw.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-Yu4gOQ6K.mjs.map → acorex-modules-organization-management-job-definition-responsibilities-page.component-BtotMHNw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-DV8x-8VB.mjs → acorex-modules-organization-management-job-definition-skills-page.component-Cr8vI2T9.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-DV8x-8VB.mjs.map → acorex-modules-organization-management-job-definition-skills-page.component-Cr8vI2T9.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-DAo8xR1H.mjs → acorex-modules-organization-management-job-definition.entity-aL7vWbHE.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-DAo8xR1H.mjs.map → acorex-modules-organization-management-job-definition.entity-aL7vWbHE.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-C7ElEuZx.mjs → acorex-modules-organization-management-job-level.datasource-Ds3ZDmRO.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-C7ElEuZx.mjs.map → acorex-modules-organization-management-job-level.datasource-Ds3ZDmRO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-Dw3YK9-O.mjs → acorex-modules-organization-management-job-level.entity-BzWMFrZX.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-Dw3YK9-O.mjs.map → acorex-modules-organization-management-job-level.entity-BzWMFrZX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-menu.provider-DWt62uxv.mjs → acorex-modules-organization-management-menu.provider-CICmpvEv.mjs} +3 -2
- package/fesm2022/{acorex-modules-organization-management-menu.provider-DWt62uxv.mjs.map → acorex-modules-organization-management-menu.provider-CICmpvEv.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-org-chart-default-node-contribution.provider-9s5ZUus4.mjs +228 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-default-node-contribution.provider-9s5ZUus4.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CepGeA3_.mjs +182 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-employee-flyout-contribution.provider-CepGeA3_.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-Bi2pMYPe.mjs +170 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-position-employee-node-contribution.provider-Bi2pMYPe.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-ux-node-contribution.provider-BgopvirR.mjs +334 -0
- package/fesm2022/acorex-modules-organization-management-org-chart-ux-node-contribution.provider-BgopvirR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-Rh8xmXaj.mjs → acorex-modules-organization-management-org-chart.page-Cs-wTPS-.mjs} +116 -38
- package/fesm2022/acorex-modules-organization-management-org-chart.page-Cs-wTPS-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-3TD89ErD.mjs → acorex-modules-organization-management-permission-definition.provider-DEc2_pkz.mjs} +3 -2
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-3TD89ErD.mjs.map → acorex-modules-organization-management-permission-definition.provider-DEc2_pkz.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-permission.keys-DwZNBc12.mjs +56 -0
- package/fesm2022/acorex-modules-organization-management-permission.keys-DwZNBc12.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-position.entity-Cysj_53n.mjs → acorex-modules-organization-management-position.entity-C7u3c4LB.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-position.entity-Cysj_53n.mjs.map → acorex-modules-organization-management-position.entity-C7u3c4LB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-BkQyq1ho.mjs → acorex-modules-organization-management-remove-position-from-business-unit.command-B7D1vMcs.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-BkQyq1ho.mjs.map → acorex-modules-organization-management-remove-position-from-business-unit.command-B7D1vMcs.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-Cf8VR0tX.mjs → acorex-modules-organization-management-replace-position-assignee.command-xodO4wdB.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-Cf8VR0tX.mjs.map → acorex-modules-organization-management-replace-position-assignee.command-xodO4wdB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeQ-nXpS.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeAm1FY0.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeQ-nXpS.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeAm1FY0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Ie_39X99.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-cdReuV2q.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Ie_39X99.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-cdReuV2q.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-58s3Qfyg.mjs → acorex-modules-organization-management-responsibilities-matrix.component-bFxHz2vq.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-58s3Qfyg.mjs.map → acorex-modules-organization-management-responsibilities-matrix.component-bFxHz2vq.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-DWWQB7ke.mjs → acorex-modules-organization-management-responsibility-level.entity-BDOhL12B.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-DWWQB7ke.mjs.map → acorex-modules-organization-management-responsibility-level.entity-BDOhL12B.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-C4V55fKt.mjs → acorex-modules-organization-management-responsibility.entity-DQK2qB5N.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-C4V55fKt.mjs.map → acorex-modules-organization-management-responsibility.entity-DQK2qB5N.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-settings.provider-BD70P1XV.mjs → acorex-modules-organization-management-settings.provider-Di4FtA78.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-settings.provider-BD70P1XV.mjs.map → acorex-modules-organization-management-settings.provider-Di4FtA78.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-B5T1fYAF.mjs → acorex-modules-organization-management-team-business-unit.entity-DTWxuUQV.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-B5T1fYAF.mjs.map → acorex-modules-organization-management-team-business-unit.entity-DTWxuUQV.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-dPp_dK-g.mjs → acorex-modules-organization-management-team-member-role.entity-D9SlbSQ4.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-dPp_dK-g.mjs.map → acorex-modules-organization-management-team-member-role.entity-D9SlbSQ4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-CZPmF9f6.mjs → acorex-modules-organization-management-team-member.entity-D5NapdKq.mjs} +14 -2
- package/fesm2022/acorex-modules-organization-management-team-member.entity-D5NapdKq.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team.entity-CCfWLgDx.mjs → acorex-modules-organization-management-team.entity-CNg4ffZv.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team.entity-CCfWLgDx.mjs.map → acorex-modules-organization-management-team.entity-CNg4ffZv.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +1 -1
- package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-ZcP94xuL.mjs → acorex-modules-task-management-acorex-modules-task-management-_6DcZE_U.mjs} +178 -14
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-_6DcZE_U.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-CEW3SrBz.mjs → acorex-modules-task-management-task-board.page-jMOsL_QA.mjs} +106 -68
- package/fesm2022/acorex-modules-task-management-task-board.page-jMOsL_QA.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/organization-management/README.md +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-ai-management.d.ts +25 -67
- package/types/acorex-modules-asset-management.d.ts +12 -8
- package/types/acorex-modules-document-management.d.ts +15 -7
- package/types/acorex-modules-organization-management.d.ts +135 -76
- package/types/acorex-modules-task-management.d.ts +12 -1
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-Blejt-Mo.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-C6V8Nuvb.mjs +0 -302
- package/fesm2022/acorex-modules-asset-management-asset-rental-history.entity-C6V8Nuvb.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset.entity-3dFsNRkr.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-D5X1pcSP.mjs +0 -24
- package/fesm2022/acorex-modules-document-management-large-tiles-view.component-D5X1pcSP.mjs.map +0 -1
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-a7wOH_7D.mjs +0 -24
- package/fesm2022/acorex-modules-document-management-small-tiles-view.component-a7wOH_7D.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-acorex-modules-human-capital-management-Bwk3-2wy.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BDnIsf2j.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-Rh8xmXaj.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team-member.entity-CZPmF9f6.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-ZcP94xuL.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-CEW3SrBz.mjs.map +0 -1
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { AXP_IDENTIFIER_RULES } from '@acorex/modules/identifier-management';
|
|
2
2
|
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
3
|
-
import { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_STATUS_PROVIDERS, AXPSearchCommandProvider, createEntityCommandOptions, AXPStatusProvider } from '@acorex/platform/common';
|
|
4
|
-
import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider, AXP_FEATURE_DEFINITION_PROVIDER, AXPDataGenerator } from '@acorex/platform/core';
|
|
3
|
+
import { AXPEntityCommandScope, createAllQueryView, AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_STATUS_PROVIDERS, AXPSearchCommandProvider, createEntityCommandOptions, AXPStatusProvider } from '@acorex/platform/common';
|
|
4
|
+
import { AXPSystemActionType, AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider, AXP_FEATURE_DEFINITION_PROVIDER, AXPDataGenerator } from '@acorex/platform/core';
|
|
5
5
|
import { AXP_PAGE_COMPONENT_PROVIDER, AXPStandardSectionItemsBuilderComponent } from '@acorex/platform/layout/components';
|
|
6
|
-
import { AXMEntityCrudServiceImpl, AXP_ENTITY_DEFINITION_LOADER, AXPEntityService } from '@acorex/platform/layout/entity';
|
|
7
|
-
import {
|
|
6
|
+
import { AXMEntityCrudServiceImpl, entityMasterCrudActions, entityMasterRecordActions, AXP_ENTITY_DEFINITION_LOADER, AXPEntityService } from '@acorex/platform/layout/entity';
|
|
7
|
+
import { AXPCommandService, provideCommandSetups, provideCommand } from '@acorex/platform/runtime';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
|
-
import { Injectable,
|
|
10
|
-
import { AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
9
|
+
import { Injectable, inject, NgModule, Injector, input, output, viewChild, signal, computed, effect, ChangeDetectionStrategy, Component, untracked } from '@angular/core';
|
|
10
|
+
import { AXPWidgetsList, AXPCommonMenuKeys } from '@acorex/modules/common';
|
|
11
|
+
import { RootConfig as RootConfig$1 } from '@acorex/modules/supplier-management';
|
|
12
|
+
import { merge, get, isEqual } from 'lodash-es';
|
|
11
13
|
import * as i1 from '@acorex/components/button';
|
|
12
14
|
import { AXButtonModule } from '@acorex/components/button';
|
|
13
15
|
import * as i2 from '@acorex/components/decorators';
|
|
@@ -19,7 +21,15 @@ import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
|
19
21
|
import * as i3 from '@angular/common';
|
|
20
22
|
import { CommonModule } from '@angular/common';
|
|
21
23
|
import { AXPPageLayoutBaseComponent, AXPPageLayoutBase } from '@acorex/platform/layout/views';
|
|
22
|
-
|
|
24
|
+
|
|
25
|
+
//#region ---- Command keys ----
|
|
26
|
+
const AXMAssetManagementCommandKeys = {
|
|
27
|
+
AssetRentalHistory: {
|
|
28
|
+
RentFrom: 'AssetManagement.AssetRentalHistory:RentFrom',
|
|
29
|
+
RentTo: 'AssetManagement.AssetRentalHistory:RentTo',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
23
33
|
|
|
24
34
|
//#region ---- Root Configuration ----
|
|
25
35
|
const config = {
|
|
@@ -133,6 +143,464 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
133
143
|
type: Injectable
|
|
134
144
|
}], ctorParameters: () => [] });
|
|
135
145
|
|
|
146
|
+
//#region ---- Imports ----
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region ---- Rent list actions ----
|
|
149
|
+
/** Type-level create actions for rent-from / rent-to (list and asset related-entity). */
|
|
150
|
+
const assetRentalHistoryRentActions = [
|
|
151
|
+
{
|
|
152
|
+
name: 'rent-from',
|
|
153
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.actions.rent-from.title',
|
|
154
|
+
command: {
|
|
155
|
+
name: AXMAssetManagementCommandKeys.AssetRentalHistory.RentFrom,
|
|
156
|
+
options: {
|
|
157
|
+
process: {
|
|
158
|
+
redirect: false,
|
|
159
|
+
canCreateNewOne: true,
|
|
160
|
+
data: { assetId: '{{context.eval("id")}}' },
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
priority: 'primary',
|
|
165
|
+
type: AXPSystemActionType.Create,
|
|
166
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: 'rent-to',
|
|
170
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.actions.rent-to.title',
|
|
171
|
+
command: {
|
|
172
|
+
name: AXMAssetManagementCommandKeys.AssetRentalHistory.RentTo,
|
|
173
|
+
options: {
|
|
174
|
+
process: {
|
|
175
|
+
redirect: false,
|
|
176
|
+
canCreateNewOne: true,
|
|
177
|
+
data: { assetId: '{{context.eval("id")}}' },
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
priority: 'primary',
|
|
182
|
+
type: AXPSystemActionType.Create,
|
|
183
|
+
scope: AXPEntityCommandScope.TypeLevel,
|
|
184
|
+
},
|
|
185
|
+
...entityMasterCrudActions({ create: false }),
|
|
186
|
+
];
|
|
187
|
+
//#endregion
|
|
188
|
+
//#region ---- Persist validation ----
|
|
189
|
+
function assertRentalPartyForDirection(data) {
|
|
190
|
+
if (data.rentalDirection === 'rentTo' && !data.rentedToId) {
|
|
191
|
+
throw new Error('Rented to supplier is required when rental direction is rent to.');
|
|
192
|
+
}
|
|
193
|
+
if (data.rentalDirection === 'rentFrom' && !data.rentedFromId) {
|
|
194
|
+
throw new Error('Rented from supplier is required when rental direction is rent from.');
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
const rentalHistorySharedCreateFields = [
|
|
198
|
+
'rentalDirection',
|
|
199
|
+
'createdDate',
|
|
200
|
+
'startDate',
|
|
201
|
+
'expectedReturnDate',
|
|
202
|
+
'actualReturnDate',
|
|
203
|
+
'status',
|
|
204
|
+
'description',
|
|
205
|
+
];
|
|
206
|
+
function buildRentCreateOptions(direction) {
|
|
207
|
+
const isRentFrom = direction === 'rentFrom';
|
|
208
|
+
return {
|
|
209
|
+
includeProperties: [...rentalHistorySharedCreateFields, isRentFrom ? 'rentedFromId' : 'rentedToId'],
|
|
210
|
+
excludeProperties: [isRentFrom ? 'rentedToId' : 'rentedFromId'],
|
|
211
|
+
decoration: {
|
|
212
|
+
header: {
|
|
213
|
+
title: isRentFrom
|
|
214
|
+
? '@asset-management:assetRentalHistories.entities.assetRentalHistory.actions.rent-from.dialog-title'
|
|
215
|
+
: '@asset-management:assetRentalHistories.entities.assetRentalHistory.actions.rent-to.dialog-title',
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
process: {
|
|
219
|
+
redirect: false,
|
|
220
|
+
canCreateNewOne: true,
|
|
221
|
+
},
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
class AXMCreateAssetRentalHistoryRentCommandBase {
|
|
225
|
+
constructor() {
|
|
226
|
+
this.commandService = inject(AXPCommandService);
|
|
227
|
+
}
|
|
228
|
+
async execute(input) {
|
|
229
|
+
const seedData = this.resolveSeedData(input);
|
|
230
|
+
const createOptions = buildRentCreateOptions(this.rentalDirection);
|
|
231
|
+
const result = await this.commandService.execute('Entity:Create', {
|
|
232
|
+
__context__: {
|
|
233
|
+
entity: RootConfig.entities.assetRentalHistory.source,
|
|
234
|
+
entityInfo: {
|
|
235
|
+
name: RootConfig.entities.assetRentalHistory.name,
|
|
236
|
+
module: RootConfig.module.name,
|
|
237
|
+
title: RootConfig.entities.assetRentalHistory.title,
|
|
238
|
+
},
|
|
239
|
+
data: seedData,
|
|
240
|
+
options: createOptions,
|
|
241
|
+
},
|
|
242
|
+
options: createOptions,
|
|
243
|
+
});
|
|
244
|
+
return result ?? { success: false };
|
|
245
|
+
}
|
|
246
|
+
resolveSeedData(input) {
|
|
247
|
+
const ctx = input.__context__ ?? {};
|
|
248
|
+
const options = (input.options ?? ctx.options ?? {});
|
|
249
|
+
const process = (options['process'] ?? {});
|
|
250
|
+
const processData = process['data'];
|
|
251
|
+
const contextData = ctx.data ?? input.data ?? {};
|
|
252
|
+
return merge({}, typeof contextData === 'object' && contextData !== null && !Array.isArray(contextData) ? contextData : {}, typeof processData === 'object' && processData !== null && !Array.isArray(processData) ? processData : {}, { rentalDirection: this.rentalDirection });
|
|
253
|
+
}
|
|
254
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMCreateAssetRentalHistoryRentCommandBase, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
255
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMCreateAssetRentalHistoryRentCommandBase, providedIn: 'root' }); }
|
|
256
|
+
}
|
|
257
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMCreateAssetRentalHistoryRentCommandBase, decorators: [{
|
|
258
|
+
type: Injectable,
|
|
259
|
+
args: [{ providedIn: 'root' }]
|
|
260
|
+
}] });
|
|
261
|
+
class AXMCreateAssetRentalHistoryRentFromCommand extends AXMCreateAssetRentalHistoryRentCommandBase {
|
|
262
|
+
constructor() {
|
|
263
|
+
super(...arguments);
|
|
264
|
+
this.rentalDirection = 'rentFrom';
|
|
265
|
+
}
|
|
266
|
+
static { this.commandKey = AXMAssetManagementCommandKeys.AssetRentalHistory.RentFrom; }
|
|
267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMCreateAssetRentalHistoryRentFromCommand, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
268
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMCreateAssetRentalHistoryRentFromCommand, providedIn: 'root' }); }
|
|
269
|
+
}
|
|
270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMCreateAssetRentalHistoryRentFromCommand, decorators: [{
|
|
271
|
+
type: Injectable,
|
|
272
|
+
args: [{ providedIn: 'root' }]
|
|
273
|
+
}] });
|
|
274
|
+
class AXMCreateAssetRentalHistoryRentToCommand extends AXMCreateAssetRentalHistoryRentCommandBase {
|
|
275
|
+
constructor() {
|
|
276
|
+
super(...arguments);
|
|
277
|
+
this.rentalDirection = 'rentTo';
|
|
278
|
+
}
|
|
279
|
+
static { this.commandKey = AXMAssetManagementCommandKeys.AssetRentalHistory.RentTo; }
|
|
280
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMCreateAssetRentalHistoryRentToCommand, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
281
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMCreateAssetRentalHistoryRentToCommand, providedIn: 'root' }); }
|
|
282
|
+
}
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMCreateAssetRentalHistoryRentToCommand, decorators: [{
|
|
284
|
+
type: Injectable,
|
|
285
|
+
args: [{ providedIn: 'root' }]
|
|
286
|
+
}] });
|
|
287
|
+
//#endregion
|
|
288
|
+
//#region ---- Entity Factory ----
|
|
289
|
+
async function factory(injector) {
|
|
290
|
+
const dataService = injector.get(AXMAssetManagementAssetRentalHistoryEntityService);
|
|
291
|
+
const entityDef = {
|
|
292
|
+
module: RootConfig.module.name,
|
|
293
|
+
name: RootConfig.entities.assetRentalHistory.name,
|
|
294
|
+
title: RootConfig.entities.assetRentalHistory.title,
|
|
295
|
+
icon: RootConfig.entities.assetRentalHistory.icon,
|
|
296
|
+
plugins: [
|
|
297
|
+
{
|
|
298
|
+
name: 'status',
|
|
299
|
+
options: {
|
|
300
|
+
field: 'status',
|
|
301
|
+
definition: 'asset-management.status.asset-rental-history',
|
|
302
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.status.title',
|
|
303
|
+
groupId: 'basic-info',
|
|
304
|
+
generate: { views: { enabled: false } },
|
|
305
|
+
},
|
|
306
|
+
},
|
|
307
|
+
],
|
|
308
|
+
relatedEntities: [],
|
|
309
|
+
formats: {
|
|
310
|
+
individual: RootConfig.entities.assetRentalHistory.title,
|
|
311
|
+
plural: RootConfig.entities.assetRentalHistory.titlePlural,
|
|
312
|
+
searchResult: { title: '{{ startDate }}' },
|
|
313
|
+
},
|
|
314
|
+
groups: [
|
|
315
|
+
{
|
|
316
|
+
id: 'basic-info',
|
|
317
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.groups.basic-info',
|
|
318
|
+
},
|
|
319
|
+
],
|
|
320
|
+
properties: [
|
|
321
|
+
{
|
|
322
|
+
name: 'id',
|
|
323
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.id.title',
|
|
324
|
+
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
name: 'assetId',
|
|
328
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.assetId.title',
|
|
329
|
+
groupId: 'basic-info',
|
|
330
|
+
schema: {
|
|
331
|
+
dataType: 'string',
|
|
332
|
+
readonly: true,
|
|
333
|
+
interface: {
|
|
334
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
335
|
+
options: {
|
|
336
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.asset.name}`,
|
|
337
|
+
textField: 'title',
|
|
338
|
+
valueField: 'id',
|
|
339
|
+
expose: [
|
|
340
|
+
{ source: 'id', target: 'asset.id' },
|
|
341
|
+
{ source: 'code', target: 'asset.code' },
|
|
342
|
+
{ source: 'title', target: 'asset.title' },
|
|
343
|
+
],
|
|
344
|
+
look: 'select',
|
|
345
|
+
disabled: true,
|
|
346
|
+
readonly: true,
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
options: {
|
|
351
|
+
sort: { enabled: true },
|
|
352
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
353
|
+
},
|
|
354
|
+
validations: [{ rule: 'required' }],
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
name: 'rentalDirection',
|
|
358
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.rentalDirection.title',
|
|
359
|
+
groupId: 'basic-info',
|
|
360
|
+
schema: {
|
|
361
|
+
dataType: 'string',
|
|
362
|
+
visible: false,
|
|
363
|
+
readonly: true,
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
name: 'rentedToId',
|
|
368
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.rentedToId.title',
|
|
369
|
+
groupId: 'basic-info',
|
|
370
|
+
schema: {
|
|
371
|
+
dataType: 'string',
|
|
372
|
+
nullable: true,
|
|
373
|
+
visible: `{{ context.eval("rentalDirection") === "rentTo" }}`,
|
|
374
|
+
interface: {
|
|
375
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
376
|
+
options: {
|
|
377
|
+
entity: `${RootConfig$1.module.name}.${RootConfig$1.entities.supplier.name}`,
|
|
378
|
+
textField: 'party.title',
|
|
379
|
+
valueField: 'id',
|
|
380
|
+
expose: [
|
|
381
|
+
{ source: 'id', target: 'rentedTo.id' },
|
|
382
|
+
{ source: 'party.title', target: 'rentedTo.displayName' },
|
|
383
|
+
],
|
|
384
|
+
look: 'select',
|
|
385
|
+
allowCreate: 'quick',
|
|
386
|
+
},
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
options: {
|
|
390
|
+
sort: { enabled: true },
|
|
391
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
392
|
+
},
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
name: 'rentedFromId',
|
|
396
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.rentedFromId.title',
|
|
397
|
+
groupId: 'basic-info',
|
|
398
|
+
schema: {
|
|
399
|
+
dataType: 'string',
|
|
400
|
+
nullable: true,
|
|
401
|
+
visible: `{{ context.eval("rentalDirection") === "rentFrom" }}`,
|
|
402
|
+
interface: {
|
|
403
|
+
type: AXPWidgetsList.Editors.LookupBox,
|
|
404
|
+
options: {
|
|
405
|
+
entity: `${RootConfig$1.module.name}.${RootConfig$1.entities.supplier.name}`,
|
|
406
|
+
textField: 'party.title',
|
|
407
|
+
valueField: 'id',
|
|
408
|
+
expose: [
|
|
409
|
+
{ source: 'id', target: 'rentedFrom.id' },
|
|
410
|
+
{ source: 'party.title', target: 'rentedFrom.displayName' },
|
|
411
|
+
],
|
|
412
|
+
look: 'select',
|
|
413
|
+
allowCreate: 'quick',
|
|
414
|
+
},
|
|
415
|
+
},
|
|
416
|
+
},
|
|
417
|
+
options: {
|
|
418
|
+
sort: { enabled: true },
|
|
419
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
420
|
+
},
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
name: 'createdDate',
|
|
424
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.createdDate.title',
|
|
425
|
+
groupId: 'basic-info',
|
|
426
|
+
schema: {
|
|
427
|
+
dataType: 'date',
|
|
428
|
+
readonly: true,
|
|
429
|
+
// Evaluated when the create widget renders (function defaultValue is not invoked by the widget host).
|
|
430
|
+
defaultValue: '{{ new Date().toISOString() }}',
|
|
431
|
+
visible: false,
|
|
432
|
+
interface: {
|
|
433
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
434
|
+
options: {
|
|
435
|
+
format: 'datetime',
|
|
436
|
+
disabled: true,
|
|
437
|
+
readonly: true,
|
|
438
|
+
},
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
options: {
|
|
442
|
+
sort: { enabled: true },
|
|
443
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
444
|
+
},
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
name: 'startDate',
|
|
448
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.startDate.title',
|
|
449
|
+
groupId: 'basic-info',
|
|
450
|
+
schema: {
|
|
451
|
+
dataType: 'date',
|
|
452
|
+
interface: {
|
|
453
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
454
|
+
options: { format: 'date' },
|
|
455
|
+
},
|
|
456
|
+
},
|
|
457
|
+
options: {
|
|
458
|
+
sort: { enabled: true },
|
|
459
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
460
|
+
},
|
|
461
|
+
validations: [{ rule: 'required' }],
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
name: 'expectedReturnDate',
|
|
465
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.expectedReturnDate.title',
|
|
466
|
+
groupId: 'basic-info',
|
|
467
|
+
schema: {
|
|
468
|
+
dataType: 'date',
|
|
469
|
+
nullable: true,
|
|
470
|
+
interface: {
|
|
471
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
472
|
+
options: { format: 'date' },
|
|
473
|
+
},
|
|
474
|
+
},
|
|
475
|
+
options: {
|
|
476
|
+
sort: { enabled: true },
|
|
477
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: 'actualReturnDate',
|
|
482
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.actualReturnDate.title',
|
|
483
|
+
groupId: 'basic-info',
|
|
484
|
+
schema: {
|
|
485
|
+
dataType: 'date',
|
|
486
|
+
nullable: true,
|
|
487
|
+
interface: {
|
|
488
|
+
type: AXPWidgetsList.Editors.DateTimeBox,
|
|
489
|
+
options: { format: 'date' },
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
options: {
|
|
493
|
+
sort: { enabled: true },
|
|
494
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
name: 'description',
|
|
499
|
+
title: '@asset-management:assetRentalHistories.entities.assetRentalHistory.fields.description.title',
|
|
500
|
+
groupId: 'basic-info',
|
|
501
|
+
schema: {
|
|
502
|
+
dataType: 'string',
|
|
503
|
+
nullable: true,
|
|
504
|
+
interface: {
|
|
505
|
+
type: AXPWidgetsList.Editors.LargeTextBox,
|
|
506
|
+
options: { rows: 3 },
|
|
507
|
+
},
|
|
508
|
+
},
|
|
509
|
+
options: {
|
|
510
|
+
sort: { enabled: false },
|
|
511
|
+
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
512
|
+
},
|
|
513
|
+
},
|
|
514
|
+
],
|
|
515
|
+
columns: [
|
|
516
|
+
{ name: 'rentedToId', options: { dataPath: 'rentedTo.displayName', order: 1 } },
|
|
517
|
+
{ name: 'rentedFromId', options: { dataPath: 'rentedFrom.displayName', order: 2 } },
|
|
518
|
+
{ name: 'startDate', options: { order: 3 } },
|
|
519
|
+
{ name: 'expectedReturnDate', options: { order: 4 } },
|
|
520
|
+
{ name: 'actualReturnDate', options: { order: 5 } },
|
|
521
|
+
{ name: 'description', options: { order: 7 } },
|
|
522
|
+
],
|
|
523
|
+
queries: {},
|
|
524
|
+
commands: {
|
|
525
|
+
create: {
|
|
526
|
+
execute: async (data) => {
|
|
527
|
+
assertRentalPartyForDirection(data);
|
|
528
|
+
const id = await dataService.insertOne(data);
|
|
529
|
+
return { id };
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
update: {
|
|
533
|
+
execute: async (data) => {
|
|
534
|
+
assertRentalPartyForDirection(data);
|
|
535
|
+
return await dataService.updateOne(data.id, data);
|
|
536
|
+
},
|
|
537
|
+
},
|
|
538
|
+
},
|
|
539
|
+
interfaces: {
|
|
540
|
+
master: {
|
|
541
|
+
create: {
|
|
542
|
+
sections: [{ id: 'basic-info', order: 1 }],
|
|
543
|
+
properties: [
|
|
544
|
+
{ name: 'assetId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
545
|
+
{ name: 'rentalDirection', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
546
|
+
{ name: 'rentedToId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
547
|
+
{ name: 'rentedFromId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
548
|
+
{ name: 'createdDate', layout: { positions: { lg: { colSpan: 6, order: 9 } } } },
|
|
549
|
+
{ name: 'startDate', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
|
550
|
+
{ name: 'expectedReturnDate', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
551
|
+
{ name: 'actualReturnDate', layout: { positions: { lg: { colSpan: 6, order: 7 } } } },
|
|
552
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 10 } } } },
|
|
553
|
+
],
|
|
554
|
+
},
|
|
555
|
+
update: {
|
|
556
|
+
sections: [{ id: 'basic-info', order: 1 }],
|
|
557
|
+
properties: [
|
|
558
|
+
{ name: 'assetId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
559
|
+
{ name: 'rentalDirection', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
560
|
+
{ name: 'rentedToId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
561
|
+
{ name: 'rentedFromId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
562
|
+
{ name: 'createdDate', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },
|
|
563
|
+
{ name: 'startDate', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
564
|
+
{ name: 'expectedReturnDate', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
|
565
|
+
{ name: 'actualReturnDate', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
566
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 9 } } } },
|
|
567
|
+
],
|
|
568
|
+
},
|
|
569
|
+
single: {
|
|
570
|
+
title: '{{ startDate }}',
|
|
571
|
+
sections: [{ id: 'basic-info', order: 1 }],
|
|
572
|
+
properties: [
|
|
573
|
+
{ name: 'assetId', layout: { positions: { lg: { colSpan: 12, order: 1 } } } },
|
|
574
|
+
{ name: 'rentalDirection', layout: { positions: { lg: { colSpan: 12, order: 2 } } } },
|
|
575
|
+
{ name: 'rentedToId', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
576
|
+
{ name: 'rentedFromId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
577
|
+
{ name: 'createdDate', layout: { positions: { lg: { colSpan: 6, order: 8 } } } },
|
|
578
|
+
{ name: 'startDate', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
579
|
+
{ name: 'expectedReturnDate', layout: { positions: { lg: { colSpan: 6, order: 5, colStart: 1 } } } },
|
|
580
|
+
{ name: 'actualReturnDate', layout: { positions: { lg: { colSpan: 6, order: 6 } } } },
|
|
581
|
+
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 9 } } } },
|
|
582
|
+
],
|
|
583
|
+
actions: [...entityMasterRecordActions()],
|
|
584
|
+
},
|
|
585
|
+
list: {
|
|
586
|
+
// actions: [...assetRentalHistoryRentActions],
|
|
587
|
+
// actions: [...assetRentalHistoryRentActions],
|
|
588
|
+
views: [createAllQueryView({ sorts: [{ name: 'createdDate', dir: 'desc' }] })],
|
|
589
|
+
},
|
|
590
|
+
},
|
|
591
|
+
},
|
|
592
|
+
};
|
|
593
|
+
return entityDef;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
var assetRentalHistory_entity = /*#__PURE__*/Object.freeze({
|
|
597
|
+
__proto__: null,
|
|
598
|
+
AXMCreateAssetRentalHistoryRentFromCommand: AXMCreateAssetRentalHistoryRentFromCommand,
|
|
599
|
+
AXMCreateAssetRentalHistoryRentToCommand: AXMCreateAssetRentalHistoryRentToCommand,
|
|
600
|
+
assetRentalHistoryRentActions: assetRentalHistoryRentActions,
|
|
601
|
+
factory: factory
|
|
602
|
+
});
|
|
603
|
+
|
|
136
604
|
//#region ---- Imports ----
|
|
137
605
|
//#endregion
|
|
138
606
|
//#region ---- Module ----
|
|
@@ -144,6 +612,16 @@ class AXMAssetManagementAssetRentalHistoryEntityModule {
|
|
|
144
612
|
provide: AXMAssetManagementAssetRentalHistoryEntityService,
|
|
145
613
|
useClass: AXMAssetManagementAssetRentalHistoryEntityServiceImpl,
|
|
146
614
|
},
|
|
615
|
+
provideCommandSetups([
|
|
616
|
+
{
|
|
617
|
+
key: AXMCreateAssetRentalHistoryRentFromCommand.commandKey,
|
|
618
|
+
command: () => AXMCreateAssetRentalHistoryRentFromCommand,
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
key: AXMCreateAssetRentalHistoryRentToCommand.commandKey,
|
|
622
|
+
command: () => AXMCreateAssetRentalHistoryRentToCommand,
|
|
623
|
+
},
|
|
624
|
+
]),
|
|
147
625
|
] }); }
|
|
148
626
|
}
|
|
149
627
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMAssetManagementAssetRentalHistoryEntityModule, decorators: [{
|
|
@@ -154,6 +632,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
154
632
|
provide: AXMAssetManagementAssetRentalHistoryEntityService,
|
|
155
633
|
useClass: AXMAssetManagementAssetRentalHistoryEntityServiceImpl,
|
|
156
634
|
},
|
|
635
|
+
provideCommandSetups([
|
|
636
|
+
{
|
|
637
|
+
key: AXMCreateAssetRentalHistoryRentFromCommand.commandKey,
|
|
638
|
+
command: () => AXMCreateAssetRentalHistoryRentFromCommand,
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
key: AXMCreateAssetRentalHistoryRentToCommand.commandKey,
|
|
642
|
+
command: () => AXMCreateAssetRentalHistoryRentToCommand,
|
|
643
|
+
},
|
|
644
|
+
]),
|
|
157
645
|
],
|
|
158
646
|
}]
|
|
159
647
|
}] });
|
|
@@ -546,6 +1034,7 @@ class AXMAssetManagementModule {
|
|
|
546
1034
|
// ),
|
|
547
1035
|
// Status Providers
|
|
548
1036
|
provideLazyProvider(AXP_STATUS_PROVIDERS, () => Promise.resolve().then(function () { return assetStatus_provider; }).then((m) => m.AXMAssetManagementAssetStatusProvider)),
|
|
1037
|
+
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs').then((m) => m.AXMAssetManagementAssetRentalHistoryStatusProvider)),
|
|
549
1038
|
// provideLazyProvider(AXP_STATUS_PROVIDERS, () =>
|
|
550
1039
|
// import('./features/assetLifecycle-state.provider').then((m) => m.AXMAssetManagementAssetLifecycleStatusProvider),
|
|
551
1040
|
// ),
|
|
@@ -613,6 +1102,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImpor
|
|
|
613
1102
|
// ),
|
|
614
1103
|
// Status Providers
|
|
615
1104
|
provideLazyProvider(AXP_STATUS_PROVIDERS, () => Promise.resolve().then(function () { return assetStatus_provider; }).then((m) => m.AXMAssetManagementAssetStatusProvider)),
|
|
1105
|
+
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-asset-management-asset-rental-history-status.provider-BiWf2TwD.mjs').then((m) => m.AXMAssetManagementAssetRentalHistoryStatusProvider)),
|
|
616
1106
|
// provideLazyProvider(AXP_STATUS_PROVIDERS, () =>
|
|
617
1107
|
// import('./features/assetLifecycle-state.provider').then((m) => m.AXMAssetManagementAssetLifecycleStatusProvider),
|
|
618
1108
|
// ),
|
|
@@ -634,21 +1124,21 @@ class AXMAssetManagementEntityProvider {
|
|
|
634
1124
|
if (moduleName === RootConfig.module.name) {
|
|
635
1125
|
switch (entityName) {
|
|
636
1126
|
case RootConfig.entities.asset.name:
|
|
637
|
-
return (await import('./acorex-modules-asset-management-asset.entity-
|
|
1127
|
+
return (await import('./acorex-modules-asset-management-asset.entity-Bk_NIpzQ.mjs')).factory(this.injector);
|
|
638
1128
|
case RootConfig.entities.assetType.name:
|
|
639
|
-
return (await import('./acorex-modules-asset-management-asset-type.entity-
|
|
1129
|
+
return (await import('./acorex-modules-asset-management-asset-type.entity-B2eXZqQG.mjs')).factory(this.injector);
|
|
640
1130
|
case RootConfig.entities.assetTypeSection.name:
|
|
641
|
-
return (await import('./acorex-modules-asset-management-asset-type-section.entity-
|
|
1131
|
+
return (await import('./acorex-modules-asset-management-asset-type-section.entity-bJKJdrpm.mjs')).factory(this.injector);
|
|
642
1132
|
case RootConfig.entities.assetTypeSectionComponent.name:
|
|
643
|
-
return (await import('./acorex-modules-asset-management-asset-type-section-component.entity-
|
|
1133
|
+
return (await import('./acorex-modules-asset-management-asset-type-section-component.entity-unp7Q8MH.mjs')).factory(this.injector);
|
|
644
1134
|
case RootConfig.entities.assetSystemType.name:
|
|
645
|
-
return (await import('./acorex-modules-asset-management-asset-system-type.entity-
|
|
1135
|
+
return (await import('./acorex-modules-asset-management-asset-system-type.entity-VxShztML.mjs')).factory(this.injector);
|
|
646
1136
|
case RootConfig.entities.assetSystem.name:
|
|
647
|
-
return (await import('./acorex-modules-asset-management-asset-system.entity-
|
|
1137
|
+
return (await import('./acorex-modules-asset-management-asset-system.entity-BdyFBhzS.mjs')).factory(this.injector);
|
|
648
1138
|
case RootConfig.entities.assetSystemAssignment.name:
|
|
649
|
-
return (await import('./acorex-modules-asset-management-asset-system-assignment.entity-
|
|
1139
|
+
return (await import('./acorex-modules-asset-management-asset-system-assignment.entity-BGdQY4Fh.mjs')).factory(this.injector);
|
|
650
1140
|
case RootConfig.entities.assetRentalHistory.name:
|
|
651
|
-
return (await
|
|
1141
|
+
return (await Promise.resolve().then(function () { return assetRentalHistory_entity; })).factory(this.injector);
|
|
652
1142
|
}
|
|
653
1143
|
}
|
|
654
1144
|
return null;
|
|
@@ -940,17 +1430,21 @@ var searchCommand_provider = /*#__PURE__*/Object.freeze({
|
|
|
940
1430
|
AXMAssetManagementSearchCommandProvider: AXMAssetManagementSearchCommandProvider
|
|
941
1431
|
});
|
|
942
1432
|
|
|
943
|
-
// import { AXPStatusProvider, AXPStatusTransition } from '@acorex/platform/core';
|
|
944
1433
|
var AXMAssetStatus;
|
|
945
1434
|
(function (AXMAssetStatus) {
|
|
1435
|
+
AXMAssetStatus["Created"] = "created";
|
|
1436
|
+
AXMAssetStatus["InStock"] = "inStock";
|
|
946
1437
|
AXMAssetStatus["Available"] = "available";
|
|
947
|
-
AXMAssetStatus["
|
|
948
|
-
AXMAssetStatus["
|
|
949
|
-
AXMAssetStatus["
|
|
950
|
-
AXMAssetStatus["
|
|
951
|
-
AXMAssetStatus["
|
|
1438
|
+
AXMAssetStatus["Reserved"] = "reserved";
|
|
1439
|
+
AXMAssetStatus["Assigned"] = "assigned";
|
|
1440
|
+
AXMAssetStatus["Installed"] = "installed";
|
|
1441
|
+
AXMAssetStatus["UnderInspection"] = "underInspection";
|
|
1442
|
+
AXMAssetStatus["UnderMaintenance"] = "underMaintenance";
|
|
1443
|
+
AXMAssetStatus["OutOfService"] = "outOfService";
|
|
952
1444
|
AXMAssetStatus["Retired"] = "retired";
|
|
953
|
-
AXMAssetStatus["
|
|
1445
|
+
AXMAssetStatus["Disposed"] = "disposed";
|
|
1446
|
+
AXMAssetStatus["Lost"] = "lost";
|
|
1447
|
+
AXMAssetStatus["ReturnedToSupplier"] = "returnedToSupplier";
|
|
954
1448
|
})(AXMAssetStatus || (AXMAssetStatus = {}));
|
|
955
1449
|
class AXMAssetManagementAssetStatusProvider extends AXPStatusProvider {
|
|
956
1450
|
constructor() {
|
|
@@ -958,39 +1452,39 @@ class AXMAssetManagementAssetStatusProvider extends AXPStatusProvider {
|
|
|
958
1452
|
this.key = 'asset-management.status.asset';
|
|
959
1453
|
this.statuses = [
|
|
960
1454
|
{
|
|
961
|
-
name: AXMAssetStatus.
|
|
962
|
-
title: '@asset-management:assets.states.
|
|
963
|
-
icon: 'fa-light fa-circle-
|
|
964
|
-
color: '
|
|
1455
|
+
name: AXMAssetStatus.Created,
|
|
1456
|
+
title: '@asset-management:assets.states.created',
|
|
1457
|
+
icon: 'fa-light fa-circle-plus',
|
|
1458
|
+
color: 'secondary',
|
|
965
1459
|
order: 1,
|
|
966
1460
|
isInitial: true,
|
|
967
1461
|
isFinal: false,
|
|
968
1462
|
generateView: true,
|
|
969
1463
|
},
|
|
970
1464
|
{
|
|
971
|
-
name: AXMAssetStatus.
|
|
972
|
-
title: '@asset-management:assets.states.
|
|
973
|
-
icon: 'fa-light fa-
|
|
974
|
-
color: '
|
|
1465
|
+
name: AXMAssetStatus.InStock,
|
|
1466
|
+
title: '@asset-management:assets.states.in-stock',
|
|
1467
|
+
icon: 'fa-light fa-boxes-stacked',
|
|
1468
|
+
color: 'info',
|
|
975
1469
|
order: 2,
|
|
976
1470
|
isInitial: false,
|
|
977
1471
|
isFinal: false,
|
|
978
1472
|
generateView: true,
|
|
979
1473
|
},
|
|
980
1474
|
{
|
|
981
|
-
name: AXMAssetStatus.
|
|
982
|
-
title: '@asset-management:assets.states.
|
|
983
|
-
icon: 'fa-light fa-circle-
|
|
984
|
-
color: '
|
|
1475
|
+
name: AXMAssetStatus.Available,
|
|
1476
|
+
title: '@asset-management:assets.states.available',
|
|
1477
|
+
icon: 'fa-light fa-circle-check',
|
|
1478
|
+
color: 'success',
|
|
985
1479
|
order: 3,
|
|
986
1480
|
isInitial: false,
|
|
987
1481
|
isFinal: false,
|
|
988
1482
|
generateView: true,
|
|
989
1483
|
},
|
|
990
1484
|
{
|
|
991
|
-
name: AXMAssetStatus.
|
|
992
|
-
title: '@asset-management:assets.states.
|
|
993
|
-
icon: 'fa-light fa-
|
|
1485
|
+
name: AXMAssetStatus.Reserved,
|
|
1486
|
+
title: '@asset-management:assets.states.reserved',
|
|
1487
|
+
icon: 'fa-light fa-calendar-check',
|
|
994
1488
|
color: 'info',
|
|
995
1489
|
order: 4,
|
|
996
1490
|
isInitial: false,
|
|
@@ -998,21 +1492,51 @@ class AXMAssetManagementAssetStatusProvider extends AXPStatusProvider {
|
|
|
998
1492
|
generateView: true,
|
|
999
1493
|
},
|
|
1000
1494
|
{
|
|
1001
|
-
name: AXMAssetStatus.
|
|
1002
|
-
title: '@asset-management:assets.states.
|
|
1495
|
+
name: AXMAssetStatus.Assigned,
|
|
1496
|
+
title: '@asset-management:assets.states.assigned',
|
|
1497
|
+
icon: 'fa-light fa-user-check',
|
|
1498
|
+
color: 'info',
|
|
1499
|
+
order: 5,
|
|
1500
|
+
isInitial: false,
|
|
1501
|
+
isFinal: false,
|
|
1502
|
+
generateView: true,
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
name: AXMAssetStatus.Installed,
|
|
1506
|
+
title: '@asset-management:assets.states.installed',
|
|
1003
1507
|
icon: 'fa-light fa-screwdriver-wrench',
|
|
1508
|
+
color: 'success',
|
|
1509
|
+
order: 6,
|
|
1510
|
+
isInitial: false,
|
|
1511
|
+
isFinal: false,
|
|
1512
|
+
generateView: true,
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
name: AXMAssetStatus.UnderInspection,
|
|
1516
|
+
title: '@asset-management:assets.states.under-inspection',
|
|
1517
|
+
icon: 'fa-light fa-clipboard-check',
|
|
1004
1518
|
color: 'warning',
|
|
1005
|
-
order:
|
|
1519
|
+
order: 7,
|
|
1520
|
+
isInitial: false,
|
|
1521
|
+
isFinal: false,
|
|
1522
|
+
generateView: true,
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
name: AXMAssetStatus.UnderMaintenance,
|
|
1526
|
+
title: '@asset-management:assets.states.under-maintenance',
|
|
1527
|
+
icon: 'fa-light fa-toolbox',
|
|
1528
|
+
color: 'warning',
|
|
1529
|
+
order: 8,
|
|
1006
1530
|
isInitial: false,
|
|
1007
1531
|
isFinal: false,
|
|
1008
1532
|
generateView: true,
|
|
1009
1533
|
},
|
|
1010
1534
|
{
|
|
1011
|
-
name: AXMAssetStatus.
|
|
1012
|
-
title: '@asset-management:assets.states.out-of-
|
|
1535
|
+
name: AXMAssetStatus.OutOfService,
|
|
1536
|
+
title: '@asset-management:assets.states.out-of-service',
|
|
1013
1537
|
icon: 'fa-light fa-triangle-exclamation',
|
|
1014
1538
|
color: 'danger',
|
|
1015
|
-
order:
|
|
1539
|
+
order: 9,
|
|
1016
1540
|
isInitial: false,
|
|
1017
1541
|
isFinal: false,
|
|
1018
1542
|
generateView: true,
|
|
@@ -1022,101 +1546,205 @@ class AXMAssetManagementAssetStatusProvider extends AXPStatusProvider {
|
|
|
1022
1546
|
title: '@asset-management:assets.states.retired',
|
|
1023
1547
|
icon: 'fa-light fa-ban',
|
|
1024
1548
|
color: 'neutral',
|
|
1025
|
-
order:
|
|
1549
|
+
order: 10,
|
|
1550
|
+
isInitial: false,
|
|
1551
|
+
isFinal: false,
|
|
1552
|
+
generateView: true,
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
name: AXMAssetStatus.Disposed,
|
|
1556
|
+
title: '@asset-management:assets.states.disposed',
|
|
1557
|
+
icon: 'fa-light fa-trash-can',
|
|
1558
|
+
color: 'neutral',
|
|
1559
|
+
order: 11,
|
|
1026
1560
|
isInitial: false,
|
|
1027
1561
|
isFinal: true,
|
|
1028
1562
|
generateView: true,
|
|
1029
1563
|
},
|
|
1030
1564
|
{
|
|
1031
|
-
name: AXMAssetStatus.
|
|
1032
|
-
title: '@asset-management:assets.states.
|
|
1033
|
-
icon: 'fa-light fa-
|
|
1565
|
+
name: AXMAssetStatus.Lost,
|
|
1566
|
+
title: '@asset-management:assets.states.lost',
|
|
1567
|
+
icon: 'fa-light fa-magnifying-glass-minus',
|
|
1568
|
+
color: 'danger',
|
|
1569
|
+
order: 12,
|
|
1570
|
+
isInitial: false,
|
|
1571
|
+
isFinal: true,
|
|
1572
|
+
generateView: true,
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
name: AXMAssetStatus.ReturnedToSupplier,
|
|
1576
|
+
title: '@asset-management:assets.states.returned-to-supplier',
|
|
1577
|
+
icon: 'fa-light fa-rotate-left',
|
|
1034
1578
|
color: 'neutral',
|
|
1035
|
-
order:
|
|
1579
|
+
order: 13,
|
|
1036
1580
|
isInitial: false,
|
|
1037
1581
|
isFinal: true,
|
|
1038
1582
|
generateView: true,
|
|
1039
1583
|
},
|
|
1040
1584
|
];
|
|
1041
1585
|
this.transitions = [
|
|
1042
|
-
|
|
1586
|
+
{
|
|
1587
|
+
from: AXMAssetStatus.Created,
|
|
1588
|
+
to: AXMAssetStatus.InStock,
|
|
1589
|
+
title: '@asset-management:assets.transitions.receive-to-stock',
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
from: AXMAssetStatus.InStock,
|
|
1593
|
+
to: AXMAssetStatus.Available,
|
|
1594
|
+
title: '@asset-management:assets.transitions.make-available',
|
|
1595
|
+
},
|
|
1043
1596
|
{
|
|
1044
1597
|
from: AXMAssetStatus.Available,
|
|
1045
|
-
to: AXMAssetStatus.
|
|
1046
|
-
title: '@asset-management:assets.transitions.
|
|
1047
|
-
// color: 'info' as AXStyleColorType,
|
|
1598
|
+
to: AXMAssetStatus.Reserved,
|
|
1599
|
+
title: '@asset-management:assets.transitions.reserve',
|
|
1048
1600
|
},
|
|
1049
1601
|
{
|
|
1050
|
-
from: AXMAssetStatus.
|
|
1602
|
+
from: AXMAssetStatus.Reserved,
|
|
1051
1603
|
to: AXMAssetStatus.Available,
|
|
1052
|
-
title: '@asset-management:assets.transitions.
|
|
1053
|
-
|
|
1604
|
+
title: '@asset-management:assets.transitions.cancel-reservation',
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
from: AXMAssetStatus.Reserved,
|
|
1608
|
+
to: AXMAssetStatus.Assigned,
|
|
1609
|
+
title: '@asset-management:assets.transitions.assign',
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
from: AXMAssetStatus.Reserved,
|
|
1613
|
+
to: AXMAssetStatus.Installed,
|
|
1614
|
+
title: '@asset-management:assets.transitions.install',
|
|
1054
1615
|
},
|
|
1055
|
-
// ---- Repair flow
|
|
1056
1616
|
{
|
|
1057
1617
|
from: AXMAssetStatus.Available,
|
|
1058
|
-
to: AXMAssetStatus.
|
|
1059
|
-
title: '@asset-management:assets.transitions.
|
|
1060
|
-
// color: 'warning' as AXStyleColorType,
|
|
1618
|
+
to: AXMAssetStatus.Assigned,
|
|
1619
|
+
title: '@asset-management:assets.transitions.assign',
|
|
1061
1620
|
},
|
|
1062
1621
|
{
|
|
1063
|
-
from: AXMAssetStatus.
|
|
1622
|
+
from: AXMAssetStatus.Assigned,
|
|
1064
1623
|
to: AXMAssetStatus.Available,
|
|
1065
|
-
title: '@asset-management:assets.transitions.
|
|
1066
|
-
// color: 'success' as AXStyleColorType,
|
|
1624
|
+
title: '@asset-management:assets.transitions.unassign',
|
|
1067
1625
|
},
|
|
1068
1626
|
{
|
|
1069
1627
|
from: AXMAssetStatus.Available,
|
|
1070
|
-
to: AXMAssetStatus.
|
|
1071
|
-
title: '@asset-management:assets.transitions.
|
|
1072
|
-
|
|
1628
|
+
to: AXMAssetStatus.Installed,
|
|
1629
|
+
title: '@asset-management:assets.transitions.install',
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
from: AXMAssetStatus.Assigned,
|
|
1633
|
+
to: AXMAssetStatus.Installed,
|
|
1634
|
+
title: '@asset-management:assets.transitions.install',
|
|
1073
1635
|
},
|
|
1074
1636
|
{
|
|
1075
|
-
from: AXMAssetStatus.
|
|
1076
|
-
to: AXMAssetStatus.
|
|
1077
|
-
title: '@asset-management:assets.transitions.
|
|
1078
|
-
// color: 'warning' as AXStyleColorType,
|
|
1637
|
+
from: AXMAssetStatus.Installed,
|
|
1638
|
+
to: AXMAssetStatus.Available,
|
|
1639
|
+
title: '@asset-management:assets.transitions.uninstall',
|
|
1079
1640
|
},
|
|
1080
|
-
// ---- Enable / disable
|
|
1081
1641
|
{
|
|
1082
1642
|
from: AXMAssetStatus.Available,
|
|
1083
|
-
to: AXMAssetStatus.
|
|
1084
|
-
title: '@
|
|
1085
|
-
// color: 'secondary' as AXStyleColorType,
|
|
1643
|
+
to: AXMAssetStatus.UnderInspection,
|
|
1644
|
+
title: '@asset-management:assets.transitions.start-inspection',
|
|
1086
1645
|
},
|
|
1087
1646
|
{
|
|
1088
|
-
from: AXMAssetStatus.
|
|
1647
|
+
from: AXMAssetStatus.Installed,
|
|
1648
|
+
to: AXMAssetStatus.UnderInspection,
|
|
1649
|
+
title: '@asset-management:assets.transitions.start-inspection',
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
from: AXMAssetStatus.UnderInspection,
|
|
1089
1653
|
to: AXMAssetStatus.Available,
|
|
1090
|
-
title: '@
|
|
1091
|
-
|
|
1654
|
+
title: '@asset-management:assets.transitions.complete-inspection',
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
from: AXMAssetStatus.UnderInspection,
|
|
1658
|
+
to: AXMAssetStatus.Installed,
|
|
1659
|
+
title: '@asset-management:assets.transitions.complete-inspection',
|
|
1092
1660
|
},
|
|
1093
1661
|
{
|
|
1094
1662
|
from: AXMAssetStatus.Available,
|
|
1095
|
-
to: AXMAssetStatus.
|
|
1096
|
-
title: '@
|
|
1097
|
-
// color: 'warning' as AXStyleColorType,
|
|
1663
|
+
to: AXMAssetStatus.UnderMaintenance,
|
|
1664
|
+
title: '@asset-management:assets.transitions.start-maintenance',
|
|
1098
1665
|
},
|
|
1099
1666
|
{
|
|
1100
|
-
from: AXMAssetStatus.
|
|
1667
|
+
from: AXMAssetStatus.Installed,
|
|
1668
|
+
to: AXMAssetStatus.UnderMaintenance,
|
|
1669
|
+
title: '@asset-management:assets.transitions.start-maintenance',
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
from: AXMAssetStatus.OutOfService,
|
|
1673
|
+
to: AXMAssetStatus.UnderMaintenance,
|
|
1674
|
+
title: '@asset-management:assets.transitions.start-maintenance',
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
from: AXMAssetStatus.UnderMaintenance,
|
|
1678
|
+
to: AXMAssetStatus.Available,
|
|
1679
|
+
title: '@asset-management:assets.transitions.complete-maintenance',
|
|
1680
|
+
},
|
|
1681
|
+
{
|
|
1682
|
+
from: AXMAssetStatus.UnderMaintenance,
|
|
1683
|
+
to: AXMAssetStatus.Installed,
|
|
1684
|
+
title: '@asset-management:assets.transitions.complete-maintenance',
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
from: AXMAssetStatus.Available,
|
|
1688
|
+
to: AXMAssetStatus.OutOfService,
|
|
1689
|
+
title: '@asset-management:assets.transitions.mark-out-of-service',
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
from: AXMAssetStatus.Installed,
|
|
1693
|
+
to: AXMAssetStatus.OutOfService,
|
|
1694
|
+
title: '@asset-management:assets.transitions.mark-out-of-service',
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
from: AXMAssetStatus.OutOfService,
|
|
1101
1698
|
to: AXMAssetStatus.Available,
|
|
1102
|
-
title: '@
|
|
1103
|
-
|
|
1699
|
+
title: '@asset-management:assets.transitions.restore-service',
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
from: AXMAssetStatus.OutOfService,
|
|
1703
|
+
to: AXMAssetStatus.Installed,
|
|
1704
|
+
title: '@asset-management:assets.transitions.restore-service',
|
|
1104
1705
|
},
|
|
1105
|
-
// ---- End of lifecycle
|
|
1106
1706
|
{
|
|
1107
1707
|
from: AXMAssetStatus.Available,
|
|
1108
1708
|
to: AXMAssetStatus.Retired,
|
|
1109
1709
|
title: '@asset-management:assets.transitions.retire',
|
|
1110
|
-
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
from: AXMAssetStatus.OutOfService,
|
|
1713
|
+
to: AXMAssetStatus.Retired,
|
|
1714
|
+
title: '@asset-management:assets.transitions.retire',
|
|
1111
1715
|
},
|
|
1112
1716
|
{
|
|
1113
1717
|
from: AXMAssetStatus.Retired,
|
|
1114
|
-
to: AXMAssetStatus.
|
|
1115
|
-
title: '@
|
|
1116
|
-
|
|
1718
|
+
to: AXMAssetStatus.Disposed,
|
|
1719
|
+
title: '@asset-management:assets.transitions.dispose',
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
from: AXMAssetStatus.Created,
|
|
1723
|
+
to: AXMAssetStatus.ReturnedToSupplier,
|
|
1724
|
+
title: '@asset-management:assets.transitions.return-to-supplier',
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
from: AXMAssetStatus.InStock,
|
|
1728
|
+
to: AXMAssetStatus.ReturnedToSupplier,
|
|
1729
|
+
title: '@asset-management:assets.transitions.return-to-supplier',
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
from: AXMAssetStatus.Available,
|
|
1733
|
+
to: AXMAssetStatus.Lost,
|
|
1734
|
+
title: '@asset-management:assets.transitions.mark-lost',
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
from: AXMAssetStatus.Assigned,
|
|
1738
|
+
to: AXMAssetStatus.Lost,
|
|
1739
|
+
title: '@asset-management:assets.transitions.mark-lost',
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
from: AXMAssetStatus.Installed,
|
|
1743
|
+
to: AXMAssetStatus.Lost,
|
|
1744
|
+
title: '@asset-management:assets.transitions.mark-lost',
|
|
1117
1745
|
},
|
|
1118
1746
|
];
|
|
1119
|
-
this.defaultStatus = AXMAssetStatus.
|
|
1747
|
+
this.defaultStatus = AXMAssetStatus.Created;
|
|
1120
1748
|
}
|
|
1121
1749
|
}
|
|
1122
1750
|
|
|
@@ -2484,5 +3112,5 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
2484
3112
|
* Generated bundle index. Do not edit.
|
|
2485
3113
|
*/
|
|
2486
3114
|
|
|
2487
|
-
export { ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY as A, RootConfig as R,
|
|
2488
|
-
//# sourceMappingURL=acorex-modules-asset-management-acorex-modules-asset-management-
|
|
3115
|
+
export { ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY as A, RootConfig as R, assetRentalHistoryRentActions as a, AXMAssetManagementAssetTypeEntityService as b, AXMAssetManagementAssetSystemTypeEntityService as c, ASSET_TYPE_COMPONENTS_SAVE_COMMAND as d, AXMAssetManagementAssetStatusProvider as e, AXMAssetManagementEntityProvider as f, AXMAssetManagementFeatureDefinitionProvider as g, AXMAssetManagementFeatureKeys as h, AXMAssetManagementMenuKeys as i, AXMAssetManagementMenuProvider as j, AXMAssetManagementModule as k, AXMAssetManagementPermissionDefinitionProvider as l, AXMAssetManagementPermissionKeys as m, AXMAssetManagementSearchCommandProvider as n, AXMAssetStatus as o, AXMAssetTypeComponentsPageComponentProvider as p, AXMAssetTypeSectionBuilderComponent as q, AXMAssetTypeSectionBuilderPageComponent as r, AXMSaveAssetTypeComponentsCommand as s, createAssetTypeSectionBuilderDefaultValue as t, normalizeAssetTypeBuilderLocalizedField as u, normalizeAssetTypeSectionBuilderValue as v };
|
|
3116
|
+
//# sourceMappingURL=acorex-modules-asset-management-acorex-modules-asset-management-BQcQ6ZR-.mjs.map
|