@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
|
@@ -0,0 +1,726 @@
|
|
|
1
|
+
import { W as WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY } from './acorex-modules-workflow-management-WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY-D6q__Ewd.mjs';
|
|
2
|
+
import * as i2 from '@acorex/components/button';
|
|
3
|
+
import { AXButtonModule } from '@acorex/components/button';
|
|
4
|
+
import * as i3 from '@acorex/components/decorators';
|
|
5
|
+
import { AXDecoratorModule } from '@acorex/components/decorators';
|
|
6
|
+
import { AXFormModule } from '@acorex/components/form';
|
|
7
|
+
import * as i5 from '@acorex/components/search-box';
|
|
8
|
+
import { AXSearchBoxModule } from '@acorex/components/search-box';
|
|
9
|
+
import * as i3$1 from '@acorex/components/select-box';
|
|
10
|
+
import { AXSelectBoxModule } from '@acorex/components/select-box';
|
|
11
|
+
import * as i5$1 from '@acorex/core/translation';
|
|
12
|
+
import { AXTranslationService, AXTranslationModule } from '@acorex/core/translation';
|
|
13
|
+
import { AXPBroadcastEventService, AXPDataGenerator } from '@acorex/platform/core';
|
|
14
|
+
import { AXPPropertyViewerComponent, buildPropertyViewerTabsFromProperties } from '@acorex/platform/layout/components';
|
|
15
|
+
import { AXPEntityService, AXPEntityEventsKeys } from '@acorex/platform/layout/entity';
|
|
16
|
+
import { AXPPageLayoutBaseComponent, AXPPageLayoutBase } from '@acorex/platform/layout/views';
|
|
17
|
+
import { mapAXPPropertyToWidgetProperty } from '@acorex/platform/layout/widget-core';
|
|
18
|
+
import { AXPCommandService } from '@acorex/platform/runtime';
|
|
19
|
+
import { AXPActivityDefinitionService } from '@acorex/platform/workflow';
|
|
20
|
+
import * as i7 from '@angular/common';
|
|
21
|
+
import { CommonModule } from '@angular/common';
|
|
22
|
+
import * as i0 from '@angular/core';
|
|
23
|
+
import { input, inject, viewChild, signal, computed, effect, untracked, ChangeDetectionStrategy, Component, Injectable } from '@angular/core';
|
|
24
|
+
import * as i1 from '@angular/forms';
|
|
25
|
+
import { FormsModule } from '@angular/forms';
|
|
26
|
+
import { cloneDeep, isEqual } from 'lodash-es';
|
|
27
|
+
import { RootConfig } from './acorex-modules-workflow-management.mjs';
|
|
28
|
+
import { WORKFLOW_DEFINITION_ACTIVITIES_SAVE_COMMAND } from './acorex-modules-workflow-management-save-workflow-definition-activities.command-fFO152ni.mjs';
|
|
29
|
+
|
|
30
|
+
//#region ---- Imports ----
|
|
31
|
+
/** Select box value meaning “no next activity” (empty string breaks some list UIs). */
|
|
32
|
+
const CONNECTION_TARGET_END = '__axm_wf_connection_end__';
|
|
33
|
+
const WORKFLOW_DEFINITION_ACTIVITIES_DISCARD_COMMAND = 'WorkflowManagement.WorkflowDefinition:Activities:Discard';
|
|
34
|
+
const WORKFLOW_DEFINITION_ACTIVITIES_ADD_STEP_COMMAND = 'WorkflowManagement.WorkflowDefinition:Activities:AddStep';
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region ---- Helpers ----
|
|
37
|
+
function normalizeActivityDefinitionInputs(raw) {
|
|
38
|
+
if (Array.isArray(raw)) {
|
|
39
|
+
return raw;
|
|
40
|
+
}
|
|
41
|
+
if (typeof raw === 'string' && raw.trim().length > 0) {
|
|
42
|
+
try {
|
|
43
|
+
const parsed = JSON.parse(raw);
|
|
44
|
+
return Array.isArray(parsed) ? parsed : [];
|
|
45
|
+
}
|
|
46
|
+
catch {
|
|
47
|
+
return [];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return [];
|
|
51
|
+
}
|
|
52
|
+
function portKey(port) {
|
|
53
|
+
return port == null || port === '' ? 'Done' : port;
|
|
54
|
+
}
|
|
55
|
+
function coerceActivityName(raw) {
|
|
56
|
+
if (typeof raw === 'string') {
|
|
57
|
+
return raw;
|
|
58
|
+
}
|
|
59
|
+
return '';
|
|
60
|
+
}
|
|
61
|
+
function rowFromInstance(a) {
|
|
62
|
+
const inputs = a.inputs != null && typeof a.inputs === 'object' && !Array.isArray(a.inputs)
|
|
63
|
+
? { ...a.inputs }
|
|
64
|
+
: {};
|
|
65
|
+
const extRaw = a.extensions;
|
|
66
|
+
const extensions = extRaw != null && typeof extRaw === 'object' && !Array.isArray(extRaw)
|
|
67
|
+
? { ...extRaw }
|
|
68
|
+
: undefined;
|
|
69
|
+
return {
|
|
70
|
+
id: a.id,
|
|
71
|
+
name: coerceActivityName(a.name),
|
|
72
|
+
inputs,
|
|
73
|
+
...(extensions != null && Object.keys(extensions).length > 0 ? { extensions } : {}),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function instanceFromRow(r) {
|
|
77
|
+
const out = {
|
|
78
|
+
id: r.id,
|
|
79
|
+
name: r.name,
|
|
80
|
+
inputs: { ...r.inputs },
|
|
81
|
+
};
|
|
82
|
+
if (r.extensions != null && Object.keys(r.extensions).length > 0) {
|
|
83
|
+
out.extensions = { ...r.extensions };
|
|
84
|
+
}
|
|
85
|
+
return out;
|
|
86
|
+
}
|
|
87
|
+
function graphContentFingerprint(g) {
|
|
88
|
+
if (g == null) {
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
return {
|
|
92
|
+
startActivityId: g.startActivityId,
|
|
93
|
+
activities: g.activities,
|
|
94
|
+
connections: g.connections,
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function emptyGraph() {
|
|
98
|
+
return {
|
|
99
|
+
startActivityId: '',
|
|
100
|
+
activities: [],
|
|
101
|
+
connections: [],
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region ---- Component ----
|
|
106
|
+
class AXMWorkflowDefinitionActivitiesPageComponent extends AXPPageLayoutBaseComponent {
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region ---- Lifecycle ----
|
|
109
|
+
constructor() {
|
|
110
|
+
super();
|
|
111
|
+
//#region ---- Inputs ----
|
|
112
|
+
this.rootContext = input(...(ngDevMode ? [undefined, { debugName: "rootContext" }] : /* istanbul ignore next */ []));
|
|
113
|
+
this.pageConfig = input(...(ngDevMode ? [undefined, { debugName: "pageConfig" }] : /* istanbul ignore next */ []));
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region ---- Services & Dependencies ----
|
|
116
|
+
this.commandService = inject(AXPCommandService);
|
|
117
|
+
this.eventService = inject(AXPBroadcastEventService);
|
|
118
|
+
this.entityService = inject(AXPEntityService);
|
|
119
|
+
this.activityDefService = inject(AXPActivityDefinitionService);
|
|
120
|
+
this.mlResolver = inject(AXTranslationService);
|
|
121
|
+
this.hostPageLayout = inject(AXPPageLayoutBase, { optional: true, skipSelf: true });
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region ---- View refs ----
|
|
124
|
+
this.propertyViewerRef = viewChild(AXPPropertyViewerComponent, ...(ngDevMode ? [{ debugName: "propertyViewerRef" }] : /* istanbul ignore next */ []));
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region ---- State ----
|
|
127
|
+
this.activityCatalogLoaded = signal(false, ...(ngDevMode ? [{ debugName: "activityCatalogLoaded" }] : /* istanbul ignore next */ []));
|
|
128
|
+
this.activitySelectItems = signal([], ...(ngDevMode ? [{ debugName: "activitySelectItems" }] : /* istanbul ignore next */ []));
|
|
129
|
+
this.activities = signal([], ...(ngDevMode ? [{ debugName: "activities" }] : /* istanbul ignore next */ []));
|
|
130
|
+
this.connections = signal([], ...(ngDevMode ? [{ debugName: "connections" }] : /* istanbul ignore next */ []));
|
|
131
|
+
this.startActivityId = signal('', ...(ngDevMode ? [{ debugName: "startActivityId" }] : /* istanbul ignore next */ []));
|
|
132
|
+
this.selectedRowId = signal(null, ...(ngDevMode ? [{ debugName: "selectedRowId" }] : /* istanbul ignore next */ []));
|
|
133
|
+
this.viewerTabs = signal([], ...(ngDevMode ? [{ debugName: "viewerTabs" }] : /* istanbul ignore next */ []));
|
|
134
|
+
this.selectedActivityOutcomeRows = signal([], ...(ngDevMode ? [{ debugName: "selectedActivityOutcomeRows" }] : /* istanbul ignore next */ []));
|
|
135
|
+
this.connectionEndOptionText = signal('(End workflow)', ...(ngDevMode ? [{ debugName: "connectionEndOptionText" }] : /* istanbul ignore next */ []));
|
|
136
|
+
this.baselineGraph = signal(null, ...(ngDevMode ? [{ debugName: "baselineGraph" }] : /* istanbul ignore next */ []));
|
|
137
|
+
this.isDirty = signal(false, ...(ngDevMode ? [{ debugName: "isDirty" }] : /* istanbul ignore next */ []));
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region ---- Computed ----
|
|
140
|
+
this.context = computed(() => this.rootContext() ?? {}, ...(ngDevMode ? [{ debugName: "context" }] : /* istanbul ignore next */ []));
|
|
141
|
+
this.selectedRow = computed(() => {
|
|
142
|
+
const id = this.selectedRowId();
|
|
143
|
+
if (id == null) {
|
|
144
|
+
return null;
|
|
145
|
+
}
|
|
146
|
+
return this.activities().find((r) => r.id === id) ?? null;
|
|
147
|
+
}, ...(ngDevMode ? [{ debugName: "selectedRow" }] : /* istanbul ignore next */ []));
|
|
148
|
+
this.startActivityItems = computed(() => this.activities().map((r) => ({
|
|
149
|
+
value: r.id,
|
|
150
|
+
text: this.formatActivityStepLabel(r),
|
|
151
|
+
})), ...(ngDevMode ? [{ debugName: "startActivityItems" }] : /* istanbul ignore next */ []));
|
|
152
|
+
/**
|
|
153
|
+
* Entity catalog plus any activity type names already on the graph (so selects always resolve labels).
|
|
154
|
+
*/
|
|
155
|
+
this.activitySelectOptions = computed(() => {
|
|
156
|
+
const graphTitleByName = new Map();
|
|
157
|
+
for (const r of this.activities()) {
|
|
158
|
+
const n = r.name?.trim();
|
|
159
|
+
if (!n) {
|
|
160
|
+
continue;
|
|
161
|
+
}
|
|
162
|
+
const ext = r.extensions;
|
|
163
|
+
const dt = ext && typeof ext['displayTitle'] === 'string' ? ext['displayTitle'].trim() : '';
|
|
164
|
+
if (dt) {
|
|
165
|
+
graphTitleByName.set(n, dt);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
const byValue = new Map();
|
|
169
|
+
for (const x of this.activitySelectItems()) {
|
|
170
|
+
const text = graphTitleByName.get(x.value) ?? x.text;
|
|
171
|
+
byValue.set(x.value, { value: x.value, text });
|
|
172
|
+
}
|
|
173
|
+
for (const r of this.activities()) {
|
|
174
|
+
const n = r.name?.trim();
|
|
175
|
+
if (!n || byValue.has(n)) {
|
|
176
|
+
continue;
|
|
177
|
+
}
|
|
178
|
+
const text = graphTitleByName.get(n) ?? n;
|
|
179
|
+
byValue.set(n, { value: n, text });
|
|
180
|
+
}
|
|
181
|
+
return [...byValue.values()].sort((a, b) => a.text.localeCompare(b.text));
|
|
182
|
+
}, ...(ngDevMode ? [{ debugName: "activitySelectOptions" }] : /* istanbul ignore next */ []));
|
|
183
|
+
void this.translateService
|
|
184
|
+
.translateAsync('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.connection-end')
|
|
185
|
+
.then((t) => this.connectionEndOptionText.set(t?.trim() ? t : '(End workflow)'));
|
|
186
|
+
let previousRootId = undefined;
|
|
187
|
+
effect(() => {
|
|
188
|
+
const ctx = this.rootContext();
|
|
189
|
+
const currentId = ctx != null && typeof ctx === 'object' ? ctx['id'] : undefined;
|
|
190
|
+
if (currentId !== previousRootId) {
|
|
191
|
+
previousRootId = currentId;
|
|
192
|
+
untracked(() => {
|
|
193
|
+
const graph = ctx?.['graph'];
|
|
194
|
+
const rows = (graph?.activities ?? []).map((a) => rowFromInstance(a));
|
|
195
|
+
this.baselineGraph.set(graph != null ? cloneDeep(graph) : emptyGraph());
|
|
196
|
+
this.activities.set(rows);
|
|
197
|
+
this.connections.set(cloneDeep(graph?.connections ?? []));
|
|
198
|
+
let start = graph?.startActivityId ?? '';
|
|
199
|
+
if (!start && rows.length > 0) {
|
|
200
|
+
start = rows[0].id;
|
|
201
|
+
}
|
|
202
|
+
this.startActivityId.set(start);
|
|
203
|
+
this.selectedRowId.set(rows[0]?.id ?? null);
|
|
204
|
+
this.isDirty.set(false);
|
|
205
|
+
void this.ensureActivityCatalogLoaded();
|
|
206
|
+
void this.refreshPropertyViewer();
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
//#endregion
|
|
212
|
+
//#region ---- Page chrome ----
|
|
213
|
+
async getPrimaryMenuItems() {
|
|
214
|
+
const addTitle = (await this.translateService.translateAsync('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.add-step')) || 'Add step';
|
|
215
|
+
const discardTitle = (await this.translateService.translateAsync('@general:actions.discard.title')) || 'Discard';
|
|
216
|
+
const saveTitle = (await this.translateService.translateAsync('@general:actions.save.title')) || 'Save';
|
|
217
|
+
const addAction = {
|
|
218
|
+
title: addTitle,
|
|
219
|
+
icon: 'fa-light fa-plus',
|
|
220
|
+
zone: 'header',
|
|
221
|
+
priority: 'primary',
|
|
222
|
+
color: 'primary',
|
|
223
|
+
command: {
|
|
224
|
+
name: WORKFLOW_DEFINITION_ACTIVITIES_ADD_STEP_COMMAND,
|
|
225
|
+
options: {},
|
|
226
|
+
},
|
|
227
|
+
};
|
|
228
|
+
const discardAction = {
|
|
229
|
+
title: discardTitle,
|
|
230
|
+
icon: 'fa-light fa-rotate-left',
|
|
231
|
+
zone: 'footer',
|
|
232
|
+
priority: 'secondary',
|
|
233
|
+
color: 'default',
|
|
234
|
+
visible: this.isDirty(),
|
|
235
|
+
command: {
|
|
236
|
+
name: WORKFLOW_DEFINITION_ACTIVITIES_DISCARD_COMMAND,
|
|
237
|
+
options: {},
|
|
238
|
+
},
|
|
239
|
+
};
|
|
240
|
+
const saveAction = {
|
|
241
|
+
title: saveTitle,
|
|
242
|
+
icon: 'fa-light fa-floppy-disk',
|
|
243
|
+
zone: 'footer',
|
|
244
|
+
priority: 'primary',
|
|
245
|
+
color: 'primary',
|
|
246
|
+
visible: this.isDirty(),
|
|
247
|
+
command: {
|
|
248
|
+
name: WORKFLOW_DEFINITION_ACTIVITIES_SAVE_COMMAND,
|
|
249
|
+
options: {},
|
|
250
|
+
},
|
|
251
|
+
};
|
|
252
|
+
return [addAction, discardAction, saveAction];
|
|
253
|
+
}
|
|
254
|
+
//#endregion
|
|
255
|
+
//#region ---- Commands ----
|
|
256
|
+
execute(command) {
|
|
257
|
+
if (command.name === WORKFLOW_DEFINITION_ACTIVITIES_DISCARD_COMMAND) {
|
|
258
|
+
const base = this.baselineGraph();
|
|
259
|
+
const rows = (base?.activities ?? []).map((a) => rowFromInstance(a));
|
|
260
|
+
this.activities.set(rows);
|
|
261
|
+
this.connections.set(cloneDeep(base?.connections ?? []));
|
|
262
|
+
let start = base?.startActivityId ?? '';
|
|
263
|
+
if (!start && rows.length > 0) {
|
|
264
|
+
start = rows[0].id;
|
|
265
|
+
}
|
|
266
|
+
this.startActivityId.set(start);
|
|
267
|
+
this.selectedRowId.set(rows[0]?.id ?? null);
|
|
268
|
+
this.isDirty.set(false);
|
|
269
|
+
void this.refreshPropertyViewer();
|
|
270
|
+
this.recompute();
|
|
271
|
+
return;
|
|
272
|
+
}
|
|
273
|
+
if (command.name === WORKFLOW_DEFINITION_ACTIVITIES_ADD_STEP_COMMAND) {
|
|
274
|
+
this.addStep();
|
|
275
|
+
return;
|
|
276
|
+
}
|
|
277
|
+
if (command.name === WORKFLOW_DEFINITION_ACTIVITIES_SAVE_COMMAND) {
|
|
278
|
+
return this.handleSaveExecute();
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
async handleSaveExecute() {
|
|
282
|
+
const ctx = this.context();
|
|
283
|
+
const id = typeof ctx['id'] === 'string' ? ctx['id'] : undefined;
|
|
284
|
+
if (!id) {
|
|
285
|
+
return {
|
|
286
|
+
success: false,
|
|
287
|
+
message: {
|
|
288
|
+
text: await this.translateService.translateAsync('@general:messages.entity.invalid-data'),
|
|
289
|
+
},
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
const graph = this.buildCurrentGraph();
|
|
293
|
+
const input = { id, graph };
|
|
294
|
+
const result = await this.commandService.execute(WORKFLOW_DEFINITION_ACTIVITIES_SAVE_COMMAND, input);
|
|
295
|
+
const execResult = (result ?? { success: false });
|
|
296
|
+
if (execResult.success) {
|
|
297
|
+
this.baselineGraph.set(cloneDeep(graph));
|
|
298
|
+
this.isDirty.set(false);
|
|
299
|
+
this.recompute();
|
|
300
|
+
this.eventService.publish(AXPEntityEventsKeys.REFRESH_LAYOUT, {
|
|
301
|
+
name: `${RootConfig.module.name}.${RootConfig.entities.workflowDefinition.name}`,
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
return execResult;
|
|
305
|
+
}
|
|
306
|
+
//#endregion
|
|
307
|
+
//#region ---- Graph / rows ----
|
|
308
|
+
buildCurrentGraph() {
|
|
309
|
+
const instances = this.activities().map((r) => instanceFromRow(r));
|
|
310
|
+
const base = this.baselineGraph();
|
|
311
|
+
return {
|
|
312
|
+
startActivityId: this.startActivityId(),
|
|
313
|
+
activities: instances,
|
|
314
|
+
connections: cloneDeep(this.connections()),
|
|
315
|
+
designer: base?.designer,
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
recomputeDirty() {
|
|
319
|
+
const next = graphContentFingerprint(this.buildCurrentGraph());
|
|
320
|
+
const base = graphContentFingerprint(this.baselineGraph());
|
|
321
|
+
this.isDirty.set(!isEqual(next, base));
|
|
322
|
+
this.recompute();
|
|
323
|
+
}
|
|
324
|
+
formatActivityStepLabel(r) {
|
|
325
|
+
const shortId = r.id.length >= 8 ? r.id.slice(0, 8) : r.id;
|
|
326
|
+
const typePart = r.name?.trim() ? r.name : '…';
|
|
327
|
+
return `${typePart} (${shortId})`;
|
|
328
|
+
}
|
|
329
|
+
/** Outgoing targets for a step (excludes the same step; use sentinel for “end”). */
|
|
330
|
+
connectionTargetsFor(sourceActivityId) {
|
|
331
|
+
const end = this.connectionEndOptionText();
|
|
332
|
+
const steps = this.activities()
|
|
333
|
+
.filter((r) => r.id !== sourceActivityId)
|
|
334
|
+
.map((r) => ({
|
|
335
|
+
value: r.id,
|
|
336
|
+
text: this.formatActivityStepLabel(r),
|
|
337
|
+
}));
|
|
338
|
+
return [{ value: CONNECTION_TARGET_END, text: end }, ...steps];
|
|
339
|
+
}
|
|
340
|
+
connectionSelectValue(sourceActivityId, port) {
|
|
341
|
+
const t = this.getOutgoingTarget(sourceActivityId, port);
|
|
342
|
+
return t === '' ? CONNECTION_TARGET_END : t;
|
|
343
|
+
}
|
|
344
|
+
selectRow(rowId) {
|
|
345
|
+
this.selectedRowId.set(rowId);
|
|
346
|
+
void this.refreshPropertyViewer();
|
|
347
|
+
}
|
|
348
|
+
addStep() {
|
|
349
|
+
const catalog = this.activitySelectOptions();
|
|
350
|
+
const defaultName = catalog[0]?.value ?? '';
|
|
351
|
+
const row = {
|
|
352
|
+
id: AXPDataGenerator.uuid(),
|
|
353
|
+
name: defaultName,
|
|
354
|
+
inputs: {},
|
|
355
|
+
};
|
|
356
|
+
this.activities.update((list) => [...list, row]);
|
|
357
|
+
this.selectedRowId.set(row.id);
|
|
358
|
+
if (!this.startActivityId() && row.id) {
|
|
359
|
+
this.startActivityId.set(row.id);
|
|
360
|
+
}
|
|
361
|
+
void this.refreshPropertyViewer();
|
|
362
|
+
this.recomputeDirty();
|
|
363
|
+
}
|
|
364
|
+
removeStep(rowId) {
|
|
365
|
+
this.connections.update((list) => list.filter((c) => c.source.activtyName !== rowId && c.target.activtyName !== rowId));
|
|
366
|
+
const list = this.activities().filter((r) => r.id !== rowId);
|
|
367
|
+
this.activities.set(list);
|
|
368
|
+
if (this.selectedRowId() === rowId) {
|
|
369
|
+
this.selectedRowId.set(list[0]?.id ?? null);
|
|
370
|
+
}
|
|
371
|
+
if (this.startActivityId() === rowId) {
|
|
372
|
+
this.startActivityId.set(list[0]?.id ?? '');
|
|
373
|
+
}
|
|
374
|
+
void this.refreshPropertyViewer();
|
|
375
|
+
this.recomputeDirty();
|
|
376
|
+
}
|
|
377
|
+
onActivityTypeChange(rowId, event) {
|
|
378
|
+
const name = event.value != null ? String(event.value) : '';
|
|
379
|
+
let typeChanged = false;
|
|
380
|
+
this.activities.update((rows) => rows.map((r) => {
|
|
381
|
+
if (r.id !== rowId) {
|
|
382
|
+
return r;
|
|
383
|
+
}
|
|
384
|
+
if (r.name !== name) {
|
|
385
|
+
typeChanged = true;
|
|
386
|
+
return { ...r, name, inputs: {}, extensions: undefined };
|
|
387
|
+
}
|
|
388
|
+
return { ...r, name };
|
|
389
|
+
}));
|
|
390
|
+
if (typeChanged) {
|
|
391
|
+
void this.activityDefService.getActivityByName(name).then((def) => {
|
|
392
|
+
const rowNow = this.activities().find((r) => r.id === rowId) ?? null;
|
|
393
|
+
const allowed = new Set(this.buildOutcomeRows(rowId, rowNow, def).map((o) => o.port));
|
|
394
|
+
this.pruneOutgoingConnections(rowId, allowed);
|
|
395
|
+
void this.refreshPropertyViewer();
|
|
396
|
+
this.recomputeDirty();
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
else {
|
|
400
|
+
void this.refreshPropertyViewer();
|
|
401
|
+
}
|
|
402
|
+
if (!typeChanged) {
|
|
403
|
+
this.recomputeDirty();
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
onStartActivityChange(event) {
|
|
407
|
+
this.startActivityId.set(event.value != null ? String(event.value) : '');
|
|
408
|
+
this.recomputeDirty();
|
|
409
|
+
}
|
|
410
|
+
getOutgoingTarget(sourceActivityId, port) {
|
|
411
|
+
const key = portKey(port);
|
|
412
|
+
for (const c of this.connections()) {
|
|
413
|
+
if (c.source.activtyName !== sourceActivityId) {
|
|
414
|
+
continue;
|
|
415
|
+
}
|
|
416
|
+
if (portKey(c.source.port) === key) {
|
|
417
|
+
return c.target.activtyName;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
return '';
|
|
421
|
+
}
|
|
422
|
+
onOutgoingConnectionChange(sourceActivityId, port, event) {
|
|
423
|
+
const raw = event.value != null ? String(event.value) : CONNECTION_TARGET_END;
|
|
424
|
+
const targetId = raw === CONNECTION_TARGET_END ? '' : raw;
|
|
425
|
+
const key = portKey(port);
|
|
426
|
+
this.connections.update((list) => {
|
|
427
|
+
const filtered = list.filter((c) => {
|
|
428
|
+
if (c.source.activtyName !== sourceActivityId) {
|
|
429
|
+
return true;
|
|
430
|
+
}
|
|
431
|
+
return portKey(c.source.port) !== key;
|
|
432
|
+
});
|
|
433
|
+
if (!targetId) {
|
|
434
|
+
return filtered;
|
|
435
|
+
}
|
|
436
|
+
const sourcePort = key === 'Done' ? null : port;
|
|
437
|
+
return [
|
|
438
|
+
...filtered,
|
|
439
|
+
{
|
|
440
|
+
source: { activtyName: sourceActivityId, port: sourcePort },
|
|
441
|
+
target: { activtyName: targetId, port: null },
|
|
442
|
+
},
|
|
443
|
+
];
|
|
444
|
+
});
|
|
445
|
+
this.recomputeDirty();
|
|
446
|
+
}
|
|
447
|
+
pruneOutgoingConnections(sourceActivityId, allowedPorts) {
|
|
448
|
+
this.connections.update((list) => list.filter((c) => {
|
|
449
|
+
if (c.source.activtyName !== sourceActivityId) {
|
|
450
|
+
return true;
|
|
451
|
+
}
|
|
452
|
+
return allowedPorts.has(portKey(c.source.port));
|
|
453
|
+
}));
|
|
454
|
+
}
|
|
455
|
+
outcomePortsFromConnections(activityId) {
|
|
456
|
+
const ports = new Set();
|
|
457
|
+
for (const c of this.connections()) {
|
|
458
|
+
if (c.source.activtyName === activityId) {
|
|
459
|
+
ports.add(portKey(c.source.port));
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
return [...ports];
|
|
463
|
+
}
|
|
464
|
+
outcomeRowsFromRawDefinition(raw) {
|
|
465
|
+
if (raw == null) {
|
|
466
|
+
return [];
|
|
467
|
+
}
|
|
468
|
+
let items = [];
|
|
469
|
+
if (Array.isArray(raw)) {
|
|
470
|
+
items = raw;
|
|
471
|
+
}
|
|
472
|
+
else if (typeof raw === 'string' && raw.trim().length > 0) {
|
|
473
|
+
try {
|
|
474
|
+
const parsed = JSON.parse(raw);
|
|
475
|
+
items = Array.isArray(parsed) ? parsed : [];
|
|
476
|
+
}
|
|
477
|
+
catch {
|
|
478
|
+
return [];
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
else {
|
|
482
|
+
return [];
|
|
483
|
+
}
|
|
484
|
+
const rows = [];
|
|
485
|
+
for (const item of items) {
|
|
486
|
+
if (typeof item === 'string' && item.trim()) {
|
|
487
|
+
rows.push({ port: item, label: item });
|
|
488
|
+
continue;
|
|
489
|
+
}
|
|
490
|
+
if (item != null && typeof item === 'object' && !Array.isArray(item)) {
|
|
491
|
+
const o = item;
|
|
492
|
+
const portVal = o['name'] ?? o['value'] ?? o['outcome'] ?? o['port'];
|
|
493
|
+
if (typeof portVal !== 'string' || !portVal.trim()) {
|
|
494
|
+
continue;
|
|
495
|
+
}
|
|
496
|
+
const titleRaw = o['title'];
|
|
497
|
+
let label = portVal;
|
|
498
|
+
if (typeof titleRaw === 'string' && titleRaw.trim()) {
|
|
499
|
+
label = titleRaw;
|
|
500
|
+
}
|
|
501
|
+
else if (titleRaw != null && typeof titleRaw === 'object') {
|
|
502
|
+
label = this.mlResolver.resolve(titleRaw) ?? portVal;
|
|
503
|
+
}
|
|
504
|
+
rows.push({ port: portVal, label });
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
return rows;
|
|
508
|
+
}
|
|
509
|
+
outcomePortsFromTaskActions(inputs) {
|
|
510
|
+
const actions = inputs['actions'];
|
|
511
|
+
if (actions == null) {
|
|
512
|
+
return [];
|
|
513
|
+
}
|
|
514
|
+
let root = actions;
|
|
515
|
+
if (typeof actions === 'string' && actions.trim().length > 0) {
|
|
516
|
+
try {
|
|
517
|
+
root = JSON.parse(actions);
|
|
518
|
+
}
|
|
519
|
+
catch {
|
|
520
|
+
return [];
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
if (typeof root !== 'object' || root === null) {
|
|
524
|
+
return [];
|
|
525
|
+
}
|
|
526
|
+
const names = [];
|
|
527
|
+
const obj = root;
|
|
528
|
+
for (const key of ['suffix', 'prefix']) {
|
|
529
|
+
const list = obj[key];
|
|
530
|
+
if (!Array.isArray(list)) {
|
|
531
|
+
continue;
|
|
532
|
+
}
|
|
533
|
+
for (const entry of list) {
|
|
534
|
+
if (!entry || typeof entry !== 'object') {
|
|
535
|
+
continue;
|
|
536
|
+
}
|
|
537
|
+
const cmd = entry['command'];
|
|
538
|
+
if (cmd && typeof cmd === 'object') {
|
|
539
|
+
const n = cmd['name'];
|
|
540
|
+
if (typeof n === 'string' && n.trim()) {
|
|
541
|
+
names.push(n);
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
return names;
|
|
547
|
+
}
|
|
548
|
+
buildOutcomeRows(activityId, row, def) {
|
|
549
|
+
const map = new Map();
|
|
550
|
+
for (const o of this.outcomeRowsFromRawDefinition(def?.outcomes)) {
|
|
551
|
+
map.set(o.port, o);
|
|
552
|
+
}
|
|
553
|
+
for (const p of this.outcomePortsFromConnections(activityId)) {
|
|
554
|
+
if (!map.has(p)) {
|
|
555
|
+
map.set(p, { port: p, label: p });
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
if (row) {
|
|
559
|
+
for (const p of this.outcomePortsFromTaskActions(row.inputs)) {
|
|
560
|
+
if (!map.has(p)) {
|
|
561
|
+
map.set(p, { port: p, label: p });
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
if (map.size === 0) {
|
|
566
|
+
map.set('Done', { port: 'Done', label: 'Done' });
|
|
567
|
+
}
|
|
568
|
+
return [...map.values()].sort((a, b) => a.port.localeCompare(b.port));
|
|
569
|
+
}
|
|
570
|
+
//#endregion
|
|
571
|
+
//#region ---- Property viewer ----
|
|
572
|
+
async ensureActivityCatalogLoaded() {
|
|
573
|
+
if (this.activityCatalogLoaded()) {
|
|
574
|
+
return;
|
|
575
|
+
}
|
|
576
|
+
try {
|
|
577
|
+
const data = this.entityService
|
|
578
|
+
.withEntity(RootConfig.module.name, RootConfig.entities.activityDefinition.name)
|
|
579
|
+
.data();
|
|
580
|
+
const res = await data.query({ skip: 0, take: 1000 });
|
|
581
|
+
const items = (res.items ?? [])
|
|
582
|
+
.map((row) => {
|
|
583
|
+
const n = row['name'];
|
|
584
|
+
const typeFallback = row['type'];
|
|
585
|
+
const valueKey = typeof n === 'string' && n.trim()
|
|
586
|
+
? n.trim()
|
|
587
|
+
: typeof n === 'number'
|
|
588
|
+
? String(n)
|
|
589
|
+
: typeof typeFallback === 'string' && typeFallback.trim()
|
|
590
|
+
? typeFallback.trim()
|
|
591
|
+
: typeof typeFallback === 'number'
|
|
592
|
+
? String(typeFallback)
|
|
593
|
+
: '';
|
|
594
|
+
if (!valueKey) {
|
|
595
|
+
return null;
|
|
596
|
+
}
|
|
597
|
+
const titleRaw = row['title'];
|
|
598
|
+
let text = valueKey;
|
|
599
|
+
if (typeof titleRaw === 'string' && titleRaw.trim()) {
|
|
600
|
+
text = titleRaw.trim();
|
|
601
|
+
}
|
|
602
|
+
else if (titleRaw != null && typeof titleRaw === 'object') {
|
|
603
|
+
text = this.mlResolver.resolve(titleRaw) ?? valueKey;
|
|
604
|
+
}
|
|
605
|
+
return { value: valueKey, text: String(text).trim() || valueKey };
|
|
606
|
+
})
|
|
607
|
+
.filter((x) => x != null);
|
|
608
|
+
items.sort((a, b) => a.text.localeCompare(b.text));
|
|
609
|
+
this.activitySelectItems.set(items);
|
|
610
|
+
this.activityCatalogLoaded.set(true);
|
|
611
|
+
}
|
|
612
|
+
catch {
|
|
613
|
+
this.activitySelectItems.set([]);
|
|
614
|
+
this.activityCatalogLoaded.set(true);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
async refreshPropertyViewer() {
|
|
618
|
+
const row = this.selectedRow();
|
|
619
|
+
if (row == null || row.name.trim() === '') {
|
|
620
|
+
this.viewerTabs.set([]);
|
|
621
|
+
this.selectedActivityOutcomeRows.set([]);
|
|
622
|
+
setTimeout(() => this.propertyViewerRef()?.initializeContext({ inputs: {} }), 0);
|
|
623
|
+
return;
|
|
624
|
+
}
|
|
625
|
+
const def = await this.activityDefService.getActivityByName(row.name);
|
|
626
|
+
const rowLatest = this.activities().find((r) => r.id === row.id) ?? row;
|
|
627
|
+
this.selectedActivityOutcomeRows.set(this.buildOutcomeRows(row.id, rowLatest, def));
|
|
628
|
+
const inputProps = normalizeActivityDefinitionInputs(def?.inputs);
|
|
629
|
+
const group = { name: 'activity-inputs', title: 'Inputs', order: 0 };
|
|
630
|
+
const widgetProps = inputProps.map((p, index) => mapAXPPropertyToWidgetProperty(p, {
|
|
631
|
+
group,
|
|
632
|
+
order: index,
|
|
633
|
+
valuePathPrefix: 'inputs',
|
|
634
|
+
resolveTitle: (prop) => typeof prop.title === 'string' ? prop.title : (this.mlResolver.resolve(prop.title) ?? prop.name),
|
|
635
|
+
resolveDescription: (prop) => prop.description === undefined
|
|
636
|
+
? undefined
|
|
637
|
+
: typeof prop.description === 'string'
|
|
638
|
+
? prop.description
|
|
639
|
+
: this.mlResolver.resolve(prop.description),
|
|
640
|
+
}));
|
|
641
|
+
this.viewerTabs.set(buildPropertyViewerTabsFromProperties(widgetProps));
|
|
642
|
+
setTimeout(() => {
|
|
643
|
+
const current = this.activities().find((r) => r.id === row.id);
|
|
644
|
+
this.propertyViewerRef()?.initializeContext({
|
|
645
|
+
inputs: cloneDeep(current?.inputs ?? {}),
|
|
646
|
+
});
|
|
647
|
+
}, 0);
|
|
648
|
+
}
|
|
649
|
+
onViewerChanged(ev) {
|
|
650
|
+
if (ev.mode === 'init') {
|
|
651
|
+
return;
|
|
652
|
+
}
|
|
653
|
+
const id = this.selectedRowId();
|
|
654
|
+
if (id == null || ev.values == null) {
|
|
655
|
+
return;
|
|
656
|
+
}
|
|
657
|
+
const values = ev.values;
|
|
658
|
+
const inputs = values.inputs ?? {};
|
|
659
|
+
this.activities.update((rows) => rows.map((r) => (r.id === id ? { ...r, inputs: { ...inputs } } : r)));
|
|
660
|
+
const sel = this.activities().find((r) => r.id === id);
|
|
661
|
+
if (sel?.name?.trim()) {
|
|
662
|
+
void this.activityDefService.getActivityByName(sel.name).then((def) => {
|
|
663
|
+
this.selectedActivityOutcomeRows.set(this.buildOutcomeRows(sel.id, sel, def));
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
this.recomputeDirty();
|
|
667
|
+
}
|
|
668
|
+
//#endregion
|
|
669
|
+
//#region ---- Utilities ----
|
|
670
|
+
recompute() {
|
|
671
|
+
super.recompute();
|
|
672
|
+
const maybeLayout = this.hostPageLayout;
|
|
673
|
+
maybeLayout.recompute?.();
|
|
674
|
+
}
|
|
675
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkflowDefinitionActivitiesPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
676
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.9", type: AXMWorkflowDefinitionActivitiesPageComponent, isStandalone: true, selector: "axm-workflow-definition-activities-page", inputs: { rootContext: { classPropertyName: "rootContext", publicName: "rootContext", isSignal: true, isRequired: false, transformFunction: null }, pageConfig: { classPropertyName: "pageConfig", publicName: "pageConfig", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
677
|
+
{
|
|
678
|
+
provide: AXPPageLayoutBase,
|
|
679
|
+
useExisting: AXMWorkflowDefinitionActivitiesPageComponent,
|
|
680
|
+
},
|
|
681
|
+
], viewQueries: [{ propertyName: "propertyViewerRef", first: true, predicate: AXPPropertyViewerComponent, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"axm-workflow-definition-activities\">\n <div class=\"axm-workflow-definition-activities__columns\">\n <section class=\"axm-workflow-definition-activities__list\" aria-label=\"Activity steps\">\n @if (activities().length === 0) {\n <p class=\"axm-workflow-definition-activities__empty\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.empty'\n | translate\n | async) ?? ''\n }}\n </p>\n }\n @for (row of activities(); track row.id) {\n <div\n class=\"axm-workflow-definition-activities__row\"\n [class.axm-workflow-definition-activities__row--selected]=\"selectedRowId() === row.id\"\n (click)=\"selectRow(row.id)\"\n >\n <div class=\"axm-workflow-definition-activities__row-main\">\n <ax-select-box\n class=\"axm-workflow-definition-activities__select\"\n [ngModel]=\"row.name\"\n [dataSource]=\"activitySelectOptions()\"\n valueField=\"value\"\n textField=\"text\"\n [placeholder]=\"\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.select-activity'\n | translate\n | async) ?? ''\n \"\n (onValueChanged)=\"onActivityTypeChange(row.id, $event)\"\n >\n <ax-search-box></ax-search-box>\n <ax-clear-button></ax-clear-button>\n </ax-select-box>\n </div>\n <div class=\"axm-workflow-definition-activities__row-actions\" (click)=\"$event.stopPropagation()\">\n <ax-button\n class=\"ax-flat\"\n color=\"danger\"\n [attr.aria-label]=\"('@general:actions.delete.title' | translate | async) ?? ''\"\n (onClick)=\"removeStep(row.id)\"\n >\n <i class=\"fa-light fa-trash\"></i>\n </ax-button>\n </div>\n </div>\n }\n </section>\n\n <section class=\"axm-workflow-definition-activities__editor\" aria-label=\"Activity editor\">\n @if (activities().length > 0) {\n <div class=\"axm-workflow-definition-activities__start\">\n <span class=\"axm-workflow-definition-activities__field-label\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.start-activity'\n | translate\n | async) ?? ''\n }}\n </span>\n <ax-select-box\n class=\"axm-workflow-definition-activities__select\"\n [ngModel]=\"startActivityId()\"\n [dataSource]=\"startActivityItems()\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"onStartActivityChange($event)\"\n ></ax-select-box>\n </div>\n }\n\n @if (selectedRow(); as row) {\n @if (row.name.trim() !== '') {\n <div class=\"axm-workflow-definition-activities__connections\">\n <h3 class=\"axm-workflow-definition-activities__section-title\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.connections.title'\n | translate\n | async) ?? ''\n }}\n </h3>\n <p class=\"axm-workflow-definition-activities__section-hint\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.connections.hint'\n | translate\n | async) ?? ''\n }}\n </p>\n @for (outcome of selectedActivityOutcomeRows(); track outcome.port) {\n <div class=\"axm-workflow-definition-activities__connection-row\">\n <span class=\"axm-workflow-definition-activities__outcome\">{{ outcome.label }}</span>\n <ax-select-box\n class=\"axm-workflow-definition-activities__select axm-workflow-definition-activities__connection-target\"\n [ngModel]=\"connectionSelectValue(row.id, outcome.port)\"\n [dataSource]=\"connectionTargetsFor(row.id)\"\n valueField=\"value\"\n textField=\"text\"\n [placeholder]=\"\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.connection-target-placeholder'\n | translate\n | async) ?? ''\n \"\n (onValueChanged)=\"onOutgoingConnectionChange(row.id, outcome.port, $event)\"\n ></ax-select-box>\n </div>\n }\n </div>\n }\n\n @if (viewerTabs().length > 0) {\n <div class=\"axm-workflow-definition-activities__inputs\">\n <h3 class=\"axm-workflow-definition-activities__section-title\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.inputs.title'\n | translate\n | async) ?? ''\n }}\n </h3>\n <axp-property-viewer\n [tabsInput]=\"viewerTabs()\"\n mode=\"advanced\"\n (onChanged)=\"onViewerChanged($event)\"\n ></axp-property-viewer>\n </div>\n } @else if (row.name.trim() === '') {\n <p class=\"axm-workflow-definition-activities__hint\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.editor-placeholder'\n | translate\n | async) ?? ''\n }}\n </p>\n }\n } @else if (activities().length > 0) {\n <p class=\"axm-workflow-definition-activities__hint\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.select-step'\n | translate\n | async) ?? ''\n }}\n </p>\n }\n </section>\n </div>\n</div>\n", styles: [".axm-workflow-definition-activities{display:flex;flex-direction:column;gap:1rem;min-height:280px}.axm-workflow-definition-activities__columns{display:grid;grid-template-columns:minmax(260px,1fr) minmax(340px,2fr);gap:1.25rem;align-items:start}@media(max-width:960px){.axm-workflow-definition-activities__columns{grid-template-columns:1fr}.axm-workflow-definition-activities__editor{position:static;max-height:none}}.axm-workflow-definition-activities__list{display:flex;flex-direction:column;gap:.5rem;max-height:calc(100vh - 220px);overflow-y:auto;padding-inline-end:4px}.axm-workflow-definition-activities__row{display:flex;flex-direction:row;align-items:flex-start;gap:.5rem;padding:.65rem .75rem;border-radius:var(--ax-radius-md, 6px);border:1px solid var(--ax-border-color, rgba(0, 0, 0, .08));background:var(--ax-surface-color, #fff);cursor:pointer;flex-shrink:0}.axm-workflow-definition-activities__row--selected{border-color:var(--ax-primary-color, #2563eb);box-shadow:0 0 0 1px var(--ax-primary-color, #2563eb)}.axm-workflow-definition-activities__row-main{flex:1;min-width:0}.axm-workflow-definition-activities__select{width:100%}.axm-workflow-definition-activities__row-actions{display:flex;flex-wrap:wrap;gap:.25rem;flex-shrink:0}.axm-workflow-definition-activities__editor{position:sticky;top:.75rem;align-self:start;max-height:calc(100vh - 220px);overflow-y:auto;padding:.75rem;border-radius:var(--ax-radius-md, 6px);border:1px solid var(--ax-border-color, rgba(0, 0, 0, .08));background:var(--ax-surface-color, #fff);box-shadow:0 1px 2px #0000000a}.axm-workflow-definition-activities__start{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--ax-border-color, rgba(0, 0, 0, .08))}.axm-workflow-definition-activities__field-label{font-size:.8125rem;font-weight:600;color:var(--ax-text-secondary-color, #64748b)}.axm-workflow-definition-activities__connections{margin-bottom:1.25rem}.axm-workflow-definition-activities__inputs{margin-top:.25rem}.axm-workflow-definition-activities__section-title{margin:0 0 .35rem;font-size:1rem;font-weight:600}.axm-workflow-definition-activities__section-hint{margin:0 0 .75rem;font-size:.8125rem;color:var(--ax-text-secondary-color, #64748b)}.axm-workflow-definition-activities__connection-row{display:grid;grid-template-columns:minmax(72px,.35fr) 1fr;gap:.5rem .75rem;align-items:center;margin-bottom:.5rem}@media(max-width:520px){.axm-workflow-definition-activities__connection-row{grid-template-columns:1fr}}.axm-workflow-definition-activities__outcome{font-size:.8125rem;font-weight:600;color:var(--ax-text-color, #1e293b);word-break:break-word}.axm-workflow-definition-activities__connection-target{min-width:0}.axm-workflow-definition-activities__empty,.axm-workflow-definition-activities__hint{margin:0;color:var(--ax-text-secondary-color, #64748b);font-size:.9375rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: AXButtonModule }, { kind: "component", type: i2.AXButtonComponent, selector: "ax-button", inputs: ["disabled", "size", "tabIndex", "color", "look", "text", "toggleable", "selected", "iconOnly", "type", "loadingText"], outputs: ["onBlur", "onFocus", "onClick", "selectedChange", "toggleableChange", "lookChange", "colorChange", "disabledChange", "loadingTextChange"] }, { kind: "ngmodule", type: AXDecoratorModule }, { kind: "component", type: i3.AXDecoratorClearButtonComponent, selector: "ax-clear-button", inputs: ["icon"] }, { kind: "ngmodule", type: AXSelectBoxModule }, { kind: "component", type: i3$1.AXSelectBoxComponent, selector: "ax-select-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "minValue", "maxValue", "value", "state", "name", "id", "type", "look", "multiple", "valueField", "textField", "disabledField", "textTemplate", "selectedItems", "isItemTruncated", "showItemTooltip", "itemHeight", "maxVisibleItems", "dataSource", "minRecordsForSearch", "caption", "itemTemplate", "selectedTemplate", "emptyTemplate", "loadingTemplate", "dropdownWidth", "searchBoxAutoFocus"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onOpened", "onClosed", "onItemSelected", "onItemClick"] }, { kind: "ngmodule", type: AXSearchBoxModule }, { kind: "component", type: i5.AXSearchBoxComponent, selector: "ax-search-box", inputs: ["disabled", "readonly", "tabIndex", "placeholder", "value", "state", "name", "id", "look", "class", "delayTime", "type", "autoSearch"], outputs: ["valueChange", "stateChange", "onValueChanged", "onBlur", "onFocus", "readonlyChange", "disabledChange", "onKeyDown", "onKeyUp", "onKeyPress"] }, { kind: "ngmodule", type: AXFormModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "component", type: AXPPropertyViewerComponent, selector: "axp-property-viewer", inputs: ["tabsInput", "mode", "bindingExpressionEditorMode"], outputs: ["onChanged"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }, { kind: "pipe", type: i5$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
682
|
+
}
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkflowDefinitionActivitiesPageComponent, decorators: [{
|
|
684
|
+
type: Component,
|
|
685
|
+
args: [{ selector: 'axm-workflow-definition-activities-page', standalone: true, imports: [
|
|
686
|
+
CommonModule,
|
|
687
|
+
FormsModule,
|
|
688
|
+
AXButtonModule,
|
|
689
|
+
AXDecoratorModule,
|
|
690
|
+
AXSelectBoxModule,
|
|
691
|
+
AXSearchBoxModule,
|
|
692
|
+
AXFormModule,
|
|
693
|
+
AXTranslationModule,
|
|
694
|
+
AXPPropertyViewerComponent,
|
|
695
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
696
|
+
{
|
|
697
|
+
provide: AXPPageLayoutBase,
|
|
698
|
+
useExisting: AXMWorkflowDefinitionActivitiesPageComponent,
|
|
699
|
+
},
|
|
700
|
+
], template: "<div class=\"axm-workflow-definition-activities\">\n <div class=\"axm-workflow-definition-activities__columns\">\n <section class=\"axm-workflow-definition-activities__list\" aria-label=\"Activity steps\">\n @if (activities().length === 0) {\n <p class=\"axm-workflow-definition-activities__empty\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.empty'\n | translate\n | async) ?? ''\n }}\n </p>\n }\n @for (row of activities(); track row.id) {\n <div\n class=\"axm-workflow-definition-activities__row\"\n [class.axm-workflow-definition-activities__row--selected]=\"selectedRowId() === row.id\"\n (click)=\"selectRow(row.id)\"\n >\n <div class=\"axm-workflow-definition-activities__row-main\">\n <ax-select-box\n class=\"axm-workflow-definition-activities__select\"\n [ngModel]=\"row.name\"\n [dataSource]=\"activitySelectOptions()\"\n valueField=\"value\"\n textField=\"text\"\n [placeholder]=\"\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.select-activity'\n | translate\n | async) ?? ''\n \"\n (onValueChanged)=\"onActivityTypeChange(row.id, $event)\"\n >\n <ax-search-box></ax-search-box>\n <ax-clear-button></ax-clear-button>\n </ax-select-box>\n </div>\n <div class=\"axm-workflow-definition-activities__row-actions\" (click)=\"$event.stopPropagation()\">\n <ax-button\n class=\"ax-flat\"\n color=\"danger\"\n [attr.aria-label]=\"('@general:actions.delete.title' | translate | async) ?? ''\"\n (onClick)=\"removeStep(row.id)\"\n >\n <i class=\"fa-light fa-trash\"></i>\n </ax-button>\n </div>\n </div>\n }\n </section>\n\n <section class=\"axm-workflow-definition-activities__editor\" aria-label=\"Activity editor\">\n @if (activities().length > 0) {\n <div class=\"axm-workflow-definition-activities__start\">\n <span class=\"axm-workflow-definition-activities__field-label\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.start-activity'\n | translate\n | async) ?? ''\n }}\n </span>\n <ax-select-box\n class=\"axm-workflow-definition-activities__select\"\n [ngModel]=\"startActivityId()\"\n [dataSource]=\"startActivityItems()\"\n valueField=\"value\"\n textField=\"text\"\n (onValueChanged)=\"onStartActivityChange($event)\"\n ></ax-select-box>\n </div>\n }\n\n @if (selectedRow(); as row) {\n @if (row.name.trim() !== '') {\n <div class=\"axm-workflow-definition-activities__connections\">\n <h3 class=\"axm-workflow-definition-activities__section-title\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.connections.title'\n | translate\n | async) ?? ''\n }}\n </h3>\n <p class=\"axm-workflow-definition-activities__section-hint\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.connections.hint'\n | translate\n | async) ?? ''\n }}\n </p>\n @for (outcome of selectedActivityOutcomeRows(); track outcome.port) {\n <div class=\"axm-workflow-definition-activities__connection-row\">\n <span class=\"axm-workflow-definition-activities__outcome\">{{ outcome.label }}</span>\n <ax-select-box\n class=\"axm-workflow-definition-activities__select axm-workflow-definition-activities__connection-target\"\n [ngModel]=\"connectionSelectValue(row.id, outcome.port)\"\n [dataSource]=\"connectionTargetsFor(row.id)\"\n valueField=\"value\"\n textField=\"text\"\n [placeholder]=\"\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.connection-target-placeholder'\n | translate\n | async) ?? ''\n \"\n (onValueChanged)=\"onOutgoingConnectionChange(row.id, outcome.port, $event)\"\n ></ax-select-box>\n </div>\n }\n </div>\n }\n\n @if (viewerTabs().length > 0) {\n <div class=\"axm-workflow-definition-activities__inputs\">\n <h3 class=\"axm-workflow-definition-activities__section-title\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.inputs.title'\n | translate\n | async) ?? ''\n }}\n </h3>\n <axp-property-viewer\n [tabsInput]=\"viewerTabs()\"\n mode=\"advanced\"\n (onChanged)=\"onViewerChanged($event)\"\n ></axp-property-viewer>\n </div>\n } @else if (row.name.trim() === '') {\n <p class=\"axm-workflow-definition-activities__hint\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.editor-placeholder'\n | translate\n | async) ?? ''\n }}\n </p>\n }\n } @else if (activities().length > 0) {\n <p class=\"axm-workflow-definition-activities__hint\">\n {{\n ('@workflow-management:workflow-definitions.entities.workflow-definition.pages.activities.select-step'\n | translate\n | async) ?? ''\n }}\n </p>\n }\n </section>\n </div>\n</div>\n", styles: [".axm-workflow-definition-activities{display:flex;flex-direction:column;gap:1rem;min-height:280px}.axm-workflow-definition-activities__columns{display:grid;grid-template-columns:minmax(260px,1fr) minmax(340px,2fr);gap:1.25rem;align-items:start}@media(max-width:960px){.axm-workflow-definition-activities__columns{grid-template-columns:1fr}.axm-workflow-definition-activities__editor{position:static;max-height:none}}.axm-workflow-definition-activities__list{display:flex;flex-direction:column;gap:.5rem;max-height:calc(100vh - 220px);overflow-y:auto;padding-inline-end:4px}.axm-workflow-definition-activities__row{display:flex;flex-direction:row;align-items:flex-start;gap:.5rem;padding:.65rem .75rem;border-radius:var(--ax-radius-md, 6px);border:1px solid var(--ax-border-color, rgba(0, 0, 0, .08));background:var(--ax-surface-color, #fff);cursor:pointer;flex-shrink:0}.axm-workflow-definition-activities__row--selected{border-color:var(--ax-primary-color, #2563eb);box-shadow:0 0 0 1px var(--ax-primary-color, #2563eb)}.axm-workflow-definition-activities__row-main{flex:1;min-width:0}.axm-workflow-definition-activities__select{width:100%}.axm-workflow-definition-activities__row-actions{display:flex;flex-wrap:wrap;gap:.25rem;flex-shrink:0}.axm-workflow-definition-activities__editor{position:sticky;top:.75rem;align-self:start;max-height:calc(100vh - 220px);overflow-y:auto;padding:.75rem;border-radius:var(--ax-radius-md, 6px);border:1px solid var(--ax-border-color, rgba(0, 0, 0, .08));background:var(--ax-surface-color, #fff);box-shadow:0 1px 2px #0000000a}.axm-workflow-definition-activities__start{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--ax-border-color, rgba(0, 0, 0, .08))}.axm-workflow-definition-activities__field-label{font-size:.8125rem;font-weight:600;color:var(--ax-text-secondary-color, #64748b)}.axm-workflow-definition-activities__connections{margin-bottom:1.25rem}.axm-workflow-definition-activities__inputs{margin-top:.25rem}.axm-workflow-definition-activities__section-title{margin:0 0 .35rem;font-size:1rem;font-weight:600}.axm-workflow-definition-activities__section-hint{margin:0 0 .75rem;font-size:.8125rem;color:var(--ax-text-secondary-color, #64748b)}.axm-workflow-definition-activities__connection-row{display:grid;grid-template-columns:minmax(72px,.35fr) 1fr;gap:.5rem .75rem;align-items:center;margin-bottom:.5rem}@media(max-width:520px){.axm-workflow-definition-activities__connection-row{grid-template-columns:1fr}}.axm-workflow-definition-activities__outcome{font-size:.8125rem;font-weight:600;color:var(--ax-text-color, #1e293b);word-break:break-word}.axm-workflow-definition-activities__connection-target{min-width:0}.axm-workflow-definition-activities__empty,.axm-workflow-definition-activities__hint{margin:0;color:var(--ax-text-secondary-color, #64748b);font-size:.9375rem}\n"] }]
|
|
701
|
+
}], ctorParameters: () => [], propDecorators: { rootContext: [{ type: i0.Input, args: [{ isSignal: true, alias: "rootContext", required: false }] }], pageConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageConfig", required: false }] }], propertyViewerRef: [{ type: i0.ViewChild, args: [i0.forwardRef(() => AXPPropertyViewerComponent), { isSignal: true }] }] } });
|
|
702
|
+
|
|
703
|
+
var workflowDefinitionActivitiesPage_component = /*#__PURE__*/Object.freeze({
|
|
704
|
+
__proto__: null,
|
|
705
|
+
AXMWorkflowDefinitionActivitiesPageComponent: AXMWorkflowDefinitionActivitiesPageComponent
|
|
706
|
+
});
|
|
707
|
+
|
|
708
|
+
//#region ---- Workflow Definition Activities Page Provider ----
|
|
709
|
+
class AXMWorkflowDefinitionActivitiesPageComponentProvider {
|
|
710
|
+
async components() {
|
|
711
|
+
return [
|
|
712
|
+
{
|
|
713
|
+
key: WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY,
|
|
714
|
+
loader: () => Promise.resolve().then(function () { return workflowDefinitionActivitiesPage_component; }).then((m) => m.AXMWorkflowDefinitionActivitiesPageComponent),
|
|
715
|
+
},
|
|
716
|
+
];
|
|
717
|
+
}
|
|
718
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkflowDefinitionActivitiesPageComponentProvider, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
719
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkflowDefinitionActivitiesPageComponentProvider }); }
|
|
720
|
+
}
|
|
721
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: AXMWorkflowDefinitionActivitiesPageComponentProvider, decorators: [{
|
|
722
|
+
type: Injectable
|
|
723
|
+
}] });
|
|
724
|
+
|
|
725
|
+
export { AXMWorkflowDefinitionActivitiesPageComponent, AXMWorkflowDefinitionActivitiesPageComponentProvider, WORKFLOW_DEFINITION_ACTIVITIES_PAGE_COMPONENT_KEY };
|
|
726
|
+
//# sourceMappingURL=acorex-modules-workflow-management-index-D8fjNgQJ.mjs.map
|