verben-workflow-ui 0.5.93 → 0.5.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/public-api.mjs +41 -0
- package/esm2022/src/lib/base/core/base-data-page.facade.mjs +412 -0
- package/esm2022/src/lib/base/core/base-data-page.service.mjs +140 -0
- package/esm2022/src/lib/base/core/base-data-page.state.mjs +216 -0
- package/esm2022/src/lib/base/handlers/filter-handler.service.mjs +138 -0
- package/esm2022/src/lib/base/handlers/search-handler.service.mjs +31 -0
- package/esm2022/src/lib/base/handlers/sort-handler.service.mjs +73 -0
- package/esm2022/src/lib/base/index.mjs +2 -0
- package/esm2022/src/lib/base/models/api-payload.mjs +7 -0
- package/esm2022/src/lib/base/models/page-config.interface.mjs +2 -0
- package/esm2022/src/lib/base/models/page-filter-tab-option.interface.mjs +2 -0
- package/esm2022/src/lib/base/public-api.mjs +14 -0
- package/esm2022/src/lib/base/utils/column-helpers.mjs +55 -0
- package/esm2022/src/lib/base/verben-workflow-ui-src-lib-base.mjs +5 -0
- package/esm2022/src/lib/components/actors/actors.columns.mjs +39 -0
- package/esm2022/src/lib/components/actors/actors.component.mjs +175 -0
- package/esm2022/src/lib/components/actors/actors.config.mjs +49 -0
- package/esm2022/src/lib/components/actors/actors.facade.mjs +57 -0
- package/esm2022/src/lib/components/actors/actors.form.component.mjs +74 -0
- package/esm2022/src/lib/components/actors/actors.module.mjs +21 -0
- package/esm2022/src/lib/components/actors/actors.service.mjs +65 -0
- package/esm2022/src/lib/components/actors/actors.state.mjs +31 -0
- package/esm2022/src/lib/components/actors/index.mjs +2 -0
- package/esm2022/src/lib/components/actors/public-api.mjs +3 -0
- package/esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs +5 -0
- package/esm2022/src/lib/components/designer/components/label-editor.component.mjs +148 -0
- package/esm2022/src/lib/components/designer/components/node-selector.component.mjs +317 -0
- package/esm2022/src/lib/components/designer/components/swimlane-label.component.mjs +161 -0
- package/esm2022/src/lib/components/designer/components/swimlane-popup.component.mjs +85 -0
- package/esm2022/src/lib/components/designer/components/wf-canvas.component.mjs +715 -0
- package/esm2022/src/lib/components/designer/components/wf-designer.component.mjs +135 -0
- package/esm2022/src/lib/components/designer/components/wf-toolbar.component.mjs +56 -0
- package/esm2022/src/lib/components/designer/index.mjs +2 -0
- package/esm2022/src/lib/components/designer/models/types.mjs +2 -0
- package/esm2022/src/lib/components/designer/public-api.mjs +3 -0
- package/esm2022/src/lib/components/designer/services/canvas-state.service.mjs +50 -0
- package/esm2022/src/lib/components/designer/services/connection-segment-interaction.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/services/connection.service.mjs +266 -0
- package/esm2022/src/lib/components/designer/services/keyboard-handler.service.mjs +43 -0
- package/esm2022/src/lib/components/designer/services/label-management.service.mjs +66 -0
- package/esm2022/src/lib/components/designer/services/node-finder.service.mjs +30 -0
- package/esm2022/src/lib/components/designer/services/node-interaction.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/services/node-precondition.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/services/node-selection.service.mjs +96 -0
- package/esm2022/src/lib/components/designer/services/orthogonal-router.service.mjs +167 -0
- package/esm2022/src/lib/components/designer/services/position-update.service.mjs +45 -0
- package/esm2022/src/lib/components/designer/services/rendering.service.mjs +236 -0
- package/esm2022/src/lib/components/designer/services/swimlane-management.service.mjs +145 -0
- package/esm2022/src/lib/components/designer/services/swimlane-stats.service.mjs +44 -0
- package/esm2022/src/lib/components/designer/services/viewport.service.mjs +30 -0
- package/esm2022/src/lib/components/designer/services/wf-facade.service.mjs +239 -0
- package/esm2022/src/lib/components/designer/services/wf-mapper.service.mjs +323 -0
- package/esm2022/src/lib/components/designer/services/wf-persistence.service.mjs +169 -0
- package/esm2022/src/lib/components/designer/services/wf-state.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs +5 -0
- package/esm2022/src/lib/components/expiration/expiration.component.mjs +49 -0
- package/esm2022/src/lib/components/expiration/expiration.module.mjs +19 -0
- package/esm2022/src/lib/components/expiration/index.mjs +2 -0
- package/esm2022/src/lib/components/expiration/public-api.mjs +3 -0
- package/esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs +5 -0
- package/esm2022/src/lib/components/file-render/file-render.component.mjs +45 -0
- package/esm2022/src/lib/components/file-render/file-render.module.mjs +35 -0
- package/esm2022/src/lib/components/file-render/index.mjs +2 -0
- package/esm2022/src/lib/components/file-render/public-api.mjs +3 -0
- package/esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs +5 -0
- package/esm2022/src/lib/components/file-upload/file-upload.component.mjs +93 -0
- package/esm2022/src/lib/components/file-upload/file-upload.module.mjs +63 -0
- package/esm2022/src/lib/components/file-upload/index.mjs +2 -0
- package/esm2022/src/lib/components/file-upload/public-api.mjs +3 -0
- package/esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs +5 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.columns.mjs +21 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +203 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.config.mjs +47 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.facade.mjs +60 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.form.component.mjs +52 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.module.mjs +21 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.service.mjs +35 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.state.mjs +15 -0
- package/esm2022/src/lib/components/flowable-status/index.mjs +2 -0
- package/esm2022/src/lib/components/flowable-status/public-api.mjs +3 -0
- package/esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs +5 -0
- package/esm2022/src/lib/components/form-control/form-control.component.mjs +155 -0
- package/esm2022/src/lib/components/form-control/form-control.module.mjs +75 -0
- package/esm2022/src/lib/components/form-control/index.mjs +2 -0
- package/esm2022/src/lib/components/form-control/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs +5 -0
- package/esm2022/src/lib/components/form-group/base-table-style.mjs +53 -0
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.component.mjs +952 -0
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.module.mjs +75 -0
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.service.mjs +73 -0
- package/esm2022/src/lib/components/form-group/form-group.component.mjs +699 -0
- package/esm2022/src/lib/components/form-group/form-group.module.mjs +85 -0
- package/esm2022/src/lib/components/form-group/form-group.service.mjs +56 -0
- package/esm2022/src/lib/components/form-group/index.mjs +2 -0
- package/esm2022/src/lib/components/form-group/public-api.mjs +5 -0
- package/esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs +5 -0
- package/esm2022/src/lib/components/form-response/form-response.component.mjs +641 -0
- package/esm2022/src/lib/components/form-response/form-response.module.mjs +76 -0
- package/esm2022/src/lib/components/form-response/form-response.service.mjs +54 -0
- package/esm2022/src/lib/components/form-response/index.mjs +2 -0
- package/esm2022/src/lib/components/form-response/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs +5 -0
- package/esm2022/src/lib/components/form-timer/form-timer.component.mjs +47 -0
- package/esm2022/src/lib/components/form-timer/form-timer.module.mjs +28 -0
- package/esm2022/src/lib/components/form-timer/index.mjs +2 -0
- package/esm2022/src/lib/components/form-timer/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs +5 -0
- package/esm2022/src/lib/components/form-viewer/form-viewer.component.mjs +38 -0
- package/esm2022/src/lib/components/form-viewer/form-viewer.module.mjs +78 -0
- package/esm2022/src/lib/components/form-viewer/index.mjs +2 -0
- package/esm2022/src/lib/components/form-viewer/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-viewer/verben-workflow-ui-src-lib-components-form-viewer.mjs +5 -0
- package/esm2022/src/lib/components/forms/base-table-style.mjs +53 -0
- package/esm2022/src/lib/components/forms/forms.component.mjs +673 -0
- package/esm2022/src/lib/components/forms/forms.module.mjs +18 -0
- package/esm2022/src/lib/components/forms/forms.service.mjs +68 -0
- package/esm2022/src/lib/components/forms/index.mjs +2 -0
- package/esm2022/src/lib/components/forms/public-api.mjs +3 -0
- package/esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs +5 -0
- package/esm2022/src/lib/components/journal/index.mjs +2 -0
- package/esm2022/src/lib/components/journal/journal.component.mjs +11 -0
- package/esm2022/src/lib/components/journal/journal.module.mjs +18 -0
- package/esm2022/src/lib/components/journal/public-api.mjs +3 -0
- package/esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs +5 -0
- package/esm2022/src/lib/components/my-queue/index.mjs +2 -0
- package/esm2022/src/lib/components/my-queue/my-queue.columns.mjs +34 -0
- package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +342 -0
- package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +502 -0
- package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +46 -0
- package/esm2022/src/lib/components/my-queue/my-queue.service.mjs +144 -0
- package/esm2022/src/lib/components/my-queue/my-queue.state.mjs +108 -0
- package/esm2022/src/lib/components/my-queue/public-api.mjs +4 -0
- package/esm2022/src/lib/components/my-queue/tasks.form.component.mjs +167 -0
- package/esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs +5 -0
- package/esm2022/src/lib/components/operation-popup/index.mjs +2 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.component.mjs +382 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.facade.mjs +338 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +71 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.state.mjs +44 -0
- package/esm2022/src/lib/components/operation-popup/public-api.mjs +2 -0
- package/esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs +5 -0
- package/esm2022/src/lib/components/stage-details/index.mjs +2 -0
- package/esm2022/src/lib/components/stage-details/public-api.mjs +3 -0
- package/esm2022/src/lib/components/stage-details/stage-details.component.mjs +49 -0
- package/esm2022/src/lib/components/stage-details/stage-details.module.mjs +19 -0
- package/esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs +5 -0
- package/esm2022/src/lib/components/task-form/index.mjs +2 -0
- package/esm2022/src/lib/components/task-form/public-api.mjs +3 -0
- package/esm2022/src/lib/components/task-form/task-form.component.mjs +18 -0
- package/esm2022/src/lib/components/task-form/task-form.module.mjs +72 -0
- package/esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs +5 -0
- package/esm2022/src/lib/components/task-history/index.mjs +2 -0
- package/esm2022/src/lib/components/task-history/public-api.mjs +3 -0
- package/esm2022/src/lib/components/task-history/task-history.component.mjs +217 -0
- package/esm2022/src/lib/components/task-history/task-history.module.mjs +20 -0
- package/esm2022/src/lib/components/task-history/task-history.service.mjs +32 -0
- package/esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs +5 -0
- package/esm2022/src/lib/components/task-notification/base-table-style.mjs +53 -0
- package/esm2022/src/lib/components/task-notification/index.mjs +2 -0
- package/esm2022/src/lib/components/task-notification/public-api.mjs +3 -0
- package/esm2022/src/lib/components/task-notification/task-notification.component.mjs +670 -0
- package/esm2022/src/lib/components/task-notification/task-notification.module.mjs +18 -0
- package/esm2022/src/lib/components/task-notification/task-notification.service.mjs +256 -0
- package/esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs +5 -0
- package/esm2022/src/lib/components/tasks/index.mjs +2 -0
- package/esm2022/src/lib/components/tasks/public-api.mjs +6 -0
- package/esm2022/src/lib/components/tasks/tasks.columns.mjs +48 -0
- package/esm2022/src/lib/components/tasks/tasks.component.mjs +193 -0
- package/esm2022/src/lib/components/tasks/tasks.facade.mjs +372 -0
- package/esm2022/src/lib/components/tasks/tasks.form.component.mjs +162 -0
- package/esm2022/src/lib/components/tasks/tasks.models.mjs +4 -0
- package/esm2022/src/lib/components/tasks/tasks.module.mjs +52 -0
- package/esm2022/src/lib/components/tasks/tasks.service.mjs +137 -0
- package/esm2022/src/lib/components/tasks/tasks.state.mjs +108 -0
- package/esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs +5 -0
- package/esm2022/src/lib/components/wf/index.mjs +2 -0
- package/esm2022/src/lib/components/wf/public-api.mjs +4 -0
- package/esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs +5 -0
- package/esm2022/src/lib/components/wf/wf.columns.mjs +34 -0
- package/esm2022/src/lib/components/wf/wf.component.mjs +68 -0
- package/esm2022/src/lib/components/wf/wf.module.mjs +22 -0
- package/esm2022/src/lib/components/wf/wf.service.mjs +82 -0
- package/esm2022/src/lib/components/workflow/column.mjs +38 -0
- package/esm2022/src/lib/components/workflow/helper.mjs +47 -0
- package/esm2022/src/lib/components/workflow/index.mjs +2 -0
- package/esm2022/src/lib/components/workflow/public-api.mjs +4 -0
- package/esm2022/src/lib/components/workflow/table-style.mjs +53 -0
- package/esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs +5 -0
- package/esm2022/src/lib/components/workflow/workflow.component.mjs +210 -0
- package/esm2022/src/lib/components/workflow/workflow.module.mjs +19 -0
- package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +125 -0
- package/esm2022/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.mjs +78 -0
- package/esm2022/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.mjs +87 -0
- package/esm2022/src/lib/components/workflow-designer/decision-popup/decision-popup.component.mjs +84 -0
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +1265 -0
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.mjs +96 -0
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.mjs +2 -0
- package/esm2022/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.mjs +242 -0
- package/esm2022/src/lib/components/workflow-designer/index.mjs +2 -0
- package/esm2022/src/lib/components/workflow-designer/public-api.mjs +5 -0
- package/esm2022/src/lib/components/workflow-designer/services/connection.service.mjs +237 -0
- package/esm2022/src/lib/components/workflow-designer/services/node-management.service.mjs +321 -0
- package/esm2022/src/lib/components/workflow-designer/services/popup.service.mjs +240 -0
- package/esm2022/src/lib/components/workflow-designer/services/swimlane.service.mjs +158 -0
- package/esm2022/src/lib/components/workflow-designer/services/transformer.service.mjs +278 -0
- package/esm2022/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.mjs +177 -0
- package/esm2022/src/lib/components/workflow-designer/stage-node/stage-node.component.mjs +226 -0
- package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +138 -0
- package/esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs +5 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +210 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +460 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.module.mjs +126 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +922 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.types.mjs +2 -0
- package/esm2022/src/lib/components/workflow-stage/index.mjs +2 -0
- package/esm2022/src/lib/components/workflow-stage/public-api.mjs +3 -0
- package/esm2022/src/lib/components/workflow-stage/verben-workflow-ui-src-lib-components-workflow-stage.mjs +5 -0
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.component.mjs +328 -0
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.module.mjs +82 -0
- package/esm2022/src/lib/components/workflows/index.mjs +2 -0
- package/esm2022/src/lib/components/workflows/public-api.mjs +7 -0
- package/esm2022/src/lib/components/workflows/verben-workflow-ui-src-lib-components-workflows.mjs +5 -0
- package/esm2022/src/lib/components/workflows/workflow-form/workflow-form.component.mjs +89 -0
- package/esm2022/src/lib/components/workflows/workflows.api.mjs +63 -0
- package/esm2022/src/lib/components/workflows/workflows.columns.mjs +39 -0
- package/esm2022/src/lib/components/workflows/workflows.component.mjs +236 -0
- package/esm2022/src/lib/components/workflows/workflows.config.mjs +51 -0
- package/esm2022/src/lib/components/workflows/workflows.facade.mjs +114 -0
- package/esm2022/src/lib/components/workflows/workflows.module.mjs +21 -0
- package/esm2022/src/lib/components/workflows/workflows.service.mjs +63 -0
- package/esm2022/src/lib/components/workflows/workflows.state.mjs +23 -0
- package/esm2022/src/lib/models/ActionHistory.mjs +2 -0
- package/esm2022/src/lib/models/ActionType.mjs +11 -0
- package/esm2022/src/lib/models/Actor.mjs +2 -0
- package/esm2022/src/lib/models/ActorTag.mjs +2 -0
- package/esm2022/src/lib/models/Coord.mjs +2 -0
- package/esm2022/src/lib/models/DataType.mjs +27 -0
- package/esm2022/src/lib/models/EAVEntity.mjs +2 -0
- package/esm2022/src/lib/models/ErrorResponse.mjs +11 -0
- package/esm2022/src/lib/models/Escalation.mjs +2 -0
- package/esm2022/src/lib/models/EscalationCycle.mjs +2 -0
- package/esm2022/src/lib/models/EscalationStage.mjs +2 -0
- package/esm2022/src/lib/models/EscalationType.mjs +7 -0
- package/esm2022/src/lib/models/File.mjs +2 -0
- package/esm2022/src/lib/models/FilterTypes.mjs +9 -0
- package/esm2022/src/lib/models/FlowableStatus.mjs +2 -0
- package/esm2022/src/lib/models/Form.mjs +2 -0
- package/esm2022/src/lib/models/FormEntity.mjs +2 -0
- package/esm2022/src/lib/models/FormFill.mjs +6 -0
- package/esm2022/src/lib/models/FormProperty.mjs +2 -0
- package/esm2022/src/lib/models/FormValues.mjs +2 -0
- package/esm2022/src/lib/models/MailConfig.mjs +2 -0
- package/esm2022/src/lib/models/MessageConfig.mjs +2 -0
- package/esm2022/src/lib/models/MessageMedium.mjs +6 -0
- package/esm2022/src/lib/models/OperationAction.mjs +2 -0
- package/esm2022/src/lib/models/PagedResult.mjs +2 -0
- package/esm2022/src/lib/models/PeriodMode.mjs +12 -0
- package/esm2022/src/lib/models/PermissionConfig.mjs +2 -0
- package/esm2022/src/lib/models/ReportSchedule.mjs +2 -0
- package/esm2022/src/lib/models/ReportType.mjs +7 -0
- package/esm2022/src/lib/models/Resource.mjs +47 -0
- package/esm2022/src/lib/models/ResponseKeyValue.mjs +2 -0
- package/esm2022/src/lib/models/SMSConfig.mjs +2 -0
- package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +2 -0
- package/esm2022/src/lib/models/SearchOperator.mjs +6 -0
- package/esm2022/src/lib/models/SearchPropertySign.mjs +11 -0
- package/esm2022/src/lib/models/SearchPropertyValue.mjs +2 -0
- package/esm2022/src/lib/models/SearchPropertyValueType.mjs +11 -0
- package/esm2022/src/lib/models/Size.mjs +2 -0
- package/esm2022/src/lib/models/SortDirection.mjs +7 -0
- package/esm2022/src/lib/models/StageActorRule.mjs +8 -0
- package/esm2022/src/lib/models/SwimLane.mjs +2 -0
- package/esm2022/src/lib/models/Tag.mjs +2 -0
- package/esm2022/src/lib/models/Task.mjs +2 -0
- package/esm2022/src/lib/models/TaskAssignmentType.mjs +6 -0
- package/esm2022/src/lib/models/TaskNotification.mjs +2 -0
- package/esm2022/src/lib/models/TaskNotificationMessageType.mjs +6 -0
- package/esm2022/src/lib/models/TaskNotificationType.mjs +8 -0
- package/esm2022/src/lib/models/TaskStatus.mjs +9 -0
- package/esm2022/src/lib/models/Workflow.mjs +2 -0
- package/esm2022/src/lib/models/WorkflowAction.mjs +2 -0
- package/esm2022/src/lib/models/WorkflowOperation.mjs +2 -0
- package/esm2022/src/lib/models/WorkflowStage.mjs +2 -0
- package/esm2022/src/lib/models/actors.mjs +2 -0
- package/esm2022/src/lib/models/auth-mechanism.mjs +8 -0
- package/esm2022/src/lib/models/base.mjs +2 -0
- package/esm2022/src/lib/models/index.mjs +2 -0
- package/esm2022/src/lib/models/object-state.mjs +8 -0
- package/esm2022/src/lib/models/operation-type.mjs +7 -0
- package/esm2022/src/lib/models/paged.mjs +2 -0
- package/esm2022/src/lib/models/public-api.mjs +64 -0
- package/esm2022/src/lib/models/query-params.mjs +2 -0
- package/esm2022/src/lib/models/status.mjs +6 -0
- package/esm2022/src/lib/models/task-history.mjs +2 -0
- package/esm2022/src/lib/models/user-access-request-status.mjs +7 -0
- package/esm2022/src/lib/models/user.mjs +2 -0
- package/esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs +5 -0
- package/esm2022/src/lib/pipes/async-label.pipe.mjs +25 -0
- package/esm2022/src/lib/pipes/index.mjs +2 -0
- package/esm2022/src/lib/pipes/public-api.mjs +2 -0
- package/esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs +5 -0
- package/esm2022/src/lib/services/environment.service.mjs +26 -0
- package/esm2022/src/lib/services/http-web-request.service.mjs +92 -0
- package/esm2022/src/lib/services/index.mjs +2 -0
- package/esm2022/src/lib/services/label.service.mjs +134 -0
- package/esm2022/src/lib/services/public-api.mjs +5 -0
- package/esm2022/src/lib/services/util.service.mjs +73 -0
- package/esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs +5 -0
- package/esm2022/src/lib/shared/base-table-style.mjs +55 -0
- package/esm2022/src/lib/shared/components/base-data-view.component.mjs +154 -0
- package/esm2022/src/lib/shared/components/base-model-field.mjs +21 -0
- package/esm2022/src/lib/shared/index.mjs +7 -0
- package/esm2022/src/lib/shared/models/DataViewConfig.mjs +2 -0
- package/esm2022/src/lib/shared/public-api.mjs +13 -0
- package/esm2022/src/lib/shared/shared.module.mjs +103 -0
- package/esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs +5 -0
- package/esm2022/verben-workflow-ui.mjs +5 -0
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs +1055 -0
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs +484 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +3887 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs +72 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +83 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +159 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +430 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +232 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +1967 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs +769 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs +78 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs +118 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs +812 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +33 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +1317 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +827 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs +72 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs +94 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +269 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs +995 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +1046 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs +203 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +5353 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs +412 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs +365 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +666 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs +255 -0
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +32 -0
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs +320 -0
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs +336 -0
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui.mjs +34 -0
- package/fesm2022/verben-workflow-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +193 -8
- package/public-api.d.ts +22 -0
- package/src/lib/base/core/base-data-page.facade.d.ts +138 -0
- package/src/lib/base/core/base-data-page.service.d.ts +61 -0
- package/src/lib/base/core/base-data-page.state.d.ts +73 -0
- package/src/lib/base/handlers/filter-handler.service.d.ts +34 -0
- package/src/lib/base/handlers/search-handler.service.d.ts +20 -0
- package/src/lib/base/handlers/sort-handler.service.d.ts +30 -0
- package/src/lib/base/models/api-payload.d.ts +2 -0
- package/src/lib/base/models/page-config.interface.d.ts +24 -0
- package/src/lib/base/models/page-filter-tab-option.interface.d.ts +19 -0
- package/src/lib/base/public-api.d.ts +9 -0
- package/src/lib/base/utils/column-helpers.d.ts +24 -0
- package/src/lib/components/actors/actors.columns.d.ts +3 -0
- package/src/lib/components/actors/actors.component.d.ts +79 -0
- package/src/lib/components/actors/actors.config.d.ts +10 -0
- package/src/lib/components/actors/actors.facade.d.ts +29 -0
- package/src/lib/components/actors/actors.form.component.d.ts +23 -0
- package/src/lib/components/actors/actors.module.d.ts +11 -0
- package/src/lib/components/actors/actors.service.d.ts +33 -0
- package/src/lib/components/actors/actors.state.d.ts +19 -0
- package/src/lib/components/designer/components/label-editor.component.d.ts +22 -0
- package/src/lib/components/designer/components/node-selector.component.d.ts +23 -0
- package/src/lib/components/designer/components/swimlane-label.component.d.ts +12 -0
- package/src/lib/components/designer/components/swimlane-popup.component.d.ts +18 -0
- package/src/lib/components/designer/components/wf-canvas.component.d.ts +37 -0
- package/src/lib/components/designer/components/wf-designer.component.d.ts +22 -0
- package/src/lib/components/designer/components/wf-toolbar.component.d.ts +17 -0
- package/src/lib/components/designer/models/types.d.ts +103 -0
- package/src/lib/components/designer/services/canvas-state.service.d.ts +24 -0
- package/src/lib/components/designer/services/connection-segment-interaction.service.d.ts +36 -0
- package/src/lib/components/designer/services/connection.service.d.ts +47 -0
- package/src/lib/components/designer/services/keyboard-handler.service.d.ts +9 -0
- package/src/lib/components/designer/services/label-management.service.d.ts +14 -0
- package/src/lib/components/designer/services/node-finder.service.d.ts +10 -0
- package/src/lib/components/designer/services/node-interaction.service.d.ts +19 -0
- package/src/lib/components/designer/services/node-precondition.service.d.ts +37 -0
- package/src/lib/components/designer/services/node-selection.service.d.ts +19 -0
- package/src/lib/components/designer/services/orthogonal-router.service.d.ts +36 -0
- package/src/lib/components/designer/services/position-update.service.d.ts +10 -0
- package/src/lib/components/designer/services/rendering.service.d.ts +67 -0
- package/src/lib/components/designer/services/swimlane-management.service.d.ts +19 -0
- package/src/lib/components/designer/services/swimlane-stats.service.d.ts +19 -0
- package/src/lib/components/designer/services/viewport.service.d.ts +10 -0
- package/src/lib/components/designer/services/wf-facade.service.d.ts +67 -0
- package/src/lib/components/designer/services/wf-mapper.service.d.ts +26 -0
- package/src/lib/components/designer/services/wf-persistence.service.d.ts +21 -0
- package/src/lib/components/designer/services/wf-state.service.d.ts +30 -0
- package/src/lib/components/expiration/expiration.component.d.ts +20 -0
- package/src/lib/components/expiration/expiration.module.d.ts +9 -0
- package/src/lib/components/file-render/file-render.component.d.ts +17 -0
- package/src/lib/components/file-render/file-render.module.d.ts +10 -0
- package/src/lib/components/file-upload/file-upload.component.d.ts +22 -0
- package/src/lib/components/file-upload/file-upload.module.d.ts +11 -0
- package/src/lib/components/flowable-status/flowable-status.columns.d.ts +3 -0
- package/src/lib/components/flowable-status/flowable-status.component.d.ts +80 -0
- package/src/lib/components/flowable-status/flowable-status.config.d.ts +11 -0
- package/src/lib/components/flowable-status/flowable-status.facade.d.ts +26 -0
- package/src/lib/components/flowable-status/flowable-status.form.component.d.ts +18 -0
- package/src/lib/components/flowable-status/flowable-status.module.d.ts +11 -0
- package/src/lib/components/flowable-status/flowable-status.service.d.ts +23 -0
- package/src/lib/components/flowable-status/flowable-status.state.d.ts +11 -0
- package/src/lib/components/flowable-status/public-api.d.ts +2 -0
- package/src/lib/components/form-control/form-control.component.d.ts +38 -0
- package/src/lib/components/form-control/form-control.module.d.ts +11 -0
- package/src/lib/components/form-group/base-table-style.d.ts +1 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +136 -0
- package/src/lib/components/form-group/form-fields/form-fields.module.d.ts +11 -0
- package/src/lib/components/form-group/form-fields/form-fields.service.d.ts +9 -0
- package/src/lib/components/form-group/form-group.component.d.ts +108 -0
- package/src/lib/components/form-group/form-group.module.d.ts +15 -0
- package/src/lib/components/form-group/form-group.service.d.ts +9 -0
- package/src/lib/components/form-response/form-response.component.d.ts +108 -0
- package/src/lib/components/form-response/form-response.module.d.ts +12 -0
- package/src/lib/components/form-response/form-response.service.d.ts +9 -0
- package/src/lib/components/form-timer/form-timer.component.d.ts +13 -0
- package/src/lib/components/form-timer/form-timer.module.d.ts +9 -0
- package/src/lib/components/form-viewer/form-viewer.component.d.ts +17 -0
- package/src/lib/components/form-viewer/form-viewer.module.d.ts +11 -0
- package/src/lib/components/forms/base-table-style.d.ts +1 -0
- package/src/lib/components/forms/forms.component.d.ts +88 -0
- package/src/lib/components/forms/forms.module.d.ts +8 -0
- package/src/lib/components/forms/forms.service.d.ts +9 -0
- package/src/lib/components/journal/journal.component.d.ts +5 -0
- package/src/lib/components/journal/journal.module.d.ts +8 -0
- package/src/lib/components/my-queue/my-queue.columns.d.ts +3 -0
- package/src/lib/components/my-queue/my-queue.component.d.ts +58 -0
- package/src/lib/components/my-queue/my-queue.facade.d.ts +47 -0
- package/src/lib/components/my-queue/my-queue.module.d.ts +15 -0
- package/src/lib/components/my-queue/my-queue.service.d.ts +65 -0
- package/src/lib/components/my-queue/my-queue.state.d.ts +39 -0
- package/src/lib/components/my-queue/tasks.form.component.d.ts +43 -0
- package/src/lib/components/operation-popup/operation-popup.component.d.ts +62 -0
- package/src/lib/components/operation-popup/operation-popup.facade.d.ts +32 -0
- package/src/lib/components/operation-popup/operation-popup.service.d.ts +23 -0
- package/src/lib/components/operation-popup/operation-popup.state.d.ts +20 -0
- package/src/lib/components/stage-details/stage-details.component.d.ts +24 -0
- package/src/lib/components/stage-details/stage-details.module.d.ts +9 -0
- package/src/lib/components/task-form/task-form.component.d.ts +10 -0
- package/src/lib/components/task-form/task-form.module.d.ts +10 -0
- package/src/lib/components/task-history/task-history.component.d.ts +35 -0
- package/src/lib/components/task-history/task-history.module.d.ts +10 -0
- package/src/lib/components/task-history/task-history.service.d.ts +13 -0
- package/src/lib/components/task-notification/base-table-style.d.ts +1 -0
- package/src/lib/components/task-notification/task-notification.component.d.ts +89 -0
- package/src/lib/components/task-notification/task-notification.module.d.ts +8 -0
- package/src/lib/components/task-notification/task-notification.service.d.ts +32 -0
- package/src/lib/components/tasks/tasks.columns.d.ts +11 -0
- package/src/lib/components/tasks/tasks.component.d.ts +40 -0
- package/src/lib/components/tasks/tasks.facade.d.ts +44 -0
- package/src/lib/components/tasks/tasks.form.component.d.ts +40 -0
- package/src/lib/components/tasks/tasks.models.d.ts +4 -0
- package/src/lib/components/tasks/tasks.module.d.ts +17 -0
- package/src/lib/components/tasks/tasks.service.d.ts +58 -0
- package/src/lib/components/tasks/tasks.state.d.ts +46 -0
- package/src/lib/components/wf/wf.columns.d.ts +3 -0
- package/src/lib/components/wf/wf.component.d.ts +16 -0
- package/src/lib/components/wf/wf.module.d.ts +10 -0
- package/src/lib/components/wf/wf.service.d.ts +51 -0
- package/src/lib/components/workflow/column.d.ts +3 -0
- package/src/lib/components/workflow/helper.d.ts +2 -0
- package/src/lib/components/workflow/table-style.d.ts +1 -0
- package/src/lib/components/workflow/workflow.component.d.ts +57 -0
- package/src/lib/components/workflow/workflow.module.d.ts +9 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.d.ts +34 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.d.ts +25 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.d.ts +38 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.d.ts +29 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.d.ts +292 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.d.ts +39 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.d.ts +5 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.d.ts +46 -0
- package/src/lib/components/workflow-designer/services/connection.service.d.ts +101 -0
- package/src/lib/components/workflow-designer/services/node-management.service.d.ts +73 -0
- package/src/lib/components/workflow-designer/services/popup.service.d.ts +147 -0
- package/src/lib/components/workflow-designer/services/swimlane.service.d.ts +66 -0
- package/src/lib/components/workflow-designer/services/transformer.service.d.ts +51 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.d.ts +43 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.d.ts +58 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.d.ts +49 -0
- package/src/lib/components/workflow-designer/workflow-data.service.d.ts +59 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.d.ts +121 -0
- package/src/lib/components/workflow-designer/workflow-designer.module.d.ts +41 -0
- package/src/lib/components/workflow-designer/workflow-designer.state.d.ts +278 -0
- package/src/lib/components/workflow-designer/workflow-designer.types.d.ts +129 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.d.ts +78 -0
- package/src/lib/components/workflow-stage/workflow-stage.module.d.ts +12 -0
- package/src/lib/components/workflows/public-api.d.ts +4 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.d.ts +28 -0
- package/src/lib/components/workflows/workflows.api.d.ts +38 -0
- package/src/lib/components/workflows/workflows.columns.d.ts +3 -0
- package/src/lib/components/workflows/workflows.component.d.ts +98 -0
- package/src/lib/components/workflows/workflows.config.d.ts +10 -0
- package/src/lib/components/workflows/workflows.facade.d.ts +41 -0
- package/src/lib/components/workflows/workflows.module.d.ts +11 -0
- package/src/lib/components/workflows/workflows.service.d.ts +32 -0
- package/src/lib/components/workflows/workflows.state.d.ts +15 -0
- package/src/lib/models/ActionHistory.d.ts +16 -0
- package/src/lib/models/ActionType.d.ts +9 -0
- package/src/lib/models/Actor.d.ts +11 -0
- package/src/lib/models/ActorTag.d.ts +6 -0
- package/src/lib/models/Coord.d.ts +4 -0
- package/src/lib/models/DataType.d.ts +25 -0
- package/src/lib/models/EAVEntity.d.ts +4 -0
- package/src/lib/models/ErrorResponse.d.ts +6 -0
- package/src/lib/models/Escalation.d.ts +14 -0
- package/src/lib/models/EscalationCycle.d.ts +12 -0
- package/src/lib/models/EscalationStage.d.ts +10 -0
- package/src/lib/models/EscalationType.d.ts +5 -0
- package/src/lib/models/File.d.ts +7 -0
- package/src/lib/models/FilterTypes.d.ts +6 -0
- package/src/lib/models/FlowableStatus.d.ts +5 -0
- package/src/lib/models/Form.d.ts +13 -0
- package/src/lib/models/FormEntity.d.ts +13 -0
- package/src/lib/models/FormFill.d.ts +15 -0
- package/src/lib/models/FormProperty.d.ts +15 -0
- package/src/lib/models/FormValues.d.ts +14 -0
- package/src/lib/models/MailConfig.d.ts +12 -0
- package/src/lib/models/MessageConfig.d.ts +3 -0
- package/src/lib/models/MessageMedium.d.ts +4 -0
- package/src/lib/models/OperationAction.d.ts +14 -0
- package/src/lib/models/PagedResult.d.ts +5 -0
- package/src/lib/models/PeriodMode.d.ts +10 -0
- package/src/lib/models/PermissionConfig.d.ts +7 -0
- package/src/lib/models/ReportSchedule.d.ts +22 -0
- package/src/lib/models/ReportType.d.ts +5 -0
- package/src/lib/models/Resource.d.ts +20 -0
- package/src/lib/models/ResponseKeyValue.d.ts +5 -0
- package/src/lib/models/SMSConfig.d.ts +10 -0
- package/src/lib/models/SearchDynamicWrapper.d.ts +5 -0
- package/src/lib/models/SearchOperator.d.ts +4 -0
- package/src/lib/models/SearchPropertySign.d.ts +9 -0
- package/src/lib/models/SearchPropertyValue.d.ts +12 -0
- package/src/lib/models/SearchPropertyValueType.d.ts +9 -0
- package/src/lib/models/Size.d.ts +4 -0
- package/src/lib/models/SortDirection.d.ts +5 -0
- package/src/lib/models/StageActorRule.d.ts +6 -0
- package/src/lib/models/SwimLane.d.ts +13 -0
- package/src/lib/models/Tag.d.ts +6 -0
- package/src/lib/models/Task.d.ts +31 -0
- package/src/lib/models/TaskAssignmentType.d.ts +4 -0
- package/src/lib/models/TaskNotification.d.ts +14 -0
- package/src/lib/models/TaskNotificationMessageType.d.ts +4 -0
- package/src/lib/models/TaskNotificationType.d.ts +6 -0
- package/src/lib/models/TaskStatus.d.ts +7 -0
- package/src/lib/models/Workflow.d.ts +21 -0
- package/src/lib/models/WorkflowAction.d.ts +13 -0
- package/src/lib/models/WorkflowOperation.d.ts +6 -0
- package/src/lib/models/WorkflowStage.d.ts +26 -0
- package/src/lib/models/actors.d.ts +8 -0
- package/src/lib/models/auth-mechanism.d.ts +13 -0
- package/src/lib/models/base.d.ts +13 -0
- package/src/lib/models/object-state.d.ts +6 -0
- package/src/lib/models/operation-type.d.ts +5 -0
- package/src/lib/models/paged.d.ts +9 -0
- package/src/lib/models/query-params.d.ts +8 -0
- package/src/lib/models/status.d.ts +4 -0
- package/src/lib/models/task-history.d.ts +17 -0
- package/src/lib/models/user-access-request-status.d.ts +5 -0
- package/src/lib/models/user.d.ts +24 -0
- package/src/lib/pipes/async-label.pipe.d.ts +11 -0
- package/src/lib/services/environment.service.d.ts +23 -0
- package/src/lib/services/http-web-request.service.d.ts +23 -0
- package/src/lib/services/label.service.d.ts +15 -0
- package/src/lib/services/public-api.d.ts +4 -0
- package/src/lib/services/util.service.d.ts +21 -0
- package/src/lib/shared/base-table-style.d.ts +2 -0
- package/src/lib/shared/components/base-data-view.component.d.ts +41 -0
- package/src/lib/shared/components/base-model-field.d.ts +26 -0
- package/src/lib/shared/models/DataViewConfig.d.ts +11 -0
- package/src/lib/shared/public-api.d.ts +5 -0
- package/src/lib/shared/shared.module.d.ts +11 -0
- package/ng-package.json +0 -15
- package/src/lib/base/core/base-data-page.facade.ts +0 -533
- package/src/lib/base/core/base-data-page.service.ts +0 -222
- package/src/lib/base/core/base-data-page.state.ts +0 -287
- package/src/lib/base/handlers/filter-handler.service.ts +0 -169
- package/src/lib/base/handlers/search-handler.service.ts +0 -33
- package/src/lib/base/handlers/sort-handler.service.ts +0 -93
- package/src/lib/base/models/api-payload.ts +0 -13
- package/src/lib/base/models/page-config.interface.ts +0 -49
- package/src/lib/base/models/page-filter-tab-option.interface.ts +0 -20
- package/src/lib/base/ng-package.json +0 -6
- package/src/lib/base/public-api.ts +0 -16
- package/src/lib/base/utils/column-helpers.ts +0 -77
- package/src/lib/components/actors/actors.columns.ts +0 -40
- package/src/lib/components/actors/actors.component.css +0 -0
- package/src/lib/components/actors/actors.component.html +0 -320
- package/src/lib/components/actors/actors.component.spec.ts +0 -23
- package/src/lib/components/actors/actors.component.ts +0 -221
- package/src/lib/components/actors/actors.config.ts +0 -55
- package/src/lib/components/actors/actors.facade.ts +0 -71
- package/src/lib/components/actors/actors.form.component.html +0 -37
- package/src/lib/components/actors/actors.form.component.ts +0 -69
- package/src/lib/components/actors/actors.model.ts +0 -4
- package/src/lib/components/actors/actors.module.ts +0 -13
- package/src/lib/components/actors/actors.service.ts +0 -85
- package/src/lib/components/actors/actors.state.ts +0 -31
- package/src/lib/components/actors/ng-package.json +0 -6
- package/src/lib/components/designer/components/label-editor.component.ts +0 -188
- package/src/lib/components/designer/components/node-selector.component.ts +0 -208
- package/src/lib/components/designer/components/swimlane-label.component.ts +0 -102
- package/src/lib/components/designer/components/swimlane-popup.component.ts +0 -51
- package/src/lib/components/designer/components/wf-canvas.component.ts +0 -495
- package/src/lib/components/designer/components/wf-designer.component.ts +0 -182
- package/src/lib/components/designer/components/wf-node.component.ts +0 -91
- package/src/lib/components/designer/components/wf-properties-popup.component.ts +0 -257
- package/src/lib/components/designer/components/wf-toolbar.component.ts +0 -84
- package/src/lib/components/designer/models/types.ts +0 -132
- package/src/lib/components/designer/ng-package.json +0 -6
- package/src/lib/components/designer/services/canvas-state.service.ts +0 -63
- package/src/lib/components/designer/services/connection-segment-interaction.service.ts +0 -141
- package/src/lib/components/designer/services/connection.service.ts +0 -350
- package/src/lib/components/designer/services/keyboard-handler.service.ts +0 -39
- package/src/lib/components/designer/services/label-management.service.ts +0 -72
- package/src/lib/components/designer/services/node-finder.service.ts +0 -34
- package/src/lib/components/designer/services/node-interaction.service.ts +0 -135
- package/src/lib/components/designer/services/node-placement.service.ts +0 -77
- package/src/lib/components/designer/services/node-precondition.service.ts +0 -138
- package/src/lib/components/designer/services/node-renderer.service.ts +0 -97
- package/src/lib/components/designer/services/node-selection.service.ts +0 -110
- package/src/lib/components/designer/services/orthogonal-router.service.ts +0 -233
- package/src/lib/components/designer/services/position-update.service.ts +0 -56
- package/src/lib/components/designer/services/rendering.service.ts +0 -296
- package/src/lib/components/designer/services/swimlane-management.service.ts +0 -189
- package/src/lib/components/designer/services/swimlane-stats.service.ts +0 -53
- package/src/lib/components/designer/services/tag-helper.service.ts +0 -80
- package/src/lib/components/designer/services/viewport.service.ts +0 -30
- package/src/lib/components/designer/services/wf-facade.service.ts +0 -287
- package/src/lib/components/designer/services/wf-mapper.service.ts +0 -447
- package/src/lib/components/designer/services/wf-persistence.service.ts +0 -184
- package/src/lib/components/designer/services/wf-state.service.ts +0 -143
- package/src/lib/components/expiration/expiration.component.css +0 -0
- package/src/lib/components/expiration/expiration.component.html +0 -21
- package/src/lib/components/expiration/expiration.component.spec.ts +0 -23
- package/src/lib/components/expiration/expiration.component.ts +0 -52
- package/src/lib/components/expiration/expiration.module.ts +0 -11
- package/src/lib/components/expiration/ng-package.json +0 -6
- package/src/lib/components/file-render/file-render.component.css +0 -4
- package/src/lib/components/file-render/file-render.component.html +0 -21
- package/src/lib/components/file-render/file-render.component.spec.ts +0 -23
- package/src/lib/components/file-render/file-render.component.ts +0 -34
- package/src/lib/components/file-render/file-render.module.ts +0 -19
- package/src/lib/components/file-render/ng-package.json +0 -6
- package/src/lib/components/file-upload/file-upload.component.css +0 -0
- package/src/lib/components/file-upload/file-upload.component.html +0 -69
- package/src/lib/components/file-upload/file-upload.component.spec.ts +0 -23
- package/src/lib/components/file-upload/file-upload.component.ts +0 -87
- package/src/lib/components/file-upload/file-upload.module.ts +0 -40
- package/src/lib/components/file-upload/ng-package.json +0 -6
- package/src/lib/components/flowable-status/flowable-status.columns.ts +0 -23
- package/src/lib/components/flowable-status/flowable-status.component.css +0 -1
- package/src/lib/components/flowable-status/flowable-status.component.html +0 -166
- package/src/lib/components/flowable-status/flowable-status.component.ts +0 -247
- package/src/lib/components/flowable-status/flowable-status.config.ts +0 -54
- package/src/lib/components/flowable-status/flowable-status.facade.ts +0 -70
- package/src/lib/components/flowable-status/flowable-status.form.component.html +0 -13
- package/src/lib/components/flowable-status/flowable-status.form.component.ts +0 -51
- package/src/lib/components/flowable-status/flowable-status.model.ts +0 -3
- package/src/lib/components/flowable-status/flowable-status.module.ts +0 -13
- package/src/lib/components/flowable-status/flowable-status.service.ts +0 -39
- package/src/lib/components/flowable-status/flowable-status.state.ts +0 -10
- package/src/lib/components/flowable-status/ng-package.json +0 -6
- package/src/lib/components/flowable-status/public-api.ts +0 -3
- package/src/lib/components/form-control/form-control.component.css +0 -0
- package/src/lib/components/form-control/form-control.component.html +0 -254
- package/src/lib/components/form-control/form-control.component.spec.ts +0 -23
- package/src/lib/components/form-control/form-control.component.ts +0 -169
- package/src/lib/components/form-control/form-control.module.ts +0 -47
- package/src/lib/components/form-control/ng-package.json +0 -6
- package/src/lib/components/form-group/base-table-style.ts +0 -52
- package/src/lib/components/form-group/form-fields/form-fields.component.css +0 -114
- package/src/lib/components/form-group/form-fields/form-fields.component.html +0 -621
- package/src/lib/components/form-group/form-fields/form-fields.component.spec.ts +0 -23
- package/src/lib/components/form-group/form-fields/form-fields.component.ts +0 -1115
- package/src/lib/components/form-group/form-fields/form-fields.module.ts +0 -48
- package/src/lib/components/form-group/form-fields/form-fields.service.ts +0 -70
- package/src/lib/components/form-group/form-fields/helper.ts +0 -45
- package/src/lib/components/form-group/form-group.component.css +0 -113
- package/src/lib/components/form-group/form-group.component.html +0 -486
- package/src/lib/components/form-group/form-group.component.spec.ts +0 -22
- package/src/lib/components/form-group/form-group.component.ts +0 -791
- package/src/lib/components/form-group/form-group.module.ts +0 -54
- package/src/lib/components/form-group/form-group.service.ts +0 -53
- package/src/lib/components/form-group/helper.ts +0 -45
- package/src/lib/components/form-group/ng-package.json +0 -6
- package/src/lib/components/form-response/form-response.component.css +0 -114
- package/src/lib/components/form-response/form-response.component.html +0 -188
- package/src/lib/components/form-response/form-response.component.spec.ts +0 -23
- package/src/lib/components/form-response/form-response.component.ts +0 -723
- package/src/lib/components/form-response/form-response.module.ts +0 -48
- package/src/lib/components/form-response/form-response.service.ts +0 -52
- package/src/lib/components/form-response/helper.ts +0 -222
- package/src/lib/components/form-response/ng-package.json +0 -6
- package/src/lib/components/form-timer/form-timer.component.css +0 -0
- package/src/lib/components/form-timer/form-timer.component.html +0 -47
- package/src/lib/components/form-timer/form-timer.component.spec.ts +0 -23
- package/src/lib/components/form-timer/form-timer.component.ts +0 -50
- package/src/lib/components/form-timer/form-timer.module.ts +0 -19
- package/src/lib/components/form-timer/ng-package.json +0 -6
- package/src/lib/components/form-viewer/form-viewer.component.css +0 -4
- package/src/lib/components/form-viewer/form-viewer.component.html +0 -62
- package/src/lib/components/form-viewer/form-viewer.component.spec.ts +0 -23
- package/src/lib/components/form-viewer/form-viewer.component.ts +0 -31
- package/src/lib/components/form-viewer/form-viewer.module.ts +0 -52
- package/src/lib/components/form-viewer/ng-package.json +0 -6
- package/src/lib/components/forms/base-table-style.ts +0 -52
- package/src/lib/components/forms/forms.component.css +0 -126
- package/src/lib/components/forms/forms.component.html +0 -538
- package/src/lib/components/forms/forms.component.spec.ts +0 -23
- package/src/lib/components/forms/forms.component.ts +0 -810
- package/src/lib/components/forms/forms.module.ts +0 -10
- package/src/lib/components/forms/forms.service.spec.ts +0 -16
- package/src/lib/components/forms/forms.service.ts +0 -65
- package/src/lib/components/forms/ng-package.json +0 -6
- package/src/lib/components/journal/journal.component.css +0 -0
- package/src/lib/components/journal/journal.component.html +0 -1
- package/src/lib/components/journal/journal.component.spec.ts +0 -23
- package/src/lib/components/journal/journal.component.ts +0 -10
- package/src/lib/components/journal/journal.module.ts +0 -10
- package/src/lib/components/journal/ng-package.json +0 -6
- package/src/lib/components/my-queue/my-queue.columns.ts +0 -37
- package/src/lib/components/my-queue/my-queue.component.css +0 -8
- package/src/lib/components/my-queue/my-queue.component.html +0 -319
- package/src/lib/components/my-queue/my-queue.component.spec.ts +0 -23
- package/src/lib/components/my-queue/my-queue.component.ts +0 -409
- package/src/lib/components/my-queue/my-queue.facade.ts +0 -670
- package/src/lib/components/my-queue/my-queue.helper.ts +0 -71
- package/src/lib/components/my-queue/my-queue.module.ts +0 -27
- package/src/lib/components/my-queue/my-queue.service.spec.ts +0 -16
- package/src/lib/components/my-queue/my-queue.service.ts +0 -262
- package/src/lib/components/my-queue/my-queue.state.ts +0 -133
- package/src/lib/components/my-queue/ng-package.json +0 -6
- package/src/lib/components/my-queue/tasks.form.component.html +0 -162
- package/src/lib/components/my-queue/tasks.form.component.ts +0 -179
- package/src/lib/components/operation-popup/ng-package.json +0 -6
- package/src/lib/components/operation-popup/operation-popup.component.css +0 -1
- package/src/lib/components/operation-popup/operation-popup.component.html +0 -107
- package/src/lib/components/operation-popup/operation-popup.component.ts +0 -476
- package/src/lib/components/operation-popup/operation-popup.facade.ts +0 -416
- package/src/lib/components/operation-popup/operation-popup.service.ts +0 -120
- package/src/lib/components/operation-popup/operation-popup.state.ts +0 -49
- package/src/lib/components/stage-details/ng-package.json +0 -6
- package/src/lib/components/stage-details/stage-details.component.css +0 -0
- package/src/lib/components/stage-details/stage-details.component.html +0 -95
- package/src/lib/components/stage-details/stage-details.component.spec.ts +0 -23
- package/src/lib/components/stage-details/stage-details.component.ts +0 -43
- package/src/lib/components/stage-details/stage-details.module.ts +0 -11
- package/src/lib/components/task-form/ng-package.json +0 -6
- package/src/lib/components/task-form/task-form.component.css +0 -0
- package/src/lib/components/task-form/task-form.component.html +0 -38
- package/src/lib/components/task-form/task-form.component.spec.ts +0 -23
- package/src/lib/components/task-form/task-form.component.ts +0 -15
- package/src/lib/components/task-form/task-form.module.ts +0 -31
- package/src/lib/components/task-history/ng-package.json +0 -6
- package/src/lib/components/task-history/task-history.component.css +0 -334
- package/src/lib/components/task-history/task-history.component.html +0 -145
- package/src/lib/components/task-history/task-history.component.spec.ts +0 -23
- package/src/lib/components/task-history/task-history.component.ts +0 -232
- package/src/lib/components/task-history/task-history.module.ts +0 -11
- package/src/lib/components/task-history/task-history.service.ts +0 -32
- package/src/lib/components/task-notification/base-table-style.ts +0 -52
- package/src/lib/components/task-notification/ng-package.json +0 -6
- package/src/lib/components/task-notification/task-notification.component.css +0 -94
- package/src/lib/components/task-notification/task-notification.component.html +0 -585
- package/src/lib/components/task-notification/task-notification.component.spec.ts +0 -23
- package/src/lib/components/task-notification/task-notification.component.ts +0 -770
- package/src/lib/components/task-notification/task-notification.module.ts +0 -10
- package/src/lib/components/task-notification/task-notification.service.spec.ts +0 -16
- package/src/lib/components/task-notification/task-notification.service.ts +0 -397
- package/src/lib/components/tasks/ng-package.json +0 -6
- package/src/lib/components/tasks/tasks.columns.ts +0 -50
- package/src/lib/components/tasks/tasks.component.css +0 -4
- package/src/lib/components/tasks/tasks.component.html +0 -385
- package/src/lib/components/tasks/tasks.component.spec.ts +0 -23
- package/src/lib/components/tasks/tasks.component.ts +0 -211
- package/src/lib/components/tasks/tasks.facade.ts +0 -482
- package/src/lib/components/tasks/tasks.form.component.html +0 -171
- package/src/lib/components/tasks/tasks.form.component.ts +0 -172
- package/src/lib/components/tasks/tasks.helper.ts +0 -71
- package/src/lib/components/tasks/tasks.models.ts +0 -4
- package/src/lib/components/tasks/tasks.module.ts +0 -29
- package/src/lib/components/tasks/tasks.service.spec.ts +0 -16
- package/src/lib/components/tasks/tasks.service.ts +0 -215
- package/src/lib/components/tasks/tasks.state.ts +0 -144
- package/src/lib/components/wf/ng-package.json +0 -6
- package/src/lib/components/wf/wf.columns.ts +0 -36
- package/src/lib/components/wf/wf.component.css +0 -0
- package/src/lib/components/wf/wf.component.html +0 -35
- package/src/lib/components/wf/wf.component.spec.ts +0 -23
- package/src/lib/components/wf/wf.component.ts +0 -71
- package/src/lib/components/wf/wf.facade.ts +0 -266
- package/src/lib/components/wf/wf.helper.ts +0 -23
- package/src/lib/components/wf/wf.module.ts +0 -14
- package/src/lib/components/wf/wf.service.spec.ts +0 -16
- package/src/lib/components/wf/wf.service.ts +0 -98
- package/src/lib/components/wf/wf.state.ts +0 -99
- package/src/lib/components/workflow/column.ts +0 -40
- package/src/lib/components/workflow/helper.ts +0 -53
- package/src/lib/components/workflow/ng-package.json +0 -6
- package/src/lib/components/workflow/table-style.ts +0 -53
- package/src/lib/components/workflow/workflow.component.css +0 -0
- package/src/lib/components/workflow/workflow.component.html +0 -226
- package/src/lib/components/workflow/workflow.component.spec.ts +0 -23
- package/src/lib/components/workflow/workflow.component.ts +0 -224
- package/src/lib/components/workflow/workflow.module.ts +0 -11
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.css +0 -9
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.html +0 -56
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.ts +0 -142
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.html +0 -45
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.ts +0 -83
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.css +0 -7
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.html +0 -89
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.ts +0 -87
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.css +0 -11
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.html +0 -74
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.ts +0 -80
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.css +0 -70
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.html +0 -454
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.ts +0 -1629
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.connection-drop.spec.ts +0 -100
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.css +0 -63
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.html +0 -49
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.ts +0 -86
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.ts +0 -7
- package/src/lib/components/workflow-designer/docs/01-architecture.md +0 -145
- package/src/lib/components/workflow-designer/docs/02-coordinate-system.md +0 -171
- package/src/lib/components/workflow-designer/docs/03-data-model.md +0 -163
- package/src/lib/components/workflow-designer/docs/04-interactions.md +0 -156
- package/src/lib/components/workflow-designer/docs/05-persistence.md +0 -117
- package/src/lib/components/workflow-designer/docs/06-known-issues.md +0 -181
- package/src/lib/components/workflow-designer/docs/07-integration.md +0 -178
- package/src/lib/components/workflow-designer/docs/08-api-reference.md +0 -187
- package/src/lib/components/workflow-designer/docs/09-development.md +0 -141
- package/src/lib/components/workflow-designer/docs/README.md +0 -81
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.css +0 -9
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.html +0 -94
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.ts +0 -273
- package/src/lib/components/workflow-designer/ng-package.json +0 -6
- package/src/lib/components/workflow-designer/services/connection.service.ts +0 -324
- package/src/lib/components/workflow-designer/services/node-management.service.ts +0 -372
- package/src/lib/components/workflow-designer/services/popup.service.ts +0 -276
- package/src/lib/components/workflow-designer/services/swimlane.service.ts +0 -176
- package/src/lib/components/workflow-designer/services/transformer.service.ts +0 -316
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.html +0 -208
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.ts +0 -194
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.css +0 -15
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.html +0 -93
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.ts +0 -258
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.html +0 -151
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.ts +0 -156
- package/src/lib/components/workflow-designer/workflow-data.service.spec.ts +0 -16
- package/src/lib/components/workflow-designer/workflow-data.service.ts +0 -290
- package/src/lib/components/workflow-designer/workflow-designer.component.css +0 -59
- package/src/lib/components/workflow-designer/workflow-designer.component.html +0 -29
- package/src/lib/components/workflow-designer/workflow-designer.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/workflow-designer.component.ts +0 -553
- package/src/lib/components/workflow-designer/workflow-designer.models.ts +0 -114
- package/src/lib/components/workflow-designer/workflow-designer.module.ts +0 -88
- package/src/lib/components/workflow-designer/workflow-designer.state.ts +0 -1104
- package/src/lib/components/workflow-designer/workflow-designer.types.ts +0 -140
- package/src/lib/components/workflow-stage/ng-package.json +0 -6
- package/src/lib/components/workflow-stage/workflow-stage.component.css +0 -24
- package/src/lib/components/workflow-stage/workflow-stage.component.html +0 -339
- package/src/lib/components/workflow-stage/workflow-stage.component.spec.ts +0 -23
- package/src/lib/components/workflow-stage/workflow-stage.component.ts +0 -349
- package/src/lib/components/workflow-stage/workflow-stage.module.ts +0 -53
- package/src/lib/components/workflows/ng-package.json +0 -6
- package/src/lib/components/workflows/public-api.ts +0 -6
- package/src/lib/components/workflows/workflow-form/workflow-form.component.css +0 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.html +0 -138
- package/src/lib/components/workflows/workflow-form/workflow-form.component.spec.ts +0 -23
- package/src/lib/components/workflows/workflow-form/workflow-form.component.ts +0 -85
- package/src/lib/components/workflows/workflows.api.ts +0 -117
- package/src/lib/components/workflows/workflows.columns.ts +0 -41
- package/src/lib/components/workflows/workflows.component.css +0 -4
- package/src/lib/components/workflows/workflows.component.html +0 -309
- package/src/lib/components/workflows/workflows.component.spec.ts +0 -23
- package/src/lib/components/workflows/workflows.component.ts +0 -303
- package/src/lib/components/workflows/workflows.config.ts +0 -58
- package/src/lib/components/workflows/workflows.facade.ts +0 -147
- package/src/lib/components/workflows/workflows.module.ts +0 -14
- package/src/lib/components/workflows/workflows.service.spec.ts +0 -16
- package/src/lib/components/workflows/workflows.service.ts +0 -88
- package/src/lib/components/workflows/workflows.state.ts +0 -21
- package/src/lib/models/ActionHistory.ts +0 -19
- package/src/lib/models/ActionType.ts +0 -9
- package/src/lib/models/Actor.ts +0 -12
- package/src/lib/models/ActorTag.ts +0 -8
- package/src/lib/models/Coord.ts +0 -4
- package/src/lib/models/DataType.ts +0 -25
- package/src/lib/models/EAVEntity.ts +0 -5
- package/src/lib/models/ErrorResponse.ts +0 -7
- package/src/lib/models/Escalation.ts +0 -15
- package/src/lib/models/EscalationCycle.ts +0 -13
- package/src/lib/models/EscalationStage.ts +0 -11
- package/src/lib/models/EscalationType.ts +0 -5
- package/src/lib/models/File.ts +0 -8
- package/src/lib/models/FilterTypes.ts +0 -8
- package/src/lib/models/FlowableStatus.ts +0 -6
- package/src/lib/models/Form.ts +0 -14
- package/src/lib/models/FormEntity.ts +0 -14
- package/src/lib/models/FormFill.ts +0 -16
- package/src/lib/models/FormProperty.ts +0 -16
- package/src/lib/models/FormValues.ts +0 -16
- package/src/lib/models/MailConfig.ts +0 -13
- package/src/lib/models/MessageConfig.ts +0 -5
- package/src/lib/models/MessageMedium.ts +0 -4
- package/src/lib/models/OperationAction.ts +0 -15
- package/src/lib/models/PagedResult.ts +0 -5
- package/src/lib/models/PeriodMode.ts +0 -10
- package/src/lib/models/PermissionConfig.ts +0 -8
- package/src/lib/models/ReportSchedule.ts +0 -23
- package/src/lib/models/ReportType.ts +0 -5
- package/src/lib/models/Resource.ts +0 -57
- package/src/lib/models/ResponseKeyValue.ts +0 -5
- package/src/lib/models/SMSConfig.ts +0 -11
- package/src/lib/models/SearchDynamicWrapper.ts +0 -6
- package/src/lib/models/SearchOperator.ts +0 -4
- package/src/lib/models/SearchPropertySign.ts +0 -9
- package/src/lib/models/SearchPropertyValue.ts +0 -13
- package/src/lib/models/SearchPropertyValueType.ts +0 -9
- package/src/lib/models/Size.ts +0 -4
- package/src/lib/models/SortDirection.ts +0 -5
- package/src/lib/models/StageActorRule.ts +0 -6
- package/src/lib/models/SwimLane.ts +0 -14
- package/src/lib/models/Tag.ts +0 -7
- package/src/lib/models/Task.ts +0 -32
- package/src/lib/models/TaskAssignmentType.ts +0 -4
- package/src/lib/models/TaskNotification.ts +0 -16
- package/src/lib/models/TaskNotificationMessageType.ts +0 -4
- package/src/lib/models/TaskNotificationType.ts +0 -6
- package/src/lib/models/TaskStatus.ts +0 -7
- package/src/lib/models/Workflow.ts +0 -22
- package/src/lib/models/WorkflowAction.ts +0 -14
- package/src/lib/models/WorkflowOperation.ts +0 -7
- package/src/lib/models/WorkflowStage.ts +0 -27
- package/src/lib/models/actors.ts +0 -10
- package/src/lib/models/auth-mechanism.ts +0 -14
- package/src/lib/models/base.ts +0 -14
- package/src/lib/models/ng-package.json +0 -6
- package/src/lib/models/object-state.ts +0 -6
- package/src/lib/models/operation-type.ts +0 -6
- package/src/lib/models/paged.ts +0 -9
- package/src/lib/models/query-params.ts +0 -9
- package/src/lib/models/status.ts +0 -5
- package/src/lib/models/task-history.ts +0 -14
- package/src/lib/models/user-access-request-status.ts +0 -5
- package/src/lib/models/user.ts +0 -25
- package/src/lib/pipes/async-label.pipe.spec.ts +0 -12
- package/src/lib/pipes/async-label.pipe.ts +0 -30
- package/src/lib/pipes/ng-package.json +0 -6
- package/src/lib/services/environment.service.spec.ts +0 -16
- package/src/lib/services/environment.service.ts +0 -31
- package/src/lib/services/http-web-request.service.spec.ts +0 -16
- package/src/lib/services/http-web-request.service.ts +0 -154
- package/src/lib/services/label.service.spec.ts +0 -16
- package/src/lib/services/label.service.ts +0 -182
- package/src/lib/services/ng-package.json +0 -6
- package/src/lib/services/public-api.ts +0 -5
- package/src/lib/services/util.service.spec.ts +0 -16
- package/src/lib/services/util.service.ts +0 -72
- package/src/lib/shared/base-table-style.ts +0 -56
- package/src/lib/shared/components/base-data-view.component.ts +0 -187
- package/src/lib/shared/components/base-model-field.ts +0 -31
- package/src/lib/shared/models/DataViewConfig.ts +0 -19
- package/src/lib/shared/ng-package.json +0 -6
- package/src/lib/shared/public-api.ts +0 -14
- package/src/lib/shared/shared.module.ts +0 -67
- package/src/lib/utils/index.ts +0 -1
- package/src/lib/utils/public-api.ts +0 -2
- package/src/lib/utils/store.ts +0 -50
- package/src/public-api.ts +0 -56
- package/src/styles.css +0 -96
- package/tailwind.config copy.js +0 -33
- package/tailwind.config.js +0 -20
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
- /package/src/lib/base/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/actors/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/actors/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/designer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/designer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/expiration/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/expiration/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/file-render/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/file-render/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/file-upload/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/file-upload/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/flowable-status/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-control/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-control/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-group/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-group/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-response/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-response/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-timer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-timer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-viewer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-viewer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/forms/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/forms/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/journal/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/journal/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/my-queue/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/my-queue/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/operation-popup/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/operation-popup/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/stage-details/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/stage-details/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/task-form/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/task-form/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/task-history/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/task-history/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/task-notification/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/task-notification/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/tasks/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/tasks/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/wf/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/wf/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflow/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/workflow/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflow-designer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/workflow-designer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflow-stage/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/workflow-stage/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflows/{index.ts → index.d.ts} +0 -0
- /package/src/lib/models/{index.ts → index.d.ts} +0 -0
- /package/src/lib/models/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/pipes/{index.ts → index.d.ts} +0 -0
- /package/src/lib/pipes/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/services/{index.ts → index.d.ts} +0 -0
- /package/src/lib/shared/{index.ts → index.d.ts} +0 -0
- /package/{src/styles → styles}/styles.css +0 -0
|
@@ -0,0 +1,827 @@
|
|
|
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(actorId, task) {
|
|
54
|
+
const url = `FollowTask/${actorId}`;
|
|
55
|
+
return this.httpService.post(url, task);
|
|
56
|
+
}
|
|
57
|
+
unfollowTask(taskId, actorId) {
|
|
58
|
+
const url = `UnFollowTask/${taskId}/${actorId}`;
|
|
59
|
+
return this.httpService.post(url, {});
|
|
60
|
+
}
|
|
61
|
+
reAssign(task, comment, fromUser, toUser) {
|
|
62
|
+
const url = `Reassign/${comment}/${toUser}/${fromUser}`;
|
|
63
|
+
return this.httpService.post(url, task);
|
|
64
|
+
}
|
|
65
|
+
skipTo(fromStage, toStage, task, comment, recipient, isBackward = false) {
|
|
66
|
+
const url = `SkipTo/${fromStage}/${toStage}/${comment}${recipient ? '/' + recipient : ''}/${isBackward}`;
|
|
67
|
+
return this.httpService.post(url, task);
|
|
68
|
+
}
|
|
69
|
+
getCurrentFormsForTask(taskCode) {
|
|
70
|
+
const url = `GetCurrentFormsForTask/${taskCode}`;
|
|
71
|
+
return this.httpService.get(url);
|
|
72
|
+
}
|
|
73
|
+
fillForm(form, taskCode) {
|
|
74
|
+
const url = `FillForm/${taskCode}`;
|
|
75
|
+
return this.httpService.post(url, form);
|
|
76
|
+
}
|
|
77
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupService, deps: [{ token: i1.HttpWebRequestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
78
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupService });
|
|
79
|
+
}
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupService, decorators: [{
|
|
81
|
+
type: Injectable
|
|
82
|
+
}], ctorParameters: () => [{ type: i1.HttpWebRequestService }] });
|
|
83
|
+
|
|
84
|
+
class OperationPopupState {
|
|
85
|
+
isUpdating = new BehaviorSubject(false);
|
|
86
|
+
nextActions = new BehaviorSubject([]);
|
|
87
|
+
nextActors = new BehaviorSubject([]);
|
|
88
|
+
taskForms = new BehaviorSubject([]);
|
|
89
|
+
getIsUpdating$() {
|
|
90
|
+
return this.isUpdating.asObservable();
|
|
91
|
+
}
|
|
92
|
+
getNextActions$() {
|
|
93
|
+
return this.nextActions.asObservable();
|
|
94
|
+
}
|
|
95
|
+
getNextActors$() {
|
|
96
|
+
return this.nextActors.asObservable();
|
|
97
|
+
}
|
|
98
|
+
getTaskForms$() {
|
|
99
|
+
return this.taskForms.asObservable();
|
|
100
|
+
}
|
|
101
|
+
setIsUpdating(value) {
|
|
102
|
+
this.isUpdating.next(value);
|
|
103
|
+
}
|
|
104
|
+
setNextActions(actions) {
|
|
105
|
+
this.nextActions.next(actions);
|
|
106
|
+
}
|
|
107
|
+
setNextActors(actors) {
|
|
108
|
+
this.nextActors.next(actors);
|
|
109
|
+
}
|
|
110
|
+
setTaskForms(forms) {
|
|
111
|
+
this.taskForms.next(forms);
|
|
112
|
+
}
|
|
113
|
+
resetState() {
|
|
114
|
+
this.nextActions.next([]);
|
|
115
|
+
this.nextActors.next([]);
|
|
116
|
+
this.taskForms.next([]);
|
|
117
|
+
}
|
|
118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupState, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
119
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupState });
|
|
120
|
+
}
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupState, decorators: [{
|
|
122
|
+
type: Injectable
|
|
123
|
+
}] });
|
|
124
|
+
|
|
125
|
+
class OperationPopupFacade {
|
|
126
|
+
service;
|
|
127
|
+
state;
|
|
128
|
+
utilService;
|
|
129
|
+
constructor(service, state, utilService) {
|
|
130
|
+
this.service = service;
|
|
131
|
+
this.state = state;
|
|
132
|
+
this.utilService = utilService;
|
|
133
|
+
this.isUpdating$().subscribe((loading) => {
|
|
134
|
+
this.utilService.sendBI(loading);
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
isUpdating$() {
|
|
138
|
+
return this.state.getIsUpdating$();
|
|
139
|
+
}
|
|
140
|
+
getNextActions$() {
|
|
141
|
+
return this.state.getNextActions$();
|
|
142
|
+
}
|
|
143
|
+
getNextActors$() {
|
|
144
|
+
return this.state.getNextActors$();
|
|
145
|
+
}
|
|
146
|
+
getTaskForms$() {
|
|
147
|
+
return this.state.getTaskForms$();
|
|
148
|
+
}
|
|
149
|
+
async loadNextActions(taskCode) {
|
|
150
|
+
try {
|
|
151
|
+
this.state.setIsUpdating(true);
|
|
152
|
+
const response = await this.service.getNextActions(taskCode);
|
|
153
|
+
if (response instanceof ErrorResponse) {
|
|
154
|
+
this.utilService.showError(response.ErrorMsg);
|
|
155
|
+
return [];
|
|
156
|
+
}
|
|
157
|
+
this.state.setNextActions(response);
|
|
158
|
+
return response;
|
|
159
|
+
}
|
|
160
|
+
catch (error) {
|
|
161
|
+
return [];
|
|
162
|
+
}
|
|
163
|
+
finally {
|
|
164
|
+
this.state.setIsUpdating(false);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
async loadPreviousActions(taskCode) {
|
|
168
|
+
try {
|
|
169
|
+
this.state.setIsUpdating(true);
|
|
170
|
+
const response = await this.service.getPreviousActions(taskCode);
|
|
171
|
+
if (response instanceof ErrorResponse) {
|
|
172
|
+
this.utilService.showError(response.ErrorMsg);
|
|
173
|
+
return [];
|
|
174
|
+
}
|
|
175
|
+
this.state.setNextActions(response);
|
|
176
|
+
return response;
|
|
177
|
+
}
|
|
178
|
+
catch (error) {
|
|
179
|
+
return [];
|
|
180
|
+
}
|
|
181
|
+
finally {
|
|
182
|
+
this.state.setIsUpdating(false);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
async loadAllPreviousActions(taskCode) {
|
|
186
|
+
try {
|
|
187
|
+
this.state.setIsUpdating(true);
|
|
188
|
+
const response = await this.service.getAllPreviousActions(taskCode);
|
|
189
|
+
if (response instanceof ErrorResponse) {
|
|
190
|
+
this.utilService.showError(response.ErrorMsg);
|
|
191
|
+
return [];
|
|
192
|
+
}
|
|
193
|
+
this.state.setNextActions(response);
|
|
194
|
+
return response;
|
|
195
|
+
}
|
|
196
|
+
catch (error) {
|
|
197
|
+
return [];
|
|
198
|
+
}
|
|
199
|
+
finally {
|
|
200
|
+
this.state.setIsUpdating(false);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
async loadNextActors(taskCode, forCurrentStage, stageCode) {
|
|
204
|
+
try {
|
|
205
|
+
this.state.setIsUpdating(true);
|
|
206
|
+
const response = await this.service.getNextActors(taskCode, forCurrentStage, stageCode);
|
|
207
|
+
if (response instanceof ErrorResponse) {
|
|
208
|
+
this.utilService.showError(response.ErrorMsg);
|
|
209
|
+
return [];
|
|
210
|
+
}
|
|
211
|
+
this.state.setNextActors(response);
|
|
212
|
+
return response;
|
|
213
|
+
}
|
|
214
|
+
catch (error) {
|
|
215
|
+
return [];
|
|
216
|
+
}
|
|
217
|
+
finally {
|
|
218
|
+
this.state.setIsUpdating(false);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
async loadTaskForms(taskCode) {
|
|
222
|
+
try {
|
|
223
|
+
this.state.setIsUpdating(true);
|
|
224
|
+
const response = await this.service.getCurrentFormsForTask(taskCode);
|
|
225
|
+
if (response instanceof ErrorResponse) {
|
|
226
|
+
this.utilService.showError(response.ErrorMsg);
|
|
227
|
+
return [];
|
|
228
|
+
}
|
|
229
|
+
this.state.setTaskForms(response);
|
|
230
|
+
return response;
|
|
231
|
+
}
|
|
232
|
+
catch (error) {
|
|
233
|
+
return [];
|
|
234
|
+
}
|
|
235
|
+
finally {
|
|
236
|
+
this.state.setIsUpdating(false);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
async passOn(action, task, comment, recipient) {
|
|
240
|
+
try {
|
|
241
|
+
this.state.setIsUpdating(true);
|
|
242
|
+
const response = await this.service.passOn(action.FromStage, action.ToStage, {
|
|
243
|
+
...task,
|
|
244
|
+
FullStages: [],
|
|
245
|
+
CurrentActors: task.CurrentActors.map((c) => ({
|
|
246
|
+
...c,
|
|
247
|
+
ActorTags: [],
|
|
248
|
+
})),
|
|
249
|
+
}, comment, recipient ?? undefined);
|
|
250
|
+
if (response instanceof ErrorResponse) {
|
|
251
|
+
this.utilService.showError(response.ErrorMsg);
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
this.utilService.showSuccess('Task passed on successfully');
|
|
255
|
+
this.state.resetState();
|
|
256
|
+
}
|
|
257
|
+
catch (error) {
|
|
258
|
+
throw error;
|
|
259
|
+
}
|
|
260
|
+
finally {
|
|
261
|
+
this.state.setIsUpdating(false);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
async passBack(action, task, comment, recipient) {
|
|
265
|
+
try {
|
|
266
|
+
this.state.setIsUpdating(true);
|
|
267
|
+
const response = await this.service.passBack(action.ToStage, action.FromStage, {
|
|
268
|
+
...task,
|
|
269
|
+
FullStages: [],
|
|
270
|
+
CurrentActors: task.CurrentActors.map((c) => ({
|
|
271
|
+
...c,
|
|
272
|
+
ActorTags: [],
|
|
273
|
+
})),
|
|
274
|
+
}, comment, recipient ?? undefined);
|
|
275
|
+
if (response instanceof ErrorResponse) {
|
|
276
|
+
this.utilService.showError(response.ErrorMsg);
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
this.utilService.showSuccess('Task passed back successfully');
|
|
280
|
+
this.state.resetState();
|
|
281
|
+
}
|
|
282
|
+
catch (error) {
|
|
283
|
+
throw error;
|
|
284
|
+
}
|
|
285
|
+
finally {
|
|
286
|
+
this.state.setIsUpdating(false);
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
async skipTo(from, to, task, comment, recipient) {
|
|
290
|
+
try {
|
|
291
|
+
this.state.setIsUpdating(true);
|
|
292
|
+
const response = await this.service.skipTo(from, to, {
|
|
293
|
+
...task,
|
|
294
|
+
FullStages: [],
|
|
295
|
+
CurrentActors: task.CurrentActors.map((c) => ({
|
|
296
|
+
...c,
|
|
297
|
+
ActorTags: [],
|
|
298
|
+
})),
|
|
299
|
+
}, comment, recipient ?? undefined);
|
|
300
|
+
if (response instanceof ErrorResponse) {
|
|
301
|
+
this.utilService.showError(response.ErrorMsg);
|
|
302
|
+
return;
|
|
303
|
+
}
|
|
304
|
+
this.utilService.showSuccess('Task skipped successfully');
|
|
305
|
+
this.state.resetState();
|
|
306
|
+
}
|
|
307
|
+
catch (error) {
|
|
308
|
+
throw error;
|
|
309
|
+
}
|
|
310
|
+
finally {
|
|
311
|
+
this.state.setIsUpdating(false);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
async pickTask(targetStage, task, comment, recipient) {
|
|
315
|
+
try {
|
|
316
|
+
this.state.setIsUpdating(true);
|
|
317
|
+
const response = await this.service.pickTask(targetStage, {
|
|
318
|
+
...task,
|
|
319
|
+
FullStages: [],
|
|
320
|
+
CurrentActors: task.CurrentActors.map((c) => ({
|
|
321
|
+
...c,
|
|
322
|
+
ActorTags: [],
|
|
323
|
+
})),
|
|
324
|
+
}, comment, recipient ?? undefined);
|
|
325
|
+
if (response instanceof ErrorResponse) {
|
|
326
|
+
this.utilService.showError(response.ErrorMsg);
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
329
|
+
this.utilService.showSuccess('Task picked successfully');
|
|
330
|
+
this.state.resetState();
|
|
331
|
+
}
|
|
332
|
+
catch (error) {
|
|
333
|
+
throw error;
|
|
334
|
+
}
|
|
335
|
+
finally {
|
|
336
|
+
this.state.setIsUpdating(false);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
async releaseTask(targetStage, task, comment, recipient) {
|
|
340
|
+
try {
|
|
341
|
+
this.state.setIsUpdating(true);
|
|
342
|
+
const response = await this.service.releaseTask(targetStage, {
|
|
343
|
+
...task,
|
|
344
|
+
FullStages: [],
|
|
345
|
+
CurrentActors: task.CurrentActors.map((c) => ({
|
|
346
|
+
...c,
|
|
347
|
+
ActorTags: [],
|
|
348
|
+
})),
|
|
349
|
+
}, comment, recipient ?? undefined);
|
|
350
|
+
if (response instanceof ErrorResponse) {
|
|
351
|
+
this.utilService.showError(response.ErrorMsg);
|
|
352
|
+
return;
|
|
353
|
+
}
|
|
354
|
+
this.utilService.showSuccess('Task released successfully');
|
|
355
|
+
this.state.resetState();
|
|
356
|
+
}
|
|
357
|
+
catch (error) {
|
|
358
|
+
throw error;
|
|
359
|
+
}
|
|
360
|
+
finally {
|
|
361
|
+
this.state.setIsUpdating(false);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
async followTask(actorId, task) {
|
|
365
|
+
try {
|
|
366
|
+
this.state.setIsUpdating(true);
|
|
367
|
+
const response = await this.service.followTask(actorId, {
|
|
368
|
+
...task,
|
|
369
|
+
FullStages: [],
|
|
370
|
+
CurrentActors: task.CurrentActors.map((c) => ({
|
|
371
|
+
...c,
|
|
372
|
+
ActorTags: [],
|
|
373
|
+
})),
|
|
374
|
+
});
|
|
375
|
+
if (response instanceof ErrorResponse) {
|
|
376
|
+
this.utilService.showError(response.ErrorMsg);
|
|
377
|
+
return;
|
|
378
|
+
}
|
|
379
|
+
this.utilService.showSuccess('Task followed successfully');
|
|
380
|
+
this.state.resetState();
|
|
381
|
+
}
|
|
382
|
+
catch (error) {
|
|
383
|
+
throw error;
|
|
384
|
+
}
|
|
385
|
+
finally {
|
|
386
|
+
this.state.setIsUpdating(false);
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
async unfollowTask(taskId, actorId) {
|
|
390
|
+
try {
|
|
391
|
+
this.state.setIsUpdating(true);
|
|
392
|
+
const response = await this.service.unfollowTask(taskId, actorId);
|
|
393
|
+
if (response instanceof ErrorResponse) {
|
|
394
|
+
this.utilService.showError(response.ErrorMsg);
|
|
395
|
+
return;
|
|
396
|
+
}
|
|
397
|
+
this.utilService.showSuccess('Task unfollowed successfully');
|
|
398
|
+
this.state.resetState();
|
|
399
|
+
}
|
|
400
|
+
catch (error) {
|
|
401
|
+
throw error;
|
|
402
|
+
}
|
|
403
|
+
finally {
|
|
404
|
+
this.state.setIsUpdating(false);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
async reAssign(task, comment, fromUser, toUser) {
|
|
408
|
+
try {
|
|
409
|
+
this.state.setIsUpdating(true);
|
|
410
|
+
const response = await this.service.reAssign({
|
|
411
|
+
...task,
|
|
412
|
+
FullStages: [],
|
|
413
|
+
CurrentActors: task.CurrentActors.map((c) => ({
|
|
414
|
+
...c,
|
|
415
|
+
ActorTags: [],
|
|
416
|
+
})),
|
|
417
|
+
}, comment, fromUser, toUser);
|
|
418
|
+
if (response instanceof ErrorResponse) {
|
|
419
|
+
this.utilService.showError(response.ErrorMsg);
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
422
|
+
this.utilService.showSuccess('Task re-assigned successfully');
|
|
423
|
+
this.state.resetState();
|
|
424
|
+
}
|
|
425
|
+
catch (error) {
|
|
426
|
+
throw error;
|
|
427
|
+
}
|
|
428
|
+
finally {
|
|
429
|
+
this.state.setIsUpdating(false);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
async fillForm(form, taskCode) {
|
|
433
|
+
try {
|
|
434
|
+
this.state.setIsUpdating(true);
|
|
435
|
+
const response = await this.service.fillForm(form, taskCode);
|
|
436
|
+
if (response instanceof ErrorResponse) {
|
|
437
|
+
this.utilService.showError(response.ErrorMsg);
|
|
438
|
+
return null;
|
|
439
|
+
}
|
|
440
|
+
this.utilService.showSuccess('Form filled successfully');
|
|
441
|
+
return response;
|
|
442
|
+
}
|
|
443
|
+
catch (error) {
|
|
444
|
+
return null;
|
|
445
|
+
}
|
|
446
|
+
finally {
|
|
447
|
+
this.state.setIsUpdating(false);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
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 });
|
|
451
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupFacade });
|
|
452
|
+
}
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupFacade, decorators: [{
|
|
454
|
+
type: Injectable
|
|
455
|
+
}], ctorParameters: () => [{ type: OperationPopupService }, { type: OperationPopupState }, { type: i1.UtilService }] });
|
|
456
|
+
|
|
457
|
+
class OperationPopupComponent {
|
|
458
|
+
facade;
|
|
459
|
+
user;
|
|
460
|
+
task = null;
|
|
461
|
+
allowedActions = [];
|
|
462
|
+
// @Input() permissionConfig: PermissionConfig | null = null;
|
|
463
|
+
actionComplete = new EventEmitter();
|
|
464
|
+
// Internal popup visibility control
|
|
465
|
+
isPopupOpen = false;
|
|
466
|
+
isFormModalVisible = false;
|
|
467
|
+
currentStep = 'action-selection';
|
|
468
|
+
// Action state
|
|
469
|
+
activeActionType = null;
|
|
470
|
+
comment = '';
|
|
471
|
+
recipientCode = null;
|
|
472
|
+
selectedAction = new BehaviorSubject(null);
|
|
473
|
+
selectedStageCode = null;
|
|
474
|
+
formSubmitted = false;
|
|
475
|
+
// Data from facade
|
|
476
|
+
nextActions = [];
|
|
477
|
+
nextActors = [];
|
|
478
|
+
stageForm = null;
|
|
479
|
+
active = 0;
|
|
480
|
+
dataType = DataType.Text;
|
|
481
|
+
allActions = [
|
|
482
|
+
{ label: 'Pass On', value: 'passon', requiresForm: true },
|
|
483
|
+
{ label: 'Pass Back', value: 'passback', requiresForm: true },
|
|
484
|
+
{
|
|
485
|
+
label: 'Re-Assign',
|
|
486
|
+
value: 'reassign',
|
|
487
|
+
requiresForm: false,
|
|
488
|
+
},
|
|
489
|
+
{ label: 'Skip To', value: 'skipto', requiresForm: true },
|
|
490
|
+
{
|
|
491
|
+
label: 'Pick Task',
|
|
492
|
+
value: 'picktask',
|
|
493
|
+
requiresForm: false,
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
label: 'Release Task',
|
|
497
|
+
value: 'releasetask',
|
|
498
|
+
requiresForm: false,
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
label: 'Follow Task',
|
|
502
|
+
value: 'followtask',
|
|
503
|
+
requiresForm: false,
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
label: 'Unfollow Task',
|
|
507
|
+
value: 'unfollowtask',
|
|
508
|
+
requiresForm: false,
|
|
509
|
+
},
|
|
510
|
+
];
|
|
511
|
+
destroy$ = new Subject();
|
|
512
|
+
constructor(facade) {
|
|
513
|
+
this.facade = facade;
|
|
514
|
+
}
|
|
515
|
+
ngOnInit() {
|
|
516
|
+
// Subscribe to facade observables
|
|
517
|
+
this.facade
|
|
518
|
+
.getNextActions$()
|
|
519
|
+
.pipe(takeUntil(this.destroy$))
|
|
520
|
+
.subscribe((data) => {
|
|
521
|
+
this.nextActions = data;
|
|
522
|
+
});
|
|
523
|
+
this.facade
|
|
524
|
+
.getNextActors$()
|
|
525
|
+
.pipe(takeUntil(this.destroy$))
|
|
526
|
+
.subscribe((data) => {
|
|
527
|
+
this.nextActors = data;
|
|
528
|
+
// Auto-select current user if available
|
|
529
|
+
if (this.user &&
|
|
530
|
+
data.map(({ Identifier }) => Identifier).includes(this.user)) {
|
|
531
|
+
this.recipientCode = this.user;
|
|
532
|
+
}
|
|
533
|
+
});
|
|
534
|
+
this.facade
|
|
535
|
+
.getTaskForms$()
|
|
536
|
+
.pipe(takeUntil(this.destroy$))
|
|
537
|
+
.subscribe((data) => {
|
|
538
|
+
this.stageForm = data?.[0] || null;
|
|
539
|
+
});
|
|
540
|
+
// Load actors when action is selected
|
|
541
|
+
this.selectedAction.pipe(takeUntil(this.destroy$)).subscribe((action) => {
|
|
542
|
+
if (action && this.task) {
|
|
543
|
+
this.facade.loadNextActors(this.task.Code, false, action.ToStage);
|
|
544
|
+
}
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
ngOnDestroy() {
|
|
548
|
+
this.destroy$.next();
|
|
549
|
+
this.destroy$.complete();
|
|
550
|
+
}
|
|
551
|
+
//permissionConfig.Actions['ViewAll']
|
|
552
|
+
// Get filtered actions based on allowedActions input
|
|
553
|
+
get filteredActions() {
|
|
554
|
+
return this.allActions.filter((action) => this.allowedActions.includes(action.value));
|
|
555
|
+
}
|
|
556
|
+
// Called when user clicks on an action from the list
|
|
557
|
+
async onActionSelect(actionType) {
|
|
558
|
+
if (!this.task)
|
|
559
|
+
return;
|
|
560
|
+
this.activeActionType = actionType;
|
|
561
|
+
this.comment = '';
|
|
562
|
+
this.recipientCode = null;
|
|
563
|
+
this.selectedAction.next(null);
|
|
564
|
+
// Load necessary data based on action type
|
|
565
|
+
switch (actionType) {
|
|
566
|
+
case 'passon':
|
|
567
|
+
await this.facade.loadNextActions(this.task.Code);
|
|
568
|
+
await this.facade.loadTaskForms(this.task.Code);
|
|
569
|
+
break;
|
|
570
|
+
case 'passback':
|
|
571
|
+
await this.facade.loadPreviousActions(this.task.Code);
|
|
572
|
+
break;
|
|
573
|
+
case 'skipto':
|
|
574
|
+
await this.facade.loadAllPreviousActions(this.task.Code);
|
|
575
|
+
break;
|
|
576
|
+
case 'reassign':
|
|
577
|
+
await this.facade.loadNextActors(this.task.Code, true);
|
|
578
|
+
break;
|
|
579
|
+
case 'picktask':
|
|
580
|
+
case 'releasetask':
|
|
581
|
+
// These use the task's full stages
|
|
582
|
+
break;
|
|
583
|
+
case 'followtask':
|
|
584
|
+
case 'unfollowtask':
|
|
585
|
+
// These don't need additional data
|
|
586
|
+
break;
|
|
587
|
+
}
|
|
588
|
+
// Toggle popup: close then reopen for step transition
|
|
589
|
+
this.isPopupOpen = false;
|
|
590
|
+
setTimeout(() => {
|
|
591
|
+
this.currentStep = 'action-form';
|
|
592
|
+
this.isPopupOpen = true;
|
|
593
|
+
}, 50);
|
|
594
|
+
}
|
|
595
|
+
// Handle action submission
|
|
596
|
+
async handleActionSubmit() {
|
|
597
|
+
if (!this.task)
|
|
598
|
+
return;
|
|
599
|
+
let actionCompleted = false;
|
|
600
|
+
try {
|
|
601
|
+
switch (this.activeActionType) {
|
|
602
|
+
case 'passon':
|
|
603
|
+
actionCompleted = await this.handlePassOn();
|
|
604
|
+
break;
|
|
605
|
+
case 'passback':
|
|
606
|
+
await this.handlePassBack();
|
|
607
|
+
actionCompleted = true;
|
|
608
|
+
break;
|
|
609
|
+
case 'reassign':
|
|
610
|
+
await this.handleReAssign();
|
|
611
|
+
actionCompleted = true;
|
|
612
|
+
break;
|
|
613
|
+
case 'skipto':
|
|
614
|
+
await this.handleSkipTo();
|
|
615
|
+
actionCompleted = true;
|
|
616
|
+
break;
|
|
617
|
+
case 'picktask':
|
|
618
|
+
await this.handlePickTask();
|
|
619
|
+
actionCompleted = true;
|
|
620
|
+
break;
|
|
621
|
+
case 'releasetask':
|
|
622
|
+
await this.handleReleaseTask();
|
|
623
|
+
actionCompleted = true;
|
|
624
|
+
break;
|
|
625
|
+
case 'followtask':
|
|
626
|
+
await this.handleFollowTask();
|
|
627
|
+
actionCompleted = true;
|
|
628
|
+
break;
|
|
629
|
+
case 'unfollowtask':
|
|
630
|
+
await this.handleUnfollowTask();
|
|
631
|
+
actionCompleted = true;
|
|
632
|
+
break;
|
|
633
|
+
}
|
|
634
|
+
// Only close popup and emit completion if action actually completed
|
|
635
|
+
// (not waiting for form dialog)
|
|
636
|
+
if (actionCompleted) {
|
|
637
|
+
this.closePopup();
|
|
638
|
+
this.actionComplete.emit();
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
catch (error) { }
|
|
642
|
+
}
|
|
643
|
+
async handlePassOn() {
|
|
644
|
+
if (this.stageForm && !this.formSubmitted) {
|
|
645
|
+
// If there's a form and it hasn't been submitted yet, show the form modal
|
|
646
|
+
this.isPopupOpen = false;
|
|
647
|
+
this.isFormModalVisible = true;
|
|
648
|
+
return false; // Action not completed yet, waiting for form
|
|
649
|
+
}
|
|
650
|
+
const selectedAction = this.selectedAction.getValue();
|
|
651
|
+
if (selectedAction && this.task && this.comment) {
|
|
652
|
+
await this.facade.passOn(selectedAction, this.task, this.comment, this.recipientCode);
|
|
653
|
+
this.formSubmitted = false; // Reset for next time
|
|
654
|
+
}
|
|
655
|
+
return true; // Action completed
|
|
656
|
+
}
|
|
657
|
+
submitForm() {
|
|
658
|
+
if (this.stageForm && this.task) {
|
|
659
|
+
this.facade
|
|
660
|
+
.fillForm(this.stageForm, this.task.Code)
|
|
661
|
+
.then(() => {
|
|
662
|
+
// fillForm API returns empty response, so just check that it didn't error
|
|
663
|
+
this.stageForm = null;
|
|
664
|
+
this.isFormModalVisible = false;
|
|
665
|
+
this.formSubmitted = true;
|
|
666
|
+
// Continue with passOn after form is filled
|
|
667
|
+
this.handlePassOn()
|
|
668
|
+
.then((completed) => {
|
|
669
|
+
if (completed) {
|
|
670
|
+
this.closePopup();
|
|
671
|
+
this.actionComplete.emit();
|
|
672
|
+
}
|
|
673
|
+
})
|
|
674
|
+
.catch((error) => { });
|
|
675
|
+
})
|
|
676
|
+
.catch((error) => { });
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
areRequiredPropertiesFilled() {
|
|
680
|
+
if (!this.stageForm)
|
|
681
|
+
return true;
|
|
682
|
+
const properties = this.stageForm.Entities[this.active].Properties || [];
|
|
683
|
+
// Check if all required properties have valid values
|
|
684
|
+
return properties.every((property) => {
|
|
685
|
+
return (!property.isRequired ||
|
|
686
|
+
(property.Value !== undefined &&
|
|
687
|
+
property.Value !== null &&
|
|
688
|
+
property.Value !== ''));
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
async handlePassBack() {
|
|
692
|
+
const selectedAction = this.selectedAction.getValue();
|
|
693
|
+
if (selectedAction && this.task && this.comment) {
|
|
694
|
+
await this.facade.passBack(selectedAction, this.task, this.comment, this.recipientCode);
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
async handleReAssign() {
|
|
698
|
+
if (this.task && this.comment) {
|
|
699
|
+
await this.facade.reAssign(this.task, this.comment, this.user, this.recipientCode || undefined);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
async handleSkipTo() {
|
|
703
|
+
const selectedAction = this.selectedAction.getValue();
|
|
704
|
+
if (selectedAction && this.task && this.comment) {
|
|
705
|
+
await this.facade.skipTo(this.task.CurrentStages[0], selectedAction.ToStage, this.task, this.comment, this.recipientCode);
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
async handlePickTask() {
|
|
709
|
+
if (this.task && this.comment && this.selectedStageCode) {
|
|
710
|
+
await this.facade.pickTask(this.selectedStageCode, this.task, this.comment, this.recipientCode);
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
async handleReleaseTask() {
|
|
714
|
+
if (this.task && this.comment && this.selectedStageCode) {
|
|
715
|
+
await this.facade.releaseTask(this.selectedStageCode, this.task, this.comment, this.recipientCode);
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
async handleFollowTask() {
|
|
719
|
+
if (this.task && this.user) {
|
|
720
|
+
await this.facade.followTask(this.user, this.task);
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
async handleUnfollowTask() {
|
|
724
|
+
if (this.task && this.user) {
|
|
725
|
+
await this.facade.unfollowTask(this.task.Code, this.user);
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
closePopup() {
|
|
729
|
+
this.isPopupOpen = false;
|
|
730
|
+
this.isFormModalVisible = false;
|
|
731
|
+
this.currentStep = 'action-selection';
|
|
732
|
+
this.activeActionType = null;
|
|
733
|
+
this.comment = '';
|
|
734
|
+
this.recipientCode = null;
|
|
735
|
+
this.selectedAction.next(null);
|
|
736
|
+
this.selectedStageCode = null;
|
|
737
|
+
this.nextActions = [];
|
|
738
|
+
this.nextActors = [];
|
|
739
|
+
this.stageForm = null;
|
|
740
|
+
this.formSubmitted = false;
|
|
741
|
+
}
|
|
742
|
+
// Check if submit button should be enabled
|
|
743
|
+
get canSubmit() {
|
|
744
|
+
if (!this.comment)
|
|
745
|
+
return false;
|
|
746
|
+
switch (this.activeActionType) {
|
|
747
|
+
case 'passon':
|
|
748
|
+
case 'passback':
|
|
749
|
+
case 'skipto':
|
|
750
|
+
return !!this.selectedAction.getValue();
|
|
751
|
+
case 'reassign':
|
|
752
|
+
return !!this.recipientCode;
|
|
753
|
+
case 'picktask':
|
|
754
|
+
case 'releasetask':
|
|
755
|
+
return !!this.selectedStageCode;
|
|
756
|
+
case 'followtask':
|
|
757
|
+
case 'unfollowtask':
|
|
758
|
+
return true;
|
|
759
|
+
default:
|
|
760
|
+
return false;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
// Show action dropdown for certain action types
|
|
764
|
+
get showActionDropdown() {
|
|
765
|
+
return ['passon', 'passback', 'skipto'].includes(this.activeActionType || '');
|
|
766
|
+
}
|
|
767
|
+
// Show actor dropdown for certain action types
|
|
768
|
+
get showActorDropdown() {
|
|
769
|
+
return [
|
|
770
|
+
'passon',
|
|
771
|
+
'passback',
|
|
772
|
+
'skipto',
|
|
773
|
+
'reassign',
|
|
774
|
+
'picktask',
|
|
775
|
+
'releasetask',
|
|
776
|
+
].includes(this.activeActionType || '');
|
|
777
|
+
}
|
|
778
|
+
// Show stage dropdown for pick/release task
|
|
779
|
+
get showStageDropdown() {
|
|
780
|
+
return ['picktask', 'releasetask'].includes(this.activeActionType || '');
|
|
781
|
+
}
|
|
782
|
+
// Get label for submit button
|
|
783
|
+
get submitButtonLabel() {
|
|
784
|
+
const labels = {
|
|
785
|
+
passon: 'Pass On',
|
|
786
|
+
passback: 'Pass Back',
|
|
787
|
+
reassign: 'Re-Assign',
|
|
788
|
+
skipto: 'Skip To',
|
|
789
|
+
picktask: 'Pick Task',
|
|
790
|
+
releasetask: 'Release Task',
|
|
791
|
+
followtask: 'Follow',
|
|
792
|
+
unfollowtask: 'Unfollow',
|
|
793
|
+
};
|
|
794
|
+
return labels[this.activeActionType || 'passon'] || 'Submit';
|
|
795
|
+
}
|
|
796
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupComponent, deps: [{ token: OperationPopupFacade }], target: i0.ɵɵFactoryTarget.Component });
|
|
797
|
+
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", "load", "asyncLabel", "search"], outputs: ["optionsChange", "onChange", "onClick", "onClear"] }, { kind: "ngmodule", type: VerbenaButtonModule }, { kind: "component", type: i4.VerbenaButtonComponent, selector: "verbena-button", inputs: ["type", "text", "icon", "useIcon", "svgPosition", "iconPosition", "bgColor", "textColor", "border", "borderRadius", "pd", "width", "height", "fontSize", "fontWeight", "disable", "svgSize", "weight", "variant", "styleType", "svg", "svgWidth", "svgHeight", "iconColor", "svgColor", "buttonClass", "buttonTextClass", "isLoading", "spinnerSize", "spinnerColor"] }, { 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"] }] });
|
|
798
|
+
}
|
|
799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OperationPopupComponent, decorators: [{
|
|
800
|
+
type: Component,
|
|
801
|
+
args: [{ selector: 'lib-operation-popup', standalone: true, imports: [
|
|
802
|
+
CommonModule,
|
|
803
|
+
FormsModule,
|
|
804
|
+
VerbenPopUpModule,
|
|
805
|
+
DropDownModule,
|
|
806
|
+
VerbenaButtonModule,
|
|
807
|
+
VerbenDialogueModule,
|
|
808
|
+
FormControlerModule,
|
|
809
|
+
FormTimerModule,
|
|
810
|
+
SvgModule,
|
|
811
|
+
], 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" }]
|
|
812
|
+
}], ctorParameters: () => [{ type: OperationPopupFacade }], propDecorators: { user: [{
|
|
813
|
+
type: Input
|
|
814
|
+
}], task: [{
|
|
815
|
+
type: Input
|
|
816
|
+
}], allowedActions: [{
|
|
817
|
+
type: Input
|
|
818
|
+
}], actionComplete: [{
|
|
819
|
+
type: Output
|
|
820
|
+
}] } });
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* Generated bundle index. Do not edit.
|
|
824
|
+
*/
|
|
825
|
+
|
|
826
|
+
export { OperationPopupComponent };
|
|
827
|
+
//# sourceMappingURL=verben-workflow-ui-src-lib-components-operation-popup.mjs.map
|