verben-workflow-ui 0.5.80 → 0.5.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ng-package.json +15 -0
- package/package.json +9 -175
- package/src/lib/components/actors/actors.columns.ts +40 -0
- package/src/lib/components/actors/actors.component.css +0 -0
- package/src/lib/components/actors/actors.component.html +329 -0
- package/src/lib/components/actors/actors.component.spec.ts +23 -0
- package/src/lib/components/actors/actors.component.ts +141 -0
- package/src/lib/components/actors/actors.facade.ts +314 -0
- package/src/lib/components/actors/actors.form.component.html +37 -0
- package/src/lib/components/actors/actors.form.component.ts +80 -0
- package/src/lib/components/actors/actors.model.ts +4 -0
- package/src/lib/components/actors/actors.module.ts +13 -0
- package/src/lib/components/actors/actors.service.ts +101 -0
- package/src/lib/components/actors/actors.state.ts +117 -0
- package/src/lib/components/actors/ng-package.json +6 -0
- package/src/lib/components/designer/components/label-editor.component.ts +188 -0
- package/src/lib/components/designer/components/node-selector.component.ts +210 -0
- package/src/lib/components/designer/components/swimlane-label.component.ts +102 -0
- package/src/lib/components/designer/components/swimlane-popup.component.ts +51 -0
- package/src/lib/components/designer/components/wf-canvas.component.ts +495 -0
- package/src/lib/components/designer/components/wf-designer.component.ts +185 -0
- package/src/lib/components/designer/components/wf-node.component.ts +91 -0
- package/src/lib/components/designer/components/wf-properties-popup.component.ts +257 -0
- package/src/lib/components/designer/components/wf-toolbar.component.ts +84 -0
- package/src/lib/components/designer/models/types.ts +132 -0
- package/src/lib/components/designer/ng-package.json +6 -0
- package/src/lib/components/designer/services/canvas-state.service.ts +63 -0
- package/src/lib/components/designer/services/connection-segment-interaction.service.ts +141 -0
- package/src/lib/components/designer/services/connection.service.ts +350 -0
- package/src/lib/components/designer/services/keyboard-handler.service.ts +39 -0
- package/src/lib/components/designer/services/label-management.service.ts +72 -0
- package/src/lib/components/designer/services/node-finder.service.ts +34 -0
- package/src/lib/components/designer/services/node-interaction.service.ts +135 -0
- package/src/lib/components/designer/services/node-placement.service.ts +77 -0
- package/src/lib/components/designer/services/node-precondition.service.ts +139 -0
- package/src/lib/components/designer/services/node-renderer.service.ts +97 -0
- package/src/lib/components/designer/services/node-selection.service.ts +110 -0
- package/src/lib/components/designer/services/orthogonal-router.service.ts +233 -0
- package/src/lib/components/designer/services/position-update.service.ts +56 -0
- package/src/lib/components/designer/services/rendering.service.ts +296 -0
- package/src/lib/components/designer/services/swimlane-management.service.ts +189 -0
- package/src/lib/components/designer/services/swimlane-stats.service.ts +53 -0
- package/src/lib/components/designer/services/tag-helper.service.ts +80 -0
- package/src/lib/components/designer/services/viewport.service.ts +30 -0
- package/src/lib/components/designer/services/wf-facade.service.ts +287 -0
- package/src/lib/components/designer/services/wf-mapper.service.ts +448 -0
- package/src/lib/components/designer/services/wf-persistence.service.ts +180 -0
- package/src/lib/components/designer/services/wf-state.service.ts +143 -0
- package/src/lib/components/expiration/expiration.component.css +0 -0
- package/src/lib/components/expiration/expiration.component.html +21 -0
- package/src/lib/components/expiration/expiration.component.spec.ts +23 -0
- package/src/lib/components/expiration/expiration.component.ts +52 -0
- package/src/lib/components/expiration/expiration.module.ts +11 -0
- package/src/lib/components/expiration/ng-package.json +6 -0
- package/src/lib/components/file-render/file-render.component.css +4 -0
- package/src/lib/components/file-render/file-render.component.html +21 -0
- package/src/lib/components/file-render/file-render.component.spec.ts +23 -0
- package/src/lib/components/file-render/file-render.component.ts +34 -0
- package/src/lib/components/file-render/file-render.module.ts +19 -0
- package/src/lib/components/file-render/ng-package.json +6 -0
- package/src/lib/components/file-upload/file-upload.component.css +0 -0
- package/src/lib/components/file-upload/file-upload.component.html +69 -0
- package/src/lib/components/file-upload/file-upload.component.spec.ts +23 -0
- package/src/lib/components/file-upload/file-upload.component.ts +87 -0
- package/src/lib/components/file-upload/file-upload.module.ts +40 -0
- package/src/lib/components/file-upload/ng-package.json +6 -0
- package/src/lib/components/flowable-status/flowable-status.columns.ts +23 -0
- package/src/lib/components/flowable-status/flowable-status.component.css +1 -0
- package/src/lib/components/flowable-status/flowable-status.component.html +159 -0
- package/src/lib/components/flowable-status/flowable-status.component.ts +147 -0
- package/src/lib/components/flowable-status/flowable-status.facade.ts +251 -0
- package/src/lib/components/flowable-status/flowable-status.form.component.html +13 -0
- package/src/lib/components/flowable-status/flowable-status.form.component.ts +51 -0
- package/src/lib/components/flowable-status/flowable-status.model.ts +3 -0
- package/src/lib/components/flowable-status/flowable-status.module.ts +13 -0
- package/src/lib/components/flowable-status/flowable-status.service.ts +62 -0
- package/src/lib/components/flowable-status/flowable-status.state.ts +97 -0
- package/src/lib/components/flowable-status/ng-package.json +6 -0
- package/src/lib/components/flowable-status/public-api.ts +3 -0
- package/src/lib/components/form-control/form-control.component.css +0 -0
- package/src/lib/components/form-control/form-control.component.html +254 -0
- package/src/lib/components/form-control/form-control.component.spec.ts +23 -0
- package/src/lib/components/form-control/form-control.component.ts +171 -0
- package/src/lib/components/form-control/form-control.module.ts +47 -0
- package/src/lib/components/form-control/ng-package.json +6 -0
- package/src/lib/components/form-group/base-table-style.ts +52 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.css +114 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.html +621 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.spec.ts +23 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.ts +1120 -0
- package/src/lib/components/form-group/form-fields/form-fields.module.ts +48 -0
- package/src/lib/components/form-group/form-fields/form-fields.service.ts +70 -0
- package/src/lib/components/form-group/form-fields/helper.ts +45 -0
- package/src/lib/components/form-group/form-group.component.css +113 -0
- package/src/lib/components/form-group/form-group.component.html +486 -0
- package/src/lib/components/form-group/form-group.component.spec.ts +22 -0
- package/src/lib/components/form-group/form-group.component.ts +798 -0
- package/src/lib/components/form-group/form-group.module.ts +54 -0
- package/src/lib/components/form-group/form-group.service.ts +53 -0
- package/src/lib/components/form-group/helper.ts +45 -0
- package/src/lib/components/form-group/ng-package.json +6 -0
- package/src/lib/components/form-response/form-response.component.css +114 -0
- package/src/lib/components/form-response/form-response.component.html +188 -0
- package/src/lib/components/form-response/form-response.component.spec.ts +23 -0
- package/src/lib/components/form-response/form-response.component.ts +726 -0
- package/src/lib/components/form-response/form-response.module.ts +48 -0
- package/src/lib/components/form-response/form-response.service.ts +52 -0
- package/src/lib/components/form-response/helper.ts +222 -0
- package/src/lib/components/form-response/ng-package.json +6 -0
- package/src/lib/components/form-timer/form-timer.component.css +0 -0
- package/src/lib/components/form-timer/form-timer.component.html +47 -0
- package/src/lib/components/form-timer/form-timer.component.spec.ts +23 -0
- package/src/lib/components/form-timer/form-timer.component.ts +52 -0
- package/src/lib/components/form-timer/form-timer.module.ts +19 -0
- package/src/lib/components/form-timer/ng-package.json +6 -0
- package/src/lib/components/forms/base-table-style.ts +52 -0
- package/src/lib/components/forms/forms.component.css +126 -0
- package/src/lib/components/forms/forms.component.html +538 -0
- package/src/lib/components/forms/forms.component.spec.ts +23 -0
- package/src/lib/components/forms/forms.component.ts +810 -0
- package/src/lib/components/forms/forms.module.ts +10 -0
- package/src/lib/components/forms/forms.service.spec.ts +16 -0
- package/src/lib/components/forms/forms.service.ts +65 -0
- package/src/lib/components/forms/ng-package.json +6 -0
- package/src/lib/components/journal/journal.component.css +0 -0
- package/src/lib/components/journal/journal.component.html +1 -0
- package/src/lib/components/journal/journal.component.spec.ts +23 -0
- package/src/lib/components/journal/journal.component.ts +10 -0
- package/src/lib/components/journal/journal.module.ts +10 -0
- package/src/lib/components/journal/ng-package.json +6 -0
- package/src/lib/components/my-queue/my-queue.columns.ts +32 -0
- package/src/lib/components/my-queue/my-queue.component.css +4 -0
- package/src/lib/components/my-queue/my-queue.component.html +181 -0
- package/src/lib/components/my-queue/my-queue.component.spec.ts +23 -0
- package/src/lib/components/my-queue/my-queue.component.ts +136 -0
- package/src/lib/components/my-queue/my-queue.facade.ts +577 -0
- package/src/lib/components/my-queue/my-queue.helper.ts +72 -0
- package/src/lib/components/my-queue/my-queue.module.ts +23 -0
- package/src/lib/components/my-queue/my-queue.service.spec.ts +16 -0
- package/src/lib/components/my-queue/my-queue.service.ts +229 -0
- package/src/lib/components/my-queue/my-queue.state.ts +105 -0
- package/src/lib/components/my-queue/ng-package.json +6 -0
- package/src/lib/components/my-queue/tasks.form.component.html +144 -0
- package/src/lib/components/my-queue/tasks.form.component.ts +152 -0
- package/src/lib/components/operation-popup/ng-package.json +6 -0
- package/src/lib/components/operation-popup/operation-popup.component.css +1 -0
- package/src/lib/components/operation-popup/operation-popup.component.html +107 -0
- package/src/lib/components/operation-popup/operation-popup.component.ts +381 -0
- package/src/lib/components/operation-popup/operation-popup.facade.ts +430 -0
- package/src/lib/components/operation-popup/operation-popup.service.ts +120 -0
- package/src/lib/components/operation-popup/operation-popup.state.ts +49 -0
- package/src/lib/components/stage-details/ng-package.json +6 -0
- package/src/lib/components/stage-details/stage-details.component.css +0 -0
- package/src/lib/components/stage-details/stage-details.component.html +95 -0
- package/src/lib/components/stage-details/stage-details.component.spec.ts +23 -0
- package/src/lib/components/stage-details/stage-details.component.ts +45 -0
- package/src/lib/components/stage-details/stage-details.module.ts +11 -0
- package/src/lib/components/task-form/ng-package.json +6 -0
- package/src/lib/components/task-form/task-form.component.css +0 -0
- package/src/lib/components/task-form/task-form.component.html +38 -0
- package/src/lib/components/task-form/task-form.component.spec.ts +23 -0
- package/src/lib/components/task-form/task-form.component.ts +15 -0
- package/src/lib/components/task-form/task-form.module.ts +31 -0
- package/src/lib/components/task-history/ng-package.json +6 -0
- package/src/lib/components/task-history/task-history.component.css +334 -0
- package/src/lib/components/task-history/task-history.component.html +145 -0
- package/src/lib/components/task-history/task-history.component.spec.ts +23 -0
- package/src/lib/components/task-history/task-history.component.ts +236 -0
- package/src/lib/components/task-history/task-history.module.ts +11 -0
- package/src/lib/components/task-history/task-history.service.ts +32 -0
- package/src/lib/components/task-notification/base-table-style.ts +52 -0
- package/src/lib/components/task-notification/ng-package.json +6 -0
- package/src/lib/components/task-notification/task-notification.component.css +94 -0
- package/src/lib/components/task-notification/task-notification.component.html +585 -0
- package/src/lib/components/task-notification/task-notification.component.spec.ts +23 -0
- package/src/lib/components/task-notification/task-notification.component.ts +770 -0
- package/src/lib/components/task-notification/task-notification.module.ts +10 -0
- package/src/lib/components/task-notification/task-notification.service.spec.ts +16 -0
- package/src/lib/components/task-notification/task-notification.service.ts +397 -0
- package/src/lib/components/tasks/ng-package.json +6 -0
- package/src/lib/components/tasks/tasks.columns.ts +36 -0
- package/src/lib/components/tasks/tasks.component.css +4 -0
- package/src/lib/components/tasks/tasks.component.html +215 -0
- package/src/lib/components/tasks/tasks.component.spec.ts +23 -0
- package/src/lib/components/tasks/tasks.component.ts +111 -0
- package/src/lib/components/tasks/tasks.facade.ts +443 -0
- package/src/lib/components/tasks/tasks.form.component.html +144 -0
- package/src/lib/components/tasks/tasks.form.component.ts +152 -0
- package/src/lib/components/tasks/tasks.helper.ts +72 -0
- package/src/lib/components/tasks/tasks.models.ts +4 -0
- package/src/lib/components/tasks/tasks.module.ts +28 -0
- package/src/lib/components/tasks/tasks.service.spec.ts +16 -0
- package/src/lib/components/tasks/tasks.service.ts +157 -0
- package/src/lib/components/tasks/tasks.state.ts +113 -0
- package/src/lib/components/wf/ng-package.json +6 -0
- package/src/lib/components/wf/wf.columns.ts +36 -0
- package/src/lib/components/wf/wf.component.css +0 -0
- package/src/lib/components/wf/wf.component.html +35 -0
- package/src/lib/components/wf/wf.component.spec.ts +23 -0
- package/src/lib/components/wf/wf.component.ts +72 -0
- package/src/lib/components/wf/wf.facade.ts +274 -0
- package/src/lib/components/wf/wf.helper.ts +23 -0
- package/src/lib/components/wf/wf.module.ts +14 -0
- package/src/lib/components/wf/wf.service.spec.ts +16 -0
- package/src/lib/components/wf/wf.service.ts +98 -0
- package/src/lib/components/wf/wf.state.ts +99 -0
- package/src/lib/components/workflow/column.ts +40 -0
- package/src/lib/components/workflow/helper.ts +53 -0
- package/src/lib/components/workflow/ng-package.json +6 -0
- package/src/lib/components/workflow/table-style.ts +53 -0
- package/src/lib/components/workflow/workflow.component.css +0 -0
- package/src/lib/components/workflow/workflow.component.html +226 -0
- package/src/lib/components/workflow/workflow.component.spec.ts +23 -0
- package/src/lib/components/workflow/workflow.component.ts +230 -0
- package/src/lib/components/workflow/workflow.module.ts +11 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.css +9 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.html +56 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.ts +136 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.html +45 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.ts +75 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.css +7 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.html +89 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.ts +76 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.css +11 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.html +74 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.ts +61 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.css +70 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.html +454 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.ts +1620 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.connection-drop.spec.ts +100 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.css +63 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.html +49 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.ts +73 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.ts +7 -0
- package/src/lib/components/workflow-designer/docs/01-architecture.md +145 -0
- package/src/lib/components/workflow-designer/docs/02-coordinate-system.md +170 -0
- package/src/lib/components/workflow-designer/docs/03-data-model.md +163 -0
- package/src/lib/components/workflow-designer/docs/04-interactions.md +156 -0
- package/src/lib/components/workflow-designer/docs/05-persistence.md +107 -0
- package/src/lib/components/workflow-designer/docs/06-known-issues.md +126 -0
- package/src/lib/components/workflow-designer/docs/README.md +71 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.css +9 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.html +94 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.ts +272 -0
- package/src/lib/components/workflow-designer/ng-package.json +6 -0
- package/src/lib/components/workflow-designer/services/connection.service.ts +309 -0
- package/src/lib/components/workflow-designer/services/node-management.service.ts +351 -0
- package/src/lib/components/workflow-designer/services/popup.service.ts +271 -0
- package/src/lib/components/workflow-designer/services/swimlane.service.ts +163 -0
- package/src/lib/components/workflow-designer/services/transformer.service.ts +301 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.html +208 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.ts +190 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.css +15 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.html +93 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.ts +253 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.html +151 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.ts +149 -0
- package/src/lib/components/workflow-designer/workflow-data.service.spec.ts +16 -0
- package/src/lib/components/workflow-designer/workflow-data.service.ts +266 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.css +59 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.html +29 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.ts +515 -0
- package/src/lib/components/workflow-designer/workflow-designer.models.ts +102 -0
- package/src/lib/components/workflow-designer/workflow-designer.module.ts +69 -0
- package/src/lib/components/workflow-designer/workflow-designer.state.ts +953 -0
- package/src/lib/components/workflow-designer/workflow-designer.types.ts +61 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.css +24 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.html +201 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.spec.ts +23 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.ts +179 -0
- package/src/lib/components/workflow-stage/workflow-stage.module.ts +55 -0
- package/src/lib/components/workflows/ng-package.json +6 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.css +0 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.html +128 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.spec.ts +23 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.ts +87 -0
- package/src/lib/components/workflows/workflows.columns.ts +36 -0
- package/src/lib/components/workflows/workflows.component.css +4 -0
- package/src/lib/components/workflows/workflows.component.html +271 -0
- package/src/lib/components/workflows/workflows.component.spec.ts +23 -0
- package/src/lib/components/workflows/workflows.component.ts +214 -0
- package/src/lib/components/workflows/workflows.facade.ts +386 -0
- package/src/lib/components/workflows/workflows.helper.ts +23 -0
- package/src/lib/components/workflows/workflows.module.ts +14 -0
- package/src/lib/components/workflows/workflows.service.spec.ts +16 -0
- package/src/lib/components/workflows/workflows.service.ts +161 -0
- package/src/lib/components/workflows/workflows.state.ts +106 -0
- package/src/lib/models/ActionHistory.ts +17 -0
- package/src/lib/models/ActionType.ts +9 -0
- package/src/lib/models/Actor.ts +12 -0
- package/src/lib/models/ActorTag.ts +8 -0
- package/src/lib/models/Coord.ts +4 -0
- package/src/lib/models/DataType.ts +25 -0
- package/src/lib/models/EAVEntity.ts +5 -0
- package/src/lib/models/ErrorResponse.ts +7 -0
- package/src/lib/models/Escalation.ts +15 -0
- package/src/lib/models/EscalationCycle.ts +13 -0
- package/src/lib/models/EscalationStage.ts +11 -0
- package/src/lib/models/EscalationType.ts +5 -0
- package/src/lib/models/File.ts +8 -0
- package/src/lib/models/FilterTypes.ts +8 -0
- package/src/lib/models/FlowableStatus.ts +6 -0
- package/src/lib/models/Form.ts +14 -0
- package/src/lib/models/FormEntity.ts +14 -0
- package/src/lib/models/FormFill.ts +16 -0
- package/src/lib/models/FormProperty.ts +16 -0
- package/src/lib/models/FormValues.ts +16 -0
- package/src/lib/models/MailConfig.ts +13 -0
- package/src/lib/models/MessageConfig.ts +5 -0
- package/src/lib/models/MessageMedium.ts +4 -0
- package/src/lib/models/OperationAction.ts +15 -0
- package/src/lib/models/PagedResult.ts +5 -0
- package/src/lib/models/PeriodMode.ts +10 -0
- package/src/lib/models/PermissionConfig.ts +8 -0
- package/src/lib/models/ReportSchedule.ts +23 -0
- package/src/lib/models/ReportType.ts +5 -0
- package/src/lib/models/Resource.ts +57 -0
- package/src/lib/models/ResponseKeyValue.ts +5 -0
- package/src/lib/models/SMSConfig.ts +11 -0
- package/src/lib/models/SearchDynamicWrapper.ts +6 -0
- package/src/lib/models/SearchOperator.ts +4 -0
- package/src/lib/models/SearchPropertySign.ts +9 -0
- package/src/lib/models/SearchPropertyValue.ts +13 -0
- package/src/lib/models/SearchPropertyValueType.ts +9 -0
- package/src/lib/models/Size.ts +4 -0
- package/src/lib/models/SortDirection.ts +5 -0
- package/src/lib/models/StageActorRule.ts +6 -0
- package/src/lib/models/SwimLane.ts +14 -0
- package/src/lib/models/Tag.ts +7 -0
- package/src/lib/models/Task.ts +23 -0
- package/src/lib/models/TaskAssignmentType.ts +4 -0
- package/src/lib/models/TaskNotification.ts +16 -0
- package/src/lib/models/TaskNotificationMessageType.ts +4 -0
- package/src/lib/models/TaskNotificationType.ts +6 -0
- package/src/lib/models/TaskStatus.ts +7 -0
- package/src/lib/models/Workflow.ts +21 -0
- package/src/lib/models/WorkflowAction.ts +14 -0
- package/src/lib/models/WorkflowOperation.ts +7 -0
- package/src/lib/models/WorkflowStage.ts +27 -0
- package/src/lib/models/actors.ts +10 -0
- package/src/lib/models/auth-mechanism.ts +14 -0
- package/src/lib/models/base.ts +12 -0
- package/src/lib/models/ng-package.json +6 -0
- package/src/lib/models/object-state.ts +6 -0
- package/src/lib/models/operation-type.ts +6 -0
- package/src/lib/models/paged.ts +9 -0
- package/src/lib/models/query-params.ts +9 -0
- package/src/lib/models/status.ts +5 -0
- package/src/lib/models/task-history.ts +14 -0
- package/src/lib/models/user-access-request-status.ts +5 -0
- package/src/lib/models/user.ts +24 -0
- package/src/lib/pipes/async-label.pipe.spec.ts +8 -0
- package/src/lib/pipes/async-label.pipe.ts +30 -0
- package/src/lib/pipes/ng-package.json +6 -0
- package/src/lib/services/environment.service.spec.ts +16 -0
- package/src/lib/services/environment.service.ts +32 -0
- package/src/lib/services/http-web-request.service.spec.ts +16 -0
- package/src/lib/services/http-web-request.service.ts +118 -0
- package/src/lib/services/label.service.spec.ts +16 -0
- package/src/lib/services/label.service.ts +182 -0
- package/src/lib/services/ng-package.json +6 -0
- package/src/lib/services/public-api.ts +5 -0
- package/src/lib/services/util.service.spec.ts +16 -0
- package/src/lib/services/util.service.ts +58 -0
- package/src/lib/shared/base-table-style.ts +56 -0
- package/src/lib/shared/components/base-data-view.component.ts +191 -0
- package/src/lib/shared/components/base-model-field.ts +31 -0
- package/src/lib/shared/models/DataViewConfig.ts +19 -0
- package/src/lib/shared/ng-package.json +6 -0
- package/src/lib/shared/public-api.ts +14 -0
- package/src/lib/shared/shared.module.ts +67 -0
- package/src/lib/utils/index.ts +1 -0
- package/src/lib/utils/public-api.ts +2 -0
- package/src/lib/utils/store.ts +50 -0
- package/src/public-api.ts +54 -0
- package/src/styles.css +96 -0
- package/tailwind.config copy.js +33 -0
- package/tailwind.config.js +20 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +15 -0
- package/esm2022/public-api.mjs +0 -39
- package/esm2022/src/lib/components/actors/actors.columns.mjs +0 -39
- package/esm2022/src/lib/components/actors/actors.component.mjs +0 -129
- package/esm2022/src/lib/components/actors/actors.facade.mjs +0 -253
- package/esm2022/src/lib/components/actors/actors.form.component.mjs +0 -78
- package/esm2022/src/lib/components/actors/actors.module.mjs +0 -21
- package/esm2022/src/lib/components/actors/actors.service.mjs +0 -78
- package/esm2022/src/lib/components/actors/actors.state.mjs +0 -100
- package/esm2022/src/lib/components/actors/index.mjs +0 -2
- package/esm2022/src/lib/components/actors/public-api.mjs +0 -3
- package/esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs +0 -5
- package/esm2022/src/lib/components/designer/components/label-editor.component.mjs +0 -148
- package/esm2022/src/lib/components/designer/components/node-selector.component.mjs +0 -319
- package/esm2022/src/lib/components/designer/components/swimlane-label.component.mjs +0 -161
- package/esm2022/src/lib/components/designer/components/swimlane-popup.component.mjs +0 -85
- package/esm2022/src/lib/components/designer/components/wf-canvas.component.mjs +0 -715
- package/esm2022/src/lib/components/designer/components/wf-designer.component.mjs +0 -138
- package/esm2022/src/lib/components/designer/components/wf-toolbar.component.mjs +0 -56
- package/esm2022/src/lib/components/designer/index.mjs +0 -2
- package/esm2022/src/lib/components/designer/models/types.mjs +0 -2
- package/esm2022/src/lib/components/designer/public-api.mjs +0 -3
- package/esm2022/src/lib/components/designer/services/canvas-state.service.mjs +0 -50
- package/esm2022/src/lib/components/designer/services/connection-segment-interaction.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/services/connection.service.mjs +0 -266
- package/esm2022/src/lib/components/designer/services/keyboard-handler.service.mjs +0 -43
- package/esm2022/src/lib/components/designer/services/label-management.service.mjs +0 -66
- package/esm2022/src/lib/components/designer/services/node-finder.service.mjs +0 -30
- package/esm2022/src/lib/components/designer/services/node-interaction.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/services/node-precondition.service.mjs +0 -109
- package/esm2022/src/lib/components/designer/services/node-selection.service.mjs +0 -96
- package/esm2022/src/lib/components/designer/services/orthogonal-router.service.mjs +0 -167
- package/esm2022/src/lib/components/designer/services/position-update.service.mjs +0 -45
- package/esm2022/src/lib/components/designer/services/rendering.service.mjs +0 -236
- package/esm2022/src/lib/components/designer/services/swimlane-management.service.mjs +0 -145
- package/esm2022/src/lib/components/designer/services/swimlane-stats.service.mjs +0 -44
- package/esm2022/src/lib/components/designer/services/viewport.service.mjs +0 -30
- package/esm2022/src/lib/components/designer/services/wf-facade.service.mjs +0 -239
- package/esm2022/src/lib/components/designer/services/wf-mapper.service.mjs +0 -324
- package/esm2022/src/lib/components/designer/services/wf-persistence.service.mjs +0 -167
- package/esm2022/src/lib/components/designer/services/wf-state.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs +0 -5
- package/esm2022/src/lib/components/expiration/expiration.component.mjs +0 -49
- package/esm2022/src/lib/components/expiration/expiration.module.mjs +0 -19
- package/esm2022/src/lib/components/expiration/index.mjs +0 -2
- package/esm2022/src/lib/components/expiration/public-api.mjs +0 -3
- package/esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs +0 -5
- package/esm2022/src/lib/components/file-render/file-render.component.mjs +0 -45
- package/esm2022/src/lib/components/file-render/file-render.module.mjs +0 -35
- package/esm2022/src/lib/components/file-render/index.mjs +0 -2
- package/esm2022/src/lib/components/file-render/public-api.mjs +0 -3
- package/esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs +0 -5
- package/esm2022/src/lib/components/file-upload/file-upload.component.mjs +0 -93
- package/esm2022/src/lib/components/file-upload/file-upload.module.mjs +0 -63
- package/esm2022/src/lib/components/file-upload/index.mjs +0 -2
- package/esm2022/src/lib/components/file-upload/public-api.mjs +0 -3
- package/esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs +0 -5
- package/esm2022/src/lib/components/flowable-status/flowable-status.columns.mjs +0 -21
- package/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +0 -136
- package/esm2022/src/lib/components/flowable-status/flowable-status.facade.mjs +0 -207
- package/esm2022/src/lib/components/flowable-status/flowable-status.form.component.mjs +0 -52
- package/esm2022/src/lib/components/flowable-status/flowable-status.module.mjs +0 -21
- package/esm2022/src/lib/components/flowable-status/flowable-status.service.mjs +0 -54
- package/esm2022/src/lib/components/flowable-status/flowable-status.state.mjs +0 -85
- package/esm2022/src/lib/components/flowable-status/index.mjs +0 -2
- package/esm2022/src/lib/components/flowable-status/public-api.mjs +0 -3
- package/esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs +0 -5
- package/esm2022/src/lib/components/form-control/form-control.component.mjs +0 -157
- package/esm2022/src/lib/components/form-control/form-control.module.mjs +0 -75
- package/esm2022/src/lib/components/form-control/index.mjs +0 -2
- package/esm2022/src/lib/components/form-control/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs +0 -5
- package/esm2022/src/lib/components/form-group/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.component.mjs +0 -958
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.module.mjs +0 -75
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.service.mjs +0 -73
- package/esm2022/src/lib/components/form-group/form-group.component.mjs +0 -707
- package/esm2022/src/lib/components/form-group/form-group.module.mjs +0 -85
- package/esm2022/src/lib/components/form-group/form-group.service.mjs +0 -56
- package/esm2022/src/lib/components/form-group/index.mjs +0 -2
- package/esm2022/src/lib/components/form-group/public-api.mjs +0 -5
- package/esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs +0 -5
- package/esm2022/src/lib/components/form-response/form-response.component.mjs +0 -645
- package/esm2022/src/lib/components/form-response/form-response.module.mjs +0 -76
- package/esm2022/src/lib/components/form-response/form-response.service.mjs +0 -54
- package/esm2022/src/lib/components/form-response/index.mjs +0 -2
- package/esm2022/src/lib/components/form-response/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs +0 -5
- package/esm2022/src/lib/components/form-timer/form-timer.component.mjs +0 -50
- package/esm2022/src/lib/components/form-timer/form-timer.module.mjs +0 -28
- package/esm2022/src/lib/components/form-timer/index.mjs +0 -2
- package/esm2022/src/lib/components/form-timer/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs +0 -5
- package/esm2022/src/lib/components/forms/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/forms/forms.component.mjs +0 -673
- package/esm2022/src/lib/components/forms/forms.module.mjs +0 -18
- package/esm2022/src/lib/components/forms/forms.service.mjs +0 -68
- package/esm2022/src/lib/components/forms/index.mjs +0 -2
- package/esm2022/src/lib/components/forms/public-api.mjs +0 -3
- package/esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs +0 -5
- package/esm2022/src/lib/components/journal/index.mjs +0 -2
- package/esm2022/src/lib/components/journal/journal.component.mjs +0 -11
- package/esm2022/src/lib/components/journal/journal.module.mjs +0 -18
- package/esm2022/src/lib/components/journal/public-api.mjs +0 -3
- package/esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs +0 -5
- package/esm2022/src/lib/components/my-queue/index.mjs +0 -2
- package/esm2022/src/lib/components/my-queue/my-queue.columns.mjs +0 -29
- package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +0 -142
- package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +0 -469
- package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +0 -40
- package/esm2022/src/lib/components/my-queue/my-queue.service.mjs +0 -138
- package/esm2022/src/lib/components/my-queue/my-queue.state.mjs +0 -90
- package/esm2022/src/lib/components/my-queue/public-api.mjs +0 -4
- package/esm2022/src/lib/components/my-queue/tasks.form.component.mjs +0 -147
- package/esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs +0 -5
- package/esm2022/src/lib/components/operation-popup/index.mjs +0 -2
- package/esm2022/src/lib/components/operation-popup/operation-popup.component.mjs +0 -353
- package/esm2022/src/lib/components/operation-popup/operation-popup.facade.mjs +0 -352
- package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +0 -71
- package/esm2022/src/lib/components/operation-popup/operation-popup.state.mjs +0 -44
- package/esm2022/src/lib/components/operation-popup/public-api.mjs +0 -2
- package/esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs +0 -5
- package/esm2022/src/lib/components/stage-details/index.mjs +0 -2
- package/esm2022/src/lib/components/stage-details/public-api.mjs +0 -3
- package/esm2022/src/lib/components/stage-details/stage-details.component.mjs +0 -51
- package/esm2022/src/lib/components/stage-details/stage-details.module.mjs +0 -19
- package/esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs +0 -5
- package/esm2022/src/lib/components/task-form/index.mjs +0 -2
- package/esm2022/src/lib/components/task-form/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-form/task-form.component.mjs +0 -18
- package/esm2022/src/lib/components/task-form/task-form.module.mjs +0 -72
- package/esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs +0 -5
- package/esm2022/src/lib/components/task-history/index.mjs +0 -2
- package/esm2022/src/lib/components/task-history/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-history/task-history.component.mjs +0 -221
- package/esm2022/src/lib/components/task-history/task-history.module.mjs +0 -20
- package/esm2022/src/lib/components/task-history/task-history.service.mjs +0 -32
- package/esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs +0 -5
- package/esm2022/src/lib/components/task-notification/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/task-notification/index.mjs +0 -2
- package/esm2022/src/lib/components/task-notification/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-notification/task-notification.component.mjs +0 -670
- package/esm2022/src/lib/components/task-notification/task-notification.module.mjs +0 -18
- package/esm2022/src/lib/components/task-notification/task-notification.service.mjs +0 -256
- package/esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs +0 -5
- package/esm2022/src/lib/components/tasks/index.mjs +0 -2
- package/esm2022/src/lib/components/tasks/public-api.mjs +0 -6
- package/esm2022/src/lib/components/tasks/tasks.columns.mjs +0 -34
- package/esm2022/src/lib/components/tasks/tasks.component.mjs +0 -113
- package/esm2022/src/lib/components/tasks/tasks.facade.mjs +0 -355
- package/esm2022/src/lib/components/tasks/tasks.form.component.mjs +0 -147
- package/esm2022/src/lib/components/tasks/tasks.models.mjs +0 -4
- package/esm2022/src/lib/components/tasks/tasks.module.mjs +0 -48
- package/esm2022/src/lib/components/tasks/tasks.service.mjs +0 -106
- package/esm2022/src/lib/components/tasks/tasks.state.mjs +0 -96
- package/esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs +0 -5
- package/esm2022/src/lib/components/wf/index.mjs +0 -2
- package/esm2022/src/lib/components/wf/public-api.mjs +0 -4
- package/esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs +0 -5
- package/esm2022/src/lib/components/wf/wf.columns.mjs +0 -34
- package/esm2022/src/lib/components/wf/wf.component.mjs +0 -69
- package/esm2022/src/lib/components/wf/wf.module.mjs +0 -22
- package/esm2022/src/lib/components/wf/wf.service.mjs +0 -82
- package/esm2022/src/lib/components/workflow/column.mjs +0 -38
- package/esm2022/src/lib/components/workflow/helper.mjs +0 -47
- package/esm2022/src/lib/components/workflow/index.mjs +0 -2
- package/esm2022/src/lib/components/workflow/public-api.mjs +0 -4
- package/esm2022/src/lib/components/workflow/table-style.mjs +0 -53
- package/esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs +0 -5
- package/esm2022/src/lib/components/workflow/workflow.component.mjs +0 -216
- package/esm2022/src/lib/components/workflow/workflow.module.mjs +0 -19
- package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +0 -119
- package/esm2022/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.mjs +0 -70
- package/esm2022/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.mjs +0 -76
- package/esm2022/src/lib/components/workflow-designer/decision-popup/decision-popup.component.mjs +0 -65
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +0 -1226
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.mjs +0 -83
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.mjs +0 -2
- package/esm2022/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.mjs +0 -238
- package/esm2022/src/lib/components/workflow-designer/index.mjs +0 -2
- package/esm2022/src/lib/components/workflow-designer/public-api.mjs +0 -5
- package/esm2022/src/lib/components/workflow-designer/services/connection.service.mjs +0 -222
- package/esm2022/src/lib/components/workflow-designer/services/node-management.service.mjs +0 -300
- package/esm2022/src/lib/components/workflow-designer/services/popup.service.mjs +0 -235
- package/esm2022/src/lib/components/workflow-designer/services/swimlane.service.mjs +0 -145
- package/esm2022/src/lib/components/workflow-designer/services/transformer.service.mjs +0 -263
- package/esm2022/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.mjs +0 -175
- package/esm2022/src/lib/components/workflow-designer/stage-node/stage-node.component.mjs +0 -217
- package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +0 -131
- package/esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs +0 -5
- package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +0 -186
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +0 -408
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.module.mjs +0 -107
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +0 -759
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.types.mjs +0 -2
- package/esm2022/src/lib/components/workflows/index.mjs +0 -2
- package/esm2022/src/lib/components/workflows/public-api.mjs +0 -4
- package/esm2022/src/lib/components/workflows/verben-workflow-ui-src-lib-components-workflows.mjs +0 -5
- package/esm2022/src/lib/components/workflows/workflow-form/workflow-form.component.mjs +0 -91
- package/esm2022/src/lib/components/workflows/workflows.columns.mjs +0 -34
- package/esm2022/src/lib/components/workflows/workflows.component.mjs +0 -190
- package/esm2022/src/lib/components/workflows/workflows.facade.mjs +0 -306
- package/esm2022/src/lib/components/workflows/workflows.helper.mjs +0 -21
- package/esm2022/src/lib/components/workflows/workflows.module.mjs +0 -21
- package/esm2022/src/lib/components/workflows/workflows.service.mjs +0 -122
- package/esm2022/src/lib/components/workflows/workflows.state.mjs +0 -92
- package/esm2022/src/lib/models/ActionHistory.mjs +0 -2
- package/esm2022/src/lib/models/ActionType.mjs +0 -11
- package/esm2022/src/lib/models/Actor.mjs +0 -2
- package/esm2022/src/lib/models/ActorTag.mjs +0 -2
- package/esm2022/src/lib/models/Coord.mjs +0 -2
- package/esm2022/src/lib/models/DataType.mjs +0 -27
- package/esm2022/src/lib/models/EAVEntity.mjs +0 -2
- package/esm2022/src/lib/models/ErrorResponse.mjs +0 -11
- package/esm2022/src/lib/models/Escalation.mjs +0 -2
- package/esm2022/src/lib/models/EscalationCycle.mjs +0 -2
- package/esm2022/src/lib/models/EscalationStage.mjs +0 -2
- package/esm2022/src/lib/models/EscalationType.mjs +0 -7
- package/esm2022/src/lib/models/File.mjs +0 -2
- package/esm2022/src/lib/models/FilterTypes.mjs +0 -9
- package/esm2022/src/lib/models/FlowableStatus.mjs +0 -2
- package/esm2022/src/lib/models/Form.mjs +0 -2
- package/esm2022/src/lib/models/FormEntity.mjs +0 -2
- package/esm2022/src/lib/models/FormFill.mjs +0 -6
- package/esm2022/src/lib/models/FormProperty.mjs +0 -2
- package/esm2022/src/lib/models/FormValues.mjs +0 -2
- package/esm2022/src/lib/models/MailConfig.mjs +0 -2
- package/esm2022/src/lib/models/MessageConfig.mjs +0 -2
- package/esm2022/src/lib/models/MessageMedium.mjs +0 -6
- package/esm2022/src/lib/models/OperationAction.mjs +0 -2
- package/esm2022/src/lib/models/PagedResult.mjs +0 -2
- package/esm2022/src/lib/models/PeriodMode.mjs +0 -12
- package/esm2022/src/lib/models/PermissionConfig.mjs +0 -2
- package/esm2022/src/lib/models/ReportSchedule.mjs +0 -2
- package/esm2022/src/lib/models/ReportType.mjs +0 -7
- package/esm2022/src/lib/models/Resource.mjs +0 -47
- package/esm2022/src/lib/models/ResponseKeyValue.mjs +0 -2
- package/esm2022/src/lib/models/SMSConfig.mjs +0 -2
- package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +0 -2
- package/esm2022/src/lib/models/SearchOperator.mjs +0 -6
- package/esm2022/src/lib/models/SearchPropertySign.mjs +0 -11
- package/esm2022/src/lib/models/SearchPropertyValue.mjs +0 -2
- package/esm2022/src/lib/models/SearchPropertyValueType.mjs +0 -11
- package/esm2022/src/lib/models/Size.mjs +0 -2
- package/esm2022/src/lib/models/SortDirection.mjs +0 -7
- package/esm2022/src/lib/models/StageActorRule.mjs +0 -8
- package/esm2022/src/lib/models/SwimLane.mjs +0 -2
- package/esm2022/src/lib/models/Tag.mjs +0 -2
- package/esm2022/src/lib/models/Task.mjs +0 -2
- package/esm2022/src/lib/models/TaskAssignmentType.mjs +0 -6
- package/esm2022/src/lib/models/TaskNotification.mjs +0 -2
- package/esm2022/src/lib/models/TaskNotificationMessageType.mjs +0 -6
- package/esm2022/src/lib/models/TaskNotificationType.mjs +0 -8
- package/esm2022/src/lib/models/TaskStatus.mjs +0 -9
- package/esm2022/src/lib/models/Workflow.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowAction.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowOperation.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowStage.mjs +0 -2
- package/esm2022/src/lib/models/actors.mjs +0 -2
- package/esm2022/src/lib/models/auth-mechanism.mjs +0 -8
- package/esm2022/src/lib/models/base.mjs +0 -2
- package/esm2022/src/lib/models/index.mjs +0 -2
- package/esm2022/src/lib/models/object-state.mjs +0 -8
- package/esm2022/src/lib/models/operation-type.mjs +0 -7
- package/esm2022/src/lib/models/paged.mjs +0 -2
- package/esm2022/src/lib/models/public-api.mjs +0 -64
- package/esm2022/src/lib/models/query-params.mjs +0 -2
- package/esm2022/src/lib/models/status.mjs +0 -6
- package/esm2022/src/lib/models/task-history.mjs +0 -2
- package/esm2022/src/lib/models/user-access-request-status.mjs +0 -7
- package/esm2022/src/lib/models/user.mjs +0 -2
- package/esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs +0 -5
- package/esm2022/src/lib/pipes/async-label.pipe.mjs +0 -25
- package/esm2022/src/lib/pipes/index.mjs +0 -2
- package/esm2022/src/lib/pipes/public-api.mjs +0 -2
- package/esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs +0 -5
- package/esm2022/src/lib/services/environment.service.mjs +0 -27
- package/esm2022/src/lib/services/http-web-request.service.mjs +0 -90
- package/esm2022/src/lib/services/index.mjs +0 -2
- package/esm2022/src/lib/services/label.service.mjs +0 -134
- package/esm2022/src/lib/services/public-api.mjs +0 -5
- package/esm2022/src/lib/services/util.service.mjs +0 -65
- package/esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs +0 -5
- package/esm2022/src/lib/shared/base-table-style.mjs +0 -55
- package/esm2022/src/lib/shared/components/base-data-view.component.mjs +0 -158
- package/esm2022/src/lib/shared/components/base-model-field.mjs +0 -21
- package/esm2022/src/lib/shared/index.mjs +0 -7
- package/esm2022/src/lib/shared/models/DataViewConfig.mjs +0 -2
- package/esm2022/src/lib/shared/public-api.mjs +0 -13
- package/esm2022/src/lib/shared/shared.module.mjs +0 -103
- package/esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs +0 -5
- package/esm2022/verben-workflow-ui.mjs +0 -5
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs +0 -678
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +0 -3892
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs +0 -72
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +0 -83
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +0 -159
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +0 -558
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +0 -234
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +0 -1981
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs +0 -773
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs +0 -81
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs +0 -812
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +0 -33
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +0 -1034
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +0 -812
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs +0 -74
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs +0 -94
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +0 -273
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs +0 -995
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +0 -878
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs +0 -204
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +0 -4908
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs +0 -371
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +0 -854
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs +0 -255
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +0 -32
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs +0 -311
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs +0 -340
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui.mjs +0 -32
- package/fesm2022/verben-workflow-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/public-api.d.ts +0 -20
- package/src/lib/components/actors/actors.columns.d.ts +0 -3
- package/src/lib/components/actors/actors.component.d.ts +0 -31
- package/src/lib/components/actors/actors.facade.d.ts +0 -37
- package/src/lib/components/actors/actors.form.component.d.ts +0 -23
- package/src/lib/components/actors/actors.module.d.ts +0 -11
- package/src/lib/components/actors/actors.service.d.ts +0 -53
- package/src/lib/components/actors/actors.state.d.ts +0 -36
- package/src/lib/components/designer/components/label-editor.component.d.ts +0 -22
- package/src/lib/components/designer/components/node-selector.component.d.ts +0 -23
- package/src/lib/components/designer/components/swimlane-label.component.d.ts +0 -12
- package/src/lib/components/designer/components/swimlane-popup.component.d.ts +0 -18
- package/src/lib/components/designer/components/wf-canvas.component.d.ts +0 -37
- package/src/lib/components/designer/components/wf-designer.component.d.ts +0 -22
- package/src/lib/components/designer/components/wf-toolbar.component.d.ts +0 -17
- package/src/lib/components/designer/models/types.d.ts +0 -103
- package/src/lib/components/designer/services/canvas-state.service.d.ts +0 -24
- package/src/lib/components/designer/services/connection-segment-interaction.service.d.ts +0 -36
- package/src/lib/components/designer/services/connection.service.d.ts +0 -47
- package/src/lib/components/designer/services/keyboard-handler.service.d.ts +0 -9
- package/src/lib/components/designer/services/label-management.service.d.ts +0 -14
- package/src/lib/components/designer/services/node-finder.service.d.ts +0 -10
- package/src/lib/components/designer/services/node-interaction.service.d.ts +0 -19
- package/src/lib/components/designer/services/node-precondition.service.d.ts +0 -37
- package/src/lib/components/designer/services/node-selection.service.d.ts +0 -19
- package/src/lib/components/designer/services/orthogonal-router.service.d.ts +0 -36
- package/src/lib/components/designer/services/position-update.service.d.ts +0 -10
- package/src/lib/components/designer/services/rendering.service.d.ts +0 -67
- package/src/lib/components/designer/services/swimlane-management.service.d.ts +0 -19
- package/src/lib/components/designer/services/swimlane-stats.service.d.ts +0 -19
- package/src/lib/components/designer/services/viewport.service.d.ts +0 -10
- package/src/lib/components/designer/services/wf-facade.service.d.ts +0 -67
- package/src/lib/components/designer/services/wf-mapper.service.d.ts +0 -26
- package/src/lib/components/designer/services/wf-persistence.service.d.ts +0 -21
- package/src/lib/components/designer/services/wf-state.service.d.ts +0 -30
- package/src/lib/components/expiration/expiration.component.d.ts +0 -20
- package/src/lib/components/expiration/expiration.module.d.ts +0 -9
- package/src/lib/components/file-render/file-render.component.d.ts +0 -17
- package/src/lib/components/file-render/file-render.module.d.ts +0 -10
- package/src/lib/components/file-upload/file-upload.component.d.ts +0 -22
- package/src/lib/components/file-upload/file-upload.module.d.ts +0 -11
- package/src/lib/components/flowable-status/flowable-status.columns.d.ts +0 -3
- package/src/lib/components/flowable-status/flowable-status.component.d.ts +0 -34
- package/src/lib/components/flowable-status/flowable-status.facade.d.ts +0 -32
- package/src/lib/components/flowable-status/flowable-status.form.component.d.ts +0 -18
- package/src/lib/components/flowable-status/flowable-status.module.d.ts +0 -11
- package/src/lib/components/flowable-status/flowable-status.service.d.ts +0 -35
- package/src/lib/components/flowable-status/flowable-status.state.d.ts +0 -30
- package/src/lib/components/flowable-status/public-api.d.ts +0 -2
- package/src/lib/components/form-control/form-control.component.d.ts +0 -38
- package/src/lib/components/form-control/form-control.module.d.ts +0 -11
- package/src/lib/components/form-group/base-table-style.d.ts +0 -1
- package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +0 -136
- package/src/lib/components/form-group/form-fields/form-fields.module.d.ts +0 -11
- package/src/lib/components/form-group/form-fields/form-fields.service.d.ts +0 -9
- package/src/lib/components/form-group/form-group.component.d.ts +0 -108
- package/src/lib/components/form-group/form-group.module.d.ts +0 -15
- package/src/lib/components/form-group/form-group.service.d.ts +0 -9
- package/src/lib/components/form-response/form-response.component.d.ts +0 -108
- package/src/lib/components/form-response/form-response.module.d.ts +0 -12
- package/src/lib/components/form-response/form-response.service.d.ts +0 -9
- package/src/lib/components/form-timer/form-timer.component.d.ts +0 -13
- package/src/lib/components/form-timer/form-timer.module.d.ts +0 -9
- package/src/lib/components/forms/base-table-style.d.ts +0 -1
- package/src/lib/components/forms/forms.component.d.ts +0 -88
- package/src/lib/components/forms/forms.module.d.ts +0 -8
- package/src/lib/components/forms/forms.service.d.ts +0 -9
- package/src/lib/components/journal/journal.component.d.ts +0 -5
- package/src/lib/components/journal/journal.module.d.ts +0 -8
- package/src/lib/components/my-queue/my-queue.columns.d.ts +0 -3
- package/src/lib/components/my-queue/my-queue.component.d.ts +0 -26
- package/src/lib/components/my-queue/my-queue.facade.d.ts +0 -42
- package/src/lib/components/my-queue/my-queue.module.d.ts +0 -14
- package/src/lib/components/my-queue/my-queue.service.d.ts +0 -65
- package/src/lib/components/my-queue/my-queue.state.d.ts +0 -33
- package/src/lib/components/my-queue/tasks.form.component.d.ts +0 -36
- package/src/lib/components/operation-popup/operation-popup.component.d.ts +0 -57
- package/src/lib/components/operation-popup/operation-popup.facade.d.ts +0 -32
- package/src/lib/components/operation-popup/operation-popup.service.d.ts +0 -23
- package/src/lib/components/operation-popup/operation-popup.state.d.ts +0 -20
- package/src/lib/components/stage-details/stage-details.component.d.ts +0 -24
- package/src/lib/components/stage-details/stage-details.module.d.ts +0 -9
- package/src/lib/components/task-form/task-form.component.d.ts +0 -10
- package/src/lib/components/task-form/task-form.module.d.ts +0 -10
- package/src/lib/components/task-history/task-history.component.d.ts +0 -35
- package/src/lib/components/task-history/task-history.module.d.ts +0 -10
- package/src/lib/components/task-history/task-history.service.d.ts +0 -13
- package/src/lib/components/task-notification/base-table-style.d.ts +0 -1
- package/src/lib/components/task-notification/task-notification.component.d.ts +0 -89
- package/src/lib/components/task-notification/task-notification.module.d.ts +0 -8
- package/src/lib/components/task-notification/task-notification.service.d.ts +0 -32
- package/src/lib/components/tasks/tasks.columns.d.ts +0 -3
- package/src/lib/components/tasks/tasks.component.d.ts +0 -28
- package/src/lib/components/tasks/tasks.facade.d.ts +0 -40
- package/src/lib/components/tasks/tasks.form.component.d.ts +0 -36
- package/src/lib/components/tasks/tasks.models.d.ts +0 -4
- package/src/lib/components/tasks/tasks.module.d.ts +0 -16
- package/src/lib/components/tasks/tasks.service.d.ts +0 -57
- package/src/lib/components/tasks/tasks.state.d.ts +0 -35
- package/src/lib/components/wf/wf.columns.d.ts +0 -3
- package/src/lib/components/wf/wf.component.d.ts +0 -16
- package/src/lib/components/wf/wf.module.d.ts +0 -10
- package/src/lib/components/wf/wf.service.d.ts +0 -51
- package/src/lib/components/workflow/column.d.ts +0 -3
- package/src/lib/components/workflow/helper.d.ts +0 -2
- package/src/lib/components/workflow/table-style.d.ts +0 -1
- package/src/lib/components/workflow/workflow.component.d.ts +0 -57
- package/src/lib/components/workflow/workflow.module.d.ts +0 -9
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.d.ts +0 -30
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.d.ts +0 -24
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.d.ts +0 -34
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.d.ts +0 -26
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.d.ts +0 -188
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.d.ts +0 -33
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.d.ts +0 -5
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.d.ts +0 -42
- package/src/lib/components/workflow-designer/services/connection.service.d.ts +0 -85
- package/src/lib/components/workflow-designer/services/node-management.service.d.ts +0 -52
- package/src/lib/components/workflow-designer/services/popup.service.d.ts +0 -139
- package/src/lib/components/workflow-designer/services/swimlane.service.d.ts +0 -51
- package/src/lib/components/workflow-designer/services/transformer.service.d.ts +0 -36
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.d.ts +0 -40
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.d.ts +0 -54
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.d.ts +0 -45
- package/src/lib/components/workflow-designer/workflow-data.service.d.ts +0 -35
- package/src/lib/components/workflow-designer/workflow-designer.component.d.ts +0 -47
- package/src/lib/components/workflow-designer/workflow-designer.module.d.ts +0 -22
- package/src/lib/components/workflow-designer/workflow-designer.state.d.ts +0 -99
- package/src/lib/components/workflow-designer/workflow-designer.types.d.ts +0 -49
- package/src/lib/components/workflows/workflow-form/workflow-form.component.d.ts +0 -28
- package/src/lib/components/workflows/workflows.columns.d.ts +0 -3
- package/src/lib/components/workflows/workflows.component.d.ts +0 -49
- package/src/lib/components/workflows/workflows.facade.d.ts +0 -38
- package/src/lib/components/workflows/workflows.helper.d.ts +0 -3
- package/src/lib/components/workflows/workflows.module.d.ts +0 -11
- package/src/lib/components/workflows/workflows.service.d.ts +0 -78
- package/src/lib/components/workflows/workflows.state.d.ts +0 -33
- package/src/lib/models/ActionHistory.d.ts +0 -14
- package/src/lib/models/ActionType.d.ts +0 -9
- package/src/lib/models/Actor.d.ts +0 -11
- package/src/lib/models/ActorTag.d.ts +0 -6
- package/src/lib/models/Coord.d.ts +0 -4
- package/src/lib/models/DataType.d.ts +0 -25
- package/src/lib/models/EAVEntity.d.ts +0 -4
- package/src/lib/models/ErrorResponse.d.ts +0 -6
- package/src/lib/models/Escalation.d.ts +0 -14
- package/src/lib/models/EscalationCycle.d.ts +0 -12
- package/src/lib/models/EscalationStage.d.ts +0 -10
- package/src/lib/models/EscalationType.d.ts +0 -5
- package/src/lib/models/File.d.ts +0 -7
- package/src/lib/models/FilterTypes.d.ts +0 -6
- package/src/lib/models/FlowableStatus.d.ts +0 -5
- package/src/lib/models/Form.d.ts +0 -13
- package/src/lib/models/FormEntity.d.ts +0 -13
- package/src/lib/models/FormFill.d.ts +0 -15
- package/src/lib/models/FormProperty.d.ts +0 -15
- package/src/lib/models/FormValues.d.ts +0 -14
- package/src/lib/models/MailConfig.d.ts +0 -12
- package/src/lib/models/MessageConfig.d.ts +0 -3
- package/src/lib/models/MessageMedium.d.ts +0 -4
- package/src/lib/models/OperationAction.d.ts +0 -14
- package/src/lib/models/PagedResult.d.ts +0 -5
- package/src/lib/models/PeriodMode.d.ts +0 -10
- package/src/lib/models/PermissionConfig.d.ts +0 -7
- package/src/lib/models/ReportSchedule.d.ts +0 -22
- package/src/lib/models/ReportType.d.ts +0 -5
- package/src/lib/models/Resource.d.ts +0 -20
- package/src/lib/models/ResponseKeyValue.d.ts +0 -5
- package/src/lib/models/SMSConfig.d.ts +0 -10
- package/src/lib/models/SearchDynamicWrapper.d.ts +0 -5
- package/src/lib/models/SearchOperator.d.ts +0 -4
- package/src/lib/models/SearchPropertySign.d.ts +0 -9
- package/src/lib/models/SearchPropertyValue.d.ts +0 -12
- package/src/lib/models/SearchPropertyValueType.d.ts +0 -9
- package/src/lib/models/Size.d.ts +0 -4
- package/src/lib/models/SortDirection.d.ts +0 -5
- package/src/lib/models/StageActorRule.d.ts +0 -6
- package/src/lib/models/SwimLane.d.ts +0 -13
- package/src/lib/models/Tag.d.ts +0 -6
- package/src/lib/models/Task.d.ts +0 -22
- package/src/lib/models/TaskAssignmentType.d.ts +0 -4
- package/src/lib/models/TaskNotification.d.ts +0 -14
- package/src/lib/models/TaskNotificationMessageType.d.ts +0 -4
- package/src/lib/models/TaskNotificationType.d.ts +0 -6
- package/src/lib/models/TaskStatus.d.ts +0 -7
- package/src/lib/models/Workflow.d.ts +0 -20
- package/src/lib/models/WorkflowAction.d.ts +0 -13
- package/src/lib/models/WorkflowOperation.d.ts +0 -6
- package/src/lib/models/WorkflowStage.d.ts +0 -26
- package/src/lib/models/actors.d.ts +0 -8
- package/src/lib/models/auth-mechanism.d.ts +0 -13
- package/src/lib/models/base.d.ts +0 -11
- package/src/lib/models/object-state.d.ts +0 -6
- package/src/lib/models/operation-type.d.ts +0 -5
- package/src/lib/models/paged.d.ts +0 -9
- package/src/lib/models/query-params.d.ts +0 -8
- package/src/lib/models/status.d.ts +0 -4
- package/src/lib/models/task-history.d.ts +0 -17
- package/src/lib/models/user-access-request-status.d.ts +0 -5
- package/src/lib/models/user.d.ts +0 -23
- package/src/lib/pipes/async-label.pipe.d.ts +0 -11
- package/src/lib/services/environment.service.d.ts +0 -23
- package/src/lib/services/http-web-request.service.d.ts +0 -23
- package/src/lib/services/label.service.d.ts +0 -15
- package/src/lib/services/public-api.d.ts +0 -4
- package/src/lib/services/util.service.d.ts +0 -12
- package/src/lib/shared/base-table-style.d.ts +0 -2
- package/src/lib/shared/components/base-data-view.component.d.ts +0 -41
- package/src/lib/shared/components/base-model-field.d.ts +0 -26
- package/src/lib/shared/models/DataViewConfig.d.ts +0 -11
- package/src/lib/shared/public-api.d.ts +0 -5
- package/src/lib/shared/shared.module.d.ts +0 -11
- /package/src/lib/components/actors/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/actors/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/designer/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/designer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/expiration/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/expiration/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/file-render/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/file-render/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/file-upload/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/file-upload/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/flowable-status/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-control/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-control/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/form-group/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-group/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/form-response/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-response/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/form-timer/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-timer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/forms/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/forms/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/journal/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/journal/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/my-queue/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/my-queue/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/operation-popup/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/operation-popup/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/stage-details/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/stage-details/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/task-form/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/task-form/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/task-history/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/task-history/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/task-notification/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/task-notification/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/tasks/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/tasks/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/wf/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/wf/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/workflow/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/workflow/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/workflow-designer/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/workflow-designer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/workflows/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/workflows/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/models/{index.d.ts → index.ts} +0 -0
- /package/src/lib/models/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/pipes/{index.d.ts → index.ts} +0 -0
- /package/src/lib/pipes/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/services/{index.d.ts → index.ts} +0 -0
- /package/src/lib/shared/{index.d.ts → index.ts} +0 -0
- /package/{styles → src/styles}/styles.css +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ColumnDefinition } from 'verben-ng-ui';
|
|
2
|
+
import { Workflow } from 'verben-workflow-ui/src/lib/models';
|
|
3
|
+
|
|
4
|
+
export const columns: ColumnDefinition<Workflow>[] = [
|
|
5
|
+
{
|
|
6
|
+
id: 'name',
|
|
7
|
+
header: 'Name',
|
|
8
|
+
accessorKey: 'Name',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
id: 'description',
|
|
12
|
+
header: 'Description',
|
|
13
|
+
accessorKey: 'Description',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: 'assignment-type',
|
|
17
|
+
header: 'Assignment Type',
|
|
18
|
+
accessorKey: 'AssignmentType',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
id: 'operation',
|
|
22
|
+
header: 'Operation',
|
|
23
|
+
accessorKey: 'Operation',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: 'stage-entry-rule',
|
|
27
|
+
header: 'StageEntryRule',
|
|
28
|
+
accessorKey: 'StageEntryRule',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: 'status',
|
|
32
|
+
header: 'Status',
|
|
33
|
+
accessorKey: 'Status',
|
|
34
|
+
},
|
|
35
|
+
{ id: 'actions', header: 'Actions', accessorKey: 'Code' },
|
|
36
|
+
];
|
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<div class="space-y-8">
|
|
2
|
+
<verben-data-view
|
|
3
|
+
#vdv
|
|
4
|
+
[viewState]="{
|
|
5
|
+
isSearch: true,
|
|
6
|
+
isColumn: true,
|
|
7
|
+
isFilter: true,
|
|
8
|
+
isSort: true,
|
|
9
|
+
isExport: true,
|
|
10
|
+
isSelect: true,
|
|
11
|
+
isCreate: true,
|
|
12
|
+
isToggle: true,
|
|
13
|
+
}"
|
|
14
|
+
[buttonClass]="'my-custom-button-class'"
|
|
15
|
+
[iconClass]="'my-icon-class'"
|
|
16
|
+
[activeIconClass]="'my-active-icon-class'"
|
|
17
|
+
[selectedColumnCount]="0"
|
|
18
|
+
[selectedSortCount]="0"
|
|
19
|
+
[selectedFilterTableCount]="0"
|
|
20
|
+
(viewChange)="onViewChange($event)"
|
|
21
|
+
(stateChange)="onStateChange($event)"
|
|
22
|
+
>
|
|
23
|
+
<div table-content></div>
|
|
24
|
+
|
|
25
|
+
<div card-content></div>
|
|
26
|
+
|
|
27
|
+
<div column-content></div>
|
|
28
|
+
|
|
29
|
+
<div filter-content></div>
|
|
30
|
+
|
|
31
|
+
<div sort-content></div>
|
|
32
|
+
|
|
33
|
+
<div export-content></div>
|
|
34
|
+
</verben-data-view>
|
|
35
|
+
</div>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { WfComponent } from './wf.component';
|
|
4
|
+
|
|
5
|
+
describe('WfComponent', () => {
|
|
6
|
+
let component: WfComponent;
|
|
7
|
+
let fixture: ComponentFixture<WfComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [WfComponent]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(WfComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { Workflow } from 'verben-workflow-ui/src/lib/models';
|
|
3
|
+
import { TaskAssignmentType } from 'verben-workflow-ui/src/lib/models';
|
|
4
|
+
import { ObjectState } from 'verben-workflow-ui/src/lib/models';
|
|
5
|
+
import { Status } from 'verben-workflow-ui/src/lib/models';
|
|
6
|
+
import { BaseDataViewComponent } from 'verben-workflow-ui/src/lib/shared';
|
|
7
|
+
import { DataViewConfig } from 'verben-workflow-ui/src/lib/shared';
|
|
8
|
+
import { columns } from './wf.columns';
|
|
9
|
+
import { CardData } from 'verben-ng-ui';
|
|
10
|
+
|
|
11
|
+
@Component({
|
|
12
|
+
selector: 'lib-wf',
|
|
13
|
+
templateUrl: './wf.component.html',
|
|
14
|
+
styleUrl: './wf.component.css',
|
|
15
|
+
})
|
|
16
|
+
export class WfComponent extends BaseDataViewComponent<Workflow> {
|
|
17
|
+
config: DataViewConfig<Workflow> = {
|
|
18
|
+
dataSource: [], // Populate from service
|
|
19
|
+
columns: columns, // Your existing column definitions
|
|
20
|
+
cardDataMapper: (task) => ({
|
|
21
|
+
selected: false,
|
|
22
|
+
title: task.Name,
|
|
23
|
+
data: task,
|
|
24
|
+
body: [
|
|
25
|
+
{ title: 'Name', value: task.Name },
|
|
26
|
+
{ title: 'Status', value: task.Status },
|
|
27
|
+
{ title: 'AssignmentType', value: task.AssignmentType },
|
|
28
|
+
],
|
|
29
|
+
children: [],
|
|
30
|
+
}),
|
|
31
|
+
onDetailView: (task) => {
|
|
32
|
+
// Custom detail view logic
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
protected getCardDataByIdentifier(code: string): CardData | undefined {
|
|
37
|
+
return this.cardData().find(({ data }) => data.data.Code === code);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Event handlers
|
|
41
|
+
override onViewChange(isGridView: boolean): void {}
|
|
42
|
+
|
|
43
|
+
override onStateChange(event: { key: string; value: boolean }): void {
|
|
44
|
+
console.log(`State changed for ${event.key}:`, event.value);
|
|
45
|
+
switch (event.key) {
|
|
46
|
+
case 'create':
|
|
47
|
+
const timestamp = new Date();
|
|
48
|
+
var newForm: Workflow = {
|
|
49
|
+
Name: '',
|
|
50
|
+
Description: '',
|
|
51
|
+
StageEntryRule: '',
|
|
52
|
+
AssignmentType: TaskAssignmentType.Queue,
|
|
53
|
+
TenantId: '',
|
|
54
|
+
ServiceName: '',
|
|
55
|
+
id: timestamp.toString(),
|
|
56
|
+
Id: timestamp.toString(),
|
|
57
|
+
CreatedAt: new Date(),
|
|
58
|
+
UpdatedAt: new Date(),
|
|
59
|
+
DataState: ObjectState.New,
|
|
60
|
+
Code: timestamp.toString(),
|
|
61
|
+
Status: Status.Active,
|
|
62
|
+
Actions: [],
|
|
63
|
+
Lanes: [],
|
|
64
|
+
Stages: [],
|
|
65
|
+
};
|
|
66
|
+
this.data.update((prev) => [newForm, ...prev]);
|
|
67
|
+
break;
|
|
68
|
+
default:
|
|
69
|
+
break;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import {
|
|
3
|
+
Observable,
|
|
4
|
+
Subject,
|
|
5
|
+
catchError,
|
|
6
|
+
debounceTime,
|
|
7
|
+
distinctUntilChanged,
|
|
8
|
+
from,
|
|
9
|
+
lastValueFrom,
|
|
10
|
+
takeUntil,
|
|
11
|
+
tap,
|
|
12
|
+
throwError,
|
|
13
|
+
} from 'rxjs';
|
|
14
|
+
|
|
15
|
+
import { IDataFilter } from 'verben-ng-ui';
|
|
16
|
+
import { UtilService } from 'verben-workflow-ui/src/lib/services';
|
|
17
|
+
import { Workflow } from 'verben-workflow-ui/src/lib/models';
|
|
18
|
+
import { QueryParams } from 'verben-workflow-ui/src/lib/models';
|
|
19
|
+
import { SearchPropertySign } from 'verben-workflow-ui/src/lib/models';
|
|
20
|
+
import { convertDataFilterTypeToSearchPropertyValueType } from './wf.helper';
|
|
21
|
+
import { SearchOperator } from 'verben-workflow-ui/src/lib/models';
|
|
22
|
+
import { WfService } from './wf.service';
|
|
23
|
+
import { WfState } from './wf.state';
|
|
24
|
+
|
|
25
|
+
@Injectable({
|
|
26
|
+
providedIn: 'root',
|
|
27
|
+
})
|
|
28
|
+
export class WfFacade {
|
|
29
|
+
private searchSubject = new Subject<string>();
|
|
30
|
+
private destroy$ = new Subject<void>();
|
|
31
|
+
|
|
32
|
+
constructor(
|
|
33
|
+
private workflowService: WfService,
|
|
34
|
+
private workflowState: WfState,
|
|
35
|
+
private utilService: UtilService
|
|
36
|
+
) {
|
|
37
|
+
// Set up debounced search handling
|
|
38
|
+
this.searchSubject
|
|
39
|
+
.pipe(
|
|
40
|
+
debounceTime(1000),
|
|
41
|
+
distinctUntilChanged(),
|
|
42
|
+
takeUntil(this.destroy$)
|
|
43
|
+
)
|
|
44
|
+
.subscribe((searchTerm) => {
|
|
45
|
+
this.handleSearch(searchTerm);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
this.isUpdating$().subscribe((loading) => {
|
|
49
|
+
this.utilService.sendBI(loading);
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
this.getFilterParams$().subscribe((params) => {
|
|
53
|
+
if (params.length) {
|
|
54
|
+
} else {
|
|
55
|
+
this.loadRequests();
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
destroy(): void {
|
|
61
|
+
this.destroy$.next();
|
|
62
|
+
this.destroy$.complete();
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
isUpdating$(): Observable<boolean> {
|
|
66
|
+
return this.workflowState.isUpdating$();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
getRequests$(): Observable<Workflow[]> {
|
|
70
|
+
return this.workflowState.getRequests$();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
getFilterParams$(): Observable<IDataFilter[]> {
|
|
74
|
+
return this.workflowState.getFilterParams$();
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
getQueryParams$(): Observable<QueryParams<Workflow>> {
|
|
78
|
+
return this.workflowState.getQueryParams$();
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
getSearchTerm$(): Observable<string> {
|
|
82
|
+
return this.workflowState.getSearchTerm$();
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Search handling
|
|
86
|
+
search(term: string): void {
|
|
87
|
+
this.searchSubject.next(term);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private async handleSearch(searchTerm: string): Promise<void> {
|
|
91
|
+
this.workflowState.setSearchTerm(searchTerm);
|
|
92
|
+
this.workflowState.resetPagination();
|
|
93
|
+
|
|
94
|
+
try {
|
|
95
|
+
this.workflowState.setUpdating(true);
|
|
96
|
+
if (searchTerm.trim()) {
|
|
97
|
+
await this.loadRequestsWithParam(searchTerm);
|
|
98
|
+
} else {
|
|
99
|
+
await this.loadRequests();
|
|
100
|
+
}
|
|
101
|
+
} catch (error) {
|
|
102
|
+
console.error('Search failed:', error);
|
|
103
|
+
throw error;
|
|
104
|
+
} finally {
|
|
105
|
+
this.workflowState.setUpdating(false);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
async filter(filterParams: IDataFilter[]): Promise<void> {
|
|
110
|
+
this.workflowState.resetPagination();
|
|
111
|
+
this.workflowState.setFilterParams(filterParams);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Load more handling
|
|
115
|
+
async loadMore(): Promise<void> {
|
|
116
|
+
try {
|
|
117
|
+
this.workflowState.setUpdating(true);
|
|
118
|
+
const currentParams = this.workflowState.getQueryParamsValue();
|
|
119
|
+
const searchTerm = this.workflowState.getSearchTermValue();
|
|
120
|
+
|
|
121
|
+
// Update skip value
|
|
122
|
+
const newSkip = currentParams.skip + currentParams.limit;
|
|
123
|
+
this.workflowState.updateQueryParams({ skip: newSkip });
|
|
124
|
+
|
|
125
|
+
// Load and append data
|
|
126
|
+
const response = searchTerm
|
|
127
|
+
? await this.workflowService.getWorkflowWithParam(
|
|
128
|
+
searchTerm,
|
|
129
|
+
newSkip,
|
|
130
|
+
currentParams.limit,
|
|
131
|
+
currentParams.sortParam || 'createdDate',
|
|
132
|
+
currentParams.sortOrder
|
|
133
|
+
)
|
|
134
|
+
: await this.workflowService.getWorkflows(
|
|
135
|
+
newSkip,
|
|
136
|
+
currentParams.limit,
|
|
137
|
+
currentParams.sortParam || 'createdDate',
|
|
138
|
+
currentParams.sortOrder
|
|
139
|
+
);
|
|
140
|
+
|
|
141
|
+
this.workflowState.appendRequests(response.Result);
|
|
142
|
+
} catch (error) {
|
|
143
|
+
console.error('Load more failed:', error);
|
|
144
|
+
throw error;
|
|
145
|
+
} finally {
|
|
146
|
+
this.workflowState.setUpdating(false);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
async loadRequests(): Promise<void> {
|
|
151
|
+
try {
|
|
152
|
+
this.workflowState.setUpdating(true);
|
|
153
|
+
const params = this.workflowState.getQueryParamsValue();
|
|
154
|
+
|
|
155
|
+
const requests = await this.workflowService.getWorkflows(
|
|
156
|
+
params.skip,
|
|
157
|
+
params.limit,
|
|
158
|
+
params.sortParam || 'createdDate',
|
|
159
|
+
params.sortOrder
|
|
160
|
+
);
|
|
161
|
+
|
|
162
|
+
this.workflowState.setRequests(requests.Result);
|
|
163
|
+
} catch (error) {
|
|
164
|
+
console.error('Failed to load requests:', error);
|
|
165
|
+
throw error;
|
|
166
|
+
} finally {
|
|
167
|
+
this.workflowState.setUpdating(false);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
async loadRequestsWithParam(param: string): Promise<void> {
|
|
172
|
+
try {
|
|
173
|
+
this.workflowState.setUpdating(true);
|
|
174
|
+
const params = this.workflowState.getQueryParamsValue();
|
|
175
|
+
|
|
176
|
+
const requests = await this.workflowService.getWorkflowWithParam(
|
|
177
|
+
param,
|
|
178
|
+
params.skip,
|
|
179
|
+
params.limit,
|
|
180
|
+
params.sortParam || 'createdDate',
|
|
181
|
+
params.sortOrder
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
this.workflowState.setRequests(requests.Result);
|
|
185
|
+
} catch (error) {
|
|
186
|
+
console.error('Failed to load requests with param:', error);
|
|
187
|
+
throw error;
|
|
188
|
+
} finally {
|
|
189
|
+
this.workflowState.setUpdating(false);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
async loadRequestsByFilterParams(filterParams: IDataFilter[]): Promise<void> {
|
|
194
|
+
try {
|
|
195
|
+
this.workflowState.setUpdating(true);
|
|
196
|
+
const params = this.workflowState.getQueryParamsValue();
|
|
197
|
+
|
|
198
|
+
const requests = await this.workflowService.getWorkflowByFilterParams(
|
|
199
|
+
filterParams.map((filter) => ({
|
|
200
|
+
PropertyName: filter.name,
|
|
201
|
+
EntityValue: filter.value,
|
|
202
|
+
type: convertDataFilterTypeToSearchPropertyValueType(filter.type),
|
|
203
|
+
Operator: SearchOperator.And,
|
|
204
|
+
Sign: SearchPropertySign.EQ,
|
|
205
|
+
})),
|
|
206
|
+
params.skip,
|
|
207
|
+
params.limit,
|
|
208
|
+
params.sortParam || 'createdDate',
|
|
209
|
+
params.sortOrder
|
|
210
|
+
);
|
|
211
|
+
|
|
212
|
+
this.workflowState.setRequests(requests.Result);
|
|
213
|
+
} catch (error) {
|
|
214
|
+
console.error('Failed to load requests with param:', error);
|
|
215
|
+
throw error;
|
|
216
|
+
} finally {
|
|
217
|
+
this.workflowState.setUpdating(false);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
updateQueryParams(params: Partial<QueryParams<Workflow>>): void {
|
|
222
|
+
this.workflowState.updateQueryParams(params);
|
|
223
|
+
this.loadRequests();
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
async addRequest(request: Partial<Workflow>): Promise<void> {
|
|
227
|
+
try {
|
|
228
|
+
this.workflowState.setUpdating(true);
|
|
229
|
+
const newRequest = { ...request } as Workflow;
|
|
230
|
+
this.workflowState.addRequest(newRequest);
|
|
231
|
+
|
|
232
|
+
await this.workflowService.saveWorkflows([newRequest]);
|
|
233
|
+
await this.loadRequests(); // Reload to get server-side changes
|
|
234
|
+
} catch (error) {
|
|
235
|
+
console.error('Failed to add request:', error);
|
|
236
|
+
this.workflowState.removeRequest(request.Code!);
|
|
237
|
+
throw error;
|
|
238
|
+
} finally {
|
|
239
|
+
this.workflowState.setUpdating(false);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
async updateRequest(request: Workflow): Promise<void> {
|
|
244
|
+
try {
|
|
245
|
+
this.workflowState.setUpdating(true);
|
|
246
|
+
await this.workflowService.saveWorkflows([request]);
|
|
247
|
+
this.workflowState.updateRequest(request);
|
|
248
|
+
} catch (error) {
|
|
249
|
+
console.error('Failed to update request:', error);
|
|
250
|
+
throw error;
|
|
251
|
+
} finally {
|
|
252
|
+
this.workflowState.setUpdating(false);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
async deleteRequest(requestId: string): Promise<void> {
|
|
257
|
+
try {
|
|
258
|
+
this.workflowState.setUpdating(true);
|
|
259
|
+
await lastValueFrom(this.workflowService.deleteWorkflows([requestId]));
|
|
260
|
+
this.workflowState.removeRequest(requestId);
|
|
261
|
+
} catch (error) {
|
|
262
|
+
console.error('Failed to delete request:', error);
|
|
263
|
+
throw error;
|
|
264
|
+
} finally {
|
|
265
|
+
this.workflowState.setUpdating(false);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
enum DateFilterTypes {
|
|
271
|
+
Before = SearchPropertySign.LT,
|
|
272
|
+
On = SearchPropertySign.EQ,
|
|
273
|
+
After = SearchPropertySign.GT,
|
|
274
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DataFilterType } from 'verben-ng-ui';
|
|
2
|
+
import { SearchPropertyValueType } from 'verben-workflow-ui/src/lib/models';
|
|
3
|
+
|
|
4
|
+
export function convertDataFilterTypeToSearchPropertyValueType(
|
|
5
|
+
type: DataFilterType
|
|
6
|
+
) {
|
|
7
|
+
switch (type) {
|
|
8
|
+
case DataFilterType.String:
|
|
9
|
+
return SearchPropertyValueType.String;
|
|
10
|
+
case DataFilterType.Integer:
|
|
11
|
+
return SearchPropertyValueType.Int;
|
|
12
|
+
case DataFilterType.Decimal:
|
|
13
|
+
return SearchPropertyValueType.Decimal;
|
|
14
|
+
case DataFilterType.Credit:
|
|
15
|
+
return SearchPropertyValueType.Float;
|
|
16
|
+
case DataFilterType.Date:
|
|
17
|
+
return SearchPropertyValueType.Date;
|
|
18
|
+
case DataFilterType.Bool:
|
|
19
|
+
return SearchPropertyValueType.Bool;
|
|
20
|
+
case DataFilterType.Number:
|
|
21
|
+
return SearchPropertyValueType.Int;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { WfComponent } from './wf.component';
|
|
4
|
+
import { SharedModule } from 'verben-workflow-ui/src/lib/shared';
|
|
5
|
+
import { RouterLink } from '@angular/router';
|
|
6
|
+
import { WfService } from './wf.service';
|
|
7
|
+
|
|
8
|
+
@NgModule({
|
|
9
|
+
declarations: [WfComponent],
|
|
10
|
+
imports: [CommonModule, SharedModule, RouterLink],
|
|
11
|
+
providers: [WfService],
|
|
12
|
+
exports: [WfComponent],
|
|
13
|
+
})
|
|
14
|
+
export class WfModule {}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { WfService } from './wf.service';
|
|
4
|
+
|
|
5
|
+
describe('WfService', () => {
|
|
6
|
+
let service: WfService;
|
|
7
|
+
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
TestBed.configureTestingModule({});
|
|
10
|
+
service = TestBed.inject(WfService);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it('should be created', () => {
|
|
14
|
+
expect(service).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Paged, SearchPropertyValue, Workflow } from 'verben-workflow-ui/src/lib/models';
|
|
4
|
+
import { HttpWebRequestService } from 'verben-workflow-ui/src/lib/services';
|
|
5
|
+
|
|
6
|
+
@Injectable({
|
|
7
|
+
providedIn: 'root',
|
|
8
|
+
})
|
|
9
|
+
export class WfService {
|
|
10
|
+
|
|
11
|
+
constructor(private httpService: HttpWebRequestService) { }
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Get user access requests with pagination and sorting
|
|
15
|
+
* @param skip Number of records to skip
|
|
16
|
+
* @param limit Number of records to take
|
|
17
|
+
* @param sortParam Sort parameter
|
|
18
|
+
* @param sortOrder Sort order ('asc' or 'desc')
|
|
19
|
+
* @returns Promise containing the user access requests
|
|
20
|
+
*/
|
|
21
|
+
getWorkflows(
|
|
22
|
+
skip: number,
|
|
23
|
+
limit: number,
|
|
24
|
+
sortParam: string,
|
|
25
|
+
sortOrder: string
|
|
26
|
+
): Promise<Paged<Workflow>> {
|
|
27
|
+
const url = `GetWorkflows/${skip}/${limit}/${sortParam}/${sortOrder}`;
|
|
28
|
+
return this.httpService.get(url) as Promise<Paged<Workflow>>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Get user access requests with additional parameter, pagination and sorting
|
|
33
|
+
* @param param Search parameter
|
|
34
|
+
* @param skip Number of records to skip
|
|
35
|
+
* @param limit Number of records to take
|
|
36
|
+
* @param sortParam Sort parameter
|
|
37
|
+
* @param sortOrder Sort order ('asc' or 'desc')
|
|
38
|
+
* @returns Promise containing the filtered user access requests
|
|
39
|
+
*/
|
|
40
|
+
getWorkflowWithParam(
|
|
41
|
+
param: string,
|
|
42
|
+
skip: number = 0,
|
|
43
|
+
limit: number = 1,
|
|
44
|
+
sortParam: string = 'CreatedAt',
|
|
45
|
+
sortOrder: string = 'Asc'
|
|
46
|
+
): Promise<Paged<Workflow>> {
|
|
47
|
+
const url = `GetWorkflowsWithParam/${param}/${skip}/${limit}/${sortParam}/${sortOrder}`;
|
|
48
|
+
return this.httpService.get(url) as Promise<Paged<Workflow>>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Get user access requests with additional parameter, pagination and sorting
|
|
53
|
+
* @param params Filter parameters
|
|
54
|
+
* @param skip Number of records to skip
|
|
55
|
+
* @param limit Number of records to take
|
|
56
|
+
* @param sortParam Sort parameter
|
|
57
|
+
* @param sortOrder Sort order ('asc' or 'desc')
|
|
58
|
+
* @returns Promise containing the filtered user access requests
|
|
59
|
+
*/
|
|
60
|
+
getWorkflowByFilterParams(
|
|
61
|
+
params: SearchPropertyValue[],
|
|
62
|
+
skip: number,
|
|
63
|
+
limit: number,
|
|
64
|
+
sortParam: string,
|
|
65
|
+
sortOrder: string
|
|
66
|
+
): Promise<Paged<Workflow>> {
|
|
67
|
+
const url = `SearchWorkflow/${skip}/${limit}/${sortParam}/${sortOrder}`;
|
|
68
|
+
return this.httpService.post(url, params) as Promise<Paged<Workflow>>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Save multiple user access requests
|
|
73
|
+
* @param requests Array of user access requests to save
|
|
74
|
+
* @returns Promise containing the save operation result
|
|
75
|
+
*/
|
|
76
|
+
saveWorkflows(requests: Partial<Workflow>[]): Promise<any> {
|
|
77
|
+
const url = `SaveWorkflows`;
|
|
78
|
+
// const payload = requests.map((wf) => {
|
|
79
|
+
// delete wf["Id"];
|
|
80
|
+
// wf.Actions = wf.Actions.map((ac) => {
|
|
81
|
+
// delete ac["Id"];
|
|
82
|
+
// return ac;
|
|
83
|
+
// })
|
|
84
|
+
// return wf;
|
|
85
|
+
// })
|
|
86
|
+
return this.httpService.post(url, requests);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Delete multiple user access requests
|
|
91
|
+
* @param requestIds Array of request IDs to delete
|
|
92
|
+
* @returns Observable containing the delete operation result
|
|
93
|
+
*/
|
|
94
|
+
deleteWorkflows(requestIds: string[]): Observable<any> {
|
|
95
|
+
const url = `DeleteWorkflows`;
|
|
96
|
+
return this.httpService.delete(`${url}?data=${requestIds.join(',')}`);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Injectable } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
+
import { IDataFilter } from 'verben-ng-ui';
|
|
4
|
+
import { Workflow } from 'verben-workflow-ui/src/lib/models';
|
|
5
|
+
import { QueryParams } from 'verben-workflow-ui/src/lib/models';
|
|
6
|
+
import { SortDirection } from 'verben-workflow-ui/src/lib/models';
|
|
7
|
+
|
|
8
|
+
@Injectable({
|
|
9
|
+
providedIn: 'root',
|
|
10
|
+
})
|
|
11
|
+
export class WfState {
|
|
12
|
+
private updating$ = new BehaviorSubject<boolean>(false);
|
|
13
|
+
private requests$ = new BehaviorSubject<Workflow[]>([]);
|
|
14
|
+
private searchTerm$ = new BehaviorSubject<string>('');
|
|
15
|
+
private queryParams$ = new BehaviorSubject<QueryParams<Workflow>>({
|
|
16
|
+
skip: 0,
|
|
17
|
+
limit: 20,
|
|
18
|
+
sortParam: 'CreatedAt',
|
|
19
|
+
sortOrder: SortDirection.Desc,
|
|
20
|
+
});
|
|
21
|
+
private filterParams$ = new BehaviorSubject<IDataFilter[]>([]);
|
|
22
|
+
|
|
23
|
+
isUpdating$(): Observable<boolean> {
|
|
24
|
+
return this.updating$.asObservable();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
setUpdating(isUpdating: boolean): void {
|
|
28
|
+
this.updating$.next(isUpdating);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
getRequests$(): Observable<Workflow[]> {
|
|
32
|
+
return this.requests$.asObservable();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
setRequests(requests: Workflow[]): void {
|
|
36
|
+
this.requests$.next(requests);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
getFilterParams$(): Observable<IDataFilter[]> {
|
|
40
|
+
return this.filterParams$.asObservable();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
setFilterParams(params: IDataFilter[]): void {
|
|
44
|
+
this.filterParams$.next(params);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
appendRequests(newRequests: Workflow[]): void {
|
|
48
|
+
const currentRequests = this.requests$.getValue();
|
|
49
|
+
this.requests$.next([...currentRequests, ...newRequests]);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
getSearchTerm$(): Observable<string> {
|
|
53
|
+
return this.searchTerm$.asObservable();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
getSearchTermValue(): string {
|
|
57
|
+
return this.searchTerm$.getValue();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
setSearchTerm(term: string): void {
|
|
61
|
+
this.searchTerm$.next(term);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
getQueryParams$(): Observable<QueryParams<Workflow>> {
|
|
65
|
+
return this.queryParams$.asObservable();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
getQueryParamsValue(): QueryParams<Workflow> {
|
|
69
|
+
return this.queryParams$.getValue();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
updateQueryParams(params: Partial<QueryParams<Workflow>>): void {
|
|
73
|
+
this.queryParams$.next({ ...this.queryParams$.getValue(), ...params });
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
resetPagination(): void {
|
|
77
|
+
const currentParams = this.queryParams$.getValue();
|
|
78
|
+
this.queryParams$.next({ ...currentParams, skip: 0 });
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
addRequest(request: Workflow): void {
|
|
82
|
+
const currentValue = this.requests$.getValue();
|
|
83
|
+
this.requests$.next([...currentValue, request]);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
updateRequest(updatedRequest: Workflow): void {
|
|
87
|
+
const requests = this.requests$.getValue();
|
|
88
|
+
const index = requests.findIndex((r) => r.Code === updatedRequest.Code);
|
|
89
|
+
if (index !== -1) {
|
|
90
|
+
requests[index] = updatedRequest;
|
|
91
|
+
this.requests$.next([...requests]);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
removeRequest(requestId: string): void {
|
|
96
|
+
const currentValue = this.requests$.getValue();
|
|
97
|
+
this.requests$.next(currentValue.filter((r) => r.Code !== requestId));
|
|
98
|
+
}
|
|
99
|
+
}
|