verben-workflow-ui 0.6.6 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/public-api.mjs +43 -0
- package/esm2022/src/lib/base/core/base-data-page.facade.mjs +412 -0
- package/esm2022/src/lib/base/core/base-data-page.service.mjs +140 -0
- package/esm2022/src/lib/base/core/base-data-page.state.mjs +216 -0
- package/esm2022/src/lib/base/handlers/filter-handler.service.mjs +138 -0
- package/esm2022/src/lib/base/handlers/search-handler.service.mjs +31 -0
- package/esm2022/src/lib/base/handlers/sort-handler.service.mjs +73 -0
- package/esm2022/src/lib/base/index.mjs +2 -0
- package/esm2022/src/lib/base/models/api-payload.mjs +7 -0
- package/esm2022/src/lib/base/models/page-config.interface.mjs +2 -0
- package/esm2022/src/lib/base/models/page-filter-tab-option.interface.mjs +2 -0
- package/esm2022/src/lib/base/public-api.mjs +14 -0
- package/esm2022/src/lib/base/utils/column-helpers.mjs +55 -0
- package/esm2022/src/lib/base/verben-workflow-ui-src-lib-base.mjs +5 -0
- package/esm2022/src/lib/components/actors/actors.columns.mjs +39 -0
- package/esm2022/src/lib/components/actors/actors.component.mjs +175 -0
- package/esm2022/src/lib/components/actors/actors.config.mjs +49 -0
- package/esm2022/src/lib/components/actors/actors.facade.mjs +57 -0
- package/esm2022/src/lib/components/actors/actors.form.component.mjs +74 -0
- package/esm2022/src/lib/components/actors/actors.module.mjs +21 -0
- package/esm2022/src/lib/components/actors/actors.service.mjs +65 -0
- package/esm2022/src/lib/components/actors/actors.state.mjs +31 -0
- package/esm2022/src/lib/components/actors/index.mjs +2 -0
- package/esm2022/src/lib/components/actors/public-api.mjs +3 -0
- package/esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs +5 -0
- package/esm2022/src/lib/components/designer/components/label-editor.component.mjs +148 -0
- package/esm2022/src/lib/components/designer/components/node-selector.component.mjs +317 -0
- package/esm2022/src/lib/components/designer/components/swimlane-label.component.mjs +161 -0
- package/esm2022/src/lib/components/designer/components/swimlane-popup.component.mjs +85 -0
- package/esm2022/src/lib/components/designer/components/wf-canvas.component.mjs +715 -0
- package/esm2022/src/lib/components/designer/components/wf-designer.component.mjs +135 -0
- package/esm2022/src/lib/components/designer/components/wf-toolbar.component.mjs +56 -0
- package/esm2022/src/lib/components/designer/index.mjs +2 -0
- package/esm2022/src/lib/components/designer/models/types.mjs +2 -0
- package/esm2022/src/lib/components/designer/public-api.mjs +3 -0
- package/esm2022/src/lib/components/designer/services/canvas-state.service.mjs +50 -0
- package/esm2022/src/lib/components/designer/services/connection-segment-interaction.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/services/connection.service.mjs +267 -0
- package/esm2022/src/lib/components/designer/services/keyboard-handler.service.mjs +43 -0
- package/esm2022/src/lib/components/designer/services/label-management.service.mjs +66 -0
- package/esm2022/src/lib/components/designer/services/node-finder.service.mjs +30 -0
- package/esm2022/src/lib/components/designer/services/node-interaction.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/services/node-precondition.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/services/node-selection.service.mjs +96 -0
- package/esm2022/src/lib/components/designer/services/orthogonal-router.service.mjs +167 -0
- package/esm2022/src/lib/components/designer/services/position-update.service.mjs +45 -0
- package/esm2022/src/lib/components/designer/services/rendering.service.mjs +236 -0
- package/esm2022/src/lib/components/designer/services/swimlane-management.service.mjs +145 -0
- package/esm2022/src/lib/components/designer/services/swimlane-stats.service.mjs +44 -0
- package/esm2022/src/lib/components/designer/services/viewport.service.mjs +30 -0
- package/esm2022/src/lib/components/designer/services/wf-facade.service.mjs +239 -0
- package/esm2022/src/lib/components/designer/services/wf-mapper.service.mjs +326 -0
- package/esm2022/src/lib/components/designer/services/wf-persistence.service.mjs +169 -0
- package/esm2022/src/lib/components/designer/services/wf-state.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs +5 -0
- package/esm2022/src/lib/components/expiration/expiration.component.mjs +49 -0
- package/esm2022/src/lib/components/expiration/expiration.module.mjs +19 -0
- package/esm2022/src/lib/components/expiration/index.mjs +2 -0
- package/esm2022/src/lib/components/expiration/public-api.mjs +3 -0
- package/esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs +5 -0
- package/esm2022/src/lib/components/file-render/file-render.component.mjs +45 -0
- package/esm2022/src/lib/components/file-render/file-render.module.mjs +35 -0
- package/esm2022/src/lib/components/file-render/index.mjs +2 -0
- package/esm2022/src/lib/components/file-render/public-api.mjs +3 -0
- package/esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs +5 -0
- package/esm2022/src/lib/components/file-upload/file-upload.component.mjs +93 -0
- package/esm2022/src/lib/components/file-upload/file-upload.module.mjs +63 -0
- package/esm2022/src/lib/components/file-upload/index.mjs +2 -0
- package/esm2022/src/lib/components/file-upload/public-api.mjs +3 -0
- package/esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs +5 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.columns.mjs +21 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +203 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.config.mjs +47 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.facade.mjs +60 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.form.component.mjs +52 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.module.mjs +21 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.service.mjs +35 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.state.mjs +15 -0
- package/esm2022/src/lib/components/flowable-status/index.mjs +2 -0
- package/esm2022/src/lib/components/flowable-status/public-api.mjs +3 -0
- package/esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs +5 -0
- package/esm2022/src/lib/components/form-control/form-control.component.mjs +180 -0
- package/esm2022/src/lib/components/form-control/form-control.module.mjs +75 -0
- package/esm2022/src/lib/components/form-control/index.mjs +2 -0
- package/esm2022/src/lib/components/form-control/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs +5 -0
- package/esm2022/src/lib/components/form-group/base-table-style.mjs +53 -0
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.component.mjs +952 -0
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.module.mjs +75 -0
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.service.mjs +73 -0
- package/esm2022/src/lib/components/form-group/form-group.component.mjs +698 -0
- package/esm2022/src/lib/components/form-group/form-group.module.mjs +85 -0
- package/esm2022/src/lib/components/form-group/form-group.service.mjs +56 -0
- package/esm2022/src/lib/components/form-group/index.mjs +2 -0
- package/esm2022/src/lib/components/form-group/public-api.mjs +5 -0
- package/esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs +5 -0
- package/esm2022/src/lib/components/form-response/form-response.component.mjs +638 -0
- package/esm2022/src/lib/components/form-response/form-response.module.mjs +76 -0
- package/esm2022/src/lib/components/form-response/form-response.service.mjs +54 -0
- package/esm2022/src/lib/components/form-response/index.mjs +2 -0
- package/esm2022/src/lib/components/form-response/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs +5 -0
- package/esm2022/src/lib/components/form-timer/form-timer.component.mjs +47 -0
- package/esm2022/src/lib/components/form-timer/form-timer.module.mjs +28 -0
- package/esm2022/src/lib/components/form-timer/index.mjs +2 -0
- package/esm2022/src/lib/components/form-timer/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs +5 -0
- package/esm2022/src/lib/components/form-values/form-values.component.mjs +1157 -0
- package/esm2022/src/lib/components/form-values/form-values.module.mjs +20 -0
- package/esm2022/src/lib/components/form-values/form-values.service.mjs +48 -0
- package/esm2022/src/lib/components/form-values/index.mjs +2 -0
- package/esm2022/src/lib/components/form-values/public-api.mjs +4 -0
- package/esm2022/src/lib/components/form-values/verben-workflow-ui-src-lib-components-form-values.mjs +5 -0
- package/esm2022/src/lib/components/form-viewer/form-viewer.component.mjs +38 -0
- package/esm2022/src/lib/components/form-viewer/form-viewer.module.mjs +78 -0
- package/esm2022/src/lib/components/form-viewer/index.mjs +2 -0
- package/esm2022/src/lib/components/form-viewer/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-viewer/verben-workflow-ui-src-lib-components-form-viewer.mjs +5 -0
- package/esm2022/src/lib/components/forms/base-table-style.mjs +53 -0
- package/esm2022/src/lib/components/forms/forms.component.mjs +676 -0
- package/esm2022/src/lib/components/forms/forms.module.mjs +18 -0
- package/esm2022/src/lib/components/forms/forms.service.mjs +68 -0
- package/esm2022/src/lib/components/forms/index.mjs +2 -0
- package/esm2022/src/lib/components/forms/public-api.mjs +3 -0
- package/esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs +5 -0
- package/esm2022/src/lib/components/journal/index.mjs +2 -0
- package/esm2022/src/lib/components/journal/journal.component.mjs +11 -0
- package/esm2022/src/lib/components/journal/journal.module.mjs +18 -0
- package/esm2022/src/lib/components/journal/public-api.mjs +3 -0
- package/esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs +5 -0
- package/esm2022/src/lib/components/my-queue/index.mjs +2 -0
- package/esm2022/src/lib/components/my-queue/my-queue.columns.mjs +34 -0
- package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +342 -0
- package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +502 -0
- package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +47 -0
- package/esm2022/src/lib/components/my-queue/my-queue.service.mjs +144 -0
- package/esm2022/src/lib/components/my-queue/my-queue.state.mjs +108 -0
- package/esm2022/src/lib/components/my-queue/public-api.mjs +4 -0
- package/esm2022/src/lib/components/my-queue/tasks.form.component.mjs +191 -0
- package/esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs +5 -0
- package/esm2022/src/lib/components/operation-popup/index.mjs +2 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.component.mjs +382 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.facade.mjs +345 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +82 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.state.mjs +44 -0
- package/esm2022/src/lib/components/operation-popup/public-api.mjs +3 -0
- package/esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs +5 -0
- package/esm2022/src/lib/components/stage-details/index.mjs +2 -0
- package/esm2022/src/lib/components/stage-details/public-api.mjs +3 -0
- package/esm2022/src/lib/components/stage-details/stage-details.component.mjs +49 -0
- package/esm2022/src/lib/components/stage-details/stage-details.module.mjs +19 -0
- package/esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs +5 -0
- package/esm2022/src/lib/components/task-form/index.mjs +2 -0
- package/esm2022/src/lib/components/task-form/public-api.mjs +3 -0
- package/esm2022/src/lib/components/task-form/task-form.component.mjs +18 -0
- package/esm2022/src/lib/components/task-form/task-form.module.mjs +72 -0
- package/esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs +5 -0
- package/esm2022/src/lib/components/task-history/index.mjs +2 -0
- package/esm2022/src/lib/components/task-history/public-api.mjs +3 -0
- package/esm2022/src/lib/components/task-history/task-history.component.mjs +249 -0
- package/esm2022/src/lib/components/task-history/task-history.module.mjs +21 -0
- package/esm2022/src/lib/components/task-history/task-history.service.mjs +32 -0
- package/esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs +5 -0
- package/esm2022/src/lib/components/task-notification/base-table-style.mjs +53 -0
- package/esm2022/src/lib/components/task-notification/index.mjs +2 -0
- package/esm2022/src/lib/components/task-notification/public-api.mjs +3 -0
- package/esm2022/src/lib/components/task-notification/task-notification.component.mjs +670 -0
- package/esm2022/src/lib/components/task-notification/task-notification.module.mjs +18 -0
- package/esm2022/src/lib/components/task-notification/task-notification.service.mjs +256 -0
- package/esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs +5 -0
- package/esm2022/src/lib/components/tasks/index.mjs +2 -0
- package/esm2022/src/lib/components/tasks/public-api.mjs +6 -0
- package/esm2022/src/lib/components/tasks/tasks.columns.mjs +48 -0
- package/esm2022/src/lib/components/tasks/tasks.component.mjs +194 -0
- package/esm2022/src/lib/components/tasks/tasks.facade.mjs +372 -0
- package/esm2022/src/lib/components/tasks/tasks.form.component.mjs +164 -0
- package/esm2022/src/lib/components/tasks/tasks.models.mjs +4 -0
- package/esm2022/src/lib/components/tasks/tasks.module.mjs +52 -0
- package/esm2022/src/lib/components/tasks/tasks.service.mjs +137 -0
- package/esm2022/src/lib/components/tasks/tasks.state.mjs +108 -0
- package/esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs +5 -0
- package/esm2022/src/lib/components/wf/index.mjs +2 -0
- package/esm2022/src/lib/components/wf/public-api.mjs +4 -0
- package/esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs +5 -0
- package/esm2022/src/lib/components/wf/wf.columns.mjs +34 -0
- package/esm2022/src/lib/components/wf/wf.component.mjs +68 -0
- package/esm2022/src/lib/components/wf/wf.module.mjs +22 -0
- package/esm2022/src/lib/components/wf/wf.service.mjs +82 -0
- package/esm2022/src/lib/components/workflow/column.mjs +38 -0
- package/esm2022/src/lib/components/workflow/helper.mjs +47 -0
- package/esm2022/src/lib/components/workflow/index.mjs +2 -0
- package/esm2022/src/lib/components/workflow/public-api.mjs +4 -0
- package/esm2022/src/lib/components/workflow/table-style.mjs +53 -0
- package/esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs +5 -0
- package/esm2022/src/lib/components/workflow/workflow.component.mjs +210 -0
- package/esm2022/src/lib/components/workflow/workflow.module.mjs +19 -0
- package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +127 -0
- package/esm2022/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.mjs +78 -0
- package/esm2022/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.mjs +87 -0
- package/esm2022/src/lib/components/workflow-designer/decision-popup/decision-popup.component.mjs +84 -0
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +1270 -0
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.mjs +96 -0
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.mjs +2 -0
- package/esm2022/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.mjs +260 -0
- package/esm2022/src/lib/components/workflow-designer/index.mjs +2 -0
- package/esm2022/src/lib/components/workflow-designer/public-api.mjs +5 -0
- package/esm2022/src/lib/components/workflow-designer/services/connection.service.mjs +238 -0
- package/esm2022/src/lib/components/workflow-designer/services/node-management.service.mjs +321 -0
- package/esm2022/src/lib/components/workflow-designer/services/popup.service.mjs +240 -0
- package/esm2022/src/lib/components/workflow-designer/services/swimlane.service.mjs +158 -0
- package/esm2022/src/lib/components/workflow-designer/services/transformer.service.mjs +280 -0
- package/esm2022/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.mjs +177 -0
- package/esm2022/src/lib/components/workflow-designer/stage-node/stage-node.component.mjs +226 -0
- package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +137 -0
- package/esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs +5 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +210 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +460 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.module.mjs +129 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +928 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.types.mjs +2 -0
- package/esm2022/src/lib/components/workflow-stage/index.mjs +2 -0
- package/esm2022/src/lib/components/workflow-stage/public-api.mjs +3 -0
- package/esm2022/src/lib/components/workflow-stage/verben-workflow-ui-src-lib-components-workflow-stage.mjs +5 -0
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.component.mjs +331 -0
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.module.mjs +82 -0
- package/esm2022/src/lib/components/workflows/index.mjs +2 -0
- package/esm2022/src/lib/components/workflows/public-api.mjs +7 -0
- package/esm2022/src/lib/components/workflows/verben-workflow-ui-src-lib-components-workflows.mjs +5 -0
- package/esm2022/src/lib/components/workflows/workflow-form/workflow-form.component.mjs +89 -0
- package/esm2022/src/lib/components/workflows/workflows.api.mjs +63 -0
- package/esm2022/src/lib/components/workflows/workflows.columns.mjs +39 -0
- package/esm2022/src/lib/components/workflows/workflows.component.mjs +236 -0
- package/esm2022/src/lib/components/workflows/workflows.config.mjs +51 -0
- package/esm2022/src/lib/components/workflows/workflows.facade.mjs +114 -0
- package/esm2022/src/lib/components/workflows/workflows.module.mjs +21 -0
- package/esm2022/src/lib/components/workflows/workflows.service.mjs +63 -0
- package/esm2022/src/lib/components/workflows/workflows.state.mjs +23 -0
- package/esm2022/src/lib/models/ActionHistory.mjs +2 -0
- package/esm2022/src/lib/models/ActionType.mjs +11 -0
- package/esm2022/src/lib/models/Actor.mjs +2 -0
- package/esm2022/src/lib/models/ActorTag.mjs +2 -0
- package/esm2022/src/lib/models/Coord.mjs +2 -0
- package/esm2022/src/lib/models/DataExtensionValue.mjs +2 -0
- package/esm2022/src/lib/models/DataType.mjs +27 -0
- package/esm2022/src/lib/models/EAVDataType.mjs +20 -0
- package/esm2022/src/lib/models/EAVEntity.mjs +2 -0
- package/esm2022/src/lib/models/EntityDataValue.mjs +2 -0
- package/esm2022/src/lib/models/EntityProperty.mjs +2 -0
- package/esm2022/src/lib/models/ErrorResponse.mjs +11 -0
- package/esm2022/src/lib/models/Escalation.mjs +2 -0
- package/esm2022/src/lib/models/EscalationCycle.mjs +2 -0
- package/esm2022/src/lib/models/EscalationStage.mjs +2 -0
- package/esm2022/src/lib/models/EscalationType.mjs +7 -0
- package/esm2022/src/lib/models/File.mjs +2 -0
- package/esm2022/src/lib/models/FilterTypes.mjs +9 -0
- package/esm2022/src/lib/models/FlowableStatus.mjs +2 -0
- package/esm2022/src/lib/models/Form.mjs +2 -0
- package/esm2022/src/lib/models/FormEntity.mjs +2 -0
- package/esm2022/src/lib/models/FormFill.mjs +6 -0
- package/esm2022/src/lib/models/FormProperty.mjs +2 -0
- package/esm2022/src/lib/models/FormValue.mjs +6 -0
- package/esm2022/src/lib/models/MailConfig.mjs +2 -0
- package/esm2022/src/lib/models/MessageConfig.mjs +2 -0
- package/esm2022/src/lib/models/MessageMedium.mjs +6 -0
- package/esm2022/src/lib/models/OperationAction.mjs +2 -0
- package/esm2022/src/lib/models/PagedResult.mjs +2 -0
- package/esm2022/src/lib/models/PeriodMode.mjs +12 -0
- package/esm2022/src/lib/models/PermissionConfig.mjs +2 -0
- package/esm2022/src/lib/models/Property.mjs +2 -0
- package/esm2022/src/lib/models/ReportSchedule.mjs +2 -0
- package/esm2022/src/lib/models/ReportType.mjs +7 -0
- package/esm2022/src/lib/models/Resource.mjs +47 -0
- package/esm2022/src/lib/models/ResponseKeyValue.mjs +2 -0
- package/esm2022/src/lib/models/SMSConfig.mjs +2 -0
- package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +2 -0
- package/esm2022/src/lib/models/SearchOperator.mjs +6 -0
- package/esm2022/src/lib/models/SearchPropertySign.mjs +11 -0
- package/esm2022/src/lib/models/SearchPropertyValue.mjs +2 -0
- package/esm2022/src/lib/models/SearchPropertyValueType.mjs +11 -0
- package/esm2022/src/lib/models/Size.mjs +2 -0
- package/esm2022/src/lib/models/SortDirection.mjs +7 -0
- package/esm2022/src/lib/models/StageActorRule.mjs +8 -0
- package/esm2022/src/lib/models/SwimLane.mjs +2 -0
- package/esm2022/src/lib/models/Tag.mjs +2 -0
- package/esm2022/src/lib/models/Task.mjs +2 -0
- package/esm2022/src/lib/models/TaskAssignmentType.mjs +6 -0
- package/esm2022/src/lib/models/TaskNotification.mjs +2 -0
- package/esm2022/src/lib/models/TaskNotificationMessageType.mjs +6 -0
- package/esm2022/src/lib/models/TaskNotificationType.mjs +9 -0
- package/esm2022/src/lib/models/TaskStatus.mjs +9 -0
- package/esm2022/src/lib/models/Workflow.mjs +2 -0
- package/esm2022/src/lib/models/WorkflowAction.mjs +2 -0
- package/esm2022/src/lib/models/WorkflowOperation.mjs +2 -0
- package/esm2022/src/lib/models/WorkflowStage.mjs +2 -0
- package/esm2022/src/lib/models/actors.mjs +2 -0
- package/esm2022/src/lib/models/auth-mechanism.mjs +8 -0
- package/esm2022/src/lib/models/base.mjs +2 -0
- package/esm2022/src/lib/models/index.mjs +2 -0
- package/esm2022/src/lib/models/object-state.mjs +8 -0
- package/esm2022/src/lib/models/operation-type.mjs +7 -0
- package/esm2022/src/lib/models/paged.mjs +2 -0
- package/esm2022/src/lib/models/public-api.mjs +66 -0
- package/esm2022/src/lib/models/query-params.mjs +2 -0
- package/esm2022/src/lib/models/status.mjs +6 -0
- package/esm2022/src/lib/models/task-history.mjs +2 -0
- package/esm2022/src/lib/models/user-access-request-status.mjs +7 -0
- package/esm2022/src/lib/models/user.mjs +2 -0
- package/esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs +5 -0
- package/esm2022/src/lib/pipes/async-label.pipe.mjs +25 -0
- package/esm2022/src/lib/pipes/index.mjs +2 -0
- package/esm2022/src/lib/pipes/public-api.mjs +2 -0
- package/esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs +5 -0
- package/esm2022/src/lib/services/environment.service.mjs +26 -0
- package/esm2022/src/lib/services/http-web-request.service.mjs +92 -0
- package/esm2022/src/lib/services/index.mjs +2 -0
- package/esm2022/src/lib/services/label.service.mjs +134 -0
- package/esm2022/src/lib/services/public-api.mjs +5 -0
- package/esm2022/src/lib/services/util.service.mjs +75 -0
- package/esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs +5 -0
- package/esm2022/src/lib/shared/base-table-style.mjs +55 -0
- package/esm2022/src/lib/shared/components/base-data-view.component.mjs +154 -0
- package/esm2022/src/lib/shared/components/base-model-field.mjs +21 -0
- package/esm2022/src/lib/shared/index.mjs +7 -0
- package/esm2022/src/lib/shared/models/DataViewConfig.mjs +2 -0
- package/esm2022/src/lib/shared/public-api.mjs +13 -0
- package/esm2022/src/lib/shared/shared.module.mjs +103 -0
- package/esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs +5 -0
- package/esm2022/verben-workflow-ui.mjs +5 -0
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs +1055 -0
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs +484 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +3891 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs +72 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +83 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +159 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +430 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +257 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +1966 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs +766 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs +78 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-values.mjs +1226 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-values.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs +118 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs +815 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +33 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +1338 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +845 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs +72 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs +94 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +302 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs +995 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +1049 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs +203 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +5389 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs +415 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs +365 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +666 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs +261 -0
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +32 -0
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs +322 -0
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs +336 -0
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui.mjs +35 -0
- package/fesm2022/verben-workflow-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +199 -8
- package/public-api.d.ts +23 -0
- package/src/lib/base/core/base-data-page.facade.d.ts +138 -0
- package/src/lib/base/core/base-data-page.service.d.ts +61 -0
- package/src/lib/base/core/base-data-page.state.d.ts +73 -0
- package/src/lib/base/handlers/filter-handler.service.d.ts +34 -0
- package/src/lib/base/handlers/search-handler.service.d.ts +20 -0
- package/src/lib/base/handlers/sort-handler.service.d.ts +30 -0
- package/src/lib/base/models/api-payload.d.ts +2 -0
- package/src/lib/base/models/page-config.interface.d.ts +24 -0
- package/src/lib/base/models/page-filter-tab-option.interface.d.ts +19 -0
- package/src/lib/base/public-api.d.ts +9 -0
- package/src/lib/base/utils/column-helpers.d.ts +24 -0
- package/src/lib/components/actors/actors.columns.d.ts +3 -0
- package/src/lib/components/actors/actors.component.d.ts +79 -0
- package/src/lib/components/actors/actors.config.d.ts +10 -0
- package/src/lib/components/actors/actors.facade.d.ts +29 -0
- package/src/lib/components/actors/actors.form.component.d.ts +23 -0
- package/src/lib/components/actors/actors.module.d.ts +11 -0
- package/src/lib/components/actors/actors.service.d.ts +33 -0
- package/src/lib/components/actors/actors.state.d.ts +19 -0
- package/src/lib/components/designer/components/label-editor.component.d.ts +22 -0
- package/src/lib/components/designer/components/node-selector.component.d.ts +23 -0
- package/src/lib/components/designer/components/swimlane-label.component.d.ts +12 -0
- package/src/lib/components/designer/components/swimlane-popup.component.d.ts +18 -0
- package/src/lib/components/designer/components/wf-canvas.component.d.ts +37 -0
- package/src/lib/components/designer/components/wf-designer.component.d.ts +22 -0
- package/src/lib/components/designer/components/wf-toolbar.component.d.ts +17 -0
- package/src/lib/components/designer/models/types.d.ts +104 -0
- package/src/lib/components/designer/services/canvas-state.service.d.ts +24 -0
- package/src/lib/components/designer/services/connection-segment-interaction.service.d.ts +36 -0
- package/src/lib/components/designer/services/connection.service.d.ts +47 -0
- package/src/lib/components/designer/services/keyboard-handler.service.d.ts +9 -0
- package/src/lib/components/designer/services/label-management.service.d.ts +14 -0
- package/src/lib/components/designer/services/node-finder.service.d.ts +10 -0
- package/src/lib/components/designer/services/node-interaction.service.d.ts +19 -0
- package/src/lib/components/designer/services/node-precondition.service.d.ts +37 -0
- package/src/lib/components/designer/services/node-selection.service.d.ts +19 -0
- package/src/lib/components/designer/services/orthogonal-router.service.d.ts +36 -0
- package/src/lib/components/designer/services/position-update.service.d.ts +10 -0
- package/src/lib/components/designer/services/rendering.service.d.ts +67 -0
- package/src/lib/components/designer/services/swimlane-management.service.d.ts +19 -0
- package/src/lib/components/designer/services/swimlane-stats.service.d.ts +19 -0
- package/src/lib/components/designer/services/viewport.service.d.ts +10 -0
- package/src/lib/components/designer/services/wf-facade.service.d.ts +67 -0
- package/src/lib/components/designer/services/wf-mapper.service.d.ts +26 -0
- package/src/lib/components/designer/services/wf-persistence.service.d.ts +21 -0
- package/src/lib/components/designer/services/wf-state.service.d.ts +30 -0
- package/src/lib/components/expiration/expiration.component.d.ts +20 -0
- package/src/lib/components/expiration/expiration.module.d.ts +9 -0
- package/src/lib/components/file-render/file-render.component.d.ts +17 -0
- package/src/lib/components/file-render/file-render.module.d.ts +10 -0
- package/src/lib/components/file-upload/file-upload.component.d.ts +22 -0
- package/src/lib/components/file-upload/file-upload.module.d.ts +11 -0
- package/src/lib/components/flowable-status/flowable-status.columns.d.ts +3 -0
- package/src/lib/components/flowable-status/flowable-status.component.d.ts +80 -0
- package/src/lib/components/flowable-status/flowable-status.config.d.ts +11 -0
- package/src/lib/components/flowable-status/flowable-status.facade.d.ts +26 -0
- package/src/lib/components/flowable-status/flowable-status.form.component.d.ts +18 -0
- package/src/lib/components/flowable-status/flowable-status.module.d.ts +11 -0
- package/src/lib/components/flowable-status/flowable-status.service.d.ts +23 -0
- package/src/lib/components/flowable-status/flowable-status.state.d.ts +11 -0
- package/src/lib/components/flowable-status/public-api.d.ts +2 -0
- package/src/lib/components/form-control/form-control.component.d.ts +39 -0
- package/src/lib/components/form-control/form-control.module.d.ts +11 -0
- package/src/lib/components/form-group/base-table-style.d.ts +1 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +136 -0
- package/src/lib/components/form-group/form-fields/form-fields.module.d.ts +11 -0
- package/src/lib/components/form-group/form-fields/form-fields.service.d.ts +9 -0
- package/src/lib/components/form-group/form-group.component.d.ts +108 -0
- package/src/lib/components/form-group/form-group.module.d.ts +15 -0
- package/src/lib/components/form-group/form-group.service.d.ts +9 -0
- package/src/lib/components/form-response/form-response.component.d.ts +106 -0
- package/src/lib/components/form-response/form-response.module.d.ts +12 -0
- package/src/lib/components/form-response/form-response.service.d.ts +9 -0
- package/src/lib/components/form-timer/form-timer.component.d.ts +13 -0
- package/src/lib/components/form-timer/form-timer.module.d.ts +9 -0
- package/src/lib/components/form-values/form-values.component.d.ts +118 -0
- package/src/lib/components/form-values/form-values.module.d.ts +10 -0
- package/src/lib/components/form-values/form-values.service.d.ts +9 -0
- package/src/lib/components/form-viewer/form-viewer.component.d.ts +17 -0
- package/src/lib/components/form-viewer/form-viewer.module.d.ts +11 -0
- package/src/lib/components/forms/base-table-style.d.ts +1 -0
- package/src/lib/components/forms/forms.component.d.ts +89 -0
- package/src/lib/components/forms/forms.module.d.ts +8 -0
- package/src/lib/components/forms/forms.service.d.ts +9 -0
- package/src/lib/components/journal/journal.component.d.ts +5 -0
- package/src/lib/components/journal/journal.module.d.ts +8 -0
- package/src/lib/components/my-queue/my-queue.columns.d.ts +3 -0
- package/src/lib/components/my-queue/my-queue.component.d.ts +58 -0
- package/src/lib/components/my-queue/my-queue.facade.d.ts +47 -0
- package/src/lib/components/my-queue/my-queue.module.d.ts +15 -0
- package/src/lib/components/my-queue/my-queue.service.d.ts +65 -0
- package/src/lib/components/my-queue/my-queue.state.d.ts +39 -0
- package/src/lib/components/my-queue/tasks.form.component.d.ts +48 -0
- package/src/lib/components/operation-popup/operation-popup.component.d.ts +62 -0
- package/src/lib/components/operation-popup/operation-popup.facade.d.ts +32 -0
- package/src/lib/components/operation-popup/operation-popup.service.d.ts +23 -0
- package/src/lib/components/operation-popup/operation-popup.state.d.ts +20 -0
- package/src/lib/components/stage-details/stage-details.component.d.ts +24 -0
- package/src/lib/components/stage-details/stage-details.module.d.ts +9 -0
- package/src/lib/components/task-form/task-form.component.d.ts +10 -0
- package/src/lib/components/task-form/task-form.module.d.ts +10 -0
- package/src/lib/components/task-history/task-history.component.d.ts +41 -0
- package/src/lib/components/task-history/task-history.module.d.ts +11 -0
- package/src/lib/components/task-history/task-history.service.d.ts +13 -0
- package/src/lib/components/task-notification/base-table-style.d.ts +1 -0
- package/src/lib/components/task-notification/task-notification.component.d.ts +89 -0
- package/src/lib/components/task-notification/task-notification.module.d.ts +8 -0
- package/src/lib/components/task-notification/task-notification.service.d.ts +32 -0
- package/src/lib/components/tasks/tasks.columns.d.ts +11 -0
- package/src/lib/components/tasks/tasks.component.d.ts +40 -0
- package/src/lib/components/tasks/tasks.facade.d.ts +44 -0
- package/src/lib/components/tasks/tasks.form.component.d.ts +40 -0
- package/src/lib/components/tasks/tasks.models.d.ts +4 -0
- package/src/lib/components/tasks/tasks.module.d.ts +17 -0
- package/src/lib/components/tasks/tasks.service.d.ts +58 -0
- package/src/lib/components/tasks/tasks.state.d.ts +46 -0
- package/src/lib/components/wf/wf.columns.d.ts +3 -0
- package/src/lib/components/wf/wf.component.d.ts +16 -0
- package/src/lib/components/wf/wf.module.d.ts +10 -0
- package/src/lib/components/wf/wf.service.d.ts +51 -0
- package/src/lib/components/workflow/column.d.ts +3 -0
- package/src/lib/components/workflow/helper.d.ts +2 -0
- package/src/lib/components/workflow/table-style.d.ts +1 -0
- package/src/lib/components/workflow/workflow.component.d.ts +57 -0
- package/src/lib/components/workflow/workflow.module.d.ts +9 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.d.ts +34 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.d.ts +25 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.d.ts +38 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.d.ts +29 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.d.ts +292 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.d.ts +39 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.d.ts +5 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.d.ts +47 -0
- package/src/lib/components/workflow-designer/services/connection.service.d.ts +101 -0
- package/src/lib/components/workflow-designer/services/node-management.service.d.ts +73 -0
- package/src/lib/components/workflow-designer/services/popup.service.d.ts +147 -0
- package/src/lib/components/workflow-designer/services/swimlane.service.d.ts +66 -0
- package/src/lib/components/workflow-designer/services/transformer.service.d.ts +51 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.d.ts +43 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.d.ts +58 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.d.ts +49 -0
- package/src/lib/components/workflow-designer/workflow-data.service.d.ts +59 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.d.ts +121 -0
- package/src/lib/components/workflow-designer/workflow-designer.module.d.ts +41 -0
- package/src/lib/components/workflow-designer/workflow-designer.state.d.ts +278 -0
- package/src/lib/components/workflow-designer/workflow-designer.types.d.ts +130 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.d.ts +78 -0
- package/src/lib/components/workflow-stage/workflow-stage.module.d.ts +12 -0
- package/src/lib/components/workflows/public-api.d.ts +4 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.d.ts +28 -0
- package/src/lib/components/workflows/workflows.api.d.ts +38 -0
- package/src/lib/components/workflows/workflows.columns.d.ts +3 -0
- package/src/lib/components/workflows/workflows.component.d.ts +98 -0
- package/src/lib/components/workflows/workflows.config.d.ts +10 -0
- package/src/lib/components/workflows/workflows.facade.d.ts +41 -0
- package/src/lib/components/workflows/workflows.module.d.ts +11 -0
- package/src/lib/components/workflows/workflows.service.d.ts +32 -0
- package/src/lib/components/workflows/workflows.state.d.ts +15 -0
- package/src/lib/models/ActionHistory.d.ts +16 -0
- package/src/lib/models/ActionType.d.ts +9 -0
- package/src/lib/models/Actor.d.ts +11 -0
- package/src/lib/models/ActorTag.d.ts +6 -0
- package/src/lib/models/Coord.d.ts +4 -0
- package/src/lib/models/DataExtensionValue.d.ts +4 -0
- package/src/lib/models/DataType.d.ts +25 -0
- package/src/lib/models/EAVDataType.d.ts +18 -0
- package/src/lib/models/EAVEntity.d.ts +4 -0
- package/src/lib/models/EntityDataValue.d.ts +6 -0
- package/src/lib/models/EntityProperty.d.ts +7 -0
- package/src/lib/models/ErrorResponse.d.ts +6 -0
- package/src/lib/models/Escalation.d.ts +14 -0
- package/src/lib/models/EscalationCycle.d.ts +12 -0
- package/src/lib/models/EscalationStage.d.ts +10 -0
- package/src/lib/models/EscalationType.d.ts +5 -0
- package/src/lib/models/File.d.ts +7 -0
- package/src/lib/models/FilterTypes.d.ts +6 -0
- package/src/lib/models/FlowableStatus.d.ts +5 -0
- package/src/lib/models/Form.d.ts +13 -0
- package/src/lib/models/FormEntity.d.ts +13 -0
- package/src/lib/models/FormFill.d.ts +15 -0
- package/src/lib/models/FormProperty.d.ts +15 -0
- package/src/lib/models/FormValue.d.ts +13 -0
- package/src/lib/models/MailConfig.d.ts +12 -0
- package/src/lib/models/MessageConfig.d.ts +3 -0
- package/src/lib/models/MessageMedium.d.ts +4 -0
- package/src/lib/models/OperationAction.d.ts +14 -0
- package/src/lib/models/PagedResult.d.ts +5 -0
- package/src/lib/models/PeriodMode.d.ts +10 -0
- package/src/lib/models/PermissionConfig.d.ts +7 -0
- package/src/lib/models/Property.d.ts +5 -0
- package/src/lib/models/ReportSchedule.d.ts +22 -0
- package/src/lib/models/ReportType.d.ts +5 -0
- package/src/lib/models/Resource.d.ts +20 -0
- package/src/lib/models/ResponseKeyValue.d.ts +5 -0
- package/src/lib/models/SMSConfig.d.ts +10 -0
- package/src/lib/models/SearchDynamicWrapper.d.ts +5 -0
- package/src/lib/models/SearchOperator.d.ts +4 -0
- package/src/lib/models/SearchPropertySign.d.ts +9 -0
- package/src/lib/models/SearchPropertyValue.d.ts +12 -0
- package/src/lib/models/SearchPropertyValueType.d.ts +9 -0
- package/src/lib/models/Size.d.ts +4 -0
- package/src/lib/models/SortDirection.d.ts +5 -0
- package/src/lib/models/StageActorRule.d.ts +6 -0
- package/src/lib/models/SwimLane.d.ts +13 -0
- package/src/lib/models/Tag.d.ts +6 -0
- package/src/lib/models/Task.d.ts +32 -0
- package/src/lib/models/TaskAssignmentType.d.ts +4 -0
- package/src/lib/models/TaskNotification.d.ts +14 -0
- package/src/lib/models/TaskNotificationMessageType.d.ts +4 -0
- package/src/lib/models/TaskNotificationType.d.ts +7 -0
- package/src/lib/models/TaskStatus.d.ts +7 -0
- package/src/lib/models/Workflow.d.ts +21 -0
- package/src/lib/models/WorkflowAction.d.ts +14 -0
- package/src/lib/models/WorkflowOperation.d.ts +6 -0
- package/src/lib/models/WorkflowStage.d.ts +26 -0
- package/src/lib/models/actors.d.ts +8 -0
- package/src/lib/models/auth-mechanism.d.ts +13 -0
- package/src/lib/models/base.d.ts +13 -0
- package/src/lib/models/object-state.d.ts +6 -0
- package/src/lib/models/operation-type.d.ts +5 -0
- package/src/lib/models/paged.d.ts +9 -0
- package/src/lib/models/query-params.d.ts +8 -0
- package/src/lib/models/status.d.ts +4 -0
- package/src/lib/models/task-history.d.ts +17 -0
- package/src/lib/models/user-access-request-status.d.ts +5 -0
- package/src/lib/models/user.d.ts +24 -0
- package/src/lib/pipes/async-label.pipe.d.ts +11 -0
- package/src/lib/services/environment.service.d.ts +23 -0
- package/src/lib/services/http-web-request.service.d.ts +23 -0
- package/src/lib/services/label.service.d.ts +15 -0
- package/src/lib/services/public-api.d.ts +4 -0
- package/src/lib/services/util.service.d.ts +20 -0
- package/src/lib/shared/base-table-style.d.ts +2 -0
- package/src/lib/shared/components/base-data-view.component.d.ts +41 -0
- package/src/lib/shared/components/base-model-field.d.ts +26 -0
- package/src/lib/shared/models/DataViewConfig.d.ts +11 -0
- package/src/lib/shared/public-api.d.ts +5 -0
- package/src/lib/shared/shared.module.d.ts +11 -0
- package/ng-package.json +0 -15
- package/src/lib/base/core/base-data-page.facade.ts +0 -533
- package/src/lib/base/core/base-data-page.service.ts +0 -222
- package/src/lib/base/core/base-data-page.state.ts +0 -287
- package/src/lib/base/handlers/filter-handler.service.ts +0 -169
- package/src/lib/base/handlers/search-handler.service.ts +0 -33
- package/src/lib/base/handlers/sort-handler.service.ts +0 -93
- package/src/lib/base/models/api-payload.ts +0 -13
- package/src/lib/base/models/page-config.interface.ts +0 -49
- package/src/lib/base/models/page-filter-tab-option.interface.ts +0 -20
- package/src/lib/base/ng-package.json +0 -6
- package/src/lib/base/public-api.ts +0 -16
- package/src/lib/base/utils/column-helpers.ts +0 -77
- package/src/lib/components/actors/actors.columns.ts +0 -40
- package/src/lib/components/actors/actors.component.css +0 -0
- package/src/lib/components/actors/actors.component.html +0 -320
- package/src/lib/components/actors/actors.component.spec.ts +0 -23
- package/src/lib/components/actors/actors.component.ts +0 -221
- package/src/lib/components/actors/actors.config.ts +0 -55
- package/src/lib/components/actors/actors.facade.ts +0 -71
- package/src/lib/components/actors/actors.form.component.html +0 -37
- package/src/lib/components/actors/actors.form.component.ts +0 -69
- package/src/lib/components/actors/actors.model.ts +0 -4
- package/src/lib/components/actors/actors.module.ts +0 -13
- package/src/lib/components/actors/actors.service.ts +0 -85
- package/src/lib/components/actors/actors.state.ts +0 -31
- package/src/lib/components/actors/ng-package.json +0 -6
- package/src/lib/components/designer/components/label-editor.component.ts +0 -188
- package/src/lib/components/designer/components/node-selector.component.ts +0 -208
- package/src/lib/components/designer/components/swimlane-label.component.ts +0 -102
- package/src/lib/components/designer/components/swimlane-popup.component.ts +0 -51
- package/src/lib/components/designer/components/wf-canvas.component.ts +0 -495
- package/src/lib/components/designer/components/wf-designer.component.ts +0 -182
- package/src/lib/components/designer/components/wf-node.component.ts +0 -91
- package/src/lib/components/designer/components/wf-properties-popup.component.ts +0 -257
- package/src/lib/components/designer/components/wf-toolbar.component.ts +0 -84
- package/src/lib/components/designer/models/types.ts +0 -133
- package/src/lib/components/designer/ng-package.json +0 -6
- package/src/lib/components/designer/services/canvas-state.service.ts +0 -63
- package/src/lib/components/designer/services/connection-segment-interaction.service.ts +0 -141
- package/src/lib/components/designer/services/connection.service.ts +0 -351
- package/src/lib/components/designer/services/keyboard-handler.service.ts +0 -39
- package/src/lib/components/designer/services/label-management.service.ts +0 -72
- package/src/lib/components/designer/services/node-finder.service.ts +0 -34
- package/src/lib/components/designer/services/node-interaction.service.ts +0 -135
- package/src/lib/components/designer/services/node-placement.service.ts +0 -77
- package/src/lib/components/designer/services/node-precondition.service.ts +0 -138
- package/src/lib/components/designer/services/node-renderer.service.ts +0 -97
- package/src/lib/components/designer/services/node-selection.service.ts +0 -110
- package/src/lib/components/designer/services/orthogonal-router.service.ts +0 -233
- package/src/lib/components/designer/services/position-update.service.ts +0 -56
- package/src/lib/components/designer/services/rendering.service.ts +0 -296
- package/src/lib/components/designer/services/swimlane-management.service.ts +0 -189
- package/src/lib/components/designer/services/swimlane-stats.service.ts +0 -53
- package/src/lib/components/designer/services/tag-helper.service.ts +0 -80
- package/src/lib/components/designer/services/viewport.service.ts +0 -30
- package/src/lib/components/designer/services/wf-facade.service.ts +0 -287
- package/src/lib/components/designer/services/wf-mapper.service.ts +0 -450
- package/src/lib/components/designer/services/wf-persistence.service.ts +0 -184
- package/src/lib/components/designer/services/wf-state.service.ts +0 -143
- package/src/lib/components/expiration/expiration.component.css +0 -0
- package/src/lib/components/expiration/expiration.component.html +0 -21
- package/src/lib/components/expiration/expiration.component.spec.ts +0 -23
- package/src/lib/components/expiration/expiration.component.ts +0 -52
- package/src/lib/components/expiration/expiration.module.ts +0 -11
- package/src/lib/components/expiration/ng-package.json +0 -6
- package/src/lib/components/file-render/file-render.component.css +0 -4
- package/src/lib/components/file-render/file-render.component.html +0 -21
- package/src/lib/components/file-render/file-render.component.spec.ts +0 -23
- package/src/lib/components/file-render/file-render.component.ts +0 -34
- package/src/lib/components/file-render/file-render.module.ts +0 -19
- package/src/lib/components/file-render/ng-package.json +0 -6
- package/src/lib/components/file-upload/file-upload.component.css +0 -0
- package/src/lib/components/file-upload/file-upload.component.html +0 -69
- package/src/lib/components/file-upload/file-upload.component.spec.ts +0 -23
- package/src/lib/components/file-upload/file-upload.component.ts +0 -87
- package/src/lib/components/file-upload/file-upload.module.ts +0 -40
- package/src/lib/components/file-upload/ng-package.json +0 -6
- package/src/lib/components/flowable-status/flowable-status.columns.ts +0 -23
- package/src/lib/components/flowable-status/flowable-status.component.css +0 -1
- package/src/lib/components/flowable-status/flowable-status.component.html +0 -166
- package/src/lib/components/flowable-status/flowable-status.component.ts +0 -247
- package/src/lib/components/flowable-status/flowable-status.config.ts +0 -54
- package/src/lib/components/flowable-status/flowable-status.facade.ts +0 -70
- package/src/lib/components/flowable-status/flowable-status.form.component.html +0 -13
- package/src/lib/components/flowable-status/flowable-status.form.component.ts +0 -51
- package/src/lib/components/flowable-status/flowable-status.model.ts +0 -3
- package/src/lib/components/flowable-status/flowable-status.module.ts +0 -13
- package/src/lib/components/flowable-status/flowable-status.service.ts +0 -39
- package/src/lib/components/flowable-status/flowable-status.state.ts +0 -10
- package/src/lib/components/flowable-status/ng-package.json +0 -6
- package/src/lib/components/flowable-status/public-api.ts +0 -3
- package/src/lib/components/form-control/form-control.component.css +0 -0
- package/src/lib/components/form-control/form-control.component.html +0 -259
- package/src/lib/components/form-control/form-control.component.spec.ts +0 -23
- package/src/lib/components/form-control/form-control.component.ts +0 -197
- package/src/lib/components/form-control/form-control.module.ts +0 -47
- package/src/lib/components/form-control/ng-package.json +0 -6
- package/src/lib/components/form-group/base-table-style.ts +0 -52
- package/src/lib/components/form-group/form-fields/form-fields.component.css +0 -114
- package/src/lib/components/form-group/form-fields/form-fields.component.html +0 -621
- package/src/lib/components/form-group/form-fields/form-fields.component.spec.ts +0 -23
- package/src/lib/components/form-group/form-fields/form-fields.component.ts +0 -1115
- package/src/lib/components/form-group/form-fields/form-fields.module.ts +0 -48
- package/src/lib/components/form-group/form-fields/form-fields.service.ts +0 -70
- package/src/lib/components/form-group/form-fields/helper.ts +0 -45
- package/src/lib/components/form-group/form-group.component.css +0 -113
- package/src/lib/components/form-group/form-group.component.html +0 -486
- package/src/lib/components/form-group/form-group.component.spec.ts +0 -22
- package/src/lib/components/form-group/form-group.component.ts +0 -789
- package/src/lib/components/form-group/form-group.module.ts +0 -54
- package/src/lib/components/form-group/form-group.service.ts +0 -53
- package/src/lib/components/form-group/helper.ts +0 -45
- package/src/lib/components/form-group/ng-package.json +0 -6
- package/src/lib/components/form-response/form-response.component.css +0 -114
- package/src/lib/components/form-response/form-response.component.html +0 -188
- package/src/lib/components/form-response/form-response.component.spec.ts +0 -23
- package/src/lib/components/form-response/form-response.component.ts +0 -735
- package/src/lib/components/form-response/form-response.module.ts +0 -48
- package/src/lib/components/form-response/form-response.service.ts +0 -52
- package/src/lib/components/form-response/helper.ts +0 -222
- package/src/lib/components/form-response/ng-package.json +0 -6
- package/src/lib/components/form-timer/form-timer.component.css +0 -0
- package/src/lib/components/form-timer/form-timer.component.html +0 -47
- package/src/lib/components/form-timer/form-timer.component.spec.ts +0 -23
- package/src/lib/components/form-timer/form-timer.component.ts +0 -50
- package/src/lib/components/form-timer/form-timer.module.ts +0 -19
- package/src/lib/components/form-timer/ng-package.json +0 -6
- package/src/lib/components/form-values/form-values.component.css +0 -48
- package/src/lib/components/form-values/form-values.component.html +0 -225
- package/src/lib/components/form-values/form-values.component.ts +0 -1437
- package/src/lib/components/form-values/form-values.module.ts +0 -13
- package/src/lib/components/form-values/form-values.service.ts +0 -45
- package/src/lib/components/form-values/ng-package.json +0 -6
- package/src/lib/components/form-viewer/form-viewer.component.css +0 -4
- package/src/lib/components/form-viewer/form-viewer.component.html +0 -62
- package/src/lib/components/form-viewer/form-viewer.component.spec.ts +0 -23
- package/src/lib/components/form-viewer/form-viewer.component.ts +0 -31
- package/src/lib/components/form-viewer/form-viewer.module.ts +0 -52
- package/src/lib/components/form-viewer/ng-package.json +0 -6
- package/src/lib/components/forms/base-table-style.ts +0 -52
- package/src/lib/components/forms/forms.component.css +0 -126
- package/src/lib/components/forms/forms.component.html +0 -538
- package/src/lib/components/forms/forms.component.spec.ts +0 -23
- package/src/lib/components/forms/forms.component.ts +0 -810
- package/src/lib/components/forms/forms.module.ts +0 -10
- package/src/lib/components/forms/forms.service.spec.ts +0 -16
- package/src/lib/components/forms/forms.service.ts +0 -65
- package/src/lib/components/forms/ng-package.json +0 -6
- package/src/lib/components/journal/journal.component.css +0 -0
- package/src/lib/components/journal/journal.component.html +0 -1
- package/src/lib/components/journal/journal.component.spec.ts +0 -23
- package/src/lib/components/journal/journal.component.ts +0 -10
- package/src/lib/components/journal/journal.module.ts +0 -10
- package/src/lib/components/journal/ng-package.json +0 -6
- package/src/lib/components/my-queue/my-queue.columns.ts +0 -37
- package/src/lib/components/my-queue/my-queue.component.css +0 -8
- package/src/lib/components/my-queue/my-queue.component.html +0 -319
- package/src/lib/components/my-queue/my-queue.component.spec.ts +0 -23
- package/src/lib/components/my-queue/my-queue.component.ts +0 -409
- package/src/lib/components/my-queue/my-queue.facade.ts +0 -670
- package/src/lib/components/my-queue/my-queue.helper.ts +0 -71
- package/src/lib/components/my-queue/my-queue.module.ts +0 -28
- package/src/lib/components/my-queue/my-queue.service.spec.ts +0 -16
- package/src/lib/components/my-queue/my-queue.service.ts +0 -262
- package/src/lib/components/my-queue/my-queue.state.ts +0 -133
- package/src/lib/components/my-queue/ng-package.json +0 -6
- package/src/lib/components/my-queue/tasks.form.component.html +0 -168
- package/src/lib/components/my-queue/tasks.form.component.ts +0 -201
- package/src/lib/components/operation-popup/ng-package.json +0 -6
- package/src/lib/components/operation-popup/operation-popup.component.css +0 -1
- package/src/lib/components/operation-popup/operation-popup.component.html +0 -107
- package/src/lib/components/operation-popup/operation-popup.component.ts +0 -476
- package/src/lib/components/operation-popup/operation-popup.facade.ts +0 -435
- package/src/lib/components/operation-popup/operation-popup.service.ts +0 -143
- package/src/lib/components/operation-popup/operation-popup.state.ts +0 -49
- package/src/lib/components/stage-details/ng-package.json +0 -6
- package/src/lib/components/stage-details/stage-details.component.css +0 -0
- package/src/lib/components/stage-details/stage-details.component.html +0 -95
- package/src/lib/components/stage-details/stage-details.component.spec.ts +0 -23
- package/src/lib/components/stage-details/stage-details.component.ts +0 -43
- package/src/lib/components/stage-details/stage-details.module.ts +0 -11
- package/src/lib/components/task-form/ng-package.json +0 -6
- package/src/lib/components/task-form/task-form.component.css +0 -0
- package/src/lib/components/task-form/task-form.component.html +0 -38
- package/src/lib/components/task-form/task-form.component.spec.ts +0 -23
- package/src/lib/components/task-form/task-form.component.ts +0 -15
- package/src/lib/components/task-form/task-form.module.ts +0 -31
- package/src/lib/components/task-history/ng-package.json +0 -6
- package/src/lib/components/task-history/task-history.component.css +0 -334
- package/src/lib/components/task-history/task-history.component.html +0 -292
- package/src/lib/components/task-history/task-history.component.spec.ts +0 -23
- package/src/lib/components/task-history/task-history.component.ts +0 -284
- package/src/lib/components/task-history/task-history.module.ts +0 -12
- package/src/lib/components/task-history/task-history.service.ts +0 -32
- package/src/lib/components/task-notification/base-table-style.ts +0 -52
- package/src/lib/components/task-notification/ng-package.json +0 -6
- package/src/lib/components/task-notification/task-notification.component.css +0 -94
- package/src/lib/components/task-notification/task-notification.component.html +0 -585
- package/src/lib/components/task-notification/task-notification.component.spec.ts +0 -23
- package/src/lib/components/task-notification/task-notification.component.ts +0 -793
- package/src/lib/components/task-notification/task-notification.module.ts +0 -10
- package/src/lib/components/task-notification/task-notification.service.spec.ts +0 -16
- package/src/lib/components/task-notification/task-notification.service.ts +0 -397
- package/src/lib/components/tasks/ng-package.json +0 -6
- package/src/lib/components/tasks/tasks.columns.ts +0 -50
- package/src/lib/components/tasks/tasks.component.css +0 -4
- package/src/lib/components/tasks/tasks.component.html +0 -385
- package/src/lib/components/tasks/tasks.component.spec.ts +0 -23
- package/src/lib/components/tasks/tasks.component.ts +0 -212
- package/src/lib/components/tasks/tasks.facade.ts +0 -482
- package/src/lib/components/tasks/tasks.form.component.html +0 -181
- package/src/lib/components/tasks/tasks.form.component.ts +0 -174
- package/src/lib/components/tasks/tasks.helper.ts +0 -71
- package/src/lib/components/tasks/tasks.models.ts +0 -4
- package/src/lib/components/tasks/tasks.module.ts +0 -29
- package/src/lib/components/tasks/tasks.service.spec.ts +0 -16
- package/src/lib/components/tasks/tasks.service.ts +0 -215
- package/src/lib/components/tasks/tasks.state.ts +0 -144
- package/src/lib/components/wf/ng-package.json +0 -6
- package/src/lib/components/wf/wf.columns.ts +0 -36
- package/src/lib/components/wf/wf.component.css +0 -0
- package/src/lib/components/wf/wf.component.html +0 -35
- package/src/lib/components/wf/wf.component.spec.ts +0 -23
- package/src/lib/components/wf/wf.component.ts +0 -71
- package/src/lib/components/wf/wf.facade.ts +0 -266
- package/src/lib/components/wf/wf.helper.ts +0 -25
- package/src/lib/components/wf/wf.module.ts +0 -14
- package/src/lib/components/wf/wf.service.spec.ts +0 -16
- package/src/lib/components/wf/wf.service.ts +0 -98
- package/src/lib/components/wf/wf.state.ts +0 -99
- package/src/lib/components/workflow/column.ts +0 -40
- package/src/lib/components/workflow/helper.ts +0 -53
- package/src/lib/components/workflow/ng-package.json +0 -6
- package/src/lib/components/workflow/table-style.ts +0 -53
- package/src/lib/components/workflow/workflow.component.css +0 -0
- package/src/lib/components/workflow/workflow.component.html +0 -226
- package/src/lib/components/workflow/workflow.component.spec.ts +0 -23
- package/src/lib/components/workflow/workflow.component.ts +0 -224
- package/src/lib/components/workflow/workflow.module.ts +0 -11
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.css +0 -9
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.html +0 -134
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.ts +0 -147
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.html +0 -45
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.ts +0 -83
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.css +0 -7
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.html +0 -89
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.ts +0 -87
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.css +0 -11
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.html +0 -74
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.ts +0 -80
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.css +0 -70
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.html +0 -454
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.ts +0 -1654
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.connection-drop.spec.ts +0 -100
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.css +0 -63
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.html +0 -49
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.ts +0 -86
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.ts +0 -7
- package/src/lib/components/workflow-designer/docs/01-architecture.md +0 -145
- package/src/lib/components/workflow-designer/docs/02-coordinate-system.md +0 -171
- package/src/lib/components/workflow-designer/docs/03-data-model.md +0 -163
- package/src/lib/components/workflow-designer/docs/04-interactions.md +0 -156
- package/src/lib/components/workflow-designer/docs/05-persistence.md +0 -117
- package/src/lib/components/workflow-designer/docs/06-known-issues.md +0 -181
- package/src/lib/components/workflow-designer/docs/07-integration.md +0 -178
- package/src/lib/components/workflow-designer/docs/08-api-reference.md +0 -187
- package/src/lib/components/workflow-designer/docs/09-development.md +0 -141
- package/src/lib/components/workflow-designer/docs/README.md +0 -81
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.css +0 -13
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.html +0 -204
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.ts +0 -308
- package/src/lib/components/workflow-designer/ng-package.json +0 -6
- package/src/lib/components/workflow-designer/services/connection.service.ts +0 -325
- package/src/lib/components/workflow-designer/services/node-management.service.ts +0 -372
- package/src/lib/components/workflow-designer/services/popup.service.ts +0 -276
- package/src/lib/components/workflow-designer/services/swimlane.service.ts +0 -176
- package/src/lib/components/workflow-designer/services/transformer.service.ts +0 -318
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.html +0 -208
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.ts +0 -194
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.css +0 -15
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.html +0 -93
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.ts +0 -258
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.html +0 -150
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.ts +0 -153
- package/src/lib/components/workflow-designer/workflow-data.service.spec.ts +0 -16
- package/src/lib/components/workflow-designer/workflow-data.service.ts +0 -290
- package/src/lib/components/workflow-designer/workflow-designer.component.css +0 -59
- package/src/lib/components/workflow-designer/workflow-designer.component.html +0 -29
- package/src/lib/components/workflow-designer/workflow-designer.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/workflow-designer.component.ts +0 -548
- package/src/lib/components/workflow-designer/workflow-designer.models.ts +0 -114
- package/src/lib/components/workflow-designer/workflow-designer.module.ts +0 -90
- package/src/lib/components/workflow-designer/workflow-designer.state.ts +0 -1123
- package/src/lib/components/workflow-designer/workflow-designer.types.ts +0 -141
- package/src/lib/components/workflow-stage/ng-package.json +0 -6
- package/src/lib/components/workflow-stage/workflow-stage.component.css +0 -24
- package/src/lib/components/workflow-stage/workflow-stage.component.html +0 -339
- package/src/lib/components/workflow-stage/workflow-stage.component.spec.ts +0 -23
- package/src/lib/components/workflow-stage/workflow-stage.component.ts +0 -355
- package/src/lib/components/workflow-stage/workflow-stage.module.ts +0 -53
- package/src/lib/components/workflows/ng-package.json +0 -6
- package/src/lib/components/workflows/public-api.ts +0 -6
- package/src/lib/components/workflows/workflow-form/workflow-form.component.css +0 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.html +0 -138
- package/src/lib/components/workflows/workflow-form/workflow-form.component.spec.ts +0 -23
- package/src/lib/components/workflows/workflow-form/workflow-form.component.ts +0 -85
- package/src/lib/components/workflows/workflows.api.ts +0 -117
- package/src/lib/components/workflows/workflows.columns.ts +0 -41
- package/src/lib/components/workflows/workflows.component.css +0 -4
- package/src/lib/components/workflows/workflows.component.html +0 -309
- package/src/lib/components/workflows/workflows.component.spec.ts +0 -23
- package/src/lib/components/workflows/workflows.component.ts +0 -303
- package/src/lib/components/workflows/workflows.config.ts +0 -58
- package/src/lib/components/workflows/workflows.facade.ts +0 -147
- package/src/lib/components/workflows/workflows.module.ts +0 -14
- package/src/lib/components/workflows/workflows.service.spec.ts +0 -16
- package/src/lib/components/workflows/workflows.service.ts +0 -88
- package/src/lib/components/workflows/workflows.state.ts +0 -21
- package/src/lib/models/ActionHistory.ts +0 -19
- package/src/lib/models/ActionType.ts +0 -9
- package/src/lib/models/Actor.ts +0 -12
- package/src/lib/models/ActorTag.ts +0 -8
- package/src/lib/models/Coord.ts +0 -4
- package/src/lib/models/DataExtensionValue.ts +0 -5
- package/src/lib/models/DataType.ts +0 -25
- package/src/lib/models/EAVDataType.ts +0 -18
- package/src/lib/models/EAVEntity.ts +0 -5
- package/src/lib/models/EntityDataValue.ts +0 -7
- package/src/lib/models/EntityProperty.ts +0 -8
- package/src/lib/models/ErrorResponse.ts +0 -7
- package/src/lib/models/Escalation.ts +0 -15
- package/src/lib/models/EscalationCycle.ts +0 -13
- package/src/lib/models/EscalationStage.ts +0 -11
- package/src/lib/models/EscalationType.ts +0 -5
- package/src/lib/models/File.ts +0 -8
- package/src/lib/models/FilterTypes.ts +0 -8
- package/src/lib/models/FlowableStatus.ts +0 -6
- package/src/lib/models/Form.ts +0 -14
- package/src/lib/models/FormEntity.ts +0 -14
- package/src/lib/models/FormFill.ts +0 -16
- package/src/lib/models/FormProperty.ts +0 -16
- package/src/lib/models/FormValue.ts +0 -19
- package/src/lib/models/MailConfig.ts +0 -13
- package/src/lib/models/MessageConfig.ts +0 -5
- package/src/lib/models/MessageMedium.ts +0 -4
- package/src/lib/models/OperationAction.ts +0 -15
- package/src/lib/models/PagedResult.ts +0 -5
- package/src/lib/models/PeriodMode.ts +0 -10
- package/src/lib/models/PermissionConfig.ts +0 -8
- package/src/lib/models/Property.ts +0 -6
- package/src/lib/models/ReportSchedule.ts +0 -23
- package/src/lib/models/ReportType.ts +0 -5
- package/src/lib/models/Resource.ts +0 -57
- package/src/lib/models/ResponseKeyValue.ts +0 -5
- package/src/lib/models/SMSConfig.ts +0 -11
- package/src/lib/models/SearchDynamicWrapper.ts +0 -6
- package/src/lib/models/SearchOperator.ts +0 -4
- package/src/lib/models/SearchPropertySign.ts +0 -9
- package/src/lib/models/SearchPropertyValue.ts +0 -13
- package/src/lib/models/SearchPropertyValueType.ts +0 -9
- package/src/lib/models/Size.ts +0 -4
- package/src/lib/models/SortDirection.ts +0 -5
- package/src/lib/models/StageActorRule.ts +0 -6
- package/src/lib/models/SwimLane.ts +0 -14
- package/src/lib/models/Tag.ts +0 -7
- package/src/lib/models/Task.ts +0 -33
- package/src/lib/models/TaskAssignmentType.ts +0 -4
- package/src/lib/models/TaskNotification.ts +0 -16
- package/src/lib/models/TaskNotificationMessageType.ts +0 -4
- package/src/lib/models/TaskNotificationType.ts +0 -7
- package/src/lib/models/TaskStatus.ts +0 -7
- package/src/lib/models/Workflow.ts +0 -22
- package/src/lib/models/WorkflowAction.ts +0 -15
- package/src/lib/models/WorkflowOperation.ts +0 -7
- package/src/lib/models/WorkflowStage.ts +0 -27
- package/src/lib/models/actors.ts +0 -10
- package/src/lib/models/auth-mechanism.ts +0 -14
- package/src/lib/models/base.ts +0 -14
- package/src/lib/models/ng-package.json +0 -6
- package/src/lib/models/object-state.ts +0 -6
- package/src/lib/models/operation-type.ts +0 -6
- package/src/lib/models/paged.ts +0 -9
- package/src/lib/models/query-params.ts +0 -9
- package/src/lib/models/status.ts +0 -5
- package/src/lib/models/task-history.ts +0 -14
- package/src/lib/models/user-access-request-status.ts +0 -5
- package/src/lib/models/user.ts +0 -25
- package/src/lib/pipes/async-label.pipe.spec.ts +0 -12
- package/src/lib/pipes/async-label.pipe.ts +0 -30
- package/src/lib/pipes/ng-package.json +0 -6
- package/src/lib/services/environment.service.spec.ts +0 -16
- package/src/lib/services/environment.service.ts +0 -31
- package/src/lib/services/http-web-request.service.spec.ts +0 -16
- package/src/lib/services/http-web-request.service.ts +0 -154
- package/src/lib/services/label.service.spec.ts +0 -16
- package/src/lib/services/label.service.ts +0 -182
- package/src/lib/services/ng-package.json +0 -6
- package/src/lib/services/public-api.ts +0 -5
- package/src/lib/services/util.service.spec.ts +0 -16
- package/src/lib/services/util.service.ts +0 -72
- package/src/lib/shared/base-table-style.ts +0 -56
- package/src/lib/shared/components/base-data-view.component.ts +0 -187
- package/src/lib/shared/components/base-model-field.ts +0 -31
- package/src/lib/shared/models/DataViewConfig.ts +0 -19
- package/src/lib/shared/ng-package.json +0 -6
- package/src/lib/shared/public-api.ts +0 -14
- package/src/lib/shared/shared.module.ts +0 -67
- package/src/lib/utils/index.ts +0 -1
- package/src/lib/utils/public-api.ts +0 -2
- package/src/lib/utils/store.ts +0 -50
- package/src/public-api.ts +0 -58
- package/src/styles.css +0 -96
- package/tailwind.config copy.js +0 -33
- package/tailwind.config.js +0 -20
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
- /package/src/lib/base/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/actors/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/actors/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/designer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/designer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/expiration/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/expiration/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/file-render/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/file-render/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/file-upload/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/file-upload/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/flowable-status/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-control/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-control/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-group/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-group/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-response/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-response/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-timer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-timer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-values/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-values/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-viewer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-viewer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/forms/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/forms/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/journal/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/journal/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/my-queue/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/my-queue/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/operation-popup/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/operation-popup/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/stage-details/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/stage-details/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/task-form/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/task-form/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/task-history/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/task-history/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/task-notification/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/task-notification/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/tasks/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/tasks/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/wf/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/wf/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflow/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/workflow/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflow-designer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/workflow-designer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflow-stage/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/workflow-stage/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflows/{index.ts → index.d.ts} +0 -0
- /package/src/lib/models/{index.ts → index.d.ts} +0 -0
- /package/src/lib/models/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/pipes/{index.ts → index.d.ts} +0 -0
- /package/src/lib/pipes/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/services/{index.ts → index.d.ts} +0 -0
- /package/src/lib/shared/{index.ts → index.d.ts} +0 -0
- /package/{src/styles → styles}/styles.css +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { WritableSignal } from '@angular/core';
|
|
2
|
+
import { Tag, Workflow } from 'verben-workflow-ui/src/lib/models';
|
|
3
|
+
import { UtilService } from 'verben-workflow-ui/src/lib/services';
|
|
4
|
+
import { DesignerCanvasComponent } from './designer-canvas/designer-canvas.component';
|
|
5
|
+
import { WorkflowDataService } from './workflow-data.service';
|
|
6
|
+
import { WorkflowDesignerState } from './workflow-designer.state';
|
|
7
|
+
import { ToolType } from './workflow-designer.types';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* The workflow designer's root component and **the only thing
|
|
11
|
+
* `WorkflowDesignerModule` exports** — everything else in this folder is
|
|
12
|
+
* internal.
|
|
13
|
+
*
|
|
14
|
+
* ```html
|
|
15
|
+
* <lib-workflow-designer [workflowCode]="'WOR-QG2LCX'"></lib-workflow-designer>
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* Responsibilities are deliberately narrow: load and save the workflow, host
|
|
19
|
+
* the toolbar and the lane/actor-tag dialogs, and translate toolbar tool
|
|
20
|
+
* selection plus canvas clicks into state mutations. The heavy lifting —
|
|
21
|
+
* rendering and all pointer interaction — belongs to
|
|
22
|
+
* {@link DesignerCanvasComponent}.
|
|
23
|
+
*
|
|
24
|
+
* ## Integration requirements
|
|
25
|
+
*
|
|
26
|
+
* Consuming apps must provide the `ENVIRONMENT` injection token and have a
|
|
27
|
+
* reachable Workflow API; the designer throws on construction without the
|
|
28
|
+
* former and renders empty without the latter. Note there are **no outputs** —
|
|
29
|
+
* saving is driven by the built-in toolbar button, and the host is not notified
|
|
30
|
+
* when it happens.
|
|
31
|
+
*
|
|
32
|
+
* @see ./docs/07-integration.md — full setup guide
|
|
33
|
+
* @see ./docs/01-architecture.md — how this fits with the canvas and state
|
|
34
|
+
*/
|
|
35
|
+
export declare class WorkflowDesignerComponent {
|
|
36
|
+
state: WorkflowDesignerState;
|
|
37
|
+
private dataService;
|
|
38
|
+
private utilService;
|
|
39
|
+
canvasRef: DesignerCanvasComponent;
|
|
40
|
+
/** Code of the workflow to load. `null` renders an empty canvas. */
|
|
41
|
+
workflowCode: string | null;
|
|
42
|
+
/** Active toolbar tool; `null` means pointer mode. */
|
|
43
|
+
selectedTool: ToolType;
|
|
44
|
+
showSwimlaneDialog: boolean;
|
|
45
|
+
showActorTagsDialog: boolean;
|
|
46
|
+
editingSwimlaneIndex: number | null;
|
|
47
|
+
editingSwimlane: WritableSignal<{
|
|
48
|
+
name: string;
|
|
49
|
+
tags: Tag[];
|
|
50
|
+
} | null>;
|
|
51
|
+
isLoading: boolean;
|
|
52
|
+
isSaving: boolean;
|
|
53
|
+
constructor(state: WorkflowDesignerState, dataService: WorkflowDataService, utilService: UtilService);
|
|
54
|
+
ngOnInit(): void;
|
|
55
|
+
saveWorkflow(): void;
|
|
56
|
+
/**
|
|
57
|
+
* Fetches a workflow by code and hands the first result to
|
|
58
|
+
* {@link parseWorkflowData}. Called from `ngOnInit` when `workflowCode` is
|
|
59
|
+
* set.
|
|
60
|
+
*
|
|
61
|
+
* Failures are logged and swallowed — the canvas simply stays empty. If the
|
|
62
|
+
* designer renders blank, check the `ENVIRONMENT` provider and the
|
|
63
|
+
* `WorkFlowAPI` base URL before suspecting the code itself.
|
|
64
|
+
*/
|
|
65
|
+
loadWorkflow(code: string): void;
|
|
66
|
+
/**
|
|
67
|
+
* Maps an API `Workflow` into the designer's editing model — the load-side
|
|
68
|
+
* counterpart to `WorkflowDesignerState.transformToWorkflowModel`.
|
|
69
|
+
*
|
|
70
|
+
* Steps, in order:
|
|
71
|
+
* 1. Reset `swimlanes`, `connections`, and the `*Record` maps, and stash the
|
|
72
|
+
* full workflow for save-time state derivation.
|
|
73
|
+
* 2. Rebuild lanes sorted by `Position`, registering lane-id → index mappings.
|
|
74
|
+
* 3. Rebuild nodes from `Stages`, keyed by `IsSubProcess` into `subflow` or
|
|
75
|
+
* `stage` type, then generate their connection points.
|
|
76
|
+
* 4. Rebuild connections from `Actions`.
|
|
77
|
+
*
|
|
78
|
+
* Nodes are constructed **literally here** rather than through
|
|
79
|
+
* `state.addNode`, so that `stage.Code` is preserved as the node id and
|
|
80
|
+
* identity survives the round trip. That also means this path bypasses
|
|
81
|
+
* `addNode`'s coordinate conversion — stage coordinates come back from the
|
|
82
|
+
* API already lane-relative and are used as-is.
|
|
83
|
+
*
|
|
84
|
+
* ⚠️ **This is the live parser.** `TransformerService.parseWorkflowData` is a
|
|
85
|
+
* dead duplicate reached by nothing — edit this one. See
|
|
86
|
+
* `./docs/06-known-issues.md` section A.
|
|
87
|
+
*/
|
|
88
|
+
parseWorkflowData(workflow: Workflow): void;
|
|
89
|
+
findSwimlaneIndexByLaneId(laneId: string): number;
|
|
90
|
+
onToolSelected(tool: ToolType): void;
|
|
91
|
+
openSwimlaneDialog(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Handles a canvas click by branching on the active tool: opening the
|
|
94
|
+
* swimlane dialog, placing a stage/decision/form node, or starting the
|
|
95
|
+
* subflow picker. The tool resets to `null` after a successful placement.
|
|
96
|
+
*
|
|
97
|
+
* ⚠️ **Sentinel value.** `{ x: -1, y: laneIndex }` is not a position — it
|
|
98
|
+
* means "edit the swimlane at `laneIndex`", emitted by the lane's pencil
|
|
99
|
+
* button. It is intercepted before any placement logic runs. Any change to
|
|
100
|
+
* this method must preserve that check, and callers must never emit a
|
|
101
|
+
* genuine click with `x === -1`.
|
|
102
|
+
*
|
|
103
|
+
* Node placement passes the click Y through **absolute**, with the target
|
|
104
|
+
* lane derived as `Math.floor(event.y / 263)` — the canonical coordinate
|
|
105
|
+
* contract described in `./docs/02-coordinate-system.md`.
|
|
106
|
+
*/
|
|
107
|
+
handleCanvasPositionClick(event: {
|
|
108
|
+
x: number;
|
|
109
|
+
y: number;
|
|
110
|
+
}): void;
|
|
111
|
+
onSwimlaneDialogFilled(event: {
|
|
112
|
+
tags: Tag[];
|
|
113
|
+
name: string;
|
|
114
|
+
}): void;
|
|
115
|
+
onSwimlaneDialogDeleted(): void;
|
|
116
|
+
private finishSwimlaneDelete;
|
|
117
|
+
onSubflowSelected(): void;
|
|
118
|
+
openActorTagsDialog(): void;
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowDesignerComponent, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowDesignerComponent, "lib-workflow-designer", never, { "workflowCode": { "alias": "workflowCode"; "required": false; }; }, {}, never, never, false, never>;
|
|
121
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./workflow-designer.component";
|
|
3
|
+
import * as i2 from "./designer-toolbar/designer-toolbar.component";
|
|
4
|
+
import * as i3 from "./designer-canvas/designer-canvas.component";
|
|
5
|
+
import * as i4 from "./swimlane-dialog/swimlane-dialog.component";
|
|
6
|
+
import * as i5 from "./stage-node/stage-node.component";
|
|
7
|
+
import * as i6 from "./stage-dialog/stage-dialog.component";
|
|
8
|
+
import * as i7 from "./conditions-popup/conditions-popup.component";
|
|
9
|
+
import * as i8 from "./decision-popup/decision-popup.component";
|
|
10
|
+
import * as i9 from "./escalation-dialog/escalation-dialog.component";
|
|
11
|
+
import * as i10 from "./action-dialog/action-dialog.component";
|
|
12
|
+
import * as i11 from "./actor-tags-dialog/actor-tags-dialog.component";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "verben-ng-ui";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
16
|
+
import * as i15 from "verben-workflow-ui/src/lib/components/designer";
|
|
17
|
+
import * as i16 from "verben-reporting-ui";
|
|
18
|
+
/**
|
|
19
|
+
* The workflow designer feature module.
|
|
20
|
+
*
|
|
21
|
+
* 📖 **Documentation: [`./docs/README.md`](./docs/README.md)** — architecture,
|
|
22
|
+
* the coordinate system, data model, interactions, persistence, known issues,
|
|
23
|
+
* integration guide, API reference, and development workflow.
|
|
24
|
+
*
|
|
25
|
+
* Declares eleven components and exports exactly one,
|
|
26
|
+
* {@link WorkflowDesignerComponent}; everything else is internal.
|
|
27
|
+
*
|
|
28
|
+
* Requires `verben-ng-ui` (seven modules) and `verben-reporting-ui`
|
|
29
|
+
* (`EditorModule`) at runtime, and an `ENVIRONMENT` provider in the host app.
|
|
30
|
+
* See `./docs/07-integration.md`.
|
|
31
|
+
*
|
|
32
|
+
* Note: the five `services/` classes listed in `providers` are all
|
|
33
|
+
* `providedIn: 'root'` already, so those entries are redundant. Two of them
|
|
34
|
+
* (`TransformerService`, `ConnectionService`) are not reached from any UI path
|
|
35
|
+
* at all — see `./docs/06-known-issues.md`.
|
|
36
|
+
*/
|
|
37
|
+
export declare class WorkflowDesignerModule {
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowDesignerModule, never>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WorkflowDesignerModule, [typeof i1.WorkflowDesignerComponent, typeof i2.DesignerToolbarComponent, typeof i3.DesignerCanvasComponent, typeof i4.SwimlaneDialogComponent, typeof i5.StageNodeComponent, typeof i6.StageDialogComponent, typeof i7.ConditionsPopupComponent, typeof i8.DecisionPopupComponent, typeof i9.EscalationDialogComponent, typeof i10.ActionDialogComponent, typeof i11.ActorTagsDialogComponent], [typeof i12.CommonModule, typeof i13.VerbenDialogueModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i13.VerbenPopUpModule, typeof i13.VerbenaButtonModule, typeof i13.DropDownModule, typeof i15.LabelEditorComponent, typeof i16.EditorModule, typeof i13.VerbenaInputModule, typeof i13.VerbenaSwitchModule, typeof i13.VerbenaTextareaModule, typeof i13.NumberInputModule], [typeof i1.WorkflowDesignerComponent]>;
|
|
40
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WorkflowDesignerModule>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import { SwimLane, Tag, Workflow, WorkflowAction, WorkflowStage } from 'verben-workflow-ui/src/lib/models';
|
|
2
|
+
import { Connection, ConnectionPoint, Node, SwimlaneItem, ToolType } from './workflow-designer.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* The designer's single source of truth — and, in practice, its domain-logic
|
|
6
|
+
* god object. Holds the entire editing model plus most of the behaviour that
|
|
7
|
+
* operates on it: node placement, connection creation and routing, connection
|
|
8
|
+
* rules, swimlane management, and the whole save-time transform.
|
|
9
|
+
*
|
|
10
|
+
* ## How mutation works here
|
|
11
|
+
*
|
|
12
|
+
* This is a `providedIn: 'root'` singleton injected **by reference** into every
|
|
13
|
+
* component that touches the model. Components mutate its arrays directly
|
|
14
|
+
* (`state.connections.push(...)`) — there is no store, reducer, or action
|
|
15
|
+
* indirection. Change detection works because templates iterate
|
|
16
|
+
* `state.swimlanes` / `state.connections` with `@for`.
|
|
17
|
+
*
|
|
18
|
+
* The one deliberate exception is {@link moveNodeToSwimlane}, which reassigns
|
|
19
|
+
* arrays immutably so `@for` re-renders **both** the source and target lanes.
|
|
20
|
+
* In-place mutation is fine everywhere else, but not across two lanes at once.
|
|
21
|
+
*
|
|
22
|
+
* ## Before you change this class
|
|
23
|
+
*
|
|
24
|
+
* A parallel implementation exists under `services/` (`NodeManagementService`,
|
|
25
|
+
* `ConnectionService`, `TransformerService`, ...) that duplicates much of this
|
|
26
|
+
* logic. It is only partially wired in, and the copies have **drifted** — the
|
|
27
|
+
* two disagree on node placement offsets, connection endpoint offsets, and
|
|
28
|
+
* which node types may connect. This class is the live path; the services are
|
|
29
|
+
* mostly not. Change this one.
|
|
30
|
+
*
|
|
31
|
+
* @see ./docs/01-architecture.md — the split-brain problem in full
|
|
32
|
+
* @see ./docs/02-coordinate-system.md — read before touching any coordinate math
|
|
33
|
+
* @see ./docs/06-known-issues.md — the catalogued divergences
|
|
34
|
+
*/
|
|
35
|
+
export declare class WorkflowDesignerState {
|
|
36
|
+
/** Ordered lanes. Each owns its own nodes; there is no flat node list. */
|
|
37
|
+
swimlanes: SwimlaneItem[];
|
|
38
|
+
/** Id of the workflow's entry-point node. */
|
|
39
|
+
startNodeId: string | null;
|
|
40
|
+
/** All edges, flat across lanes. */
|
|
41
|
+
connections: Connection[];
|
|
42
|
+
draggingConnectionData: {
|
|
43
|
+
sourcePoint?: ConnectionPoint;
|
|
44
|
+
sourceSwimlaneIndex?: number;
|
|
45
|
+
startX?: number;
|
|
46
|
+
startY?: number;
|
|
47
|
+
currentX?: number;
|
|
48
|
+
currentY?: number;
|
|
49
|
+
};
|
|
50
|
+
workflowFormId: string | null;
|
|
51
|
+
workflowFormName: string | null;
|
|
52
|
+
workflowId: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* The workflow exactly as loaded from the API.
|
|
55
|
+
*
|
|
56
|
+
* This and the three `*Record` maps below are kept so that save can tell new
|
|
57
|
+
* objects from changed ones and emit the correct `ObjectState`. Losing them
|
|
58
|
+
* makes every entity look new on the next save.
|
|
59
|
+
*/
|
|
60
|
+
workflow: Workflow | null;
|
|
61
|
+
/** Originally-loaded lanes, keyed by id. */
|
|
62
|
+
swimlaneRecord: Record<string, SwimLane>;
|
|
63
|
+
/** Originally-loaded stages, keyed by id. */
|
|
64
|
+
stageRecord: Record<string, WorkflowStage>;
|
|
65
|
+
/** Originally-loaded actions, keyed by id. */
|
|
66
|
+
actionRecord: Record<string, WorkflowAction>;
|
|
67
|
+
setWorkflowId(id: string): void;
|
|
68
|
+
laneIdToIndexMap: Map<string, number>;
|
|
69
|
+
/**
|
|
70
|
+
* Which node types each source type may connect to. Consulted by
|
|
71
|
+
* {@link canConnect} and {@link getAllowedTargetNodeTypes}.
|
|
72
|
+
*
|
|
73
|
+
* Forms are terminal sinks — they accept incoming edges but have no outgoing
|
|
74
|
+
* ones, which is why `form` maps to an empty list.
|
|
75
|
+
*
|
|
76
|
+
* ⚠️ `ConnectionService` holds a **different** copy of this table that also
|
|
77
|
+
* allows `stage → form`. The two have drifted; this one is the live path.
|
|
78
|
+
* See `./docs/06-known-issues.md` section A.
|
|
79
|
+
*/
|
|
80
|
+
private readonly connectionRules;
|
|
81
|
+
setWorkflowForm(formId: string | null, formName: string | null): void;
|
|
82
|
+
addSwimlane(name: string, tags: Tag[]): void;
|
|
83
|
+
registerLaneMapping(laneId: string, swimlaneIndex: number): void;
|
|
84
|
+
/**
|
|
85
|
+
* Builds the attachment points for a node, laid out to match its rendered
|
|
86
|
+
* shape. Returned coordinates are **relative to the node's own origin**.
|
|
87
|
+
*
|
|
88
|
+
* Layout per type:
|
|
89
|
+
* - **stage** — points every 50px along all four edges.
|
|
90
|
+
* - **decision** — one point at each of the diamond's four edge midpoints.
|
|
91
|
+
* - **form** — `left` (input) points only; forms are terminal sinks.
|
|
92
|
+
* - **subflow** — top, bottom, and two points on each of left and right.
|
|
93
|
+
*
|
|
94
|
+
* Regenerate these whenever a node's size or type changes, or connections
|
|
95
|
+
* will reference point ids that no longer exist.
|
|
96
|
+
*/
|
|
97
|
+
generateConnectionPoints(node: Node): ConnectionPoint[];
|
|
98
|
+
/**
|
|
99
|
+
* Creates a node in a swimlane and returns it (or `null` if the lane or type
|
|
100
|
+
* is invalid).
|
|
101
|
+
*
|
|
102
|
+
* ## Coordinate contract — callers must obey both halves
|
|
103
|
+
*
|
|
104
|
+
* 1. `y` must be an **absolute canvas Y**, not lane-relative. This method
|
|
105
|
+
* converts it internally (`y - swimlaneIndex * 263`).
|
|
106
|
+
* 2. `swimlaneIndex` must be the **drop-target** lane — the lane the node is
|
|
107
|
+
* landing in — not the lane a drag started from.
|
|
108
|
+
*
|
|
109
|
+
* Violating either half double-subtracts the lane offset and the node renders
|
|
110
|
+
* roughly one lane too high, attached to the wrong swimlane. That was the
|
|
111
|
+
* connection-drop bug; `designer-canvas.connection-drop.spec.ts` pins it.
|
|
112
|
+
*
|
|
113
|
+
* The canonical correct caller is toolbar placement in
|
|
114
|
+
* `workflow-designer.component.ts`:
|
|
115
|
+
*
|
|
116
|
+
* ```ts
|
|
117
|
+
* const swimlaneIndex = Math.floor(event.y / 263); // target lane from drop Y
|
|
118
|
+
* this.state.addNode(swimlaneIndex, 'stage', event.x, event.y /* absolute *\/);
|
|
119
|
+
* ```
|
|
120
|
+
*
|
|
121
|
+
* The first node created in an empty workflow is automatically marked as the
|
|
122
|
+
* start node.
|
|
123
|
+
*
|
|
124
|
+
* ⚠️ `NodeManagementService.addNode` applies an extra `- 40` that this method
|
|
125
|
+
* and the render template do not. See `./docs/06-known-issues.md` section A.
|
|
126
|
+
*
|
|
127
|
+
* @param swimlaneIndex Target lane index (the lane the node lands in).
|
|
128
|
+
* @param type Node type; `'swimlane'` and `'action'` are rejected.
|
|
129
|
+
* @param x Canvas X.
|
|
130
|
+
* @param y **Absolute** canvas Y.
|
|
131
|
+
* @param useExistingId Reuse `stageData.Code` as the node id instead of
|
|
132
|
+
* generating one — used when rebuilding nodes from a loaded workflow so
|
|
133
|
+
* they keep their backend identity.
|
|
134
|
+
*/
|
|
135
|
+
addNode(swimlaneIndex: number, type: ToolType, x: number, y: number, stageData?: Partial<WorkflowStage>, workflowData?: {
|
|
136
|
+
id: string;
|
|
137
|
+
name: string;
|
|
138
|
+
}, useExistingId?: boolean): Node | null;
|
|
139
|
+
getNodeCount(): number;
|
|
140
|
+
findNodeById(id: string): {
|
|
141
|
+
node: Node;
|
|
142
|
+
swimlaneIndex: number;
|
|
143
|
+
} | null;
|
|
144
|
+
findActionById(connectionId: string): Connection | null;
|
|
145
|
+
startConnectionDrag(point: ConnectionPoint, swimlaneIndex: number, globalX: number, globalY: number): void;
|
|
146
|
+
updateConnectionDrag(currentX: number, currentY: number): void;
|
|
147
|
+
endConnectionDrag(): void;
|
|
148
|
+
isConnectionDragging(): boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Endpoints for the **in-progress** connection preview line: from the source
|
|
151
|
+
* point (resolved to absolute canvas space) to the current cursor position.
|
|
152
|
+
*
|
|
153
|
+
* Returns `null` when no drag is active. For a *saved* connection's
|
|
154
|
+
* endpoints, use {@link getConnectionData} instead.
|
|
155
|
+
*/
|
|
156
|
+
getConnectionPathData(): {
|
|
157
|
+
startX: number;
|
|
158
|
+
startY: number;
|
|
159
|
+
endX: number;
|
|
160
|
+
endY: number;
|
|
161
|
+
sourceSwimlaneIndex: number;
|
|
162
|
+
} | null;
|
|
163
|
+
/**
|
|
164
|
+
* Completes the in-progress drag by pushing a `Connection` from the recorded
|
|
165
|
+
* source point to the given target, and returns it.
|
|
166
|
+
*
|
|
167
|
+
* Reads the source from {@link draggingConnectionData}, so it is only valid
|
|
168
|
+
* during a drag — returns `null` if no source was recorded.
|
|
169
|
+
*
|
|
170
|
+
* Note this does **not** check {@link canConnect}; callers are expected to
|
|
171
|
+
* have validated the pairing before calling. The new connection has an empty
|
|
172
|
+
* label and no action — those are filled in afterwards via the action dialog.
|
|
173
|
+
*/
|
|
174
|
+
createConnection(targetNodeId: string, targetPointId: string, targetSwimlaneIndex: number): Connection | null;
|
|
175
|
+
/**
|
|
176
|
+
* Resolves a saved connection's endpoints into **absolute canvas
|
|
177
|
+
* coordinates** for rendering:
|
|
178
|
+
*
|
|
179
|
+
* ```
|
|
180
|
+
* startY = sourceNode.y + sourcePoint.y + connection.sourceSwimlaneIndex * 263
|
|
181
|
+
* endY = targetNode.y + targetPoint.y + connection.targetSwimlaneIndex * 263
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
184
|
+
* Both offsets are needed because `node.y` is lane-relative and `point.y` is
|
|
185
|
+
* node-relative.
|
|
186
|
+
*
|
|
187
|
+
* Returns `null` if either endpoint's node no longer exists — callers should
|
|
188
|
+
* treat that as "skip rendering this edge", not as an error.
|
|
189
|
+
*
|
|
190
|
+
* ⚠️ Relies on the connection's denormalised lane indices being current. A
|
|
191
|
+
* node moved between lanes without its connections updated renders detached.
|
|
192
|
+
*
|
|
193
|
+
* ⚠️ `ConnectionService.getConnectionData` adds a further `+ 40` here. The two
|
|
194
|
+
* disagree; this is the live path. See `./docs/06-known-issues.md` section A.
|
|
195
|
+
*/
|
|
196
|
+
getConnectionData(connection: Connection): {
|
|
197
|
+
startX: number;
|
|
198
|
+
startY: number;
|
|
199
|
+
endX: number;
|
|
200
|
+
endY: number;
|
|
201
|
+
sourceSwimlaneIndex: number;
|
|
202
|
+
targetSwimlaneIndex: number;
|
|
203
|
+
} | null;
|
|
204
|
+
/**
|
|
205
|
+
* Whether an edge from `sourceNodeType` to `targetNodeType` is permitted by
|
|
206
|
+
* {@link connectionRules}. Unknown types return `false`.
|
|
207
|
+
*/
|
|
208
|
+
canConnect(sourceNodeType: string, targetNodeType: string): boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Node types the in-progress drag is allowed to land on. Drives the choices
|
|
211
|
+
* offered in the node-type popup when a connection is dropped on empty
|
|
212
|
+
* canvas. Empty when no drag is active.
|
|
213
|
+
*/
|
|
214
|
+
getAllowedTargetNodeTypes(): string[];
|
|
215
|
+
/**
|
|
216
|
+
* Deletes a swimlane. Only succeeds when the lane has no nodes — stages must
|
|
217
|
+
* be moved to another lane first. Returns false when the lane still has nodes
|
|
218
|
+
* or the index is out of range.
|
|
219
|
+
*
|
|
220
|
+
* Keeps everything aligned after removal:
|
|
221
|
+
* - Re-sequences `order` on the remaining lanes (immutable reassignment so
|
|
222
|
+
* Angular's @for blocks re-render).
|
|
223
|
+
* - Decrements the swimlane indices stored on connections whose endpoints
|
|
224
|
+
* live below the removed lane, since those lanes shift up by one.
|
|
225
|
+
*
|
|
226
|
+
* The lane's original record is left in `swimlaneRecord`, so a previously
|
|
227
|
+
* loaded lane is emitted with `ObjectState.Removed` by
|
|
228
|
+
* `transformToWorkflowModel`; a never-saved lane simply disappears.
|
|
229
|
+
*/
|
|
230
|
+
deleteSwimlane(index: number): boolean;
|
|
231
|
+
updateSwimlane(index: number, name: string, tags: Tag[]): void;
|
|
232
|
+
/**
|
|
233
|
+
* Rebuilds the full `Workflow` API model from the current editing state —
|
|
234
|
+
* the save-side counterpart to `parseWorkflowData` in
|
|
235
|
+
* `workflow-designer.component.ts`.
|
|
236
|
+
*
|
|
237
|
+
* Mapping:
|
|
238
|
+
* - swimlanes → `Lanes`
|
|
239
|
+
* - stage **and subflow** nodes → `Stages` (subflows carry `IsSubProcess: true`)
|
|
240
|
+
* - connections → `Actions`
|
|
241
|
+
*
|
|
242
|
+
* Each entity's `DataState` is derived by looking it up in `swimlaneRecord` /
|
|
243
|
+
* `stageRecord` / `actionRecord`: found means `Changed`, absent means `New`.
|
|
244
|
+
* Clearing those maps therefore makes everything save as new.
|
|
245
|
+
*
|
|
246
|
+
* ⚠️ Decision and form nodes are **not** emitted as stages — only `stage` and
|
|
247
|
+
* `subflow` are. Decision semantics survive through the conditions on their
|
|
248
|
+
* connections.
|
|
249
|
+
*
|
|
250
|
+
* ⚠️ When no workflow was loaded, the header is hard-coded (`Name: 'New
|
|
251
|
+
* Workflow'`, empty description, default assignment and status) because the
|
|
252
|
+
* designer has no UI for editing it. See `./docs/06-known-issues.md` section G.
|
|
253
|
+
*
|
|
254
|
+
* This only builds the payload; `WorkflowDataService.saveWorkflows` sends it.
|
|
255
|
+
* Deletions are not part of this — they are issued eagerly at the point of
|
|
256
|
+
* user action. See `./docs/08-api-reference.md` section 3.
|
|
257
|
+
*/
|
|
258
|
+
transformToWorkflowModel(): Workflow;
|
|
259
|
+
getConnectionPointType(pointId: string): 'top' | 'right' | 'bottom' | 'left' | undefined;
|
|
260
|
+
loadedObjectIds: {
|
|
261
|
+
[key: string]: string;
|
|
262
|
+
};
|
|
263
|
+
registerLoadedObject(id: string, code: string): void;
|
|
264
|
+
wasLoadedFromApi(id: string): boolean;
|
|
265
|
+
getCodeForObject(id: string): string;
|
|
266
|
+
/**
|
|
267
|
+
* Moves a node from one swimlane to another and updates all related state:
|
|
268
|
+
* - Node position (swimlane-relative x/y)
|
|
269
|
+
* - Swimlane arrays (removes from old, adds to new)
|
|
270
|
+
* - Connection swimlane indices for this node
|
|
271
|
+
* - Node's stageData.Tags and SwimLane to match the destination swimlane
|
|
272
|
+
*/
|
|
273
|
+
moveNodeToSwimlane(nodeId: string, fromSwimlaneIndex: number, toSwimlaneIndex: number, newX: number, absoluteY: number): Node | null;
|
|
274
|
+
/** Swimlane height constant used for coordinate conversions. */
|
|
275
|
+
readonly swimlaneHeight = 263;
|
|
276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowDesignerState, never>;
|
|
277
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<WorkflowDesignerState>;
|
|
278
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runtime types for the workflow designer.
|
|
3
|
+
*
|
|
4
|
+
* These interfaces are the live model — the class hierarchy in
|
|
5
|
+
* `workflow-designer.models.ts` is unused. See `./docs/03-data-model.md`.
|
|
6
|
+
*
|
|
7
|
+
* ## Coordinate spaces
|
|
8
|
+
*
|
|
9
|
+
* Three different spaces appear in these types, and mixing them is the most
|
|
10
|
+
* common source of bugs in this module:
|
|
11
|
+
*
|
|
12
|
+
* - **Absolute canvas space** — what the mouse reports. Y grows down across all
|
|
13
|
+
* swimlanes.
|
|
14
|
+
* - **Lane-relative space** — `Node.x/y`. Y is measured from the top of the
|
|
15
|
+
* node's own swimlane.
|
|
16
|
+
* - **Node-relative space** — `ConnectionPoint.x/y`. Measured from the node's
|
|
17
|
+
* own origin.
|
|
18
|
+
*
|
|
19
|
+
* Converting between them uses the swimlane height (263) and nothing else:
|
|
20
|
+
*
|
|
21
|
+
* ```
|
|
22
|
+
* absoluteY = node.y + swimlane.order * 263 // render a node
|
|
23
|
+
* node.y = absoluteY - swimlane.order * 263 // store a drop
|
|
24
|
+
* absoluteY = node.y + laneIndex * 263 + point.y // resolve a point
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* See `./docs/02-coordinate-system.md` before touching any of this.
|
|
28
|
+
*/
|
|
29
|
+
import { Tag, WorkflowStage } from 'verben-workflow-ui/src/lib/models';
|
|
30
|
+
/**
|
|
31
|
+
* Tools available in the designer toolbar. `null` means no tool is selected
|
|
32
|
+
* (pointer mode); re-selecting the active tool clears it back to `null`.
|
|
33
|
+
*
|
|
34
|
+
* Note: `'action'` is largely vestigial. Connections are created by dragging
|
|
35
|
+
* from a node's connection point, not by selecting this tool and clicking.
|
|
36
|
+
*/
|
|
37
|
+
export type ToolType = 'swimlane' | 'stage' | 'action' | 'form' | 'decision' | 'subflow' | null;
|
|
38
|
+
/**
|
|
39
|
+
* A horizontal band representing one role/actor group. Swimlanes own their
|
|
40
|
+
* nodes — there is no flat node list anywhere in the designer.
|
|
41
|
+
*/
|
|
42
|
+
export interface SwimlaneItem {
|
|
43
|
+
/**
|
|
44
|
+
* 0-based vertical position, and the multiplier for every coordinate
|
|
45
|
+
* conversion: this lane's band spans absolute Y `[order * 263, (order+1) * 263)`.
|
|
46
|
+
*/
|
|
47
|
+
order: number;
|
|
48
|
+
/** Display name shown in the lane header. */
|
|
49
|
+
label: string;
|
|
50
|
+
/** Actor tags that own this lane. */
|
|
51
|
+
tags: Tag[];
|
|
52
|
+
/** Nodes placed in this lane. */
|
|
53
|
+
nodes?: Node[];
|
|
54
|
+
/** Backend lane id. Absent for lanes created in-session until first save. */
|
|
55
|
+
id?: string;
|
|
56
|
+
}
|
|
57
|
+
/** A single element on the canvas: a stage, decision, form, or subflow. */
|
|
58
|
+
export interface Node {
|
|
59
|
+
/** Client-generated id. */
|
|
60
|
+
id: string;
|
|
61
|
+
/** Shape, connection-point layout, and connection rules all key off this. */
|
|
62
|
+
type: 'stage' | 'decision' | 'form' | 'subflow';
|
|
63
|
+
/** Canvas X. Plain — there is no per-lane X offset. */
|
|
64
|
+
x: number;
|
|
65
|
+
/**
|
|
66
|
+
* Y **relative to the owning swimlane**, not absolute.
|
|
67
|
+
* Render with `y + swimlane.order * 263`. This asymmetry with `x` is the
|
|
68
|
+
* single most misread part of the model.
|
|
69
|
+
*/
|
|
70
|
+
y: number;
|
|
71
|
+
/** Stage nodes are 169 wide, subflow nodes 150. */
|
|
72
|
+
width: number;
|
|
73
|
+
/** 100 for both stage and subflow nodes. */
|
|
74
|
+
height: number;
|
|
75
|
+
/** Whether this node is the workflow's entry point. */
|
|
76
|
+
isStartNode: boolean;
|
|
77
|
+
/** Attachment points, generated per shape by `generateConnectionPoints`. */
|
|
78
|
+
connectionPoints?: ConnectionPoint[];
|
|
79
|
+
/** Backing stage record. Populated for `type: 'stage'`. */
|
|
80
|
+
stageData?: Partial<WorkflowStage & {
|
|
81
|
+
formId?: string;
|
|
82
|
+
formName?: string;
|
|
83
|
+
}>;
|
|
84
|
+
/** Target workflow. Populated for `type: 'subflow'`. */
|
|
85
|
+
workflowData?: {
|
|
86
|
+
id: string;
|
|
87
|
+
name: string;
|
|
88
|
+
} | null;
|
|
89
|
+
/** Set when this node fans out to more than one target. */
|
|
90
|
+
hasMultipleConnectedStages?: boolean;
|
|
91
|
+
/** Whether outgoing branches execute in parallel. */
|
|
92
|
+
hasParallelStages?: boolean;
|
|
93
|
+
}
|
|
94
|
+
/** An attachment point on a node's edge, where connections start and end. */
|
|
95
|
+
export interface ConnectionPoint {
|
|
96
|
+
id: string;
|
|
97
|
+
/** The node this point belongs to. */
|
|
98
|
+
nodeId: string;
|
|
99
|
+
/** X relative to the **node's** origin — not the canvas, not the lane. */
|
|
100
|
+
x: number;
|
|
101
|
+
/** Y relative to the **node's** origin — not the canvas, not the lane. */
|
|
102
|
+
y: number;
|
|
103
|
+
/** Which edge the point sits on. */
|
|
104
|
+
type: 'top' | 'right' | 'bottom' | 'left';
|
|
105
|
+
}
|
|
106
|
+
/** An edge between two nodes; persists as a workflow action. */
|
|
107
|
+
export interface Connection {
|
|
108
|
+
id: string;
|
|
109
|
+
sourceNodeId: string;
|
|
110
|
+
targetNodeId: string;
|
|
111
|
+
sourcePointId: string;
|
|
112
|
+
targetPointId: string;
|
|
113
|
+
/**
|
|
114
|
+
* Denormalised lane index of the source node, used directly in endpoint math.
|
|
115
|
+
* ⚠️ Must be refreshed when the source node moves lanes, or the edge renders
|
|
116
|
+
* detached from its node.
|
|
117
|
+
*/
|
|
118
|
+
sourceSwimlaneIndex: number;
|
|
119
|
+
/** Denormalised lane index of the target node. Same caveat as above. */
|
|
120
|
+
targetSwimlaneIndex: number;
|
|
121
|
+
/** Branch condition. Set on edges leaving a decision node. */
|
|
122
|
+
condition?: string;
|
|
123
|
+
/** Edge label. */
|
|
124
|
+
label: string;
|
|
125
|
+
/** Backing workflow action. */
|
|
126
|
+
action: string | null;
|
|
127
|
+
/** Flowable status applied when this edge is traversed. */
|
|
128
|
+
targetStatus?: string;
|
|
129
|
+
position: number;
|
|
130
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { EventEmitter, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { DataType, VerbenPopUpComponent } from 'verben-ng-ui';
|
|
3
|
+
import { ActionHistory, Actor, Form, Task } from 'verben-workflow-ui/src/lib/models';
|
|
4
|
+
import { HttpWebRequestService, UtilService } from 'verben-workflow-ui/src/lib/services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class WorkflowStageComponent {
|
|
7
|
+
private utilService;
|
|
8
|
+
private server;
|
|
9
|
+
historyToDate: any[];
|
|
10
|
+
taskCode: string | null;
|
|
11
|
+
forms: any;
|
|
12
|
+
isVisible: boolean;
|
|
13
|
+
readOnly: boolean;
|
|
14
|
+
active: number;
|
|
15
|
+
dataType: DataType;
|
|
16
|
+
commentText: string;
|
|
17
|
+
isFormViewerVisible: boolean;
|
|
18
|
+
activeForm: Form | null;
|
|
19
|
+
currentActors: any[];
|
|
20
|
+
user: string | null;
|
|
21
|
+
userName: string | null;
|
|
22
|
+
nextActions: any[];
|
|
23
|
+
task: Task | null;
|
|
24
|
+
onActionCompleted: EventEmitter<any>;
|
|
25
|
+
onPickCompleted: EventEmitter<any>;
|
|
26
|
+
onCommentCompleted: EventEmitter<any>;
|
|
27
|
+
onFormCompleted: EventEmitter<any>;
|
|
28
|
+
onOpen: EventEmitter<any>;
|
|
29
|
+
onClose: EventEmitter<any>;
|
|
30
|
+
popUps: QueryList<VerbenPopUpComponent>;
|
|
31
|
+
popUp2s: QueryList<VerbenPopUpComponent>;
|
|
32
|
+
popUp3s: QueryList<VerbenPopUpComponent>;
|
|
33
|
+
popUp4s: QueryList<VerbenPopUpComponent>;
|
|
34
|
+
localHistoryToDate: ActionHistory[];
|
|
35
|
+
localNextActions: any[];
|
|
36
|
+
taskForms: any;
|
|
37
|
+
selectedAction: any;
|
|
38
|
+
nextActors: Actor[];
|
|
39
|
+
selectedRecipient: string | null;
|
|
40
|
+
selectedStageCode: string | null;
|
|
41
|
+
pickComment: string;
|
|
42
|
+
pickRecipient: string | null;
|
|
43
|
+
pickActors: {
|
|
44
|
+
Name: string;
|
|
45
|
+
Identifier: string;
|
|
46
|
+
}[];
|
|
47
|
+
constructor(utilService: UtilService, server: HttpWebRequestService);
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
50
|
+
submitForm(groupIndex: number): void;
|
|
51
|
+
areRequiredPropertiesFilled(properties?: any[]): boolean;
|
|
52
|
+
openCommentFor(action: any): void;
|
|
53
|
+
loadNextActors(stageCode: string | undefined): Promise<void>;
|
|
54
|
+
handleDataChanges(): void;
|
|
55
|
+
closePopUp(): void;
|
|
56
|
+
closePopUp2(): void;
|
|
57
|
+
completeAction(action: any): void;
|
|
58
|
+
onModalOpen(event: any): void;
|
|
59
|
+
onModalClose(event: any): void;
|
|
60
|
+
disableNotActor(): boolean;
|
|
61
|
+
canPick(): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* A task already sitting on someone's desk is taken over via re-assignment;
|
|
64
|
+
* one with no current actors is unclaimed and gets picked.
|
|
65
|
+
*/
|
|
66
|
+
isReassign(): boolean;
|
|
67
|
+
openPickPopup(): void;
|
|
68
|
+
submitPick(): Promise<void>;
|
|
69
|
+
private pickTask;
|
|
70
|
+
private reassignTask;
|
|
71
|
+
closePopUp4(): void;
|
|
72
|
+
loadFormIfExists(stage: string | undefined): Promise<void>;
|
|
73
|
+
onFormViewerOpen(): void;
|
|
74
|
+
onFormViewerClose(): void;
|
|
75
|
+
closePopUp3(): void;
|
|
76
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowStageComponent, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowStageComponent, "app-workflow-stage", never, { "historyToDate": { "alias": "historyToDate"; "required": false; }; "taskCode": { "alias": "taskCode"; "required": false; }; "forms": { "alias": "forms"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "currentActors": { "alias": "currentActors"; "required": false; }; "user": { "alias": "user"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "nextActions": { "alias": "nextActions"; "required": false; }; "task": { "alias": "task"; "required": false; }; }, { "onActionCompleted": "onActionCompleted"; "onPickCompleted": "onPickCompleted"; "onCommentCompleted": "onCommentCompleted"; "onFormCompleted": "onFormCompleted"; "onOpen": "onOpen"; "onClose": "onClose"; }, never, never, false, never>;
|
|
78
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./workflow-stage.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "verben-ng-ui";
|
|
6
|
+
import * as i5 from "verben-workflow-ui/src/lib/components/form-control";
|
|
7
|
+
import * as i6 from "verben-workflow-ui/src/lib/components/form-viewer";
|
|
8
|
+
export declare class WorkFlowStageLibModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<WorkFlowStageLibModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WorkFlowStageLibModule, [typeof i1.WorkflowStageComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DataTableModule, typeof i4.SvgModule, typeof i4.VerbenPopUpModule, typeof i4.DataViewModule, typeof i4.VerbenaButtonModule, typeof i4.CardDataViewModule, typeof i4.DropDownModule, typeof i4.VerbenaSwitchModule, typeof i4.TableFilterModule, typeof i4.VisibleColumnModule, typeof i4.SortTableModule, typeof i4.DataExportModule, typeof i4.TooltipModule, typeof i4.VerbenDialogueModule, typeof i4.VerbenaInputModule, typeof i5.FormControlerModule, typeof i6.FormViewerLibModule], [typeof i1.WorkflowStageComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<WorkFlowStageLibModule>;
|
|
12
|
+
}
|