verben-workflow-ui 0.6.5 → 0.6.6
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/ng-package.json +15 -0
- package/package.json +8 -193
- package/src/lib/base/core/base-data-page.facade.ts +533 -0
- package/src/lib/base/core/base-data-page.service.ts +222 -0
- package/src/lib/base/core/base-data-page.state.ts +287 -0
- package/src/lib/base/handlers/filter-handler.service.ts +169 -0
- package/src/lib/base/handlers/search-handler.service.ts +33 -0
- package/src/lib/base/handlers/sort-handler.service.ts +93 -0
- package/src/lib/base/models/api-payload.ts +13 -0
- package/src/lib/base/models/page-config.interface.ts +49 -0
- package/src/lib/base/models/page-filter-tab-option.interface.ts +20 -0
- package/src/lib/base/ng-package.json +6 -0
- package/src/lib/base/public-api.ts +16 -0
- package/src/lib/base/utils/column-helpers.ts +77 -0
- package/src/lib/components/actors/actors.columns.ts +40 -0
- package/src/lib/components/actors/actors.component.css +0 -0
- package/src/lib/components/actors/actors.component.html +320 -0
- package/src/lib/components/actors/actors.component.spec.ts +23 -0
- package/src/lib/components/actors/actors.component.ts +221 -0
- package/src/lib/components/actors/actors.config.ts +55 -0
- package/src/lib/components/actors/actors.facade.ts +71 -0
- package/src/lib/components/actors/actors.form.component.html +37 -0
- package/src/lib/components/actors/actors.form.component.ts +69 -0
- package/src/lib/components/actors/actors.model.ts +4 -0
- package/src/lib/components/actors/actors.module.ts +13 -0
- package/src/lib/components/actors/actors.service.ts +85 -0
- package/src/lib/components/actors/actors.state.ts +31 -0
- package/src/lib/components/actors/ng-package.json +6 -0
- package/src/lib/components/designer/components/label-editor.component.ts +188 -0
- package/src/lib/components/designer/components/node-selector.component.ts +208 -0
- package/src/lib/components/designer/components/swimlane-label.component.ts +102 -0
- package/src/lib/components/designer/components/swimlane-popup.component.ts +51 -0
- package/src/lib/components/designer/components/wf-canvas.component.ts +495 -0
- package/src/lib/components/designer/components/wf-designer.component.ts +182 -0
- package/src/lib/components/designer/components/wf-node.component.ts +91 -0
- package/src/lib/components/designer/components/wf-properties-popup.component.ts +257 -0
- package/src/lib/components/designer/components/wf-toolbar.component.ts +84 -0
- package/src/lib/components/designer/models/types.ts +133 -0
- package/src/lib/components/designer/ng-package.json +6 -0
- package/src/lib/components/designer/services/canvas-state.service.ts +63 -0
- package/src/lib/components/designer/services/connection-segment-interaction.service.ts +141 -0
- package/src/lib/components/designer/services/connection.service.ts +351 -0
- package/src/lib/components/designer/services/keyboard-handler.service.ts +39 -0
- package/src/lib/components/designer/services/label-management.service.ts +72 -0
- package/src/lib/components/designer/services/node-finder.service.ts +34 -0
- package/src/lib/components/designer/services/node-interaction.service.ts +135 -0
- package/src/lib/components/designer/services/node-placement.service.ts +77 -0
- package/src/lib/components/designer/services/node-precondition.service.ts +138 -0
- package/src/lib/components/designer/services/node-renderer.service.ts +97 -0
- package/src/lib/components/designer/services/node-selection.service.ts +110 -0
- package/src/lib/components/designer/services/orthogonal-router.service.ts +233 -0
- package/src/lib/components/designer/services/position-update.service.ts +56 -0
- package/src/lib/components/designer/services/rendering.service.ts +296 -0
- package/src/lib/components/designer/services/swimlane-management.service.ts +189 -0
- package/src/lib/components/designer/services/swimlane-stats.service.ts +53 -0
- package/src/lib/components/designer/services/tag-helper.service.ts +80 -0
- package/src/lib/components/designer/services/viewport.service.ts +30 -0
- package/src/lib/components/designer/services/wf-facade.service.ts +287 -0
- package/src/lib/components/designer/services/wf-mapper.service.ts +450 -0
- package/src/lib/components/designer/services/wf-persistence.service.ts +184 -0
- package/src/lib/components/designer/services/wf-state.service.ts +143 -0
- package/src/lib/components/expiration/expiration.component.css +0 -0
- package/src/lib/components/expiration/expiration.component.html +21 -0
- package/src/lib/components/expiration/expiration.component.spec.ts +23 -0
- package/src/lib/components/expiration/expiration.component.ts +52 -0
- package/src/lib/components/expiration/expiration.module.ts +11 -0
- package/src/lib/components/expiration/ng-package.json +6 -0
- package/src/lib/components/file-render/file-render.component.css +4 -0
- package/src/lib/components/file-render/file-render.component.html +21 -0
- package/src/lib/components/file-render/file-render.component.spec.ts +23 -0
- package/src/lib/components/file-render/file-render.component.ts +34 -0
- package/src/lib/components/file-render/file-render.module.ts +19 -0
- package/src/lib/components/file-render/ng-package.json +6 -0
- package/src/lib/components/file-upload/file-upload.component.css +0 -0
- package/src/lib/components/file-upload/file-upload.component.html +69 -0
- package/src/lib/components/file-upload/file-upload.component.spec.ts +23 -0
- package/src/lib/components/file-upload/file-upload.component.ts +87 -0
- package/src/lib/components/file-upload/file-upload.module.ts +40 -0
- package/src/lib/components/file-upload/ng-package.json +6 -0
- package/src/lib/components/flowable-status/flowable-status.columns.ts +23 -0
- package/src/lib/components/flowable-status/flowable-status.component.css +1 -0
- package/src/lib/components/flowable-status/flowable-status.component.html +166 -0
- package/src/lib/components/flowable-status/flowable-status.component.ts +247 -0
- package/src/lib/components/flowable-status/flowable-status.config.ts +54 -0
- package/src/lib/components/flowable-status/flowable-status.facade.ts +70 -0
- package/src/lib/components/flowable-status/flowable-status.form.component.html +13 -0
- package/src/lib/components/flowable-status/flowable-status.form.component.ts +51 -0
- package/src/lib/components/flowable-status/flowable-status.model.ts +3 -0
- package/src/lib/components/flowable-status/flowable-status.module.ts +13 -0
- package/src/lib/components/flowable-status/flowable-status.service.ts +39 -0
- package/src/lib/components/flowable-status/flowable-status.state.ts +10 -0
- package/src/lib/components/flowable-status/ng-package.json +6 -0
- package/src/lib/components/flowable-status/public-api.ts +3 -0
- package/src/lib/components/form-control/form-control.component.css +0 -0
- package/src/lib/components/form-control/form-control.component.html +259 -0
- package/src/lib/components/form-control/form-control.component.spec.ts +23 -0
- package/src/lib/components/form-control/form-control.component.ts +197 -0
- package/src/lib/components/form-control/form-control.module.ts +47 -0
- package/src/lib/components/form-control/ng-package.json +6 -0
- package/src/lib/components/form-group/base-table-style.ts +52 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.css +114 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.html +621 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.spec.ts +23 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.ts +1115 -0
- package/src/lib/components/form-group/form-fields/form-fields.module.ts +48 -0
- package/src/lib/components/form-group/form-fields/form-fields.service.ts +70 -0
- package/src/lib/components/form-group/form-fields/helper.ts +45 -0
- package/src/lib/components/form-group/form-group.component.css +113 -0
- package/src/lib/components/form-group/form-group.component.html +486 -0
- package/src/lib/components/form-group/form-group.component.spec.ts +22 -0
- package/src/lib/components/form-group/form-group.component.ts +789 -0
- package/src/lib/components/form-group/form-group.module.ts +54 -0
- package/src/lib/components/form-group/form-group.service.ts +53 -0
- package/src/lib/components/form-group/helper.ts +45 -0
- package/src/lib/components/form-group/ng-package.json +6 -0
- package/src/lib/components/form-response/form-response.component.css +114 -0
- package/src/lib/components/form-response/form-response.component.html +188 -0
- package/src/lib/components/form-response/form-response.component.spec.ts +23 -0
- package/src/lib/components/form-response/form-response.component.ts +735 -0
- package/src/lib/components/form-response/form-response.module.ts +48 -0
- package/src/lib/components/form-response/form-response.service.ts +52 -0
- package/src/lib/components/form-response/helper.ts +222 -0
- package/src/lib/components/form-response/ng-package.json +6 -0
- package/src/lib/components/form-timer/form-timer.component.css +0 -0
- package/src/lib/components/form-timer/form-timer.component.html +47 -0
- package/src/lib/components/form-timer/form-timer.component.spec.ts +23 -0
- package/src/lib/components/form-timer/form-timer.component.ts +50 -0
- package/src/lib/components/form-timer/form-timer.module.ts +19 -0
- package/src/lib/components/form-timer/ng-package.json +6 -0
- package/src/lib/components/form-values/form-values.component.css +48 -0
- package/src/lib/components/form-values/form-values.component.html +225 -0
- package/src/lib/components/form-values/form-values.component.ts +1437 -0
- package/src/lib/components/form-values/form-values.module.ts +13 -0
- package/src/lib/components/form-values/form-values.service.ts +45 -0
- package/src/lib/components/form-values/ng-package.json +6 -0
- package/src/lib/components/form-values/public-api.ts +3 -0
- package/src/lib/components/form-viewer/form-viewer.component.css +4 -0
- package/src/lib/components/form-viewer/form-viewer.component.html +62 -0
- package/src/lib/components/form-viewer/form-viewer.component.spec.ts +23 -0
- package/src/lib/components/form-viewer/form-viewer.component.ts +31 -0
- package/src/lib/components/form-viewer/form-viewer.module.ts +52 -0
- package/src/lib/components/form-viewer/ng-package.json +6 -0
- package/src/lib/components/forms/base-table-style.ts +52 -0
- package/src/lib/components/forms/forms.component.css +126 -0
- package/src/lib/components/forms/forms.component.html +538 -0
- package/src/lib/components/forms/forms.component.spec.ts +23 -0
- package/src/lib/components/forms/forms.component.ts +810 -0
- package/src/lib/components/forms/forms.module.ts +10 -0
- package/src/lib/components/forms/forms.service.spec.ts +16 -0
- package/src/lib/components/forms/forms.service.ts +65 -0
- package/src/lib/components/forms/ng-package.json +6 -0
- package/src/lib/components/journal/journal.component.css +0 -0
- package/src/lib/components/journal/journal.component.html +1 -0
- package/src/lib/components/journal/journal.component.spec.ts +23 -0
- package/src/lib/components/journal/journal.component.ts +10 -0
- package/src/lib/components/journal/journal.module.ts +10 -0
- package/src/lib/components/journal/ng-package.json +6 -0
- package/src/lib/components/my-queue/my-queue.columns.ts +37 -0
- package/src/lib/components/my-queue/my-queue.component.css +8 -0
- package/src/lib/components/my-queue/my-queue.component.html +319 -0
- package/src/lib/components/my-queue/my-queue.component.spec.ts +23 -0
- package/src/lib/components/my-queue/my-queue.component.ts +409 -0
- package/src/lib/components/my-queue/my-queue.facade.ts +670 -0
- package/src/lib/components/my-queue/my-queue.helper.ts +71 -0
- package/src/lib/components/my-queue/my-queue.module.ts +28 -0
- package/src/lib/components/my-queue/my-queue.service.spec.ts +16 -0
- package/src/lib/components/my-queue/my-queue.service.ts +262 -0
- package/src/lib/components/my-queue/my-queue.state.ts +133 -0
- package/src/lib/components/my-queue/ng-package.json +6 -0
- package/src/lib/components/my-queue/tasks.form.component.html +168 -0
- package/src/lib/components/my-queue/tasks.form.component.ts +201 -0
- package/src/lib/components/operation-popup/ng-package.json +6 -0
- package/src/lib/components/operation-popup/operation-popup.component.css +1 -0
- package/src/lib/components/operation-popup/operation-popup.component.html +107 -0
- package/src/lib/components/operation-popup/operation-popup.component.ts +476 -0
- package/src/lib/components/operation-popup/operation-popup.facade.ts +435 -0
- package/src/lib/components/operation-popup/operation-popup.service.ts +143 -0
- package/src/lib/components/operation-popup/operation-popup.state.ts +49 -0
- package/src/lib/components/stage-details/ng-package.json +6 -0
- package/src/lib/components/stage-details/stage-details.component.css +0 -0
- package/src/lib/components/stage-details/stage-details.component.html +95 -0
- package/src/lib/components/stage-details/stage-details.component.spec.ts +23 -0
- package/src/lib/components/stage-details/stage-details.component.ts +43 -0
- package/src/lib/components/stage-details/stage-details.module.ts +11 -0
- package/src/lib/components/task-form/ng-package.json +6 -0
- package/src/lib/components/task-form/task-form.component.css +0 -0
- package/src/lib/components/task-form/task-form.component.html +38 -0
- package/src/lib/components/task-form/task-form.component.spec.ts +23 -0
- package/src/lib/components/task-form/task-form.component.ts +15 -0
- package/src/lib/components/task-form/task-form.module.ts +31 -0
- package/src/lib/components/task-history/ng-package.json +6 -0
- package/src/lib/components/task-history/task-history.component.css +334 -0
- package/src/lib/components/task-history/task-history.component.html +292 -0
- package/src/lib/components/task-history/task-history.component.spec.ts +23 -0
- package/src/lib/components/task-history/task-history.component.ts +284 -0
- package/src/lib/components/task-history/task-history.module.ts +12 -0
- package/src/lib/components/task-history/task-history.service.ts +32 -0
- package/src/lib/components/task-notification/base-table-style.ts +52 -0
- package/src/lib/components/task-notification/ng-package.json +6 -0
- package/src/lib/components/task-notification/task-notification.component.css +94 -0
- package/src/lib/components/task-notification/task-notification.component.html +585 -0
- package/src/lib/components/task-notification/task-notification.component.spec.ts +23 -0
- package/src/lib/components/task-notification/task-notification.component.ts +793 -0
- package/src/lib/components/task-notification/task-notification.module.ts +10 -0
- package/src/lib/components/task-notification/task-notification.service.spec.ts +16 -0
- package/src/lib/components/task-notification/task-notification.service.ts +397 -0
- package/src/lib/components/tasks/ng-package.json +6 -0
- package/src/lib/components/tasks/tasks.columns.ts +50 -0
- package/src/lib/components/tasks/tasks.component.css +4 -0
- package/src/lib/components/tasks/tasks.component.html +385 -0
- package/src/lib/components/tasks/tasks.component.spec.ts +23 -0
- package/src/lib/components/tasks/tasks.component.ts +212 -0
- package/src/lib/components/tasks/tasks.facade.ts +482 -0
- package/src/lib/components/tasks/tasks.form.component.html +181 -0
- package/src/lib/components/tasks/tasks.form.component.ts +174 -0
- package/src/lib/components/tasks/tasks.helper.ts +71 -0
- package/src/lib/components/tasks/tasks.models.ts +4 -0
- package/src/lib/components/tasks/tasks.module.ts +29 -0
- package/src/lib/components/tasks/tasks.service.spec.ts +16 -0
- package/src/lib/components/tasks/tasks.service.ts +215 -0
- package/src/lib/components/tasks/tasks.state.ts +144 -0
- package/src/lib/components/wf/ng-package.json +6 -0
- package/src/lib/components/wf/wf.columns.ts +36 -0
- package/src/lib/components/wf/wf.component.css +0 -0
- package/src/lib/components/wf/wf.component.html +35 -0
- package/src/lib/components/wf/wf.component.spec.ts +23 -0
- package/src/lib/components/wf/wf.component.ts +71 -0
- package/src/lib/components/wf/wf.facade.ts +266 -0
- package/src/lib/components/wf/wf.helper.ts +25 -0
- package/src/lib/components/wf/wf.module.ts +14 -0
- package/src/lib/components/wf/wf.service.spec.ts +16 -0
- package/src/lib/components/wf/wf.service.ts +98 -0
- package/src/lib/components/wf/wf.state.ts +99 -0
- package/src/lib/components/workflow/column.ts +40 -0
- package/src/lib/components/workflow/helper.ts +53 -0
- package/src/lib/components/workflow/ng-package.json +6 -0
- package/src/lib/components/workflow/table-style.ts +53 -0
- package/src/lib/components/workflow/workflow.component.css +0 -0
- package/src/lib/components/workflow/workflow.component.html +226 -0
- package/src/lib/components/workflow/workflow.component.spec.ts +23 -0
- package/src/lib/components/workflow/workflow.component.ts +224 -0
- package/src/lib/components/workflow/workflow.module.ts +11 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.css +9 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.html +134 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.ts +147 -0
- 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 +45 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.ts +83 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.css +7 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.html +89 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.ts +87 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.css +11 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.html +74 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.ts +80 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.css +70 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.html +454 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.ts +1654 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.connection-drop.spec.ts +100 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.css +63 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.html +49 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.ts +86 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.ts +7 -0
- package/src/lib/components/workflow-designer/docs/01-architecture.md +145 -0
- package/src/lib/components/workflow-designer/docs/02-coordinate-system.md +171 -0
- package/src/lib/components/workflow-designer/docs/03-data-model.md +163 -0
- package/src/lib/components/workflow-designer/docs/04-interactions.md +156 -0
- package/src/lib/components/workflow-designer/docs/05-persistence.md +117 -0
- package/src/lib/components/workflow-designer/docs/06-known-issues.md +181 -0
- package/src/lib/components/workflow-designer/docs/07-integration.md +178 -0
- package/src/lib/components/workflow-designer/docs/08-api-reference.md +187 -0
- package/src/lib/components/workflow-designer/docs/09-development.md +141 -0
- package/src/lib/components/workflow-designer/docs/README.md +81 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.css +13 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.html +204 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.ts +308 -0
- package/src/lib/components/workflow-designer/ng-package.json +6 -0
- package/src/lib/components/workflow-designer/services/connection.service.ts +325 -0
- package/src/lib/components/workflow-designer/services/node-management.service.ts +372 -0
- package/src/lib/components/workflow-designer/services/popup.service.ts +276 -0
- package/src/lib/components/workflow-designer/services/swimlane.service.ts +176 -0
- package/src/lib/components/workflow-designer/services/transformer.service.ts +318 -0
- 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 +208 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.ts +194 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.css +15 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.html +93 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.ts +258 -0
- 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 +150 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.ts +153 -0
- package/src/lib/components/workflow-designer/workflow-data.service.spec.ts +16 -0
- package/src/lib/components/workflow-designer/workflow-data.service.ts +290 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.css +59 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.html +29 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.ts +548 -0
- package/src/lib/components/workflow-designer/workflow-designer.models.ts +114 -0
- package/src/lib/components/workflow-designer/workflow-designer.module.ts +90 -0
- package/src/lib/components/workflow-designer/workflow-designer.state.ts +1123 -0
- package/src/lib/components/workflow-designer/workflow-designer.types.ts +141 -0
- package/src/lib/components/workflow-stage/ng-package.json +6 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.css +24 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.html +339 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.spec.ts +23 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.ts +355 -0
- package/src/lib/components/workflow-stage/workflow-stage.module.ts +53 -0
- package/src/lib/components/workflows/ng-package.json +6 -0
- package/src/lib/components/workflows/public-api.ts +6 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.css +0 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.html +138 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.spec.ts +23 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.ts +85 -0
- package/src/lib/components/workflows/workflows.api.ts +117 -0
- package/src/lib/components/workflows/workflows.columns.ts +41 -0
- package/src/lib/components/workflows/workflows.component.css +4 -0
- package/src/lib/components/workflows/workflows.component.html +309 -0
- package/src/lib/components/workflows/workflows.component.spec.ts +23 -0
- package/src/lib/components/workflows/workflows.component.ts +303 -0
- package/src/lib/components/workflows/workflows.config.ts +58 -0
- package/src/lib/components/workflows/workflows.facade.ts +147 -0
- package/src/lib/components/workflows/workflows.module.ts +14 -0
- package/src/lib/components/workflows/workflows.service.spec.ts +16 -0
- package/src/lib/components/workflows/workflows.service.ts +88 -0
- package/src/lib/components/workflows/workflows.state.ts +21 -0
- package/src/lib/models/ActionHistory.ts +19 -0
- package/src/lib/models/ActionType.ts +9 -0
- package/src/lib/models/Actor.ts +12 -0
- package/src/lib/models/ActorTag.ts +8 -0
- package/src/lib/models/Coord.ts +4 -0
- package/src/lib/models/DataExtensionValue.ts +5 -0
- package/src/lib/models/DataType.ts +25 -0
- package/src/lib/models/EAVDataType.ts +18 -0
- package/src/lib/models/EAVEntity.ts +5 -0
- package/src/lib/models/EntityDataValue.ts +7 -0
- package/src/lib/models/EntityProperty.ts +8 -0
- package/src/lib/models/ErrorResponse.ts +7 -0
- package/src/lib/models/Escalation.ts +15 -0
- package/src/lib/models/EscalationCycle.ts +13 -0
- package/src/lib/models/EscalationStage.ts +11 -0
- package/src/lib/models/EscalationType.ts +5 -0
- package/src/lib/models/File.ts +8 -0
- package/src/lib/models/FilterTypes.ts +8 -0
- package/src/lib/models/FlowableStatus.ts +6 -0
- package/src/lib/models/Form.ts +14 -0
- package/src/lib/models/FormEntity.ts +14 -0
- package/src/lib/models/FormFill.ts +16 -0
- package/src/lib/models/FormProperty.ts +16 -0
- package/src/lib/models/FormValue.ts +19 -0
- package/src/lib/models/MailConfig.ts +13 -0
- package/src/lib/models/MessageConfig.ts +5 -0
- package/src/lib/models/MessageMedium.ts +4 -0
- package/src/lib/models/OperationAction.ts +15 -0
- package/src/lib/models/PagedResult.ts +5 -0
- package/src/lib/models/PeriodMode.ts +10 -0
- package/src/lib/models/PermissionConfig.ts +8 -0
- package/src/lib/models/Property.ts +6 -0
- package/src/lib/models/ReportSchedule.ts +23 -0
- package/src/lib/models/ReportType.ts +5 -0
- package/src/lib/models/Resource.ts +57 -0
- package/src/lib/models/ResponseKeyValue.ts +5 -0
- package/src/lib/models/SMSConfig.ts +11 -0
- package/src/lib/models/SearchDynamicWrapper.ts +6 -0
- package/src/lib/models/SearchOperator.ts +4 -0
- package/src/lib/models/SearchPropertySign.ts +9 -0
- package/src/lib/models/SearchPropertyValue.ts +13 -0
- package/src/lib/models/SearchPropertyValueType.ts +9 -0
- package/src/lib/models/Size.ts +4 -0
- package/src/lib/models/SortDirection.ts +5 -0
- package/src/lib/models/StageActorRule.ts +6 -0
- package/src/lib/models/SwimLane.ts +14 -0
- package/src/lib/models/Tag.ts +7 -0
- package/src/lib/models/Task.ts +33 -0
- package/src/lib/models/TaskAssignmentType.ts +4 -0
- package/src/lib/models/TaskNotification.ts +16 -0
- package/src/lib/models/TaskNotificationMessageType.ts +4 -0
- package/src/lib/models/TaskNotificationType.ts +7 -0
- package/src/lib/models/TaskStatus.ts +7 -0
- package/src/lib/models/Workflow.ts +22 -0
- package/src/lib/models/WorkflowAction.ts +15 -0
- package/src/lib/models/WorkflowOperation.ts +7 -0
- package/src/lib/models/WorkflowStage.ts +27 -0
- package/src/lib/models/actors.ts +10 -0
- package/src/lib/models/auth-mechanism.ts +14 -0
- package/src/lib/models/base.ts +14 -0
- package/src/lib/models/ng-package.json +6 -0
- package/src/lib/models/object-state.ts +6 -0
- package/src/lib/models/operation-type.ts +6 -0
- package/src/lib/models/paged.ts +9 -0
- package/src/lib/models/public-api.ts +65 -0
- package/src/lib/models/query-params.ts +9 -0
- package/src/lib/models/status.ts +5 -0
- package/src/lib/models/task-history.ts +14 -0
- package/src/lib/models/user-access-request-status.ts +5 -0
- package/src/lib/models/user.ts +25 -0
- package/src/lib/pipes/async-label.pipe.spec.ts +12 -0
- package/src/lib/pipes/async-label.pipe.ts +30 -0
- package/src/lib/pipes/ng-package.json +6 -0
- package/src/lib/services/environment.service.spec.ts +16 -0
- package/src/lib/services/environment.service.ts +31 -0
- package/src/lib/services/http-web-request.service.spec.ts +16 -0
- package/src/lib/services/http-web-request.service.ts +154 -0
- package/src/lib/services/index.ts +1 -0
- package/src/lib/services/label.service.spec.ts +16 -0
- package/src/lib/services/label.service.ts +182 -0
- package/src/lib/services/ng-package.json +6 -0
- package/src/lib/services/public-api.ts +5 -0
- package/src/lib/services/util.service.spec.ts +16 -0
- package/src/lib/services/util.service.ts +72 -0
- package/src/lib/shared/base-table-style.ts +56 -0
- package/src/lib/shared/components/base-data-view.component.ts +187 -0
- package/src/lib/shared/components/base-model-field.ts +31 -0
- package/src/lib/shared/models/DataViewConfig.ts +19 -0
- package/src/lib/shared/ng-package.json +6 -0
- package/src/lib/shared/public-api.ts +14 -0
- package/src/lib/shared/shared.module.ts +67 -0
- package/src/lib/utils/index.ts +1 -0
- package/src/lib/utils/public-api.ts +2 -0
- package/src/lib/utils/store.ts +50 -0
- package/src/public-api.ts +58 -0
- package/src/styles.css +96 -0
- package/tailwind.config copy.js +33 -0
- package/tailwind.config.js +20 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +15 -0
- package/esm2022/public-api.mjs +0 -41
- package/esm2022/src/lib/base/core/base-data-page.facade.mjs +0 -412
- package/esm2022/src/lib/base/core/base-data-page.service.mjs +0 -140
- package/esm2022/src/lib/base/core/base-data-page.state.mjs +0 -216
- package/esm2022/src/lib/base/handlers/filter-handler.service.mjs +0 -138
- package/esm2022/src/lib/base/handlers/search-handler.service.mjs +0 -31
- package/esm2022/src/lib/base/handlers/sort-handler.service.mjs +0 -73
- package/esm2022/src/lib/base/index.mjs +0 -2
- package/esm2022/src/lib/base/models/api-payload.mjs +0 -7
- package/esm2022/src/lib/base/models/page-config.interface.mjs +0 -2
- package/esm2022/src/lib/base/models/page-filter-tab-option.interface.mjs +0 -2
- package/esm2022/src/lib/base/public-api.mjs +0 -14
- package/esm2022/src/lib/base/utils/column-helpers.mjs +0 -55
- package/esm2022/src/lib/base/verben-workflow-ui-src-lib-base.mjs +0 -5
- package/esm2022/src/lib/components/actors/actors.columns.mjs +0 -39
- package/esm2022/src/lib/components/actors/actors.component.mjs +0 -175
- package/esm2022/src/lib/components/actors/actors.config.mjs +0 -49
- package/esm2022/src/lib/components/actors/actors.facade.mjs +0 -57
- package/esm2022/src/lib/components/actors/actors.form.component.mjs +0 -74
- package/esm2022/src/lib/components/actors/actors.module.mjs +0 -21
- package/esm2022/src/lib/components/actors/actors.service.mjs +0 -65
- package/esm2022/src/lib/components/actors/actors.state.mjs +0 -31
- package/esm2022/src/lib/components/actors/index.mjs +0 -2
- package/esm2022/src/lib/components/actors/public-api.mjs +0 -3
- package/esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs +0 -5
- package/esm2022/src/lib/components/designer/components/label-editor.component.mjs +0 -148
- package/esm2022/src/lib/components/designer/components/node-selector.component.mjs +0 -317
- package/esm2022/src/lib/components/designer/components/swimlane-label.component.mjs +0 -161
- package/esm2022/src/lib/components/designer/components/swimlane-popup.component.mjs +0 -85
- package/esm2022/src/lib/components/designer/components/wf-canvas.component.mjs +0 -715
- package/esm2022/src/lib/components/designer/components/wf-designer.component.mjs +0 -135
- package/esm2022/src/lib/components/designer/components/wf-toolbar.component.mjs +0 -56
- package/esm2022/src/lib/components/designer/index.mjs +0 -2
- package/esm2022/src/lib/components/designer/models/types.mjs +0 -2
- package/esm2022/src/lib/components/designer/public-api.mjs +0 -3
- package/esm2022/src/lib/components/designer/services/canvas-state.service.mjs +0 -50
- package/esm2022/src/lib/components/designer/services/connection-segment-interaction.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/services/connection.service.mjs +0 -267
- package/esm2022/src/lib/components/designer/services/keyboard-handler.service.mjs +0 -43
- package/esm2022/src/lib/components/designer/services/label-management.service.mjs +0 -66
- package/esm2022/src/lib/components/designer/services/node-finder.service.mjs +0 -30
- package/esm2022/src/lib/components/designer/services/node-interaction.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/services/node-precondition.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/services/node-selection.service.mjs +0 -96
- package/esm2022/src/lib/components/designer/services/orthogonal-router.service.mjs +0 -167
- package/esm2022/src/lib/components/designer/services/position-update.service.mjs +0 -45
- package/esm2022/src/lib/components/designer/services/rendering.service.mjs +0 -236
- package/esm2022/src/lib/components/designer/services/swimlane-management.service.mjs +0 -145
- package/esm2022/src/lib/components/designer/services/swimlane-stats.service.mjs +0 -44
- package/esm2022/src/lib/components/designer/services/viewport.service.mjs +0 -30
- package/esm2022/src/lib/components/designer/services/wf-facade.service.mjs +0 -239
- package/esm2022/src/lib/components/designer/services/wf-mapper.service.mjs +0 -326
- package/esm2022/src/lib/components/designer/services/wf-persistence.service.mjs +0 -169
- package/esm2022/src/lib/components/designer/services/wf-state.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs +0 -5
- package/esm2022/src/lib/components/expiration/expiration.component.mjs +0 -49
- package/esm2022/src/lib/components/expiration/expiration.module.mjs +0 -19
- package/esm2022/src/lib/components/expiration/index.mjs +0 -2
- package/esm2022/src/lib/components/expiration/public-api.mjs +0 -3
- package/esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs +0 -5
- package/esm2022/src/lib/components/file-render/file-render.component.mjs +0 -45
- package/esm2022/src/lib/components/file-render/file-render.module.mjs +0 -35
- package/esm2022/src/lib/components/file-render/index.mjs +0 -2
- package/esm2022/src/lib/components/file-render/public-api.mjs +0 -3
- package/esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs +0 -5
- package/esm2022/src/lib/components/file-upload/file-upload.component.mjs +0 -93
- package/esm2022/src/lib/components/file-upload/file-upload.module.mjs +0 -63
- package/esm2022/src/lib/components/file-upload/index.mjs +0 -2
- package/esm2022/src/lib/components/file-upload/public-api.mjs +0 -3
- package/esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs +0 -5
- package/esm2022/src/lib/components/flowable-status/flowable-status.columns.mjs +0 -21
- package/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +0 -203
- package/esm2022/src/lib/components/flowable-status/flowable-status.config.mjs +0 -47
- package/esm2022/src/lib/components/flowable-status/flowable-status.facade.mjs +0 -60
- package/esm2022/src/lib/components/flowable-status/flowable-status.form.component.mjs +0 -52
- package/esm2022/src/lib/components/flowable-status/flowable-status.module.mjs +0 -21
- package/esm2022/src/lib/components/flowable-status/flowable-status.service.mjs +0 -35
- package/esm2022/src/lib/components/flowable-status/flowable-status.state.mjs +0 -15
- package/esm2022/src/lib/components/flowable-status/index.mjs +0 -2
- package/esm2022/src/lib/components/flowable-status/public-api.mjs +0 -3
- package/esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs +0 -5
- package/esm2022/src/lib/components/form-control/form-control.component.mjs +0 -180
- package/esm2022/src/lib/components/form-control/form-control.module.mjs +0 -75
- package/esm2022/src/lib/components/form-control/index.mjs +0 -2
- package/esm2022/src/lib/components/form-control/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs +0 -5
- package/esm2022/src/lib/components/form-group/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.component.mjs +0 -952
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.module.mjs +0 -75
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.service.mjs +0 -73
- package/esm2022/src/lib/components/form-group/form-group.component.mjs +0 -699
- package/esm2022/src/lib/components/form-group/form-group.module.mjs +0 -85
- package/esm2022/src/lib/components/form-group/form-group.service.mjs +0 -56
- package/esm2022/src/lib/components/form-group/index.mjs +0 -2
- package/esm2022/src/lib/components/form-group/public-api.mjs +0 -5
- package/esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs +0 -5
- package/esm2022/src/lib/components/form-response/form-response.component.mjs +0 -641
- package/esm2022/src/lib/components/form-response/form-response.module.mjs +0 -76
- package/esm2022/src/lib/components/form-response/form-response.service.mjs +0 -54
- package/esm2022/src/lib/components/form-response/index.mjs +0 -2
- package/esm2022/src/lib/components/form-response/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs +0 -5
- package/esm2022/src/lib/components/form-timer/form-timer.component.mjs +0 -47
- package/esm2022/src/lib/components/form-timer/form-timer.module.mjs +0 -28
- package/esm2022/src/lib/components/form-timer/index.mjs +0 -2
- package/esm2022/src/lib/components/form-timer/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs +0 -5
- package/esm2022/src/lib/components/form-viewer/form-viewer.component.mjs +0 -38
- package/esm2022/src/lib/components/form-viewer/form-viewer.module.mjs +0 -78
- package/esm2022/src/lib/components/form-viewer/index.mjs +0 -2
- package/esm2022/src/lib/components/form-viewer/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-viewer/verben-workflow-ui-src-lib-components-form-viewer.mjs +0 -5
- package/esm2022/src/lib/components/forms/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/forms/forms.component.mjs +0 -673
- package/esm2022/src/lib/components/forms/forms.module.mjs +0 -18
- package/esm2022/src/lib/components/forms/forms.service.mjs +0 -68
- package/esm2022/src/lib/components/forms/index.mjs +0 -2
- package/esm2022/src/lib/components/forms/public-api.mjs +0 -3
- package/esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs +0 -5
- package/esm2022/src/lib/components/journal/index.mjs +0 -2
- package/esm2022/src/lib/components/journal/journal.component.mjs +0 -11
- package/esm2022/src/lib/components/journal/journal.module.mjs +0 -18
- package/esm2022/src/lib/components/journal/public-api.mjs +0 -3
- package/esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs +0 -5
- package/esm2022/src/lib/components/my-queue/index.mjs +0 -2
- package/esm2022/src/lib/components/my-queue/my-queue.columns.mjs +0 -34
- package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +0 -342
- package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +0 -502
- package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +0 -47
- package/esm2022/src/lib/components/my-queue/my-queue.service.mjs +0 -144
- package/esm2022/src/lib/components/my-queue/my-queue.state.mjs +0 -108
- package/esm2022/src/lib/components/my-queue/public-api.mjs +0 -4
- package/esm2022/src/lib/components/my-queue/tasks.form.component.mjs +0 -191
- package/esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs +0 -5
- package/esm2022/src/lib/components/operation-popup/index.mjs +0 -2
- package/esm2022/src/lib/components/operation-popup/operation-popup.component.mjs +0 -382
- package/esm2022/src/lib/components/operation-popup/operation-popup.facade.mjs +0 -345
- package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +0 -82
- package/esm2022/src/lib/components/operation-popup/operation-popup.state.mjs +0 -44
- package/esm2022/src/lib/components/operation-popup/public-api.mjs +0 -3
- package/esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs +0 -5
- package/esm2022/src/lib/components/stage-details/index.mjs +0 -2
- package/esm2022/src/lib/components/stage-details/public-api.mjs +0 -3
- package/esm2022/src/lib/components/stage-details/stage-details.component.mjs +0 -49
- package/esm2022/src/lib/components/stage-details/stage-details.module.mjs +0 -19
- package/esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs +0 -5
- package/esm2022/src/lib/components/task-form/index.mjs +0 -2
- package/esm2022/src/lib/components/task-form/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-form/task-form.component.mjs +0 -18
- package/esm2022/src/lib/components/task-form/task-form.module.mjs +0 -72
- package/esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs +0 -5
- package/esm2022/src/lib/components/task-history/index.mjs +0 -2
- package/esm2022/src/lib/components/task-history/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-history/task-history.component.mjs +0 -249
- package/esm2022/src/lib/components/task-history/task-history.module.mjs +0 -21
- package/esm2022/src/lib/components/task-history/task-history.service.mjs +0 -32
- package/esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs +0 -5
- package/esm2022/src/lib/components/task-notification/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/task-notification/index.mjs +0 -2
- package/esm2022/src/lib/components/task-notification/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-notification/task-notification.component.mjs +0 -670
- package/esm2022/src/lib/components/task-notification/task-notification.module.mjs +0 -18
- package/esm2022/src/lib/components/task-notification/task-notification.service.mjs +0 -256
- package/esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs +0 -5
- package/esm2022/src/lib/components/tasks/index.mjs +0 -2
- package/esm2022/src/lib/components/tasks/public-api.mjs +0 -6
- package/esm2022/src/lib/components/tasks/tasks.columns.mjs +0 -48
- package/esm2022/src/lib/components/tasks/tasks.component.mjs +0 -194
- package/esm2022/src/lib/components/tasks/tasks.facade.mjs +0 -372
- package/esm2022/src/lib/components/tasks/tasks.form.component.mjs +0 -164
- package/esm2022/src/lib/components/tasks/tasks.models.mjs +0 -4
- package/esm2022/src/lib/components/tasks/tasks.module.mjs +0 -52
- package/esm2022/src/lib/components/tasks/tasks.service.mjs +0 -137
- package/esm2022/src/lib/components/tasks/tasks.state.mjs +0 -108
- package/esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs +0 -5
- package/esm2022/src/lib/components/wf/index.mjs +0 -2
- package/esm2022/src/lib/components/wf/public-api.mjs +0 -4
- package/esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs +0 -5
- package/esm2022/src/lib/components/wf/wf.columns.mjs +0 -34
- package/esm2022/src/lib/components/wf/wf.component.mjs +0 -68
- package/esm2022/src/lib/components/wf/wf.module.mjs +0 -22
- package/esm2022/src/lib/components/wf/wf.service.mjs +0 -82
- package/esm2022/src/lib/components/workflow/column.mjs +0 -38
- package/esm2022/src/lib/components/workflow/helper.mjs +0 -47
- package/esm2022/src/lib/components/workflow/index.mjs +0 -2
- package/esm2022/src/lib/components/workflow/public-api.mjs +0 -4
- package/esm2022/src/lib/components/workflow/table-style.mjs +0 -53
- package/esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs +0 -5
- package/esm2022/src/lib/components/workflow/workflow.component.mjs +0 -210
- package/esm2022/src/lib/components/workflow/workflow.module.mjs +0 -19
- package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +0 -127
- package/esm2022/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.mjs +0 -78
- package/esm2022/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.mjs +0 -87
- package/esm2022/src/lib/components/workflow-designer/decision-popup/decision-popup.component.mjs +0 -84
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +0 -1270
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.mjs +0 -96
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.mjs +0 -2
- package/esm2022/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.mjs +0 -260
- package/esm2022/src/lib/components/workflow-designer/index.mjs +0 -2
- package/esm2022/src/lib/components/workflow-designer/public-api.mjs +0 -5
- package/esm2022/src/lib/components/workflow-designer/services/connection.service.mjs +0 -238
- package/esm2022/src/lib/components/workflow-designer/services/node-management.service.mjs +0 -321
- package/esm2022/src/lib/components/workflow-designer/services/popup.service.mjs +0 -240
- package/esm2022/src/lib/components/workflow-designer/services/swimlane.service.mjs +0 -158
- package/esm2022/src/lib/components/workflow-designer/services/transformer.service.mjs +0 -280
- package/esm2022/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.mjs +0 -177
- package/esm2022/src/lib/components/workflow-designer/stage-node/stage-node.component.mjs +0 -226
- package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +0 -137
- package/esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs +0 -5
- package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +0 -210
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +0 -460
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.module.mjs +0 -129
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +0 -928
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.types.mjs +0 -2
- package/esm2022/src/lib/components/workflow-stage/index.mjs +0 -2
- package/esm2022/src/lib/components/workflow-stage/public-api.mjs +0 -3
- package/esm2022/src/lib/components/workflow-stage/verben-workflow-ui-src-lib-components-workflow-stage.mjs +0 -5
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.component.mjs +0 -331
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.module.mjs +0 -82
- package/esm2022/src/lib/components/workflows/index.mjs +0 -2
- package/esm2022/src/lib/components/workflows/public-api.mjs +0 -7
- package/esm2022/src/lib/components/workflows/verben-workflow-ui-src-lib-components-workflows.mjs +0 -5
- package/esm2022/src/lib/components/workflows/workflow-form/workflow-form.component.mjs +0 -89
- package/esm2022/src/lib/components/workflows/workflows.api.mjs +0 -63
- package/esm2022/src/lib/components/workflows/workflows.columns.mjs +0 -39
- package/esm2022/src/lib/components/workflows/workflows.component.mjs +0 -236
- package/esm2022/src/lib/components/workflows/workflows.config.mjs +0 -51
- package/esm2022/src/lib/components/workflows/workflows.facade.mjs +0 -114
- package/esm2022/src/lib/components/workflows/workflows.module.mjs +0 -21
- package/esm2022/src/lib/components/workflows/workflows.service.mjs +0 -63
- package/esm2022/src/lib/components/workflows/workflows.state.mjs +0 -23
- package/esm2022/src/lib/models/ActionHistory.mjs +0 -2
- package/esm2022/src/lib/models/ActionType.mjs +0 -11
- package/esm2022/src/lib/models/Actor.mjs +0 -2
- package/esm2022/src/lib/models/ActorTag.mjs +0 -2
- package/esm2022/src/lib/models/Coord.mjs +0 -2
- package/esm2022/src/lib/models/DataType.mjs +0 -27
- package/esm2022/src/lib/models/EAVEntity.mjs +0 -2
- package/esm2022/src/lib/models/ErrorResponse.mjs +0 -11
- package/esm2022/src/lib/models/Escalation.mjs +0 -2
- package/esm2022/src/lib/models/EscalationCycle.mjs +0 -2
- package/esm2022/src/lib/models/EscalationStage.mjs +0 -2
- package/esm2022/src/lib/models/EscalationType.mjs +0 -7
- package/esm2022/src/lib/models/File.mjs +0 -2
- package/esm2022/src/lib/models/FilterTypes.mjs +0 -9
- package/esm2022/src/lib/models/FlowableStatus.mjs +0 -2
- package/esm2022/src/lib/models/Form.mjs +0 -2
- package/esm2022/src/lib/models/FormEntity.mjs +0 -2
- package/esm2022/src/lib/models/FormFill.mjs +0 -6
- package/esm2022/src/lib/models/FormProperty.mjs +0 -2
- package/esm2022/src/lib/models/FormValues.mjs +0 -2
- package/esm2022/src/lib/models/MailConfig.mjs +0 -2
- package/esm2022/src/lib/models/MessageConfig.mjs +0 -2
- package/esm2022/src/lib/models/MessageMedium.mjs +0 -6
- package/esm2022/src/lib/models/OperationAction.mjs +0 -2
- package/esm2022/src/lib/models/PagedResult.mjs +0 -2
- package/esm2022/src/lib/models/PeriodMode.mjs +0 -12
- package/esm2022/src/lib/models/PermissionConfig.mjs +0 -2
- package/esm2022/src/lib/models/ReportSchedule.mjs +0 -2
- package/esm2022/src/lib/models/ReportType.mjs +0 -7
- package/esm2022/src/lib/models/Resource.mjs +0 -47
- package/esm2022/src/lib/models/ResponseKeyValue.mjs +0 -2
- package/esm2022/src/lib/models/SMSConfig.mjs +0 -2
- package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +0 -2
- package/esm2022/src/lib/models/SearchOperator.mjs +0 -6
- package/esm2022/src/lib/models/SearchPropertySign.mjs +0 -11
- package/esm2022/src/lib/models/SearchPropertyValue.mjs +0 -2
- package/esm2022/src/lib/models/SearchPropertyValueType.mjs +0 -11
- package/esm2022/src/lib/models/Size.mjs +0 -2
- package/esm2022/src/lib/models/SortDirection.mjs +0 -7
- package/esm2022/src/lib/models/StageActorRule.mjs +0 -8
- package/esm2022/src/lib/models/SwimLane.mjs +0 -2
- package/esm2022/src/lib/models/Tag.mjs +0 -2
- package/esm2022/src/lib/models/Task.mjs +0 -2
- package/esm2022/src/lib/models/TaskAssignmentType.mjs +0 -6
- package/esm2022/src/lib/models/TaskNotification.mjs +0 -2
- package/esm2022/src/lib/models/TaskNotificationMessageType.mjs +0 -6
- package/esm2022/src/lib/models/TaskNotificationType.mjs +0 -9
- package/esm2022/src/lib/models/TaskStatus.mjs +0 -9
- package/esm2022/src/lib/models/Workflow.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowAction.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowOperation.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowStage.mjs +0 -2
- package/esm2022/src/lib/models/actors.mjs +0 -2
- package/esm2022/src/lib/models/auth-mechanism.mjs +0 -8
- package/esm2022/src/lib/models/base.mjs +0 -2
- package/esm2022/src/lib/models/index.mjs +0 -2
- package/esm2022/src/lib/models/object-state.mjs +0 -8
- package/esm2022/src/lib/models/operation-type.mjs +0 -7
- package/esm2022/src/lib/models/paged.mjs +0 -2
- package/esm2022/src/lib/models/public-api.mjs +0 -64
- package/esm2022/src/lib/models/query-params.mjs +0 -2
- package/esm2022/src/lib/models/status.mjs +0 -6
- package/esm2022/src/lib/models/task-history.mjs +0 -2
- package/esm2022/src/lib/models/user-access-request-status.mjs +0 -7
- package/esm2022/src/lib/models/user.mjs +0 -2
- package/esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs +0 -5
- package/esm2022/src/lib/pipes/async-label.pipe.mjs +0 -25
- package/esm2022/src/lib/pipes/index.mjs +0 -2
- package/esm2022/src/lib/pipes/public-api.mjs +0 -2
- package/esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs +0 -5
- package/esm2022/src/lib/services/environment.service.mjs +0 -26
- package/esm2022/src/lib/services/http-web-request.service.mjs +0 -92
- package/esm2022/src/lib/services/index.mjs +0 -2
- package/esm2022/src/lib/services/label.service.mjs +0 -134
- package/esm2022/src/lib/services/public-api.mjs +0 -5
- package/esm2022/src/lib/services/util.service.mjs +0 -75
- package/esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs +0 -5
- package/esm2022/src/lib/shared/base-table-style.mjs +0 -55
- package/esm2022/src/lib/shared/components/base-data-view.component.mjs +0 -154
- package/esm2022/src/lib/shared/components/base-model-field.mjs +0 -21
- package/esm2022/src/lib/shared/index.mjs +0 -7
- package/esm2022/src/lib/shared/models/DataViewConfig.mjs +0 -2
- package/esm2022/src/lib/shared/public-api.mjs +0 -13
- package/esm2022/src/lib/shared/shared.module.mjs +0 -103
- package/esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs +0 -5
- package/esm2022/verben-workflow-ui.mjs +0 -5
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs +0 -1055
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs +0 -484
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +0 -3891
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs +0 -72
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +0 -83
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +0 -159
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +0 -430
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +0 -257
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +0 -1967
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs +0 -769
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs +0 -78
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs +0 -118
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs +0 -812
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +0 -33
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +0 -1338
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +0 -845
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs +0 -72
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs +0 -94
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +0 -302
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs +0 -995
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +0 -1049
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs +0 -203
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +0 -5389
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs +0 -415
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs +0 -365
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +0 -666
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs +0 -256
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +0 -32
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs +0 -322
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs +0 -336
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui.mjs +0 -34
- package/fesm2022/verben-workflow-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/public-api.d.ts +0 -22
- package/src/lib/base/core/base-data-page.facade.d.ts +0 -138
- package/src/lib/base/core/base-data-page.service.d.ts +0 -61
- package/src/lib/base/core/base-data-page.state.d.ts +0 -73
- package/src/lib/base/handlers/filter-handler.service.d.ts +0 -34
- package/src/lib/base/handlers/search-handler.service.d.ts +0 -20
- package/src/lib/base/handlers/sort-handler.service.d.ts +0 -30
- package/src/lib/base/models/api-payload.d.ts +0 -2
- package/src/lib/base/models/page-config.interface.d.ts +0 -24
- package/src/lib/base/models/page-filter-tab-option.interface.d.ts +0 -19
- package/src/lib/base/public-api.d.ts +0 -9
- package/src/lib/base/utils/column-helpers.d.ts +0 -24
- package/src/lib/components/actors/actors.columns.d.ts +0 -3
- package/src/lib/components/actors/actors.component.d.ts +0 -79
- package/src/lib/components/actors/actors.config.d.ts +0 -10
- package/src/lib/components/actors/actors.facade.d.ts +0 -29
- package/src/lib/components/actors/actors.form.component.d.ts +0 -23
- package/src/lib/components/actors/actors.module.d.ts +0 -11
- package/src/lib/components/actors/actors.service.d.ts +0 -33
- package/src/lib/components/actors/actors.state.d.ts +0 -19
- package/src/lib/components/designer/components/label-editor.component.d.ts +0 -22
- package/src/lib/components/designer/components/node-selector.component.d.ts +0 -23
- package/src/lib/components/designer/components/swimlane-label.component.d.ts +0 -12
- package/src/lib/components/designer/components/swimlane-popup.component.d.ts +0 -18
- package/src/lib/components/designer/components/wf-canvas.component.d.ts +0 -37
- package/src/lib/components/designer/components/wf-designer.component.d.ts +0 -22
- package/src/lib/components/designer/components/wf-toolbar.component.d.ts +0 -17
- package/src/lib/components/designer/models/types.d.ts +0 -104
- package/src/lib/components/designer/services/canvas-state.service.d.ts +0 -24
- package/src/lib/components/designer/services/connection-segment-interaction.service.d.ts +0 -36
- package/src/lib/components/designer/services/connection.service.d.ts +0 -47
- package/src/lib/components/designer/services/keyboard-handler.service.d.ts +0 -9
- package/src/lib/components/designer/services/label-management.service.d.ts +0 -14
- package/src/lib/components/designer/services/node-finder.service.d.ts +0 -10
- package/src/lib/components/designer/services/node-interaction.service.d.ts +0 -19
- package/src/lib/components/designer/services/node-precondition.service.d.ts +0 -37
- package/src/lib/components/designer/services/node-selection.service.d.ts +0 -19
- package/src/lib/components/designer/services/orthogonal-router.service.d.ts +0 -36
- package/src/lib/components/designer/services/position-update.service.d.ts +0 -10
- package/src/lib/components/designer/services/rendering.service.d.ts +0 -67
- package/src/lib/components/designer/services/swimlane-management.service.d.ts +0 -19
- package/src/lib/components/designer/services/swimlane-stats.service.d.ts +0 -19
- package/src/lib/components/designer/services/viewport.service.d.ts +0 -10
- package/src/lib/components/designer/services/wf-facade.service.d.ts +0 -67
- package/src/lib/components/designer/services/wf-mapper.service.d.ts +0 -26
- package/src/lib/components/designer/services/wf-persistence.service.d.ts +0 -21
- package/src/lib/components/designer/services/wf-state.service.d.ts +0 -30
- package/src/lib/components/expiration/expiration.component.d.ts +0 -20
- package/src/lib/components/expiration/expiration.module.d.ts +0 -9
- package/src/lib/components/file-render/file-render.component.d.ts +0 -17
- package/src/lib/components/file-render/file-render.module.d.ts +0 -10
- package/src/lib/components/file-upload/file-upload.component.d.ts +0 -22
- package/src/lib/components/file-upload/file-upload.module.d.ts +0 -11
- package/src/lib/components/flowable-status/flowable-status.columns.d.ts +0 -3
- package/src/lib/components/flowable-status/flowable-status.component.d.ts +0 -80
- package/src/lib/components/flowable-status/flowable-status.config.d.ts +0 -11
- package/src/lib/components/flowable-status/flowable-status.facade.d.ts +0 -26
- package/src/lib/components/flowable-status/flowable-status.form.component.d.ts +0 -18
- package/src/lib/components/flowable-status/flowable-status.module.d.ts +0 -11
- package/src/lib/components/flowable-status/flowable-status.service.d.ts +0 -23
- package/src/lib/components/flowable-status/flowable-status.state.d.ts +0 -11
- package/src/lib/components/flowable-status/public-api.d.ts +0 -2
- package/src/lib/components/form-control/form-control.component.d.ts +0 -39
- package/src/lib/components/form-control/form-control.module.d.ts +0 -11
- package/src/lib/components/form-group/base-table-style.d.ts +0 -1
- package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +0 -136
- package/src/lib/components/form-group/form-fields/form-fields.module.d.ts +0 -11
- package/src/lib/components/form-group/form-fields/form-fields.service.d.ts +0 -9
- package/src/lib/components/form-group/form-group.component.d.ts +0 -108
- package/src/lib/components/form-group/form-group.module.d.ts +0 -15
- package/src/lib/components/form-group/form-group.service.d.ts +0 -9
- package/src/lib/components/form-response/form-response.component.d.ts +0 -108
- package/src/lib/components/form-response/form-response.module.d.ts +0 -12
- package/src/lib/components/form-response/form-response.service.d.ts +0 -9
- package/src/lib/components/form-timer/form-timer.component.d.ts +0 -13
- package/src/lib/components/form-timer/form-timer.module.d.ts +0 -9
- package/src/lib/components/form-viewer/form-viewer.component.d.ts +0 -17
- package/src/lib/components/form-viewer/form-viewer.module.d.ts +0 -11
- package/src/lib/components/forms/base-table-style.d.ts +0 -1
- package/src/lib/components/forms/forms.component.d.ts +0 -88
- package/src/lib/components/forms/forms.module.d.ts +0 -8
- package/src/lib/components/forms/forms.service.d.ts +0 -9
- package/src/lib/components/journal/journal.component.d.ts +0 -5
- package/src/lib/components/journal/journal.module.d.ts +0 -8
- package/src/lib/components/my-queue/my-queue.columns.d.ts +0 -3
- package/src/lib/components/my-queue/my-queue.component.d.ts +0 -58
- package/src/lib/components/my-queue/my-queue.facade.d.ts +0 -47
- package/src/lib/components/my-queue/my-queue.module.d.ts +0 -15
- package/src/lib/components/my-queue/my-queue.service.d.ts +0 -65
- package/src/lib/components/my-queue/my-queue.state.d.ts +0 -39
- package/src/lib/components/my-queue/tasks.form.component.d.ts +0 -48
- package/src/lib/components/operation-popup/operation-popup.component.d.ts +0 -62
- package/src/lib/components/operation-popup/operation-popup.facade.d.ts +0 -32
- package/src/lib/components/operation-popup/operation-popup.service.d.ts +0 -23
- package/src/lib/components/operation-popup/operation-popup.state.d.ts +0 -20
- package/src/lib/components/stage-details/stage-details.component.d.ts +0 -24
- package/src/lib/components/stage-details/stage-details.module.d.ts +0 -9
- package/src/lib/components/task-form/task-form.component.d.ts +0 -10
- package/src/lib/components/task-form/task-form.module.d.ts +0 -10
- package/src/lib/components/task-history/task-history.component.d.ts +0 -41
- package/src/lib/components/task-history/task-history.module.d.ts +0 -11
- package/src/lib/components/task-history/task-history.service.d.ts +0 -13
- package/src/lib/components/task-notification/base-table-style.d.ts +0 -1
- package/src/lib/components/task-notification/task-notification.component.d.ts +0 -89
- package/src/lib/components/task-notification/task-notification.module.d.ts +0 -8
- package/src/lib/components/task-notification/task-notification.service.d.ts +0 -32
- package/src/lib/components/tasks/tasks.columns.d.ts +0 -11
- package/src/lib/components/tasks/tasks.component.d.ts +0 -40
- package/src/lib/components/tasks/tasks.facade.d.ts +0 -44
- package/src/lib/components/tasks/tasks.form.component.d.ts +0 -40
- package/src/lib/components/tasks/tasks.models.d.ts +0 -4
- package/src/lib/components/tasks/tasks.module.d.ts +0 -17
- package/src/lib/components/tasks/tasks.service.d.ts +0 -58
- package/src/lib/components/tasks/tasks.state.d.ts +0 -46
- package/src/lib/components/wf/wf.columns.d.ts +0 -3
- package/src/lib/components/wf/wf.component.d.ts +0 -16
- package/src/lib/components/wf/wf.module.d.ts +0 -10
- package/src/lib/components/wf/wf.service.d.ts +0 -51
- package/src/lib/components/workflow/column.d.ts +0 -3
- package/src/lib/components/workflow/helper.d.ts +0 -2
- package/src/lib/components/workflow/table-style.d.ts +0 -1
- package/src/lib/components/workflow/workflow.component.d.ts +0 -57
- package/src/lib/components/workflow/workflow.module.d.ts +0 -9
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.d.ts +0 -34
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.d.ts +0 -25
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.d.ts +0 -38
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.d.ts +0 -29
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.d.ts +0 -292
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.d.ts +0 -39
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.d.ts +0 -5
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.d.ts +0 -47
- package/src/lib/components/workflow-designer/services/connection.service.d.ts +0 -101
- package/src/lib/components/workflow-designer/services/node-management.service.d.ts +0 -73
- package/src/lib/components/workflow-designer/services/popup.service.d.ts +0 -147
- package/src/lib/components/workflow-designer/services/swimlane.service.d.ts +0 -66
- package/src/lib/components/workflow-designer/services/transformer.service.d.ts +0 -51
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.d.ts +0 -43
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.d.ts +0 -58
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.d.ts +0 -49
- package/src/lib/components/workflow-designer/workflow-data.service.d.ts +0 -59
- package/src/lib/components/workflow-designer/workflow-designer.component.d.ts +0 -121
- package/src/lib/components/workflow-designer/workflow-designer.module.d.ts +0 -41
- package/src/lib/components/workflow-designer/workflow-designer.state.d.ts +0 -278
- package/src/lib/components/workflow-designer/workflow-designer.types.d.ts +0 -130
- package/src/lib/components/workflow-stage/workflow-stage.component.d.ts +0 -78
- package/src/lib/components/workflow-stage/workflow-stage.module.d.ts +0 -12
- package/src/lib/components/workflows/public-api.d.ts +0 -4
- package/src/lib/components/workflows/workflow-form/workflow-form.component.d.ts +0 -28
- package/src/lib/components/workflows/workflows.api.d.ts +0 -38
- package/src/lib/components/workflows/workflows.columns.d.ts +0 -3
- package/src/lib/components/workflows/workflows.component.d.ts +0 -98
- package/src/lib/components/workflows/workflows.config.d.ts +0 -10
- package/src/lib/components/workflows/workflows.facade.d.ts +0 -41
- package/src/lib/components/workflows/workflows.module.d.ts +0 -11
- package/src/lib/components/workflows/workflows.service.d.ts +0 -32
- package/src/lib/components/workflows/workflows.state.d.ts +0 -15
- package/src/lib/models/ActionHistory.d.ts +0 -16
- package/src/lib/models/ActionType.d.ts +0 -9
- package/src/lib/models/Actor.d.ts +0 -11
- package/src/lib/models/ActorTag.d.ts +0 -6
- package/src/lib/models/Coord.d.ts +0 -4
- package/src/lib/models/DataType.d.ts +0 -25
- package/src/lib/models/EAVEntity.d.ts +0 -4
- package/src/lib/models/ErrorResponse.d.ts +0 -6
- package/src/lib/models/Escalation.d.ts +0 -14
- package/src/lib/models/EscalationCycle.d.ts +0 -12
- package/src/lib/models/EscalationStage.d.ts +0 -10
- package/src/lib/models/EscalationType.d.ts +0 -5
- package/src/lib/models/File.d.ts +0 -7
- package/src/lib/models/FilterTypes.d.ts +0 -6
- package/src/lib/models/FlowableStatus.d.ts +0 -5
- package/src/lib/models/Form.d.ts +0 -13
- package/src/lib/models/FormEntity.d.ts +0 -13
- package/src/lib/models/FormFill.d.ts +0 -15
- package/src/lib/models/FormProperty.d.ts +0 -15
- package/src/lib/models/FormValues.d.ts +0 -14
- package/src/lib/models/MailConfig.d.ts +0 -12
- package/src/lib/models/MessageConfig.d.ts +0 -3
- package/src/lib/models/MessageMedium.d.ts +0 -4
- package/src/lib/models/OperationAction.d.ts +0 -14
- package/src/lib/models/PagedResult.d.ts +0 -5
- package/src/lib/models/PeriodMode.d.ts +0 -10
- package/src/lib/models/PermissionConfig.d.ts +0 -7
- package/src/lib/models/ReportSchedule.d.ts +0 -22
- package/src/lib/models/ReportType.d.ts +0 -5
- package/src/lib/models/Resource.d.ts +0 -20
- package/src/lib/models/ResponseKeyValue.d.ts +0 -5
- package/src/lib/models/SMSConfig.d.ts +0 -10
- package/src/lib/models/SearchDynamicWrapper.d.ts +0 -5
- package/src/lib/models/SearchOperator.d.ts +0 -4
- package/src/lib/models/SearchPropertySign.d.ts +0 -9
- package/src/lib/models/SearchPropertyValue.d.ts +0 -12
- package/src/lib/models/SearchPropertyValueType.d.ts +0 -9
- package/src/lib/models/Size.d.ts +0 -4
- package/src/lib/models/SortDirection.d.ts +0 -5
- package/src/lib/models/StageActorRule.d.ts +0 -6
- package/src/lib/models/SwimLane.d.ts +0 -13
- package/src/lib/models/Tag.d.ts +0 -6
- package/src/lib/models/Task.d.ts +0 -32
- package/src/lib/models/TaskAssignmentType.d.ts +0 -4
- package/src/lib/models/TaskNotification.d.ts +0 -14
- package/src/lib/models/TaskNotificationMessageType.d.ts +0 -4
- package/src/lib/models/TaskNotificationType.d.ts +0 -7
- package/src/lib/models/TaskStatus.d.ts +0 -7
- package/src/lib/models/Workflow.d.ts +0 -21
- package/src/lib/models/WorkflowAction.d.ts +0 -14
- package/src/lib/models/WorkflowOperation.d.ts +0 -6
- package/src/lib/models/WorkflowStage.d.ts +0 -26
- package/src/lib/models/actors.d.ts +0 -8
- package/src/lib/models/auth-mechanism.d.ts +0 -13
- package/src/lib/models/base.d.ts +0 -13
- package/src/lib/models/object-state.d.ts +0 -6
- package/src/lib/models/operation-type.d.ts +0 -5
- package/src/lib/models/paged.d.ts +0 -9
- package/src/lib/models/public-api.d.ts +0 -63
- package/src/lib/models/query-params.d.ts +0 -8
- package/src/lib/models/status.d.ts +0 -4
- package/src/lib/models/task-history.d.ts +0 -17
- package/src/lib/models/user-access-request-status.d.ts +0 -5
- package/src/lib/models/user.d.ts +0 -24
- package/src/lib/pipes/async-label.pipe.d.ts +0 -11
- package/src/lib/services/environment.service.d.ts +0 -23
- package/src/lib/services/http-web-request.service.d.ts +0 -23
- package/src/lib/services/label.service.d.ts +0 -15
- package/src/lib/services/public-api.d.ts +0 -4
- package/src/lib/services/util.service.d.ts +0 -20
- package/src/lib/shared/base-table-style.d.ts +0 -2
- package/src/lib/shared/components/base-data-view.component.d.ts +0 -41
- package/src/lib/shared/components/base-model-field.d.ts +0 -26
- package/src/lib/shared/models/DataViewConfig.d.ts +0 -11
- package/src/lib/shared/public-api.d.ts +0 -5
- package/src/lib/shared/shared.module.d.ts +0 -11
- /package/src/lib/base/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/actors/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/actors/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/designer/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/designer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/expiration/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/expiration/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/file-render/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/file-render/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/file-upload/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/file-upload/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/flowable-status/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-control/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-control/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/form-group/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-group/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/form-response/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-response/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/form-timer/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-timer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{form-viewer/index.d.ts → form-values/index.ts} +0 -0
- /package/src/lib/components/{forms/index.d.ts → form-viewer/index.ts} +0 -0
- /package/src/lib/components/form-viewer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{journal/index.d.ts → forms/index.ts} +0 -0
- /package/src/lib/components/forms/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{my-queue/index.d.ts → journal/index.ts} +0 -0
- /package/src/lib/components/journal/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{operation-popup/index.d.ts → my-queue/index.ts} +0 -0
- /package/src/lib/components/my-queue/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{stage-details/index.d.ts → operation-popup/index.ts} +0 -0
- /package/src/lib/components/operation-popup/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{task-form/index.d.ts → stage-details/index.ts} +0 -0
- /package/src/lib/components/stage-details/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{task-history/index.d.ts → task-form/index.ts} +0 -0
- /package/src/lib/components/task-form/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{task-notification/index.d.ts → task-history/index.ts} +0 -0
- /package/src/lib/components/task-history/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{tasks/index.d.ts → task-notification/index.ts} +0 -0
- /package/src/lib/components/task-notification/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{wf/index.d.ts → tasks/index.ts} +0 -0
- /package/src/lib/components/tasks/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{workflow-designer/index.d.ts → wf/index.ts} +0 -0
- /package/src/lib/components/wf/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{workflows/index.d.ts → workflow/index.ts} +0 -0
- /package/src/lib/components/workflow/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{workflow-stage/index.d.ts → workflow-designer/index.ts} +0 -0
- /package/src/lib/components/workflow-designer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{workflow/index.d.ts → workflow-stage/index.ts} +0 -0
- /package/src/lib/components/workflow-stage/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/{models/index.d.ts → components/workflows/index.ts} +0 -0
- /package/src/lib/{pipes/index.d.ts → models/index.ts} +0 -0
- /package/src/lib/{services/index.d.ts → pipes/index.ts} +0 -0
- /package/src/lib/pipes/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/shared/{index.d.ts → index.ts} +0 -0
- /package/{styles → src/styles}/styles.css +0 -0
|
@@ -1,845 +0,0 @@
|
|
|
1
|
-
import * as i2 from '@angular/common';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injectable, EventEmitter, Component, Input, Output } from '@angular/core';
|
|
5
|
-
import * as i3 from '@angular/forms';
|
|
6
|
-
import { FormsModule } from '@angular/forms';
|
|
7
|
-
import { BehaviorSubject, Subject, takeUntil } from 'rxjs';
|
|
8
|
-
import * as i4 from 'verben-ng-ui';
|
|
9
|
-
import { VerbenPopUpModule, DropDownModule, VerbenaButtonModule, VerbenDialogueModule, SvgModule } from 'verben-ng-ui';
|
|
10
|
-
import * as i5 from 'verben-workflow-ui/src/lib/components/form-control';
|
|
11
|
-
import { FormControlerModule } from 'verben-workflow-ui/src/lib/components/form-control';
|
|
12
|
-
import { FormTimerModule } from 'verben-workflow-ui/src/lib/components/form-timer';
|
|
13
|
-
import { ErrorResponse, DataType } from 'verben-workflow-ui/src/lib/models';
|
|
14
|
-
import * as i1 from 'verben-workflow-ui/src/lib/services';
|
|
15
|
-
|
|
16
|
-
class OperationPopupService {
|
|
17
|
-
httpService;
|
|
18
|
-
constructor(httpService) {
|
|
19
|
-
this.httpService = httpService;
|
|
20
|
-
}
|
|
21
|
-
getNextActions(taskCode) {
|
|
22
|
-
const url = `GetNextActions/${taskCode}`;
|
|
23
|
-
return this.httpService.get(url);
|
|
24
|
-
}
|
|
25
|
-
getPreviousActions(taskCode) {
|
|
26
|
-
const url = `GetPreviousActions/${taskCode}`;
|
|
27
|
-
return this.httpService.get(url);
|
|
28
|
-
}
|
|
29
|
-
getAllPreviousActions(taskCode) {
|
|
30
|
-
const url = `GetAllPreviousActions/${taskCode}`;
|
|
31
|
-
return this.httpService.get(url);
|
|
32
|
-
}
|
|
33
|
-
getNextActors(taskCode, forCurrentStage, stageCode) {
|
|
34
|
-
const url = `GetNextActors/${taskCode}${'/' + forCurrentStage + (stageCode ? '/' + stageCode : '')}`;
|
|
35
|
-
return this.httpService.get(url);
|
|
36
|
-
}
|
|
37
|
-
passOn(fromStage, toStage, task, comment, recipient) {
|
|
38
|
-
const url = `PassOn/${fromStage}/${toStage}/${comment}${recipient ? '/' + recipient : ''}`;
|
|
39
|
-
return this.httpService.post(url, task);
|
|
40
|
-
}
|
|
41
|
-
passBack(fromStage, toStage, task, comment, recipient) {
|
|
42
|
-
const url = `PassBack/${fromStage}/${toStage}/${comment}${recipient ? '/' + recipient : ''}`;
|
|
43
|
-
return this.httpService.post(url, task);
|
|
44
|
-
}
|
|
45
|
-
pickTask(targetStage, task, comment, recipient) {
|
|
46
|
-
const url = `PickTask/${comment}/${targetStage}${recipient ? '/' + recipient : ''}`;
|
|
47
|
-
return this.httpService.post(url, task);
|
|
48
|
-
}
|
|
49
|
-
releaseTask(targetStage, task, comment, recipient) {
|
|
50
|
-
const url = `UnPickTask/${comment}/${targetStage}${recipient ? '/' + recipient : ''}`;
|
|
51
|
-
return this.httpService.post(url, task);
|
|
52
|
-
}
|
|
53
|
-
followTask(task) {
|
|
54
|
-
const url = `FollowTask/${task.Code}`;
|
|
55
|
-
return this.httpService.post(url, task);
|
|
56
|
-
}
|
|
57
|
-
// followTask(actorId: string, task: Task): Promise<Task | ErrorResponse> {
|
|
58
|
-
// const url = `FollowTask/${actorId}`;
|
|
59
|
-
// return this.httpService.post(url, task);
|
|
60
|
-
// }
|
|
61
|
-
unfollowTask(task) {
|
|
62
|
-
const url = `UnFollowTask/${task.Code}`;
|
|
63
|
-
return this.httpService.post(url, task);
|
|
64
|
-
}
|
|
65
|
-
// unfollowTask(
|
|
66
|
-
// taskId: string,
|
|
67
|
-
// actorId: string
|
|
68
|
-
// ): Promise<void | ErrorResponse> {
|
|
69
|
-
// const url = `UnFollowTask/${taskId}/${actorId}`;
|
|
70
|
-
// return this.httpService.post(url, {});
|
|
71
|
-
// }
|
|
72
|
-
reAssign(task, comment, fromUser, toUser) {
|
|
73
|
-
const url = `Reassign/${comment}/${toUser}/${fromUser}`;
|
|
74
|
-
return this.httpService.post(url, task);
|
|
75
|
-
}
|
|
76
|
-
skipTo(fromStage, toStage, task, comment, recipient, isBackward = false) {
|
|
77
|
-
const url = `SkipTo/${fromStage}/${toStage}/${comment}${recipient ? '/' + recipient : ''}/${isBackward}`;
|
|
78
|
-
return this.httpService.post(url, task);
|
|
79
|
-
}
|
|
80
|
-
getCurrentFormsForTask(taskCode) {
|
|
81
|
-
const url = `GetCurrentFormsForTask/${taskCode}`;
|
|
82
|
-
return this.httpService.get(url);
|
|
83
|
-
}
|
|
84
|
-
fillForm(form, taskCode) {
|
|
85
|
-
const url = `FillForm/${taskCode}`;
|
|
86
|
-
return this.httpService.post(url, form);
|
|
87
|
-
}
|
|
88
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupService, deps: [{ token: i1.HttpWebRequestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
89
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupService });
|
|
90
|
-
}
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupService, decorators: [{
|
|
92
|
-
type: Injectable
|
|
93
|
-
}], ctorParameters: () => [{ type: i1.HttpWebRequestService }] });
|
|
94
|
-
|
|
95
|
-
class OperationPopupState {
|
|
96
|
-
isUpdating = new BehaviorSubject(false);
|
|
97
|
-
nextActions = new BehaviorSubject([]);
|
|
98
|
-
nextActors = new BehaviorSubject([]);
|
|
99
|
-
taskForms = new BehaviorSubject([]);
|
|
100
|
-
getIsUpdating$() {
|
|
101
|
-
return this.isUpdating.asObservable();
|
|
102
|
-
}
|
|
103
|
-
getNextActions$() {
|
|
104
|
-
return this.nextActions.asObservable();
|
|
105
|
-
}
|
|
106
|
-
getNextActors$() {
|
|
107
|
-
return this.nextActors.asObservable();
|
|
108
|
-
}
|
|
109
|
-
getTaskForms$() {
|
|
110
|
-
return this.taskForms.asObservable();
|
|
111
|
-
}
|
|
112
|
-
setIsUpdating(value) {
|
|
113
|
-
this.isUpdating.next(value);
|
|
114
|
-
}
|
|
115
|
-
setNextActions(actions) {
|
|
116
|
-
this.nextActions.next(actions);
|
|
117
|
-
}
|
|
118
|
-
setNextActors(actors) {
|
|
119
|
-
this.nextActors.next(actors);
|
|
120
|
-
}
|
|
121
|
-
setTaskForms(forms) {
|
|
122
|
-
this.taskForms.next(forms);
|
|
123
|
-
}
|
|
124
|
-
resetState() {
|
|
125
|
-
this.nextActions.next([]);
|
|
126
|
-
this.nextActors.next([]);
|
|
127
|
-
this.taskForms.next([]);
|
|
128
|
-
}
|
|
129
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
130
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupState });
|
|
131
|
-
}
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupState, decorators: [{
|
|
133
|
-
type: Injectable
|
|
134
|
-
}] });
|
|
135
|
-
|
|
136
|
-
class OperationPopupFacade {
|
|
137
|
-
service;
|
|
138
|
-
state;
|
|
139
|
-
utilService;
|
|
140
|
-
constructor(service, state, utilService) {
|
|
141
|
-
this.service = service;
|
|
142
|
-
this.state = state;
|
|
143
|
-
this.utilService = utilService;
|
|
144
|
-
this.isUpdating$().subscribe((loading) => {
|
|
145
|
-
this.utilService.sendBI(loading);
|
|
146
|
-
});
|
|
147
|
-
}
|
|
148
|
-
isUpdating$() {
|
|
149
|
-
return this.state.getIsUpdating$();
|
|
150
|
-
}
|
|
151
|
-
getNextActions$() {
|
|
152
|
-
return this.state.getNextActions$();
|
|
153
|
-
}
|
|
154
|
-
getNextActors$() {
|
|
155
|
-
return this.state.getNextActors$();
|
|
156
|
-
}
|
|
157
|
-
getTaskForms$() {
|
|
158
|
-
return this.state.getTaskForms$();
|
|
159
|
-
}
|
|
160
|
-
async loadNextActions(taskCode) {
|
|
161
|
-
try {
|
|
162
|
-
this.state.setIsUpdating(true);
|
|
163
|
-
const response = await this.service.getNextActions(taskCode);
|
|
164
|
-
if (response instanceof ErrorResponse) {
|
|
165
|
-
this.utilService.showError(response.ErrorMsg);
|
|
166
|
-
return [];
|
|
167
|
-
}
|
|
168
|
-
this.state.setNextActions(response);
|
|
169
|
-
return response;
|
|
170
|
-
}
|
|
171
|
-
catch (error) {
|
|
172
|
-
return [];
|
|
173
|
-
}
|
|
174
|
-
finally {
|
|
175
|
-
this.state.setIsUpdating(false);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
async loadPreviousActions(taskCode) {
|
|
179
|
-
try {
|
|
180
|
-
this.state.setIsUpdating(true);
|
|
181
|
-
const response = await this.service.getPreviousActions(taskCode);
|
|
182
|
-
if (response instanceof ErrorResponse) {
|
|
183
|
-
this.utilService.showError(response.ErrorMsg);
|
|
184
|
-
return [];
|
|
185
|
-
}
|
|
186
|
-
this.state.setNextActions(response);
|
|
187
|
-
return response;
|
|
188
|
-
}
|
|
189
|
-
catch (error) {
|
|
190
|
-
return [];
|
|
191
|
-
}
|
|
192
|
-
finally {
|
|
193
|
-
this.state.setIsUpdating(false);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
async loadAllPreviousActions(taskCode) {
|
|
197
|
-
try {
|
|
198
|
-
this.state.setIsUpdating(true);
|
|
199
|
-
const response = await this.service.getAllPreviousActions(taskCode);
|
|
200
|
-
if (response instanceof ErrorResponse) {
|
|
201
|
-
this.utilService.showError(response.ErrorMsg);
|
|
202
|
-
return [];
|
|
203
|
-
}
|
|
204
|
-
this.state.setNextActions(response);
|
|
205
|
-
return response;
|
|
206
|
-
}
|
|
207
|
-
catch (error) {
|
|
208
|
-
return [];
|
|
209
|
-
}
|
|
210
|
-
finally {
|
|
211
|
-
this.state.setIsUpdating(false);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
async loadNextActors(taskCode, forCurrentStage, stageCode) {
|
|
215
|
-
try {
|
|
216
|
-
this.state.setIsUpdating(true);
|
|
217
|
-
const response = await this.service.getNextActors(taskCode, forCurrentStage, stageCode);
|
|
218
|
-
if (response instanceof ErrorResponse) {
|
|
219
|
-
this.utilService.showError(response.ErrorMsg);
|
|
220
|
-
return [];
|
|
221
|
-
}
|
|
222
|
-
this.state.setNextActors(response);
|
|
223
|
-
return response;
|
|
224
|
-
}
|
|
225
|
-
catch (error) {
|
|
226
|
-
return [];
|
|
227
|
-
}
|
|
228
|
-
finally {
|
|
229
|
-
this.state.setIsUpdating(false);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
async loadTaskForms(taskCode) {
|
|
233
|
-
try {
|
|
234
|
-
this.state.setIsUpdating(true);
|
|
235
|
-
const response = await this.service.getCurrentFormsForTask(taskCode);
|
|
236
|
-
if (response instanceof ErrorResponse) {
|
|
237
|
-
this.utilService.showError(response.ErrorMsg);
|
|
238
|
-
return [];
|
|
239
|
-
}
|
|
240
|
-
this.state.setTaskForms(response);
|
|
241
|
-
return response;
|
|
242
|
-
}
|
|
243
|
-
catch (error) {
|
|
244
|
-
return [];
|
|
245
|
-
}
|
|
246
|
-
finally {
|
|
247
|
-
this.state.setIsUpdating(false);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
async passOn(action, task, comment, recipient) {
|
|
251
|
-
try {
|
|
252
|
-
this.state.setIsUpdating(true);
|
|
253
|
-
const response = await this.service.passOn(action.FromStage, action.ToStage, {
|
|
254
|
-
...task,
|
|
255
|
-
FullStages: [],
|
|
256
|
-
CurrentActors: task.CurrentActors.map((c) => ({
|
|
257
|
-
...c,
|
|
258
|
-
ActorTags: [],
|
|
259
|
-
})),
|
|
260
|
-
}, comment, recipient ?? undefined);
|
|
261
|
-
if (response instanceof ErrorResponse) {
|
|
262
|
-
this.utilService.showError(response.ErrorMsg);
|
|
263
|
-
return;
|
|
264
|
-
}
|
|
265
|
-
this.utilService.showSuccess('Task passed on successfully');
|
|
266
|
-
this.state.resetState();
|
|
267
|
-
}
|
|
268
|
-
catch (error) {
|
|
269
|
-
throw error;
|
|
270
|
-
}
|
|
271
|
-
finally {
|
|
272
|
-
this.state.setIsUpdating(false);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
async passBack(action, task, comment, recipient) {
|
|
276
|
-
try {
|
|
277
|
-
this.state.setIsUpdating(true);
|
|
278
|
-
const response = await this.service.passBack(action.ToStage, action.FromStage, {
|
|
279
|
-
...task,
|
|
280
|
-
FullStages: [],
|
|
281
|
-
CurrentActors: task.CurrentActors.map((c) => ({
|
|
282
|
-
...c,
|
|
283
|
-
ActorTags: [],
|
|
284
|
-
})),
|
|
285
|
-
}, comment, recipient ?? undefined);
|
|
286
|
-
if (response instanceof ErrorResponse) {
|
|
287
|
-
this.utilService.showError(response.ErrorMsg);
|
|
288
|
-
return;
|
|
289
|
-
}
|
|
290
|
-
this.utilService.showSuccess('Task passed back successfully');
|
|
291
|
-
this.state.resetState();
|
|
292
|
-
}
|
|
293
|
-
catch (error) {
|
|
294
|
-
throw error;
|
|
295
|
-
}
|
|
296
|
-
finally {
|
|
297
|
-
this.state.setIsUpdating(false);
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
async skipTo(from, to, task, comment, recipient) {
|
|
301
|
-
try {
|
|
302
|
-
this.state.setIsUpdating(true);
|
|
303
|
-
const response = await this.service.skipTo(from, to, {
|
|
304
|
-
...task,
|
|
305
|
-
FullStages: [],
|
|
306
|
-
CurrentActors: task.CurrentActors.map((c) => ({
|
|
307
|
-
...c,
|
|
308
|
-
ActorTags: [],
|
|
309
|
-
})),
|
|
310
|
-
}, comment, recipient ?? undefined);
|
|
311
|
-
if (response instanceof ErrorResponse) {
|
|
312
|
-
this.utilService.showError(response.ErrorMsg);
|
|
313
|
-
return;
|
|
314
|
-
}
|
|
315
|
-
this.utilService.showSuccess('Task skipped successfully');
|
|
316
|
-
this.state.resetState();
|
|
317
|
-
}
|
|
318
|
-
catch (error) {
|
|
319
|
-
throw error;
|
|
320
|
-
}
|
|
321
|
-
finally {
|
|
322
|
-
this.state.setIsUpdating(false);
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
async pickTask(targetStage, task, comment, recipient) {
|
|
326
|
-
try {
|
|
327
|
-
this.state.setIsUpdating(true);
|
|
328
|
-
const response = await this.service.pickTask(targetStage, {
|
|
329
|
-
...task,
|
|
330
|
-
FullStages: [],
|
|
331
|
-
CurrentActors: task.CurrentActors.map((c) => ({
|
|
332
|
-
...c,
|
|
333
|
-
ActorTags: [],
|
|
334
|
-
})),
|
|
335
|
-
}, comment, recipient ?? undefined);
|
|
336
|
-
if (response instanceof ErrorResponse) {
|
|
337
|
-
this.utilService.showError(response.ErrorMsg);
|
|
338
|
-
return;
|
|
339
|
-
}
|
|
340
|
-
this.utilService.showSuccess('Task picked successfully');
|
|
341
|
-
this.state.resetState();
|
|
342
|
-
}
|
|
343
|
-
catch (error) {
|
|
344
|
-
throw error;
|
|
345
|
-
}
|
|
346
|
-
finally {
|
|
347
|
-
this.state.setIsUpdating(false);
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
async releaseTask(targetStage, task, comment, recipient) {
|
|
351
|
-
try {
|
|
352
|
-
this.state.setIsUpdating(true);
|
|
353
|
-
const response = await this.service.releaseTask(targetStage, {
|
|
354
|
-
...task,
|
|
355
|
-
FullStages: [],
|
|
356
|
-
CurrentActors: task.CurrentActors.map((c) => ({
|
|
357
|
-
...c,
|
|
358
|
-
ActorTags: [],
|
|
359
|
-
})),
|
|
360
|
-
}, comment, recipient ?? undefined);
|
|
361
|
-
if (response instanceof ErrorResponse) {
|
|
362
|
-
this.utilService.showError(response.ErrorMsg);
|
|
363
|
-
return;
|
|
364
|
-
}
|
|
365
|
-
this.utilService.showSuccess('Task released successfully');
|
|
366
|
-
this.state.resetState();
|
|
367
|
-
}
|
|
368
|
-
catch (error) {
|
|
369
|
-
throw error;
|
|
370
|
-
}
|
|
371
|
-
finally {
|
|
372
|
-
this.state.setIsUpdating(false);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
async followTask(task) {
|
|
376
|
-
try {
|
|
377
|
-
this.state.setIsUpdating(true);
|
|
378
|
-
const response = await this.service.followTask({
|
|
379
|
-
...task,
|
|
380
|
-
FullStages: [],
|
|
381
|
-
CurrentActors: task.CurrentActors.map((c) => ({
|
|
382
|
-
...c,
|
|
383
|
-
ActorTags: [],
|
|
384
|
-
})),
|
|
385
|
-
});
|
|
386
|
-
if (response instanceof ErrorResponse) {
|
|
387
|
-
this.utilService.showError(response.ErrorMsg);
|
|
388
|
-
return;
|
|
389
|
-
}
|
|
390
|
-
this.utilService.showSuccess('Task followed successfully');
|
|
391
|
-
this.state.resetState();
|
|
392
|
-
}
|
|
393
|
-
catch (error) {
|
|
394
|
-
throw error;
|
|
395
|
-
}
|
|
396
|
-
finally {
|
|
397
|
-
this.state.setIsUpdating(false);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
async unfollowTask(task) {
|
|
401
|
-
try {
|
|
402
|
-
this.state.setIsUpdating(true);
|
|
403
|
-
const response = await this.service.unfollowTask({
|
|
404
|
-
...task,
|
|
405
|
-
FullStages: [],
|
|
406
|
-
CurrentActors: task.CurrentActors.map((c) => ({
|
|
407
|
-
...c,
|
|
408
|
-
ActorTags: [],
|
|
409
|
-
})),
|
|
410
|
-
});
|
|
411
|
-
if (response instanceof ErrorResponse) {
|
|
412
|
-
this.utilService.showError(response.ErrorMsg);
|
|
413
|
-
return;
|
|
414
|
-
}
|
|
415
|
-
this.utilService.showSuccess('Task unfollowed successfully');
|
|
416
|
-
this.state.resetState();
|
|
417
|
-
}
|
|
418
|
-
catch (error) {
|
|
419
|
-
throw error;
|
|
420
|
-
}
|
|
421
|
-
finally {
|
|
422
|
-
this.state.setIsUpdating(false);
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
async reAssign(task, comment, fromUser, toUser) {
|
|
426
|
-
try {
|
|
427
|
-
this.state.setIsUpdating(true);
|
|
428
|
-
const response = await this.service.reAssign({
|
|
429
|
-
...task,
|
|
430
|
-
FullStages: [],
|
|
431
|
-
CurrentActors: task.CurrentActors.map((c) => ({
|
|
432
|
-
...c,
|
|
433
|
-
ActorTags: [],
|
|
434
|
-
})),
|
|
435
|
-
}, comment, fromUser, toUser);
|
|
436
|
-
if (response instanceof ErrorResponse) {
|
|
437
|
-
this.utilService.showError(response.ErrorMsg);
|
|
438
|
-
return;
|
|
439
|
-
}
|
|
440
|
-
this.utilService.showSuccess('Task re-assigned successfully');
|
|
441
|
-
this.state.resetState();
|
|
442
|
-
}
|
|
443
|
-
catch (error) {
|
|
444
|
-
throw error;
|
|
445
|
-
}
|
|
446
|
-
finally {
|
|
447
|
-
this.state.setIsUpdating(false);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
async fillForm(form, taskCode) {
|
|
451
|
-
try {
|
|
452
|
-
this.state.setIsUpdating(true);
|
|
453
|
-
const response = await this.service.fillForm(form, taskCode);
|
|
454
|
-
if (response instanceof ErrorResponse) {
|
|
455
|
-
this.utilService.showError(response.ErrorMsg);
|
|
456
|
-
return null;
|
|
457
|
-
}
|
|
458
|
-
this.utilService.showSuccess('Form filled successfully');
|
|
459
|
-
return response;
|
|
460
|
-
}
|
|
461
|
-
catch (error) {
|
|
462
|
-
return null;
|
|
463
|
-
}
|
|
464
|
-
finally {
|
|
465
|
-
this.state.setIsUpdating(false);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupFacade, deps: [{ token: OperationPopupService }, { token: OperationPopupState }, { token: i1.UtilService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
469
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupFacade });
|
|
470
|
-
}
|
|
471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupFacade, decorators: [{
|
|
472
|
-
type: Injectable
|
|
473
|
-
}], ctorParameters: () => [{ type: OperationPopupService }, { type: OperationPopupState }, { type: i1.UtilService }] });
|
|
474
|
-
|
|
475
|
-
class OperationPopupComponent {
|
|
476
|
-
facade;
|
|
477
|
-
user;
|
|
478
|
-
task = null;
|
|
479
|
-
allowedActions = [];
|
|
480
|
-
// @Input() permissionConfig: PermissionConfig | null = null;
|
|
481
|
-
actionComplete = new EventEmitter();
|
|
482
|
-
// Internal popup visibility control
|
|
483
|
-
isPopupOpen = false;
|
|
484
|
-
isFormModalVisible = false;
|
|
485
|
-
currentStep = 'action-selection';
|
|
486
|
-
// Action state
|
|
487
|
-
activeActionType = null;
|
|
488
|
-
comment = '';
|
|
489
|
-
recipientCode = null;
|
|
490
|
-
selectedAction = new BehaviorSubject(null);
|
|
491
|
-
selectedStageCode = null;
|
|
492
|
-
formSubmitted = false;
|
|
493
|
-
// Data from facade
|
|
494
|
-
nextActions = [];
|
|
495
|
-
nextActors = [];
|
|
496
|
-
stageForm = null;
|
|
497
|
-
active = 0;
|
|
498
|
-
dataType = DataType.Text;
|
|
499
|
-
allActions = [
|
|
500
|
-
{ label: 'Pass On', value: 'passon', requiresForm: true },
|
|
501
|
-
{ label: 'Pass Back', value: 'passback', requiresForm: true },
|
|
502
|
-
{
|
|
503
|
-
label: 'Re-Assign',
|
|
504
|
-
value: 'reassign',
|
|
505
|
-
requiresForm: false,
|
|
506
|
-
},
|
|
507
|
-
{ label: 'Skip To', value: 'skipto', requiresForm: true },
|
|
508
|
-
{
|
|
509
|
-
label: 'Pick Task',
|
|
510
|
-
value: 'picktask',
|
|
511
|
-
requiresForm: false,
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
label: 'Release Task',
|
|
515
|
-
value: 'releasetask',
|
|
516
|
-
requiresForm: false,
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
label: 'Follow Task',
|
|
520
|
-
value: 'followtask',
|
|
521
|
-
requiresForm: false,
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
label: 'Unfollow Task',
|
|
525
|
-
value: 'unfollowtask',
|
|
526
|
-
requiresForm: false,
|
|
527
|
-
},
|
|
528
|
-
];
|
|
529
|
-
destroy$ = new Subject();
|
|
530
|
-
constructor(facade) {
|
|
531
|
-
this.facade = facade;
|
|
532
|
-
}
|
|
533
|
-
ngOnInit() {
|
|
534
|
-
// Subscribe to facade observables
|
|
535
|
-
this.facade
|
|
536
|
-
.getNextActions$()
|
|
537
|
-
.pipe(takeUntil(this.destroy$))
|
|
538
|
-
.subscribe((data) => {
|
|
539
|
-
this.nextActions = data;
|
|
540
|
-
});
|
|
541
|
-
this.facade
|
|
542
|
-
.getNextActors$()
|
|
543
|
-
.pipe(takeUntil(this.destroy$))
|
|
544
|
-
.subscribe((data) => {
|
|
545
|
-
this.nextActors = data;
|
|
546
|
-
// Auto-select current user if available
|
|
547
|
-
if (this.user &&
|
|
548
|
-
data.map(({ Identifier }) => Identifier).includes(this.user)) {
|
|
549
|
-
this.recipientCode = this.user;
|
|
550
|
-
}
|
|
551
|
-
});
|
|
552
|
-
this.facade
|
|
553
|
-
.getTaskForms$()
|
|
554
|
-
.pipe(takeUntil(this.destroy$))
|
|
555
|
-
.subscribe((data) => {
|
|
556
|
-
this.stageForm = data?.[0] || null;
|
|
557
|
-
});
|
|
558
|
-
// Load actors when action is selected
|
|
559
|
-
this.selectedAction.pipe(takeUntil(this.destroy$)).subscribe((action) => {
|
|
560
|
-
if (action && this.task) {
|
|
561
|
-
this.facade.loadNextActors(this.task.Code, false, action.ToStage);
|
|
562
|
-
}
|
|
563
|
-
});
|
|
564
|
-
}
|
|
565
|
-
ngOnDestroy() {
|
|
566
|
-
this.destroy$.next();
|
|
567
|
-
this.destroy$.complete();
|
|
568
|
-
}
|
|
569
|
-
//permissionConfig.Actions['ViewAll']
|
|
570
|
-
// Get filtered actions based on allowedActions input
|
|
571
|
-
get filteredActions() {
|
|
572
|
-
return this.allActions.filter((action) => this.allowedActions.includes(action.value));
|
|
573
|
-
}
|
|
574
|
-
// Called when user clicks on an action from the list
|
|
575
|
-
async onActionSelect(actionType) {
|
|
576
|
-
if (!this.task)
|
|
577
|
-
return;
|
|
578
|
-
this.activeActionType = actionType;
|
|
579
|
-
this.comment = '';
|
|
580
|
-
this.recipientCode = null;
|
|
581
|
-
this.selectedAction.next(null);
|
|
582
|
-
// Load necessary data based on action type
|
|
583
|
-
switch (actionType) {
|
|
584
|
-
case 'passon':
|
|
585
|
-
await this.facade.loadNextActions(this.task.Code);
|
|
586
|
-
await this.facade.loadTaskForms(this.task.Code);
|
|
587
|
-
break;
|
|
588
|
-
case 'passback':
|
|
589
|
-
await this.facade.loadPreviousActions(this.task.Code);
|
|
590
|
-
break;
|
|
591
|
-
case 'skipto':
|
|
592
|
-
await this.facade.loadAllPreviousActions(this.task.Code);
|
|
593
|
-
break;
|
|
594
|
-
case 'reassign':
|
|
595
|
-
await this.facade.loadNextActors(this.task.Code, true);
|
|
596
|
-
break;
|
|
597
|
-
case 'picktask':
|
|
598
|
-
case 'releasetask':
|
|
599
|
-
// These use the task's full stages
|
|
600
|
-
break;
|
|
601
|
-
case 'followtask':
|
|
602
|
-
case 'unfollowtask':
|
|
603
|
-
// These don't need additional data
|
|
604
|
-
break;
|
|
605
|
-
}
|
|
606
|
-
// Toggle popup: close then reopen for step transition
|
|
607
|
-
this.isPopupOpen = false;
|
|
608
|
-
setTimeout(() => {
|
|
609
|
-
this.currentStep = 'action-form';
|
|
610
|
-
this.isPopupOpen = true;
|
|
611
|
-
}, 50);
|
|
612
|
-
}
|
|
613
|
-
// Handle action submission
|
|
614
|
-
async handleActionSubmit() {
|
|
615
|
-
if (!this.task)
|
|
616
|
-
return;
|
|
617
|
-
let actionCompleted = false;
|
|
618
|
-
try {
|
|
619
|
-
switch (this.activeActionType) {
|
|
620
|
-
case 'passon':
|
|
621
|
-
actionCompleted = await this.handlePassOn();
|
|
622
|
-
break;
|
|
623
|
-
case 'passback':
|
|
624
|
-
await this.handlePassBack();
|
|
625
|
-
actionCompleted = true;
|
|
626
|
-
break;
|
|
627
|
-
case 'reassign':
|
|
628
|
-
await this.handleReAssign();
|
|
629
|
-
actionCompleted = true;
|
|
630
|
-
break;
|
|
631
|
-
case 'skipto':
|
|
632
|
-
await this.handleSkipTo();
|
|
633
|
-
actionCompleted = true;
|
|
634
|
-
break;
|
|
635
|
-
case 'picktask':
|
|
636
|
-
await this.handlePickTask();
|
|
637
|
-
actionCompleted = true;
|
|
638
|
-
break;
|
|
639
|
-
case 'releasetask':
|
|
640
|
-
await this.handleReleaseTask();
|
|
641
|
-
actionCompleted = true;
|
|
642
|
-
break;
|
|
643
|
-
case 'followtask':
|
|
644
|
-
await this.handleFollowTask();
|
|
645
|
-
actionCompleted = true;
|
|
646
|
-
break;
|
|
647
|
-
case 'unfollowtask':
|
|
648
|
-
await this.handleUnfollowTask();
|
|
649
|
-
actionCompleted = true;
|
|
650
|
-
break;
|
|
651
|
-
}
|
|
652
|
-
// Only close popup and emit completion if action actually completed
|
|
653
|
-
// (not waiting for form dialog)
|
|
654
|
-
if (actionCompleted) {
|
|
655
|
-
this.closePopup();
|
|
656
|
-
this.actionComplete.emit();
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
catch (error) { }
|
|
660
|
-
}
|
|
661
|
-
async handlePassOn() {
|
|
662
|
-
if (this.stageForm && !this.formSubmitted) {
|
|
663
|
-
// If there's a form and it hasn't been submitted yet, show the form modal
|
|
664
|
-
this.isPopupOpen = false;
|
|
665
|
-
this.isFormModalVisible = true;
|
|
666
|
-
return false; // Action not completed yet, waiting for form
|
|
667
|
-
}
|
|
668
|
-
const selectedAction = this.selectedAction.getValue();
|
|
669
|
-
if (selectedAction && this.task && this.comment) {
|
|
670
|
-
await this.facade.passOn(selectedAction, this.task, this.comment, this.recipientCode);
|
|
671
|
-
this.formSubmitted = false; // Reset for next time
|
|
672
|
-
}
|
|
673
|
-
return true; // Action completed
|
|
674
|
-
}
|
|
675
|
-
submitForm() {
|
|
676
|
-
if (this.stageForm && this.task) {
|
|
677
|
-
this.facade
|
|
678
|
-
.fillForm(this.stageForm, this.task.Code)
|
|
679
|
-
.then(() => {
|
|
680
|
-
// fillForm API returns empty response, so just check that it didn't error
|
|
681
|
-
this.stageForm = null;
|
|
682
|
-
this.isFormModalVisible = false;
|
|
683
|
-
this.formSubmitted = true;
|
|
684
|
-
// Continue with passOn after form is filled
|
|
685
|
-
this.handlePassOn()
|
|
686
|
-
.then((completed) => {
|
|
687
|
-
if (completed) {
|
|
688
|
-
this.closePopup();
|
|
689
|
-
this.actionComplete.emit();
|
|
690
|
-
}
|
|
691
|
-
})
|
|
692
|
-
.catch((error) => { });
|
|
693
|
-
})
|
|
694
|
-
.catch((error) => { });
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
areRequiredPropertiesFilled() {
|
|
698
|
-
if (!this.stageForm)
|
|
699
|
-
return true;
|
|
700
|
-
const properties = this.stageForm.Entities[this.active].Properties || [];
|
|
701
|
-
// Check if all required properties have valid values
|
|
702
|
-
return properties.every((property) => {
|
|
703
|
-
return (!property.isRequired ||
|
|
704
|
-
(property.Value !== undefined &&
|
|
705
|
-
property.Value !== null &&
|
|
706
|
-
property.Value !== ''));
|
|
707
|
-
});
|
|
708
|
-
}
|
|
709
|
-
async handlePassBack() {
|
|
710
|
-
const selectedAction = this.selectedAction.getValue();
|
|
711
|
-
if (selectedAction && this.task && this.comment) {
|
|
712
|
-
await this.facade.passBack(selectedAction, this.task, this.comment, this.recipientCode);
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
async handleReAssign() {
|
|
716
|
-
if (this.task && this.comment) {
|
|
717
|
-
await this.facade.reAssign(this.task, this.comment, this.user, this.recipientCode || undefined);
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
async handleSkipTo() {
|
|
721
|
-
const selectedAction = this.selectedAction.getValue();
|
|
722
|
-
if (selectedAction && this.task && this.comment) {
|
|
723
|
-
await this.facade.skipTo(this.task.CurrentStages[0], selectedAction.ToStage, this.task, this.comment, this.recipientCode);
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
async handlePickTask() {
|
|
727
|
-
if (this.task && this.comment && this.selectedStageCode) {
|
|
728
|
-
await this.facade.pickTask(this.selectedStageCode, this.task, this.comment, this.recipientCode);
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
async handleReleaseTask() {
|
|
732
|
-
if (this.task && this.comment && this.selectedStageCode) {
|
|
733
|
-
await this.facade.releaseTask(this.selectedStageCode, this.task, this.comment, this.recipientCode);
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
async handleFollowTask() {
|
|
737
|
-
if (this.task) {
|
|
738
|
-
await this.facade.followTask(this.task);
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
async handleUnfollowTask() {
|
|
742
|
-
if (this.task) {
|
|
743
|
-
await this.facade.unfollowTask(this.task);
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
closePopup() {
|
|
747
|
-
this.isPopupOpen = false;
|
|
748
|
-
this.isFormModalVisible = false;
|
|
749
|
-
this.currentStep = 'action-selection';
|
|
750
|
-
this.activeActionType = null;
|
|
751
|
-
this.comment = '';
|
|
752
|
-
this.recipientCode = null;
|
|
753
|
-
this.selectedAction.next(null);
|
|
754
|
-
this.selectedStageCode = null;
|
|
755
|
-
this.nextActions = [];
|
|
756
|
-
this.nextActors = [];
|
|
757
|
-
this.stageForm = null;
|
|
758
|
-
this.formSubmitted = false;
|
|
759
|
-
}
|
|
760
|
-
// Check if submit button should be enabled
|
|
761
|
-
get canSubmit() {
|
|
762
|
-
if (!this.comment)
|
|
763
|
-
return false;
|
|
764
|
-
switch (this.activeActionType) {
|
|
765
|
-
case 'passon':
|
|
766
|
-
case 'passback':
|
|
767
|
-
case 'skipto':
|
|
768
|
-
return !!this.selectedAction.getValue();
|
|
769
|
-
case 'reassign':
|
|
770
|
-
return !!this.recipientCode;
|
|
771
|
-
case 'picktask':
|
|
772
|
-
case 'releasetask':
|
|
773
|
-
return !!this.selectedStageCode;
|
|
774
|
-
case 'followtask':
|
|
775
|
-
case 'unfollowtask':
|
|
776
|
-
return true;
|
|
777
|
-
default:
|
|
778
|
-
return false;
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
// Show action dropdown for certain action types
|
|
782
|
-
get showActionDropdown() {
|
|
783
|
-
return ['passon', 'passback', 'skipto'].includes(this.activeActionType || '');
|
|
784
|
-
}
|
|
785
|
-
// Show actor dropdown for certain action types
|
|
786
|
-
get showActorDropdown() {
|
|
787
|
-
return [
|
|
788
|
-
'passon',
|
|
789
|
-
'passback',
|
|
790
|
-
'skipto',
|
|
791
|
-
'reassign',
|
|
792
|
-
'picktask',
|
|
793
|
-
'releasetask',
|
|
794
|
-
].includes(this.activeActionType || '');
|
|
795
|
-
}
|
|
796
|
-
// Show stage dropdown for pick/release task
|
|
797
|
-
get showStageDropdown() {
|
|
798
|
-
return ['picktask', 'releasetask'].includes(this.activeActionType || '');
|
|
799
|
-
}
|
|
800
|
-
// Get label for submit button
|
|
801
|
-
get submitButtonLabel() {
|
|
802
|
-
const labels = {
|
|
803
|
-
passon: 'Pass On',
|
|
804
|
-
passback: 'Pass Back',
|
|
805
|
-
reassign: 'Re-Assign',
|
|
806
|
-
skipto: 'Skip To',
|
|
807
|
-
picktask: 'Pick Task',
|
|
808
|
-
releasetask: 'Release Task',
|
|
809
|
-
followtask: 'Follow',
|
|
810
|
-
unfollowtask: 'Unfollow',
|
|
811
|
-
};
|
|
812
|
-
return labels[this.activeActionType || 'passon'] || 'Submit';
|
|
813
|
-
}
|
|
814
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupComponent, deps: [{ token: OperationPopupFacade }], target: i0.ɵɵFactoryTarget.Component });
|
|
815
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: OperationPopupComponent, isStandalone: true, selector: "lib-operation-popup", inputs: { user: "user", task: "task", allowedActions: "allowedActions" }, outputs: { actionComplete: "actionComplete" }, providers: [OperationPopupService, OperationPopupState, OperationPopupFacade], ngImport: i0, template: "<verben-pop-Up [customStyles]=\"{ 'z-index': '99' }\" [enableMouseLeave]=\"false\" [customStyles]=\"{\n border: '1px solid #d4a10780',\n borderRadius: '5px',\n backgroundColor: 'white'\n }\" [(dropdownOpen)]=\"isPopupOpen\">\n\n <!-- Trigger (projected content from parent) -->\n <div dropdown-trigger>\n <ng-content select=\"[trigger]\"></ng-content>\n </div>\n\n <!-- Popup content -->\n <div class=\"bg-white rounded-sm\" dropdown-content>\n <!-- Step 1: Action Selection -->\n <div *ngIf=\"currentStep === 'action-selection'\">\n <div *ngFor=\"let action of filteredActions\" (click)=\"onActionSelect(action.value)\"\n class=\"cursor-pointer py-2 px-3 hover:bg-primary\">\n {{ action.label }}\n </div>\n </div>\n\n <!-- Step 2: Action Form -->\n <div *ngIf=\"currentStep === 'action-form'\" style=\"width: 16rem\">\n <div class=\"flex items-center gap-4 justify-between h-12 px-2 pt-4\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n (click)=\"currentStep = 'action-selection'; activeActionType = null\">\n <g opacity=\"0.6\">\n <path\n d=\"M6.74649 8.00338C6.91483 8.1347 7.0252 8.20455 7.11531 8.29396C7.98846 9.16222 8.85742 10.0347 9.72917 10.905C9.87167 11.0475 9.99391 11.1921 9.99321 11.4129C9.99251 11.6462 9.89472 11.8152 9.69564 11.9256C9.49307 12.038 9.2926 12.0206 9.10469 11.8899C9.03833 11.8438 8.98175 11.7845 8.92378 11.7272C7.85574 10.6592 6.79678 9.58203 5.71477 8.52867C5.3711 8.19407 5.38437 7.79173 5.70779 7.47599C6.7884 6.42123 7.84875 5.34551 8.91539 4.27607C9.11377 4.07769 9.32054 3.92262 9.623 4.04137C9.97924 4.18107 10.112 4.58901 9.89472 4.90335C9.82976 4.99765 9.74174 5.07728 9.66002 5.1597C8.80642 6.01469 7.95283 6.86968 7.09645 7.72257C7.01472 7.8043 6.91553 7.86856 6.74579 8.00408L6.74649 8.00338Z\"\n fill=\"black\" />\n </g>\n </svg>\n\n <h3 class=\"text-sm font-medium\">{{ submitButtonLabel }}</h3>\n </div>\n\n <div class=\"grid gap-2 max-h-96 overflow-y-auto p-2\">\n <!-- Action Dropdown (for PassOn, PassBack, SkipTo) -->\n <verben-drop-down *ngIf=\"showActionDropdown\" label=\"Action\" styleClass=\"w-full\" width=\"100%\"\n [multiselect]=\"false\" [filter]=\"true\" filterBy=\"Name\" [showClear]=\"true\" placeholder=\"Select Action\"\n [options]=\"nextActions\" id=\"actions\" optionLabel=\"Name\" [ngModel]=\"selectedAction | async\"\n (ngModelChange)=\"selectedAction.next($event)\" class=\"form-control\">\n </verben-drop-down>\n\n <!-- Stage Dropdown (for PickTask, ReleaseTask) -->\n <verben-drop-down *ngIf=\"showStageDropdown\" label=\"Stages\" styleClass=\"w-full\" width=\"100%\"\n [multiselect]=\"false\" [filter]=\"true\" filterBy=\"Name\" [showClear]=\"true\" placeholder=\"Select Stage\"\n [options]=\"task?.FullStages || []\" id=\"stages\" optionLabel=\"Name\" optionValue=\"Code\"\n [(ngModel)]=\"selectedStageCode\" class=\"form-control\">\n </verben-drop-down>\n\n <!-- Actor Dropdown -->\n <verben-drop-down *ngIf=\"showActorDropdown\" label=\"Actors\" styleClass=\"w-full\" width=\"100%\"\n [multiselect]=\"false\" [filter]=\"true\" filterBy=\"Name\" [showClear]=\"true\" placeholder=\"Select Actor\"\n [options]=\"nextActors\" id=\"actors\" optionLabel=\"Name\" optionValue=\"Identifier\"\n [(ngModel)]=\"recipientCode\" class=\"form-control\">\n </verben-drop-down>\n\n <!-- Comment Textarea -->\n <textarea [(ngModel)]=\"comment\" placeholder=\"Enter Comment\"\n class=\"w-full p-1 text-xs border border-primary rounded-md\" style=\"height: 8rem\" [cols]=\"8\">\n </textarea>\n\n <!-- Submit Button -->\n <verbena-button [disable]=\"!canSubmit\" [text]=\"submitButtonLabel\" (click)=\"handleActionSubmit()\"\n class=\"text-xs w-full\" bgColor=\"var(--vbn-color-primary)\" textColor=\"var(--vbn-color-on-primary)\" borderRadius=\"10px\" fontSize=\"14px\"\n pd=\"10px 20px\" width=\"100%\" height=\"32px\">\n {{ submitButtonLabel }}\n </verbena-button>\n </div>\n </div>\n </div>\n</verben-pop-Up>\n\n<!-- Form Dialog for PassOn when form is required -->\n<verben-dialogue [showCloseIcon]=\"true\" [dismissOutsideClick]=\"true\" [closeOnEscape]=\"true\" [mode]=\"'drawer'\"\n [padding]=\"'0px'\" [drawerWidth]=\"'400px'\" [disableFooter]=\"false\" [isVisible]=\"isFormModalVisible\"\n [modalData]=\"stageForm\" [headerTemplate]=\"headerTemplate\" [bodyTemplate]=\"bodyTemplate\" [showCloseIcon]=\"false\" [style]=\"{ 'z-index': '99' }\">\n</verben-dialogue>\n<ng-template #headerTemplate>\n <div class=\"bg-[var(--vbn-color-primary)] px-6 py-4 flex justify-between items-center\">\n <h1>Form</h1>\n <verben-svg class=\"cursor-pointer\" [icon]=\"'close-circle'\" (click)=\"isFormModalVisible = false\" [width]=\"15\"\n [height]=\"15\" [stroke]=\"'var(--vbn-color-surface)'\"></verben-svg>\n </div>\n</ng-template>\n\n<ng-template #bodyTemplate>\n <div>\n <div *ngIf=\"stageForm?.Entities?.[active]; else emptyState\" class=\"mt-4\">\n <form-control [dataType]=\"dataType\"\n [formProperties]=\"stageForm?.Entities?.[active]?.Properties ?? []\"></form-control>\n\n <div class=\"flex gap-3 justify-end\">\n <verbena-button class=\"verben-primary-button\" (click)=\"submitForm()\"\n [disable]=\"!areRequiredPropertiesFilled()\" text=\"Save\"></verbena-button>\n </div>\n </div>\n\n <!-- Empty state template -->\n <ng-template #emptyState>\n <p class=\"mt-4 p-4 text-gray-600 text-center\">\n No entries available for the selected form group.\n </p>\n </ng-template>\n </div>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: VerbenPopUpModule }, { kind: "component", type: i4.VerbenPopUpComponent, selector: "verben-pop-Up", inputs: ["dropdownOpen", "dropdownWidth", "color", "customStyles", "popUpClass", "border", "borderRadius", "enableMouseLeave", "cdkPosition"], outputs: ["dropdownOpenChange", "close"] }, { kind: "ngmodule", type: DropDownModule }, { kind: "component", type: i4.DropDownComponent, selector: "verben-drop-down", inputs: ["options", "width", "overlayWidth", "showHorizontalLine", "horizontalLineColor", "optionLabel", "optionSubLabel", "optionValue", "placeholder", "invalidMessage", "errorPosition", "loadMoreCaption", "display", "showClear", "lazyLoad", "selectKey", "styleClass", "group", "multiselect", "filter", "avoidDuplication", "filterBy", "debounceTime", "minChar", "refPageSize", "disabled", "required", "autoScrollToCurrentItem", "load", "asyncLabel", "search"], outputs: ["optionsChange", "onChange", "onClick", "onClear"] }, { kind: "ngmodule", type: VerbenaButtonModule }, { kind: "component", type: i4.VerbenaButtonComponent, selector: "verbena-button", inputs: ["type", "text", "styleType", "size", "block", "disable", "disabled", "isLoading", "spinnerSize", "spinnerColor", "svg", "svgPosition", "svgWidth", "svgHeight", "svgSize", "svgColor", "icon", "useIcon", "iconPosition", "iconColor", "variant", "weight", "bgColor", "textColor", "border", "borderRadius", "pd", "width", "height", "fontSize", "fontWeight", "buttonClass", "buttonTextClass"] }, { kind: "ngmodule", type: VerbenDialogueModule }, { kind: "component", type: i4.VerbenDialogueComponent, selector: "verben-dialogue", inputs: ["dialogueWidth", "headerTemplate", "bodyTemplate", "footerTemplate", "showCloseIcon", "dismissOutsideClick", "closeOnEscape", "isVisible", "size", "backdropColor", "customClass", "disableFooter", "margin", "padding", "borderRadius", "dialogueBgColor", "width", "closeIconClass", "boxShadow", "enableTransition", "modalData", "mode", "position", "drawerWidth"], outputs: ["openModal", "closeModal"] }, { kind: "ngmodule", type: FormControlerModule }, { kind: "component", type: i5.FormControlComponent, selector: "form-control", inputs: ["dataType", "value", "boolInputType", "formProperties", "disabled"] }, { kind: "ngmodule", type: FormTimerModule }, { kind: "ngmodule", type: SvgModule }, { kind: "component", type: i4.SvgComponent, selector: "verben-svg", inputs: ["icon", "width", "height", "fill", "stroke", "type", "size"] }] });
|
|
816
|
-
}
|
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupComponent, decorators: [{
|
|
818
|
-
type: Component,
|
|
819
|
-
args: [{ selector: 'lib-operation-popup', standalone: true, imports: [
|
|
820
|
-
CommonModule,
|
|
821
|
-
FormsModule,
|
|
822
|
-
VerbenPopUpModule,
|
|
823
|
-
DropDownModule,
|
|
824
|
-
VerbenaButtonModule,
|
|
825
|
-
VerbenDialogueModule,
|
|
826
|
-
FormControlerModule,
|
|
827
|
-
FormTimerModule,
|
|
828
|
-
SvgModule,
|
|
829
|
-
], providers: [OperationPopupService, OperationPopupState, OperationPopupFacade], template: "<verben-pop-Up [customStyles]=\"{ 'z-index': '99' }\" [enableMouseLeave]=\"false\" [customStyles]=\"{\n border: '1px solid #d4a10780',\n borderRadius: '5px',\n backgroundColor: 'white'\n }\" [(dropdownOpen)]=\"isPopupOpen\">\n\n <!-- Trigger (projected content from parent) -->\n <div dropdown-trigger>\n <ng-content select=\"[trigger]\"></ng-content>\n </div>\n\n <!-- Popup content -->\n <div class=\"bg-white rounded-sm\" dropdown-content>\n <!-- Step 1: Action Selection -->\n <div *ngIf=\"currentStep === 'action-selection'\">\n <div *ngFor=\"let action of filteredActions\" (click)=\"onActionSelect(action.value)\"\n class=\"cursor-pointer py-2 px-3 hover:bg-primary\">\n {{ action.label }}\n </div>\n </div>\n\n <!-- Step 2: Action Form -->\n <div *ngIf=\"currentStep === 'action-form'\" style=\"width: 16rem\">\n <div class=\"flex items-center gap-4 justify-between h-12 px-2 pt-4\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n (click)=\"currentStep = 'action-selection'; activeActionType = null\">\n <g opacity=\"0.6\">\n <path\n d=\"M6.74649 8.00338C6.91483 8.1347 7.0252 8.20455 7.11531 8.29396C7.98846 9.16222 8.85742 10.0347 9.72917 10.905C9.87167 11.0475 9.99391 11.1921 9.99321 11.4129C9.99251 11.6462 9.89472 11.8152 9.69564 11.9256C9.49307 12.038 9.2926 12.0206 9.10469 11.8899C9.03833 11.8438 8.98175 11.7845 8.92378 11.7272C7.85574 10.6592 6.79678 9.58203 5.71477 8.52867C5.3711 8.19407 5.38437 7.79173 5.70779 7.47599C6.7884 6.42123 7.84875 5.34551 8.91539 4.27607C9.11377 4.07769 9.32054 3.92262 9.623 4.04137C9.97924 4.18107 10.112 4.58901 9.89472 4.90335C9.82976 4.99765 9.74174 5.07728 9.66002 5.1597C8.80642 6.01469 7.95283 6.86968 7.09645 7.72257C7.01472 7.8043 6.91553 7.86856 6.74579 8.00408L6.74649 8.00338Z\"\n fill=\"black\" />\n </g>\n </svg>\n\n <h3 class=\"text-sm font-medium\">{{ submitButtonLabel }}</h3>\n </div>\n\n <div class=\"grid gap-2 max-h-96 overflow-y-auto p-2\">\n <!-- Action Dropdown (for PassOn, PassBack, SkipTo) -->\n <verben-drop-down *ngIf=\"showActionDropdown\" label=\"Action\" styleClass=\"w-full\" width=\"100%\"\n [multiselect]=\"false\" [filter]=\"true\" filterBy=\"Name\" [showClear]=\"true\" placeholder=\"Select Action\"\n [options]=\"nextActions\" id=\"actions\" optionLabel=\"Name\" [ngModel]=\"selectedAction | async\"\n (ngModelChange)=\"selectedAction.next($event)\" class=\"form-control\">\n </verben-drop-down>\n\n <!-- Stage Dropdown (for PickTask, ReleaseTask) -->\n <verben-drop-down *ngIf=\"showStageDropdown\" label=\"Stages\" styleClass=\"w-full\" width=\"100%\"\n [multiselect]=\"false\" [filter]=\"true\" filterBy=\"Name\" [showClear]=\"true\" placeholder=\"Select Stage\"\n [options]=\"task?.FullStages || []\" id=\"stages\" optionLabel=\"Name\" optionValue=\"Code\"\n [(ngModel)]=\"selectedStageCode\" class=\"form-control\">\n </verben-drop-down>\n\n <!-- Actor Dropdown -->\n <verben-drop-down *ngIf=\"showActorDropdown\" label=\"Actors\" styleClass=\"w-full\" width=\"100%\"\n [multiselect]=\"false\" [filter]=\"true\" filterBy=\"Name\" [showClear]=\"true\" placeholder=\"Select Actor\"\n [options]=\"nextActors\" id=\"actors\" optionLabel=\"Name\" optionValue=\"Identifier\"\n [(ngModel)]=\"recipientCode\" class=\"form-control\">\n </verben-drop-down>\n\n <!-- Comment Textarea -->\n <textarea [(ngModel)]=\"comment\" placeholder=\"Enter Comment\"\n class=\"w-full p-1 text-xs border border-primary rounded-md\" style=\"height: 8rem\" [cols]=\"8\">\n </textarea>\n\n <!-- Submit Button -->\n <verbena-button [disable]=\"!canSubmit\" [text]=\"submitButtonLabel\" (click)=\"handleActionSubmit()\"\n class=\"text-xs w-full\" bgColor=\"var(--vbn-color-primary)\" textColor=\"var(--vbn-color-on-primary)\" borderRadius=\"10px\" fontSize=\"14px\"\n pd=\"10px 20px\" width=\"100%\" height=\"32px\">\n {{ submitButtonLabel }}\n </verbena-button>\n </div>\n </div>\n </div>\n</verben-pop-Up>\n\n<!-- Form Dialog for PassOn when form is required -->\n<verben-dialogue [showCloseIcon]=\"true\" [dismissOutsideClick]=\"true\" [closeOnEscape]=\"true\" [mode]=\"'drawer'\"\n [padding]=\"'0px'\" [drawerWidth]=\"'400px'\" [disableFooter]=\"false\" [isVisible]=\"isFormModalVisible\"\n [modalData]=\"stageForm\" [headerTemplate]=\"headerTemplate\" [bodyTemplate]=\"bodyTemplate\" [showCloseIcon]=\"false\" [style]=\"{ 'z-index': '99' }\">\n</verben-dialogue>\n<ng-template #headerTemplate>\n <div class=\"bg-[var(--vbn-color-primary)] px-6 py-4 flex justify-between items-center\">\n <h1>Form</h1>\n <verben-svg class=\"cursor-pointer\" [icon]=\"'close-circle'\" (click)=\"isFormModalVisible = false\" [width]=\"15\"\n [height]=\"15\" [stroke]=\"'var(--vbn-color-surface)'\"></verben-svg>\n </div>\n</ng-template>\n\n<ng-template #bodyTemplate>\n <div>\n <div *ngIf=\"stageForm?.Entities?.[active]; else emptyState\" class=\"mt-4\">\n <form-control [dataType]=\"dataType\"\n [formProperties]=\"stageForm?.Entities?.[active]?.Properties ?? []\"></form-control>\n\n <div class=\"flex gap-3 justify-end\">\n <verbena-button class=\"verben-primary-button\" (click)=\"submitForm()\"\n [disable]=\"!areRequiredPropertiesFilled()\" text=\"Save\"></verbena-button>\n </div>\n </div>\n\n <!-- Empty state template -->\n <ng-template #emptyState>\n <p class=\"mt-4 p-4 text-gray-600 text-center\">\n No entries available for the selected form group.\n </p>\n </ng-template>\n </div>\n</ng-template>\n" }]
|
|
830
|
-
}], ctorParameters: () => [{ type: OperationPopupFacade }], propDecorators: { user: [{
|
|
831
|
-
type: Input
|
|
832
|
-
}], task: [{
|
|
833
|
-
type: Input
|
|
834
|
-
}], allowedActions: [{
|
|
835
|
-
type: Input
|
|
836
|
-
}], actionComplete: [{
|
|
837
|
-
type: Output
|
|
838
|
-
}] } });
|
|
839
|
-
|
|
840
|
-
/**
|
|
841
|
-
* Generated bundle index. Do not edit.
|
|
842
|
-
*/
|
|
843
|
-
|
|
844
|
-
export { OperationPopupComponent, OperationPopupService };
|
|
845
|
-
//# sourceMappingURL=verben-workflow-ui-src-lib-components-operation-popup.mjs.map
|