@acorex/modules 21.0.0-beta.2 → 21.0.0-beta.4
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-agent-registry-tool-configurator-widget-column.component-DDVQwyU4.mjs.map +1 -1
- package/fesm2022/{acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-CwLff8ut.mjs → acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-C-XsPEIg.mjs} +2 -2
- package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-C-XsPEIg.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-agent.entity-CsiCzwYK.mjs → acorex-modules-ai-management-agent.entity-D6-0_Ms3.mjs} +2 -2
- package/fesm2022/acorex-modules-ai-management-agent.entity-D6-0_Ms3.mjs.map +1 -0
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-column.component-tSpJYIZh.mjs.map +1 -1
- package/fesm2022/{acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-DQWeuAd6.mjs → acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-u1hZ4P5s.mjs} +2 -2
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-u1hZ4P5s.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-assist.entity-Be5vnFVn.mjs → acorex-modules-ai-management-assist.entity-DfW-FFCt.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-assist.entity-Be5vnFVn.mjs.map → acorex-modules-ai-management-assist.entity-DfW-FFCt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-model.entity-BjTtbWDk.mjs → acorex-modules-ai-management-model.entity-DiDaXVa3.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-model.entity-BjTtbWDk.mjs.map → acorex-modules-ai-management-model.entity-DiDaXVa3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-CfKav_1a.mjs → acorex-modules-ai-management-open-ai-endpoint.entity-CZLNKtl0.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-CfKav_1a.mjs.map → acorex-modules-ai-management-open-ai-endpoint.entity-CZLNKtl0.mjs.map} +1 -1
- package/fesm2022/acorex-modules-ai-management.mjs +4630 -1
- package/fesm2022/acorex-modules-ai-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-application-management.mjs +11 -15
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-p_zMwIBs.mjs → acorex-modules-asset-management-acorex-modules-asset-management-Blejt-Mo.mjs} +57 -51
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-Blejt-Mo.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-rental-history.entity-CXgiPWiW.mjs → acorex-modules-asset-management-asset-rental-history.entity-C6V8Nuvb.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-rental-history.entity-CXgiPWiW.mjs.map → acorex-modules-asset-management-asset-rental-history.entity-C6V8Nuvb.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-C-UodoTZ.mjs → acorex-modules-asset-management-asset-system-assignment.entity-CtCyaI46.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-assignment.entity-C-UodoTZ.mjs.map → acorex-modules-asset-management-asset-system-assignment.entity-CtCyaI46.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-DkV2P0sF.mjs → acorex-modules-asset-management-asset-system-type.entity-CfoB6Faf.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-DkV2P0sF.mjs.map → acorex-modules-asset-management-asset-system-type.entity-CfoB6Faf.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-bLGHHcCr.mjs → acorex-modules-asset-management-asset-system.entity-CvKC7MKH.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system.entity-bLGHHcCr.mjs.map → acorex-modules-asset-management-asset-system.entity-CvKC7MKH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-B_ct599s.mjs → acorex-modules-asset-management-asset-type-section-component.entity-xfRZM5vK.mjs} +32 -31
- package/fesm2022/acorex-modules-asset-management-asset-type-section-component.entity-xfRZM5vK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-BoONUtWp.mjs → acorex-modules-asset-management-asset-type-section.entity-DdEcyihk.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-BoONUtWp.mjs.map → acorex-modules-asset-management-asset-type-section.entity-DdEcyihk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-BjaLvZuH.mjs → acorex-modules-asset-management-asset-type.entity-D78ztUZ5.mjs} +108 -28
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-D78ztUZ5.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset.entity-Bn-WKIkL.mjs → acorex-modules-asset-management-asset.entity-3dFsNRkr.mjs} +2 -205
- package/fesm2022/acorex-modules-asset-management-asset.entity-3dFsNRkr.mjs.map +1 -0
- package/fesm2022/acorex-modules-asset-management.mjs +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DzCtP4qB.mjs → acorex-modules-auth-acorex-modules-auth-OxprG_fC.mjs} +13 -13
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-DzCtP4qB.mjs.map → acorex-modules-auth-acorex-modules-auth-OxprG_fC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BQF1I-wB.mjs → acorex-modules-auth-app-chooser.component-CVIfaOZn.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-app-chooser.component-BQF1I-wB.mjs.map → acorex-modules-auth-app-chooser.component-CVIfaOZn.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-login.module-5ZArig0w.mjs → acorex-modules-auth-login.module-DcHZK-R8.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-5ZArig0w.mjs.map → acorex-modules-auth-login.module-DcHZK-R8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-a4QkegZJ.mjs → acorex-modules-auth-master.layout-BxFGH1Ns.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-a4QkegZJ.mjs.map → acorex-modules-auth-master.layout-BxFGH1Ns.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-DTxqNJ2C.mjs → acorex-modules-auth-oauth-callback.component-D7wdpp8i.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-oauth-callback.component-DTxqNJ2C.mjs.map → acorex-modules-auth-oauth-callback.component-D7wdpp8i.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BecuTKvO.mjs → acorex-modules-auth-password.component-BStzALYp.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BecuTKvO.mjs.map → acorex-modules-auth-password.component-BStzALYp.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-DmJZoAp1.mjs → acorex-modules-auth-password.component-CD6RCeFv.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-DmJZoAp1.mjs.map → acorex-modules-auth-password.component-CD6RCeFv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-DMqZIUs0.mjs → acorex-modules-auth-routes-DaEUQGPG.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-DMqZIUs0.mjs.map → acorex-modules-auth-routes-DaEUQGPG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-settings.provider-DkhbuDBO.mjs → acorex-modules-auth-settings.provider-CN7Lb38l.mjs} +26 -31
- package/fesm2022/acorex-modules-auth-settings.provider-CN7Lb38l.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-C-apfDuQ.mjs → acorex-modules-auth-tenant-chooser.component-B-iqLVe6.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-tenant-chooser.component-C-apfDuQ.mjs.map → acorex-modules-auth-tenant-chooser.component-B-iqLVe6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-two-factor.module-BqbFsq9G.mjs → acorex-modules-auth-two-factor.module-BMKzyFEP.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-BqbFsq9G.mjs.map → acorex-modules-auth-two-factor.module-BMKzyFEP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-D7vXGWMN.mjs → acorex-modules-auth-user-sessions.component-Xnz3S1SD.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-D7vXGWMN.mjs.map → acorex-modules-auth-user-sessions.component-Xnz3S1SD.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +8 -33
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1109 -2289
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/{acorex-modules-dashboard-management-acorex-modules-dashboard-management-qboFnd_p.mjs → acorex-modules-dashboard-management-acorex-modules-dashboard-management-WBZHuJyY.mjs} +3 -4
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-WBZHuJyY.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-index-DQHOwMS6.mjs → acorex-modules-dashboard-management-index-oHkAfJTJ.mjs} +2 -2
- package/fesm2022/{acorex-modules-dashboard-management-index-DQHOwMS6.mjs.map → acorex-modules-dashboard-management-index-oHkAfJTJ.mjs.map} +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +116 -15
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +13 -17
- package/fesm2022/acorex-modules-form-template-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-locale-management.mjs +68 -70
- package/fesm2022/acorex-modules-locale-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-acorex-modules-maintenance-management-B5wf4zMI.mjs → acorex-modules-maintenance-management-acorex-modules-maintenance-management-C0LLBxMR.mjs} +40 -38
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-C0LLBxMR.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-Cv5KnboB.mjs → acorex-modules-maintenance-management-failure-effect.entity-D8yOqKWQ.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-Cv5KnboB.mjs.map → acorex-modules-maintenance-management-failure-effect.entity-D8yOqKWQ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-BBL3-hfv.mjs → acorex-modules-maintenance-management-failure-mode-asset-type.entity-CHXkbEHG.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-BBL3-hfv.mjs.map → acorex-modules-maintenance-management-failure-mode-asset-type.entity-CHXkbEHG.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-nxOdHZxu.mjs → acorex-modules-maintenance-management-failure-mode-mechanism.entity-yR11e9TU.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-nxOdHZxu.mjs.map → acorex-modules-maintenance-management-failure-mode-mechanism.entity-yR11e9TU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-ApD80Scc.mjs → acorex-modules-maintenance-management-failure-mode-solution.entity-BD4Uz6G-.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-ApD80Scc.mjs.map → acorex-modules-maintenance-management-failure-mode-solution.entity-BD4Uz6G-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-CibfwJLG.mjs → acorex-modules-maintenance-management-failure-register-cause.entity-CZFgl-t4.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-CibfwJLG.mjs.map → acorex-modules-maintenance-management-failure-register-cause.entity-CZFgl-t4.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-DpoqULBf.mjs → acorex-modules-maintenance-management-failure-register-effect.entity-DQE5nqiN.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-DpoqULBf.mjs.map → acorex-modules-maintenance-management-failure-register-effect.entity-DQE5nqiN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-0-J2Hkmn.mjs → acorex-modules-maintenance-management-failure-register-mechanism.entity-C6mhbWzU.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-0-J2Hkmn.mjs.map → acorex-modules-maintenance-management-failure-register-mechanism.entity-C6mhbWzU.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-C4Az4Rr9.mjs → acorex-modules-maintenance-management-failure-register.entity-DSnrVaWI.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-C4Az4Rr9.mjs.map → acorex-modules-maintenance-management-failure-register.entity-DSnrVaWI.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BZo6UUun.mjs → acorex-modules-maintenance-management-failure-severity.entity-DZoMhgW7.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BZo6UUun.mjs.map → acorex-modules-maintenance-management-failure-severity.entity-DZoMhgW7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-maintenance-template.entity-DxYY0hpG.mjs → acorex-modules-maintenance-management-maintenance-template.entity-qf2WNKB_.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-maintenance-template.entity-DxYY0hpG.mjs.map → acorex-modules-maintenance-management-maintenance-template.entity-qf2WNKB_.mjs.map} +1 -1
- package/fesm2022/acorex-modules-maintenance-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +34 -38
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-order-management-settings.provider-BzNJIZCu.mjs → acorex-modules-order-management-settings.provider-DF8JQ1PZ.mjs} +6 -11
- package/fesm2022/acorex-modules-order-management-settings.provider-DF8JQ1PZ.mjs.map +1 -0
- package/fesm2022/acorex-modules-order-management.mjs +2 -2
- package/fesm2022/{acorex-modules-organization-management-acorex-modules-organization-management-CUWv9tbF.mjs → acorex-modules-organization-management-acorex-modules-organization-management-BDnIsf2j.mjs} +27 -27
- package/fesm2022/{acorex-modules-organization-management-acorex-modules-organization-management-CUWv9tbF.mjs.map → acorex-modules-organization-management-acorex-modules-organization-management-BDnIsf2j.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BKWt1YeU.mjs → acorex-modules-organization-management-add-business-unit-to-business-unit.command-BB8-LTp8.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-business-unit-to-business-unit.command-BKWt1YeU.mjs.map → acorex-modules-organization-management-add-business-unit-to-business-unit.command-BB8-LTp8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-yRvXPaBm.mjs → acorex-modules-organization-management-add-position-to-business-unit.command-BaEW7Jx8.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-add-position-to-business-unit.command-yRvXPaBm.mjs.map → acorex-modules-organization-management-add-position-to-business-unit.command-BaEW7Jx8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-business-unit.entity-DwRpPYNe.mjs → acorex-modules-organization-management-business-unit.entity-CuFBCQ7T.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-business-unit.entity-DwRpPYNe.mjs.map → acorex-modules-organization-management-business-unit.entity-CuFBCQ7T.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-chart.entity-lm0udbe7.mjs → acorex-modules-organization-management-chart.entity-B7oSgI4o.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-chart.entity-lm0udbe7.mjs.map → acorex-modules-organization-management-chart.entity-B7oSgI4o.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-company.entity-DW43rdVi.mjs → acorex-modules-organization-management-company.entity-BSDic10Z.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-company.entity-DW43rdVi.mjs.map → acorex-modules-organization-management-company.entity-BSDic10Z.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-entity.provider-DGmP_q74.mjs → acorex-modules-organization-management-entity.provider-BkWwyLUZ.mjs} +15 -15
- package/fesm2022/{acorex-modules-organization-management-entity.provider-DGmP_q74.mjs.map → acorex-modules-organization-management-entity.provider-BkWwyLUZ.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-Bm0hlncD.mjs → acorex-modules-organization-management-feature-definition.provider-D8Tsj3hk.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-feature-definition.provider-Bm0hlncD.mjs.map → acorex-modules-organization-management-feature-definition.provider-D8Tsj3hk.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-BdMIRbOs.mjs → acorex-modules-organization-management-job-definition-pages-component.provider-cHJU9tB2.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-pages-component.provider-BdMIRbOs.mjs.map → acorex-modules-organization-management-job-definition-pages-component.provider-cHJU9tB2.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-DtZTvokB.mjs → acorex-modules-organization-management-job-definition-responsibilities-page.component-Yu4gOQ6K.mjs} +3 -3
- package/fesm2022/{acorex-modules-organization-management-job-definition-responsibilities-page.component-DtZTvokB.mjs.map → acorex-modules-organization-management-job-definition-responsibilities-page.component-Yu4gOQ6K.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-B2uaOaWD.mjs → acorex-modules-organization-management-job-definition-skills-page.component-DV8x-8VB.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition-skills-page.component-B2uaOaWD.mjs.map → acorex-modules-organization-management-job-definition-skills-page.component-DV8x-8VB.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-enxYD1x1.mjs → acorex-modules-organization-management-job-definition.entity-DAo8xR1H.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-enxYD1x1.mjs.map → acorex-modules-organization-management-job-definition.entity-DAo8xR1H.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-CRm1uNQa.mjs → acorex-modules-organization-management-job-level.datasource-C7ElEuZx.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.datasource-CRm1uNQa.mjs.map → acorex-modules-organization-management-job-level.datasource-C7ElEuZx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-D_m_u12t.mjs → acorex-modules-organization-management-job-level.entity-Dw3YK9-O.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-level.entity-D_m_u12t.mjs.map → acorex-modules-organization-management-job-level.entity-Dw3YK9-O.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-menu.provider-DZSDOHOa.mjs → acorex-modules-organization-management-menu.provider-DWt62uxv.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-menu.provider-DZSDOHOa.mjs.map → acorex-modules-organization-management-menu.provider-DWt62uxv.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-BUSEFJJZ.mjs → acorex-modules-organization-management-org-chart.page-Rh8xmXaj.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-BUSEFJJZ.mjs.map → acorex-modules-organization-management-org-chart.page-Rh8xmXaj.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-DEfUgyRh.mjs → acorex-modules-organization-management-permission-definition.provider-3TD89ErD.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-permission-definition.provider-DEfUgyRh.mjs.map → acorex-modules-organization-management-permission-definition.provider-3TD89ErD.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-position.entity-D1JU0rla.mjs → acorex-modules-organization-management-position.entity-Cysj_53n.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-position.entity-D1JU0rla.mjs.map → acorex-modules-organization-management-position.entity-Cysj_53n.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-D2WMXNJg.mjs → acorex-modules-organization-management-remove-position-from-business-unit.command-BkQyq1ho.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-remove-position-from-business-unit.command-D2WMXNJg.mjs.map → acorex-modules-organization-management-remove-position-from-business-unit.command-BkQyq1ho.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-DyJIOBOp.mjs → acorex-modules-organization-management-replace-position-assignee.command-Cf8VR0tX.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-replace-position-assignee.command-DyJIOBOp.mjs.map → acorex-modules-organization-management-replace-position-assignee.command-Cf8VR0tX.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BTXGfRVf.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeQ-nXpS.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BTXGfRVf.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-BeQ-nXpS.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Cv_Aicyi.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Ie_39X99.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Cv_Aicyi.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-Ie_39X99.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-42Aqvq6J.mjs → acorex-modules-organization-management-responsibilities-matrix.component-58s3Qfyg.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-42Aqvq6J.mjs.map → acorex-modules-organization-management-responsibilities-matrix.component-58s3Qfyg.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-DIy5Kv_4.mjs → acorex-modules-organization-management-responsibility-level.entity-DWWQB7ke.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility-level.entity-DIy5Kv_4.mjs.map → acorex-modules-organization-management-responsibility-level.entity-DWWQB7ke.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-BBlERaap.mjs → acorex-modules-organization-management-responsibility.entity-C4V55fKt.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-BBlERaap.mjs.map → acorex-modules-organization-management-responsibility.entity-C4V55fKt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-settings.provider-BohjJ4JD.mjs → acorex-modules-organization-management-settings.provider-BD70P1XV.mjs} +21 -24
- package/fesm2022/acorex-modules-organization-management-settings.provider-BD70P1XV.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-UDotxAM4.mjs → acorex-modules-organization-management-team-business-unit.entity-B5T1fYAF.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-business-unit.entity-UDotxAM4.mjs.map → acorex-modules-organization-management-team-business-unit.entity-B5T1fYAF.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-DfJ-QUdc.mjs → acorex-modules-organization-management-team-member-role.entity-dPp_dK-g.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-DfJ-QUdc.mjs.map → acorex-modules-organization-management-team-member-role.entity-dPp_dK-g.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-C13rpUNN.mjs → acorex-modules-organization-management-team-member.entity-CZPmF9f6.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-C13rpUNN.mjs.map → acorex-modules-organization-management-team-member.entity-CZPmF9f6.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team.entity-CTajHYMs.mjs → acorex-modules-organization-management-team.entity-CCfWLgDx.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team.entity-CTajHYMs.mjs.map → acorex-modules-organization-management-team.entity-CCfWLgDx.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management.mjs +1 -1
- package/fesm2022/{acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs → acorex-modules-platform-dev-tools-settings.provider-DKmgBUYt.mjs} +2 -2
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-DKmgBUYt.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-dev-tools.mjs +2 -2
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DCR1ziGj.mjs → acorex-modules-platform-management-acorex-modules-platform-management-D0D56pWx.mjs} +12 -4
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-D0D56pWx.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management-entity-master-actions-for-ai.util-OCk5eqQz.mjs +56 -0
- package/fesm2022/acorex-modules-platform-management-entity-master-actions-for-ai.util-OCk5eqQz.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-management-list-platform-navigation-for-ai.query-C3-eBMwF.mjs +198 -0
- package/fesm2022/acorex-modules-platform-management-list-platform-navigation-for-ai.query-C3-eBMwF.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-registered-entities.query-B6-zV_Ml.mjs → acorex-modules-platform-management-list-registered-entities.query-BZVD9YPU.mjs} +26 -4
- package/fesm2022/acorex-modules-platform-management-list-registered-entities.query-BZVD9YPU.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-ClShYP8I.mjs → acorex-modules-platform-management-menu-list.component-BE9_j1Xy.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-menu-list.component-ClShYP8I.mjs.map → acorex-modules-platform-management-menu-list.component-BE9_j1Xy.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/{acorex-modules-settings-management-acorex-modules-settings-management-7TUWK_qS.mjs → acorex-modules-settings-management-acorex-modules-settings-management-DHihkQXi.mjs} +88 -13
- package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-DHihkQXi.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-DWSlCjno.mjs → acorex-modules-settings-management-permission-definition.provider-DZoXbvt_.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-permission-definition.provider-DWSlCjno.mjs.map → acorex-modules-settings-management-permission-definition.provider-DZoXbvt_.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-settings-management-setting-page.component-DukQDWHe.mjs → acorex-modules-settings-management-setting-page.component-B6UoszKZ.mjs} +5 -4
- package/fesm2022/acorex-modules-settings-management-setting-page.component-B6UoszKZ.mjs.map +1 -0
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-C-PiEhLL.mjs → acorex-modules-settings-management-setting-view.component-BGCXJQ_L.mjs} +2 -2
- package/fesm2022/{acorex-modules-settings-management-setting-view.component-C-PiEhLL.mjs.map → acorex-modules-settings-management-setting-view.component-BGCXJQ_L.mjs.map} +1 -1
- package/fesm2022/acorex-modules-settings-management.mjs +1 -1
- package/fesm2022/{acorex-modules-task-management-acorex-modules-task-management-C-inbbcy.mjs → acorex-modules-task-management-acorex-modules-task-management-ZcP94xuL.mjs} +25 -28
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-ZcP94xuL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-task-management-task-board.page-BOrgjwax.mjs → acorex-modules-task-management-task-board.page-CEW3SrBz.mjs} +2 -2
- package/fesm2022/{acorex-modules-task-management-task-board.page-BOrgjwax.mjs.map → acorex-modules-task-management-task-board.page-CEW3SrBz.mjs.map} +1 -1
- package/fesm2022/acorex-modules-task-management.mjs +1 -1
- package/fesm2022/acorex-modules-tenant-management.mjs +3 -7
- package/fesm2022/acorex-modules-tenant-management.mjs.map +1 -1
- package/package.json +3 -3
- package/platform-management/README.md +4 -0
- package/types/acorex-modules-ai-management.d.ts +150 -527
- package/types/acorex-modules-asset-management.d.ts +7 -79
- package/types/acorex-modules-common.d.ts +3 -6
- package/types/acorex-modules-conversation.d.ts +60 -4
- package/types/acorex-modules-document-management.d.ts +20 -8
- package/types/acorex-modules-maintenance-management.d.ts +0 -2
- package/types/acorex-modules-notification-management.d.ts +0 -3
- package/types/acorex-modules-settings-management.d.ts +3 -0
- package/types/acorex-modules-task-management.d.ts +0 -1
- package/types/acorex-modules-tenant-management.d.ts +0 -1
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-DZ_SXRAW.mjs +0 -8782
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-DZ_SXRAW.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-agent-registry-tool-configurator-widget-edit.component-CwLff8ut.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-agent.entity-CsiCzwYK.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-BWxdBe9t.mjs +0 -1255
- package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-BWxdBe9t.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-DQWeuAd6.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-index-BFMvZNvI.mjs +0 -2
- package/fesm2022/acorex-modules-ai-management-index-BFMvZNvI.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-p_zMwIBs.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-state-history.entity-Cwics4Zo.mjs +0 -258
- package/fesm2022/acorex-modules-asset-management-asset-state-history.entity-Cwics4Zo.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-status.rules-B7KwWQEe.mjs +0 -98
- package/fesm2022/acorex-modules-asset-management-asset-status.rules-B7KwWQEe.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type-section-component.entity-B_ct599s.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-BjaLvZuH.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset.entity-Bn-WKIkL.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-assetLifecycle-state.provider-DZ5r2zx7.mjs +0 -192
- package/fesm2022/acorex-modules-asset-management-assetLifecycle-state.provider-DZ5r2zx7.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-status.provider-C41t4e2U.mjs +0 -363
- package/fesm2022/acorex-modules-asset-management-status.provider-C41t4e2U.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-settings.provider-DkhbuDBO.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-qboFnd_p.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-B5wf4zMI.mjs.map +0 -1
- package/fesm2022/acorex-modules-order-management-settings.provider-BzNJIZCu.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-settings.provider-BohjJ4JD.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DCR1ziGj.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-list-registered-entities.query-B6-zV_Ml.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-acorex-modules-settings-management-7TUWK_qS.mjs.map +0 -1
- package/fesm2022/acorex-modules-settings-management-setting-page.component-DukQDWHe.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-acorex-modules-task-management-C-inbbcy.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acorex-modules-asset-management-asset-type-section.entity-BoONUtWp.mjs","sources":["../../../../libs/modules/asset-management/src/lib/entities/asset-type-section/asset-type-section.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY } from '../../features/asset-type-section-builder';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\n/**\n * Section header/metadata ({@link AXMAssetManagementAssetTypeSectionEntityModel}) with related\n * component rows ({@link AXMAssetManagementAssetTypeSectionComponentEntityModel}), similar in spirit\n * to report parameter groups (title + nested items) in report-management report definitions.\n */\nexport async function factory(_injector: Injector): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.assetTypeSection.name,\n title: RootConfig.entities.assetTypeSection.title,\n icon: RootConfig.entities.assetTypeSection.icon,\n plugins: [{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } } ,\n {name : 'notes'}\n ],\n pages: [\n {\n componentKey: ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY,\n field: 'questions',\n title: '@assessment-management:questionnaires.entities.questionnaire.fields.questions.title',\n icon: 'fa-light fa-list-check',\n layout: { order: 1, position: 'after' },\n },\n ],\n relatedEntities: [\n // {\n // entity: `${RootConfig.module.name}.${RootConfig.entities.assetTypeSectionComponent.name}`,\n // title:\n // '@asset-management:assetTypeSections.entities.assetTypeSection.related-entities.assetTypeSectionComponents.title',\n // //icon: RootConfig.entities.assetTypeSectionComponent.icon,\n // //columns: ['roleName', 'count', 'hasMaintenance'],\n // conditions: [entityDetailsSimpleCondition('assetTypeSectionId')],\n // actions: [...entityDetailsCrudActions('assetTypeSectionId')],\n // layout: { type: 'tab-list' },\n // },\n ],\n formats: {\n individual: RootConfig.entities.assetTypeSection.title,\n plural: RootConfig.entities.assetTypeSection.titlePlural,\n searchResult: { title: '{{ title }}' },\n },\n groups: [\n {\n id: 'basic-info',\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'assetTypeId',\n title: 'Asset Type ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true },\n options: { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } },\n },\n {\n name: 'code',\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.code.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'number',\n unique: { enabled: true },\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n placeholder: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.code.placeholder',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.title.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.title.placeholder',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n ],\n columns: [{ name: 'code' }, { name: 'title' } ],\n queries: {},\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AASA;AAEA;AAEA;;;;AAIG;AACI,eAAe,OAAO,CAAC,SAAmB,EAAA;AAC/C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACjD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAA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,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACxE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
1
|
+
{"version":3,"file":"acorex-modules-asset-management-asset-type-section.entity-DdEcyihk.mjs","sources":["../../../../libs/modules/asset-management/src/lib/entities/asset-type-section/asset-type-section.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { AXPWidgetsList } from '@acorex/modules/common';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport { entityMasterCrudActions, entityMasterRecordActions } from '@acorex/platform/layout/entity';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY } from '../../features/asset-type-section-builder';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\n/**\n * Section header/metadata ({@link AXMAssetManagementAssetTypeSectionEntityModel}) with related\n * component rows ({@link AXMAssetManagementAssetTypeSectionComponentEntityModel}), similar in spirit\n * to report parameter groups (title + nested items) in report-management report definitions.\n */\nexport async function factory(_injector: Injector): Promise<AXPEntity | null> {\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.assetTypeSection.name,\n title: RootConfig.entities.assetTypeSection.title,\n icon: RootConfig.entities.assetTypeSection.icon,\n plugins: [{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } } ,\n {name : 'notes'}\n ],\n pages: [\n {\n componentKey: ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY,\n field: 'questions',\n title: '@assessment-management:questionnaires.entities.questionnaire.fields.questions.title',\n icon: 'fa-light fa-list-check',\n layout: { order: 1, position: 'after' },\n },\n ],\n relatedEntities: [\n // {\n // entity: `${RootConfig.module.name}.${RootConfig.entities.assetTypeSectionComponent.name}`,\n // title:\n // '@asset-management:assetTypeSections.entities.assetTypeSection.related-entities.assetTypeSectionComponents.title',\n // //icon: RootConfig.entities.assetTypeSectionComponent.icon,\n // //columns: ['roleName', 'count', 'hasMaintenance'],\n // conditions: [entityDetailsSimpleCondition('assetTypeSectionId')],\n // actions: [...entityDetailsCrudActions('assetTypeSectionId')],\n // layout: { type: 'tab-list' },\n // },\n ],\n formats: {\n individual: RootConfig.entities.assetTypeSection.title,\n plural: RootConfig.entities.assetTypeSection.titlePlural,\n searchResult: { title: '{{ title }}' },\n },\n groups: [\n {\n id: 'basic-info',\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.groups.basic-info',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'assetTypeId',\n title: 'Asset Type ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true },\n options: { sort: { enabled: false }, filter: { advance: { enabled: false }, inline: { enabled: false } } },\n },\n {\n name: 'code',\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.code.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'number',\n unique: { enabled: true },\n interface: {\n type: AXPWidgetsList.Editors.NumberBox,\n options: {\n placeholder: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.code.placeholder',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.title.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsList.Editors.TextBox,\n options: {\n placeholder: '@asset-management:assetTypeSections.entities.assetTypeSection.fields.title.placeholder',\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n ],\n columns: [{ name: 'code' }, { name: 'title' } ],\n queries: {},\n interfaces: {\n master: {\n create: {\n sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n },\n update: {\n sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [{ id: 'basic-info', order: 1, layout: { positions: { lg: { colSpan: 12 } } } }],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":[],"mappings":";;;;;AAAA;AASA;AAEA;AAEA;;;;AAIG;AACI,eAAe,OAAO,CAAC,SAAmB,EAAA;AAC/C,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,KAAK;AACjD,QAAA,IAAI,EAAE,UAAU,CAAC,QAAQ,CAAC,gBAAgB,CAAC,IAAI;AAC/C,QAAA,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;YACvE,EAAC,IAAI,EAAG,OAAO;AACxB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA;AACE,gBAAA,YAAY,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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RootConfig
|
|
1
|
+
import { RootConfig } from '@acorex/modules/maintenance-management';
|
|
2
2
|
import { createAllQueryView } from '@acorex/platform/common';
|
|
3
3
|
import { entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex/platform/layout/entity';
|
|
4
4
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
5
|
-
import { a as AXMAssetManagementAssetTypeEntityService, R as RootConfig, A as ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY } from './acorex-modules-asset-management-acorex-modules-asset-management-
|
|
5
|
+
import { a as AXMAssetManagementAssetTypeEntityService, R as RootConfig$1, A as ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY } from './acorex-modules-asset-management-acorex-modules-asset-management-Blejt-Mo.mjs';
|
|
6
6
|
|
|
7
7
|
//#region ---- Imports ----
|
|
8
8
|
//#endregion
|
|
@@ -16,15 +16,15 @@ const hasMaintenanceByComponents = (components) => {
|
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
18
|
* Entity definition aligned with {@link AXMAssetManagementAssetTypeEntityModel}.
|
|
19
|
-
* Categories use `categoryIds` (see category plugin `propertyName`). `
|
|
19
|
+
* Categories use `categoryIds` (see category plugin `propertyName`). `maintenanceTypeIds` is shown when `hasMaintenance` is enabled.
|
|
20
20
|
*/
|
|
21
21
|
async function factory(injector) {
|
|
22
22
|
const dataService = injector.get(AXMAssetManagementAssetTypeEntityService);
|
|
23
23
|
const entityDef = {
|
|
24
|
-
module: RootConfig.module.name,
|
|
25
|
-
name: RootConfig.entities.assetType.name,
|
|
26
|
-
title: RootConfig.entities.assetType.title,
|
|
27
|
-
icon: RootConfig.entities.assetType.icon,
|
|
24
|
+
module: RootConfig$1.module.name,
|
|
25
|
+
name: RootConfig$1.entities.assetType.name,
|
|
26
|
+
title: RootConfig$1.entities.assetType.title,
|
|
27
|
+
icon: RootConfig$1.entities.assetType.icon,
|
|
28
28
|
plugins: [
|
|
29
29
|
{ name: 'unique-fields', options: { fields: 'code', scope: 'global' } },
|
|
30
30
|
{ name: 'category', options: { appearance: { icon: true, color: true } } },
|
|
@@ -49,31 +49,34 @@ async function factory(injector) {
|
|
|
49
49
|
],
|
|
50
50
|
relatedEntities: [
|
|
51
51
|
{
|
|
52
|
-
entity: `${RootConfig
|
|
52
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.activityTypeAssetType.name}`,
|
|
53
53
|
title: '@asset-management:assetTypes.entities.assetType.related-entities.activity-type-asset-types.title',
|
|
54
|
-
icon: RootConfig
|
|
54
|
+
icon: RootConfig.entities.activityTypeAssetType.icon,
|
|
55
|
+
hidden: `{{ ![true, "true", 1, "1"].includes(context.eval("hasMaintenance")) }}`,
|
|
55
56
|
conditions: [entityDetailsSimpleCondition('assetTypeId')],
|
|
56
57
|
actions: [...entityDetailsCrudActions('assetTypeId')],
|
|
57
58
|
layout: { type: 'page-list', position: 'after', order: 4 },
|
|
58
59
|
},
|
|
59
|
-
{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
},
|
|
60
|
+
// {
|
|
61
|
+
// entity: `${RootConfigMaintenance.module.name}.${RootConfigMaintenance.entities.maintenanceTemplate.name}`,
|
|
62
|
+
// title: '@asset-management:assetTypes.entities.assetType.related-entities.maintenance-templates.title',
|
|
63
|
+
// icon: RootConfigMaintenance.entities.maintenanceTemplate.icon,
|
|
64
|
+
// hidden: `{{ ![true, "true", 1, "1"].includes(context.eval("hasMaintenance")) }}`,
|
|
65
|
+
// conditions: [entityDetailsSimpleCondition('assetTypeId')],
|
|
66
|
+
// excludeProperties: ['assetTypeId'],
|
|
67
|
+
// actions: [...entityDetailsCrudActions('assetTypeId')],
|
|
68
|
+
// layout: { type: 'page-list', position: 'after', order: 6 },
|
|
69
|
+
// },
|
|
68
70
|
],
|
|
69
71
|
formats: {
|
|
70
|
-
individual: RootConfig.entities.assetType.title,
|
|
71
|
-
plural: RootConfig.entities.assetType.titlePlural,
|
|
72
|
+
individual: RootConfig$1.entities.assetType.title,
|
|
73
|
+
plural: RootConfig$1.entities.assetType.titlePlural,
|
|
72
74
|
searchResult: { title: '{{ title }}' },
|
|
73
75
|
displayName: '@general:terms.common.overview',
|
|
74
76
|
},
|
|
75
77
|
groups: [
|
|
76
78
|
{ id: 'basic-info', title: '@asset-management:assetTypes.entities.assetType.groups.basic-info' },
|
|
79
|
+
{ id: 'description-info', title: '@asset-management:assetTypes.entities.assetType.groups.description-info' },
|
|
77
80
|
{
|
|
78
81
|
id: 'components',
|
|
79
82
|
title: '@asset-management:assetTypes.entities.assetType.groups.components',
|
|
@@ -137,10 +140,53 @@ async function factory(injector) {
|
|
|
137
140
|
},
|
|
138
141
|
validations: [{ rule: 'required' }],
|
|
139
142
|
},
|
|
143
|
+
{
|
|
144
|
+
name: 'hasMaintenance',
|
|
145
|
+
title: '@asset-management:assetTypes.entities.assetType.fields.hasMaintenance.title',
|
|
146
|
+
groupId: 'basic-info',
|
|
147
|
+
schema: {
|
|
148
|
+
dataType: 'boolean',
|
|
149
|
+
defaultValue: false,
|
|
150
|
+
interface: {
|
|
151
|
+
type: AXPWidgetsCatalog.toggle,
|
|
152
|
+
},
|
|
153
|
+
},
|
|
154
|
+
options: {
|
|
155
|
+
sort: { enabled: true },
|
|
156
|
+
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
157
|
+
},
|
|
158
|
+
validations: [{ rule: 'required' }],
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
name: 'maintenanceTypeIds',
|
|
162
|
+
title: '@asset-management:assetTypes.entities.assetType.fields.maintenanceTypeIds.title',
|
|
163
|
+
groupId: 'basic-info',
|
|
164
|
+
schema: {
|
|
165
|
+
dataType: 'array',
|
|
166
|
+
nullable: true,
|
|
167
|
+
defaultValue: [],
|
|
168
|
+
visible: `{{ [true, "true", 1, "1"].includes(context.eval("hasMaintenance")) }}`,
|
|
169
|
+
interface: {
|
|
170
|
+
type: AXPWidgetsCatalog.lookup,
|
|
171
|
+
options: {
|
|
172
|
+
entity: `${RootConfig.module.name}.${RootConfig.entities.maintenanceType.name}`,
|
|
173
|
+
textField: 'title',
|
|
174
|
+
valueField: 'id',
|
|
175
|
+
look: 'drop-down',
|
|
176
|
+
multiple: true,
|
|
177
|
+
hasClearButton: true,
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
options: {
|
|
182
|
+
sort: { enabled: false },
|
|
183
|
+
filter: { advance: { enabled: false }, inline: { enabled: false } },
|
|
184
|
+
},
|
|
185
|
+
},
|
|
140
186
|
{
|
|
141
187
|
name: 'description',
|
|
142
188
|
title: '@asset-management:assetTypes.entities.assetType.fields.description.title',
|
|
143
|
-
groupId: '
|
|
189
|
+
groupId: 'description-info',
|
|
144
190
|
schema: {
|
|
145
191
|
dataType: 'string',
|
|
146
192
|
interface: {
|
|
@@ -176,36 +222,70 @@ async function factory(injector) {
|
|
|
176
222
|
{ name: 'name', options: { order: 2 } },
|
|
177
223
|
{ name: 'title', options: { order: 3 } },
|
|
178
224
|
{ name: 'description', options: { order: 4 } },
|
|
225
|
+
{ name: 'hasMaintenance', options: { order: 5 } },
|
|
179
226
|
],
|
|
180
227
|
queries: {},
|
|
181
228
|
interfaces: {
|
|
182
229
|
master: {
|
|
183
230
|
create: {
|
|
184
|
-
sections: [
|
|
231
|
+
sections: [
|
|
232
|
+
{ id: 'basic-info', order: 1 },
|
|
233
|
+
{ id: 'description-info', order: 2 },
|
|
234
|
+
],
|
|
185
235
|
properties: [
|
|
186
236
|
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
187
237
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
188
238
|
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
189
|
-
{ name: '
|
|
239
|
+
{ name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
240
|
+
{
|
|
241
|
+
name: 'maintenanceTypeIds',
|
|
242
|
+
layout: { positions: { lg: { colSpan: 12, order: 6 } } },
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
name: 'description',
|
|
246
|
+
layout: { positions: { lg: { colSpan: 12, order: 4 } }, label: { visible: false } },
|
|
247
|
+
},
|
|
190
248
|
],
|
|
191
249
|
},
|
|
192
250
|
update: {
|
|
193
|
-
sections: [
|
|
251
|
+
sections: [
|
|
252
|
+
{ id: 'basic-info', order: 1 },
|
|
253
|
+
{ id: 'description-info', order: 2 },
|
|
254
|
+
],
|
|
194
255
|
properties: [
|
|
195
256
|
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
196
257
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
197
258
|
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
198
|
-
{ name: '
|
|
259
|
+
{ name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
260
|
+
{
|
|
261
|
+
name: 'maintenanceTypeIds',
|
|
262
|
+
layout: { positions: { lg: { colSpan: 12, order: 6 } } },
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
name: 'description',
|
|
266
|
+
layout: { positions: { lg: { colSpan: 12, order: 4 } }, label: { visible: false } },
|
|
267
|
+
},
|
|
199
268
|
],
|
|
200
269
|
},
|
|
201
270
|
single: {
|
|
202
271
|
title: '{{ title }}',
|
|
203
|
-
sections: [
|
|
272
|
+
sections: [
|
|
273
|
+
{ id: 'basic-info', order: 1 },
|
|
274
|
+
{ id: 'description-info', order: 2 },
|
|
275
|
+
],
|
|
204
276
|
properties: [
|
|
205
277
|
{ name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
206
278
|
{ name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
207
279
|
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },
|
|
208
|
-
{
|
|
280
|
+
{
|
|
281
|
+
name: 'description',
|
|
282
|
+
layout: { positions: { lg: { colSpan: 12, order: 4 } }, label: { visible: false } },
|
|
283
|
+
},
|
|
284
|
+
{ name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
285
|
+
{
|
|
286
|
+
name: 'maintenanceTypeIds',
|
|
287
|
+
layout: { positions: { lg: { colSpan: 12, order: 6 } } },
|
|
288
|
+
},
|
|
209
289
|
],
|
|
210
290
|
actions: [...entityMasterRecordActions()],
|
|
211
291
|
},
|
|
@@ -221,4 +301,4 @@ async function factory(injector) {
|
|
|
221
301
|
//#endregion
|
|
222
302
|
|
|
223
303
|
export { factory };
|
|
224
|
-
//# sourceMappingURL=acorex-modules-asset-management-asset-type.entity-
|
|
304
|
+
//# sourceMappingURL=acorex-modules-asset-management-asset-type.entity-D78ztUZ5.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acorex-modules-asset-management-asset-type.entity-D78ztUZ5.mjs","sources":["../../../../libs/modules/asset-management/src/lib/entities/asset-type/asset-type.entity.ts"],"sourcesContent":["//#region ---- Imports ----\n\nimport { RootConfig as RootConfigMaintenance } from '@acorex/modules/maintenance-management';\nimport { AXPEntity, createAllQueryView } from '@acorex/platform/common';\nimport {\n entityDetailsCrudActions,\n entityDetailsSimpleCondition,\n entityMasterCrudActions,\n entityMasterRecordActions,\n} from '@acorex/platform/layout/entity';\nimport { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';\nimport { Injector } from '@angular/core';\nimport { RootConfig } from '../../const';\nimport { ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY } from '../../features/asset-type-section-builder';\nimport { AXMAssetManagementAssetTypeEntityService } from './asset-type.service';\n\n//#endregion\n\n//#region ---- Entity Factory ----\n\nconst hasMaintenanceByComponents = (components: unknown): boolean => {\n const sections = (components as { sections?: Array<{ items?: Array<{ hasMaintenance?: boolean }> }> } | null)\n ?.sections;\n if (!Array.isArray(sections)) return false;\n return sections.some(\n (section) => Array.isArray(section?.items) && section.items.some((item) => item?.hasMaintenance === true),\n );\n};\n\n/**\n * Entity definition aligned with {@link AXMAssetManagementAssetTypeEntityModel}.\n * Categories use `categoryIds` (see category plugin `propertyName`). `maintenanceTypeIds` is shown when `hasMaintenance` is enabled.\n */\nexport async function factory(injector: Injector): Promise<AXPEntity | null> {\n const dataService = injector.get(AXMAssetManagementAssetTypeEntityService);\n const entityDef: AXPEntity = {\n module: RootConfig.module.name,\n name: RootConfig.entities.assetType.name,\n title: RootConfig.entities.assetType.title,\n icon: RootConfig.entities.assetType.icon,\n plugins: [\n { name: 'unique-fields', options: { fields: 'code', scope: 'global' } },\n { name: 'category', options: { appearance: { icon: true, color: true } } },\n {\n name: 'meta-data-builder',\n options: {\n display: 'page',\n order: 3,\n },\n },\n { name: 'identifier', options: { field: 'code', rule: 'asset-type-code' } },\n ],\n pages: [\n {\n componentKey: ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY,\n field: 'components',\n title: '@asset-management:assetTypes.entities.assetType.components.components.title',\n icon: 'fa-light fa-sitemap',\n layout: { order: 2, position: 'after' },\n options: { order: 2, allowEditSection: false },\n },\n ],\n relatedEntities: [\n {\n entity: `${RootConfigMaintenance.module.name}.${RootConfigMaintenance.entities.activityTypeAssetType.name}`,\n title: '@asset-management:assetTypes.entities.assetType.related-entities.activity-type-asset-types.title',\n icon: RootConfigMaintenance.entities.activityTypeAssetType.icon,\n hidden: `{{ ![true, \"true\", 1, \"1\"].includes(context.eval(\"hasMaintenance\")) }}`,\n conditions: [entityDetailsSimpleCondition('assetTypeId')],\n actions: [...entityDetailsCrudActions('assetTypeId')],\n layout: { type: 'page-list', position: 'after', order: 4 },\n },\n // {\n // entity: `${RootConfigMaintenance.module.name}.${RootConfigMaintenance.entities.maintenanceTemplate.name}`,\n // title: '@asset-management:assetTypes.entities.assetType.related-entities.maintenance-templates.title',\n // icon: RootConfigMaintenance.entities.maintenanceTemplate.icon,\n // hidden: `{{ ![true, \"true\", 1, \"1\"].includes(context.eval(\"hasMaintenance\")) }}`,\n // conditions: [entityDetailsSimpleCondition('assetTypeId')],\n // excludeProperties: ['assetTypeId'],\n // actions: [...entityDetailsCrudActions('assetTypeId')],\n // layout: { type: 'page-list', position: 'after', order: 6 },\n // },\n ],\n formats: {\n individual: RootConfig.entities.assetType.title,\n plural: RootConfig.entities.assetType.titlePlural,\n searchResult: { title: '{{ title }}' },\n displayName: '@general:terms.common.overview',\n },\n groups: [\n { id: 'basic-info', title: '@asset-management:assetTypes.entities.assetType.groups.basic-info' },\n { id: 'description-info', title: '@asset-management:assetTypes.entities.assetType.groups.description-info' },\n {\n id: 'components',\n title: '@asset-management:assetTypes.entities.assetType.groups.components',\n },\n ],\n properties: [\n {\n name: 'id',\n title: 'ID',\n schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },\n },\n {\n name: 'code',\n title: '@asset-management:assetTypes.entities.assetType.fields.code.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n unique: { enabled: true },\n interface: {\n type: AXPWidgetsCatalog.text,\n options: {\n disabled: true,\n },\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'name',\n title: '@asset-management:assetTypes.entities.assetType.fields.name.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'title',\n title: '@asset-management:assetTypes.entities.assetType.fields.title.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.text,\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'hasMaintenance',\n title: '@asset-management:assetTypes.entities.assetType.fields.hasMaintenance.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'boolean',\n defaultValue: false,\n interface: {\n type: AXPWidgetsCatalog.toggle,\n },\n },\n options: {\n sort: { enabled: true },\n filter: { advance: { enabled: true }, inline: { enabled: true } },\n },\n validations: [{ rule: 'required' }],\n },\n {\n name: 'maintenanceTypeIds',\n title: '@asset-management:assetTypes.entities.assetType.fields.maintenanceTypeIds.title',\n groupId: 'basic-info',\n schema: {\n dataType: 'array',\n nullable: true,\n defaultValue: [],\n visible: `{{ [true, \"true\", 1, \"1\"].includes(context.eval(\"hasMaintenance\")) }}`,\n interface: {\n type: AXPWidgetsCatalog.lookup,\n options: {\n entity: `${RootConfigMaintenance.module.name}.${RootConfigMaintenance.entities.maintenanceType.name}`,\n textField: 'title',\n valueField: 'id',\n look: 'drop-down',\n multiple: true,\n hasClearButton: true,\n },\n },\n },\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n },\n {\n name: 'description',\n title: '@asset-management:assetTypes.entities.assetType.fields.description.title',\n groupId: 'description-info',\n schema: {\n dataType: 'string',\n interface: {\n type: AXPWidgetsCatalog.largeText,\n options: {\n rows: 4,\n },\n },\n },\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: true }, inline: { enabled: false } },\n },\n },\n {\n name: 'components',\n title: '@asset-management:assetTypes.entities.assetType.components.components.title',\n groupId: 'components',\n options: {\n sort: { enabled: false },\n filter: { advance: { enabled: false }, inline: { enabled: false } },\n },\n schema: {\n dataType: 'object',\n defaultValue: { sections: [] },\n visible: false,\n nullable: true,\n },\n },\n ],\n columns: [\n { name: 'code', options: { order: 1 } },\n { name: 'name', options: { order: 2 } },\n { name: 'title', options: { order: 3 } },\n { name: 'description', options: { order: 4 } },\n { name: 'hasMaintenance', options: { order: 5 } },\n ],\n queries: {},\n interfaces: {\n master: {\n create: {\n sections: [\n { id: 'basic-info', order: 1 },\n { id: 'description-info', order: 2 },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n {\n name: 'maintenanceTypeIds',\n layout: { positions: { lg: { colSpan: 12, order: 6 } } },\n },\n {\n name: 'description',\n layout: { positions: { lg: { colSpan: 12, order: 4 } }, label: { visible: false } },\n },\n ],\n },\n update: {\n sections: [\n { id: 'basic-info', order: 1 },\n { id: 'description-info', order: 2 },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n { name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n {\n name: 'maintenanceTypeIds',\n layout: { positions: { lg: { colSpan: 12, order: 6 } } },\n },\n {\n name: 'description',\n layout: { positions: { lg: { colSpan: 12, order: 4 } }, label: { visible: false } },\n },\n ],\n },\n single: {\n title: '{{ title }}',\n sections: [\n { id: 'basic-info', order: 1 },\n { id: 'description-info', order: 2 },\n ],\n properties: [\n { name: 'code', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },\n { name: 'name', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },\n { name: 'title', layout: { positions: { lg: { colSpan: 12, order: 3 } } } },\n {\n name: 'description',\n layout: { positions: { lg: { colSpan: 12, order: 4 } }, label: { visible: false } },\n },\n { name: 'hasMaintenance', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },\n {\n name: 'maintenanceTypeIds',\n layout: { positions: { lg: { colSpan: 12, order: 6 } } },\n },\n ],\n actions: [...entityMasterRecordActions()],\n },\n list: {\n actions: [...entityMasterCrudActions()],\n views: [createAllQueryView({ sorts: [{ name: 'code', dir: 'asc' }] })],\n },\n },\n },\n };\n\n return entityDef;\n}\n\n//#endregion\n"],"names":["RootConfig","RootConfigMaintenance"],"mappings":";;;;;;AAAA;AAgBA;AAEA;AAEA,MAAM,0BAA0B,GAAG,CAAC,UAAmB,KAAa;IAClE,MAAM,QAAQ,GAAI;AAChB,UAAE,QAAQ;AACZ,IAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC;AAAE,QAAA,OAAO,KAAK;AAC1C,IAAA,OAAO,QAAQ,CAAC,IAAI,CAClB,CAAC,OAAO,KAAK,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,EAAE,cAAc,KAAK,IAAI,CAAC,CAC1G;AACH,CAAC;AAED;;;AAGG;AACI,eAAe,OAAO,CAAC,QAAkB,EAAA;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,GAAG,CAAC,wCAAwC,CAAC;AAC1E,IAAA,MAAM,SAAS,GAAc;AAC3B,QAAA,MAAM,EAAEA,YAAU,CAAC,MAAM,CAAC,IAAI;AAC9B,QAAA,IAAI,EAAEA,YAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,KAAK,EAAEA,YAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,KAAK;AAC1C,QAAA,IAAI,EAAEA,YAAU,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI;AACxC,QAAA,OAAO,EAAE;AACP,YAAA,EAAE,IAAI,EAAE,eAAe,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE;AACvE,YAAA,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,UAAU,EAAE,EAAE,IAAI,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,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AACvE,iBAAA;AACF,aAAA;AACF,SAAA;KACF;AAED,IAAA,OAAO,SAAS;AAClB;AAEA;;;;"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { RootConfig as RootConfig$1 } from '@acorex/modules/assessment-management';
|
|
2
|
-
import { AXPWidgetsList } from '@acorex/modules/common';
|
|
3
2
|
import { RootConfig as RootConfig$2 } from '@acorex/modules/maintenance-management';
|
|
4
3
|
import { createAllQueryView } from '@acorex/platform/common';
|
|
5
4
|
import { entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions, entityDetailsSimpleCondition } from '@acorex/platform/layout/entity';
|
|
6
5
|
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
7
|
-
import { R as RootConfig, A as ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY } from './acorex-modules-asset-management-acorex-modules-asset-management-
|
|
6
|
+
import { R as RootConfig, A as ASSET_TYPE_COMPONENTS_PAGE_COMPONENT_KEY } from './acorex-modules-asset-management-acorex-modules-asset-management-Blejt-Mo.mjs';
|
|
8
7
|
|
|
9
8
|
//#region ---- Imports ----
|
|
10
9
|
//#endregion
|
|
@@ -64,16 +63,6 @@ async function factory(injector) {
|
|
|
64
63
|
actions: [...entityDetailsCrudActions('assetId')],
|
|
65
64
|
layout: { type: 'page-list', position: 'after', order: 10 },
|
|
66
65
|
},
|
|
67
|
-
{
|
|
68
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.assetStateHistory.name}`,
|
|
69
|
-
title: RootConfig.entities.assetStateHistory.titlePlural,
|
|
70
|
-
icon: RootConfig.entities.assetStateHistory.icon,
|
|
71
|
-
hidden: `{{ !context.eval("id") }}`,
|
|
72
|
-
conditions: [entityDetailsSimpleCondition('assetId')],
|
|
73
|
-
excludeProperties: ['assetId'],
|
|
74
|
-
actions: [...entityDetailsCrudActions('assetId', { create: false, delete: false, edit: false, view: true })],
|
|
75
|
-
layout: { type: 'page-list', position: 'after', order: 18 },
|
|
76
|
-
},
|
|
77
66
|
{
|
|
78
67
|
entity: `${RootConfig.module.name}.${RootConfig.entities.assetRentalHistory.name}`,
|
|
79
68
|
title: RootConfig.entities.assetRentalHistory.titlePlural,
|
|
@@ -145,8 +134,6 @@ async function factory(injector) {
|
|
|
145
134
|
{ id: 'description-info', title: '@asset-management:assets.entities.asset.groups.description-info' },
|
|
146
135
|
{ id: 'ownership', title: '@asset-management:assets.entities.asset.groups.ownership' },
|
|
147
136
|
{ id: 'placement', title: '@asset-management:assets.entities.asset.groups.placement' },
|
|
148
|
-
{ id: 'purchase', title: '@asset-management:assets.entities.asset.groups.purchase' },
|
|
149
|
-
{ id: 'lifecycle-status', title: '@asset-management:assets.entities.asset.groups.lifecycle-status' },
|
|
150
137
|
{ id: 'booking', title: '@asset-management:assets.entities.asset.groups.booking' },
|
|
151
138
|
{ id: 'rental', title: '@asset-management:assets.entities.asset.groups.rental' },
|
|
152
139
|
{ id: 'media', title: '@asset-management:assets.entities.asset.groups.media' },
|
|
@@ -304,45 +291,6 @@ async function factory(injector) {
|
|
|
304
291
|
filter: { advance: { enabled: true }, inline: { enabled: false } },
|
|
305
292
|
},
|
|
306
293
|
},
|
|
307
|
-
// {
|
|
308
|
-
// name: 'hasMaintenance',
|
|
309
|
-
// title:
|
|
310
|
-
// '@asset-management:assetTypeSectionComponents.entities.assetTypeSectionComponent.fields.hasMaintenance.title',
|
|
311
|
-
// groupId: 'basic-info',
|
|
312
|
-
// schema: {
|
|
313
|
-
// dataType: 'boolean',
|
|
314
|
-
// defaultValue: false,
|
|
315
|
-
// interface: {
|
|
316
|
-
// type: AXPWidgetsCatalog.toggle,
|
|
317
|
-
// },
|
|
318
|
-
// },
|
|
319
|
-
// },
|
|
320
|
-
{
|
|
321
|
-
name: 'ownerId',
|
|
322
|
-
title: '@asset-management:assets.entities.asset.fields.owner-id.title',
|
|
323
|
-
groupId: 'ownership',
|
|
324
|
-
schema: {
|
|
325
|
-
dataType: 'string',
|
|
326
|
-
interface: {
|
|
327
|
-
type: AXPWidgetsCatalog.lookup,
|
|
328
|
-
options: {
|
|
329
|
-
entity: 'HumanCapitalManagement.Employee',
|
|
330
|
-
textField: 'person.fullName',
|
|
331
|
-
valueField: 'id',
|
|
332
|
-
// columns: ['person.displayName', 'person.employeeCode'],
|
|
333
|
-
look: 'select',
|
|
334
|
-
expose: [
|
|
335
|
-
{ source: 'id', target: 'owner.id' },
|
|
336
|
-
{ source: 'person.fullName', target: 'owner.displayName' },
|
|
337
|
-
],
|
|
338
|
-
},
|
|
339
|
-
},
|
|
340
|
-
},
|
|
341
|
-
options: {
|
|
342
|
-
sort: { enabled: true },
|
|
343
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
344
|
-
},
|
|
345
|
-
},
|
|
346
294
|
{
|
|
347
295
|
name: 'assignedToEmployeeId',
|
|
348
296
|
title: '@asset-management:assets.entities.asset.fields.assigned-to-employee-id.title',
|
|
@@ -393,129 +341,6 @@ async function factory(injector) {
|
|
|
393
341
|
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
394
342
|
},
|
|
395
343
|
},
|
|
396
|
-
// {
|
|
397
|
-
// name: 'parentId',
|
|
398
|
-
// title: '@asset-management:assets.entities.asset.fields.parent-id.title',
|
|
399
|
-
// groupId: 'placement',
|
|
400
|
-
// schema: {
|
|
401
|
-
// dataType: 'string',
|
|
402
|
-
// interface: {
|
|
403
|
-
// type: AXPWidgetsList.Editors.LookupBox,
|
|
404
|
-
// options: {
|
|
405
|
-
// entity: `${RootConfig.module.name}.Asset`,
|
|
406
|
-
// textField: 'title',
|
|
407
|
-
// valueField: 'id',
|
|
408
|
-
// expose: [
|
|
409
|
-
// { source: 'id', target: 'parent.id' },
|
|
410
|
-
// { source: 'title', target: 'parent.title' },
|
|
411
|
-
// ],
|
|
412
|
-
// },
|
|
413
|
-
// },
|
|
414
|
-
// },
|
|
415
|
-
// },
|
|
416
|
-
{
|
|
417
|
-
name: 'purchaseDate',
|
|
418
|
-
title: '@asset-management:assets.entities.asset.fields.purchase-date.title',
|
|
419
|
-
groupId: 'purchase',
|
|
420
|
-
schema: {
|
|
421
|
-
dataType: 'date',
|
|
422
|
-
interface: {
|
|
423
|
-
type: AXPWidgetsCatalog.dateTime,
|
|
424
|
-
options: {
|
|
425
|
-
format: 'date',
|
|
426
|
-
},
|
|
427
|
-
},
|
|
428
|
-
},
|
|
429
|
-
options: {
|
|
430
|
-
sort: { enabled: true },
|
|
431
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
432
|
-
},
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
name: 'lifecycleStateId',
|
|
436
|
-
title: '@asset-management:assets.entities.asset.fields.lifecycle-state.title',
|
|
437
|
-
groupId: 'lifecycle-status',
|
|
438
|
-
schema: {
|
|
439
|
-
dataType: 'string',
|
|
440
|
-
defaultValue: 'draft',
|
|
441
|
-
interface: {
|
|
442
|
-
type: AXPWidgetsList.Advanced.Status,
|
|
443
|
-
options: {
|
|
444
|
-
definitionKey: 'asset-management.status.asset-lifecycle',
|
|
445
|
-
entityName: `${RootConfig.module.name}.${RootConfig.entities.asset.name}`,
|
|
446
|
-
statusField: 'lifecycleStateId',
|
|
447
|
-
},
|
|
448
|
-
triggers: [
|
|
449
|
-
{
|
|
450
|
-
event: "{{ events.context('lifecycleStateId') }}",
|
|
451
|
-
action: '{{ assetManagement.clampOperationalStatusToLifecycle(context) }}',
|
|
452
|
-
},
|
|
453
|
-
],
|
|
454
|
-
},
|
|
455
|
-
},
|
|
456
|
-
options: {
|
|
457
|
-
sort: { enabled: true },
|
|
458
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
459
|
-
},
|
|
460
|
-
},
|
|
461
|
-
{
|
|
462
|
-
name: 'assetStatusId',
|
|
463
|
-
title: '@asset-management:assets.entities.asset.fields.status.title',
|
|
464
|
-
groupId: 'lifecycle-status',
|
|
465
|
-
schema: {
|
|
466
|
-
dataType: 'string',
|
|
467
|
-
defaultValue: 'unavailable',
|
|
468
|
-
interface: {
|
|
469
|
-
type: AXPWidgetsCatalog.select,
|
|
470
|
-
options: {
|
|
471
|
-
valueField: 'id',
|
|
472
|
-
textField: 'title',
|
|
473
|
-
allowSearch: true,
|
|
474
|
-
dataSource: '{{ assetManagement.operationalStatusSelectDataSource(context) }}',
|
|
475
|
-
},
|
|
476
|
-
},
|
|
477
|
-
},
|
|
478
|
-
options: {
|
|
479
|
-
sort: { enabled: true },
|
|
480
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
481
|
-
},
|
|
482
|
-
},
|
|
483
|
-
// {
|
|
484
|
-
// name: 'commissionedDate',
|
|
485
|
-
// title: '@asset-management:assets.entities.asset.fields.commissioned-date.title',
|
|
486
|
-
// groupId: 'lifecycle',
|
|
487
|
-
// schema: {
|
|
488
|
-
// dataType: 'date',
|
|
489
|
-
// interface: {
|
|
490
|
-
// type: AXPWidgetsCatalog.dateTime,
|
|
491
|
-
// options: {
|
|
492
|
-
// format: 'date',
|
|
493
|
-
// },
|
|
494
|
-
// },
|
|
495
|
-
// },
|
|
496
|
-
// options: {
|
|
497
|
-
// sort: { enabled: true },
|
|
498
|
-
// filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
499
|
-
// },
|
|
500
|
-
// },
|
|
501
|
-
// {
|
|
502
|
-
// name: 'retiredDate',
|
|
503
|
-
// title: '@asset-management:assets.entities.asset.fields.retired-date.title',
|
|
504
|
-
// groupId: 'lifecycle',
|
|
505
|
-
// schema: {
|
|
506
|
-
// dataType: 'date',
|
|
507
|
-
// interface: {
|
|
508
|
-
// type: AXPWidgetsCatalog.dateTime,
|
|
509
|
-
// options: {
|
|
510
|
-
// format: 'date',
|
|
511
|
-
// },
|
|
512
|
-
// },
|
|
513
|
-
// },
|
|
514
|
-
// options: {
|
|
515
|
-
// sort: { enabled: true },
|
|
516
|
-
// filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
517
|
-
// },
|
|
518
|
-
// },
|
|
519
344
|
{
|
|
520
345
|
name: 'isBookable',
|
|
521
346
|
title: '@asset-management:assets.entities.asset.fields.is-bookable.title',
|
|
@@ -645,12 +470,8 @@ async function factory(injector) {
|
|
|
645
470
|
{ name: 'serialNumber', options: { order: 4 } },
|
|
646
471
|
{ name: 'qrCode', options: { order: 5 } },
|
|
647
472
|
{ name: 'description', options: { order: 6 } },
|
|
648
|
-
{ name: 'ownerId', options: { dataPath: 'owner.displayName', order: 7 } },
|
|
649
473
|
{ name: 'assignedToEmployeeId', options: { dataPath: 'assignedToEmployee.displayName', order: 8 } },
|
|
650
474
|
{ name: 'locationId', options: { dataPath: 'location.title', order: 9 } },
|
|
651
|
-
{ name: 'purchaseDate', options: { order: 10 } },
|
|
652
|
-
{ name: 'lifecycleStateId', options: { dataPath: 'lifecycleState.title', order: 11 } },
|
|
653
|
-
{ name: 'assetStatusId', options: { dataPath: 'assetStatus.title', order: 12 } },
|
|
654
475
|
{ name: 'isBookable', options: { order: 13 } },
|
|
655
476
|
],
|
|
656
477
|
queries: {},
|
|
@@ -663,8 +484,6 @@ async function factory(injector) {
|
|
|
663
484
|
{ id: 'description-info', order: 3, layout: { positions: { lg: { colSpan: 12, colStart: 13 } } } },
|
|
664
485
|
{ id: 'ownership', order: 3 },
|
|
665
486
|
{ id: 'placement', order: 4 },
|
|
666
|
-
{ id: 'purchase', order: 5, layout: { positions: { lg: { colStart: 1 } } } },
|
|
667
|
-
{ id: 'lifecycle-status', order: 6 },
|
|
668
487
|
{ id: 'booking', order: 7 },
|
|
669
488
|
{ id: 'rental', order: 8 },
|
|
670
489
|
{ id: 'media', order: 9 },
|
|
@@ -677,14 +496,8 @@ async function factory(injector) {
|
|
|
677
496
|
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
678
497
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 6 } } } },
|
|
679
498
|
{ name: 'isRented', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
680
|
-
{ name: 'ownerId', layout: { positions: { lg: { colSpan: 6, order: 12 } } } },
|
|
681
499
|
{ name: 'assignedToEmployeeId', layout: { positions: { lg: { colSpan: 6, order: 13 } } } },
|
|
682
500
|
{ name: 'locationId', layout: { positions: { lg: { colSpan: 6, order: 14 } } } },
|
|
683
|
-
{ name: 'purchaseDate', layout: { positions: { lg: { colSpan: 6, order: 15, colStart: 1 } } } },
|
|
684
|
-
{ name: 'lifecycleStateId', layout: { positions: { lg: { colSpan: 6, order: 16 } } } },
|
|
685
|
-
{ name: 'assetStatusId', layout: { positions: { lg: { colSpan: 6, order: 17 } } } },
|
|
686
|
-
// { name: 'commissionedDate', layout: { positions: { lg: { colSpan: 6, order: 12 } } } },
|
|
687
|
-
// { name: 'retiredDate', layout: { positions: { lg: { colSpan: 6, order: 13 } } } },
|
|
688
501
|
{ name: 'isBookable', layout: { positions: { lg: { colSpan: 12, order: 18 } } } },
|
|
689
502
|
{ name: 'preBookQuestionnaireId', layout: { positions: { lg: { colSpan: 6, order: 19 } } } },
|
|
690
503
|
{ name: 'postBookQuestionnaireId', layout: { positions: { lg: { colSpan: 6, order: 20 } } } },
|
|
@@ -702,8 +515,6 @@ async function factory(injector) {
|
|
|
702
515
|
{ id: 'description-info', order: 3, layout: { positions: { lg: { colSpan: 12, colStart: 13 } } } },
|
|
703
516
|
{ id: 'ownership', order: 3 },
|
|
704
517
|
{ id: 'placement', order: 4 },
|
|
705
|
-
{ id: 'purchase', order: 5 },
|
|
706
|
-
{ id: 'lifecycle-status', order: 6 },
|
|
707
518
|
{ id: 'booking', order: 7 },
|
|
708
519
|
{ id: 'rental', order: 8 },
|
|
709
520
|
{ id: 'media', order: 9 },
|
|
@@ -716,14 +527,8 @@ async function factory(injector) {
|
|
|
716
527
|
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
717
528
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 6 } } } },
|
|
718
529
|
{ name: 'isRented', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
719
|
-
{ name: 'ownerId', layout: { positions: { lg: { colSpan: 6, order: 12 } } } },
|
|
720
530
|
{ name: 'assignedToEmployeeId', layout: { positions: { lg: { colSpan: 6, order: 13 } } } },
|
|
721
531
|
{ name: 'locationId', layout: { positions: { lg: { colSpan: 6, order: 14 } } } },
|
|
722
|
-
{ name: 'purchaseDate', layout: { positions: { lg: { colSpan: 6, order: 11 } } } },
|
|
723
|
-
{ name: 'lifecycleStateId', layout: { positions: { lg: { colSpan: 6, order: 16, colStart: 1 } } } },
|
|
724
|
-
{ name: 'assetStatusId', layout: { positions: { lg: { colSpan: 6, order: 17, colStart: 1 } } } },
|
|
725
|
-
// { name: 'commissionedDate', layout: { positions: { lg: { colSpan: 6, order: 12 } } } },
|
|
726
|
-
// { name: 'retiredDate', layout: { positions: { lg: { colSpan: 6, order: 13 } } } },
|
|
727
532
|
{ name: 'isBookable', layout: { positions: { lg: { colSpan: 12, order: 18 } } } },
|
|
728
533
|
{ name: 'preBookQuestionnaireId', layout: { positions: { lg: { colSpan: 6, order: 19 } } } },
|
|
729
534
|
{ name: 'postBookQuestionnaireId', layout: { positions: { lg: { colSpan: 6, order: 20 } } } },
|
|
@@ -742,8 +547,6 @@ async function factory(injector) {
|
|
|
742
547
|
{ id: 'description-info', order: 3, layout: { positions: { lg: { colSpan: 12, colStart: 13 } } } },
|
|
743
548
|
{ id: 'ownership', order: 3 },
|
|
744
549
|
{ id: 'placement', order: 4 },
|
|
745
|
-
{ id: 'purchase', order: 5 },
|
|
746
|
-
{ id: 'lifecycle-status', order: 6 },
|
|
747
550
|
{ id: 'booking', order: 7 },
|
|
748
551
|
{ id: 'rental', order: 8 },
|
|
749
552
|
{ id: 'media', order: 9 },
|
|
@@ -756,14 +559,8 @@ async function factory(injector) {
|
|
|
756
559
|
{ name: 'title', layout: { positions: { lg: { colSpan: 12, order: 5 } } } },
|
|
757
560
|
{ name: 'description', layout: { positions: { lg: { colSpan: 12, order: 6 } } } },
|
|
758
561
|
{ name: 'isRented', layout: { positions: { lg: { colSpan: 12, order: 7 } } } },
|
|
759
|
-
{ name: 'ownerId', layout: { positions: { lg: { colSpan: 6, order: 12 } } } },
|
|
760
562
|
{ name: 'assignedToEmployeeId', layout: { positions: { lg: { colSpan: 6, order: 13 } } } },
|
|
761
563
|
{ name: 'locationId', layout: { positions: { lg: { colSpan: 6, order: 14 } } } },
|
|
762
|
-
{ name: 'purchaseDate', layout: { positions: { lg: { colSpan: 6, order: 15 } } } },
|
|
763
|
-
{ name: 'lifecycleStateId', layout: { positions: { lg: { colSpan: 6, order: 16 } } } },
|
|
764
|
-
{ name: 'assetStatusId', layout: { positions: { lg: { colSpan: 6, order: 17 } } } },
|
|
765
|
-
// { name: 'commissionedDate', layout: { positions: { lg: { colSpan: 4, order: 12 } } } },
|
|
766
|
-
// { name: 'retiredDate', layout: { positions: { lg: { colSpan: 4, order: 13 } } } },
|
|
767
564
|
{ name: 'isBookable', layout: { positions: { lg: { colSpan: 12, order: 18 } } } },
|
|
768
565
|
{ name: 'preBookQuestionnaireId', layout: { positions: { lg: { colSpan: 6, order: 19 } } } },
|
|
769
566
|
{ name: 'postBookQuestionnaireId', layout: { positions: { lg: { colSpan: 6, order: 20 } } } },
|
|
@@ -786,4 +583,4 @@ async function factory(injector) {
|
|
|
786
583
|
}
|
|
787
584
|
|
|
788
585
|
export { factory };
|
|
789
|
-
//# sourceMappingURL=acorex-modules-asset-management-asset.entity-
|
|
586
|
+
//# sourceMappingURL=acorex-modules-asset-management-asset.entity-3dFsNRkr.mjs.map
|