@acorex/modules 21.0.0-next.34 → 21.0.0-next.39
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-acorex-modules-ai-management-WuqoH4OL.mjs → acorex-modules-ai-management-acorex-modules-ai-management-CU2FvMTx.mjs} +260 -80
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-CU2FvMTx.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs → acorex-modules-ai-management-agent.entity-CUO9Jczk.mjs} +14 -19
- package/fesm2022/acorex-modules-ai-management-agent.entity-CUO9Jczk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CWXEW9yL.mjs → acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-daTGJ1Rd.mjs} +52 -8
- package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-daTGJ1Rd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-CNKwIqUE.mjs → acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-Cmprtps-.mjs} +49 -7
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-Cmprtps-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs → acorex-modules-ai-management-assist.entity-C1nM_x4Z.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-assist.entity-DX2U9sd5.mjs.map → acorex-modules-ai-management-assist.entity-C1nM_x4Z.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-index-KX3TVRXr.mjs → acorex-modules-ai-management-index-CjTjfydP.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-index-KX3TVRXr.mjs.map → acorex-modules-ai-management-index-CjTjfydP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-model.entity-BeuDUahR.mjs → acorex-modules-ai-management-model.entity-CPHxj8h7.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-model.entity-BeuDUahR.mjs.map → acorex-modules-ai-management-model.entity-CPHxj8h7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-D-9unl6i.mjs → acorex-modules-ai-management-open-ai-endpoint.entity-a6MjMiXF.mjs} +2 -2
- package/fesm2022/{acorex-modules-ai-management-open-ai-endpoint.entity-D-9unl6i.mjs.map → acorex-modules-ai-management-open-ai-endpoint.entity-a6MjMiXF.mjs.map} +1 -1
- package/fesm2022/acorex-modules-ai-management.mjs +1 -1
- package/fesm2022/{acorex-modules-assessment-management-acorex-modules-assessment-management-BNK6C-Ng.mjs → acorex-modules-assessment-management-acorex-modules-assessment-management-DniyhnPK.mjs} +509 -436
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-DniyhnPK.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-Ds8pRzvE.mjs → acorex-modules-assessment-management-assessment-case.entity-BggEmLhz.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-case.entity-Ds8pRzvE.mjs.map → acorex-modules-assessment-management-assessment-case.entity-BggEmLhz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-tq1Q4wkS.mjs → acorex-modules-assessment-management-assessment-session.entity-CWR1QZv1.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-assessment-session.entity-tq1Q4wkS.mjs.map → acorex-modules-assessment-management-assessment-session.entity-CWR1QZv1.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-yf0PnWC0.mjs → acorex-modules-assessment-management-fill-assessment-session.command-qajn_XDh.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-fill-assessment-session.command-yf0PnWC0.mjs.map → acorex-modules-assessment-management-fill-assessment-session.command-qajn_XDh.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-index-B2SncZAW.mjs → acorex-modules-assessment-management-index-B2l5Se1l.mjs} +25 -26
- package/fesm2022/acorex-modules-assessment-management-index-B2l5Se1l.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs → acorex-modules-assessment-management-preview-question.command-BCS477_k.mjs} +10 -11
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-BCS477_k.mjs.map +1 -0
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs → acorex-modules-assessment-management-preview-questionnaire.command-C8lyuqE-.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-preview-questionnaire.command-BrI5gFtx.mjs.map → acorex-modules-assessment-management-preview-questionnaire.command-C8lyuqE-.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-XD5IJpvW.mjs → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DtowOBLy.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-XD5IJpvW.mjs.map → acorex-modules-assessment-management-question-bank-interface-editor-widget-edit.component-DtowOBLy.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CZ32sQ9M.mjs → acorex-modules-assessment-management-question-bank-item.entity-Br7XcU_u.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-question-bank-item.entity-CZ32sQ9M.mjs.map → acorex-modules-assessment-management-question-bank-item.entity-Br7XcU_u.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-C7gf4s1y.mjs → acorex-modules-assessment-management-questionnaire-calculation.entity-DNUf5RD3.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-calculation.entity-C7gf4s1y.mjs.map → acorex-modules-assessment-management-questionnaire-calculation.entity-DNUf5RD3.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BZyIlYWg.mjs → acorex-modules-assessment-management-questionnaire-viewer-popup.component-BdBKHvHP.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire-viewer-popup.component-BZyIlYWg.mjs.map → acorex-modules-assessment-management-questionnaire-viewer-popup.component-BdBKHvHP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs → acorex-modules-assessment-management-questionnaire.entity-B5aP_P4z.mjs} +3 -3
- package/fesm2022/{acorex-modules-assessment-management-questionnaire.entity-CmmThk2f.mjs.map → acorex-modules-assessment-management-questionnaire.entity-B5aP_P4z.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-GLqvK8wB.mjs → acorex-modules-assessment-management-save-questionnaire-questions.command-C3Qt5fmY.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-save-questionnaire-questions.command-GLqvK8wB.mjs.map → acorex-modules-assessment-management-save-questionnaire-questions.command-C3Qt5fmY.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CU1TVonZ.mjs → acorex-modules-assessment-management-view-session-answers.command-C9VS-Tp3.mjs} +2 -2
- package/fesm2022/{acorex-modules-assessment-management-view-session-answers.command-CU1TVonZ.mjs.map → acorex-modules-assessment-management-view-session-answers.command-C9VS-Tp3.mjs.map} +1 -1
- package/fesm2022/acorex-modules-assessment-management.mjs +1 -1
- package/fesm2022/{acorex-modules-asset-management-acorex-modules-asset-management-BDs0ZgD5.mjs → acorex-modules-asset-management-acorex-modules-asset-management-F7Ok5dhs.mjs} +519 -81
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-F7Ok5dhs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-system-history.entity-CSCwWY_F.mjs → acorex-modules-asset-management-asset-system-history.entity-D1HZG9wO.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-system-history.entity-CSCwWY_F.mjs.map → acorex-modules-asset-management-asset-system-history.entity-D1HZG9wO.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-system-type.entity-CcefMT8J.mjs → acorex-modules-asset-management-asset-system-type.entity-DDh5RK5M.mjs} +60 -38
- package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-DDh5RK5M.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-6Rauu2Z1.mjs → acorex-modules-asset-management-asset-type-section-component.entity-em7lQ1eu.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-asset-type-section-component.entity-6Rauu2Z1.mjs.map → acorex-modules-asset-management-asset-type-section-component.entity-em7lQ1eu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-asset-management-asset-type-section.entity-r_H1QGwp.mjs → acorex-modules-asset-management-asset-type-section.entity-BtcNy6Ra.mjs} +6 -48
- package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-BtcNy6Ra.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset-type.entity-cWVqpbHH.mjs → acorex-modules-asset-management-asset-type.entity-DWhrFVFI.mjs} +53 -100
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-DWhrFVFI.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-asset.entity-CamZGWTM.mjs → acorex-modules-asset-management-asset.entity-BEjXfkPD.mjs} +66 -56
- package/fesm2022/acorex-modules-asset-management-asset.entity-BEjXfkPD.mjs.map +1 -0
- package/fesm2022/{acorex-modules-asset-management-assetSystem.entity-Dq2ASslk.mjs → acorex-modules-asset-management-assetSystem.entity-CJCVALaz.mjs} +2 -2
- package/fesm2022/{acorex-modules-asset-management-assetSystem.entity-Dq2ASslk.mjs.map → acorex-modules-asset-management-assetSystem.entity-CJCVALaz.mjs.map} +1 -1
- package/fesm2022/acorex-modules-asset-management.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +38 -41
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-conversation.mjs +1046 -249
- package/fesm2022/acorex-modules-conversation.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management.mjs +1098 -706
- package/fesm2022/acorex-modules-dashboard-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-data-management.mjs +63 -35
- package/fesm2022/acorex-modules-data-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +101 -57
- package/fesm2022/acorex-modules-document-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-human-capital-management-employee.entity-BRpqFRuI.mjs → acorex-modules-human-capital-management-employee.entity-BmF6_P6d.mjs} +48 -21
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-BmF6_P6d.mjs.map +1 -0
- package/fesm2022/acorex-modules-human-capital-management.mjs +1 -1
- package/fesm2022/acorex-modules-location-management.mjs +18 -99
- package/fesm2022/acorex-modules-location-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-DtODwbIN.mjs +7137 -0
- package/fesm2022/acorex-modules-maintenance-management-acorex-modules-maintenance-management-DtODwbIN.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-DQJJtCqU.mjs → acorex-modules-maintenance-management-failure-effect.entity-BtczD4wu.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-effect.entity-DQJJtCqU.mjs.map → acorex-modules-maintenance-management-failure-effect.entity-BtczD4wu.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-gg2fpT2N.mjs → acorex-modules-maintenance-management-failure-mode-asset-type.entity-CDUdEH-e.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-asset-type.entity-gg2fpT2N.mjs.map → acorex-modules-maintenance-management-failure-mode-asset-type.entity-CDUdEH-e.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-CHUaAnID.mjs → acorex-modules-maintenance-management-failure-mode-mechanism.entity-re5UvGp7.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-mechanism.entity-CHUaAnID.mjs.map → acorex-modules-maintenance-management-failure-mode-mechanism.entity-re5UvGp7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-B93x1uP_.mjs → acorex-modules-maintenance-management-failure-mode-solution.entity-nbFz4LAe.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-mode-solution.entity-B93x1uP_.mjs.map → acorex-modules-maintenance-management-failure-mode-solution.entity-nbFz4LAe.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-McM3l12Q.mjs → acorex-modules-maintenance-management-failure-register-cause.entity-CW2NlX59.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-cause.entity-McM3l12Q.mjs.map → acorex-modules-maintenance-management-failure-register-cause.entity-CW2NlX59.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-_jjy1oeg.mjs → acorex-modules-maintenance-management-failure-register-effect.entity-Bi5XgfoL.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-effect.entity-_jjy1oeg.mjs.map → acorex-modules-maintenance-management-failure-register-effect.entity-Bi5XgfoL.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-5CmdhowW.mjs → acorex-modules-maintenance-management-failure-register-mechanism.entity-DcW6sK01.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-register-mechanism.entity-5CmdhowW.mjs.map → acorex-modules-maintenance-management-failure-register-mechanism.entity-DcW6sK01.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-maintenance-management-failure-register.entity-D_lQrda5.mjs → acorex-modules-maintenance-management-failure-register.entity-CUxVZo0w.mjs} +3 -3
- package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-CUxVZo0w.mjs.map +1 -0
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BIZxoVIS.mjs → acorex-modules-maintenance-management-failure-severity.entity-B7LBO-UA.mjs} +2 -2
- package/fesm2022/{acorex-modules-maintenance-management-failure-severity.entity-BIZxoVIS.mjs.map → acorex-modules-maintenance-management-failure-severity.entity-B7LBO-UA.mjs.map} +1 -1
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-D6ATa-HR.mjs +443 -0
- package/fesm2022/acorex-modules-maintenance-management-maintenance-template.entity-D6ATa-HR.mjs.map +1 -0
- package/fesm2022/acorex-modules-maintenance-management.mjs +1 -3579
- package/fesm2022/acorex-modules-maintenance-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +11 -5
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BrVNMCi_.mjs +356 -0
- package/fesm2022/acorex-modules-organization-management-acorex-modules-organization-management-BrVNMCi_.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-CO8jMwVJ.mjs +181 -0
- package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-CO8jMwVJ.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-WiTemBLu.mjs +359 -0
- package/fesm2022/acorex-modules-organization-management-business-unit.entity-WiTemBLu.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-chart.entity-bRxA8XHZ.mjs → acorex-modules-organization-management-chart.entity-D6Y7kZfM.mjs} +33 -29
- package/fesm2022/acorex-modules-organization-management-chart.entity-D6Y7kZfM.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-company.entity-BohMJQNi.mjs → acorex-modules-organization-management-company.entity-wpNiu8g3.mjs} +6 -8
- package/fesm2022/acorex-modules-organization-management-company.entity-wpNiu8g3.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-data-source-evaluator-scope.provider-BrKtojM9.mjs +48 -0
- package/fesm2022/acorex-modules-organization-management-data-source-evaluator-scope.provider-BrKtojM9.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-entity.provider-B0XbUW1I.mjs +59 -0
- package/fesm2022/acorex-modules-organization-management-entity.provider-B0XbUW1I.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-feature-definition.provider-D7t_nNNk.mjs +19 -0
- package/fesm2022/acorex-modules-organization-management-feature-definition.provider-D7t_nNNk.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-S9Jlmr-o.mjs → acorex-modules-organization-management-job-definition.entity-Cb6zEf65.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-job-definition.entity-S9Jlmr-o.mjs.map → acorex-modules-organization-management-job-definition.entity-Cb6zEf65.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-job-level.datasource-RDGmLrqD.mjs +95 -0
- package/fesm2022/acorex-modules-organization-management-job-level.datasource-RDGmLrqD.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-job-level.entity-oedF18Xm.mjs +274 -0
- package/fesm2022/acorex-modules-organization-management-job-level.entity-oedF18Xm.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-menu.provider-DAKmAxld.mjs +193 -0
- package/fesm2022/acorex-modules-organization-management-menu.provider-DAKmAxld.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-org-chart.page-mHV0AWGZ.mjs +1081 -0
- package/fesm2022/acorex-modules-organization-management-org-chart.page-mHV0AWGZ.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-permission-definition.provider-Be8mvS_Z.mjs +77 -0
- package/fesm2022/acorex-modules-organization-management-permission-definition.provider-Be8mvS_Z.mjs.map +1 -0
- 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-DLPufeWz.mjs → acorex-modules-organization-management-position.entity-BveMCKMd.mjs} +108 -106
- package/fesm2022/acorex-modules-organization-management-position.entity-BveMCKMd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-mMZywr0X.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-ivufxxLL.mjs} +25 -29
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-ivufxxLL.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-CfRBMxLk.mjs → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-DptdG1Nt.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix-widget-view.component-CfRBMxLk.mjs.map → acorex-modules-organization-management-responsibilities-matrix-widget-view.component-DptdG1Nt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-responsibilities-matrix.component-B06t1G1E.mjs → acorex-modules-organization-management-responsibilities-matrix.component-qO33kvo_.mjs} +14 -21
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-qO33kvo_.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-zOjyjm5H.mjs +137 -0
- package/fesm2022/acorex-modules-organization-management-responsibility-level.entity-zOjyjm5H.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-CMmr3wJa.mjs → acorex-modules-organization-management-responsibility.entity-jWEiPi5-.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-responsibility.entity-CMmr3wJa.mjs.map → acorex-modules-organization-management-responsibility.entity-jWEiPi5-.mjs.map} +1 -1
- package/fesm2022/acorex-modules-organization-management-settings.provider-D3ged-4h.mjs +228 -0
- package/fesm2022/acorex-modules-organization-management-settings.provider-D3ged-4h.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team-member-role.entity-CZ4MibH4.mjs → acorex-modules-organization-management-team-member-role.entity-D9TZoACE.mjs} +68 -8
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-D9TZoACE.mjs.map +1 -0
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-8sTjn5Jn.mjs → acorex-modules-organization-management-team-member.entity-Bz4o7c3d.mjs} +2 -2
- package/fesm2022/{acorex-modules-organization-management-team-member.entity-8sTjn5Jn.mjs.map → acorex-modules-organization-management-team-member.entity-Bz4o7c3d.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-organization-management-team.entity-CGR0UlYl.mjs → acorex-modules-organization-management-team.entity-uVffZPeg.mjs} +100 -37
- package/fesm2022/acorex-modules-organization-management-team.entity-uVffZPeg.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management-widget-definition.provider-D4yjuqwx.mjs +48 -0
- package/fesm2022/acorex-modules-organization-management-widget-definition.provider-D4yjuqwx.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +1 -2216
- package/fesm2022/acorex-modules-organization-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BFueKnuF.mjs +40 -0
- package/fesm2022/acorex-modules-platform-dev-tools-menu.provider-BFueKnuF.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs +33 -0
- package/fesm2022/acorex-modules-platform-dev-tools-settings.provider-CGyf-4eq.mjs.map +1 -0
- package/fesm2022/acorex-modules-platform-dev-tools.mjs +14 -94
- package/fesm2022/acorex-modules-platform-dev-tools.mjs.map +1 -1
- package/fesm2022/{acorex-modules-report-management-report-runner-root-page.component-DPSNAAct.mjs → acorex-modules-report-management-report-runner-root-page.component-BjKrHoBg.mjs} +107 -107
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-BjKrHoBg.mjs.map +1 -0
- package/fesm2022/acorex-modules-report-management.mjs +1 -1
- package/fesm2022/{acorex-modules-reservation-management-acorex-modules-reservation-management-BMemqW2V.mjs → acorex-modules-reservation-management-acorex-modules-reservation-management-BoUiTlmu.mjs} +65 -76
- package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-BoUiTlmu.mjs.map +1 -0
- package/fesm2022/{acorex-modules-reservation-management-reservation-class-status.entity-Bg7d38wV.mjs → acorex-modules-reservation-management-reservation-class-status.entity-D-ZdqKa8.mjs} +2 -2
- package/fesm2022/{acorex-modules-reservation-management-reservation-class-status.entity-Bg7d38wV.mjs.map → acorex-modules-reservation-management-reservation-class-status.entity-D-ZdqKa8.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-reservation-management-reservation-resource-type.entity-BK-rLEXi.mjs → acorex-modules-reservation-management-reservation-resource-type.entity-zPD-Psml.mjs} +2 -2
- package/fesm2022/{acorex-modules-reservation-management-reservation-resource-type.entity-BK-rLEXi.mjs.map → acorex-modules-reservation-management-reservation-resource-type.entity-zPD-Psml.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-reservation-management-reservation-status-transition.entity-2ngXhKAV.mjs → acorex-modules-reservation-management-reservation-status-transition.entity-CQ85ZAGF.mjs} +2 -2
- package/fesm2022/{acorex-modules-reservation-management-reservation-status-transition.entity-2ngXhKAV.mjs.map → acorex-modules-reservation-management-reservation-status-transition.entity-CQ85ZAGF.mjs.map} +1 -1
- package/fesm2022/acorex-modules-reservation-management.mjs +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +269 -190
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-task-management-task-board.page-C1H_GTqy.mjs → acorex-modules-task-management-task-board.page-DA2563QE.mjs} +15 -10
- package/fesm2022/acorex-modules-task-management-task-board.page-DA2563QE.mjs.map +1 -0
- package/fesm2022/acorex-modules-task-management.mjs +27 -13
- package/fesm2022/acorex-modules-task-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs +5 -0
- package/fesm2022/acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-column.component-C8lgSjfc.mjs → acorex-modules-workflow-management-activity-command-configurator-widget-column.component-CDo0QVFy.mjs} +14 -6
- package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-column.component-CDo0QVFy.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BGUPxGXP.mjs → acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BYJpDQRs.mjs} +31 -16
- package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BYJpDQRs.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-activity-definition.entity-Bvs1OfE_.mjs → acorex-modules-workflow-management-activity-definition.entity-B3DkgDQb.mjs} +10 -12
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-B3DkgDQb.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-index-DWIDQsWq.mjs → acorex-modules-workflow-management-index-C9Qc07oK.mjs} +125 -3
- package/fesm2022/acorex-modules-workflow-management-index-C9Qc07oK.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-index-D8fjNgQJ.mjs +726 -0
- package/fesm2022/acorex-modules-workflow-management-index-D8fjNgQJ.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-index-DMnJRDbq.mjs +294 -0
- package/fesm2022/acorex-modules-workflow-management-index-DMnJRDbq.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs +56 -0
- package/fesm2022/acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-definition.entity-aJou58ED.mjs → acorex-modules-workflow-management-workflow-definition.entity-DqPVpcSv.mjs} +101 -140
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-DqPVpcSv.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-instance.entity-Cq7LE7u5.mjs → acorex-modules-workflow-management-workflow-instance.entity-sfsoT0is.mjs} +10 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-sfsoT0is.mjs.map +1 -0
- package/fesm2022/{acorex-modules-workflow-management-workflow-task-popover.component-CIakASVR.mjs → acorex-modules-workflow-management-workflow-task-popover.component-NpUx0sB5.mjs} +11 -7
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-NpUx0sB5.mjs.map +1 -0
- package/fesm2022/acorex-modules-workflow-management.mjs +746 -402
- package/fesm2022/acorex-modules-workflow-management.mjs.map +1 -1
- package/organization-management/README.md +1 -1
- package/package.json +2 -2
- package/types/acorex-modules-ai-management.d.ts +64 -16
- package/types/acorex-modules-asset-management.d.ts +115 -58
- package/types/acorex-modules-common.d.ts +2 -4
- package/types/acorex-modules-dashboard-management.d.ts +226 -109
- package/types/acorex-modules-data-management.d.ts +2 -2
- package/types/acorex-modules-document-management.d.ts +1 -2
- package/types/acorex-modules-human-capital-management.d.ts +6 -0
- package/types/acorex-modules-maintenance-management.d.ts +561 -41
- package/types/acorex-modules-notification-management.d.ts +7 -3
- package/types/acorex-modules-organization-management.d.ts +52 -107
- package/types/acorex-modules-security-management.d.ts +15 -1
- package/types/acorex-modules-task-management.d.ts +8 -13
- package/types/acorex-modules-workflow-management.d.ts +67 -13
- package/fesm2022/acorex-modules-ai-management-acorex-modules-ai-management-WuqoH4OL.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-agent.entity-DK9GNMdR.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-ai-delegated-agent-transcript-popup.component-CWXEW9yL.mjs.map +0 -1
- package/fesm2022/acorex-modules-ai-management-assist-delegated-agent-configurator-widget-edit.component-CNKwIqUE.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-acorex-modules-assessment-management-BNK6C-Ng.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-index-B2SncZAW.mjs.map +0 -1
- package/fesm2022/acorex-modules-assessment-management-preview-question.command-DPzL8C44.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-acorex-modules-asset-management-BDs0ZgD5.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-system-type.entity-CcefMT8J.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type-section.entity-r_H1QGwp.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset-type.entity-cWVqpbHH.mjs.map +0 -1
- package/fesm2022/acorex-modules-asset-management-asset.entity-CamZGWTM.mjs.map +0 -1
- package/fesm2022/acorex-modules-human-capital-management-employee.entity-BRpqFRuI.mjs.map +0 -1
- package/fesm2022/acorex-modules-maintenance-management-failure-register.entity-D_lQrda5.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-C-EKX6Oy.mjs +0 -91
- package/fesm2022/acorex-modules-organization-management-business-unit-type.entity-C-EKX6Oy.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-chart.entity-bRxA8XHZ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-company.entity-BohMJQNi.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs +0 -784
- package/fesm2022/acorex-modules-organization-management-org-chart.page-eRTHzLDQ.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-position.entity-DLPufeWz.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix-widget-edit.component-mMZywr0X.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-responsibilities-matrix.component-B06t1G1E.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team-member-role.entity-CZ4MibH4.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-team.entity-CGR0UlYl.mjs.map +0 -1
- package/fesm2022/acorex-modules-report-management-report-runner-root-page.component-DPSNAAct.mjs.map +0 -1
- package/fesm2022/acorex-modules-reservation-management-acorex-modules-reservation-management-BMemqW2V.mjs.map +0 -1
- package/fesm2022/acorex-modules-task-management-task-board.page-C1H_GTqy.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-column.component-C8lgSjfc.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-activity-command-configurator-widget-edit.component-BGUPxGXP.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-activity-definition.entity-Bvs1OfE_.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-index-DWIDQsWq.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-definition.entity-aJou58ED.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-instance.entity-Cq7LE7u5.mjs.map +0 -1
- package/fesm2022/acorex-modules-workflow-management-workflow-task-popover.component-CIakASVR.mjs.map +0 -1
|
@@ -1,3580 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { inject, Injector, Injectable, NgModule } from '@angular/core';
|
|
3
|
-
import { AXP_PERMISSION_DEFINITION_PROVIDER } from '@acorex/platform/auth';
|
|
4
|
-
import { AXP_MENU_PROVIDER, AXP_SEARCH_PROVIDER, AXP_STATUS_PROVIDERS, AXPSearchCommandProvider, createEntityCommandOptions, createAllQueryView, AXPEntityQueryType, AXPEntityCommandScope } from '@acorex/platform/common';
|
|
5
|
-
import { AXP_MODULE_MANIFEST_PROVIDER, provideLazyProvider, AXPSystemActionType } from '@acorex/platform/core';
|
|
6
|
-
import { AXMEntityCrudServiceImpl, AXP_ENTITY_DEFINITION_LOADER, AXPEntityService, entityMasterCrudActions, entityMasterRecordActions, entityDetailsCrudActions } from '@acorex/platform/layout/entity';
|
|
7
|
-
import { AXPCommonMenuKeys, AXPWidgetsList } from '@acorex/modules/common';
|
|
8
|
-
import { RootConfig as RootConfig$1 } from '@acorex/modules/human-capital-management';
|
|
9
|
-
import { AXPWidgetsCatalog } from '@acorex/platform/layout/widget-core';
|
|
10
|
-
import { RootConfig as RootConfig$2 } from '@acorex/modules/assessment-management';
|
|
11
|
-
|
|
12
|
-
//#region ---- Root Configuration ----
|
|
13
|
-
const config = {
|
|
14
|
-
i18n: 'maintenance-management',
|
|
15
|
-
module: 'MaintenanceManagement',
|
|
16
|
-
route: 'maintenance-management',
|
|
17
|
-
};
|
|
18
|
-
const RootConfig = {
|
|
19
|
-
config,
|
|
20
|
-
module: {
|
|
21
|
-
route: config.route,
|
|
22
|
-
name: config.module,
|
|
23
|
-
title: '@maintenance-management:module.title',
|
|
24
|
-
icon: 'fa-light fa-box',
|
|
25
|
-
},
|
|
26
|
-
entities: {
|
|
27
|
-
maintenance: {
|
|
28
|
-
name: 'Maintenance',
|
|
29
|
-
source: `${config.module}.Maintenance`,
|
|
30
|
-
title: '@maintenance-management:maintenances.entities.maintenance.title',
|
|
31
|
-
titlePlural: '@maintenance-management:maintenances.entities.maintenance.plural',
|
|
32
|
-
icon: 'fa-light fa-clipboard-list',
|
|
33
|
-
},
|
|
34
|
-
maintenanceType: {
|
|
35
|
-
name: 'MaintenanceType',
|
|
36
|
-
source: `${config.module}.MaintenanceType`,
|
|
37
|
-
title: '@maintenance-management:maintenance-types.entities.maintenance-type.title',
|
|
38
|
-
titlePlural: '@maintenance-management:maintenance-types.entities.maintenance-type.plural',
|
|
39
|
-
icon: 'fa-light fa-tags',
|
|
40
|
-
},
|
|
41
|
-
failureCause: {
|
|
42
|
-
name: 'FailureCause',
|
|
43
|
-
source: `${config.module}.FailureCause`,
|
|
44
|
-
title: '@maintenance-management:failure-causes.entities.failure-cause.title',
|
|
45
|
-
titlePlural: '@maintenance-management:failure-causes.entities.failure-cause.plural',
|
|
46
|
-
icon: 'fa-light fa-triangle-exclamation',
|
|
47
|
-
},
|
|
48
|
-
failureMechanism: {
|
|
49
|
-
name: 'FailureMechanism',
|
|
50
|
-
source: `${config.module}.FailureMechanism`,
|
|
51
|
-
title: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.title',
|
|
52
|
-
titlePlural: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.plural',
|
|
53
|
-
icon: 'fa-light fa-gears',
|
|
54
|
-
},
|
|
55
|
-
failureDetection: {
|
|
56
|
-
name: 'FailureDetection',
|
|
57
|
-
source: `${config.module}.FailureDetection`,
|
|
58
|
-
title: '@maintenance-management:failure-detections.entities.failure-detection.title',
|
|
59
|
-
titlePlural: '@maintenance-management:failure-detections.entities.failure-detection.plural',
|
|
60
|
-
icon: 'fa-light fa-radar',
|
|
61
|
-
},
|
|
62
|
-
failureType: {
|
|
63
|
-
name: 'FailureType',
|
|
64
|
-
source: `${config.module}.FailureType`,
|
|
65
|
-
title: '@maintenance-management:failure-types.entities.failure-type.title',
|
|
66
|
-
titlePlural: '@maintenance-management:failure-types.entities.failure-type.plural',
|
|
67
|
-
icon: 'fa-light fa-shapes',
|
|
68
|
-
},
|
|
69
|
-
failureMode: {
|
|
70
|
-
name: 'FailureMode',
|
|
71
|
-
source: `${config.module}.FailureMode`,
|
|
72
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.title',
|
|
73
|
-
titlePlural: '@maintenance-management:failure-modes.entities.failure-mode.plural',
|
|
74
|
-
icon: 'fa-light fa-diagram-project',
|
|
75
|
-
},
|
|
76
|
-
failureModeAssetType: {
|
|
77
|
-
name: 'FailureModeAssetType',
|
|
78
|
-
source: `${config.module}.FailureModeAssetType`,
|
|
79
|
-
title: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.title',
|
|
80
|
-
titlePlural: '@maintenance-management:failure-mode-asset-types.entities.failure-mode-asset-type.plural',
|
|
81
|
-
icon: 'fa-light fa-link',
|
|
82
|
-
},
|
|
83
|
-
failureModeMechanism: {
|
|
84
|
-
name: 'FailureModeMechanism',
|
|
85
|
-
source: `${config.module}.FailureModeMechanism`,
|
|
86
|
-
title: '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.title',
|
|
87
|
-
titlePlural: '@maintenance-management:failure-mode-mechanisms.entities.failure-mode-mechanism.plural',
|
|
88
|
-
icon: 'fa-light fa-gears',
|
|
89
|
-
},
|
|
90
|
-
failureModeSolution: {
|
|
91
|
-
name: 'FailureModeSolution',
|
|
92
|
-
source: `${config.module}.FailureModeSolution`,
|
|
93
|
-
title: '@maintenance-management:failure-mode-solutions.entities.failure-mode-solution.title',
|
|
94
|
-
titlePlural: '@maintenance-management:failure-mode-solutions.entities.failure-mode-solution.plural',
|
|
95
|
-
icon: 'fa-light fa-screwdriver-wrench',
|
|
96
|
-
},
|
|
97
|
-
failureEffect: {
|
|
98
|
-
name: 'FailureEffect',
|
|
99
|
-
source: `${config.module}.FailureEffect`,
|
|
100
|
-
title: '@maintenance-management:failure-effects.entities.failure-effect.title',
|
|
101
|
-
titlePlural: '@maintenance-management:failure-effects.entities.failure-effect.plural',
|
|
102
|
-
icon: 'fa-light fa-waveform-lines',
|
|
103
|
-
},
|
|
104
|
-
failureSeverity: {
|
|
105
|
-
name: 'FailureSeverity',
|
|
106
|
-
source: `${config.module}.FailureSeverity`,
|
|
107
|
-
title: '@maintenance-management:failure-severities.entities.failure-severity.title',
|
|
108
|
-
titlePlural: '@maintenance-management:failure-severities.entities.failure-severity.plural',
|
|
109
|
-
icon: 'fa-light fa-gauge-high',
|
|
110
|
-
},
|
|
111
|
-
failureRegister: {
|
|
112
|
-
name: 'FailureRegister',
|
|
113
|
-
source: `${config.module}.FailureRegister`,
|
|
114
|
-
title: '@maintenance-management:failure-registers.entities.failure-register.title',
|
|
115
|
-
titlePlural: '@maintenance-management:failure-registers.entities.failure-register.plural',
|
|
116
|
-
icon: 'fa-light fa-file-waveform',
|
|
117
|
-
},
|
|
118
|
-
failureRegisterEffect: {
|
|
119
|
-
name: 'FailureRegisterEffect',
|
|
120
|
-
source: `${config.module}.FailureRegisterEffect`,
|
|
121
|
-
title: '@maintenance-management:failure-register-effects.entities.failure-register-effect.title',
|
|
122
|
-
titlePlural: '@maintenance-management:failure-register-effects.entities.failure-register-effect.plural',
|
|
123
|
-
icon: 'fa-light fa-wave-pulse',
|
|
124
|
-
},
|
|
125
|
-
failureRegisterCause: {
|
|
126
|
-
name: 'FailureRegisterCause',
|
|
127
|
-
source: `${config.module}.FailureRegisterCause`,
|
|
128
|
-
title: '@maintenance-management:failure-register-causes.entities.failure-register-cause.title',
|
|
129
|
-
titlePlural: '@maintenance-management:failure-register-causes.entities.failure-register-cause.plural',
|
|
130
|
-
icon: 'fa-light fa-triangle-exclamation',
|
|
131
|
-
},
|
|
132
|
-
failureRegisterMechanism: {
|
|
133
|
-
name: 'FailureRegisterMechanism',
|
|
134
|
-
source: `${config.module}.FailureRegisterMechanism`,
|
|
135
|
-
title: '@maintenance-management:failure-register-mechanisms.entities.failure-register-mechanism.title',
|
|
136
|
-
titlePlural: '@maintenance-management:failure-register-mechanisms.entities.failure-register-mechanism.plural',
|
|
137
|
-
icon: 'fa-light fa-gears',
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
};
|
|
141
|
-
//#endregion
|
|
142
|
-
|
|
143
|
-
//#region ---- Imports ----
|
|
144
|
-
//#endregion
|
|
145
|
-
//#region ---- Entity Provider ----
|
|
146
|
-
class AXMMaintenanceManagementEntityProvider {
|
|
147
|
-
constructor() {
|
|
148
|
-
this.injector = inject(Injector);
|
|
149
|
-
}
|
|
150
|
-
async get(moduleName, entityName) {
|
|
151
|
-
if (moduleName === RootConfig.module.name) {
|
|
152
|
-
switch (entityName) {
|
|
153
|
-
case RootConfig.entities.maintenance.name:
|
|
154
|
-
return (await Promise.resolve().then(function () { return maintenance_entity; })).factory(this.injector);
|
|
155
|
-
case RootConfig.entities.maintenanceType.name:
|
|
156
|
-
return (await Promise.resolve().then(function () { return maintenanceType_entity; })).factory(this.injector);
|
|
157
|
-
case RootConfig.entities.failureCause.name:
|
|
158
|
-
return (await Promise.resolve().then(function () { return failureCause_entity; })).factory(this.injector);
|
|
159
|
-
case RootConfig.entities.failureMechanism.name:
|
|
160
|
-
return (await Promise.resolve().then(function () { return failureMechanism_entity; })).factory(this.injector);
|
|
161
|
-
case RootConfig.entities.failureDetection.name:
|
|
162
|
-
return (await Promise.resolve().then(function () { return failureDetection_entity; })).factory(this.injector);
|
|
163
|
-
case RootConfig.entities.failureType.name:
|
|
164
|
-
return (await Promise.resolve().then(function () { return failureType_entity; })).factory(this.injector);
|
|
165
|
-
case RootConfig.entities.failureMode.name:
|
|
166
|
-
return (await Promise.resolve().then(function () { return failureMode_entity; })).factory(this.injector);
|
|
167
|
-
case RootConfig.entities.failureModeAssetType.name:
|
|
168
|
-
return (await import('./acorex-modules-maintenance-management-failure-mode-asset-type.entity-gg2fpT2N.mjs')).factory(this.injector);
|
|
169
|
-
case RootConfig.entities.failureModeMechanism.name:
|
|
170
|
-
return (await import('./acorex-modules-maintenance-management-failure-mode-mechanism.entity-CHUaAnID.mjs')).factory(this.injector);
|
|
171
|
-
case RootConfig.entities.failureModeSolution.name:
|
|
172
|
-
return (await import('./acorex-modules-maintenance-management-failure-mode-solution.entity-B93x1uP_.mjs')).factory(this.injector);
|
|
173
|
-
case RootConfig.entities.failureEffect.name:
|
|
174
|
-
return (await import('./acorex-modules-maintenance-management-failure-effect.entity-DQJJtCqU.mjs')).factory(this.injector);
|
|
175
|
-
case RootConfig.entities.failureSeverity.name:
|
|
176
|
-
return (await import('./acorex-modules-maintenance-management-failure-severity.entity-BIZxoVIS.mjs')).factory(this.injector);
|
|
177
|
-
case RootConfig.entities.failureRegister.name:
|
|
178
|
-
return (await import('./acorex-modules-maintenance-management-failure-register.entity-D_lQrda5.mjs')).factory(this.injector);
|
|
179
|
-
case RootConfig.entities.failureRegisterEffect.name:
|
|
180
|
-
return (await import('./acorex-modules-maintenance-management-failure-register-effect.entity-_jjy1oeg.mjs')).factory(this.injector);
|
|
181
|
-
case RootConfig.entities.failureRegisterCause.name:
|
|
182
|
-
return (await import('./acorex-modules-maintenance-management-failure-register-cause.entity-McM3l12Q.mjs')).factory(this.injector);
|
|
183
|
-
case RootConfig.entities.failureRegisterMechanism.name:
|
|
184
|
-
return (await import('./acorex-modules-maintenance-management-failure-register-mechanism.entity-5CmdhowW.mjs')).factory(this.injector);
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
return null;
|
|
188
|
-
}
|
|
189
|
-
async list() {
|
|
190
|
-
const m = RootConfig.module.name;
|
|
191
|
-
return Promise.resolve(Object.values(RootConfig.entities).map((e) => ({ name: e.name, module: m })));
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
//#endregion
|
|
195
|
-
|
|
196
|
-
var entity_provider = /*#__PURE__*/Object.freeze({
|
|
197
|
-
__proto__: null,
|
|
198
|
-
AXMMaintenanceManagementEntityProvider: AXMMaintenanceManagementEntityProvider
|
|
199
|
-
});
|
|
200
|
-
|
|
201
|
-
const AXMMaintenanceManagementFeatureKeys = {
|
|
202
|
-
Management: 'MaintenanceManagement:Feature:Management',
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
//#region ---- Imports ----
|
|
206
|
-
//#endregion
|
|
207
|
-
//#region ---- Service ----
|
|
208
|
-
class AXMMaintenanceManagementFailureCauseEntityService extends AXMEntityCrudServiceImpl {
|
|
209
|
-
}
|
|
210
|
-
class AXMMaintenanceManagementFailureCauseEntityServiceImpl extends AXMMaintenanceManagementFailureCauseEntityService {
|
|
211
|
-
constructor() {
|
|
212
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureCause.name}`);
|
|
213
|
-
}
|
|
214
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureCauseEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
215
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureCauseEntityServiceImpl }); }
|
|
216
|
-
}
|
|
217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureCauseEntityServiceImpl, decorators: [{
|
|
218
|
-
type: Injectable
|
|
219
|
-
}], ctorParameters: () => [] });
|
|
220
|
-
|
|
221
|
-
//#region ---- Imports ----
|
|
222
|
-
//#endregion
|
|
223
|
-
//#region ---- Module ----
|
|
224
|
-
class AXMMaintenanceManagementFailureCauseEntityModule {
|
|
225
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureCauseEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
226
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureCauseEntityModule }); }
|
|
227
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureCauseEntityModule, providers: [
|
|
228
|
-
{
|
|
229
|
-
provide: AXMMaintenanceManagementFailureCauseEntityService,
|
|
230
|
-
useClass: AXMMaintenanceManagementFailureCauseEntityServiceImpl,
|
|
231
|
-
},
|
|
232
|
-
] }); }
|
|
233
|
-
}
|
|
234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureCauseEntityModule, decorators: [{
|
|
235
|
-
type: NgModule,
|
|
236
|
-
args: [{
|
|
237
|
-
providers: [
|
|
238
|
-
{
|
|
239
|
-
provide: AXMMaintenanceManagementFailureCauseEntityService,
|
|
240
|
-
useClass: AXMMaintenanceManagementFailureCauseEntityServiceImpl,
|
|
241
|
-
},
|
|
242
|
-
],
|
|
243
|
-
}]
|
|
244
|
-
}] });
|
|
245
|
-
|
|
246
|
-
//#region ---- Imports ----
|
|
247
|
-
//#endregion
|
|
248
|
-
//#region ---- Service ----
|
|
249
|
-
class AXMMaintenanceManagementFailureDetectionEntityService extends AXMEntityCrudServiceImpl {
|
|
250
|
-
}
|
|
251
|
-
class AXMMaintenanceManagementFailureDetectionEntityServiceImpl extends AXMMaintenanceManagementFailureDetectionEntityService {
|
|
252
|
-
constructor() {
|
|
253
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureDetection.name}`);
|
|
254
|
-
}
|
|
255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureDetectionEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
256
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureDetectionEntityServiceImpl }); }
|
|
257
|
-
}
|
|
258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureDetectionEntityServiceImpl, decorators: [{
|
|
259
|
-
type: Injectable
|
|
260
|
-
}], ctorParameters: () => [] });
|
|
261
|
-
|
|
262
|
-
//#region ---- Imports ----
|
|
263
|
-
//#endregion
|
|
264
|
-
//#region ---- Module ----
|
|
265
|
-
class AXMMaintenanceManagementFailureDetectionEntityModule {
|
|
266
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureDetectionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
267
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureDetectionEntityModule }); }
|
|
268
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureDetectionEntityModule, providers: [
|
|
269
|
-
{
|
|
270
|
-
provide: AXMMaintenanceManagementFailureDetectionEntityService,
|
|
271
|
-
useClass: AXMMaintenanceManagementFailureDetectionEntityServiceImpl,
|
|
272
|
-
},
|
|
273
|
-
] }); }
|
|
274
|
-
}
|
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureDetectionEntityModule, decorators: [{
|
|
276
|
-
type: NgModule,
|
|
277
|
-
args: [{
|
|
278
|
-
providers: [
|
|
279
|
-
{
|
|
280
|
-
provide: AXMMaintenanceManagementFailureDetectionEntityService,
|
|
281
|
-
useClass: AXMMaintenanceManagementFailureDetectionEntityServiceImpl,
|
|
282
|
-
},
|
|
283
|
-
],
|
|
284
|
-
}]
|
|
285
|
-
}] });
|
|
286
|
-
|
|
287
|
-
//#region ---- Imports ----
|
|
288
|
-
//#endregion
|
|
289
|
-
//#region ---- Service ----
|
|
290
|
-
class AXMMaintenanceManagementFailureEffectEntityService extends AXMEntityCrudServiceImpl {
|
|
291
|
-
}
|
|
292
|
-
class AXMMaintenanceManagementFailureEffectEntityServiceImpl extends AXMMaintenanceManagementFailureEffectEntityService {
|
|
293
|
-
constructor() {
|
|
294
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureEffect.name}`);
|
|
295
|
-
}
|
|
296
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureEffectEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
297
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureEffectEntityServiceImpl }); }
|
|
298
|
-
}
|
|
299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureEffectEntityServiceImpl, decorators: [{
|
|
300
|
-
type: Injectable
|
|
301
|
-
}], ctorParameters: () => [] });
|
|
302
|
-
|
|
303
|
-
//#region ---- Imports ----
|
|
304
|
-
//#endregion
|
|
305
|
-
//#region ---- Module ----
|
|
306
|
-
class AXMMaintenanceManagementFailureEffectEntityModule {
|
|
307
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureEffectEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
308
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureEffectEntityModule }); }
|
|
309
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureEffectEntityModule, providers: [
|
|
310
|
-
{
|
|
311
|
-
provide: AXMMaintenanceManagementFailureEffectEntityService,
|
|
312
|
-
useClass: AXMMaintenanceManagementFailureEffectEntityServiceImpl,
|
|
313
|
-
},
|
|
314
|
-
] }); }
|
|
315
|
-
}
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureEffectEntityModule, decorators: [{
|
|
317
|
-
type: NgModule,
|
|
318
|
-
args: [{
|
|
319
|
-
providers: [
|
|
320
|
-
{
|
|
321
|
-
provide: AXMMaintenanceManagementFailureEffectEntityService,
|
|
322
|
-
useClass: AXMMaintenanceManagementFailureEffectEntityServiceImpl,
|
|
323
|
-
},
|
|
324
|
-
],
|
|
325
|
-
}]
|
|
326
|
-
}] });
|
|
327
|
-
|
|
328
|
-
//#region ---- Imports ----
|
|
329
|
-
//#endregion
|
|
330
|
-
//#region ---- Service ----
|
|
331
|
-
class AXMMaintenanceManagementFailureMechanismEntityService extends AXMEntityCrudServiceImpl {
|
|
332
|
-
}
|
|
333
|
-
class AXMMaintenanceManagementFailureMechanismEntityServiceImpl extends AXMMaintenanceManagementFailureMechanismEntityService {
|
|
334
|
-
constructor() {
|
|
335
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureMechanism.name}`);
|
|
336
|
-
}
|
|
337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureMechanismEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
338
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureMechanismEntityServiceImpl }); }
|
|
339
|
-
}
|
|
340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureMechanismEntityServiceImpl, decorators: [{
|
|
341
|
-
type: Injectable
|
|
342
|
-
}], ctorParameters: () => [] });
|
|
343
|
-
|
|
344
|
-
//#region ---- Imports ----
|
|
345
|
-
//#endregion
|
|
346
|
-
//#region ---- Module ----
|
|
347
|
-
class AXMMaintenanceManagementFailureMechanismEntityModule {
|
|
348
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureMechanismEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
349
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureMechanismEntityModule }); }
|
|
350
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureMechanismEntityModule, providers: [
|
|
351
|
-
{
|
|
352
|
-
provide: AXMMaintenanceManagementFailureMechanismEntityService,
|
|
353
|
-
useClass: AXMMaintenanceManagementFailureMechanismEntityServiceImpl,
|
|
354
|
-
},
|
|
355
|
-
] }); }
|
|
356
|
-
}
|
|
357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureMechanismEntityModule, decorators: [{
|
|
358
|
-
type: NgModule,
|
|
359
|
-
args: [{
|
|
360
|
-
providers: [
|
|
361
|
-
{
|
|
362
|
-
provide: AXMMaintenanceManagementFailureMechanismEntityService,
|
|
363
|
-
useClass: AXMMaintenanceManagementFailureMechanismEntityServiceImpl,
|
|
364
|
-
},
|
|
365
|
-
],
|
|
366
|
-
}]
|
|
367
|
-
}] });
|
|
368
|
-
|
|
369
|
-
//#region ---- Imports ----
|
|
370
|
-
//#endregion
|
|
371
|
-
//#region ---- Service ----
|
|
372
|
-
class AXMMaintenanceManagementFailureModeEntityService extends AXMEntityCrudServiceImpl {
|
|
373
|
-
}
|
|
374
|
-
class AXMMaintenanceManagementFailureModeEntityServiceImpl extends AXMMaintenanceManagementFailureModeEntityService {
|
|
375
|
-
constructor() {
|
|
376
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureMode.name}`);
|
|
377
|
-
}
|
|
378
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
379
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeEntityServiceImpl }); }
|
|
380
|
-
}
|
|
381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeEntityServiceImpl, decorators: [{
|
|
382
|
-
type: Injectable
|
|
383
|
-
}], ctorParameters: () => [] });
|
|
384
|
-
|
|
385
|
-
//#region ---- Imports ----
|
|
386
|
-
//#endregion
|
|
387
|
-
//#region ---- Module ----
|
|
388
|
-
class AXMMaintenanceManagementFailureModeEntityModule {
|
|
389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
390
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeEntityModule }); }
|
|
391
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeEntityModule, providers: [
|
|
392
|
-
{
|
|
393
|
-
provide: AXMMaintenanceManagementFailureModeEntityService,
|
|
394
|
-
useClass: AXMMaintenanceManagementFailureModeEntityServiceImpl,
|
|
395
|
-
},
|
|
396
|
-
] }); }
|
|
397
|
-
}
|
|
398
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeEntityModule, decorators: [{
|
|
399
|
-
type: NgModule,
|
|
400
|
-
args: [{
|
|
401
|
-
providers: [
|
|
402
|
-
{
|
|
403
|
-
provide: AXMMaintenanceManagementFailureModeEntityService,
|
|
404
|
-
useClass: AXMMaintenanceManagementFailureModeEntityServiceImpl,
|
|
405
|
-
},
|
|
406
|
-
],
|
|
407
|
-
}]
|
|
408
|
-
}] });
|
|
409
|
-
|
|
410
|
-
//#region ---- Imports ----
|
|
411
|
-
//#endregion
|
|
412
|
-
//#region ---- Service ----
|
|
413
|
-
class AXMMaintenanceManagementFailureModeAssetTypeEntityService extends AXMEntityCrudServiceImpl {
|
|
414
|
-
}
|
|
415
|
-
class AXMMaintenanceManagementFailureModeAssetTypeEntityServiceImpl extends AXMMaintenanceManagementFailureModeAssetTypeEntityService {
|
|
416
|
-
constructor() {
|
|
417
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureModeAssetType.name}`);
|
|
418
|
-
}
|
|
419
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeAssetTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
420
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeAssetTypeEntityServiceImpl }); }
|
|
421
|
-
}
|
|
422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeAssetTypeEntityServiceImpl, decorators: [{
|
|
423
|
-
type: Injectable
|
|
424
|
-
}], ctorParameters: () => [] });
|
|
425
|
-
|
|
426
|
-
//#region ---- Imports ----
|
|
427
|
-
//#endregion
|
|
428
|
-
//#region ---- Module ----
|
|
429
|
-
class AXMMaintenanceManagementFailureModeAssetTypeEntityModule {
|
|
430
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeAssetTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
431
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeAssetTypeEntityModule }); }
|
|
432
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeAssetTypeEntityModule, providers: [
|
|
433
|
-
{
|
|
434
|
-
provide: AXMMaintenanceManagementFailureModeAssetTypeEntityService,
|
|
435
|
-
useClass: AXMMaintenanceManagementFailureModeAssetTypeEntityServiceImpl,
|
|
436
|
-
},
|
|
437
|
-
] }); }
|
|
438
|
-
}
|
|
439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeAssetTypeEntityModule, decorators: [{
|
|
440
|
-
type: NgModule,
|
|
441
|
-
args: [{
|
|
442
|
-
providers: [
|
|
443
|
-
{
|
|
444
|
-
provide: AXMMaintenanceManagementFailureModeAssetTypeEntityService,
|
|
445
|
-
useClass: AXMMaintenanceManagementFailureModeAssetTypeEntityServiceImpl,
|
|
446
|
-
},
|
|
447
|
-
],
|
|
448
|
-
}]
|
|
449
|
-
}] });
|
|
450
|
-
|
|
451
|
-
//#region ---- Imports ----
|
|
452
|
-
//#endregion
|
|
453
|
-
//#region ---- Service ----
|
|
454
|
-
class AXMMaintenanceManagementFailureModeMechanismEntityService extends AXMEntityCrudServiceImpl {
|
|
455
|
-
}
|
|
456
|
-
class AXMMaintenanceManagementFailureModeMechanismEntityServiceImpl extends AXMMaintenanceManagementFailureModeMechanismEntityService {
|
|
457
|
-
constructor() {
|
|
458
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureModeMechanism.name}`);
|
|
459
|
-
}
|
|
460
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeMechanismEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
461
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeMechanismEntityServiceImpl }); }
|
|
462
|
-
}
|
|
463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeMechanismEntityServiceImpl, decorators: [{
|
|
464
|
-
type: Injectable
|
|
465
|
-
}], ctorParameters: () => [] });
|
|
466
|
-
|
|
467
|
-
//#region ---- Imports ----
|
|
468
|
-
//#endregion
|
|
469
|
-
//#region ---- Module ----
|
|
470
|
-
class AXMMaintenanceManagementFailureModeMechanismEntityModule {
|
|
471
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeMechanismEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
472
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeMechanismEntityModule }); }
|
|
473
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeMechanismEntityModule, providers: [
|
|
474
|
-
{
|
|
475
|
-
provide: AXMMaintenanceManagementFailureModeMechanismEntityService,
|
|
476
|
-
useClass: AXMMaintenanceManagementFailureModeMechanismEntityServiceImpl,
|
|
477
|
-
},
|
|
478
|
-
] }); }
|
|
479
|
-
}
|
|
480
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeMechanismEntityModule, decorators: [{
|
|
481
|
-
type: NgModule,
|
|
482
|
-
args: [{
|
|
483
|
-
providers: [
|
|
484
|
-
{
|
|
485
|
-
provide: AXMMaintenanceManagementFailureModeMechanismEntityService,
|
|
486
|
-
useClass: AXMMaintenanceManagementFailureModeMechanismEntityServiceImpl,
|
|
487
|
-
},
|
|
488
|
-
],
|
|
489
|
-
}]
|
|
490
|
-
}] });
|
|
491
|
-
|
|
492
|
-
//#region ---- Imports ----
|
|
493
|
-
//#endregion
|
|
494
|
-
//#region ---- Service ----
|
|
495
|
-
class AXMMaintenanceManagementFailureModeSolutionEntityService extends AXMEntityCrudServiceImpl {
|
|
496
|
-
}
|
|
497
|
-
class AXMMaintenanceManagementFailureModeSolutionEntityServiceImpl extends AXMMaintenanceManagementFailureModeSolutionEntityService {
|
|
498
|
-
constructor() {
|
|
499
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureModeSolution.name}`);
|
|
500
|
-
}
|
|
501
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeSolutionEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
502
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeSolutionEntityServiceImpl }); }
|
|
503
|
-
}
|
|
504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeSolutionEntityServiceImpl, decorators: [{
|
|
505
|
-
type: Injectable
|
|
506
|
-
}], ctorParameters: () => [] });
|
|
507
|
-
|
|
508
|
-
//#region ---- Imports ----
|
|
509
|
-
//#endregion
|
|
510
|
-
//#region ---- Module ----
|
|
511
|
-
class AXMMaintenanceManagementFailureModeSolutionEntityModule {
|
|
512
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeSolutionEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
513
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeSolutionEntityModule }); }
|
|
514
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeSolutionEntityModule, providers: [
|
|
515
|
-
{
|
|
516
|
-
provide: AXMMaintenanceManagementFailureModeSolutionEntityService,
|
|
517
|
-
useClass: AXMMaintenanceManagementFailureModeSolutionEntityServiceImpl,
|
|
518
|
-
},
|
|
519
|
-
] }); }
|
|
520
|
-
}
|
|
521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureModeSolutionEntityModule, decorators: [{
|
|
522
|
-
type: NgModule,
|
|
523
|
-
args: [{
|
|
524
|
-
providers: [
|
|
525
|
-
{
|
|
526
|
-
provide: AXMMaintenanceManagementFailureModeSolutionEntityService,
|
|
527
|
-
useClass: AXMMaintenanceManagementFailureModeSolutionEntityServiceImpl,
|
|
528
|
-
},
|
|
529
|
-
],
|
|
530
|
-
}]
|
|
531
|
-
}] });
|
|
532
|
-
|
|
533
|
-
//#region ---- Imports ----
|
|
534
|
-
//#endregion
|
|
535
|
-
//#region ---- Service ----
|
|
536
|
-
class AXMMaintenanceManagementFailureRegisterCauseEntityService extends AXMEntityCrudServiceImpl {
|
|
537
|
-
}
|
|
538
|
-
class AXMMaintenanceManagementFailureRegisterCauseEntityServiceImpl extends AXMMaintenanceManagementFailureRegisterCauseEntityService {
|
|
539
|
-
constructor() {
|
|
540
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureRegisterCause.name}`);
|
|
541
|
-
}
|
|
542
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterCauseEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
543
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterCauseEntityServiceImpl }); }
|
|
544
|
-
}
|
|
545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterCauseEntityServiceImpl, decorators: [{
|
|
546
|
-
type: Injectable
|
|
547
|
-
}], ctorParameters: () => [] });
|
|
548
|
-
|
|
549
|
-
//#region ---- Imports ----
|
|
550
|
-
//#endregion
|
|
551
|
-
//#region ---- Module ----
|
|
552
|
-
class AXMMaintenanceManagementFailureRegisterCauseEntityModule {
|
|
553
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterCauseEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
554
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterCauseEntityModule }); }
|
|
555
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterCauseEntityModule, providers: [
|
|
556
|
-
{
|
|
557
|
-
provide: AXMMaintenanceManagementFailureRegisterCauseEntityService,
|
|
558
|
-
useClass: AXMMaintenanceManagementFailureRegisterCauseEntityServiceImpl,
|
|
559
|
-
},
|
|
560
|
-
] }); }
|
|
561
|
-
}
|
|
562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterCauseEntityModule, decorators: [{
|
|
563
|
-
type: NgModule,
|
|
564
|
-
args: [{
|
|
565
|
-
providers: [
|
|
566
|
-
{
|
|
567
|
-
provide: AXMMaintenanceManagementFailureRegisterCauseEntityService,
|
|
568
|
-
useClass: AXMMaintenanceManagementFailureRegisterCauseEntityServiceImpl,
|
|
569
|
-
},
|
|
570
|
-
],
|
|
571
|
-
}]
|
|
572
|
-
}] });
|
|
573
|
-
|
|
574
|
-
//#region ---- Imports ----
|
|
575
|
-
//#endregion
|
|
576
|
-
//#region ---- Service ----
|
|
577
|
-
class AXMMaintenanceManagementFailureRegisterEffectEntityService extends AXMEntityCrudServiceImpl {
|
|
578
|
-
}
|
|
579
|
-
class AXMMaintenanceManagementFailureRegisterEffectEntityServiceImpl extends AXMMaintenanceManagementFailureRegisterEffectEntityService {
|
|
580
|
-
constructor() {
|
|
581
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureRegisterEffect.name}`);
|
|
582
|
-
}
|
|
583
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEffectEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
584
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEffectEntityServiceImpl }); }
|
|
585
|
-
}
|
|
586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEffectEntityServiceImpl, decorators: [{
|
|
587
|
-
type: Injectable
|
|
588
|
-
}], ctorParameters: () => [] });
|
|
589
|
-
|
|
590
|
-
//#region ---- Imports ----
|
|
591
|
-
//#endregion
|
|
592
|
-
//#region ---- Module ----
|
|
593
|
-
class AXMMaintenanceManagementFailureRegisterEffectEntityModule {
|
|
594
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEffectEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
595
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEffectEntityModule }); }
|
|
596
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEffectEntityModule, providers: [
|
|
597
|
-
{
|
|
598
|
-
provide: AXMMaintenanceManagementFailureRegisterEffectEntityService,
|
|
599
|
-
useClass: AXMMaintenanceManagementFailureRegisterEffectEntityServiceImpl,
|
|
600
|
-
},
|
|
601
|
-
] }); }
|
|
602
|
-
}
|
|
603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEffectEntityModule, decorators: [{
|
|
604
|
-
type: NgModule,
|
|
605
|
-
args: [{
|
|
606
|
-
providers: [
|
|
607
|
-
{
|
|
608
|
-
provide: AXMMaintenanceManagementFailureRegisterEffectEntityService,
|
|
609
|
-
useClass: AXMMaintenanceManagementFailureRegisterEffectEntityServiceImpl,
|
|
610
|
-
},
|
|
611
|
-
],
|
|
612
|
-
}]
|
|
613
|
-
}] });
|
|
614
|
-
|
|
615
|
-
//#region ---- Imports ----
|
|
616
|
-
//#endregion
|
|
617
|
-
//#region ---- Service ----
|
|
618
|
-
class AXMMaintenanceManagementFailureRegisterMechanismEntityService extends AXMEntityCrudServiceImpl {
|
|
619
|
-
}
|
|
620
|
-
class AXMMaintenanceManagementFailureRegisterMechanismEntityServiceImpl extends AXMMaintenanceManagementFailureRegisterMechanismEntityService {
|
|
621
|
-
constructor() {
|
|
622
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureRegisterMechanism.name}`);
|
|
623
|
-
}
|
|
624
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterMechanismEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
625
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterMechanismEntityServiceImpl }); }
|
|
626
|
-
}
|
|
627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterMechanismEntityServiceImpl, decorators: [{
|
|
628
|
-
type: Injectable
|
|
629
|
-
}], ctorParameters: () => [] });
|
|
630
|
-
|
|
631
|
-
//#region ---- Imports ----
|
|
632
|
-
//#endregion
|
|
633
|
-
//#region ---- Module ----
|
|
634
|
-
class AXMMaintenanceManagementFailureRegisterMechanismEntityModule {
|
|
635
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterMechanismEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
636
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterMechanismEntityModule }); }
|
|
637
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterMechanismEntityModule, providers: [
|
|
638
|
-
{
|
|
639
|
-
provide: AXMMaintenanceManagementFailureRegisterMechanismEntityService,
|
|
640
|
-
useClass: AXMMaintenanceManagementFailureRegisterMechanismEntityServiceImpl,
|
|
641
|
-
},
|
|
642
|
-
] }); }
|
|
643
|
-
}
|
|
644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterMechanismEntityModule, decorators: [{
|
|
645
|
-
type: NgModule,
|
|
646
|
-
args: [{
|
|
647
|
-
providers: [
|
|
648
|
-
{
|
|
649
|
-
provide: AXMMaintenanceManagementFailureRegisterMechanismEntityService,
|
|
650
|
-
useClass: AXMMaintenanceManagementFailureRegisterMechanismEntityServiceImpl,
|
|
651
|
-
},
|
|
652
|
-
],
|
|
653
|
-
}]
|
|
654
|
-
}] });
|
|
655
|
-
|
|
656
|
-
//#region ---- Imports ----
|
|
657
|
-
//#endregion
|
|
658
|
-
//#region ---- Service ----
|
|
659
|
-
class AXMMaintenanceManagementFailureRegisterEntityService extends AXMEntityCrudServiceImpl {
|
|
660
|
-
}
|
|
661
|
-
class AXMMaintenanceManagementFailureRegisterEntityServiceImpl extends AXMMaintenanceManagementFailureRegisterEntityService {
|
|
662
|
-
constructor() {
|
|
663
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureRegister.name}`);
|
|
664
|
-
}
|
|
665
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
666
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEntityServiceImpl }); }
|
|
667
|
-
}
|
|
668
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEntityServiceImpl, decorators: [{
|
|
669
|
-
type: Injectable
|
|
670
|
-
}], ctorParameters: () => [] });
|
|
671
|
-
|
|
672
|
-
//#region ---- Imports ----
|
|
673
|
-
//#endregion
|
|
674
|
-
//#region ---- Module ----
|
|
675
|
-
class AXMMaintenanceManagementFailureRegisterEntityModule {
|
|
676
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
677
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEntityModule }); }
|
|
678
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEntityModule, providers: [
|
|
679
|
-
{
|
|
680
|
-
provide: AXMMaintenanceManagementFailureRegisterEntityService,
|
|
681
|
-
useClass: AXMMaintenanceManagementFailureRegisterEntityServiceImpl,
|
|
682
|
-
},
|
|
683
|
-
] }); }
|
|
684
|
-
}
|
|
685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureRegisterEntityModule, decorators: [{
|
|
686
|
-
type: NgModule,
|
|
687
|
-
args: [{
|
|
688
|
-
providers: [
|
|
689
|
-
{
|
|
690
|
-
provide: AXMMaintenanceManagementFailureRegisterEntityService,
|
|
691
|
-
useClass: AXMMaintenanceManagementFailureRegisterEntityServiceImpl,
|
|
692
|
-
},
|
|
693
|
-
],
|
|
694
|
-
}]
|
|
695
|
-
}] });
|
|
696
|
-
|
|
697
|
-
//#region ---- Imports ----
|
|
698
|
-
//#endregion
|
|
699
|
-
//#region ---- Service ----
|
|
700
|
-
class AXMMaintenanceManagementFailureSeverityEntityService extends AXMEntityCrudServiceImpl {
|
|
701
|
-
}
|
|
702
|
-
class AXMMaintenanceManagementFailureSeverityEntityServiceImpl extends AXMMaintenanceManagementFailureSeverityEntityService {
|
|
703
|
-
constructor() {
|
|
704
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureSeverity.name}`);
|
|
705
|
-
}
|
|
706
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureSeverityEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
707
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureSeverityEntityServiceImpl }); }
|
|
708
|
-
}
|
|
709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureSeverityEntityServiceImpl, decorators: [{
|
|
710
|
-
type: Injectable
|
|
711
|
-
}], ctorParameters: () => [] });
|
|
712
|
-
|
|
713
|
-
//#region ---- Imports ----
|
|
714
|
-
//#endregion
|
|
715
|
-
//#region ---- Module ----
|
|
716
|
-
class AXMMaintenanceManagementFailureSeverityEntityModule {
|
|
717
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureSeverityEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
718
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureSeverityEntityModule }); }
|
|
719
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureSeverityEntityModule, providers: [
|
|
720
|
-
{
|
|
721
|
-
provide: AXMMaintenanceManagementFailureSeverityEntityService,
|
|
722
|
-
useClass: AXMMaintenanceManagementFailureSeverityEntityServiceImpl,
|
|
723
|
-
},
|
|
724
|
-
] }); }
|
|
725
|
-
}
|
|
726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureSeverityEntityModule, decorators: [{
|
|
727
|
-
type: NgModule,
|
|
728
|
-
args: [{
|
|
729
|
-
providers: [
|
|
730
|
-
{
|
|
731
|
-
provide: AXMMaintenanceManagementFailureSeverityEntityService,
|
|
732
|
-
useClass: AXMMaintenanceManagementFailureSeverityEntityServiceImpl,
|
|
733
|
-
},
|
|
734
|
-
],
|
|
735
|
-
}]
|
|
736
|
-
}] });
|
|
737
|
-
|
|
738
|
-
//#region ---- Imports ----
|
|
739
|
-
//#endregion
|
|
740
|
-
//#region ---- Service ----
|
|
741
|
-
class AXMMaintenanceManagementFailureTypeEntityService extends AXMEntityCrudServiceImpl {
|
|
742
|
-
}
|
|
743
|
-
class AXMMaintenanceManagementFailureTypeEntityServiceImpl extends AXMMaintenanceManagementFailureTypeEntityService {
|
|
744
|
-
constructor() {
|
|
745
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.failureType.name}`);
|
|
746
|
-
}
|
|
747
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
748
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureTypeEntityServiceImpl }); }
|
|
749
|
-
}
|
|
750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureTypeEntityServiceImpl, decorators: [{
|
|
751
|
-
type: Injectable
|
|
752
|
-
}], ctorParameters: () => [] });
|
|
753
|
-
|
|
754
|
-
//#region ---- Imports ----
|
|
755
|
-
//#endregion
|
|
756
|
-
//#region ---- Module ----
|
|
757
|
-
class AXMMaintenanceManagementFailureTypeEntityModule {
|
|
758
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
759
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureTypeEntityModule }); }
|
|
760
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureTypeEntityModule, providers: [
|
|
761
|
-
{
|
|
762
|
-
provide: AXMMaintenanceManagementFailureTypeEntityService,
|
|
763
|
-
useClass: AXMMaintenanceManagementFailureTypeEntityServiceImpl,
|
|
764
|
-
},
|
|
765
|
-
] }); }
|
|
766
|
-
}
|
|
767
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementFailureTypeEntityModule, decorators: [{
|
|
768
|
-
type: NgModule,
|
|
769
|
-
args: [{
|
|
770
|
-
providers: [
|
|
771
|
-
{
|
|
772
|
-
provide: AXMMaintenanceManagementFailureTypeEntityService,
|
|
773
|
-
useClass: AXMMaintenanceManagementFailureTypeEntityServiceImpl,
|
|
774
|
-
},
|
|
775
|
-
],
|
|
776
|
-
}]
|
|
777
|
-
}] });
|
|
778
|
-
|
|
779
|
-
//#region ---- Imports ----
|
|
780
|
-
//#endregion
|
|
781
|
-
//#region ---- Service ----
|
|
782
|
-
class AXMMaintenanceManagementMaintenanceEntityService extends AXMEntityCrudServiceImpl {
|
|
783
|
-
}
|
|
784
|
-
class AXMMaintenanceManagementMaintenanceEntityServiceImpl extends AXMMaintenanceManagementMaintenanceEntityService {
|
|
785
|
-
constructor() {
|
|
786
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.maintenance.name}`);
|
|
787
|
-
}
|
|
788
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
789
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceEntityServiceImpl }); }
|
|
790
|
-
}
|
|
791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceEntityServiceImpl, decorators: [{
|
|
792
|
-
type: Injectable
|
|
793
|
-
}], ctorParameters: () => [] });
|
|
794
|
-
|
|
795
|
-
//#region ---- Imports ----
|
|
796
|
-
//#endregion
|
|
797
|
-
//#region ---- Module ----
|
|
798
|
-
class AXMMaintenanceManagementMaintenanceEntityModule {
|
|
799
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
800
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceEntityModule }); }
|
|
801
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceEntityModule, providers: [
|
|
802
|
-
{
|
|
803
|
-
provide: AXMMaintenanceManagementMaintenanceEntityService,
|
|
804
|
-
useClass: AXMMaintenanceManagementMaintenanceEntityServiceImpl,
|
|
805
|
-
},
|
|
806
|
-
] }); }
|
|
807
|
-
}
|
|
808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceEntityModule, decorators: [{
|
|
809
|
-
type: NgModule,
|
|
810
|
-
args: [{
|
|
811
|
-
providers: [
|
|
812
|
-
{
|
|
813
|
-
provide: AXMMaintenanceManagementMaintenanceEntityService,
|
|
814
|
-
useClass: AXMMaintenanceManagementMaintenanceEntityServiceImpl,
|
|
815
|
-
},
|
|
816
|
-
],
|
|
817
|
-
}]
|
|
818
|
-
}] });
|
|
819
|
-
|
|
820
|
-
//#region ---- Imports ----
|
|
821
|
-
//#endregion
|
|
822
|
-
//#region ---- Service ----
|
|
823
|
-
class AXMMaintenanceManagementMaintenanceTypeEntityService extends AXMEntityCrudServiceImpl {
|
|
824
|
-
}
|
|
825
|
-
class AXMMaintenanceManagementMaintenanceTypeEntityServiceImpl extends AXMMaintenanceManagementMaintenanceTypeEntityService {
|
|
826
|
-
constructor() {
|
|
827
|
-
super(`${RootConfig.module.name}.${RootConfig.entities.maintenanceType.name}`);
|
|
828
|
-
}
|
|
829
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceTypeEntityServiceImpl, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
830
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceTypeEntityServiceImpl }); }
|
|
831
|
-
}
|
|
832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceTypeEntityServiceImpl, decorators: [{
|
|
833
|
-
type: Injectable
|
|
834
|
-
}], ctorParameters: () => [] });
|
|
835
|
-
|
|
836
|
-
//#region ---- Imports ----
|
|
837
|
-
//#endregion
|
|
838
|
-
//#region ---- Module ----
|
|
839
|
-
class AXMMaintenanceManagementMaintenanceTypeEntityModule {
|
|
840
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceTypeEntityModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
841
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceTypeEntityModule }); }
|
|
842
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceTypeEntityModule, providers: [
|
|
843
|
-
{
|
|
844
|
-
provide: AXMMaintenanceManagementMaintenanceTypeEntityService,
|
|
845
|
-
useClass: AXMMaintenanceManagementMaintenanceTypeEntityServiceImpl,
|
|
846
|
-
},
|
|
847
|
-
] }); }
|
|
848
|
-
}
|
|
849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementMaintenanceTypeEntityModule, decorators: [{
|
|
850
|
-
type: NgModule,
|
|
851
|
-
args: [{
|
|
852
|
-
providers: [
|
|
853
|
-
{
|
|
854
|
-
provide: AXMMaintenanceManagementMaintenanceTypeEntityService,
|
|
855
|
-
useClass: AXMMaintenanceManagementMaintenanceTypeEntityServiceImpl,
|
|
856
|
-
},
|
|
857
|
-
],
|
|
858
|
-
}]
|
|
859
|
-
}] });
|
|
860
|
-
|
|
861
|
-
//#region ---- Imports ----
|
|
862
|
-
//#endregion
|
|
863
|
-
//#region ---- Manifest Definition ----
|
|
864
|
-
/**
|
|
865
|
-
* Maintenance Management Module Manifest.
|
|
866
|
-
* Defines module metadata, features, and provider references.
|
|
867
|
-
*/
|
|
868
|
-
const MaintenanceManagementManifest = {
|
|
869
|
-
name: RootConfig.module.name,
|
|
870
|
-
version: '1.0.0',
|
|
871
|
-
title: RootConfig.module.title,
|
|
872
|
-
icon: RootConfig.module.icon,
|
|
873
|
-
i18n: RootConfig.config.i18n,
|
|
874
|
-
required: false,
|
|
875
|
-
// Module dependencies (optional)
|
|
876
|
-
};
|
|
877
|
-
//#endregion
|
|
878
|
-
|
|
879
|
-
//#region ---- Imports ----
|
|
880
|
-
//#endregion
|
|
881
|
-
//#region ---- Module ----
|
|
882
|
-
class AXMMaintenanceManagementModule {
|
|
883
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
884
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementModule, imports: [AXMMaintenanceManagementMaintenanceEntityModule,
|
|
885
|
-
AXMMaintenanceManagementMaintenanceTypeEntityModule,
|
|
886
|
-
AXMMaintenanceManagementFailureCauseEntityModule,
|
|
887
|
-
AXMMaintenanceManagementFailureMechanismEntityModule,
|
|
888
|
-
AXMMaintenanceManagementFailureDetectionEntityModule,
|
|
889
|
-
AXMMaintenanceManagementFailureEffectEntityModule,
|
|
890
|
-
AXMMaintenanceManagementFailureSeverityEntityModule,
|
|
891
|
-
AXMMaintenanceManagementFailureTypeEntityModule,
|
|
892
|
-
AXMMaintenanceManagementFailureModeEntityModule,
|
|
893
|
-
AXMMaintenanceManagementFailureModeAssetTypeEntityModule,
|
|
894
|
-
AXMMaintenanceManagementFailureModeMechanismEntityModule,
|
|
895
|
-
AXMMaintenanceManagementFailureModeSolutionEntityModule,
|
|
896
|
-
AXMMaintenanceManagementFailureRegisterEntityModule,
|
|
897
|
-
AXMMaintenanceManagementFailureRegisterEffectEntityModule,
|
|
898
|
-
AXMMaintenanceManagementFailureRegisterCauseEntityModule,
|
|
899
|
-
AXMMaintenanceManagementFailureRegisterMechanismEntityModule] }); }
|
|
900
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementModule, providers: [
|
|
901
|
-
// Module Manifest Provider
|
|
902
|
-
{
|
|
903
|
-
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
904
|
-
useValue: MaintenanceManagementManifest,
|
|
905
|
-
multi: true,
|
|
906
|
-
},
|
|
907
|
-
// Provider references (now using tokens)
|
|
908
|
-
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMMaintenanceManagementPermissionDefinitionProvider)),
|
|
909
|
-
provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMMaintenanceManagementMenuProvider)),
|
|
910
|
-
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMMaintenanceManagementEntityProvider)),
|
|
911
|
-
provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMMaintenanceManagementSearchCommandProvider)),
|
|
912
|
-
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-maintenance-management-failure-register-status.provider-B8-Snxbx.mjs').then((m) => m.AXMMaintenanceManagementFailureRegisterStatusProvider)),
|
|
913
|
-
], imports: [AXMMaintenanceManagementMaintenanceEntityModule,
|
|
914
|
-
AXMMaintenanceManagementMaintenanceTypeEntityModule,
|
|
915
|
-
AXMMaintenanceManagementFailureCauseEntityModule,
|
|
916
|
-
AXMMaintenanceManagementFailureMechanismEntityModule,
|
|
917
|
-
AXMMaintenanceManagementFailureDetectionEntityModule,
|
|
918
|
-
AXMMaintenanceManagementFailureEffectEntityModule,
|
|
919
|
-
AXMMaintenanceManagementFailureSeverityEntityModule,
|
|
920
|
-
AXMMaintenanceManagementFailureTypeEntityModule,
|
|
921
|
-
AXMMaintenanceManagementFailureModeEntityModule,
|
|
922
|
-
AXMMaintenanceManagementFailureModeAssetTypeEntityModule,
|
|
923
|
-
AXMMaintenanceManagementFailureModeMechanismEntityModule,
|
|
924
|
-
AXMMaintenanceManagementFailureModeSolutionEntityModule,
|
|
925
|
-
AXMMaintenanceManagementFailureRegisterEntityModule,
|
|
926
|
-
AXMMaintenanceManagementFailureRegisterEffectEntityModule,
|
|
927
|
-
AXMMaintenanceManagementFailureRegisterCauseEntityModule,
|
|
928
|
-
AXMMaintenanceManagementFailureRegisterMechanismEntityModule] }); }
|
|
929
|
-
}
|
|
930
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMMaintenanceManagementModule, decorators: [{
|
|
931
|
-
type: NgModule,
|
|
932
|
-
args: [{
|
|
933
|
-
imports: [
|
|
934
|
-
AXMMaintenanceManagementMaintenanceEntityModule,
|
|
935
|
-
AXMMaintenanceManagementMaintenanceTypeEntityModule,
|
|
936
|
-
AXMMaintenanceManagementFailureCauseEntityModule,
|
|
937
|
-
AXMMaintenanceManagementFailureMechanismEntityModule,
|
|
938
|
-
AXMMaintenanceManagementFailureDetectionEntityModule,
|
|
939
|
-
AXMMaintenanceManagementFailureEffectEntityModule,
|
|
940
|
-
AXMMaintenanceManagementFailureSeverityEntityModule,
|
|
941
|
-
AXMMaintenanceManagementFailureTypeEntityModule,
|
|
942
|
-
AXMMaintenanceManagementFailureModeEntityModule,
|
|
943
|
-
AXMMaintenanceManagementFailureModeAssetTypeEntityModule,
|
|
944
|
-
AXMMaintenanceManagementFailureModeMechanismEntityModule,
|
|
945
|
-
AXMMaintenanceManagementFailureModeSolutionEntityModule,
|
|
946
|
-
AXMMaintenanceManagementFailureRegisterEntityModule,
|
|
947
|
-
AXMMaintenanceManagementFailureRegisterEffectEntityModule,
|
|
948
|
-
AXMMaintenanceManagementFailureRegisterCauseEntityModule,
|
|
949
|
-
AXMMaintenanceManagementFailureRegisterMechanismEntityModule,
|
|
950
|
-
],
|
|
951
|
-
providers: [
|
|
952
|
-
// Module Manifest Provider
|
|
953
|
-
{
|
|
954
|
-
provide: AXP_MODULE_MANIFEST_PROVIDER,
|
|
955
|
-
useValue: MaintenanceManagementManifest,
|
|
956
|
-
multi: true,
|
|
957
|
-
},
|
|
958
|
-
// Provider references (now using tokens)
|
|
959
|
-
provideLazyProvider(AXP_PERMISSION_DEFINITION_PROVIDER, () => Promise.resolve().then(function () { return permissionDefinition_provider; }).then((m) => m.AXMMaintenanceManagementPermissionDefinitionProvider)),
|
|
960
|
-
provideLazyProvider(AXP_MENU_PROVIDER, () => Promise.resolve().then(function () { return menu_provider; }).then((m) => m.AXMMaintenanceManagementMenuProvider)),
|
|
961
|
-
provideLazyProvider(AXP_ENTITY_DEFINITION_LOADER, () => Promise.resolve().then(function () { return entity_provider; }).then((m) => m.AXMMaintenanceManagementEntityProvider)),
|
|
962
|
-
provideLazyProvider(AXP_SEARCH_PROVIDER, () => Promise.resolve().then(function () { return searchCommand_provider; }).then((m) => m.AXMMaintenanceManagementSearchCommandProvider)),
|
|
963
|
-
provideLazyProvider(AXP_STATUS_PROVIDERS, () => import('./acorex-modules-maintenance-management-failure-register-status.provider-B8-Snxbx.mjs').then((m) => m.AXMMaintenanceManagementFailureRegisterStatusProvider)),
|
|
964
|
-
],
|
|
965
|
-
}]
|
|
966
|
-
}] });
|
|
967
|
-
|
|
968
|
-
const AXMMaintenanceManagementMenuKeys = {
|
|
969
|
-
Root: 'MaintenanceManagement:Menu',
|
|
970
|
-
Maintenances: 'MaintenanceManagement:Menu:Maintenances',
|
|
971
|
-
MaintenanceTypes: 'MaintenanceManagement:Menu:MaintenanceTypes',
|
|
972
|
-
FailureCauses: 'MaintenanceManagement:Menu:FailureCauses',
|
|
973
|
-
FailureMechanisms: 'MaintenanceManagement:Menu:FailureMechanisms',
|
|
974
|
-
FailureDetections: 'MaintenanceManagement:Menu:FailureDetections',
|
|
975
|
-
FailureEffects: 'MaintenanceManagement:Menu:FailureEffects',
|
|
976
|
-
FailureSeverities: 'MaintenanceManagement:Menu:FailureSeverities',
|
|
977
|
-
FailureTypes: 'MaintenanceManagement:Menu:FailureTypes',
|
|
978
|
-
FailureModes: 'MaintenanceManagement:Menu:FailureModes',
|
|
979
|
-
FailureRegisters: 'MaintenanceManagement:Menu:FailureRegisters',
|
|
980
|
-
};
|
|
981
|
-
|
|
982
|
-
const AXMMaintenanceManagementPermissionKeys = {
|
|
983
|
-
MaintenanceManagement: {
|
|
984
|
-
Management: 'MaintenanceManagement:Permission:MaintenanceManagement.Management',
|
|
985
|
-
MaintenanceType: {
|
|
986
|
-
Management: 'MaintenanceManagement:Permission:MaintenanceType.Management',
|
|
987
|
-
View: 'MaintenanceManagement:Permission:MaintenanceType.View',
|
|
988
|
-
Create: 'MaintenanceManagement:Permission:MaintenanceType.Create',
|
|
989
|
-
Update: 'MaintenanceManagement:Permission:MaintenanceType.Update',
|
|
990
|
-
Delete: 'MaintenanceManagement:Permission:MaintenanceType.Delete',
|
|
991
|
-
},
|
|
992
|
-
Maintenance: {
|
|
993
|
-
Management: 'MaintenanceManagement:Permission:Maintenance.Management',
|
|
994
|
-
View: 'MaintenanceManagement:Permission:Maintenance.View',
|
|
995
|
-
Create: 'MaintenanceManagement:Permission:Maintenance.Create',
|
|
996
|
-
Update: 'MaintenanceManagement:Permission:Maintenance.Update',
|
|
997
|
-
Delete: 'MaintenanceManagement:Permission:Maintenance.Delete',
|
|
998
|
-
},
|
|
999
|
-
FailureCause: {
|
|
1000
|
-
Management: 'MaintenanceManagement:Permission:FailureCause.Management',
|
|
1001
|
-
View: 'MaintenanceManagement:Permission:FailureCause.View',
|
|
1002
|
-
Create: 'MaintenanceManagement:Permission:FailureCause.Create',
|
|
1003
|
-
Update: 'MaintenanceManagement:Permission:FailureCause.Update',
|
|
1004
|
-
Delete: 'MaintenanceManagement:Permission:FailureCause.Delete',
|
|
1005
|
-
},
|
|
1006
|
-
FailureMechanism: {
|
|
1007
|
-
Management: 'MaintenanceManagement:Permission:FailureMechanism.Management',
|
|
1008
|
-
View: 'MaintenanceManagement:Permission:FailureMechanism.View',
|
|
1009
|
-
Create: 'MaintenanceManagement:Permission:FailureMechanism.Create',
|
|
1010
|
-
Update: 'MaintenanceManagement:Permission:FailureMechanism.Update',
|
|
1011
|
-
Delete: 'MaintenanceManagement:Permission:FailureMechanism.Delete',
|
|
1012
|
-
},
|
|
1013
|
-
FailureDetection: {
|
|
1014
|
-
Management: 'MaintenanceManagement:Permission:FailureDetection.Management',
|
|
1015
|
-
View: 'MaintenanceManagement:Permission:FailureDetection.View',
|
|
1016
|
-
Create: 'MaintenanceManagement:Permission:FailureDetection.Create',
|
|
1017
|
-
Update: 'MaintenanceManagement:Permission:FailureDetection.Update',
|
|
1018
|
-
Delete: 'MaintenanceManagement:Permission:FailureDetection.Delete',
|
|
1019
|
-
},
|
|
1020
|
-
FailureEffect: {
|
|
1021
|
-
Management: 'MaintenanceManagement:Permission:FailureEffect.Management',
|
|
1022
|
-
View: 'MaintenanceManagement:Permission:FailureEffect.View',
|
|
1023
|
-
Create: 'MaintenanceManagement:Permission:FailureEffect.Create',
|
|
1024
|
-
Update: 'MaintenanceManagement:Permission:FailureEffect.Update',
|
|
1025
|
-
Delete: 'MaintenanceManagement:Permission:FailureEffect.Delete',
|
|
1026
|
-
},
|
|
1027
|
-
FailureSeverity: {
|
|
1028
|
-
Management: 'MaintenanceManagement:Permission:FailureSeverity.Management',
|
|
1029
|
-
View: 'MaintenanceManagement:Permission:FailureSeverity.View',
|
|
1030
|
-
Create: 'MaintenanceManagement:Permission:FailureSeverity.Create',
|
|
1031
|
-
Update: 'MaintenanceManagement:Permission:FailureSeverity.Update',
|
|
1032
|
-
Delete: 'MaintenanceManagement:Permission:FailureSeverity.Delete',
|
|
1033
|
-
},
|
|
1034
|
-
FailureType: {
|
|
1035
|
-
Management: 'MaintenanceManagement:Permission:FailureType.Management',
|
|
1036
|
-
View: 'MaintenanceManagement:Permission:FailureType.View',
|
|
1037
|
-
Create: 'MaintenanceManagement:Permission:FailureType.Create',
|
|
1038
|
-
Update: 'MaintenanceManagement:Permission:FailureType.Update',
|
|
1039
|
-
Delete: 'MaintenanceManagement:Permission:FailureType.Delete',
|
|
1040
|
-
},
|
|
1041
|
-
FailureMode: {
|
|
1042
|
-
Management: 'MaintenanceManagement:Permission:FailureMode.Management',
|
|
1043
|
-
View: 'MaintenanceManagement:Permission:FailureMode.View',
|
|
1044
|
-
Create: 'MaintenanceManagement:Permission:FailureMode.Create',
|
|
1045
|
-
Update: 'MaintenanceManagement:Permission:FailureMode.Update',
|
|
1046
|
-
Delete: 'MaintenanceManagement:Permission:FailureMode.Delete',
|
|
1047
|
-
},
|
|
1048
|
-
FailureRegister: {
|
|
1049
|
-
Management: 'MaintenanceManagement:Permission:FailureRegister.Management',
|
|
1050
|
-
View: 'MaintenanceManagement:Permission:FailureRegister.View',
|
|
1051
|
-
Create: 'MaintenanceManagement:Permission:FailureRegister.Create',
|
|
1052
|
-
Update: 'MaintenanceManagement:Permission:FailureRegister.Update',
|
|
1053
|
-
Delete: 'MaintenanceManagement:Permission:FailureRegister.Delete',
|
|
1054
|
-
},
|
|
1055
|
-
},
|
|
1056
|
-
};
|
|
1057
|
-
|
|
1058
|
-
//#region ---- Imports ----
|
|
1059
|
-
//#endregion
|
|
1060
|
-
//#region ---- Menu Provider ----
|
|
1061
|
-
/**
|
|
1062
|
-
* Maintenance Management Menu Provider.
|
|
1063
|
-
* Provides menu items for the Maintenance Management module with permission and feature checks.
|
|
1064
|
-
*/
|
|
1065
|
-
class AXMMaintenanceManagementMenuProvider {
|
|
1066
|
-
constructor() {
|
|
1067
|
-
this.entityService = inject(AXPEntityService);
|
|
1068
|
-
}
|
|
1069
|
-
async provide(context) {
|
|
1070
|
-
const module = RootConfig.module;
|
|
1071
|
-
const keys = AXMMaintenanceManagementPermissionKeys.MaintenanceManagement;
|
|
1072
|
-
context.addItems([
|
|
1073
|
-
{
|
|
1074
|
-
name: AXMMaintenanceManagementMenuKeys.Root,
|
|
1075
|
-
priority: 9050,
|
|
1076
|
-
text: '@general:menus.maintenance.title',
|
|
1077
|
-
icon: module.icon,
|
|
1078
|
-
policy: {
|
|
1079
|
-
features: [module.name],
|
|
1080
|
-
},
|
|
1081
|
-
children: [
|
|
1082
|
-
// {
|
|
1083
|
-
// name: AXMMaintenanceManagementMenuKeys.Maintenances,
|
|
1084
|
-
// text: RootConfig.entities.maintenance.titlePlural,
|
|
1085
|
-
// icon: RootConfig.entities.maintenance.icon,
|
|
1086
|
-
// path: this.entityService.createPath(module.name, RootConfig.entities.maintenance.name),
|
|
1087
|
-
// priority: 1,
|
|
1088
|
-
// policy: {
|
|
1089
|
-
// permissions: [keys.Maintenance.View],
|
|
1090
|
-
// },
|
|
1091
|
-
// },
|
|
1092
|
-
// {
|
|
1093
|
-
// name: AXMMaintenanceManagementMenuKeys.MaintenanceTypes,
|
|
1094
|
-
// text: RootConfig.entities.maintenanceType.titlePlural,
|
|
1095
|
-
// icon: RootConfig.entities.maintenanceType.icon,
|
|
1096
|
-
// path: this.entityService.createPath(module.name, RootConfig.entities.maintenanceType.name),
|
|
1097
|
-
// priority: 2,
|
|
1098
|
-
// policy: {
|
|
1099
|
-
// permissions: [keys.MaintenanceType.View],
|
|
1100
|
-
// },
|
|
1101
|
-
// },
|
|
1102
|
-
{
|
|
1103
|
-
name: AXMMaintenanceManagementMenuKeys.FailureRegisters,
|
|
1104
|
-
text: RootConfig.entities.failureRegister.titlePlural,
|
|
1105
|
-
icon: RootConfig.entities.failureRegister.icon,
|
|
1106
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.failureRegister.name),
|
|
1107
|
-
priority: 3,
|
|
1108
|
-
policy: {
|
|
1109
|
-
permissions: [keys.FailureRegister.View],
|
|
1110
|
-
},
|
|
1111
|
-
},
|
|
1112
|
-
],
|
|
1113
|
-
},
|
|
1114
|
-
]);
|
|
1115
|
-
context.find(AXPCommonMenuKeys.MaintenanceConfig).addItems([
|
|
1116
|
-
{
|
|
1117
|
-
name: AXMMaintenanceManagementMenuKeys.FailureCauses,
|
|
1118
|
-
text: RootConfig.entities.failureCause.titlePlural,
|
|
1119
|
-
icon: RootConfig.entities.failureCause.icon,
|
|
1120
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.failureCause.name),
|
|
1121
|
-
priority: 1,
|
|
1122
|
-
policy: {
|
|
1123
|
-
features: [module.name],
|
|
1124
|
-
permissions: [keys.FailureCause.View],
|
|
1125
|
-
},
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
name: AXMMaintenanceManagementMenuKeys.FailureMechanisms,
|
|
1129
|
-
text: RootConfig.entities.failureMechanism.titlePlural,
|
|
1130
|
-
icon: RootConfig.entities.failureMechanism.icon,
|
|
1131
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.failureMechanism.name),
|
|
1132
|
-
priority: 2,
|
|
1133
|
-
policy: {
|
|
1134
|
-
features: [module.name],
|
|
1135
|
-
permissions: [keys.FailureMechanism.View],
|
|
1136
|
-
},
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
name: AXMMaintenanceManagementMenuKeys.FailureDetections,
|
|
1140
|
-
text: RootConfig.entities.failureDetection.titlePlural,
|
|
1141
|
-
icon: RootConfig.entities.failureDetection.icon,
|
|
1142
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.failureDetection.name),
|
|
1143
|
-
priority: 3,
|
|
1144
|
-
policy: {
|
|
1145
|
-
features: [module.name],
|
|
1146
|
-
permissions: [keys.FailureDetection.View],
|
|
1147
|
-
},
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
name: AXMMaintenanceManagementMenuKeys.FailureEffects,
|
|
1151
|
-
text: RootConfig.entities.failureEffect.titlePlural,
|
|
1152
|
-
icon: RootConfig.entities.failureEffect.icon,
|
|
1153
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.failureEffect.name),
|
|
1154
|
-
priority: 4,
|
|
1155
|
-
policy: {
|
|
1156
|
-
features: [module.name],
|
|
1157
|
-
permissions: [keys.FailureEffect.View],
|
|
1158
|
-
},
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
name: AXMMaintenanceManagementMenuKeys.FailureSeverities,
|
|
1162
|
-
text: RootConfig.entities.failureSeverity.titlePlural,
|
|
1163
|
-
icon: RootConfig.entities.failureSeverity.icon,
|
|
1164
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.failureSeverity.name),
|
|
1165
|
-
priority: 5,
|
|
1166
|
-
policy: {
|
|
1167
|
-
features: [module.name],
|
|
1168
|
-
permissions: [keys.FailureSeverity.View],
|
|
1169
|
-
},
|
|
1170
|
-
},
|
|
1171
|
-
{
|
|
1172
|
-
name: AXMMaintenanceManagementMenuKeys.FailureTypes,
|
|
1173
|
-
text: RootConfig.entities.failureType.titlePlural,
|
|
1174
|
-
icon: RootConfig.entities.failureType.icon,
|
|
1175
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.failureType.name),
|
|
1176
|
-
priority: 6,
|
|
1177
|
-
policy: {
|
|
1178
|
-
features: [module.name],
|
|
1179
|
-
permissions: [keys.FailureType.View],
|
|
1180
|
-
},
|
|
1181
|
-
},
|
|
1182
|
-
{
|
|
1183
|
-
name: AXMMaintenanceManagementMenuKeys.FailureModes,
|
|
1184
|
-
text: RootConfig.entities.failureMode.titlePlural,
|
|
1185
|
-
icon: RootConfig.entities.failureMode.icon,
|
|
1186
|
-
path: this.entityService.createPath(module.name, RootConfig.entities.failureMode.name),
|
|
1187
|
-
priority: 7,
|
|
1188
|
-
policy: {
|
|
1189
|
-
features: [module.name],
|
|
1190
|
-
permissions: [keys.FailureMode.View],
|
|
1191
|
-
},
|
|
1192
|
-
},
|
|
1193
|
-
]);
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1196
|
-
//#endregion
|
|
1197
|
-
|
|
1198
|
-
var menu_provider = /*#__PURE__*/Object.freeze({
|
|
1199
|
-
__proto__: null,
|
|
1200
|
-
AXMMaintenanceManagementMenuProvider: AXMMaintenanceManagementMenuProvider
|
|
1201
|
-
});
|
|
1202
|
-
|
|
1203
|
-
//#region ---- Imports ----
|
|
1204
|
-
//#endregion
|
|
1205
|
-
//#region ---- Permission Definition Provider ----
|
|
1206
|
-
class AXMMaintenanceManagementPermissionDefinitionProvider {
|
|
1207
|
-
async define(context) {
|
|
1208
|
-
const keys = AXMMaintenanceManagementPermissionKeys.MaintenanceManagement;
|
|
1209
|
-
// I18n path constants for cleaner code
|
|
1210
|
-
const MODULE_PERMISSIONS = '@maintenance-management:module.permissions';
|
|
1211
|
-
const MAINTENANCE_TYPES_PERMISSIONS = '@maintenance-management:maintenance-types.permissions';
|
|
1212
|
-
const MAINTENANCES_PERMISSIONS = '@maintenance-management:maintenances.permissions';
|
|
1213
|
-
const FAILURE_CAUSES_PERMISSIONS = '@maintenance-management:failure-causes.permissions';
|
|
1214
|
-
const FAILURE_MECHANISMS_PERMISSIONS = '@maintenance-management:failure-mechanisms.permissions';
|
|
1215
|
-
const FAILURE_DETECTIONS_PERMISSIONS = '@maintenance-management:failure-detections.permissions';
|
|
1216
|
-
const FAILURE_EFFECTS_PERMISSIONS = '@maintenance-management:failure-effects.permissions';
|
|
1217
|
-
const FAILURE_SEVERITIES_PERMISSIONS = '@maintenance-management:failure-severities.permissions';
|
|
1218
|
-
const FAILURE_TYPES_PERMISSIONS = '@maintenance-management:failure-types.permissions';
|
|
1219
|
-
const FAILURE_MODES_PERMISSIONS = '@maintenance-management:failure-modes.permissions';
|
|
1220
|
-
const FAILURE_REGISTERS_PERMISSIONS = '@maintenance-management:failure-registers.permissions';
|
|
1221
|
-
context
|
|
1222
|
-
.addGroup(keys.Management, `${MODULE_PERMISSIONS}.title`, `${MODULE_PERMISSIONS}.description`)
|
|
1223
|
-
.addPermission(keys.MaintenanceType.Management, `${MAINTENANCE_TYPES_PERMISSIONS}.manage.title`, `${MAINTENANCE_TYPES_PERMISSIONS}.manage.description`)
|
|
1224
|
-
.addChild(keys.MaintenanceType.View, `${MAINTENANCE_TYPES_PERMISSIONS}.view.title`, `${MAINTENANCE_TYPES_PERMISSIONS}.view.description`)
|
|
1225
|
-
.addChild(keys.MaintenanceType.Create, `${MAINTENANCE_TYPES_PERMISSIONS}.create.title`, `${MAINTENANCE_TYPES_PERMISSIONS}.create.description`)
|
|
1226
|
-
.addChild(keys.MaintenanceType.Update, `${MAINTENANCE_TYPES_PERMISSIONS}.edit.title`, `${MAINTENANCE_TYPES_PERMISSIONS}.edit.description`)
|
|
1227
|
-
.addChild(keys.MaintenanceType.Delete, `${MAINTENANCE_TYPES_PERMISSIONS}.delete.title`, `${MAINTENANCE_TYPES_PERMISSIONS}.delete.description`)
|
|
1228
|
-
.endPermission()
|
|
1229
|
-
.addPermission(keys.Maintenance.Management, `${MAINTENANCES_PERMISSIONS}.manage.title`, `${MAINTENANCES_PERMISSIONS}.manage.description`)
|
|
1230
|
-
.addChild(keys.Maintenance.View, `${MAINTENANCES_PERMISSIONS}.view.title`, `${MAINTENANCES_PERMISSIONS}.view.description`)
|
|
1231
|
-
.addChild(keys.Maintenance.Create, `${MAINTENANCES_PERMISSIONS}.create.title`, `${MAINTENANCES_PERMISSIONS}.create.description`)
|
|
1232
|
-
.addChild(keys.Maintenance.Update, `${MAINTENANCES_PERMISSIONS}.edit.title`, `${MAINTENANCES_PERMISSIONS}.edit.description`)
|
|
1233
|
-
.addChild(keys.Maintenance.Delete, `${MAINTENANCES_PERMISSIONS}.delete.title`, `${MAINTENANCES_PERMISSIONS}.delete.description`)
|
|
1234
|
-
.endPermission()
|
|
1235
|
-
.addPermission(keys.FailureCause.Management, `${FAILURE_CAUSES_PERMISSIONS}.manage.title`, `${FAILURE_CAUSES_PERMISSIONS}.manage.description`)
|
|
1236
|
-
.addChild(keys.FailureCause.View, `${FAILURE_CAUSES_PERMISSIONS}.view.title`, `${FAILURE_CAUSES_PERMISSIONS}.view.description`)
|
|
1237
|
-
.addChild(keys.FailureCause.Create, `${FAILURE_CAUSES_PERMISSIONS}.create.title`, `${FAILURE_CAUSES_PERMISSIONS}.create.description`)
|
|
1238
|
-
.addChild(keys.FailureCause.Update, `${FAILURE_CAUSES_PERMISSIONS}.edit.title`, `${FAILURE_CAUSES_PERMISSIONS}.edit.description`)
|
|
1239
|
-
.addChild(keys.FailureCause.Delete, `${FAILURE_CAUSES_PERMISSIONS}.delete.title`, `${FAILURE_CAUSES_PERMISSIONS}.delete.description`)
|
|
1240
|
-
.endPermission()
|
|
1241
|
-
.addPermission(keys.FailureMechanism.Management, `${FAILURE_MECHANISMS_PERMISSIONS}.manage.title`, `${FAILURE_MECHANISMS_PERMISSIONS}.manage.description`)
|
|
1242
|
-
.addChild(keys.FailureMechanism.View, `${FAILURE_MECHANISMS_PERMISSIONS}.view.title`, `${FAILURE_MECHANISMS_PERMISSIONS}.view.description`)
|
|
1243
|
-
.addChild(keys.FailureMechanism.Create, `${FAILURE_MECHANISMS_PERMISSIONS}.create.title`, `${FAILURE_MECHANISMS_PERMISSIONS}.create.description`)
|
|
1244
|
-
.addChild(keys.FailureMechanism.Update, `${FAILURE_MECHANISMS_PERMISSIONS}.edit.title`, `${FAILURE_MECHANISMS_PERMISSIONS}.edit.description`)
|
|
1245
|
-
.addChild(keys.FailureMechanism.Delete, `${FAILURE_MECHANISMS_PERMISSIONS}.delete.title`, `${FAILURE_MECHANISMS_PERMISSIONS}.delete.description`)
|
|
1246
|
-
.endPermission()
|
|
1247
|
-
.addPermission(keys.FailureDetection.Management, `${FAILURE_DETECTIONS_PERMISSIONS}.manage.title`, `${FAILURE_DETECTIONS_PERMISSIONS}.manage.description`)
|
|
1248
|
-
.addChild(keys.FailureDetection.View, `${FAILURE_DETECTIONS_PERMISSIONS}.view.title`, `${FAILURE_DETECTIONS_PERMISSIONS}.view.description`)
|
|
1249
|
-
.addChild(keys.FailureDetection.Create, `${FAILURE_DETECTIONS_PERMISSIONS}.create.title`, `${FAILURE_DETECTIONS_PERMISSIONS}.create.description`)
|
|
1250
|
-
.addChild(keys.FailureDetection.Update, `${FAILURE_DETECTIONS_PERMISSIONS}.edit.title`, `${FAILURE_DETECTIONS_PERMISSIONS}.edit.description`)
|
|
1251
|
-
.addChild(keys.FailureDetection.Delete, `${FAILURE_DETECTIONS_PERMISSIONS}.delete.title`, `${FAILURE_DETECTIONS_PERMISSIONS}.delete.description`)
|
|
1252
|
-
.endPermission()
|
|
1253
|
-
.addPermission(keys.FailureEffect.Management, `${FAILURE_EFFECTS_PERMISSIONS}.manage.title`, `${FAILURE_EFFECTS_PERMISSIONS}.manage.description`)
|
|
1254
|
-
.addChild(keys.FailureEffect.View, `${FAILURE_EFFECTS_PERMISSIONS}.view.title`, `${FAILURE_EFFECTS_PERMISSIONS}.view.description`)
|
|
1255
|
-
.addChild(keys.FailureEffect.Create, `${FAILURE_EFFECTS_PERMISSIONS}.create.title`, `${FAILURE_EFFECTS_PERMISSIONS}.create.description`)
|
|
1256
|
-
.addChild(keys.FailureEffect.Update, `${FAILURE_EFFECTS_PERMISSIONS}.edit.title`, `${FAILURE_EFFECTS_PERMISSIONS}.edit.description`)
|
|
1257
|
-
.addChild(keys.FailureEffect.Delete, `${FAILURE_EFFECTS_PERMISSIONS}.delete.title`, `${FAILURE_EFFECTS_PERMISSIONS}.delete.description`)
|
|
1258
|
-
.endPermission()
|
|
1259
|
-
.addPermission(keys.FailureSeverity.Management, `${FAILURE_SEVERITIES_PERMISSIONS}.manage.title`, `${FAILURE_SEVERITIES_PERMISSIONS}.manage.description`)
|
|
1260
|
-
.addChild(keys.FailureSeverity.View, `${FAILURE_SEVERITIES_PERMISSIONS}.view.title`, `${FAILURE_SEVERITIES_PERMISSIONS}.view.description`)
|
|
1261
|
-
.addChild(keys.FailureSeverity.Create, `${FAILURE_SEVERITIES_PERMISSIONS}.create.title`, `${FAILURE_SEVERITIES_PERMISSIONS}.create.description`)
|
|
1262
|
-
.addChild(keys.FailureSeverity.Update, `${FAILURE_SEVERITIES_PERMISSIONS}.edit.title`, `${FAILURE_SEVERITIES_PERMISSIONS}.edit.description`)
|
|
1263
|
-
.addChild(keys.FailureSeverity.Delete, `${FAILURE_SEVERITIES_PERMISSIONS}.delete.title`, `${FAILURE_SEVERITIES_PERMISSIONS}.delete.description`)
|
|
1264
|
-
.endPermission()
|
|
1265
|
-
.addPermission(keys.FailureType.Management, `${FAILURE_TYPES_PERMISSIONS}.manage.title`, `${FAILURE_TYPES_PERMISSIONS}.manage.description`)
|
|
1266
|
-
.addChild(keys.FailureType.View, `${FAILURE_TYPES_PERMISSIONS}.view.title`, `${FAILURE_TYPES_PERMISSIONS}.view.description`)
|
|
1267
|
-
.addChild(keys.FailureType.Create, `${FAILURE_TYPES_PERMISSIONS}.create.title`, `${FAILURE_TYPES_PERMISSIONS}.create.description`)
|
|
1268
|
-
.addChild(keys.FailureType.Update, `${FAILURE_TYPES_PERMISSIONS}.edit.title`, `${FAILURE_TYPES_PERMISSIONS}.edit.description`)
|
|
1269
|
-
.addChild(keys.FailureType.Delete, `${FAILURE_TYPES_PERMISSIONS}.delete.title`, `${FAILURE_TYPES_PERMISSIONS}.delete.description`)
|
|
1270
|
-
.endPermission()
|
|
1271
|
-
.addPermission(keys.FailureMode.Management, `${FAILURE_MODES_PERMISSIONS}.manage.title`, `${FAILURE_MODES_PERMISSIONS}.manage.description`)
|
|
1272
|
-
.addChild(keys.FailureMode.View, `${FAILURE_MODES_PERMISSIONS}.view.title`, `${FAILURE_MODES_PERMISSIONS}.view.description`)
|
|
1273
|
-
.addChild(keys.FailureMode.Create, `${FAILURE_MODES_PERMISSIONS}.create.title`, `${FAILURE_MODES_PERMISSIONS}.create.description`)
|
|
1274
|
-
.addChild(keys.FailureMode.Update, `${FAILURE_MODES_PERMISSIONS}.edit.title`, `${FAILURE_MODES_PERMISSIONS}.edit.description`)
|
|
1275
|
-
.addChild(keys.FailureMode.Delete, `${FAILURE_MODES_PERMISSIONS}.delete.title`, `${FAILURE_MODES_PERMISSIONS}.delete.description`)
|
|
1276
|
-
.endPermission()
|
|
1277
|
-
.addPermission(keys.FailureRegister.Management, `${FAILURE_REGISTERS_PERMISSIONS}.manage.title`, `${FAILURE_REGISTERS_PERMISSIONS}.manage.description`)
|
|
1278
|
-
.addChild(keys.FailureRegister.View, `${FAILURE_REGISTERS_PERMISSIONS}.view.title`, `${FAILURE_REGISTERS_PERMISSIONS}.view.description`)
|
|
1279
|
-
.addChild(keys.FailureRegister.Create, `${FAILURE_REGISTERS_PERMISSIONS}.create.title`, `${FAILURE_REGISTERS_PERMISSIONS}.create.description`)
|
|
1280
|
-
.addChild(keys.FailureRegister.Update, `${FAILURE_REGISTERS_PERMISSIONS}.edit.title`, `${FAILURE_REGISTERS_PERMISSIONS}.edit.description`)
|
|
1281
|
-
.addChild(keys.FailureRegister.Delete, `${FAILURE_REGISTERS_PERMISSIONS}.delete.title`, `${FAILURE_REGISTERS_PERMISSIONS}.delete.description`)
|
|
1282
|
-
.endPermission()
|
|
1283
|
-
.endGroup();
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
//#endregion
|
|
1287
|
-
|
|
1288
|
-
var permissionDefinition_provider = /*#__PURE__*/Object.freeze({
|
|
1289
|
-
__proto__: null,
|
|
1290
|
-
AXMMaintenanceManagementPermissionDefinitionProvider: AXMMaintenanceManagementPermissionDefinitionProvider
|
|
1291
|
-
});
|
|
1292
|
-
|
|
1293
|
-
//#region ---- Imports ----
|
|
1294
|
-
//#endregion
|
|
1295
|
-
//#region ---- Search Command Provider ----
|
|
1296
|
-
class AXMMaintenanceManagementSearchCommandProvider extends AXPSearchCommandProvider {
|
|
1297
|
-
constructor() {
|
|
1298
|
-
super(...arguments);
|
|
1299
|
-
this.commands = [
|
|
1300
|
-
{
|
|
1301
|
-
id: 'create-maintenance',
|
|
1302
|
-
group: 'command',
|
|
1303
|
-
title: '@maintenance-management:maintenances.search.create-maintenance.title',
|
|
1304
|
-
icon: RootConfig.entities.maintenance.icon,
|
|
1305
|
-
description: '@maintenance-management:maintenances.search.create-maintenance.description',
|
|
1306
|
-
command: {
|
|
1307
|
-
name: 'Entity:Create',
|
|
1308
|
-
options: createEntityCommandOptions(`${RootConfig.module.name}.${RootConfig.entities.maintenance.name}`, { name: RootConfig.entities.maintenance.name, module: RootConfig.module.name, title: RootConfig.entities.maintenance.title }),
|
|
1309
|
-
},
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
id: 'create-maintenance-type',
|
|
1313
|
-
group: 'command',
|
|
1314
|
-
title: RootConfig.entities.maintenanceType.title,
|
|
1315
|
-
icon: RootConfig.entities.maintenanceType.icon,
|
|
1316
|
-
description: RootConfig.entities.maintenanceType.titlePlural,
|
|
1317
|
-
command: {
|
|
1318
|
-
name: 'Entity:Create',
|
|
1319
|
-
options: createEntityCommandOptions(`${RootConfig.module.name}.${RootConfig.entities.maintenanceType.name}`, { name: RootConfig.entities.maintenanceType.name, module: RootConfig.module.name, title: RootConfig.entities.maintenanceType.title }),
|
|
1320
|
-
},
|
|
1321
|
-
},
|
|
1322
|
-
{
|
|
1323
|
-
id: 'create-failure-mode',
|
|
1324
|
-
group: 'command',
|
|
1325
|
-
title: RootConfig.entities.failureMode.title,
|
|
1326
|
-
icon: RootConfig.entities.failureMode.icon,
|
|
1327
|
-
description: RootConfig.entities.failureMode.titlePlural,
|
|
1328
|
-
command: {
|
|
1329
|
-
name: 'Entity:Create',
|
|
1330
|
-
options: createEntityCommandOptions(`${RootConfig.module.name}.${RootConfig.entities.failureMode.name}`, {
|
|
1331
|
-
name: RootConfig.entities.failureMode.name,
|
|
1332
|
-
module: RootConfig.module.name,
|
|
1333
|
-
title: RootConfig.entities.failureMode.title,
|
|
1334
|
-
}),
|
|
1335
|
-
},
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
id: 'create-failure-cause',
|
|
1339
|
-
group: 'command',
|
|
1340
|
-
title: RootConfig.entities.failureCause.title,
|
|
1341
|
-
icon: RootConfig.entities.failureCause.icon,
|
|
1342
|
-
description: RootConfig.entities.failureCause.titlePlural,
|
|
1343
|
-
command: {
|
|
1344
|
-
name: 'Entity:Create',
|
|
1345
|
-
options: createEntityCommandOptions(`${RootConfig.module.name}.${RootConfig.entities.failureCause.name}`, { name: RootConfig.entities.failureCause.name, module: RootConfig.module.name, title: RootConfig.entities.failureCause.title }),
|
|
1346
|
-
},
|
|
1347
|
-
},
|
|
1348
|
-
{
|
|
1349
|
-
id: 'create-failure-mechanism',
|
|
1350
|
-
group: 'command',
|
|
1351
|
-
title: RootConfig.entities.failureMechanism.title,
|
|
1352
|
-
icon: RootConfig.entities.failureMechanism.icon,
|
|
1353
|
-
description: RootConfig.entities.failureMechanism.titlePlural,
|
|
1354
|
-
command: {
|
|
1355
|
-
name: 'Entity:Create',
|
|
1356
|
-
options: createEntityCommandOptions(`${RootConfig.module.name}.${RootConfig.entities.failureMechanism.name}`, {
|
|
1357
|
-
name: RootConfig.entities.failureMechanism.name,
|
|
1358
|
-
module: RootConfig.module.name,
|
|
1359
|
-
title: RootConfig.entities.failureMechanism.title,
|
|
1360
|
-
}),
|
|
1361
|
-
},
|
|
1362
|
-
},
|
|
1363
|
-
{
|
|
1364
|
-
id: 'create-failure-detection',
|
|
1365
|
-
group: 'command',
|
|
1366
|
-
title: RootConfig.entities.failureDetection.title,
|
|
1367
|
-
icon: RootConfig.entities.failureDetection.icon,
|
|
1368
|
-
description: RootConfig.entities.failureDetection.titlePlural,
|
|
1369
|
-
command: {
|
|
1370
|
-
name: 'Entity:Create',
|
|
1371
|
-
options: createEntityCommandOptions(`${RootConfig.module.name}.${RootConfig.entities.failureDetection.name}`, {
|
|
1372
|
-
name: RootConfig.entities.failureDetection.name,
|
|
1373
|
-
module: RootConfig.module.name,
|
|
1374
|
-
title: RootConfig.entities.failureDetection.title,
|
|
1375
|
-
}),
|
|
1376
|
-
},
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
id: 'create-failure-type',
|
|
1380
|
-
group: 'command',
|
|
1381
|
-
title: RootConfig.entities.failureType.title,
|
|
1382
|
-
icon: RootConfig.entities.failureType.icon,
|
|
1383
|
-
description: RootConfig.entities.failureType.titlePlural,
|
|
1384
|
-
command: {
|
|
1385
|
-
name: 'Entity:Create',
|
|
1386
|
-
options: createEntityCommandOptions(`${RootConfig.module.name}.${RootConfig.entities.failureType.name}`, {
|
|
1387
|
-
name: RootConfig.entities.failureType.name,
|
|
1388
|
-
module: RootConfig.module.name,
|
|
1389
|
-
title: RootConfig.entities.failureType.title,
|
|
1390
|
-
}),
|
|
1391
|
-
},
|
|
1392
|
-
},
|
|
1393
|
-
];
|
|
1394
|
-
}
|
|
1395
|
-
}
|
|
1396
|
-
//#endregion
|
|
1397
|
-
|
|
1398
|
-
var searchCommand_provider = /*#__PURE__*/Object.freeze({
|
|
1399
|
-
__proto__: null,
|
|
1400
|
-
AXMMaintenanceManagementSearchCommandProvider: AXMMaintenanceManagementSearchCommandProvider
|
|
1401
|
-
});
|
|
1402
|
-
|
|
1403
|
-
//#region ---- Types ----
|
|
1404
|
-
var AXMPerformedBy;
|
|
1405
|
-
(function (AXMPerformedBy) {
|
|
1406
|
-
AXMPerformedBy["Employee"] = "employee";
|
|
1407
|
-
AXMPerformedBy["ThirdParty"] = "thirdParty";
|
|
1408
|
-
})(AXMPerformedBy || (AXMPerformedBy = {}));
|
|
1409
|
-
const idAXPMetaData = AXMPerformedBy.Employee;
|
|
1410
|
-
//#endregion
|
|
1411
|
-
|
|
1412
|
-
//#region ---- Imports ----
|
|
1413
|
-
//#endregion
|
|
1414
|
-
//#region ---- Entity Factory ----
|
|
1415
|
-
async function factory$6(injector) {
|
|
1416
|
-
const dataService = injector.get(AXMMaintenanceManagementMaintenanceEntityService);
|
|
1417
|
-
const entityDef = {
|
|
1418
|
-
module: RootConfig.module.name,
|
|
1419
|
-
name: RootConfig.entities.maintenance.name,
|
|
1420
|
-
title: RootConfig.entities.maintenance.title,
|
|
1421
|
-
icon: RootConfig.entities.maintenance.icon,
|
|
1422
|
-
plugins: [
|
|
1423
|
-
{ name: 'archive', options: { order: 1 } },
|
|
1424
|
-
{ name: 'history', options: { order: 2 } },
|
|
1425
|
-
// {
|
|
1426
|
-
// name: 'category',
|
|
1427
|
-
// options: {
|
|
1428
|
-
// appearance: { icon: true, color: true },
|
|
1429
|
-
// metaData: { enabled: true },
|
|
1430
|
-
// }
|
|
1431
|
-
// },
|
|
1432
|
-
{
|
|
1433
|
-
name: 'meta-data-form',
|
|
1434
|
-
options: {
|
|
1435
|
-
path: 'maintenanceTypeId',
|
|
1436
|
-
title: '@maintenance-management:maintenances.entities.maintenance.components.meta-data-form.title',
|
|
1437
|
-
},
|
|
1438
|
-
},
|
|
1439
|
-
{ name: 'notes', options: { order: 5 } },
|
|
1440
|
-
{ name: 'attachments', options: { order: 6 } },
|
|
1441
|
-
],
|
|
1442
|
-
formats: {
|
|
1443
|
-
individual: RootConfig.entities.maintenance.title,
|
|
1444
|
-
plural: RootConfig.entities.maintenance.titlePlural,
|
|
1445
|
-
searchResult: { title: '{{ title }}', description: RootConfig.module.title },
|
|
1446
|
-
},
|
|
1447
|
-
groups: [
|
|
1448
|
-
{ id: 'basic-info', title: '@maintenance-management:maintenances.entities.maintenance.groups.basic-info' },
|
|
1449
|
-
{ id: 'performed-by', title: '@maintenance-management:maintenances.entities.maintenance.groups.performed-by' },
|
|
1450
|
-
],
|
|
1451
|
-
properties: [
|
|
1452
|
-
{
|
|
1453
|
-
name: 'id',
|
|
1454
|
-
title: 'ID',
|
|
1455
|
-
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
1456
|
-
},
|
|
1457
|
-
{
|
|
1458
|
-
name: 'resourceEntityId',
|
|
1459
|
-
title: '@maintenance-management:maintenances.entities.maintenance.fields.resource-entity-id',
|
|
1460
|
-
groupId: 'basic-info',
|
|
1461
|
-
schema: {
|
|
1462
|
-
dataType: 'string',
|
|
1463
|
-
visible: false,
|
|
1464
|
-
interface: {
|
|
1465
|
-
type: AXPWidgetsList.Editors.SelectBox,
|
|
1466
|
-
options: {
|
|
1467
|
-
valueField: 'entity',
|
|
1468
|
-
textField: 'title',
|
|
1469
|
-
allowSearch: true,
|
|
1470
|
-
dataSource: 'entities',
|
|
1471
|
-
},
|
|
1472
|
-
},
|
|
1473
|
-
},
|
|
1474
|
-
options: {
|
|
1475
|
-
sort: { enabled: true },
|
|
1476
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1477
|
-
},
|
|
1478
|
-
validations: [{ rule: 'required' }],
|
|
1479
|
-
},
|
|
1480
|
-
{
|
|
1481
|
-
name: 'resourceId',
|
|
1482
|
-
title: '@maintenance-management:maintenances.entities.maintenance.fields.resource-id.title',
|
|
1483
|
-
groupId: 'basic-info',
|
|
1484
|
-
schema: {
|
|
1485
|
-
dataType: 'string',
|
|
1486
|
-
readonly: true,
|
|
1487
|
-
//readonly: `{{ !!context.eval('resourceId') }}`,
|
|
1488
|
-
visible: false,
|
|
1489
|
-
interface: {
|
|
1490
|
-
type: AXPWidgetsCatalog.text,
|
|
1491
|
-
options: {},
|
|
1492
|
-
},
|
|
1493
|
-
},
|
|
1494
|
-
options: {
|
|
1495
|
-
sort: { enabled: true },
|
|
1496
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1497
|
-
},
|
|
1498
|
-
validations: [{ rule: 'required' }],
|
|
1499
|
-
},
|
|
1500
|
-
// {
|
|
1501
|
-
// name: 'resourceId',
|
|
1502
|
-
// title: '@maintenance-management:maintenances.entities.maintenance.fields.resource-id.title',
|
|
1503
|
-
// groupId: 'basic-info',
|
|
1504
|
-
// schema: {
|
|
1505
|
-
// dataType: 'string',
|
|
1506
|
-
// readonly : true ,
|
|
1507
|
-
// //readonly: `{{ !!context.eval('resourceId') }}`,
|
|
1508
|
-
// // visible: false,
|
|
1509
|
-
// interface: {
|
|
1510
|
-
// type: AXPWidgetsCatalog.lookup,
|
|
1511
|
-
// options: {
|
|
1512
|
-
// readonly : true ,
|
|
1513
|
-
// entity: `${RootConfigAsset.module.name}.${RootConfigAsset.entities.asset.name}`,
|
|
1514
|
-
// textField: 'title',
|
|
1515
|
-
// valueField: 'id',
|
|
1516
|
-
// columns: ['code', 'title'],
|
|
1517
|
-
// expose: [
|
|
1518
|
-
// { source: 'id', target: 'resource.id' },
|
|
1519
|
-
// { source: 'title', target: 'resource.title' },
|
|
1520
|
-
// { source: 'code', target: 'resource.code' },
|
|
1521
|
-
// { source: 'availableMaintenanceTypeIds', target: 'resource.availableMaintenanceTypeIds' },
|
|
1522
|
-
// ],
|
|
1523
|
-
// },
|
|
1524
|
-
// },
|
|
1525
|
-
// },
|
|
1526
|
-
// options: {
|
|
1527
|
-
// sort: { enabled: true },
|
|
1528
|
-
// filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1529
|
-
// },
|
|
1530
|
-
// validations: [{ rule: 'required' }],
|
|
1531
|
-
// },
|
|
1532
|
-
{
|
|
1533
|
-
name: 'maintenanceTypeId',
|
|
1534
|
-
title: '@maintenance-management:maintenances.entities.maintenance.fields.maintenance-type-id.title',
|
|
1535
|
-
groupId: 'basic-info',
|
|
1536
|
-
schema: {
|
|
1537
|
-
dataType: 'string',
|
|
1538
|
-
interface: {
|
|
1539
|
-
type: AXPWidgetsCatalog.lookup,
|
|
1540
|
-
options: {
|
|
1541
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.maintenanceType.name}`,
|
|
1542
|
-
textField: 'title',
|
|
1543
|
-
valueField: 'id',
|
|
1544
|
-
look: 'select',
|
|
1545
|
-
expose: [
|
|
1546
|
-
{ source: 'id', target: 'maintenanceType.id' },
|
|
1547
|
-
{ source: 'title', target: 'maintenanceType.title' },
|
|
1548
|
-
],
|
|
1549
|
-
filter: `{{ context.eval("resource.availableMaintenanceTypeIds")?.length ? { logic: 'and', filters: [{ field: 'id', operator: { type: 'in' }, value: context.eval("resource.availableMaintenanceTypeIds") }] } : null }}`,
|
|
1550
|
-
triggers: [
|
|
1551
|
-
{
|
|
1552
|
-
event: "{{ events.context('resourceId') }}",
|
|
1553
|
-
action: '{{ console.log("[maintenanceType trigger] resourceId:", context.eval("resourceId"), "| availableMaintenanceTypeIds:", context.eval("resource.availableMaintenanceTypeIds"), "| full resource:", context.eval("resource")); widget.setValue(null); widget.refresh() }}',
|
|
1554
|
-
},
|
|
1555
|
-
],
|
|
1556
|
-
},
|
|
1557
|
-
},
|
|
1558
|
-
},
|
|
1559
|
-
options: {
|
|
1560
|
-
sort: { enabled: true },
|
|
1561
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1562
|
-
},
|
|
1563
|
-
validations: [{ rule: 'required' }],
|
|
1564
|
-
},
|
|
1565
|
-
{
|
|
1566
|
-
name: 'performedBy',
|
|
1567
|
-
title: '@maintenance-management:maintenances.entities.maintenance.fields.performed-by.title',
|
|
1568
|
-
groupId: 'performed-by',
|
|
1569
|
-
schema: {
|
|
1570
|
-
dataType: 'string',
|
|
1571
|
-
interface: {
|
|
1572
|
-
type: AXPWidgetsCatalog.select,
|
|
1573
|
-
options: {
|
|
1574
|
-
valueField: 'value',
|
|
1575
|
-
textField: 'text',
|
|
1576
|
-
dataSource: [
|
|
1577
|
-
{
|
|
1578
|
-
value: AXMPerformedBy.Employee,
|
|
1579
|
-
text: '@maintenance-management:maintenances.entities.maintenance.fields.performed-by.options.employee',
|
|
1580
|
-
},
|
|
1581
|
-
{
|
|
1582
|
-
value: AXMPerformedBy.ThirdParty,
|
|
1583
|
-
text: '@maintenance-management:maintenances.entities.maintenance.fields.performed-by.options.thirdParty',
|
|
1584
|
-
},
|
|
1585
|
-
],
|
|
1586
|
-
},
|
|
1587
|
-
triggers: [
|
|
1588
|
-
{
|
|
1589
|
-
event: "{{ events.context('performedBy') }}",
|
|
1590
|
-
action: `{{ if(context.eval('performedBy') == '${AXMPerformedBy.Employee}') { context.set('employeeId', context.eval('employeeId')); context.set('thirdPartyId', null); } else if(context.eval('performedBy') == '${AXMPerformedBy.ThirdParty}') { context.set('thirdPartyId', context.eval('thirdPartyId')); context.set('employeeId', null); } }}`,
|
|
1591
|
-
},
|
|
1592
|
-
],
|
|
1593
|
-
},
|
|
1594
|
-
},
|
|
1595
|
-
options: {
|
|
1596
|
-
sort: { enabled: true },
|
|
1597
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1598
|
-
},
|
|
1599
|
-
validations: [{ rule: 'required' }],
|
|
1600
|
-
},
|
|
1601
|
-
{
|
|
1602
|
-
name: 'employeeId',
|
|
1603
|
-
title: '@maintenance-management:maintenances.entities.maintenance.fields.employee-id.title',
|
|
1604
|
-
groupId: 'performed-by',
|
|
1605
|
-
schema: {
|
|
1606
|
-
dataType: 'string',
|
|
1607
|
-
visible: `{{ context.eval('performedBy')?.value == '${AXMPerformedBy.Employee}' }}`,
|
|
1608
|
-
interface: {
|
|
1609
|
-
type: AXPWidgetsCatalog.lookup,
|
|
1610
|
-
options: {
|
|
1611
|
-
entity: `${RootConfig$1.module.name}.${RootConfig$1.entities.employee.name}`,
|
|
1612
|
-
textField: 'person.displayName',
|
|
1613
|
-
valueField: 'id',
|
|
1614
|
-
look: 'select',
|
|
1615
|
-
expose: [
|
|
1616
|
-
{ source: 'id', target: 'employee.id' },
|
|
1617
|
-
{ source: 'person.displayName', target: 'employee.displayName' },
|
|
1618
|
-
],
|
|
1619
|
-
},
|
|
1620
|
-
},
|
|
1621
|
-
},
|
|
1622
|
-
options: {
|
|
1623
|
-
sort: { enabled: true },
|
|
1624
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1625
|
-
},
|
|
1626
|
-
// validations: [
|
|
1627
|
-
// { rule: 'required', options: `{{ context.eval('performedBy').value == '${AXMPerformedBy.Employee}' }}` },
|
|
1628
|
-
// ],
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
name: 'thirdPartyId',
|
|
1632
|
-
title: '@maintenance-management:maintenances.entities.maintenance.fields.third-party-id.title',
|
|
1633
|
-
groupId: 'performed-by',
|
|
1634
|
-
schema: {
|
|
1635
|
-
dataType: 'string',
|
|
1636
|
-
visible: `{{context.eval('performedBy')?.value == '${AXMPerformedBy.ThirdParty}'}}`,
|
|
1637
|
-
interface: {
|
|
1638
|
-
type: AXPWidgetsCatalog.lookup,
|
|
1639
|
-
options: {
|
|
1640
|
-
entity: 'PersonManagement.Person',
|
|
1641
|
-
textField: 'displayName',
|
|
1642
|
-
valueField: 'id',
|
|
1643
|
-
look: 'select',
|
|
1644
|
-
expose: [
|
|
1645
|
-
{ source: 'id', target: 'thirdParty.id' },
|
|
1646
|
-
{ source: 'displayName', target: 'thirdParty.displayName' },
|
|
1647
|
-
],
|
|
1648
|
-
},
|
|
1649
|
-
},
|
|
1650
|
-
},
|
|
1651
|
-
options: {
|
|
1652
|
-
sort: { enabled: true },
|
|
1653
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1654
|
-
},
|
|
1655
|
-
// validations: [
|
|
1656
|
-
// { rule: 'required', options: `{{ context.eval('performedBy').value == '${AXMPerformedBy.ThirdParty}' }}` },
|
|
1657
|
-
// ],
|
|
1658
|
-
},
|
|
1659
|
-
],
|
|
1660
|
-
columns: [
|
|
1661
|
-
// { name: 'resourceId', options: { dataPath: 'asset.title' } }, //////???????
|
|
1662
|
-
{ name: 'maintenanceTypeId', options: { dataPath: 'maintenanceType.title' } },
|
|
1663
|
-
{ name: 'performedBy' },
|
|
1664
|
-
],
|
|
1665
|
-
interfaces: {
|
|
1666
|
-
master: {
|
|
1667
|
-
create: {
|
|
1668
|
-
sections: [{ id: 'basic-info' }, { id: 'performed-by' }, { id: 'additional' }],
|
|
1669
|
-
properties: [
|
|
1670
|
-
{ name: 'resourceId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1671
|
-
{ name: 'maintenanceTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1672
|
-
{ name: 'performedBy', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1673
|
-
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1674
|
-
{ name: 'thirdPartyId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1675
|
-
],
|
|
1676
|
-
},
|
|
1677
|
-
update: {
|
|
1678
|
-
sections: [{ id: 'basic-info' }, { id: 'performed-by' }, { id: 'additional' }],
|
|
1679
|
-
properties: [
|
|
1680
|
-
{ name: 'resourceId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1681
|
-
{ name: 'maintenanceTypeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1682
|
-
{ name: 'performedBy', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1683
|
-
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1684
|
-
{ name: 'thirdPartyId', layout: { positions: { lg: { colSpan: 6 } } } },
|
|
1685
|
-
],
|
|
1686
|
-
},
|
|
1687
|
-
single: {
|
|
1688
|
-
title: '{{ maintenance.title }}',
|
|
1689
|
-
sections: [
|
|
1690
|
-
{ id: 'basic-info', order: 1 },
|
|
1691
|
-
{ id: 'performed-by', order: 2 },
|
|
1692
|
-
],
|
|
1693
|
-
properties: [
|
|
1694
|
-
{ name: 'resourceId', layout: { positions: { lg: { colSpan: 6, order: 1 } } } },
|
|
1695
|
-
{ name: 'maintenanceTypeId', layout: { positions: { lg: { colSpan: 6, order: 2 } } } },
|
|
1696
|
-
{ name: 'performedBy', layout: { positions: { lg: { colSpan: 6, order: 3 } } } },
|
|
1697
|
-
{ name: 'employeeId', layout: { positions: { lg: { colSpan: 6, order: 4 } } } },
|
|
1698
|
-
{ name: 'thirdPartyId', layout: { positions: { lg: { colSpan: 6, order: 5 } } } },
|
|
1699
|
-
],
|
|
1700
|
-
actions: [...entityMasterRecordActions()],
|
|
1701
|
-
},
|
|
1702
|
-
list: {
|
|
1703
|
-
actions: [...entityMasterCrudActions()],
|
|
1704
|
-
views: [createAllQueryView({ sorts: [{ name: 'resourceId', dir: 'asc' }] })],
|
|
1705
|
-
},
|
|
1706
|
-
},
|
|
1707
|
-
},
|
|
1708
|
-
};
|
|
1709
|
-
return entityDef;
|
|
1710
|
-
}
|
|
1711
|
-
//#endregion
|
|
1712
|
-
|
|
1713
|
-
var maintenance_entity = /*#__PURE__*/Object.freeze({
|
|
1714
|
-
__proto__: null,
|
|
1715
|
-
factory: factory$6
|
|
1716
|
-
});
|
|
1717
|
-
|
|
1718
|
-
//#region ---- Types ----
|
|
1719
|
-
//#endregion
|
|
1720
|
-
|
|
1721
|
-
async function factory$5(injector) {
|
|
1722
|
-
const dataService = injector.get(AXMMaintenanceManagementMaintenanceTypeEntityService);
|
|
1723
|
-
const entityDef = {
|
|
1724
|
-
module: RootConfig.module.name,
|
|
1725
|
-
name: RootConfig.entities.maintenanceType.name,
|
|
1726
|
-
title: RootConfig.entities.maintenanceType.title,
|
|
1727
|
-
icon: RootConfig.entities.maintenanceType.icon,
|
|
1728
|
-
plugins: [{ name: 'meta-data-builder' }],
|
|
1729
|
-
formats: {
|
|
1730
|
-
individual: RootConfig.entities.maintenanceType.title,
|
|
1731
|
-
plural: RootConfig.entities.maintenanceType.titlePlural,
|
|
1732
|
-
searchResult: { title: '{{ title }}', description: RootConfig.module.title },
|
|
1733
|
-
},
|
|
1734
|
-
groups: [
|
|
1735
|
-
{
|
|
1736
|
-
id: 'basic-info',
|
|
1737
|
-
title: '@maintenance-management:maintenance-types.entities.maintenance-type.groups.basic-info',
|
|
1738
|
-
},
|
|
1739
|
-
{
|
|
1740
|
-
id: 'questionnary-info',
|
|
1741
|
-
title: '@maintenance-management:maintenance-types.entities.maintenance-type.groups.questionnary-info',
|
|
1742
|
-
},
|
|
1743
|
-
],
|
|
1744
|
-
properties: [
|
|
1745
|
-
{
|
|
1746
|
-
name: 'id',
|
|
1747
|
-
title: 'ID',
|
|
1748
|
-
schema: { dataType: 'uuid', visible: false, nullable: false, readonly: true, unique: { enabled: true } },
|
|
1749
|
-
},
|
|
1750
|
-
{
|
|
1751
|
-
name: 'name',
|
|
1752
|
-
title: '@maintenance-management:maintenance-types.entities.maintenance-type.fields.name.title',
|
|
1753
|
-
groupId: 'basic-info',
|
|
1754
|
-
schema: {
|
|
1755
|
-
dataType: 'string',
|
|
1756
|
-
interface: {
|
|
1757
|
-
type: AXPWidgetsCatalog.text,
|
|
1758
|
-
options: {
|
|
1759
|
-
placeholder: '@maintenance-management:maintenance-types.entities.maintenance-type.fields.name.placeholder',
|
|
1760
|
-
},
|
|
1761
|
-
},
|
|
1762
|
-
},
|
|
1763
|
-
options: {
|
|
1764
|
-
sort: { enabled: true },
|
|
1765
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1766
|
-
},
|
|
1767
|
-
validations: [{ rule: 'required' }],
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
name: 'title',
|
|
1771
|
-
title: '@maintenance-management:maintenance-types.entities.maintenance-type.fields.title.title',
|
|
1772
|
-
groupId: 'basic-info',
|
|
1773
|
-
schema: {
|
|
1774
|
-
dataType: 'string',
|
|
1775
|
-
interface: {
|
|
1776
|
-
type: AXPWidgetsCatalog.text,
|
|
1777
|
-
options: {
|
|
1778
|
-
placeholder: '@maintenance-management:maintenance-types.entities.maintenance-type.fields.title.placeholder',
|
|
1779
|
-
},
|
|
1780
|
-
},
|
|
1781
|
-
},
|
|
1782
|
-
options: {
|
|
1783
|
-
sort: { enabled: true },
|
|
1784
|
-
filter: { advance: { enabled: true }, inline: { enabled: true } },
|
|
1785
|
-
},
|
|
1786
|
-
validations: [{ rule: 'required' }],
|
|
1787
|
-
},
|
|
1788
|
-
{
|
|
1789
|
-
name: 'questionnaireId',
|
|
1790
|
-
title: '@maintenance-management:maintenance-types.entities.maintenance-type.fields.questionnaire-id.title',
|
|
1791
|
-
groupId: 'questionnary-info',
|
|
1792
|
-
schema: {
|
|
1793
|
-
dataType: 'string',
|
|
1794
|
-
interface: {
|
|
1795
|
-
type: AXPWidgetsCatalog.lookup,
|
|
1796
|
-
options: {
|
|
1797
|
-
entity: `${RootConfig$2.module.name}.${RootConfig$2.entities.questionnaire.name}`,
|
|
1798
|
-
textField: 'title',
|
|
1799
|
-
valueField: 'id',
|
|
1800
|
-
expose: [
|
|
1801
|
-
{ source: 'id', target: 'questionnaire.id' },
|
|
1802
|
-
{ source: 'title', target: 'questionnaire.title' },
|
|
1803
|
-
],
|
|
1804
|
-
},
|
|
1805
|
-
},
|
|
1806
|
-
},
|
|
1807
|
-
},
|
|
1808
|
-
],
|
|
1809
|
-
columns: [{ name: 'name', options: { order: 1 } },
|
|
1810
|
-
{ name: 'title', options: { order: 2 } },
|
|
1811
|
-
{ name: 'questionnaireId', options: { dataPath: 'questionnaire.title', order: 3 } }],
|
|
1812
|
-
commands: {
|
|
1813
|
-
create: {
|
|
1814
|
-
execute: async (data) => {
|
|
1815
|
-
return { id: await dataService.insertOne(data) };
|
|
1816
|
-
},
|
|
1817
|
-
},
|
|
1818
|
-
update: {
|
|
1819
|
-
execute: async (data) => {
|
|
1820
|
-
return await dataService.updateOne(data.id, data);
|
|
1821
|
-
},
|
|
1822
|
-
},
|
|
1823
|
-
delete: {
|
|
1824
|
-
execute: async (id) => {
|
|
1825
|
-
return await dataService.deleteOne(id);
|
|
1826
|
-
},
|
|
1827
|
-
},
|
|
1828
|
-
},
|
|
1829
|
-
queries: {
|
|
1830
|
-
byKey: {
|
|
1831
|
-
execute: async (id) => {
|
|
1832
|
-
return await dataService.getOne(id);
|
|
1833
|
-
},
|
|
1834
|
-
type: AXPEntityQueryType.Single,
|
|
1835
|
-
},
|
|
1836
|
-
list: {
|
|
1837
|
-
execute: async (e) => {
|
|
1838
|
-
return await dataService.query({
|
|
1839
|
-
skip: e.skip,
|
|
1840
|
-
take: e.take,
|
|
1841
|
-
filter: e.filter,
|
|
1842
|
-
sort: e.sort,
|
|
1843
|
-
});
|
|
1844
|
-
},
|
|
1845
|
-
type: AXPEntityQueryType.List,
|
|
1846
|
-
},
|
|
1847
|
-
},
|
|
1848
|
-
interfaces: {
|
|
1849
|
-
master: {
|
|
1850
|
-
create: {
|
|
1851
|
-
sections: [{ id: 'basic-info' },
|
|
1852
|
-
{ id: 'questionnary-info' }],
|
|
1853
|
-
properties: [
|
|
1854
|
-
{ name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1855
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1856
|
-
{ name: 'questionnaireId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1857
|
-
],
|
|
1858
|
-
},
|
|
1859
|
-
update: {
|
|
1860
|
-
sections: [{ id: 'basic-info' },
|
|
1861
|
-
{ id: 'questionnary-info' }],
|
|
1862
|
-
properties: [
|
|
1863
|
-
{ name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1864
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1865
|
-
{ name: 'questionnaireId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1866
|
-
],
|
|
1867
|
-
},
|
|
1868
|
-
single: {
|
|
1869
|
-
title: '{{ title }}',
|
|
1870
|
-
sections: [{ id: 'basic-info' },
|
|
1871
|
-
{ id: 'questionnary-info' }],
|
|
1872
|
-
properties: [
|
|
1873
|
-
{ name: 'name', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1874
|
-
{ name: 'title', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1875
|
-
{ name: 'questionnaireId', layout: { positions: { lg: { colSpan: 12 } } } },
|
|
1876
|
-
],
|
|
1877
|
-
actions: [...entityMasterRecordActions()],
|
|
1878
|
-
},
|
|
1879
|
-
list: {
|
|
1880
|
-
actions: [...entityMasterCrudActions()],
|
|
1881
|
-
views: [createAllQueryView({ sorts: [{ name: 'title', dir: 'asc' }] })],
|
|
1882
|
-
},
|
|
1883
|
-
},
|
|
1884
|
-
},
|
|
1885
|
-
};
|
|
1886
|
-
return entityDef;
|
|
1887
|
-
}
|
|
1888
|
-
|
|
1889
|
-
var maintenanceType_entity = /*#__PURE__*/Object.freeze({
|
|
1890
|
-
__proto__: null,
|
|
1891
|
-
factory: factory$5
|
|
1892
|
-
});
|
|
1893
|
-
|
|
1894
|
-
//#region ---- Types ----
|
|
1895
|
-
//#endregion
|
|
1896
|
-
|
|
1897
|
-
async function factory$4(_injector) {
|
|
1898
|
-
const entityDef = {
|
|
1899
|
-
module: RootConfig.module.name,
|
|
1900
|
-
name: RootConfig.entities.failureCause.name,
|
|
1901
|
-
title: RootConfig.entities.failureCause.title,
|
|
1902
|
-
icon: RootConfig.entities.failureCause.icon,
|
|
1903
|
-
formats: {
|
|
1904
|
-
individual: RootConfig.entities.failureCause.title,
|
|
1905
|
-
plural: RootConfig.entities.failureCause.titlePlural,
|
|
1906
|
-
searchResult: {
|
|
1907
|
-
title: '{{ title }}',
|
|
1908
|
-
description: RootConfig.module.title,
|
|
1909
|
-
},
|
|
1910
|
-
},
|
|
1911
|
-
plugins: [{ name: 'history' }],
|
|
1912
|
-
groups: [{ id: 'basic-info', title: `@general:terms.interface.basic-info` }],
|
|
1913
|
-
parentKey: 'parentId',
|
|
1914
|
-
properties: [
|
|
1915
|
-
{
|
|
1916
|
-
name: 'code',
|
|
1917
|
-
title: '@maintenance-management:failure-causes.entities.failure-cause.fields.code.title',
|
|
1918
|
-
groupId: 'basic-info',
|
|
1919
|
-
options: {
|
|
1920
|
-
sort: { enabled: true },
|
|
1921
|
-
filter: {
|
|
1922
|
-
advance: { enabled: true },
|
|
1923
|
-
inline: { enabled: true },
|
|
1924
|
-
},
|
|
1925
|
-
},
|
|
1926
|
-
schema: {
|
|
1927
|
-
dataType: 'string',
|
|
1928
|
-
interface: {
|
|
1929
|
-
type: AXPWidgetsCatalog.text,
|
|
1930
|
-
options: {
|
|
1931
|
-
placeholder: '@maintenance-management:failure-causes.entities.failure-cause.fields.code.placeholder',
|
|
1932
|
-
},
|
|
1933
|
-
},
|
|
1934
|
-
},
|
|
1935
|
-
validations: [{ rule: 'required' }],
|
|
1936
|
-
},
|
|
1937
|
-
{
|
|
1938
|
-
name: 'title',
|
|
1939
|
-
title: '@maintenance-management:failure-causes.entities.failure-cause.fields.title.title',
|
|
1940
|
-
groupId: 'basic-info',
|
|
1941
|
-
options: {
|
|
1942
|
-
sort: { enabled: true },
|
|
1943
|
-
filter: {
|
|
1944
|
-
advance: { enabled: true },
|
|
1945
|
-
inline: { enabled: true },
|
|
1946
|
-
},
|
|
1947
|
-
},
|
|
1948
|
-
schema: {
|
|
1949
|
-
dataType: 'string',
|
|
1950
|
-
interface: {
|
|
1951
|
-
type: AXPWidgetsCatalog.text,
|
|
1952
|
-
options: {
|
|
1953
|
-
placeholder: '@maintenance-management:failure-causes.entities.failure-cause.fields.title.placeholder',
|
|
1954
|
-
},
|
|
1955
|
-
},
|
|
1956
|
-
},
|
|
1957
|
-
validations: [{ rule: 'required' }],
|
|
1958
|
-
},
|
|
1959
|
-
{
|
|
1960
|
-
name: 'parentId',
|
|
1961
|
-
title: '@general:terms.classification.parent',
|
|
1962
|
-
groupId: 'basic-info',
|
|
1963
|
-
options: {
|
|
1964
|
-
sort: { enabled: true },
|
|
1965
|
-
filter: {
|
|
1966
|
-
advance: { enabled: true },
|
|
1967
|
-
inline: { enabled: true },
|
|
1968
|
-
},
|
|
1969
|
-
},
|
|
1970
|
-
schema: {
|
|
1971
|
-
dataType: 'object',
|
|
1972
|
-
interface: {
|
|
1973
|
-
type: AXPWidgetsCatalog.lookup,
|
|
1974
|
-
options: {
|
|
1975
|
-
look: 'select',
|
|
1976
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.failureCause.name}`,
|
|
1977
|
-
expose: [
|
|
1978
|
-
{ source: 'id', target: 'parent.id' },
|
|
1979
|
-
{ source: 'title', target: 'parent.title' },
|
|
1980
|
-
],
|
|
1981
|
-
},
|
|
1982
|
-
},
|
|
1983
|
-
},
|
|
1984
|
-
},
|
|
1985
|
-
{
|
|
1986
|
-
name: 'description',
|
|
1987
|
-
title: '@general:terms.common.description',
|
|
1988
|
-
groupId: 'basic-info',
|
|
1989
|
-
options: {
|
|
1990
|
-
sort: { enabled: false },
|
|
1991
|
-
filter: {
|
|
1992
|
-
advance: { enabled: false },
|
|
1993
|
-
inline: { enabled: false },
|
|
1994
|
-
},
|
|
1995
|
-
},
|
|
1996
|
-
schema: {
|
|
1997
|
-
dataType: 'string',
|
|
1998
|
-
interface: {
|
|
1999
|
-
type: AXPWidgetsCatalog.largeText,
|
|
2000
|
-
options: {
|
|
2001
|
-
placeholder: '@maintenance-management:failure-causes.entities.failure-cause.fields.description.placeholder',
|
|
2002
|
-
},
|
|
2003
|
-
},
|
|
2004
|
-
},
|
|
2005
|
-
},
|
|
2006
|
-
],
|
|
2007
|
-
columns: [
|
|
2008
|
-
{ name: 'code' },
|
|
2009
|
-
{ name: 'title' },
|
|
2010
|
-
{ name: 'parentId', options: { dataPath: 'parent' } },
|
|
2011
|
-
{ name: 'description' },
|
|
2012
|
-
],
|
|
2013
|
-
interfaces: {
|
|
2014
|
-
master: {
|
|
2015
|
-
create: {
|
|
2016
|
-
sections: [{ id: 'basic-info' }],
|
|
2017
|
-
properties: [
|
|
2018
|
-
{
|
|
2019
|
-
name: 'code',
|
|
2020
|
-
layout: {
|
|
2021
|
-
positions: {
|
|
2022
|
-
lg: {
|
|
2023
|
-
colSpan: 6,
|
|
2024
|
-
order: 1,
|
|
2025
|
-
},
|
|
2026
|
-
},
|
|
2027
|
-
},
|
|
2028
|
-
},
|
|
2029
|
-
{
|
|
2030
|
-
name: 'title',
|
|
2031
|
-
layout: {
|
|
2032
|
-
positions: {
|
|
2033
|
-
lg: {
|
|
2034
|
-
colSpan: 6,
|
|
2035
|
-
order: 2,
|
|
2036
|
-
},
|
|
2037
|
-
},
|
|
2038
|
-
},
|
|
2039
|
-
},
|
|
2040
|
-
{
|
|
2041
|
-
name: 'parentId',
|
|
2042
|
-
layout: {
|
|
2043
|
-
positions: {
|
|
2044
|
-
lg: {
|
|
2045
|
-
colSpan: 12,
|
|
2046
|
-
order: 3,
|
|
2047
|
-
},
|
|
2048
|
-
},
|
|
2049
|
-
},
|
|
2050
|
-
},
|
|
2051
|
-
{
|
|
2052
|
-
name: 'description',
|
|
2053
|
-
layout: {
|
|
2054
|
-
positions: {
|
|
2055
|
-
lg: {
|
|
2056
|
-
colSpan: 12,
|
|
2057
|
-
order: 4,
|
|
2058
|
-
},
|
|
2059
|
-
},
|
|
2060
|
-
},
|
|
2061
|
-
},
|
|
2062
|
-
],
|
|
2063
|
-
},
|
|
2064
|
-
update: {
|
|
2065
|
-
sections: [{ id: 'basic-info' }],
|
|
2066
|
-
properties: [
|
|
2067
|
-
{
|
|
2068
|
-
name: 'code',
|
|
2069
|
-
layout: {
|
|
2070
|
-
positions: {
|
|
2071
|
-
lg: {
|
|
2072
|
-
colSpan: 6,
|
|
2073
|
-
order: 1,
|
|
2074
|
-
},
|
|
2075
|
-
},
|
|
2076
|
-
},
|
|
2077
|
-
},
|
|
2078
|
-
{
|
|
2079
|
-
name: 'title',
|
|
2080
|
-
layout: {
|
|
2081
|
-
positions: {
|
|
2082
|
-
lg: {
|
|
2083
|
-
colSpan: 6,
|
|
2084
|
-
order: 2,
|
|
2085
|
-
},
|
|
2086
|
-
},
|
|
2087
|
-
},
|
|
2088
|
-
},
|
|
2089
|
-
{
|
|
2090
|
-
name: 'parentId',
|
|
2091
|
-
layout: {
|
|
2092
|
-
positions: {
|
|
2093
|
-
lg: {
|
|
2094
|
-
colSpan: 12,
|
|
2095
|
-
order: 3,
|
|
2096
|
-
},
|
|
2097
|
-
},
|
|
2098
|
-
},
|
|
2099
|
-
},
|
|
2100
|
-
{
|
|
2101
|
-
name: 'description',
|
|
2102
|
-
layout: {
|
|
2103
|
-
positions: {
|
|
2104
|
-
lg: {
|
|
2105
|
-
colSpan: 12,
|
|
2106
|
-
order: 4,
|
|
2107
|
-
},
|
|
2108
|
-
},
|
|
2109
|
-
},
|
|
2110
|
-
},
|
|
2111
|
-
],
|
|
2112
|
-
},
|
|
2113
|
-
single: {
|
|
2114
|
-
title: '{{ title }}',
|
|
2115
|
-
sections: [{ id: 'basic-info' }],
|
|
2116
|
-
properties: [
|
|
2117
|
-
{
|
|
2118
|
-
name: 'code',
|
|
2119
|
-
layout: {
|
|
2120
|
-
positions: {
|
|
2121
|
-
lg: {
|
|
2122
|
-
colSpan: 6,
|
|
2123
|
-
order: 1,
|
|
2124
|
-
},
|
|
2125
|
-
},
|
|
2126
|
-
},
|
|
2127
|
-
},
|
|
2128
|
-
{
|
|
2129
|
-
name: 'title',
|
|
2130
|
-
layout: {
|
|
2131
|
-
positions: {
|
|
2132
|
-
lg: {
|
|
2133
|
-
colSpan: 6,
|
|
2134
|
-
order: 2,
|
|
2135
|
-
},
|
|
2136
|
-
},
|
|
2137
|
-
},
|
|
2138
|
-
},
|
|
2139
|
-
{
|
|
2140
|
-
name: 'parentId',
|
|
2141
|
-
layout: {
|
|
2142
|
-
positions: {
|
|
2143
|
-
lg: {
|
|
2144
|
-
colSpan: 12,
|
|
2145
|
-
order: 3,
|
|
2146
|
-
},
|
|
2147
|
-
},
|
|
2148
|
-
},
|
|
2149
|
-
},
|
|
2150
|
-
{
|
|
2151
|
-
name: 'description',
|
|
2152
|
-
layout: {
|
|
2153
|
-
positions: {
|
|
2154
|
-
lg: {
|
|
2155
|
-
colSpan: 12,
|
|
2156
|
-
order: 4,
|
|
2157
|
-
},
|
|
2158
|
-
},
|
|
2159
|
-
},
|
|
2160
|
-
},
|
|
2161
|
-
],
|
|
2162
|
-
actions: [...entityMasterRecordActions()],
|
|
2163
|
-
},
|
|
2164
|
-
list: {
|
|
2165
|
-
actions: [...entityMasterCrudActions()],
|
|
2166
|
-
views: [
|
|
2167
|
-
createAllQueryView({
|
|
2168
|
-
sorts: [{ name: 'title', dir: 'asc' }],
|
|
2169
|
-
}),
|
|
2170
|
-
],
|
|
2171
|
-
},
|
|
2172
|
-
},
|
|
2173
|
-
},
|
|
2174
|
-
};
|
|
2175
|
-
return entityDef;
|
|
2176
|
-
}
|
|
2177
|
-
|
|
2178
|
-
var failureCause_entity = /*#__PURE__*/Object.freeze({
|
|
2179
|
-
__proto__: null,
|
|
2180
|
-
factory: factory$4
|
|
2181
|
-
});
|
|
2182
|
-
|
|
2183
|
-
//#region ---- Types ----
|
|
2184
|
-
//#endregion
|
|
2185
|
-
|
|
2186
|
-
async function factory$3(_injector) {
|
|
2187
|
-
const entityDef = {
|
|
2188
|
-
module: RootConfig.module.name,
|
|
2189
|
-
name: RootConfig.entities.failureMechanism.name,
|
|
2190
|
-
title: RootConfig.entities.failureMechanism.title,
|
|
2191
|
-
icon: RootConfig.entities.failureMechanism.icon,
|
|
2192
|
-
formats: {
|
|
2193
|
-
individual: RootConfig.entities.failureMechanism.title,
|
|
2194
|
-
plural: RootConfig.entities.failureMechanism.titlePlural,
|
|
2195
|
-
searchResult: {
|
|
2196
|
-
title: '{{ title }}',
|
|
2197
|
-
description: RootConfig.module.title,
|
|
2198
|
-
},
|
|
2199
|
-
},
|
|
2200
|
-
plugins: [{ name: 'history' }],
|
|
2201
|
-
groups: [{ id: 'basic-info', title: `@general:terms.interface.basic-info` }],
|
|
2202
|
-
parentKey: 'parentId',
|
|
2203
|
-
properties: [
|
|
2204
|
-
{
|
|
2205
|
-
name: 'code',
|
|
2206
|
-
title: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.fields.code.title',
|
|
2207
|
-
groupId: 'basic-info',
|
|
2208
|
-
options: {
|
|
2209
|
-
sort: { enabled: true },
|
|
2210
|
-
filter: {
|
|
2211
|
-
advance: { enabled: true },
|
|
2212
|
-
inline: { enabled: true },
|
|
2213
|
-
},
|
|
2214
|
-
},
|
|
2215
|
-
schema: {
|
|
2216
|
-
dataType: 'string',
|
|
2217
|
-
interface: {
|
|
2218
|
-
type: AXPWidgetsCatalog.text,
|
|
2219
|
-
options: {
|
|
2220
|
-
placeholder: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.fields.code.placeholder',
|
|
2221
|
-
},
|
|
2222
|
-
},
|
|
2223
|
-
},
|
|
2224
|
-
validations: [{ rule: 'required' }],
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
name: 'title',
|
|
2228
|
-
title: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.fields.title.title',
|
|
2229
|
-
groupId: 'basic-info',
|
|
2230
|
-
options: {
|
|
2231
|
-
sort: { enabled: true },
|
|
2232
|
-
filter: {
|
|
2233
|
-
advance: { enabled: true },
|
|
2234
|
-
inline: { enabled: true },
|
|
2235
|
-
},
|
|
2236
|
-
},
|
|
2237
|
-
schema: {
|
|
2238
|
-
dataType: 'string',
|
|
2239
|
-
interface: {
|
|
2240
|
-
type: AXPWidgetsCatalog.text,
|
|
2241
|
-
options: {
|
|
2242
|
-
placeholder: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.fields.title.placeholder',
|
|
2243
|
-
},
|
|
2244
|
-
},
|
|
2245
|
-
},
|
|
2246
|
-
validations: [{ rule: 'required' }],
|
|
2247
|
-
},
|
|
2248
|
-
{
|
|
2249
|
-
name: 'parentId',
|
|
2250
|
-
title: '@general:terms.classification.parent',
|
|
2251
|
-
groupId: 'basic-info',
|
|
2252
|
-
options: {
|
|
2253
|
-
sort: { enabled: true },
|
|
2254
|
-
filter: {
|
|
2255
|
-
advance: { enabled: true },
|
|
2256
|
-
inline: { enabled: true },
|
|
2257
|
-
},
|
|
2258
|
-
},
|
|
2259
|
-
schema: {
|
|
2260
|
-
dataType: 'object',
|
|
2261
|
-
interface: {
|
|
2262
|
-
type: AXPWidgetsCatalog.lookup,
|
|
2263
|
-
options: {
|
|
2264
|
-
look: 'select',
|
|
2265
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.failureMechanism.name}`,
|
|
2266
|
-
expose: [
|
|
2267
|
-
{ source: 'id', target: 'parent.id' },
|
|
2268
|
-
{ source: 'title', target: 'parent.title' },
|
|
2269
|
-
],
|
|
2270
|
-
},
|
|
2271
|
-
},
|
|
2272
|
-
},
|
|
2273
|
-
},
|
|
2274
|
-
{
|
|
2275
|
-
name: 'description',
|
|
2276
|
-
title: '@general:terms.common.description',
|
|
2277
|
-
groupId: 'basic-info',
|
|
2278
|
-
options: {
|
|
2279
|
-
sort: { enabled: false },
|
|
2280
|
-
filter: {
|
|
2281
|
-
advance: { enabled: false },
|
|
2282
|
-
inline: { enabled: false },
|
|
2283
|
-
},
|
|
2284
|
-
},
|
|
2285
|
-
schema: {
|
|
2286
|
-
dataType: 'string',
|
|
2287
|
-
interface: {
|
|
2288
|
-
type: AXPWidgetsCatalog.largeText,
|
|
2289
|
-
options: {
|
|
2290
|
-
placeholder: '@maintenance-management:failure-mechanisms.entities.failure-mechanism.fields.description.placeholder',
|
|
2291
|
-
},
|
|
2292
|
-
},
|
|
2293
|
-
},
|
|
2294
|
-
},
|
|
2295
|
-
],
|
|
2296
|
-
columns: [
|
|
2297
|
-
{ name: 'code' },
|
|
2298
|
-
{ name: 'title' },
|
|
2299
|
-
{ name: 'parentId', options: { dataPath: 'parent' } },
|
|
2300
|
-
{ name: 'description' },
|
|
2301
|
-
],
|
|
2302
|
-
interfaces: {
|
|
2303
|
-
master: {
|
|
2304
|
-
create: {
|
|
2305
|
-
sections: [{ id: 'basic-info' }],
|
|
2306
|
-
properties: [
|
|
2307
|
-
{
|
|
2308
|
-
name: 'code',
|
|
2309
|
-
layout: {
|
|
2310
|
-
positions: {
|
|
2311
|
-
lg: {
|
|
2312
|
-
colSpan: 6,
|
|
2313
|
-
order: 1,
|
|
2314
|
-
},
|
|
2315
|
-
},
|
|
2316
|
-
},
|
|
2317
|
-
},
|
|
2318
|
-
{
|
|
2319
|
-
name: 'title',
|
|
2320
|
-
layout: {
|
|
2321
|
-
positions: {
|
|
2322
|
-
lg: {
|
|
2323
|
-
colSpan: 6,
|
|
2324
|
-
order: 2,
|
|
2325
|
-
},
|
|
2326
|
-
},
|
|
2327
|
-
},
|
|
2328
|
-
},
|
|
2329
|
-
{
|
|
2330
|
-
name: 'parentId',
|
|
2331
|
-
layout: {
|
|
2332
|
-
positions: {
|
|
2333
|
-
lg: {
|
|
2334
|
-
colSpan: 12,
|
|
2335
|
-
order: 3,
|
|
2336
|
-
},
|
|
2337
|
-
},
|
|
2338
|
-
},
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
name: 'description',
|
|
2342
|
-
layout: {
|
|
2343
|
-
positions: {
|
|
2344
|
-
lg: {
|
|
2345
|
-
colSpan: 12,
|
|
2346
|
-
order: 4,
|
|
2347
|
-
},
|
|
2348
|
-
},
|
|
2349
|
-
},
|
|
2350
|
-
},
|
|
2351
|
-
],
|
|
2352
|
-
},
|
|
2353
|
-
update: {
|
|
2354
|
-
sections: [{ id: 'basic-info' }],
|
|
2355
|
-
properties: [
|
|
2356
|
-
{
|
|
2357
|
-
name: 'code',
|
|
2358
|
-
layout: {
|
|
2359
|
-
positions: {
|
|
2360
|
-
lg: {
|
|
2361
|
-
colSpan: 6,
|
|
2362
|
-
order: 1,
|
|
2363
|
-
},
|
|
2364
|
-
},
|
|
2365
|
-
},
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
name: 'title',
|
|
2369
|
-
layout: {
|
|
2370
|
-
positions: {
|
|
2371
|
-
lg: {
|
|
2372
|
-
colSpan: 6,
|
|
2373
|
-
order: 2,
|
|
2374
|
-
},
|
|
2375
|
-
},
|
|
2376
|
-
},
|
|
2377
|
-
},
|
|
2378
|
-
{
|
|
2379
|
-
name: 'parentId',
|
|
2380
|
-
layout: {
|
|
2381
|
-
positions: {
|
|
2382
|
-
lg: {
|
|
2383
|
-
colSpan: 12,
|
|
2384
|
-
order: 3,
|
|
2385
|
-
},
|
|
2386
|
-
},
|
|
2387
|
-
},
|
|
2388
|
-
},
|
|
2389
|
-
{
|
|
2390
|
-
name: 'description',
|
|
2391
|
-
layout: {
|
|
2392
|
-
positions: {
|
|
2393
|
-
lg: {
|
|
2394
|
-
colSpan: 12,
|
|
2395
|
-
order: 4,
|
|
2396
|
-
},
|
|
2397
|
-
},
|
|
2398
|
-
},
|
|
2399
|
-
},
|
|
2400
|
-
],
|
|
2401
|
-
},
|
|
2402
|
-
single: {
|
|
2403
|
-
title: '{{ title }}',
|
|
2404
|
-
sections: [{ id: 'basic-info' }],
|
|
2405
|
-
properties: [
|
|
2406
|
-
{
|
|
2407
|
-
name: 'code',
|
|
2408
|
-
layout: {
|
|
2409
|
-
positions: {
|
|
2410
|
-
lg: {
|
|
2411
|
-
colSpan: 6,
|
|
2412
|
-
order: 1,
|
|
2413
|
-
},
|
|
2414
|
-
},
|
|
2415
|
-
},
|
|
2416
|
-
},
|
|
2417
|
-
{
|
|
2418
|
-
name: 'title',
|
|
2419
|
-
layout: {
|
|
2420
|
-
positions: {
|
|
2421
|
-
lg: {
|
|
2422
|
-
colSpan: 6,
|
|
2423
|
-
order: 2,
|
|
2424
|
-
},
|
|
2425
|
-
},
|
|
2426
|
-
},
|
|
2427
|
-
},
|
|
2428
|
-
{
|
|
2429
|
-
name: 'parentId',
|
|
2430
|
-
layout: {
|
|
2431
|
-
positions: {
|
|
2432
|
-
lg: {
|
|
2433
|
-
colSpan: 12,
|
|
2434
|
-
order: 3,
|
|
2435
|
-
},
|
|
2436
|
-
},
|
|
2437
|
-
},
|
|
2438
|
-
},
|
|
2439
|
-
{
|
|
2440
|
-
name: 'description',
|
|
2441
|
-
layout: {
|
|
2442
|
-
positions: {
|
|
2443
|
-
lg: {
|
|
2444
|
-
colSpan: 12,
|
|
2445
|
-
order: 4,
|
|
2446
|
-
},
|
|
2447
|
-
},
|
|
2448
|
-
},
|
|
2449
|
-
},
|
|
2450
|
-
],
|
|
2451
|
-
actions: [...entityMasterRecordActions()],
|
|
2452
|
-
},
|
|
2453
|
-
list: {
|
|
2454
|
-
actions: [...entityMasterCrudActions()],
|
|
2455
|
-
views: [
|
|
2456
|
-
createAllQueryView({
|
|
2457
|
-
sorts: [{ name: 'title', dir: 'asc' }],
|
|
2458
|
-
}),
|
|
2459
|
-
],
|
|
2460
|
-
},
|
|
2461
|
-
},
|
|
2462
|
-
},
|
|
2463
|
-
};
|
|
2464
|
-
return entityDef;
|
|
2465
|
-
}
|
|
2466
|
-
|
|
2467
|
-
var failureMechanism_entity = /*#__PURE__*/Object.freeze({
|
|
2468
|
-
__proto__: null,
|
|
2469
|
-
factory: factory$3
|
|
2470
|
-
});
|
|
2471
|
-
|
|
2472
|
-
//#region ---- Types ----
|
|
2473
|
-
//#endregion
|
|
2474
|
-
|
|
2475
|
-
async function factory$2(_injector) {
|
|
2476
|
-
const entityDef = {
|
|
2477
|
-
module: RootConfig.module.name,
|
|
2478
|
-
name: RootConfig.entities.failureDetection.name,
|
|
2479
|
-
title: RootConfig.entities.failureDetection.title,
|
|
2480
|
-
icon: RootConfig.entities.failureDetection.icon,
|
|
2481
|
-
formats: {
|
|
2482
|
-
individual: RootConfig.entities.failureDetection.title,
|
|
2483
|
-
plural: RootConfig.entities.failureDetection.titlePlural,
|
|
2484
|
-
searchResult: {
|
|
2485
|
-
title: '{{ title }}',
|
|
2486
|
-
description: RootConfig.module.title,
|
|
2487
|
-
},
|
|
2488
|
-
},
|
|
2489
|
-
plugins: [{ name: 'history' }],
|
|
2490
|
-
groups: [{ id: 'basic-info', title: `@general:terms.interface.basic-info` }],
|
|
2491
|
-
parentKey: 'parentId',
|
|
2492
|
-
properties: [
|
|
2493
|
-
{
|
|
2494
|
-
name: 'code',
|
|
2495
|
-
title: '@maintenance-management:failure-detections.entities.failure-detection.fields.code.title',
|
|
2496
|
-
groupId: 'basic-info',
|
|
2497
|
-
options: {
|
|
2498
|
-
sort: { enabled: true },
|
|
2499
|
-
filter: {
|
|
2500
|
-
advance: { enabled: true },
|
|
2501
|
-
inline: { enabled: true },
|
|
2502
|
-
},
|
|
2503
|
-
},
|
|
2504
|
-
schema: {
|
|
2505
|
-
dataType: 'string',
|
|
2506
|
-
interface: {
|
|
2507
|
-
type: AXPWidgetsCatalog.text,
|
|
2508
|
-
options: {
|
|
2509
|
-
placeholder: '@maintenance-management:failure-detections.entities.failure-detection.fields.code.placeholder',
|
|
2510
|
-
},
|
|
2511
|
-
},
|
|
2512
|
-
},
|
|
2513
|
-
validations: [{ rule: 'required' }],
|
|
2514
|
-
},
|
|
2515
|
-
{
|
|
2516
|
-
name: 'title',
|
|
2517
|
-
title: '@maintenance-management:failure-detections.entities.failure-detection.fields.title.title',
|
|
2518
|
-
groupId: 'basic-info',
|
|
2519
|
-
options: {
|
|
2520
|
-
sort: { enabled: true },
|
|
2521
|
-
filter: {
|
|
2522
|
-
advance: { enabled: true },
|
|
2523
|
-
inline: { enabled: true },
|
|
2524
|
-
},
|
|
2525
|
-
},
|
|
2526
|
-
schema: {
|
|
2527
|
-
dataType: 'string',
|
|
2528
|
-
interface: {
|
|
2529
|
-
type: AXPWidgetsCatalog.text,
|
|
2530
|
-
options: {
|
|
2531
|
-
placeholder: '@maintenance-management:failure-detections.entities.failure-detection.fields.title.placeholder',
|
|
2532
|
-
},
|
|
2533
|
-
},
|
|
2534
|
-
},
|
|
2535
|
-
validations: [{ rule: 'required' }],
|
|
2536
|
-
},
|
|
2537
|
-
{
|
|
2538
|
-
name: 'parentId',
|
|
2539
|
-
title: '@general:terms.classification.parent',
|
|
2540
|
-
groupId: 'basic-info',
|
|
2541
|
-
options: {
|
|
2542
|
-
sort: { enabled: true },
|
|
2543
|
-
filter: {
|
|
2544
|
-
advance: { enabled: true },
|
|
2545
|
-
inline: { enabled: true },
|
|
2546
|
-
},
|
|
2547
|
-
},
|
|
2548
|
-
schema: {
|
|
2549
|
-
dataType: 'object',
|
|
2550
|
-
interface: {
|
|
2551
|
-
type: AXPWidgetsCatalog.lookup,
|
|
2552
|
-
options: {
|
|
2553
|
-
look: 'select',
|
|
2554
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.failureDetection.name}`,
|
|
2555
|
-
expose: [
|
|
2556
|
-
{ source: 'id', target: 'parent.id' },
|
|
2557
|
-
{ source: 'title', target: 'parent.title' },
|
|
2558
|
-
],
|
|
2559
|
-
},
|
|
2560
|
-
},
|
|
2561
|
-
},
|
|
2562
|
-
},
|
|
2563
|
-
{
|
|
2564
|
-
name: 'description',
|
|
2565
|
-
title: '@general:terms.common.description',
|
|
2566
|
-
groupId: 'basic-info',
|
|
2567
|
-
options: {
|
|
2568
|
-
sort: { enabled: false },
|
|
2569
|
-
filter: {
|
|
2570
|
-
advance: { enabled: false },
|
|
2571
|
-
inline: { enabled: false },
|
|
2572
|
-
},
|
|
2573
|
-
},
|
|
2574
|
-
schema: {
|
|
2575
|
-
dataType: 'string',
|
|
2576
|
-
interface: {
|
|
2577
|
-
type: AXPWidgetsCatalog.largeText,
|
|
2578
|
-
options: {
|
|
2579
|
-
placeholder: '@maintenance-management:failure-detections.entities.failure-detection.fields.description.placeholder',
|
|
2580
|
-
},
|
|
2581
|
-
},
|
|
2582
|
-
},
|
|
2583
|
-
},
|
|
2584
|
-
],
|
|
2585
|
-
columns: [
|
|
2586
|
-
{ name: 'code' },
|
|
2587
|
-
{ name: 'title' },
|
|
2588
|
-
{ name: 'parentId', options: { dataPath: 'parent' } },
|
|
2589
|
-
],
|
|
2590
|
-
interfaces: {
|
|
2591
|
-
master: {
|
|
2592
|
-
create: {
|
|
2593
|
-
sections: [{ id: 'basic-info' }],
|
|
2594
|
-
properties: [
|
|
2595
|
-
{
|
|
2596
|
-
name: 'code',
|
|
2597
|
-
layout: {
|
|
2598
|
-
positions: {
|
|
2599
|
-
lg: {
|
|
2600
|
-
colSpan: 6,
|
|
2601
|
-
order: 1,
|
|
2602
|
-
},
|
|
2603
|
-
},
|
|
2604
|
-
},
|
|
2605
|
-
},
|
|
2606
|
-
{
|
|
2607
|
-
name: 'title',
|
|
2608
|
-
layout: {
|
|
2609
|
-
positions: {
|
|
2610
|
-
lg: {
|
|
2611
|
-
colSpan: 6,
|
|
2612
|
-
order: 2,
|
|
2613
|
-
},
|
|
2614
|
-
},
|
|
2615
|
-
},
|
|
2616
|
-
},
|
|
2617
|
-
{
|
|
2618
|
-
name: 'parentId',
|
|
2619
|
-
layout: {
|
|
2620
|
-
positions: {
|
|
2621
|
-
lg: {
|
|
2622
|
-
colSpan: 12,
|
|
2623
|
-
order: 3,
|
|
2624
|
-
},
|
|
2625
|
-
},
|
|
2626
|
-
},
|
|
2627
|
-
},
|
|
2628
|
-
{
|
|
2629
|
-
name: 'description',
|
|
2630
|
-
layout: {
|
|
2631
|
-
positions: {
|
|
2632
|
-
lg: {
|
|
2633
|
-
colSpan: 12,
|
|
2634
|
-
order: 4,
|
|
2635
|
-
},
|
|
2636
|
-
},
|
|
2637
|
-
},
|
|
2638
|
-
},
|
|
2639
|
-
],
|
|
2640
|
-
},
|
|
2641
|
-
update: {
|
|
2642
|
-
sections: [{ id: 'basic-info' }],
|
|
2643
|
-
properties: [
|
|
2644
|
-
{
|
|
2645
|
-
name: 'code',
|
|
2646
|
-
layout: {
|
|
2647
|
-
positions: {
|
|
2648
|
-
lg: {
|
|
2649
|
-
colSpan: 6,
|
|
2650
|
-
order: 1,
|
|
2651
|
-
},
|
|
2652
|
-
},
|
|
2653
|
-
},
|
|
2654
|
-
},
|
|
2655
|
-
{
|
|
2656
|
-
name: 'title',
|
|
2657
|
-
layout: {
|
|
2658
|
-
positions: {
|
|
2659
|
-
lg: {
|
|
2660
|
-
colSpan: 6,
|
|
2661
|
-
order: 2,
|
|
2662
|
-
},
|
|
2663
|
-
},
|
|
2664
|
-
},
|
|
2665
|
-
},
|
|
2666
|
-
{
|
|
2667
|
-
name: 'parentId',
|
|
2668
|
-
layout: {
|
|
2669
|
-
positions: {
|
|
2670
|
-
lg: {
|
|
2671
|
-
colSpan: 12,
|
|
2672
|
-
order: 3,
|
|
2673
|
-
},
|
|
2674
|
-
},
|
|
2675
|
-
},
|
|
2676
|
-
},
|
|
2677
|
-
{
|
|
2678
|
-
name: 'description',
|
|
2679
|
-
layout: {
|
|
2680
|
-
positions: {
|
|
2681
|
-
lg: {
|
|
2682
|
-
colSpan: 12,
|
|
2683
|
-
order: 4,
|
|
2684
|
-
},
|
|
2685
|
-
},
|
|
2686
|
-
},
|
|
2687
|
-
},
|
|
2688
|
-
],
|
|
2689
|
-
},
|
|
2690
|
-
single: {
|
|
2691
|
-
title: '{{ title }}',
|
|
2692
|
-
sections: [{ id: 'basic-info' }],
|
|
2693
|
-
properties: [
|
|
2694
|
-
{
|
|
2695
|
-
name: 'code',
|
|
2696
|
-
layout: {
|
|
2697
|
-
positions: {
|
|
2698
|
-
lg: {
|
|
2699
|
-
colSpan: 6,
|
|
2700
|
-
order: 1,
|
|
2701
|
-
},
|
|
2702
|
-
},
|
|
2703
|
-
},
|
|
2704
|
-
},
|
|
2705
|
-
{
|
|
2706
|
-
name: 'title',
|
|
2707
|
-
layout: {
|
|
2708
|
-
positions: {
|
|
2709
|
-
lg: {
|
|
2710
|
-
colSpan: 6,
|
|
2711
|
-
order: 2,
|
|
2712
|
-
},
|
|
2713
|
-
},
|
|
2714
|
-
},
|
|
2715
|
-
},
|
|
2716
|
-
{
|
|
2717
|
-
name: 'parentId',
|
|
2718
|
-
layout: {
|
|
2719
|
-
positions: {
|
|
2720
|
-
lg: {
|
|
2721
|
-
colSpan: 12,
|
|
2722
|
-
order: 3,
|
|
2723
|
-
},
|
|
2724
|
-
},
|
|
2725
|
-
},
|
|
2726
|
-
},
|
|
2727
|
-
{
|
|
2728
|
-
name: 'description',
|
|
2729
|
-
layout: {
|
|
2730
|
-
positions: {
|
|
2731
|
-
lg: {
|
|
2732
|
-
colSpan: 12,
|
|
2733
|
-
order: 4,
|
|
2734
|
-
},
|
|
2735
|
-
},
|
|
2736
|
-
},
|
|
2737
|
-
},
|
|
2738
|
-
],
|
|
2739
|
-
actions: [...entityMasterRecordActions()],
|
|
2740
|
-
},
|
|
2741
|
-
list: {
|
|
2742
|
-
actions: [...entityMasterCrudActions()],
|
|
2743
|
-
views: [
|
|
2744
|
-
createAllQueryView({
|
|
2745
|
-
sorts: [{ name: 'title', dir: 'asc' }],
|
|
2746
|
-
}),
|
|
2747
|
-
],
|
|
2748
|
-
},
|
|
2749
|
-
},
|
|
2750
|
-
},
|
|
2751
|
-
};
|
|
2752
|
-
return entityDef;
|
|
2753
|
-
}
|
|
2754
|
-
|
|
2755
|
-
var failureDetection_entity = /*#__PURE__*/Object.freeze({
|
|
2756
|
-
__proto__: null,
|
|
2757
|
-
factory: factory$2
|
|
2758
|
-
});
|
|
2759
|
-
|
|
2760
|
-
//#region ---- Types ----
|
|
2761
|
-
//#endregion
|
|
2762
|
-
|
|
2763
|
-
async function factory$1(_injector) {
|
|
2764
|
-
const entityDef = {
|
|
2765
|
-
module: RootConfig.module.name,
|
|
2766
|
-
name: RootConfig.entities.failureType.name,
|
|
2767
|
-
title: RootConfig.entities.failureType.title,
|
|
2768
|
-
icon: RootConfig.entities.failureType.icon,
|
|
2769
|
-
formats: {
|
|
2770
|
-
individual: RootConfig.entities.failureType.title,
|
|
2771
|
-
plural: RootConfig.entities.failureType.titlePlural,
|
|
2772
|
-
searchResult: {
|
|
2773
|
-
title: '{{ title }}',
|
|
2774
|
-
description: RootConfig.module.title,
|
|
2775
|
-
},
|
|
2776
|
-
},
|
|
2777
|
-
plugins: [{ name: 'history' }],
|
|
2778
|
-
parentKey: 'parentId',
|
|
2779
|
-
groups: [
|
|
2780
|
-
{
|
|
2781
|
-
id: 'overview',
|
|
2782
|
-
title: '@general:terms.common.overview',
|
|
2783
|
-
},
|
|
2784
|
-
],
|
|
2785
|
-
properties: [
|
|
2786
|
-
{
|
|
2787
|
-
name: 'code',
|
|
2788
|
-
title: '@maintenance-management:failure-types.entities.failure-type.fields.code.title',
|
|
2789
|
-
groupId: 'overview',
|
|
2790
|
-
options: {
|
|
2791
|
-
sort: { enabled: true },
|
|
2792
|
-
filter: {
|
|
2793
|
-
advance: { enabled: true },
|
|
2794
|
-
inline: { enabled: true },
|
|
2795
|
-
},
|
|
2796
|
-
},
|
|
2797
|
-
schema: {
|
|
2798
|
-
dataType: 'string',
|
|
2799
|
-
interface: {
|
|
2800
|
-
type: AXPWidgetsCatalog.text,
|
|
2801
|
-
options: {
|
|
2802
|
-
placeholder: '@maintenance-management:failure-types.entities.failure-type.fields.code.placeholder',
|
|
2803
|
-
},
|
|
2804
|
-
},
|
|
2805
|
-
},
|
|
2806
|
-
validations: [{ rule: 'required' }],
|
|
2807
|
-
},
|
|
2808
|
-
{
|
|
2809
|
-
name: 'title',
|
|
2810
|
-
title: '@maintenance-management:failure-types.entities.failure-type.fields.title.title',
|
|
2811
|
-
groupId: 'overview',
|
|
2812
|
-
options: {
|
|
2813
|
-
sort: { enabled: true },
|
|
2814
|
-
filter: {
|
|
2815
|
-
advance: { enabled: true },
|
|
2816
|
-
inline: { enabled: true },
|
|
2817
|
-
},
|
|
2818
|
-
},
|
|
2819
|
-
schema: {
|
|
2820
|
-
dataType: 'string',
|
|
2821
|
-
interface: {
|
|
2822
|
-
type: AXPWidgetsCatalog.text,
|
|
2823
|
-
options: {
|
|
2824
|
-
placeholder: '@maintenance-management:failure-types.entities.failure-type.fields.title.placeholder',
|
|
2825
|
-
},
|
|
2826
|
-
},
|
|
2827
|
-
},
|
|
2828
|
-
validations: [{ rule: 'required' }],
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
name: 'parentId',
|
|
2832
|
-
title: '@general:terms.classification.parent',
|
|
2833
|
-
groupId: 'overview',
|
|
2834
|
-
options: {
|
|
2835
|
-
sort: { enabled: true },
|
|
2836
|
-
filter: {
|
|
2837
|
-
advance: { enabled: true },
|
|
2838
|
-
inline: { enabled: true },
|
|
2839
|
-
},
|
|
2840
|
-
},
|
|
2841
|
-
schema: {
|
|
2842
|
-
dataType: 'object',
|
|
2843
|
-
interface: {
|
|
2844
|
-
type: AXPWidgetsCatalog.lookup,
|
|
2845
|
-
options: {
|
|
2846
|
-
look: 'select',
|
|
2847
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.failureType.name}`,
|
|
2848
|
-
expose: [
|
|
2849
|
-
{ source: 'id', target: 'parent.id' },
|
|
2850
|
-
{ source: 'title', target: 'parent.title' },
|
|
2851
|
-
],
|
|
2852
|
-
},
|
|
2853
|
-
},
|
|
2854
|
-
},
|
|
2855
|
-
},
|
|
2856
|
-
{
|
|
2857
|
-
name: 'description',
|
|
2858
|
-
title: '@general:terms.common.description',
|
|
2859
|
-
groupId: 'overview',
|
|
2860
|
-
options: {
|
|
2861
|
-
sort: { enabled: false },
|
|
2862
|
-
filter: {
|
|
2863
|
-
advance: { enabled: false },
|
|
2864
|
-
inline: { enabled: false },
|
|
2865
|
-
},
|
|
2866
|
-
},
|
|
2867
|
-
schema: {
|
|
2868
|
-
dataType: 'string',
|
|
2869
|
-
interface: {
|
|
2870
|
-
type: AXPWidgetsCatalog.largeText,
|
|
2871
|
-
options: {
|
|
2872
|
-
placeholder: '@maintenance-management:failure-types.entities.failure-type.fields.description.placeholder',
|
|
2873
|
-
},
|
|
2874
|
-
},
|
|
2875
|
-
},
|
|
2876
|
-
},
|
|
2877
|
-
],
|
|
2878
|
-
columns: [
|
|
2879
|
-
{ name: 'code' },
|
|
2880
|
-
{ name: 'title' },
|
|
2881
|
-
{ name: 'parentId', options: { dataPath: 'parent' } },
|
|
2882
|
-
{ name: 'description' },
|
|
2883
|
-
],
|
|
2884
|
-
interfaces: {
|
|
2885
|
-
master: {
|
|
2886
|
-
create: {
|
|
2887
|
-
sections: [{ id: 'overview' }],
|
|
2888
|
-
properties: [
|
|
2889
|
-
{
|
|
2890
|
-
name: 'code',
|
|
2891
|
-
layout: {
|
|
2892
|
-
positions: {
|
|
2893
|
-
lg: {
|
|
2894
|
-
colSpan: 6,
|
|
2895
|
-
order: 1,
|
|
2896
|
-
},
|
|
2897
|
-
},
|
|
2898
|
-
},
|
|
2899
|
-
},
|
|
2900
|
-
{
|
|
2901
|
-
name: 'title',
|
|
2902
|
-
layout: {
|
|
2903
|
-
positions: {
|
|
2904
|
-
lg: {
|
|
2905
|
-
colSpan: 6,
|
|
2906
|
-
order: 2,
|
|
2907
|
-
},
|
|
2908
|
-
},
|
|
2909
|
-
},
|
|
2910
|
-
},
|
|
2911
|
-
{
|
|
2912
|
-
name: 'parentId',
|
|
2913
|
-
layout: {
|
|
2914
|
-
positions: {
|
|
2915
|
-
lg: {
|
|
2916
|
-
colSpan: 12,
|
|
2917
|
-
order: 3,
|
|
2918
|
-
},
|
|
2919
|
-
},
|
|
2920
|
-
},
|
|
2921
|
-
},
|
|
2922
|
-
{
|
|
2923
|
-
name: 'description',
|
|
2924
|
-
layout: {
|
|
2925
|
-
positions: {
|
|
2926
|
-
lg: {
|
|
2927
|
-
colSpan: 12,
|
|
2928
|
-
order: 4,
|
|
2929
|
-
},
|
|
2930
|
-
},
|
|
2931
|
-
},
|
|
2932
|
-
},
|
|
2933
|
-
],
|
|
2934
|
-
},
|
|
2935
|
-
update: {
|
|
2936
|
-
sections: [{ id: 'overview' }],
|
|
2937
|
-
properties: [
|
|
2938
|
-
{
|
|
2939
|
-
name: 'code',
|
|
2940
|
-
layout: {
|
|
2941
|
-
positions: {
|
|
2942
|
-
lg: {
|
|
2943
|
-
colSpan: 6,
|
|
2944
|
-
order: 1,
|
|
2945
|
-
},
|
|
2946
|
-
},
|
|
2947
|
-
},
|
|
2948
|
-
},
|
|
2949
|
-
{
|
|
2950
|
-
name: 'title',
|
|
2951
|
-
layout: {
|
|
2952
|
-
positions: {
|
|
2953
|
-
lg: {
|
|
2954
|
-
colSpan: 6,
|
|
2955
|
-
order: 2,
|
|
2956
|
-
},
|
|
2957
|
-
},
|
|
2958
|
-
},
|
|
2959
|
-
},
|
|
2960
|
-
{
|
|
2961
|
-
name: 'parentId',
|
|
2962
|
-
layout: {
|
|
2963
|
-
positions: {
|
|
2964
|
-
lg: {
|
|
2965
|
-
colSpan: 12,
|
|
2966
|
-
order: 3,
|
|
2967
|
-
},
|
|
2968
|
-
},
|
|
2969
|
-
},
|
|
2970
|
-
},
|
|
2971
|
-
{
|
|
2972
|
-
name: 'description',
|
|
2973
|
-
layout: {
|
|
2974
|
-
positions: {
|
|
2975
|
-
lg: {
|
|
2976
|
-
colSpan: 12,
|
|
2977
|
-
order: 4,
|
|
2978
|
-
},
|
|
2979
|
-
},
|
|
2980
|
-
},
|
|
2981
|
-
},
|
|
2982
|
-
],
|
|
2983
|
-
},
|
|
2984
|
-
single: {
|
|
2985
|
-
title: '{{ title }}',
|
|
2986
|
-
sections: [{ id: 'overview' }],
|
|
2987
|
-
properties: [
|
|
2988
|
-
{
|
|
2989
|
-
name: 'code',
|
|
2990
|
-
layout: {
|
|
2991
|
-
positions: {
|
|
2992
|
-
lg: {
|
|
2993
|
-
colSpan: 6,
|
|
2994
|
-
order: 1,
|
|
2995
|
-
},
|
|
2996
|
-
},
|
|
2997
|
-
},
|
|
2998
|
-
},
|
|
2999
|
-
{
|
|
3000
|
-
name: 'title',
|
|
3001
|
-
layout: {
|
|
3002
|
-
positions: {
|
|
3003
|
-
lg: {
|
|
3004
|
-
colSpan: 6,
|
|
3005
|
-
order: 2,
|
|
3006
|
-
},
|
|
3007
|
-
},
|
|
3008
|
-
},
|
|
3009
|
-
},
|
|
3010
|
-
{
|
|
3011
|
-
name: 'parentId',
|
|
3012
|
-
layout: {
|
|
3013
|
-
positions: {
|
|
3014
|
-
lg: {
|
|
3015
|
-
colSpan: 12,
|
|
3016
|
-
order: 3,
|
|
3017
|
-
},
|
|
3018
|
-
},
|
|
3019
|
-
},
|
|
3020
|
-
},
|
|
3021
|
-
{
|
|
3022
|
-
name: 'description',
|
|
3023
|
-
layout: {
|
|
3024
|
-
positions: {
|
|
3025
|
-
lg: {
|
|
3026
|
-
colSpan: 12,
|
|
3027
|
-
order: 4,
|
|
3028
|
-
},
|
|
3029
|
-
},
|
|
3030
|
-
},
|
|
3031
|
-
},
|
|
3032
|
-
],
|
|
3033
|
-
actions: [...entityMasterRecordActions()],
|
|
3034
|
-
},
|
|
3035
|
-
list: {
|
|
3036
|
-
actions: [...entityMasterCrudActions()],
|
|
3037
|
-
views: [
|
|
3038
|
-
createAllQueryView({
|
|
3039
|
-
sorts: [{ name: 'title', dir: 'asc' }],
|
|
3040
|
-
}),
|
|
3041
|
-
],
|
|
3042
|
-
},
|
|
3043
|
-
},
|
|
3044
|
-
},
|
|
3045
|
-
};
|
|
3046
|
-
return entityDef;
|
|
3047
|
-
}
|
|
3048
|
-
|
|
3049
|
-
var failureType_entity = /*#__PURE__*/Object.freeze({
|
|
3050
|
-
__proto__: null,
|
|
3051
|
-
factory: factory$1
|
|
3052
|
-
});
|
|
3053
|
-
|
|
3054
|
-
//#region ---- Types ----
|
|
3055
|
-
//#endregion
|
|
3056
|
-
|
|
3057
|
-
const prioritySelectDataSource = [
|
|
3058
|
-
{ id: 'critical', title: '@maintenance-management:failure-modes.priorities.critical' },
|
|
3059
|
-
{ id: 'high', title: '@maintenance-management:failure-modes.priorities.high' },
|
|
3060
|
-
{ id: 'medium', title: '@maintenance-management:failure-modes.priorities.medium' },
|
|
3061
|
-
{ id: 'low', title: '@maintenance-management:failure-modes.priorities.low' },
|
|
3062
|
-
];
|
|
3063
|
-
async function factory(_injector) {
|
|
3064
|
-
const entityDef = {
|
|
3065
|
-
module: RootConfig.module.name,
|
|
3066
|
-
name: RootConfig.entities.failureMode.name,
|
|
3067
|
-
title: RootConfig.entities.failureMode.title,
|
|
3068
|
-
icon: RootConfig.entities.failureMode.icon,
|
|
3069
|
-
formats: {
|
|
3070
|
-
individual: RootConfig.entities.failureMode.title,
|
|
3071
|
-
plural: RootConfig.entities.failureMode.titlePlural,
|
|
3072
|
-
searchResult: {
|
|
3073
|
-
title: '{{ title }}',
|
|
3074
|
-
description: '{{ code }}',
|
|
3075
|
-
},
|
|
3076
|
-
},
|
|
3077
|
-
plugins: [{ name: 'history' }],
|
|
3078
|
-
relatedEntities: [
|
|
3079
|
-
{
|
|
3080
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.failureModeAssetType.name}`,
|
|
3081
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.related-entities.asset-types.title',
|
|
3082
|
-
columns: ['assetTypeId'],
|
|
3083
|
-
conditions: [{ name: 'failureModeId', operator: { type: 'equal' }, value: '{{ context.eval("id") }}' }],
|
|
3084
|
-
actions: [
|
|
3085
|
-
{
|
|
3086
|
-
title: '@general:actions.create.title',
|
|
3087
|
-
command: {
|
|
3088
|
-
name: 'Entity:Create',
|
|
3089
|
-
options: {
|
|
3090
|
-
process: {
|
|
3091
|
-
redirect: false,
|
|
3092
|
-
canCreateNewOne: true,
|
|
3093
|
-
data: {
|
|
3094
|
-
failureModeId: '{{ context.eval("id") }}',
|
|
3095
|
-
},
|
|
3096
|
-
},
|
|
3097
|
-
},
|
|
3098
|
-
},
|
|
3099
|
-
priority: 'primary',
|
|
3100
|
-
type: AXPSystemActionType.Create,
|
|
3101
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
3102
|
-
},
|
|
3103
|
-
...entityDetailsCrudActions('failureModeId', { create: false }),
|
|
3104
|
-
],
|
|
3105
|
-
excludeProperties: ['failureModeId'],
|
|
3106
|
-
layout: {
|
|
3107
|
-
type: 'page-list',
|
|
3108
|
-
},
|
|
3109
|
-
},
|
|
3110
|
-
{
|
|
3111
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.failureModeSolution.name}`,
|
|
3112
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.related-entities.solutions.title',
|
|
3113
|
-
columns: ['code', 'title', 'solutionType', 'riskLevel', 'successRate', 'estimatedCost', 'description'],
|
|
3114
|
-
conditions: [{ name: 'failureModeId', operator: { type: 'equal' }, value: '{{ context.eval("id") }}' }],
|
|
3115
|
-
actions: [
|
|
3116
|
-
{
|
|
3117
|
-
title: '@general:actions.create.title',
|
|
3118
|
-
command: {
|
|
3119
|
-
name: 'Entity:Create',
|
|
3120
|
-
options: {
|
|
3121
|
-
process: {
|
|
3122
|
-
redirect: false,
|
|
3123
|
-
canCreateNewOne: true,
|
|
3124
|
-
data: {
|
|
3125
|
-
failureModeId: '{{ context.eval("id") }}',
|
|
3126
|
-
},
|
|
3127
|
-
},
|
|
3128
|
-
},
|
|
3129
|
-
},
|
|
3130
|
-
priority: 'primary',
|
|
3131
|
-
type: AXPSystemActionType.Create,
|
|
3132
|
-
scope: AXPEntityCommandScope.TypeLevel,
|
|
3133
|
-
},
|
|
3134
|
-
...entityDetailsCrudActions('failureModeId', { create: false }),
|
|
3135
|
-
],
|
|
3136
|
-
excludeProperties: ['failureModeId'],
|
|
3137
|
-
layout: {
|
|
3138
|
-
type: 'page-list',
|
|
3139
|
-
},
|
|
3140
|
-
},
|
|
3141
|
-
],
|
|
3142
|
-
groups: [
|
|
3143
|
-
{ id: 'basic-info', title: `@general:terms.interface.basic-info` },
|
|
3144
|
-
{ id: 'failure-detail', title: 'Failure Detail' },
|
|
3145
|
-
{ id: 'impact-planning', title: 'Impact & Planning' },
|
|
3146
|
-
],
|
|
3147
|
-
properties: [
|
|
3148
|
-
{
|
|
3149
|
-
name: 'code',
|
|
3150
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.fields.code.title',
|
|
3151
|
-
groupId: 'basic-info',
|
|
3152
|
-
options: {
|
|
3153
|
-
sort: { enabled: true },
|
|
3154
|
-
filter: {
|
|
3155
|
-
advance: { enabled: true },
|
|
3156
|
-
inline: { enabled: true },
|
|
3157
|
-
},
|
|
3158
|
-
},
|
|
3159
|
-
schema: {
|
|
3160
|
-
dataType: 'string',
|
|
3161
|
-
interface: {
|
|
3162
|
-
type: AXPWidgetsCatalog.text,
|
|
3163
|
-
options: {
|
|
3164
|
-
placeholder: '@maintenance-management:failure-modes.entities.failure-mode.fields.code.placeholder',
|
|
3165
|
-
},
|
|
3166
|
-
},
|
|
3167
|
-
},
|
|
3168
|
-
validations: [{ rule: 'required' }],
|
|
3169
|
-
},
|
|
3170
|
-
{
|
|
3171
|
-
name: 'title',
|
|
3172
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.fields.title.title',
|
|
3173
|
-
groupId: 'basic-info',
|
|
3174
|
-
options: {
|
|
3175
|
-
sort: { enabled: true },
|
|
3176
|
-
filter: {
|
|
3177
|
-
advance: { enabled: true },
|
|
3178
|
-
inline: { enabled: true },
|
|
3179
|
-
},
|
|
3180
|
-
},
|
|
3181
|
-
schema: {
|
|
3182
|
-
dataType: 'string',
|
|
3183
|
-
interface: {
|
|
3184
|
-
type: AXPWidgetsCatalog.text,
|
|
3185
|
-
options: {
|
|
3186
|
-
placeholder: '@maintenance-management:failure-modes.entities.failure-mode.fields.title.placeholder',
|
|
3187
|
-
},
|
|
3188
|
-
},
|
|
3189
|
-
},
|
|
3190
|
-
validations: [{ rule: 'required' }],
|
|
3191
|
-
},
|
|
3192
|
-
{
|
|
3193
|
-
name: 'failureTypeId',
|
|
3194
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.fields.failure-type-id.title',
|
|
3195
|
-
groupId: 'failure-detail',
|
|
3196
|
-
options: {
|
|
3197
|
-
sort: { enabled: true },
|
|
3198
|
-
filter: {
|
|
3199
|
-
advance: { enabled: true },
|
|
3200
|
-
inline: { enabled: true },
|
|
3201
|
-
},
|
|
3202
|
-
},
|
|
3203
|
-
schema: {
|
|
3204
|
-
dataType: 'object',
|
|
3205
|
-
interface: {
|
|
3206
|
-
type: AXPWidgetsCatalog.lookup,
|
|
3207
|
-
options: {
|
|
3208
|
-
look: 'select',
|
|
3209
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.failureType.name}`,
|
|
3210
|
-
expose: [
|
|
3211
|
-
{ source: 'id', target: 'failureType.id' },
|
|
3212
|
-
{ source: 'title', target: 'failureType.title' },
|
|
3213
|
-
],
|
|
3214
|
-
},
|
|
3215
|
-
},
|
|
3216
|
-
},
|
|
3217
|
-
validations: [{ rule: 'required' }],
|
|
3218
|
-
},
|
|
3219
|
-
{
|
|
3220
|
-
name: 'priorityId',
|
|
3221
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.fields.priority-id.title',
|
|
3222
|
-
groupId: 'impact-planning',
|
|
3223
|
-
options: {
|
|
3224
|
-
sort: { enabled: true },
|
|
3225
|
-
filter: {
|
|
3226
|
-
advance: { enabled: true },
|
|
3227
|
-
inline: { enabled: true },
|
|
3228
|
-
},
|
|
3229
|
-
},
|
|
3230
|
-
schema: {
|
|
3231
|
-
dataType: 'string',
|
|
3232
|
-
interface: {
|
|
3233
|
-
type: AXPWidgetsCatalog.select,
|
|
3234
|
-
options: {
|
|
3235
|
-
valueField: 'id',
|
|
3236
|
-
textField: 'title',
|
|
3237
|
-
allowSearch: true,
|
|
3238
|
-
dataSource: prioritySelectDataSource,
|
|
3239
|
-
},
|
|
3240
|
-
},
|
|
3241
|
-
},
|
|
3242
|
-
validations: [{ rule: 'required' }],
|
|
3243
|
-
},
|
|
3244
|
-
{
|
|
3245
|
-
name: 'failureMechanismIds',
|
|
3246
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.related-entities.mechanisms.title',
|
|
3247
|
-
groupId: 'failure-detail',
|
|
3248
|
-
options: {
|
|
3249
|
-
sort: { enabled: false },
|
|
3250
|
-
filter: {
|
|
3251
|
-
advance: { enabled: false },
|
|
3252
|
-
inline: { enabled: false },
|
|
3253
|
-
},
|
|
3254
|
-
},
|
|
3255
|
-
schema: {
|
|
3256
|
-
dataType: 'array',
|
|
3257
|
-
interface: {
|
|
3258
|
-
type: AXPWidgetsCatalog.lookup,
|
|
3259
|
-
options: {
|
|
3260
|
-
look: 'drop-down',
|
|
3261
|
-
multiple: true,
|
|
3262
|
-
entity: `${RootConfig.module.name}.${RootConfig.entities.failureMechanism.name}`,
|
|
3263
|
-
textField: 'title',
|
|
3264
|
-
valueField: 'id',
|
|
3265
|
-
},
|
|
3266
|
-
},
|
|
3267
|
-
},
|
|
3268
|
-
},
|
|
3269
|
-
{
|
|
3270
|
-
name: 'initialEstimatedTime',
|
|
3271
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.fields.initial-estimated-time.title',
|
|
3272
|
-
groupId: 'impact-planning',
|
|
3273
|
-
options: {
|
|
3274
|
-
sort: { enabled: true },
|
|
3275
|
-
filter: {
|
|
3276
|
-
advance: { enabled: true },
|
|
3277
|
-
inline: { enabled: true },
|
|
3278
|
-
},
|
|
3279
|
-
},
|
|
3280
|
-
schema: {
|
|
3281
|
-
dataType: 'number',
|
|
3282
|
-
interface: {
|
|
3283
|
-
type: AXPWidgetsCatalog.number,
|
|
3284
|
-
options: {
|
|
3285
|
-
minValue: 0,
|
|
3286
|
-
step: 1,
|
|
3287
|
-
placeholder: '@maintenance-management:failure-modes.entities.failure-mode.fields.initial-estimated-time.placeholder',
|
|
3288
|
-
},
|
|
3289
|
-
},
|
|
3290
|
-
},
|
|
3291
|
-
},
|
|
3292
|
-
{
|
|
3293
|
-
name: 'shutDownFlag',
|
|
3294
|
-
title: '@maintenance-management:failure-modes.entities.failure-mode.fields.shut-down-flag.title',
|
|
3295
|
-
groupId: 'impact-planning',
|
|
3296
|
-
options: {
|
|
3297
|
-
sort: { enabled: true },
|
|
3298
|
-
filter: {
|
|
3299
|
-
advance: { enabled: true },
|
|
3300
|
-
inline: { enabled: true },
|
|
3301
|
-
},
|
|
3302
|
-
},
|
|
3303
|
-
schema: {
|
|
3304
|
-
dataType: 'boolean',
|
|
3305
|
-
interface: {
|
|
3306
|
-
type: AXPWidgetsCatalog.toggle,
|
|
3307
|
-
options: {
|
|
3308
|
-
trueText: '@general:terms.common.yes-no.yes',
|
|
3309
|
-
falseText: '@general:terms.common.yes-no.no',
|
|
3310
|
-
},
|
|
3311
|
-
},
|
|
3312
|
-
},
|
|
3313
|
-
},
|
|
3314
|
-
{
|
|
3315
|
-
name: 'description',
|
|
3316
|
-
title: '@general:terms.common.description',
|
|
3317
|
-
groupId: 'basic-info',
|
|
3318
|
-
options: {
|
|
3319
|
-
sort: { enabled: false },
|
|
3320
|
-
filter: {
|
|
3321
|
-
advance: { enabled: false },
|
|
3322
|
-
inline: { enabled: false },
|
|
3323
|
-
},
|
|
3324
|
-
},
|
|
3325
|
-
schema: {
|
|
3326
|
-
dataType: 'string',
|
|
3327
|
-
interface: {
|
|
3328
|
-
type: AXPWidgetsCatalog.largeText,
|
|
3329
|
-
options: {
|
|
3330
|
-
placeholder: '@maintenance-management:failure-modes.entities.failure-mode.fields.description.placeholder',
|
|
3331
|
-
},
|
|
3332
|
-
},
|
|
3333
|
-
},
|
|
3334
|
-
},
|
|
3335
|
-
],
|
|
3336
|
-
columns: [
|
|
3337
|
-
{ name: 'code' },
|
|
3338
|
-
{ name: 'title' },
|
|
3339
|
-
{ name: 'failureTypeId', options: { dataPath: 'failureType' } },
|
|
3340
|
-
{ name: 'priorityId' },
|
|
3341
|
-
{ name: 'shutDownFlag' },
|
|
3342
|
-
{ name: 'initialEstimatedTime' },
|
|
3343
|
-
{ name: 'description' },
|
|
3344
|
-
],
|
|
3345
|
-
interfaces: {
|
|
3346
|
-
master: {
|
|
3347
|
-
create: {
|
|
3348
|
-
sections: [{ id: 'basic-info' }, { id: 'failure-detail' }, { id: 'impact-planning' }],
|
|
3349
|
-
properties: [
|
|
3350
|
-
{
|
|
3351
|
-
name: 'code',
|
|
3352
|
-
layout: {
|
|
3353
|
-
positions: {
|
|
3354
|
-
lg: { colSpan: 6, order: 1 },
|
|
3355
|
-
},
|
|
3356
|
-
},
|
|
3357
|
-
},
|
|
3358
|
-
{
|
|
3359
|
-
name: 'title',
|
|
3360
|
-
layout: {
|
|
3361
|
-
positions: {
|
|
3362
|
-
lg: { colSpan: 6, order: 2 },
|
|
3363
|
-
},
|
|
3364
|
-
},
|
|
3365
|
-
},
|
|
3366
|
-
{
|
|
3367
|
-
name: 'description',
|
|
3368
|
-
layout: {
|
|
3369
|
-
positions: {
|
|
3370
|
-
lg: { colSpan: 12, order: 3 },
|
|
3371
|
-
},
|
|
3372
|
-
},
|
|
3373
|
-
},
|
|
3374
|
-
{
|
|
3375
|
-
name: 'failureTypeId',
|
|
3376
|
-
layout: {
|
|
3377
|
-
positions: {
|
|
3378
|
-
lg: { colSpan: 6, order: 4 },
|
|
3379
|
-
},
|
|
3380
|
-
},
|
|
3381
|
-
},
|
|
3382
|
-
{
|
|
3383
|
-
name: 'failureMechanismIds',
|
|
3384
|
-
layout: {
|
|
3385
|
-
positions: {
|
|
3386
|
-
lg: { colSpan: 6, order: 5 },
|
|
3387
|
-
},
|
|
3388
|
-
},
|
|
3389
|
-
},
|
|
3390
|
-
{
|
|
3391
|
-
name: 'priorityId',
|
|
3392
|
-
layout: {
|
|
3393
|
-
positions: {
|
|
3394
|
-
lg: { colSpan: 6, order: 6 },
|
|
3395
|
-
},
|
|
3396
|
-
},
|
|
3397
|
-
},
|
|
3398
|
-
{
|
|
3399
|
-
name: 'shutDownFlag',
|
|
3400
|
-
layout: {
|
|
3401
|
-
positions: {
|
|
3402
|
-
lg: { colSpan: 6, order: 7 },
|
|
3403
|
-
},
|
|
3404
|
-
},
|
|
3405
|
-
},
|
|
3406
|
-
{
|
|
3407
|
-
name: 'initialEstimatedTime',
|
|
3408
|
-
layout: {
|
|
3409
|
-
positions: {
|
|
3410
|
-
lg: { colSpan: 6, order: 8 },
|
|
3411
|
-
},
|
|
3412
|
-
},
|
|
3413
|
-
},
|
|
3414
|
-
],
|
|
3415
|
-
},
|
|
3416
|
-
update: {
|
|
3417
|
-
sections: [{ id: 'basic-info' }, { id: 'failure-detail' }, { id: 'impact-planning' }],
|
|
3418
|
-
properties: [
|
|
3419
|
-
{
|
|
3420
|
-
name: 'code',
|
|
3421
|
-
layout: {
|
|
3422
|
-
positions: {
|
|
3423
|
-
lg: { colSpan: 6, order: 1 },
|
|
3424
|
-
},
|
|
3425
|
-
},
|
|
3426
|
-
},
|
|
3427
|
-
{
|
|
3428
|
-
name: 'title',
|
|
3429
|
-
layout: {
|
|
3430
|
-
positions: {
|
|
3431
|
-
lg: { colSpan: 6, order: 2 },
|
|
3432
|
-
},
|
|
3433
|
-
},
|
|
3434
|
-
},
|
|
3435
|
-
{
|
|
3436
|
-
name: 'description',
|
|
3437
|
-
layout: {
|
|
3438
|
-
positions: {
|
|
3439
|
-
lg: { colSpan: 12, order: 3 },
|
|
3440
|
-
},
|
|
3441
|
-
},
|
|
3442
|
-
},
|
|
3443
|
-
{
|
|
3444
|
-
name: 'failureTypeId',
|
|
3445
|
-
layout: {
|
|
3446
|
-
positions: {
|
|
3447
|
-
lg: { colSpan: 6, order: 4 },
|
|
3448
|
-
},
|
|
3449
|
-
},
|
|
3450
|
-
},
|
|
3451
|
-
{
|
|
3452
|
-
name: 'failureMechanismIds',
|
|
3453
|
-
layout: {
|
|
3454
|
-
positions: {
|
|
3455
|
-
lg: { colSpan: 6, order: 5 },
|
|
3456
|
-
},
|
|
3457
|
-
},
|
|
3458
|
-
},
|
|
3459
|
-
{
|
|
3460
|
-
name: 'priorityId',
|
|
3461
|
-
layout: {
|
|
3462
|
-
positions: {
|
|
3463
|
-
lg: { colSpan: 6, order: 6 },
|
|
3464
|
-
},
|
|
3465
|
-
},
|
|
3466
|
-
},
|
|
3467
|
-
{
|
|
3468
|
-
name: 'shutDownFlag',
|
|
3469
|
-
layout: {
|
|
3470
|
-
positions: {
|
|
3471
|
-
lg: { colSpan: 6, order: 7 },
|
|
3472
|
-
},
|
|
3473
|
-
},
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
name: 'initialEstimatedTime',
|
|
3477
|
-
layout: {
|
|
3478
|
-
positions: {
|
|
3479
|
-
lg: { colSpan: 6, order: 8 },
|
|
3480
|
-
},
|
|
3481
|
-
},
|
|
3482
|
-
},
|
|
3483
|
-
],
|
|
3484
|
-
},
|
|
3485
|
-
single: {
|
|
3486
|
-
title: '{{ title }}',
|
|
3487
|
-
sections: [{ id: 'basic-info' }, { id: 'failure-detail' }, { id: 'impact-planning' }],
|
|
3488
|
-
properties: [
|
|
3489
|
-
{
|
|
3490
|
-
name: 'code',
|
|
3491
|
-
layout: {
|
|
3492
|
-
positions: {
|
|
3493
|
-
lg: { colSpan: 6, order: 1 },
|
|
3494
|
-
},
|
|
3495
|
-
},
|
|
3496
|
-
},
|
|
3497
|
-
{
|
|
3498
|
-
name: 'title',
|
|
3499
|
-
layout: {
|
|
3500
|
-
positions: {
|
|
3501
|
-
lg: { colSpan: 6, order: 2 },
|
|
3502
|
-
},
|
|
3503
|
-
},
|
|
3504
|
-
},
|
|
3505
|
-
{
|
|
3506
|
-
name: 'description',
|
|
3507
|
-
layout: {
|
|
3508
|
-
positions: {
|
|
3509
|
-
lg: { colSpan: 12, order: 3 },
|
|
3510
|
-
},
|
|
3511
|
-
},
|
|
3512
|
-
},
|
|
3513
|
-
{
|
|
3514
|
-
name: 'failureTypeId',
|
|
3515
|
-
layout: {
|
|
3516
|
-
positions: {
|
|
3517
|
-
lg: { colSpan: 6, order: 4 },
|
|
3518
|
-
},
|
|
3519
|
-
},
|
|
3520
|
-
},
|
|
3521
|
-
{
|
|
3522
|
-
name: 'failureMechanismIds',
|
|
3523
|
-
layout: {
|
|
3524
|
-
positions: {
|
|
3525
|
-
lg: { colSpan: 6, order: 5 },
|
|
3526
|
-
},
|
|
3527
|
-
},
|
|
3528
|
-
},
|
|
3529
|
-
{
|
|
3530
|
-
name: 'priorityId',
|
|
3531
|
-
layout: {
|
|
3532
|
-
positions: {
|
|
3533
|
-
lg: { colSpan: 6, order: 6 },
|
|
3534
|
-
},
|
|
3535
|
-
},
|
|
3536
|
-
},
|
|
3537
|
-
{
|
|
3538
|
-
name: 'shutDownFlag',
|
|
3539
|
-
layout: {
|
|
3540
|
-
positions: {
|
|
3541
|
-
lg: { colSpan: 6, order: 7 },
|
|
3542
|
-
},
|
|
3543
|
-
},
|
|
3544
|
-
},
|
|
3545
|
-
{
|
|
3546
|
-
name: 'initialEstimatedTime',
|
|
3547
|
-
layout: {
|
|
3548
|
-
positions: {
|
|
3549
|
-
lg: { colSpan: 6, order: 8 },
|
|
3550
|
-
},
|
|
3551
|
-
},
|
|
3552
|
-
},
|
|
3553
|
-
],
|
|
3554
|
-
actions: [...entityMasterRecordActions()],
|
|
3555
|
-
},
|
|
3556
|
-
list: {
|
|
3557
|
-
actions: [...entityMasterCrudActions()],
|
|
3558
|
-
views: [
|
|
3559
|
-
createAllQueryView({
|
|
3560
|
-
sorts: [{ name: 'title', dir: 'asc' }],
|
|
3561
|
-
}),
|
|
3562
|
-
],
|
|
3563
|
-
},
|
|
3564
|
-
},
|
|
3565
|
-
},
|
|
3566
|
-
};
|
|
3567
|
-
return entityDef;
|
|
3568
|
-
}
|
|
3569
|
-
|
|
3570
|
-
var failureMode_entity = /*#__PURE__*/Object.freeze({
|
|
3571
|
-
__proto__: null,
|
|
3572
|
-
factory: factory
|
|
3573
|
-
});
|
|
3574
|
-
|
|
3575
|
-
/**
|
|
3576
|
-
* Generated bundle index. Do not edit.
|
|
3577
|
-
*/
|
|
3578
|
-
|
|
3579
|
-
export { AXMMaintenanceManagementEntityProvider, AXMMaintenanceManagementFeatureKeys, AXMMaintenanceManagementMenuKeys, AXMMaintenanceManagementMenuProvider, AXMMaintenanceManagementModule, AXMMaintenanceManagementPermissionDefinitionProvider, AXMMaintenanceManagementPermissionKeys, AXMMaintenanceManagementSearchCommandProvider, AXMPerformedBy, RootConfig, factory$4 as failureCauseEntityFactory, factory$2 as failureDetectionEntityFactory, factory$3 as failureMechanismEntityFactory, factory as failureModeEntityFactory, factory$1 as failureTypeEntityFactory, idAXPMetaData, factory$6 as maintenanceEntityFactory, factory$5 as maintenanceTypeEntityFactory };
|
|
1
|
+
export { a as AXMMaintenanceManagementActivityTypeAssetTypeEntityModule, b as AXMMaintenanceManagementActivityTypeResourceEntityModule, c as AXMMaintenanceManagementEntityProvider, d as AXMMaintenanceManagementFeatureKeys, e as AXMMaintenanceManagementMaintenancePlanEntityModule, f as AXMMaintenanceManagementMaintenanceTemplateActivityTypeEntityModule, g as AXMMaintenanceManagementMaintenanceTemplateEntityModule, h as AXMMaintenanceManagementMaintenanceTemplateFailureModeEntityModule, i as AXMMaintenanceManagementMaintenanceTemplateResourceEntityModule, j as AXMMaintenanceManagementMenuKeys, k as AXMMaintenanceManagementMenuProvider, l as AXMMaintenanceManagementModule, m as AXMMaintenanceManagementPermissionDefinitionProvider, n as AXMMaintenanceManagementPermissionKeys, o as AXMMaintenanceManagementSearchCommandProvider, p as AXMMaintenanceManagementWorkOrderEntityModule, q as AXMMaintenanceManagementWorkPackageEntityModule, r as AXMMaintenanceManagementWorkReportEntityModule, R as RootConfig, s as activityTypeAssetTypeEntityFactory, t as activityTypeEntityFactory, u as activityTypeResourceEntityFactory, v as failureCauseEntityFactory, w as failureDetectionEntityFactory, x as failureMechanismEntityFactory, y as failureModeEntityFactory, z as failureTypeEntityFactory, B as maintenancePlanEntityFactory, C as maintenanceTemplateActivityTypeEntityFactory, D as maintenanceTemplateFailureModeEntityFactory, E as maintenanceTemplateResourceEntityFactory, F as maintenanceTypeEntityFactory, G as workOrderEntityFactory, H as workPackageEntityFactory, I as workReportEntityFactory } from './acorex-modules-maintenance-management-acorex-modules-maintenance-management-DtODwbIN.mjs';
|
|
3580
2
|
//# sourceMappingURL=acorex-modules-maintenance-management.mjs.map
|