verben-workflow-ui 0.6.4 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ng-package.json +15 -0
- package/package.json +9 -194
- package/src/lib/base/core/base-data-page.facade.ts +533 -0
- package/src/lib/base/core/base-data-page.service.ts +222 -0
- package/src/lib/base/core/base-data-page.state.ts +287 -0
- package/src/lib/base/handlers/filter-handler.service.ts +169 -0
- package/src/lib/base/handlers/search-handler.service.ts +33 -0
- package/src/lib/base/handlers/sort-handler.service.ts +93 -0
- package/src/lib/base/models/api-payload.ts +13 -0
- package/src/lib/base/models/page-config.interface.ts +49 -0
- package/src/lib/base/models/page-filter-tab-option.interface.ts +20 -0
- package/src/lib/base/ng-package.json +6 -0
- package/src/lib/base/public-api.ts +16 -0
- package/src/lib/base/utils/column-helpers.ts +77 -0
- package/src/lib/components/actors/actors.columns.ts +40 -0
- package/src/lib/components/actors/actors.component.css +0 -0
- package/src/lib/components/actors/actors.component.html +320 -0
- package/src/lib/components/actors/actors.component.spec.ts +23 -0
- package/src/lib/components/actors/actors.component.ts +221 -0
- package/src/lib/components/actors/actors.config.ts +55 -0
- package/src/lib/components/actors/actors.facade.ts +71 -0
- package/src/lib/components/actors/actors.form.component.html +37 -0
- package/src/lib/components/actors/actors.form.component.ts +69 -0
- package/src/lib/components/actors/actors.model.ts +4 -0
- package/src/lib/components/actors/actors.module.ts +13 -0
- package/src/lib/components/actors/actors.service.ts +85 -0
- package/src/lib/components/actors/actors.state.ts +31 -0
- package/src/lib/components/actors/ng-package.json +6 -0
- package/src/lib/components/designer/components/label-editor.component.ts +188 -0
- package/src/lib/components/designer/components/node-selector.component.ts +208 -0
- package/src/lib/components/designer/components/swimlane-label.component.ts +102 -0
- package/src/lib/components/designer/components/swimlane-popup.component.ts +51 -0
- package/src/lib/components/designer/components/wf-canvas.component.ts +495 -0
- package/src/lib/components/designer/components/wf-designer.component.ts +182 -0
- package/src/lib/components/designer/components/wf-node.component.ts +91 -0
- package/src/lib/components/designer/components/wf-properties-popup.component.ts +257 -0
- package/src/lib/components/designer/components/wf-toolbar.component.ts +84 -0
- package/src/lib/components/designer/models/types.ts +133 -0
- package/src/lib/components/designer/ng-package.json +6 -0
- package/src/lib/components/designer/services/canvas-state.service.ts +63 -0
- package/src/lib/components/designer/services/connection-segment-interaction.service.ts +141 -0
- package/src/lib/components/designer/services/connection.service.ts +351 -0
- package/src/lib/components/designer/services/keyboard-handler.service.ts +39 -0
- package/src/lib/components/designer/services/label-management.service.ts +72 -0
- package/src/lib/components/designer/services/node-finder.service.ts +34 -0
- package/src/lib/components/designer/services/node-interaction.service.ts +135 -0
- package/src/lib/components/designer/services/node-placement.service.ts +77 -0
- package/src/lib/components/designer/services/node-precondition.service.ts +138 -0
- package/src/lib/components/designer/services/node-renderer.service.ts +97 -0
- package/src/lib/components/designer/services/node-selection.service.ts +110 -0
- package/src/lib/components/designer/services/orthogonal-router.service.ts +233 -0
- package/src/lib/components/designer/services/position-update.service.ts +56 -0
- package/src/lib/components/designer/services/rendering.service.ts +296 -0
- package/src/lib/components/designer/services/swimlane-management.service.ts +189 -0
- package/src/lib/components/designer/services/swimlane-stats.service.ts +53 -0
- package/src/lib/components/designer/services/tag-helper.service.ts +80 -0
- package/src/lib/components/designer/services/viewport.service.ts +30 -0
- package/src/lib/components/designer/services/wf-facade.service.ts +287 -0
- package/src/lib/components/designer/services/wf-mapper.service.ts +450 -0
- package/src/lib/components/designer/services/wf-persistence.service.ts +184 -0
- package/src/lib/components/designer/services/wf-state.service.ts +143 -0
- package/src/lib/components/expiration/expiration.component.css +0 -0
- package/src/lib/components/expiration/expiration.component.html +21 -0
- package/src/lib/components/expiration/expiration.component.spec.ts +23 -0
- package/src/lib/components/expiration/expiration.component.ts +52 -0
- package/src/lib/components/expiration/expiration.module.ts +11 -0
- package/src/lib/components/expiration/ng-package.json +6 -0
- package/src/lib/components/file-render/file-render.component.css +4 -0
- package/src/lib/components/file-render/file-render.component.html +21 -0
- package/src/lib/components/file-render/file-render.component.spec.ts +23 -0
- package/src/lib/components/file-render/file-render.component.ts +34 -0
- package/src/lib/components/file-render/file-render.module.ts +19 -0
- package/src/lib/components/file-render/ng-package.json +6 -0
- package/src/lib/components/file-upload/file-upload.component.css +0 -0
- package/src/lib/components/file-upload/file-upload.component.html +69 -0
- package/src/lib/components/file-upload/file-upload.component.spec.ts +23 -0
- package/src/lib/components/file-upload/file-upload.component.ts +87 -0
- package/src/lib/components/file-upload/file-upload.module.ts +40 -0
- package/src/lib/components/file-upload/ng-package.json +6 -0
- package/src/lib/components/flowable-status/flowable-status.columns.ts +23 -0
- package/src/lib/components/flowable-status/flowable-status.component.css +1 -0
- package/src/lib/components/flowable-status/flowable-status.component.html +166 -0
- package/src/lib/components/flowable-status/flowable-status.component.ts +247 -0
- package/src/lib/components/flowable-status/flowable-status.config.ts +54 -0
- package/src/lib/components/flowable-status/flowable-status.facade.ts +70 -0
- package/src/lib/components/flowable-status/flowable-status.form.component.html +13 -0
- package/src/lib/components/flowable-status/flowable-status.form.component.ts +51 -0
- package/src/lib/components/flowable-status/flowable-status.model.ts +3 -0
- package/src/lib/components/flowable-status/flowable-status.module.ts +13 -0
- package/src/lib/components/flowable-status/flowable-status.service.ts +39 -0
- package/src/lib/components/flowable-status/flowable-status.state.ts +10 -0
- package/src/lib/components/flowable-status/ng-package.json +6 -0
- package/src/lib/components/flowable-status/public-api.ts +3 -0
- package/src/lib/components/form-control/form-control.component.css +0 -0
- package/src/lib/components/form-control/form-control.component.html +259 -0
- package/src/lib/components/form-control/form-control.component.spec.ts +23 -0
- package/src/lib/components/form-control/form-control.component.ts +197 -0
- package/src/lib/components/form-control/form-control.module.ts +47 -0
- package/src/lib/components/form-control/ng-package.json +6 -0
- package/src/lib/components/form-group/base-table-style.ts +52 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.css +114 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.html +621 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.spec.ts +23 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.ts +1115 -0
- package/src/lib/components/form-group/form-fields/form-fields.module.ts +48 -0
- package/src/lib/components/form-group/form-fields/form-fields.service.ts +70 -0
- package/src/lib/components/form-group/form-fields/helper.ts +45 -0
- package/src/lib/components/form-group/form-group.component.css +113 -0
- package/src/lib/components/form-group/form-group.component.html +486 -0
- package/src/lib/components/form-group/form-group.component.spec.ts +22 -0
- package/src/lib/components/form-group/form-group.component.ts +789 -0
- package/src/lib/components/form-group/form-group.module.ts +54 -0
- package/src/lib/components/form-group/form-group.service.ts +53 -0
- package/src/lib/components/form-group/helper.ts +45 -0
- package/src/lib/components/form-group/ng-package.json +6 -0
- package/src/lib/components/form-response/form-response.component.css +114 -0
- package/src/lib/components/form-response/form-response.component.html +188 -0
- package/src/lib/components/form-response/form-response.component.spec.ts +23 -0
- package/src/lib/components/form-response/form-response.component.ts +735 -0
- package/src/lib/components/form-response/form-response.module.ts +48 -0
- package/src/lib/components/form-response/form-response.service.ts +52 -0
- package/src/lib/components/form-response/helper.ts +222 -0
- package/src/lib/components/form-response/ng-package.json +6 -0
- package/src/lib/components/form-timer/form-timer.component.css +0 -0
- package/src/lib/components/form-timer/form-timer.component.html +47 -0
- package/src/lib/components/form-timer/form-timer.component.spec.ts +23 -0
- package/src/lib/components/form-timer/form-timer.component.ts +50 -0
- package/src/lib/components/form-timer/form-timer.module.ts +19 -0
- package/src/lib/components/form-timer/ng-package.json +6 -0
- package/src/lib/components/form-values/form-values.component.css +48 -0
- package/src/lib/components/form-values/form-values.component.html +225 -0
- package/src/lib/components/form-values/form-values.component.ts +1437 -0
- package/src/lib/components/form-values/form-values.module.ts +13 -0
- package/src/lib/components/form-values/form-values.service.ts +45 -0
- package/src/lib/components/form-values/ng-package.json +6 -0
- package/src/lib/components/form-values/public-api.ts +3 -0
- package/src/lib/components/form-viewer/form-viewer.component.css +4 -0
- package/src/lib/components/form-viewer/form-viewer.component.html +62 -0
- package/src/lib/components/form-viewer/form-viewer.component.spec.ts +23 -0
- package/src/lib/components/form-viewer/form-viewer.component.ts +31 -0
- package/src/lib/components/form-viewer/form-viewer.module.ts +52 -0
- package/src/lib/components/form-viewer/ng-package.json +6 -0
- package/src/lib/components/forms/base-table-style.ts +52 -0
- package/src/lib/components/forms/forms.component.css +126 -0
- package/src/lib/components/forms/forms.component.html +538 -0
- package/src/lib/components/forms/forms.component.spec.ts +23 -0
- package/src/lib/components/forms/forms.component.ts +810 -0
- package/src/lib/components/forms/forms.module.ts +10 -0
- package/src/lib/components/forms/forms.service.spec.ts +16 -0
- package/src/lib/components/forms/forms.service.ts +65 -0
- package/src/lib/components/forms/ng-package.json +6 -0
- package/src/lib/components/journal/journal.component.css +0 -0
- package/src/lib/components/journal/journal.component.html +1 -0
- package/src/lib/components/journal/journal.component.spec.ts +23 -0
- package/src/lib/components/journal/journal.component.ts +10 -0
- package/src/lib/components/journal/journal.module.ts +10 -0
- package/src/lib/components/journal/ng-package.json +6 -0
- package/src/lib/components/my-queue/my-queue.columns.ts +37 -0
- package/src/lib/components/my-queue/my-queue.component.css +8 -0
- package/src/lib/components/my-queue/my-queue.component.html +319 -0
- package/src/lib/components/my-queue/my-queue.component.spec.ts +23 -0
- package/src/lib/components/my-queue/my-queue.component.ts +409 -0
- package/src/lib/components/my-queue/my-queue.facade.ts +670 -0
- package/src/lib/components/my-queue/my-queue.helper.ts +71 -0
- package/src/lib/components/my-queue/my-queue.module.ts +28 -0
- package/src/lib/components/my-queue/my-queue.service.spec.ts +16 -0
- package/src/lib/components/my-queue/my-queue.service.ts +262 -0
- package/src/lib/components/my-queue/my-queue.state.ts +133 -0
- package/src/lib/components/my-queue/ng-package.json +6 -0
- package/src/lib/components/my-queue/tasks.form.component.html +168 -0
- package/src/lib/components/my-queue/tasks.form.component.ts +201 -0
- package/src/lib/components/operation-popup/ng-package.json +6 -0
- package/src/lib/components/operation-popup/operation-popup.component.css +1 -0
- package/src/lib/components/operation-popup/operation-popup.component.html +107 -0
- package/src/lib/components/operation-popup/operation-popup.component.ts +476 -0
- package/src/lib/components/operation-popup/operation-popup.facade.ts +435 -0
- package/src/lib/components/operation-popup/operation-popup.service.ts +143 -0
- package/src/lib/components/operation-popup/operation-popup.state.ts +49 -0
- package/src/lib/components/stage-details/ng-package.json +6 -0
- package/src/lib/components/stage-details/stage-details.component.css +0 -0
- package/src/lib/components/stage-details/stage-details.component.html +95 -0
- package/src/lib/components/stage-details/stage-details.component.spec.ts +23 -0
- package/src/lib/components/stage-details/stage-details.component.ts +43 -0
- package/src/lib/components/stage-details/stage-details.module.ts +11 -0
- package/src/lib/components/task-form/ng-package.json +6 -0
- package/src/lib/components/task-form/task-form.component.css +0 -0
- package/src/lib/components/task-form/task-form.component.html +38 -0
- package/src/lib/components/task-form/task-form.component.spec.ts +23 -0
- package/src/lib/components/task-form/task-form.component.ts +15 -0
- package/src/lib/components/task-form/task-form.module.ts +31 -0
- package/src/lib/components/task-history/ng-package.json +6 -0
- package/src/lib/components/task-history/task-history.component.css +334 -0
- package/src/lib/components/task-history/task-history.component.html +292 -0
- package/src/lib/components/task-history/task-history.component.spec.ts +23 -0
- package/src/lib/components/task-history/task-history.component.ts +284 -0
- package/src/lib/components/task-history/task-history.module.ts +12 -0
- package/src/lib/components/task-history/task-history.service.ts +32 -0
- package/src/lib/components/task-notification/base-table-style.ts +52 -0
- package/src/lib/components/task-notification/ng-package.json +6 -0
- package/src/lib/components/task-notification/task-notification.component.css +94 -0
- package/src/lib/components/task-notification/task-notification.component.html +585 -0
- package/src/lib/components/task-notification/task-notification.component.spec.ts +23 -0
- package/src/lib/components/task-notification/task-notification.component.ts +793 -0
- package/src/lib/components/task-notification/task-notification.module.ts +10 -0
- package/src/lib/components/task-notification/task-notification.service.spec.ts +16 -0
- package/src/lib/components/task-notification/task-notification.service.ts +397 -0
- package/src/lib/components/tasks/ng-package.json +6 -0
- package/src/lib/components/tasks/tasks.columns.ts +50 -0
- package/src/lib/components/tasks/tasks.component.css +4 -0
- package/src/lib/components/tasks/tasks.component.html +385 -0
- package/src/lib/components/tasks/tasks.component.spec.ts +23 -0
- package/src/lib/components/tasks/tasks.component.ts +212 -0
- package/src/lib/components/tasks/tasks.facade.ts +482 -0
- package/src/lib/components/tasks/tasks.form.component.html +181 -0
- package/src/lib/components/tasks/tasks.form.component.ts +174 -0
- package/src/lib/components/tasks/tasks.helper.ts +71 -0
- package/src/lib/components/tasks/tasks.models.ts +4 -0
- package/src/lib/components/tasks/tasks.module.ts +29 -0
- package/src/lib/components/tasks/tasks.service.spec.ts +16 -0
- package/src/lib/components/tasks/tasks.service.ts +215 -0
- package/src/lib/components/tasks/tasks.state.ts +144 -0
- package/src/lib/components/wf/ng-package.json +6 -0
- package/src/lib/components/wf/wf.columns.ts +36 -0
- package/src/lib/components/wf/wf.component.css +0 -0
- package/src/lib/components/wf/wf.component.html +35 -0
- package/src/lib/components/wf/wf.component.spec.ts +23 -0
- package/src/lib/components/wf/wf.component.ts +71 -0
- package/src/lib/components/wf/wf.facade.ts +266 -0
- package/src/lib/components/wf/wf.helper.ts +25 -0
- package/src/lib/components/wf/wf.module.ts +14 -0
- package/src/lib/components/wf/wf.service.spec.ts +16 -0
- package/src/lib/components/wf/wf.service.ts +98 -0
- package/src/lib/components/wf/wf.state.ts +99 -0
- package/src/lib/components/workflow/column.ts +40 -0
- package/src/lib/components/workflow/helper.ts +53 -0
- package/src/lib/components/workflow/ng-package.json +6 -0
- package/src/lib/components/workflow/table-style.ts +53 -0
- package/src/lib/components/workflow/workflow.component.css +0 -0
- package/src/lib/components/workflow/workflow.component.html +226 -0
- package/src/lib/components/workflow/workflow.component.spec.ts +23 -0
- package/src/lib/components/workflow/workflow.component.ts +224 -0
- package/src/lib/components/workflow/workflow.module.ts +11 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.css +9 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.html +134 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.ts +147 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.html +45 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.ts +83 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.css +7 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.html +89 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.ts +87 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.css +11 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.html +74 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.ts +80 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.css +70 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.html +454 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.ts +1654 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.connection-drop.spec.ts +100 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.css +63 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.html +49 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.ts +86 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.ts +7 -0
- package/src/lib/components/workflow-designer/docs/01-architecture.md +145 -0
- package/src/lib/components/workflow-designer/docs/02-coordinate-system.md +171 -0
- package/src/lib/components/workflow-designer/docs/03-data-model.md +163 -0
- package/src/lib/components/workflow-designer/docs/04-interactions.md +156 -0
- package/src/lib/components/workflow-designer/docs/05-persistence.md +117 -0
- package/src/lib/components/workflow-designer/docs/06-known-issues.md +181 -0
- package/src/lib/components/workflow-designer/docs/07-integration.md +178 -0
- package/src/lib/components/workflow-designer/docs/08-api-reference.md +187 -0
- package/src/lib/components/workflow-designer/docs/09-development.md +141 -0
- package/src/lib/components/workflow-designer/docs/README.md +81 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.css +13 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.html +204 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.ts +308 -0
- package/src/lib/components/workflow-designer/ng-package.json +6 -0
- package/src/lib/components/workflow-designer/services/connection.service.ts +325 -0
- package/src/lib/components/workflow-designer/services/node-management.service.ts +372 -0
- package/src/lib/components/workflow-designer/services/popup.service.ts +276 -0
- package/src/lib/components/workflow-designer/services/swimlane.service.ts +176 -0
- package/src/lib/components/workflow-designer/services/transformer.service.ts +318 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.html +208 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.ts +194 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.css +15 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.html +93 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.ts +258 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.html +150 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.ts +153 -0
- package/src/lib/components/workflow-designer/workflow-data.service.spec.ts +16 -0
- package/src/lib/components/workflow-designer/workflow-data.service.ts +290 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.css +59 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.html +29 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.ts +548 -0
- package/src/lib/components/workflow-designer/workflow-designer.models.ts +114 -0
- package/src/lib/components/workflow-designer/workflow-designer.module.ts +90 -0
- package/src/lib/components/workflow-designer/workflow-designer.state.ts +1123 -0
- package/src/lib/components/workflow-designer/workflow-designer.types.ts +141 -0
- package/src/lib/components/workflow-stage/ng-package.json +6 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.css +24 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.html +339 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.spec.ts +23 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.ts +355 -0
- package/src/lib/components/workflow-stage/workflow-stage.module.ts +53 -0
- package/src/lib/components/workflows/ng-package.json +6 -0
- package/src/lib/components/workflows/public-api.ts +6 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.css +0 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.html +138 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.spec.ts +23 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.ts +85 -0
- package/src/lib/components/workflows/workflows.api.ts +117 -0
- package/src/lib/components/workflows/workflows.columns.ts +41 -0
- package/src/lib/components/workflows/workflows.component.css +4 -0
- package/src/lib/components/workflows/workflows.component.html +309 -0
- package/src/lib/components/workflows/workflows.component.spec.ts +23 -0
- package/src/lib/components/workflows/workflows.component.ts +303 -0
- package/src/lib/components/workflows/workflows.config.ts +58 -0
- package/src/lib/components/workflows/workflows.facade.ts +147 -0
- package/src/lib/components/workflows/workflows.module.ts +14 -0
- package/src/lib/components/workflows/workflows.service.spec.ts +16 -0
- package/src/lib/components/workflows/workflows.service.ts +88 -0
- package/src/lib/components/workflows/workflows.state.ts +21 -0
- package/src/lib/models/ActionHistory.ts +19 -0
- package/src/lib/models/ActionType.ts +9 -0
- package/src/lib/models/Actor.ts +12 -0
- package/src/lib/models/ActorTag.ts +8 -0
- package/src/lib/models/Coord.ts +4 -0
- package/src/lib/models/DataExtensionValue.ts +5 -0
- package/src/lib/models/DataType.ts +25 -0
- package/src/lib/models/EAVDataType.ts +18 -0
- package/src/lib/models/EAVEntity.ts +5 -0
- package/src/lib/models/EntityDataValue.ts +7 -0
- package/src/lib/models/EntityProperty.ts +8 -0
- package/src/lib/models/ErrorResponse.ts +7 -0
- package/src/lib/models/Escalation.ts +15 -0
- package/src/lib/models/EscalationCycle.ts +13 -0
- package/src/lib/models/EscalationStage.ts +11 -0
- package/src/lib/models/EscalationType.ts +5 -0
- package/src/lib/models/File.ts +8 -0
- package/src/lib/models/FilterTypes.ts +8 -0
- package/src/lib/models/FlowableStatus.ts +6 -0
- package/src/lib/models/Form.ts +14 -0
- package/src/lib/models/FormEntity.ts +14 -0
- package/src/lib/models/FormFill.ts +16 -0
- package/src/lib/models/FormProperty.ts +16 -0
- package/src/lib/models/FormValue.ts +19 -0
- package/src/lib/models/MailConfig.ts +13 -0
- package/src/lib/models/MessageConfig.ts +5 -0
- package/src/lib/models/MessageMedium.ts +4 -0
- package/src/lib/models/OperationAction.ts +15 -0
- package/src/lib/models/PagedResult.ts +5 -0
- package/src/lib/models/PeriodMode.ts +10 -0
- package/src/lib/models/PermissionConfig.ts +8 -0
- package/src/lib/models/Property.ts +6 -0
- package/src/lib/models/ReportSchedule.ts +23 -0
- package/src/lib/models/ReportType.ts +5 -0
- package/src/lib/models/Resource.ts +57 -0
- package/src/lib/models/ResponseKeyValue.ts +5 -0
- package/src/lib/models/SMSConfig.ts +11 -0
- package/src/lib/models/SearchDynamicWrapper.ts +6 -0
- package/src/lib/models/SearchOperator.ts +4 -0
- package/src/lib/models/SearchPropertySign.ts +9 -0
- package/src/lib/models/SearchPropertyValue.ts +13 -0
- package/src/lib/models/SearchPropertyValueType.ts +9 -0
- package/src/lib/models/Size.ts +4 -0
- package/src/lib/models/SortDirection.ts +5 -0
- package/src/lib/models/StageActorRule.ts +6 -0
- package/src/lib/models/SwimLane.ts +14 -0
- package/src/lib/models/Tag.ts +7 -0
- package/src/lib/models/Task.ts +33 -0
- package/src/lib/models/TaskAssignmentType.ts +4 -0
- package/src/lib/models/TaskNotification.ts +16 -0
- package/src/lib/models/TaskNotificationMessageType.ts +4 -0
- package/src/lib/models/TaskNotificationType.ts +7 -0
- package/src/lib/models/TaskStatus.ts +7 -0
- package/src/lib/models/Workflow.ts +22 -0
- package/src/lib/models/WorkflowAction.ts +15 -0
- package/src/lib/models/WorkflowOperation.ts +7 -0
- package/src/lib/models/WorkflowStage.ts +27 -0
- package/src/lib/models/actors.ts +10 -0
- package/src/lib/models/auth-mechanism.ts +14 -0
- package/src/lib/models/base.ts +14 -0
- package/src/lib/models/ng-package.json +6 -0
- package/src/lib/models/object-state.ts +6 -0
- package/src/lib/models/operation-type.ts +6 -0
- package/src/lib/models/paged.ts +9 -0
- package/src/lib/models/public-api.ts +65 -0
- package/src/lib/models/query-params.ts +9 -0
- package/src/lib/models/status.ts +5 -0
- package/src/lib/models/task-history.ts +14 -0
- package/src/lib/models/user-access-request-status.ts +5 -0
- package/src/lib/models/user.ts +25 -0
- package/src/lib/pipes/async-label.pipe.spec.ts +12 -0
- package/src/lib/pipes/async-label.pipe.ts +30 -0
- package/src/lib/pipes/ng-package.json +6 -0
- package/src/lib/services/environment.service.spec.ts +16 -0
- package/src/lib/services/environment.service.ts +31 -0
- package/src/lib/services/http-web-request.service.spec.ts +16 -0
- package/src/lib/services/http-web-request.service.ts +154 -0
- package/src/lib/services/index.ts +1 -0
- package/src/lib/services/label.service.spec.ts +16 -0
- package/src/lib/services/label.service.ts +182 -0
- package/src/lib/services/ng-package.json +6 -0
- package/src/lib/services/public-api.ts +5 -0
- package/src/lib/services/util.service.spec.ts +16 -0
- package/src/lib/services/util.service.ts +72 -0
- package/src/lib/shared/base-table-style.ts +56 -0
- package/src/lib/shared/components/base-data-view.component.ts +187 -0
- package/src/lib/shared/components/base-model-field.ts +31 -0
- package/src/lib/shared/models/DataViewConfig.ts +19 -0
- package/src/lib/shared/ng-package.json +6 -0
- package/src/lib/shared/public-api.ts +14 -0
- package/src/lib/shared/shared.module.ts +67 -0
- package/src/lib/utils/index.ts +1 -0
- package/src/lib/utils/public-api.ts +2 -0
- package/src/lib/utils/store.ts +50 -0
- package/src/public-api.ts +58 -0
- package/src/styles.css +96 -0
- package/tailwind.config copy.js +33 -0
- package/tailwind.config.js +20 -0
- package/tsconfig.lib.json +15 -0
- package/tsconfig.lib.prod.json +11 -0
- package/tsconfig.spec.json +15 -0
- package/esm2022/public-api.mjs +0 -41
- package/esm2022/src/lib/base/core/base-data-page.facade.mjs +0 -412
- package/esm2022/src/lib/base/core/base-data-page.service.mjs +0 -140
- package/esm2022/src/lib/base/core/base-data-page.state.mjs +0 -216
- package/esm2022/src/lib/base/handlers/filter-handler.service.mjs +0 -138
- package/esm2022/src/lib/base/handlers/search-handler.service.mjs +0 -31
- package/esm2022/src/lib/base/handlers/sort-handler.service.mjs +0 -73
- package/esm2022/src/lib/base/index.mjs +0 -2
- package/esm2022/src/lib/base/models/api-payload.mjs +0 -7
- package/esm2022/src/lib/base/models/page-config.interface.mjs +0 -2
- package/esm2022/src/lib/base/models/page-filter-tab-option.interface.mjs +0 -2
- package/esm2022/src/lib/base/public-api.mjs +0 -14
- package/esm2022/src/lib/base/utils/column-helpers.mjs +0 -55
- package/esm2022/src/lib/base/verben-workflow-ui-src-lib-base.mjs +0 -5
- package/esm2022/src/lib/components/actors/actors.columns.mjs +0 -39
- package/esm2022/src/lib/components/actors/actors.component.mjs +0 -175
- package/esm2022/src/lib/components/actors/actors.config.mjs +0 -49
- package/esm2022/src/lib/components/actors/actors.facade.mjs +0 -57
- package/esm2022/src/lib/components/actors/actors.form.component.mjs +0 -74
- package/esm2022/src/lib/components/actors/actors.module.mjs +0 -21
- package/esm2022/src/lib/components/actors/actors.service.mjs +0 -65
- package/esm2022/src/lib/components/actors/actors.state.mjs +0 -31
- package/esm2022/src/lib/components/actors/index.mjs +0 -2
- package/esm2022/src/lib/components/actors/public-api.mjs +0 -3
- package/esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs +0 -5
- package/esm2022/src/lib/components/designer/components/label-editor.component.mjs +0 -148
- package/esm2022/src/lib/components/designer/components/node-selector.component.mjs +0 -317
- package/esm2022/src/lib/components/designer/components/swimlane-label.component.mjs +0 -161
- package/esm2022/src/lib/components/designer/components/swimlane-popup.component.mjs +0 -85
- package/esm2022/src/lib/components/designer/components/wf-canvas.component.mjs +0 -715
- package/esm2022/src/lib/components/designer/components/wf-designer.component.mjs +0 -135
- package/esm2022/src/lib/components/designer/components/wf-toolbar.component.mjs +0 -56
- package/esm2022/src/lib/components/designer/index.mjs +0 -2
- package/esm2022/src/lib/components/designer/models/types.mjs +0 -2
- package/esm2022/src/lib/components/designer/public-api.mjs +0 -3
- package/esm2022/src/lib/components/designer/services/canvas-state.service.mjs +0 -50
- package/esm2022/src/lib/components/designer/services/connection-segment-interaction.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/services/connection.service.mjs +0 -267
- package/esm2022/src/lib/components/designer/services/keyboard-handler.service.mjs +0 -43
- package/esm2022/src/lib/components/designer/services/label-management.service.mjs +0 -66
- package/esm2022/src/lib/components/designer/services/node-finder.service.mjs +0 -30
- package/esm2022/src/lib/components/designer/services/node-interaction.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/services/node-precondition.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/services/node-selection.service.mjs +0 -96
- package/esm2022/src/lib/components/designer/services/orthogonal-router.service.mjs +0 -167
- package/esm2022/src/lib/components/designer/services/position-update.service.mjs +0 -45
- package/esm2022/src/lib/components/designer/services/rendering.service.mjs +0 -236
- package/esm2022/src/lib/components/designer/services/swimlane-management.service.mjs +0 -145
- package/esm2022/src/lib/components/designer/services/swimlane-stats.service.mjs +0 -44
- package/esm2022/src/lib/components/designer/services/viewport.service.mjs +0 -30
- package/esm2022/src/lib/components/designer/services/wf-facade.service.mjs +0 -239
- package/esm2022/src/lib/components/designer/services/wf-mapper.service.mjs +0 -326
- package/esm2022/src/lib/components/designer/services/wf-persistence.service.mjs +0 -169
- package/esm2022/src/lib/components/designer/services/wf-state.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs +0 -5
- package/esm2022/src/lib/components/expiration/expiration.component.mjs +0 -49
- package/esm2022/src/lib/components/expiration/expiration.module.mjs +0 -19
- package/esm2022/src/lib/components/expiration/index.mjs +0 -2
- package/esm2022/src/lib/components/expiration/public-api.mjs +0 -3
- package/esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs +0 -5
- package/esm2022/src/lib/components/file-render/file-render.component.mjs +0 -45
- package/esm2022/src/lib/components/file-render/file-render.module.mjs +0 -35
- package/esm2022/src/lib/components/file-render/index.mjs +0 -2
- package/esm2022/src/lib/components/file-render/public-api.mjs +0 -3
- package/esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs +0 -5
- package/esm2022/src/lib/components/file-upload/file-upload.component.mjs +0 -93
- package/esm2022/src/lib/components/file-upload/file-upload.module.mjs +0 -63
- package/esm2022/src/lib/components/file-upload/index.mjs +0 -2
- package/esm2022/src/lib/components/file-upload/public-api.mjs +0 -3
- package/esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs +0 -5
- package/esm2022/src/lib/components/flowable-status/flowable-status.columns.mjs +0 -21
- package/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +0 -203
- package/esm2022/src/lib/components/flowable-status/flowable-status.config.mjs +0 -47
- package/esm2022/src/lib/components/flowable-status/flowable-status.facade.mjs +0 -60
- package/esm2022/src/lib/components/flowable-status/flowable-status.form.component.mjs +0 -52
- package/esm2022/src/lib/components/flowable-status/flowable-status.module.mjs +0 -21
- package/esm2022/src/lib/components/flowable-status/flowable-status.service.mjs +0 -35
- package/esm2022/src/lib/components/flowable-status/flowable-status.state.mjs +0 -15
- package/esm2022/src/lib/components/flowable-status/index.mjs +0 -2
- package/esm2022/src/lib/components/flowable-status/public-api.mjs +0 -3
- package/esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs +0 -5
- package/esm2022/src/lib/components/form-control/form-control.component.mjs +0 -180
- package/esm2022/src/lib/components/form-control/form-control.module.mjs +0 -75
- package/esm2022/src/lib/components/form-control/index.mjs +0 -2
- package/esm2022/src/lib/components/form-control/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs +0 -5
- package/esm2022/src/lib/components/form-group/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.component.mjs +0 -952
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.module.mjs +0 -75
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.service.mjs +0 -73
- package/esm2022/src/lib/components/form-group/form-group.component.mjs +0 -699
- package/esm2022/src/lib/components/form-group/form-group.module.mjs +0 -85
- package/esm2022/src/lib/components/form-group/form-group.service.mjs +0 -56
- package/esm2022/src/lib/components/form-group/index.mjs +0 -2
- package/esm2022/src/lib/components/form-group/public-api.mjs +0 -5
- package/esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs +0 -5
- package/esm2022/src/lib/components/form-response/form-response.component.mjs +0 -641
- package/esm2022/src/lib/components/form-response/form-response.module.mjs +0 -76
- package/esm2022/src/lib/components/form-response/form-response.service.mjs +0 -54
- package/esm2022/src/lib/components/form-response/index.mjs +0 -2
- package/esm2022/src/lib/components/form-response/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs +0 -5
- package/esm2022/src/lib/components/form-timer/form-timer.component.mjs +0 -47
- package/esm2022/src/lib/components/form-timer/form-timer.module.mjs +0 -28
- package/esm2022/src/lib/components/form-timer/index.mjs +0 -2
- package/esm2022/src/lib/components/form-timer/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs +0 -5
- package/esm2022/src/lib/components/form-viewer/form-viewer.component.mjs +0 -38
- package/esm2022/src/lib/components/form-viewer/form-viewer.module.mjs +0 -78
- package/esm2022/src/lib/components/form-viewer/index.mjs +0 -2
- package/esm2022/src/lib/components/form-viewer/public-api.mjs +0 -3
- package/esm2022/src/lib/components/form-viewer/verben-workflow-ui-src-lib-components-form-viewer.mjs +0 -5
- package/esm2022/src/lib/components/forms/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/forms/forms.component.mjs +0 -673
- package/esm2022/src/lib/components/forms/forms.module.mjs +0 -18
- package/esm2022/src/lib/components/forms/forms.service.mjs +0 -68
- package/esm2022/src/lib/components/forms/index.mjs +0 -2
- package/esm2022/src/lib/components/forms/public-api.mjs +0 -3
- package/esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs +0 -5
- package/esm2022/src/lib/components/journal/index.mjs +0 -2
- package/esm2022/src/lib/components/journal/journal.component.mjs +0 -11
- package/esm2022/src/lib/components/journal/journal.module.mjs +0 -18
- package/esm2022/src/lib/components/journal/public-api.mjs +0 -3
- package/esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs +0 -5
- package/esm2022/src/lib/components/my-queue/index.mjs +0 -2
- package/esm2022/src/lib/components/my-queue/my-queue.columns.mjs +0 -34
- package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +0 -342
- package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +0 -502
- package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +0 -47
- package/esm2022/src/lib/components/my-queue/my-queue.service.mjs +0 -144
- package/esm2022/src/lib/components/my-queue/my-queue.state.mjs +0 -108
- package/esm2022/src/lib/components/my-queue/public-api.mjs +0 -4
- package/esm2022/src/lib/components/my-queue/tasks.form.component.mjs +0 -191
- package/esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs +0 -5
- package/esm2022/src/lib/components/operation-popup/index.mjs +0 -2
- package/esm2022/src/lib/components/operation-popup/operation-popup.component.mjs +0 -382
- package/esm2022/src/lib/components/operation-popup/operation-popup.facade.mjs +0 -345
- package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +0 -82
- package/esm2022/src/lib/components/operation-popup/operation-popup.state.mjs +0 -44
- package/esm2022/src/lib/components/operation-popup/public-api.mjs +0 -3
- package/esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs +0 -5
- package/esm2022/src/lib/components/stage-details/index.mjs +0 -2
- package/esm2022/src/lib/components/stage-details/public-api.mjs +0 -3
- package/esm2022/src/lib/components/stage-details/stage-details.component.mjs +0 -49
- package/esm2022/src/lib/components/stage-details/stage-details.module.mjs +0 -19
- package/esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs +0 -5
- package/esm2022/src/lib/components/task-form/index.mjs +0 -2
- package/esm2022/src/lib/components/task-form/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-form/task-form.component.mjs +0 -18
- package/esm2022/src/lib/components/task-form/task-form.module.mjs +0 -72
- package/esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs +0 -5
- package/esm2022/src/lib/components/task-history/index.mjs +0 -2
- package/esm2022/src/lib/components/task-history/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-history/task-history.component.mjs +0 -249
- package/esm2022/src/lib/components/task-history/task-history.module.mjs +0 -21
- package/esm2022/src/lib/components/task-history/task-history.service.mjs +0 -32
- package/esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs +0 -5
- package/esm2022/src/lib/components/task-notification/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/task-notification/index.mjs +0 -2
- package/esm2022/src/lib/components/task-notification/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-notification/task-notification.component.mjs +0 -670
- package/esm2022/src/lib/components/task-notification/task-notification.module.mjs +0 -18
- package/esm2022/src/lib/components/task-notification/task-notification.service.mjs +0 -256
- package/esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs +0 -5
- package/esm2022/src/lib/components/tasks/index.mjs +0 -2
- package/esm2022/src/lib/components/tasks/public-api.mjs +0 -6
- package/esm2022/src/lib/components/tasks/tasks.columns.mjs +0 -48
- package/esm2022/src/lib/components/tasks/tasks.component.mjs +0 -194
- package/esm2022/src/lib/components/tasks/tasks.facade.mjs +0 -372
- package/esm2022/src/lib/components/tasks/tasks.form.component.mjs +0 -164
- package/esm2022/src/lib/components/tasks/tasks.models.mjs +0 -4
- package/esm2022/src/lib/components/tasks/tasks.module.mjs +0 -52
- package/esm2022/src/lib/components/tasks/tasks.service.mjs +0 -137
- package/esm2022/src/lib/components/tasks/tasks.state.mjs +0 -108
- package/esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs +0 -5
- package/esm2022/src/lib/components/wf/index.mjs +0 -2
- package/esm2022/src/lib/components/wf/public-api.mjs +0 -4
- package/esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs +0 -5
- package/esm2022/src/lib/components/wf/wf.columns.mjs +0 -34
- package/esm2022/src/lib/components/wf/wf.component.mjs +0 -68
- package/esm2022/src/lib/components/wf/wf.module.mjs +0 -22
- package/esm2022/src/lib/components/wf/wf.service.mjs +0 -82
- package/esm2022/src/lib/components/workflow/column.mjs +0 -38
- package/esm2022/src/lib/components/workflow/helper.mjs +0 -47
- package/esm2022/src/lib/components/workflow/index.mjs +0 -2
- package/esm2022/src/lib/components/workflow/public-api.mjs +0 -4
- package/esm2022/src/lib/components/workflow/table-style.mjs +0 -53
- package/esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs +0 -5
- package/esm2022/src/lib/components/workflow/workflow.component.mjs +0 -210
- package/esm2022/src/lib/components/workflow/workflow.module.mjs +0 -19
- package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +0 -127
- package/esm2022/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.mjs +0 -78
- package/esm2022/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.mjs +0 -87
- package/esm2022/src/lib/components/workflow-designer/decision-popup/decision-popup.component.mjs +0 -84
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +0 -1270
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.mjs +0 -96
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.mjs +0 -2
- package/esm2022/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.mjs +0 -260
- package/esm2022/src/lib/components/workflow-designer/index.mjs +0 -2
- package/esm2022/src/lib/components/workflow-designer/public-api.mjs +0 -5
- package/esm2022/src/lib/components/workflow-designer/services/connection.service.mjs +0 -238
- package/esm2022/src/lib/components/workflow-designer/services/node-management.service.mjs +0 -321
- package/esm2022/src/lib/components/workflow-designer/services/popup.service.mjs +0 -240
- package/esm2022/src/lib/components/workflow-designer/services/swimlane.service.mjs +0 -158
- package/esm2022/src/lib/components/workflow-designer/services/transformer.service.mjs +0 -280
- package/esm2022/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.mjs +0 -177
- package/esm2022/src/lib/components/workflow-designer/stage-node/stage-node.component.mjs +0 -226
- package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +0 -137
- package/esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs +0 -5
- package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +0 -210
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +0 -460
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.module.mjs +0 -129
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +0 -928
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.types.mjs +0 -2
- package/esm2022/src/lib/components/workflow-stage/index.mjs +0 -2
- package/esm2022/src/lib/components/workflow-stage/public-api.mjs +0 -3
- package/esm2022/src/lib/components/workflow-stage/verben-workflow-ui-src-lib-components-workflow-stage.mjs +0 -5
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.component.mjs +0 -331
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.module.mjs +0 -82
- package/esm2022/src/lib/components/workflows/index.mjs +0 -2
- package/esm2022/src/lib/components/workflows/public-api.mjs +0 -7
- package/esm2022/src/lib/components/workflows/verben-workflow-ui-src-lib-components-workflows.mjs +0 -5
- package/esm2022/src/lib/components/workflows/workflow-form/workflow-form.component.mjs +0 -89
- package/esm2022/src/lib/components/workflows/workflows.api.mjs +0 -63
- package/esm2022/src/lib/components/workflows/workflows.columns.mjs +0 -39
- package/esm2022/src/lib/components/workflows/workflows.component.mjs +0 -236
- package/esm2022/src/lib/components/workflows/workflows.config.mjs +0 -51
- package/esm2022/src/lib/components/workflows/workflows.facade.mjs +0 -114
- package/esm2022/src/lib/components/workflows/workflows.module.mjs +0 -21
- package/esm2022/src/lib/components/workflows/workflows.service.mjs +0 -63
- package/esm2022/src/lib/components/workflows/workflows.state.mjs +0 -23
- package/esm2022/src/lib/models/ActionHistory.mjs +0 -2
- package/esm2022/src/lib/models/ActionType.mjs +0 -11
- package/esm2022/src/lib/models/Actor.mjs +0 -2
- package/esm2022/src/lib/models/ActorTag.mjs +0 -2
- package/esm2022/src/lib/models/Coord.mjs +0 -2
- package/esm2022/src/lib/models/DataType.mjs +0 -27
- package/esm2022/src/lib/models/EAVEntity.mjs +0 -2
- package/esm2022/src/lib/models/ErrorResponse.mjs +0 -11
- package/esm2022/src/lib/models/Escalation.mjs +0 -2
- package/esm2022/src/lib/models/EscalationCycle.mjs +0 -2
- package/esm2022/src/lib/models/EscalationStage.mjs +0 -2
- package/esm2022/src/lib/models/EscalationType.mjs +0 -7
- package/esm2022/src/lib/models/File.mjs +0 -2
- package/esm2022/src/lib/models/FilterTypes.mjs +0 -9
- package/esm2022/src/lib/models/FlowableStatus.mjs +0 -2
- package/esm2022/src/lib/models/Form.mjs +0 -2
- package/esm2022/src/lib/models/FormEntity.mjs +0 -2
- package/esm2022/src/lib/models/FormFill.mjs +0 -6
- package/esm2022/src/lib/models/FormProperty.mjs +0 -2
- package/esm2022/src/lib/models/FormValues.mjs +0 -2
- package/esm2022/src/lib/models/MailConfig.mjs +0 -2
- package/esm2022/src/lib/models/MessageConfig.mjs +0 -2
- package/esm2022/src/lib/models/MessageMedium.mjs +0 -6
- package/esm2022/src/lib/models/OperationAction.mjs +0 -2
- package/esm2022/src/lib/models/PagedResult.mjs +0 -2
- package/esm2022/src/lib/models/PeriodMode.mjs +0 -12
- package/esm2022/src/lib/models/PermissionConfig.mjs +0 -2
- package/esm2022/src/lib/models/ReportSchedule.mjs +0 -2
- package/esm2022/src/lib/models/ReportType.mjs +0 -7
- package/esm2022/src/lib/models/Resource.mjs +0 -47
- package/esm2022/src/lib/models/ResponseKeyValue.mjs +0 -2
- package/esm2022/src/lib/models/SMSConfig.mjs +0 -2
- package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +0 -2
- package/esm2022/src/lib/models/SearchOperator.mjs +0 -6
- package/esm2022/src/lib/models/SearchPropertySign.mjs +0 -11
- package/esm2022/src/lib/models/SearchPropertyValue.mjs +0 -2
- package/esm2022/src/lib/models/SearchPropertyValueType.mjs +0 -11
- package/esm2022/src/lib/models/Size.mjs +0 -2
- package/esm2022/src/lib/models/SortDirection.mjs +0 -7
- package/esm2022/src/lib/models/StageActorRule.mjs +0 -8
- package/esm2022/src/lib/models/SwimLane.mjs +0 -2
- package/esm2022/src/lib/models/Tag.mjs +0 -2
- package/esm2022/src/lib/models/Task.mjs +0 -2
- package/esm2022/src/lib/models/TaskAssignmentType.mjs +0 -6
- package/esm2022/src/lib/models/TaskNotification.mjs +0 -2
- package/esm2022/src/lib/models/TaskNotificationMessageType.mjs +0 -6
- package/esm2022/src/lib/models/TaskNotificationType.mjs +0 -9
- package/esm2022/src/lib/models/TaskStatus.mjs +0 -9
- package/esm2022/src/lib/models/Workflow.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowAction.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowOperation.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowStage.mjs +0 -2
- package/esm2022/src/lib/models/actors.mjs +0 -2
- package/esm2022/src/lib/models/auth-mechanism.mjs +0 -8
- package/esm2022/src/lib/models/base.mjs +0 -2
- package/esm2022/src/lib/models/index.mjs +0 -2
- package/esm2022/src/lib/models/object-state.mjs +0 -8
- package/esm2022/src/lib/models/operation-type.mjs +0 -7
- package/esm2022/src/lib/models/paged.mjs +0 -2
- package/esm2022/src/lib/models/public-api.mjs +0 -64
- package/esm2022/src/lib/models/query-params.mjs +0 -2
- package/esm2022/src/lib/models/status.mjs +0 -6
- package/esm2022/src/lib/models/task-history.mjs +0 -2
- package/esm2022/src/lib/models/user-access-request-status.mjs +0 -7
- package/esm2022/src/lib/models/user.mjs +0 -2
- package/esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs +0 -5
- package/esm2022/src/lib/pipes/async-label.pipe.mjs +0 -25
- package/esm2022/src/lib/pipes/index.mjs +0 -2
- package/esm2022/src/lib/pipes/public-api.mjs +0 -2
- package/esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs +0 -5
- package/esm2022/src/lib/services/environment.service.mjs +0 -26
- package/esm2022/src/lib/services/http-web-request.service.mjs +0 -92
- package/esm2022/src/lib/services/index.mjs +0 -2
- package/esm2022/src/lib/services/label.service.mjs +0 -134
- package/esm2022/src/lib/services/public-api.mjs +0 -5
- package/esm2022/src/lib/services/util.service.mjs +0 -75
- package/esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs +0 -5
- package/esm2022/src/lib/shared/base-table-style.mjs +0 -55
- package/esm2022/src/lib/shared/components/base-data-view.component.mjs +0 -154
- package/esm2022/src/lib/shared/components/base-model-field.mjs +0 -21
- package/esm2022/src/lib/shared/index.mjs +0 -7
- package/esm2022/src/lib/shared/models/DataViewConfig.mjs +0 -2
- package/esm2022/src/lib/shared/public-api.mjs +0 -13
- package/esm2022/src/lib/shared/shared.module.mjs +0 -103
- package/esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs +0 -5
- package/esm2022/verben-workflow-ui.mjs +0 -5
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs +0 -1055
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs +0 -484
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +0 -3891
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs +0 -72
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +0 -83
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +0 -159
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +0 -430
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +0 -257
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +0 -1967
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs +0 -769
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs +0 -78
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs +0 -118
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs +0 -812
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +0 -33
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +0 -1338
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +0 -845
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs +0 -72
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs +0 -94
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +0 -302
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs +0 -995
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +0 -1049
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs +0 -203
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +0 -5389
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs +0 -415
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs +0 -365
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +0 -666
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs +0 -256
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +0 -32
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs +0 -322
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs +0 -336
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui.mjs +0 -34
- package/fesm2022/verben-workflow-ui.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/public-api.d.ts +0 -22
- package/src/lib/base/core/base-data-page.facade.d.ts +0 -138
- package/src/lib/base/core/base-data-page.service.d.ts +0 -61
- package/src/lib/base/core/base-data-page.state.d.ts +0 -73
- package/src/lib/base/handlers/filter-handler.service.d.ts +0 -34
- package/src/lib/base/handlers/search-handler.service.d.ts +0 -20
- package/src/lib/base/handlers/sort-handler.service.d.ts +0 -30
- package/src/lib/base/models/api-payload.d.ts +0 -2
- package/src/lib/base/models/page-config.interface.d.ts +0 -24
- package/src/lib/base/models/page-filter-tab-option.interface.d.ts +0 -19
- package/src/lib/base/public-api.d.ts +0 -9
- package/src/lib/base/utils/column-helpers.d.ts +0 -24
- package/src/lib/components/actors/actors.columns.d.ts +0 -3
- package/src/lib/components/actors/actors.component.d.ts +0 -79
- package/src/lib/components/actors/actors.config.d.ts +0 -10
- package/src/lib/components/actors/actors.facade.d.ts +0 -29
- package/src/lib/components/actors/actors.form.component.d.ts +0 -23
- package/src/lib/components/actors/actors.module.d.ts +0 -11
- package/src/lib/components/actors/actors.service.d.ts +0 -33
- package/src/lib/components/actors/actors.state.d.ts +0 -19
- package/src/lib/components/designer/components/label-editor.component.d.ts +0 -22
- package/src/lib/components/designer/components/node-selector.component.d.ts +0 -23
- package/src/lib/components/designer/components/swimlane-label.component.d.ts +0 -12
- package/src/lib/components/designer/components/swimlane-popup.component.d.ts +0 -18
- package/src/lib/components/designer/components/wf-canvas.component.d.ts +0 -37
- package/src/lib/components/designer/components/wf-designer.component.d.ts +0 -22
- package/src/lib/components/designer/components/wf-toolbar.component.d.ts +0 -17
- package/src/lib/components/designer/models/types.d.ts +0 -104
- package/src/lib/components/designer/services/canvas-state.service.d.ts +0 -24
- package/src/lib/components/designer/services/connection-segment-interaction.service.d.ts +0 -36
- package/src/lib/components/designer/services/connection.service.d.ts +0 -47
- package/src/lib/components/designer/services/keyboard-handler.service.d.ts +0 -9
- package/src/lib/components/designer/services/label-management.service.d.ts +0 -14
- package/src/lib/components/designer/services/node-finder.service.d.ts +0 -10
- package/src/lib/components/designer/services/node-interaction.service.d.ts +0 -19
- package/src/lib/components/designer/services/node-precondition.service.d.ts +0 -37
- package/src/lib/components/designer/services/node-selection.service.d.ts +0 -19
- package/src/lib/components/designer/services/orthogonal-router.service.d.ts +0 -36
- package/src/lib/components/designer/services/position-update.service.d.ts +0 -10
- package/src/lib/components/designer/services/rendering.service.d.ts +0 -67
- package/src/lib/components/designer/services/swimlane-management.service.d.ts +0 -19
- package/src/lib/components/designer/services/swimlane-stats.service.d.ts +0 -19
- package/src/lib/components/designer/services/viewport.service.d.ts +0 -10
- package/src/lib/components/designer/services/wf-facade.service.d.ts +0 -67
- package/src/lib/components/designer/services/wf-mapper.service.d.ts +0 -26
- package/src/lib/components/designer/services/wf-persistence.service.d.ts +0 -21
- package/src/lib/components/designer/services/wf-state.service.d.ts +0 -30
- package/src/lib/components/expiration/expiration.component.d.ts +0 -20
- package/src/lib/components/expiration/expiration.module.d.ts +0 -9
- package/src/lib/components/file-render/file-render.component.d.ts +0 -17
- package/src/lib/components/file-render/file-render.module.d.ts +0 -10
- package/src/lib/components/file-upload/file-upload.component.d.ts +0 -22
- package/src/lib/components/file-upload/file-upload.module.d.ts +0 -11
- package/src/lib/components/flowable-status/flowable-status.columns.d.ts +0 -3
- package/src/lib/components/flowable-status/flowable-status.component.d.ts +0 -80
- package/src/lib/components/flowable-status/flowable-status.config.d.ts +0 -11
- package/src/lib/components/flowable-status/flowable-status.facade.d.ts +0 -26
- package/src/lib/components/flowable-status/flowable-status.form.component.d.ts +0 -18
- package/src/lib/components/flowable-status/flowable-status.module.d.ts +0 -11
- package/src/lib/components/flowable-status/flowable-status.service.d.ts +0 -23
- package/src/lib/components/flowable-status/flowable-status.state.d.ts +0 -11
- package/src/lib/components/flowable-status/public-api.d.ts +0 -2
- package/src/lib/components/form-control/form-control.component.d.ts +0 -39
- package/src/lib/components/form-control/form-control.module.d.ts +0 -11
- package/src/lib/components/form-group/base-table-style.d.ts +0 -1
- package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +0 -136
- package/src/lib/components/form-group/form-fields/form-fields.module.d.ts +0 -11
- package/src/lib/components/form-group/form-fields/form-fields.service.d.ts +0 -9
- package/src/lib/components/form-group/form-group.component.d.ts +0 -108
- package/src/lib/components/form-group/form-group.module.d.ts +0 -15
- package/src/lib/components/form-group/form-group.service.d.ts +0 -9
- package/src/lib/components/form-response/form-response.component.d.ts +0 -108
- package/src/lib/components/form-response/form-response.module.d.ts +0 -12
- package/src/lib/components/form-response/form-response.service.d.ts +0 -9
- package/src/lib/components/form-timer/form-timer.component.d.ts +0 -13
- package/src/lib/components/form-timer/form-timer.module.d.ts +0 -9
- package/src/lib/components/form-viewer/form-viewer.component.d.ts +0 -17
- package/src/lib/components/form-viewer/form-viewer.module.d.ts +0 -11
- package/src/lib/components/forms/base-table-style.d.ts +0 -1
- package/src/lib/components/forms/forms.component.d.ts +0 -88
- package/src/lib/components/forms/forms.module.d.ts +0 -8
- package/src/lib/components/forms/forms.service.d.ts +0 -9
- package/src/lib/components/journal/journal.component.d.ts +0 -5
- package/src/lib/components/journal/journal.module.d.ts +0 -8
- package/src/lib/components/my-queue/my-queue.columns.d.ts +0 -3
- package/src/lib/components/my-queue/my-queue.component.d.ts +0 -58
- package/src/lib/components/my-queue/my-queue.facade.d.ts +0 -47
- package/src/lib/components/my-queue/my-queue.module.d.ts +0 -15
- package/src/lib/components/my-queue/my-queue.service.d.ts +0 -65
- package/src/lib/components/my-queue/my-queue.state.d.ts +0 -39
- package/src/lib/components/my-queue/tasks.form.component.d.ts +0 -48
- package/src/lib/components/operation-popup/operation-popup.component.d.ts +0 -62
- package/src/lib/components/operation-popup/operation-popup.facade.d.ts +0 -32
- package/src/lib/components/operation-popup/operation-popup.service.d.ts +0 -23
- package/src/lib/components/operation-popup/operation-popup.state.d.ts +0 -20
- package/src/lib/components/stage-details/stage-details.component.d.ts +0 -24
- package/src/lib/components/stage-details/stage-details.module.d.ts +0 -9
- package/src/lib/components/task-form/task-form.component.d.ts +0 -10
- package/src/lib/components/task-form/task-form.module.d.ts +0 -10
- package/src/lib/components/task-history/task-history.component.d.ts +0 -41
- package/src/lib/components/task-history/task-history.module.d.ts +0 -11
- package/src/lib/components/task-history/task-history.service.d.ts +0 -13
- package/src/lib/components/task-notification/base-table-style.d.ts +0 -1
- package/src/lib/components/task-notification/task-notification.component.d.ts +0 -89
- package/src/lib/components/task-notification/task-notification.module.d.ts +0 -8
- package/src/lib/components/task-notification/task-notification.service.d.ts +0 -32
- package/src/lib/components/tasks/tasks.columns.d.ts +0 -11
- package/src/lib/components/tasks/tasks.component.d.ts +0 -40
- package/src/lib/components/tasks/tasks.facade.d.ts +0 -44
- package/src/lib/components/tasks/tasks.form.component.d.ts +0 -40
- package/src/lib/components/tasks/tasks.models.d.ts +0 -4
- package/src/lib/components/tasks/tasks.module.d.ts +0 -17
- package/src/lib/components/tasks/tasks.service.d.ts +0 -58
- package/src/lib/components/tasks/tasks.state.d.ts +0 -46
- package/src/lib/components/wf/wf.columns.d.ts +0 -3
- package/src/lib/components/wf/wf.component.d.ts +0 -16
- package/src/lib/components/wf/wf.module.d.ts +0 -10
- package/src/lib/components/wf/wf.service.d.ts +0 -51
- package/src/lib/components/workflow/column.d.ts +0 -3
- package/src/lib/components/workflow/helper.d.ts +0 -2
- package/src/lib/components/workflow/table-style.d.ts +0 -1
- package/src/lib/components/workflow/workflow.component.d.ts +0 -57
- package/src/lib/components/workflow/workflow.module.d.ts +0 -9
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.d.ts +0 -34
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.d.ts +0 -25
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.d.ts +0 -38
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.d.ts +0 -29
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.d.ts +0 -292
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.d.ts +0 -39
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.d.ts +0 -5
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.d.ts +0 -47
- package/src/lib/components/workflow-designer/services/connection.service.d.ts +0 -101
- package/src/lib/components/workflow-designer/services/node-management.service.d.ts +0 -73
- package/src/lib/components/workflow-designer/services/popup.service.d.ts +0 -147
- package/src/lib/components/workflow-designer/services/swimlane.service.d.ts +0 -66
- package/src/lib/components/workflow-designer/services/transformer.service.d.ts +0 -51
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.d.ts +0 -43
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.d.ts +0 -58
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.d.ts +0 -49
- package/src/lib/components/workflow-designer/workflow-data.service.d.ts +0 -59
- package/src/lib/components/workflow-designer/workflow-designer.component.d.ts +0 -121
- package/src/lib/components/workflow-designer/workflow-designer.module.d.ts +0 -41
- package/src/lib/components/workflow-designer/workflow-designer.state.d.ts +0 -278
- package/src/lib/components/workflow-designer/workflow-designer.types.d.ts +0 -130
- package/src/lib/components/workflow-stage/workflow-stage.component.d.ts +0 -78
- package/src/lib/components/workflow-stage/workflow-stage.module.d.ts +0 -12
- package/src/lib/components/workflows/public-api.d.ts +0 -4
- package/src/lib/components/workflows/workflow-form/workflow-form.component.d.ts +0 -28
- package/src/lib/components/workflows/workflows.api.d.ts +0 -38
- package/src/lib/components/workflows/workflows.columns.d.ts +0 -3
- package/src/lib/components/workflows/workflows.component.d.ts +0 -98
- package/src/lib/components/workflows/workflows.config.d.ts +0 -10
- package/src/lib/components/workflows/workflows.facade.d.ts +0 -41
- package/src/lib/components/workflows/workflows.module.d.ts +0 -11
- package/src/lib/components/workflows/workflows.service.d.ts +0 -32
- package/src/lib/components/workflows/workflows.state.d.ts +0 -15
- package/src/lib/models/ActionHistory.d.ts +0 -16
- package/src/lib/models/ActionType.d.ts +0 -9
- package/src/lib/models/Actor.d.ts +0 -11
- package/src/lib/models/ActorTag.d.ts +0 -6
- package/src/lib/models/Coord.d.ts +0 -4
- package/src/lib/models/DataType.d.ts +0 -25
- package/src/lib/models/EAVEntity.d.ts +0 -4
- package/src/lib/models/ErrorResponse.d.ts +0 -6
- package/src/lib/models/Escalation.d.ts +0 -14
- package/src/lib/models/EscalationCycle.d.ts +0 -12
- package/src/lib/models/EscalationStage.d.ts +0 -10
- package/src/lib/models/EscalationType.d.ts +0 -5
- package/src/lib/models/File.d.ts +0 -7
- package/src/lib/models/FilterTypes.d.ts +0 -6
- package/src/lib/models/FlowableStatus.d.ts +0 -5
- package/src/lib/models/Form.d.ts +0 -13
- package/src/lib/models/FormEntity.d.ts +0 -13
- package/src/lib/models/FormFill.d.ts +0 -15
- package/src/lib/models/FormProperty.d.ts +0 -15
- package/src/lib/models/FormValues.d.ts +0 -14
- package/src/lib/models/MailConfig.d.ts +0 -12
- package/src/lib/models/MessageConfig.d.ts +0 -3
- package/src/lib/models/MessageMedium.d.ts +0 -4
- package/src/lib/models/OperationAction.d.ts +0 -14
- package/src/lib/models/PagedResult.d.ts +0 -5
- package/src/lib/models/PeriodMode.d.ts +0 -10
- package/src/lib/models/PermissionConfig.d.ts +0 -7
- package/src/lib/models/ReportSchedule.d.ts +0 -22
- package/src/lib/models/ReportType.d.ts +0 -5
- package/src/lib/models/Resource.d.ts +0 -20
- package/src/lib/models/ResponseKeyValue.d.ts +0 -5
- package/src/lib/models/SMSConfig.d.ts +0 -10
- package/src/lib/models/SearchDynamicWrapper.d.ts +0 -5
- package/src/lib/models/SearchOperator.d.ts +0 -4
- package/src/lib/models/SearchPropertySign.d.ts +0 -9
- package/src/lib/models/SearchPropertyValue.d.ts +0 -12
- package/src/lib/models/SearchPropertyValueType.d.ts +0 -9
- package/src/lib/models/Size.d.ts +0 -4
- package/src/lib/models/SortDirection.d.ts +0 -5
- package/src/lib/models/StageActorRule.d.ts +0 -6
- package/src/lib/models/SwimLane.d.ts +0 -13
- package/src/lib/models/Tag.d.ts +0 -6
- package/src/lib/models/Task.d.ts +0 -32
- package/src/lib/models/TaskAssignmentType.d.ts +0 -4
- package/src/lib/models/TaskNotification.d.ts +0 -14
- package/src/lib/models/TaskNotificationMessageType.d.ts +0 -4
- package/src/lib/models/TaskNotificationType.d.ts +0 -7
- package/src/lib/models/TaskStatus.d.ts +0 -7
- package/src/lib/models/Workflow.d.ts +0 -21
- package/src/lib/models/WorkflowAction.d.ts +0 -14
- package/src/lib/models/WorkflowOperation.d.ts +0 -6
- package/src/lib/models/WorkflowStage.d.ts +0 -26
- package/src/lib/models/actors.d.ts +0 -8
- package/src/lib/models/auth-mechanism.d.ts +0 -13
- package/src/lib/models/base.d.ts +0 -13
- package/src/lib/models/object-state.d.ts +0 -6
- package/src/lib/models/operation-type.d.ts +0 -5
- package/src/lib/models/paged.d.ts +0 -9
- package/src/lib/models/public-api.d.ts +0 -63
- package/src/lib/models/query-params.d.ts +0 -8
- package/src/lib/models/status.d.ts +0 -4
- package/src/lib/models/task-history.d.ts +0 -17
- package/src/lib/models/user-access-request-status.d.ts +0 -5
- package/src/lib/models/user.d.ts +0 -24
- package/src/lib/pipes/async-label.pipe.d.ts +0 -11
- package/src/lib/services/environment.service.d.ts +0 -23
- package/src/lib/services/http-web-request.service.d.ts +0 -23
- package/src/lib/services/label.service.d.ts +0 -15
- package/src/lib/services/public-api.d.ts +0 -4
- package/src/lib/services/util.service.d.ts +0 -20
- package/src/lib/shared/base-table-style.d.ts +0 -2
- package/src/lib/shared/components/base-data-view.component.d.ts +0 -41
- package/src/lib/shared/components/base-model-field.d.ts +0 -26
- package/src/lib/shared/models/DataViewConfig.d.ts +0 -11
- package/src/lib/shared/public-api.d.ts +0 -5
- package/src/lib/shared/shared.module.d.ts +0 -11
- /package/src/lib/base/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/actors/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/actors/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/designer/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/designer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/expiration/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/expiration/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/file-render/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/file-render/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/file-upload/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/file-upload/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/flowable-status/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-control/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-control/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/form-group/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-group/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/form-response/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-response/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/form-timer/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/form-timer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{form-viewer/index.d.ts → form-values/index.ts} +0 -0
- /package/src/lib/components/{forms/index.d.ts → form-viewer/index.ts} +0 -0
- /package/src/lib/components/form-viewer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{journal/index.d.ts → forms/index.ts} +0 -0
- /package/src/lib/components/forms/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{my-queue/index.d.ts → journal/index.ts} +0 -0
- /package/src/lib/components/journal/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{operation-popup/index.d.ts → my-queue/index.ts} +0 -0
- /package/src/lib/components/my-queue/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{stage-details/index.d.ts → operation-popup/index.ts} +0 -0
- /package/src/lib/components/operation-popup/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{task-form/index.d.ts → stage-details/index.ts} +0 -0
- /package/src/lib/components/stage-details/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{task-history/index.d.ts → task-form/index.ts} +0 -0
- /package/src/lib/components/task-form/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{task-notification/index.d.ts → task-history/index.ts} +0 -0
- /package/src/lib/components/task-history/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{tasks/index.d.ts → task-notification/index.ts} +0 -0
- /package/src/lib/components/task-notification/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{wf/index.d.ts → tasks/index.ts} +0 -0
- /package/src/lib/components/tasks/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{workflow-designer/index.d.ts → wf/index.ts} +0 -0
- /package/src/lib/components/wf/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{workflows/index.d.ts → workflow/index.ts} +0 -0
- /package/src/lib/components/workflow/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{workflow-stage/index.d.ts → workflow-designer/index.ts} +0 -0
- /package/src/lib/components/workflow-designer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/{workflow/index.d.ts → workflow-stage/index.ts} +0 -0
- /package/src/lib/components/workflow-stage/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/{models/index.d.ts → components/workflows/index.ts} +0 -0
- /package/src/lib/{pipes/index.d.ts → models/index.ts} +0 -0
- /package/src/lib/{services/index.d.ts → pipes/index.ts} +0 -0
- /package/src/lib/pipes/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/shared/{index.d.ts → index.ts} +0 -0
- /package/{styles → src/styles}/styles.css +0 -0
|
@@ -1,336 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { NgModule, viewChild, signal, computed, effect, Component, ViewChild } from '@angular/core';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { DataTableModule, CardModule, SvgModule, DataViewModule, CardDataViewModule, SortTableModule, VisibleColumnModule, TableFilterModule, DataExportModule, VerbenaInputModule, VerbenaButtonModule, VerbenaBadgeModule, VerbenDialogueModule, DropDownModule, VerbenaTextareaModule, VerbenaSwitchModule, VerbenPopUpModule, ChipModule, DatePickerModule, DataColumnsModule, DataXportModule, DataSortModule, DataFilterModule, DataTableComponent, DataFilterType } from 'verben-ng-ui';
|
|
5
|
-
import { EditorModule } from 'verben-reporting-ui';
|
|
6
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
7
|
-
import { AsyncLabelPipe } from 'verben-workflow-ui/src/lib/pipes';
|
|
8
|
-
|
|
9
|
-
class SharedModule {
|
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
11
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, imports: [CommonModule, AsyncLabelPipe], exports: [CommonModule,
|
|
12
|
-
DataTableModule,
|
|
13
|
-
CardModule,
|
|
14
|
-
SvgModule,
|
|
15
|
-
DataViewModule,
|
|
16
|
-
CardDataViewModule,
|
|
17
|
-
SortTableModule,
|
|
18
|
-
VisibleColumnModule,
|
|
19
|
-
TableFilterModule,
|
|
20
|
-
DataExportModule,
|
|
21
|
-
FormsModule,
|
|
22
|
-
ReactiveFormsModule,
|
|
23
|
-
VerbenaInputModule,
|
|
24
|
-
VerbenaButtonModule,
|
|
25
|
-
VerbenaBadgeModule,
|
|
26
|
-
VerbenDialogueModule,
|
|
27
|
-
DropDownModule,
|
|
28
|
-
VerbenaTextareaModule,
|
|
29
|
-
VerbenaSwitchModule,
|
|
30
|
-
VerbenPopUpModule,
|
|
31
|
-
ChipModule,
|
|
32
|
-
DatePickerModule,
|
|
33
|
-
DataColumnsModule,
|
|
34
|
-
DataXportModule,
|
|
35
|
-
DataSortModule,
|
|
36
|
-
DataFilterModule,
|
|
37
|
-
AsyncLabelPipe,
|
|
38
|
-
EditorModule] });
|
|
39
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, imports: [CommonModule, CommonModule,
|
|
40
|
-
DataTableModule,
|
|
41
|
-
CardModule,
|
|
42
|
-
SvgModule,
|
|
43
|
-
DataViewModule,
|
|
44
|
-
CardDataViewModule,
|
|
45
|
-
SortTableModule,
|
|
46
|
-
VisibleColumnModule,
|
|
47
|
-
TableFilterModule,
|
|
48
|
-
DataExportModule,
|
|
49
|
-
FormsModule,
|
|
50
|
-
ReactiveFormsModule,
|
|
51
|
-
VerbenaInputModule,
|
|
52
|
-
VerbenaButtonModule,
|
|
53
|
-
VerbenaBadgeModule,
|
|
54
|
-
VerbenDialogueModule,
|
|
55
|
-
DropDownModule,
|
|
56
|
-
VerbenaTextareaModule,
|
|
57
|
-
VerbenaSwitchModule,
|
|
58
|
-
VerbenPopUpModule,
|
|
59
|
-
ChipModule,
|
|
60
|
-
DatePickerModule,
|
|
61
|
-
DataColumnsModule,
|
|
62
|
-
DataXportModule,
|
|
63
|
-
DataSortModule,
|
|
64
|
-
DataFilterModule,
|
|
65
|
-
EditorModule] });
|
|
66
|
-
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, decorators: [{
|
|
68
|
-
type: NgModule,
|
|
69
|
-
args: [{
|
|
70
|
-
declarations: [],
|
|
71
|
-
imports: [CommonModule, AsyncLabelPipe],
|
|
72
|
-
exports: [
|
|
73
|
-
CommonModule,
|
|
74
|
-
DataTableModule,
|
|
75
|
-
CardModule,
|
|
76
|
-
SvgModule,
|
|
77
|
-
DataViewModule,
|
|
78
|
-
CardDataViewModule,
|
|
79
|
-
SortTableModule,
|
|
80
|
-
VisibleColumnModule,
|
|
81
|
-
TableFilterModule,
|
|
82
|
-
DataExportModule,
|
|
83
|
-
FormsModule,
|
|
84
|
-
ReactiveFormsModule,
|
|
85
|
-
VerbenaInputModule,
|
|
86
|
-
VerbenaButtonModule,
|
|
87
|
-
VerbenaBadgeModule,
|
|
88
|
-
VerbenDialogueModule,
|
|
89
|
-
DropDownModule,
|
|
90
|
-
VerbenaTextareaModule,
|
|
91
|
-
VerbenaSwitchModule,
|
|
92
|
-
VerbenPopUpModule,
|
|
93
|
-
ChipModule,
|
|
94
|
-
DatePickerModule,
|
|
95
|
-
DataColumnsModule,
|
|
96
|
-
DataXportModule,
|
|
97
|
-
DataSortModule,
|
|
98
|
-
DataFilterModule,
|
|
99
|
-
AsyncLabelPipe,
|
|
100
|
-
EditorModule,
|
|
101
|
-
],
|
|
102
|
-
}]
|
|
103
|
-
}] });
|
|
104
|
-
|
|
105
|
-
const baseStyle = {
|
|
106
|
-
width: '100%',
|
|
107
|
-
fontFamily: '"Fraunces", serif',
|
|
108
|
-
fontSize: '125%',
|
|
109
|
-
whiteSpace: 'nowrap',
|
|
110
|
-
margin: '0',
|
|
111
|
-
border: '1px solid var(--vbn-color-primary)',
|
|
112
|
-
borderRadius: '16px',
|
|
113
|
-
borderCollapse: 'separate',
|
|
114
|
-
borderSpacing: '0',
|
|
115
|
-
// tableLayout: 'fixed',
|
|
116
|
-
overflow: 'hidden',
|
|
117
|
-
rows: {
|
|
118
|
-
even: {
|
|
119
|
-
backgroundColor: 'var(--vbn-color-surface)',
|
|
120
|
-
},
|
|
121
|
-
odd: {
|
|
122
|
-
backgroundColor: 'var(--vbn-color-surface-alt)',
|
|
123
|
-
},
|
|
124
|
-
height: '68px',
|
|
125
|
-
},
|
|
126
|
-
cells: {
|
|
127
|
-
padding: '0.5rem 1rem',
|
|
128
|
-
},
|
|
129
|
-
header: {
|
|
130
|
-
stickyTop: true,
|
|
131
|
-
// zIndex: 2,
|
|
132
|
-
backgroundColor: 'var(--vbn-color-surface-alt)',
|
|
133
|
-
fontWeight: 'bold',
|
|
134
|
-
textAlign: 'left',
|
|
135
|
-
padding: '12px 16px',
|
|
136
|
-
height: '40px',
|
|
137
|
-
},
|
|
138
|
-
footer: {
|
|
139
|
-
// stickyBottom: true,
|
|
140
|
-
// zIndex: 2,
|
|
141
|
-
padding: '3px',
|
|
142
|
-
},
|
|
143
|
-
// body: {
|
|
144
|
-
// background: 'var(--vbn-color-surface)',
|
|
145
|
-
// padding: '4px 5px',
|
|
146
|
-
// textAlign: 'center',
|
|
147
|
-
// },
|
|
148
|
-
firstColumn: {
|
|
149
|
-
// stickyLeft: true,
|
|
150
|
-
// zIndex: 1,
|
|
151
|
-
},
|
|
152
|
-
lastColumn: {
|
|
153
|
-
stickyRight: true,
|
|
154
|
-
zIndex: 1,
|
|
155
|
-
textAlign: 'center',
|
|
156
|
-
width: 'min-content',
|
|
157
|
-
},
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
class BaseDataViewComponent {
|
|
161
|
-
cardDataView;
|
|
162
|
-
dataView;
|
|
163
|
-
dataTable = viewChild(DataTableComponent);
|
|
164
|
-
styles = baseStyle;
|
|
165
|
-
// Signals for reactive data management
|
|
166
|
-
data = signal([]);
|
|
167
|
-
cardData;
|
|
168
|
-
// View state management
|
|
169
|
-
currentData = null;
|
|
170
|
-
isGridView = true;
|
|
171
|
-
selected = null;
|
|
172
|
-
// Filtering and sorting state
|
|
173
|
-
visibleColumns = [];
|
|
174
|
-
filterArray = [];
|
|
175
|
-
sortOptions = [];
|
|
176
|
-
selectedColumnCount = 0;
|
|
177
|
-
selectedFilterTableCount = 0;
|
|
178
|
-
selectedSortCount = 0;
|
|
179
|
-
constructor() {
|
|
180
|
-
this.cardData = computed(() => this.data()?.map(this.config.cardDataMapper) ?? []);
|
|
181
|
-
effect(() => {
|
|
182
|
-
const possiblyNewCard = this.cardData().find((c) => !c.data.Name) ?? null;
|
|
183
|
-
if (possiblyNewCard) {
|
|
184
|
-
possiblyNewCard.selected = true;
|
|
185
|
-
this.currentData = this.cardDataView.onItemClick(possiblyNewCard);
|
|
186
|
-
}
|
|
187
|
-
});
|
|
188
|
-
this.initializeConfig();
|
|
189
|
-
}
|
|
190
|
-
ngOnInit() {
|
|
191
|
-
this.loadInitialData();
|
|
192
|
-
}
|
|
193
|
-
// To be implemented by child classes if needed
|
|
194
|
-
loadInitialData() {
|
|
195
|
-
// Default implementation can be overridden
|
|
196
|
-
// this.data.set(this.config.dataSource);
|
|
197
|
-
}
|
|
198
|
-
initializeConfig() {
|
|
199
|
-
// Initialize filter and column configurations
|
|
200
|
-
this.visibleColumns = this.config?.columns?.map((col) => ({
|
|
201
|
-
checked: true,
|
|
202
|
-
name: typeof col.header === 'string' ? col.header : col.id,
|
|
203
|
-
type: DataFilterType.Bool,
|
|
204
|
-
}));
|
|
205
|
-
this.selectedColumnCount = this.config?.columns.length || 0;
|
|
206
|
-
this.filterArray = this.config?.filterOptions || [];
|
|
207
|
-
this.sortOptions = this.config?.sortOptions || [];
|
|
208
|
-
}
|
|
209
|
-
// Generic view and interaction methods
|
|
210
|
-
// openDetailView(identifier: any) {
|
|
211
|
-
// const cardItem = this.getCardDataByIdentifier(identifier);
|
|
212
|
-
// if (cardItem && this.cardDataView) {
|
|
213
|
-
// this.resetSelections();
|
|
214
|
-
// cardItem.selected = true;
|
|
215
|
-
// this.currentData = this.cardDataView.onItemClick(cardItem);
|
|
216
|
-
// this.dataView.toggleView();
|
|
217
|
-
// }
|
|
218
|
-
// }
|
|
219
|
-
// private resetSelections() {
|
|
220
|
-
// this.cardData().forEach((item) => {
|
|
221
|
-
// item.selected = false;
|
|
222
|
-
// item.children?.forEach((child) => (child.selected = false));
|
|
223
|
-
// });
|
|
224
|
-
// }
|
|
225
|
-
// Abstract method to find card data - to be implemented by child
|
|
226
|
-
// protected abstract getCardDataByIdentifier(
|
|
227
|
-
// identifier: any
|
|
228
|
-
// ): CardData | undefined;
|
|
229
|
-
// Common utility methods
|
|
230
|
-
downloadCSV(data) {
|
|
231
|
-
const headers = Object.keys(data[0]);
|
|
232
|
-
const csvContent = [
|
|
233
|
-
headers.join(','),
|
|
234
|
-
...data.map((row) => headers.map((header) => row[header]).join(',')),
|
|
235
|
-
].join('\n');
|
|
236
|
-
const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });
|
|
237
|
-
const link = document.createElement('a');
|
|
238
|
-
if (link.download !== undefined) {
|
|
239
|
-
const url = URL.createObjectURL(blob);
|
|
240
|
-
link.setAttribute('href', url);
|
|
241
|
-
link.setAttribute('download', 'export.csv');
|
|
242
|
-
link.style.visibility = 'hidden';
|
|
243
|
-
document.body.appendChild(link);
|
|
244
|
-
link.click();
|
|
245
|
-
document.body.removeChild(link);
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
// Event handlers
|
|
249
|
-
onViewChange(isGridView) {
|
|
250
|
-
// this.isGridView = isGridView;
|
|
251
|
-
// if (this.currentData) {
|
|
252
|
-
// this.cardDataView?.clearData();
|
|
253
|
-
// this.currentData = null;
|
|
254
|
-
// }
|
|
255
|
-
}
|
|
256
|
-
onColumnsUpdated(updatedColumns) {
|
|
257
|
-
// Update visible columns logic
|
|
258
|
-
this.config.columns = updatedColumns;
|
|
259
|
-
this.selectedColumnCount = updatedColumns.length;
|
|
260
|
-
// Additional column update logic can be added here
|
|
261
|
-
}
|
|
262
|
-
onSortUpdated(updatedSorts) {
|
|
263
|
-
this.selectedSortCount = updatedSorts.length;
|
|
264
|
-
}
|
|
265
|
-
onSelectionChange(selectedRows) {
|
|
266
|
-
}
|
|
267
|
-
onStateChange(event) {
|
|
268
|
-
}
|
|
269
|
-
handleExport(exportedData) {
|
|
270
|
-
this.downloadCSV(exportedData);
|
|
271
|
-
}
|
|
272
|
-
goToCardView(data) {
|
|
273
|
-
const item = this.cardData().find((x) => x.data.Code == data);
|
|
274
|
-
if (item) {
|
|
275
|
-
this.cardClicked(item, true);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
goToTableView() {
|
|
279
|
-
if (!this.currentData) {
|
|
280
|
-
return;
|
|
281
|
-
}
|
|
282
|
-
this.dataView.toggleView();
|
|
283
|
-
const id = this.currentData.data ? this.currentData.data.Code : '';
|
|
284
|
-
if (id.trim().length > 0 && !this.dataTable()?.isRowEditing(id)) {
|
|
285
|
-
this.dataTable()?.toggleRowEdit(id);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
cardClicked(item, toggleView = false) {
|
|
289
|
-
this.currentData = this.cardDataView.onItemClick(item);
|
|
290
|
-
if (toggleView) {
|
|
291
|
-
this.dataView.toggleView();
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseDataViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
295
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.14", type: BaseDataViewComponent, selector: "ng-component", viewQueries: [{ propertyName: "dataTable", first: true, predicate: DataTableComponent, descendants: true, isSignal: true }, { propertyName: "cardDataView", first: true, predicate: ["vdcv"], descendants: true }, { propertyName: "dataView", first: true, predicate: ["vdv"], descendants: true }], ngImport: i0, template: '', isInline: true });
|
|
296
|
-
}
|
|
297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseDataViewComponent, decorators: [{
|
|
298
|
-
type: Component,
|
|
299
|
-
args: [{
|
|
300
|
-
template: '',
|
|
301
|
-
}]
|
|
302
|
-
}], ctorParameters: () => [], propDecorators: { cardDataView: [{
|
|
303
|
-
type: ViewChild,
|
|
304
|
-
args: ['vdcv']
|
|
305
|
-
}], dataView: [{
|
|
306
|
-
type: ViewChild,
|
|
307
|
-
args: ['vdv']
|
|
308
|
-
}] } });
|
|
309
|
-
|
|
310
|
-
class BaseModeField {
|
|
311
|
-
value;
|
|
312
|
-
key;
|
|
313
|
-
label;
|
|
314
|
-
required;
|
|
315
|
-
order;
|
|
316
|
-
controlType;
|
|
317
|
-
type;
|
|
318
|
-
options;
|
|
319
|
-
constructor(options = {}) {
|
|
320
|
-
this.value = options.value;
|
|
321
|
-
this.key = options.key || '';
|
|
322
|
-
this.label = options.label || '';
|
|
323
|
-
this.required = !!options.required;
|
|
324
|
-
this.order = options.order === undefined ? 1 : options.order;
|
|
325
|
-
this.controlType = options.controlType || 'text';
|
|
326
|
-
this.type = options.type || '';
|
|
327
|
-
this.options = options.options || [];
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/**
|
|
332
|
-
* Generated bundle index. Do not edit.
|
|
333
|
-
*/
|
|
334
|
-
|
|
335
|
-
export { BaseDataViewComponent, BaseModeField, SharedModule, baseStyle, baseStyle as sharedBaseStyle };
|
|
336
|
-
//# sourceMappingURL=verben-workflow-ui-src-lib-shared.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"verben-workflow-ui-src-lib-shared.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/shared/shared.module.ts","../../../projects/verben-workflow-ui/src/lib/shared/base-table-style.ts","../../../projects/verben-workflow-ui/src/lib/shared/components/base-data-view.component.ts","../../../projects/verben-workflow-ui/src/lib/shared/components/base-model-field.ts","../../../projects/verben-workflow-ui/src/lib/shared/verben-workflow-ui-src-lib-shared.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {\n CardDataViewModule,\n CardModule,\n DataExportModule,\n DataTableModule,\n DataViewModule,\n DropDownModule,\n SortTableModule,\n SvgModule,\n TableFilterModule,\n VerbenaBadgeModule,\n VerbenaButtonModule,\n VerbenaInputModule,\n VerbenaSwitchModule,\n VerbenDialogueModule,\n VisibleColumnModule,\n VerbenaTextareaModule,\n VerbenPopUpModule,\n ChipModule,\n DatePickerModule,\n DataColumnsModule,\n DataXportModule,\n DataSortModule,\n DataFilterModule,\n} from 'verben-ng-ui';\n\nimport { EditorModule } from 'verben-reporting-ui';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { AsyncLabelPipe } from 'verben-workflow-ui/src/lib/pipes';\n\n@NgModule({\n declarations: [],\n imports: [CommonModule, AsyncLabelPipe],\n exports: [\n CommonModule,\n DataTableModule,\n CardModule,\n SvgModule,\n DataViewModule,\n CardDataViewModule,\n SortTableModule,\n VisibleColumnModule,\n TableFilterModule,\n DataExportModule,\n FormsModule,\n ReactiveFormsModule,\n VerbenaInputModule,\n VerbenaButtonModule,\n VerbenaBadgeModule,\n VerbenDialogueModule,\n DropDownModule,\n VerbenaTextareaModule,\n VerbenaSwitchModule,\n VerbenPopUpModule,\n ChipModule,\n DatePickerModule,\n DataColumnsModule,\n DataXportModule,\n DataSortModule,\n DataFilterModule,\n AsyncLabelPipe,\n EditorModule,\n ],\n})\nexport class SharedModule {}\n","import { TableStyles } from 'verben-ng-ui';\n\nexport const baseStyle: TableStyles = {\n width: '100%',\n fontFamily: '\"Fraunces\", serif',\n fontSize: '125%',\n whiteSpace: 'nowrap',\n margin: '0',\n border: '1px solid var(--vbn-color-primary)',\n borderRadius: '16px',\n borderCollapse: 'separate',\n borderSpacing: '0',\n // tableLayout: 'fixed',\n overflow: 'hidden',\n rows: {\n even: {\n backgroundColor: 'var(--vbn-color-surface)',\n },\n odd: {\n backgroundColor: 'var(--vbn-color-surface-alt)',\n },\n height: '68px',\n },\n cells: {\n padding: '0.5rem 1rem',\n },\n header: {\n stickyTop: true,\n // zIndex: 2,\n backgroundColor: 'var(--vbn-color-surface-alt)',\n fontWeight: 'bold',\n textAlign: 'left',\n padding: '12px 16px',\n height: '40px',\n },\n footer: {\n // stickyBottom: true,\n // zIndex: 2,\n padding: '3px',\n },\n // body: {\n // background: 'var(--vbn-color-surface)',\n // padding: '4px 5px',\n // textAlign: 'center',\n // },\n firstColumn: {\n // stickyLeft: true,\n // zIndex: 1,\n },\n lastColumn: {\n stickyRight: true,\n zIndex: 1,\n textAlign: 'center',\n width: 'min-content',\n },\n};\n","import {\n Component,\n computed,\n effect,\n OnInit,\n signal,\n viewChild,\n ViewChild,\n} from '@angular/core';\nimport {\n CardData,\n CardDataViewComponent,\n ColumnDefinition,\n DataFilterType,\n DataTableComponent,\n DataViewComponent,\n IDataFilter,\n SortCondition,\n} from 'verben-ng-ui';\nimport { baseStyle } from '../base-table-style';\nimport { DataViewConfig } from '../models/DataViewConfig';\n\n@Component({\n template: '',\n})\nexport abstract class BaseDataViewComponent<T> implements OnInit {\n @ViewChild('vdcv') cardDataView!: CardDataViewComponent;\n @ViewChild('vdv') dataView!: DataViewComponent;\n dataTable = viewChild(DataTableComponent);\n styles = baseStyle;\n\n // Configurable properties\n abstract config: DataViewConfig<T>;\n\n // Signals for reactive data management\n data = signal<T[]>([]);\n cardData;\n\n // View state management\n currentData: CardData | null = null;\n isGridView = true;\n selected: CardData | null = null;\n\n // Filtering and sorting state\n visibleColumns: IDataFilter[] = [];\n filterArray: IDataFilter[] = [];\n sortOptions: IDataFilter[] = [];\n\n selectedColumnCount = 0;\n selectedFilterTableCount = 0;\n selectedSortCount = 0;\n\n constructor() {\n this.cardData = computed(\n () => this.data()?.map(this.config.cardDataMapper) ?? []\n );\n effect(() => {\n const possiblyNewCard = this.cardData().find((c) => !c.data.Name) ?? null;\n if (possiblyNewCard) {\n possiblyNewCard.selected = true;\n this.currentData = this.cardDataView.onItemClick(possiblyNewCard);\n }\n });\n this.initializeConfig();\n }\n\n ngOnInit() {\n this.loadInitialData();\n }\n\n // To be implemented by child classes if needed\n protected loadInitialData() {\n // Default implementation can be overridden\n // this.data.set(this.config.dataSource);\n }\n\n private initializeConfig() {\n // Initialize filter and column configurations\n this.visibleColumns = this.config?.columns?.map((col) => ({\n checked: true,\n name: typeof col.header === 'string' ? col.header : col.id,\n type: DataFilterType.Bool,\n }));\n\n this.selectedColumnCount = this.config?.columns.length || 0;\n this.filterArray = this.config?.filterOptions || [];\n this.sortOptions = this.config?.sortOptions || [];\n }\n\n // Generic view and interaction methods\n // openDetailView(identifier: any) {\n // const cardItem = this.getCardDataByIdentifier(identifier);\n // if (cardItem && this.cardDataView) {\n // this.resetSelections();\n // cardItem.selected = true;\n // this.currentData = this.cardDataView.onItemClick(cardItem);\n // this.dataView.toggleView();\n // }\n // }\n\n // private resetSelections() {\n // this.cardData().forEach((item) => {\n // item.selected = false;\n // item.children?.forEach((child) => (child.selected = false));\n // });\n // }\n\n // Abstract method to find card data - to be implemented by child\n // protected abstract getCardDataByIdentifier(\n // identifier: any\n // ): CardData | undefined;\n\n // Common utility methods\n downloadCSV(data: Partial<any>[]) {\n const headers = Object.keys(data[0]);\n const csvContent = [\n headers.join(','),\n ...data.map((row) => headers.map((header) => row[header]).join(',')),\n ].join('\\n');\n const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });\n const link = document.createElement('a');\n if (link.download !== undefined) {\n const url = URL.createObjectURL(blob);\n link.setAttribute('href', url);\n link.setAttribute('download', 'export.csv');\n link.style.visibility = 'hidden';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n }\n\n // Event handlers\n onViewChange(isGridView: boolean): void {\n // this.isGridView = isGridView;\n // if (this.currentData) {\n // this.cardDataView?.clearData();\n // this.currentData = null;\n // }\n }\n\n onColumnsUpdated(updatedColumns: ColumnDefinition<T>[]) {\n // Update visible columns logic\n this.config.columns = updatedColumns;\n this.selectedColumnCount = updatedColumns.length;\n // Additional column update logic can be added here\n }\n\n onSortUpdated(updatedSorts: SortCondition[]) {\n this.selectedSortCount = updatedSorts.length;\n }\n\n onSelectionChange(selectedRows: T[]) {\n }\n\n onStateChange(event: { key: string; value: boolean }): void {\n }\n\n handleExport(exportedData: Partial<T>[]) {\n this.downloadCSV(exportedData);\n }\n\n goToCardView(data: T) {\n const item = this.cardData().find((x) => x.data.Code == data);\n if (item) {\n this.cardClicked(item, true);\n }\n }\n\n goToTableView() {\n if (!this.currentData) {\n return;\n }\n this.dataView.toggleView();\n const id = this.currentData.data ? this.currentData.data.Code : '';\n if (id.trim().length > 0 && !this.dataTable()?.isRowEditing(id)) {\n this.dataTable()?.toggleRowEdit(id);\n }\n }\n\n cardClicked(item: CardData, toggleView: boolean = false) {\n this.currentData = this.cardDataView.onItemClick(item);\n if (toggleView) {\n this.dataView.toggleView();\n }\n }\n}\n","export class BaseModeField<T> {\n value: T | undefined;\n key: string;\n label: string;\n required: boolean;\n order: number;\n controlType: 'text' | 'select' | 'multiselect';\n type: string;\n options: { key: string; value: string }[];\n constructor(\n options: {\n value?: T;\n key?: string;\n label?: string;\n required?: boolean;\n order?: number;\n controlType?: 'text' | 'select' | 'multiselect';\n type?: string;\n options?: { key: string; value: string }[];\n } = {}\n ) {\n this.value = options.value;\n this.key = options.key || '';\n this.label = options.label || '';\n this.required = !!options.required;\n this.order = options.order === undefined ? 1 : options.order;\n this.controlType = options.controlType || 'text';\n this.type = options.type || '';\n this.options = options.options || [];\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export * from 'verben-workflow-ui/src/lib/services';
|
|
2
|
-
export * from 'verben-workflow-ui/src/lib/models';
|
|
3
|
-
export * from 'verben-workflow-ui/src/lib/shared';
|
|
4
|
-
export * from 'verben-workflow-ui/src/lib/components/tasks';
|
|
5
|
-
export * from 'verben-workflow-ui/src/lib/components/my-queue';
|
|
6
|
-
export * from 'verben-workflow-ui/src/lib/components/workflow';
|
|
7
|
-
export * from 'verben-workflow-ui/src/lib/components/workflows';
|
|
8
|
-
export * from 'verben-workflow-ui/src/lib/components/wf';
|
|
9
|
-
export * from 'verben-workflow-ui/src/lib/components/workflow-designer';
|
|
10
|
-
export * from 'verben-workflow-ui/src/lib/components/designer';
|
|
11
|
-
export * from 'verben-workflow-ui/src/lib/components/task-history';
|
|
12
|
-
export * from 'verben-workflow-ui/src/lib/components/forms';
|
|
13
|
-
export * from 'verben-workflow-ui/src/lib/components/form-group';
|
|
14
|
-
export * from 'verben-workflow-ui/src/lib/components/form-response';
|
|
15
|
-
export * from 'verben-workflow-ui/src/lib/components/stage-details';
|
|
16
|
-
export * from 'verben-workflow-ui/src/lib/components/expiration';
|
|
17
|
-
export * from 'verben-workflow-ui/src/lib/components/journal';
|
|
18
|
-
export * from 'verben-workflow-ui/src/lib/components/task-notification';
|
|
19
|
-
export * from 'verben-workflow-ui/src/lib/components/actors';
|
|
20
|
-
export * from 'verben-workflow-ui/src/lib/components/flowable-status';
|
|
21
|
-
export * from 'verben-workflow-ui/src/lib/components/form-viewer';
|
|
22
|
-
export * from 'verben-workflow-ui/src/lib/components/workflow-stage';
|
|
23
|
-
|
|
24
|
-
/*
|
|
25
|
-
* Public API Surface of verben-ng-ui
|
|
26
|
-
*/
|
|
27
|
-
// export * from './lib/verben-ng-ui.service';
|
|
28
|
-
// export * from './lib/verben-ng-ui.component';
|
|
29
|
-
// Exporting modules
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Generated bundle index. Do not edit.
|
|
33
|
-
*/
|
|
34
|
-
//# sourceMappingURL=verben-workflow-ui.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"verben-workflow-ui.mjs","sources":["../../../projects/verben-workflow-ui/src/public-api.ts","../../../projects/verben-workflow-ui/src/verben-workflow-ui.ts"],"sourcesContent":["/*\n * Public API Surface of verben-ng-ui\n */\n\n// export * from './lib/verben-ng-ui.service';\n// export * from './lib/verben-ng-ui.component';\n\n// Exporting modules\n\nexport * from 'verben-workflow-ui/src/lib/services';\n\nexport * from 'verben-workflow-ui/src/lib/models';\n\nexport * from 'verben-workflow-ui/src/lib/shared';\n\nexport * from 'verben-workflow-ui/src/lib/components/tasks';\n\nexport * from 'verben-workflow-ui/src/lib/components/my-queue';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow';\nexport * from 'verben-workflow-ui/src/lib/components/workflows';\n\nexport * from 'verben-workflow-ui/src/lib/components/wf';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow-designer';\n\nexport * from 'verben-workflow-ui/src/lib/components/designer';\n\n//task history\nexport * from 'verben-workflow-ui/src/lib/components/task-history';\n//forms\nexport * from 'verben-workflow-ui/src/lib/components/forms';\n//form group\nexport * from 'verben-workflow-ui/src/lib/components/form-group';\n//form response\nexport * from 'verben-workflow-ui/src/lib/components/form-response';\n//stage details\nexport * from 'verben-workflow-ui/src/lib/components/stage-details';\n//expiration\nexport * from 'verben-workflow-ui/src/lib/components/expiration';\n\n//journal\nexport * from 'verben-workflow-ui/src/lib/components/journal';\n\nexport * from 'verben-workflow-ui/src/lib/components/task-notification';\n\n//actors\nexport * from 'verben-workflow-ui/src/lib/components/actors';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v2';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v3';\n// export * from 'verben-workflow-ui/src/lib/components/actors-readonly';\n\n//flowable-status\nexport * from 'verben-workflow-ui/src/lib/components/flowable-status';\nexport * from 'verben-workflow-ui/src/lib/components/form-viewer';\nexport * from 'verben-workflow-ui/src/lib/components/workflow-stage';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG;AAEH;AACA;AAEA;;ACPA;;AAEG"}
|
package/index.d.ts
DELETED
package/public-api.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export * from 'verben-workflow-ui/src/lib/services';
|
|
2
|
-
export * from 'verben-workflow-ui/src/lib/models';
|
|
3
|
-
export * from 'verben-workflow-ui/src/lib/shared';
|
|
4
|
-
export * from 'verben-workflow-ui/src/lib/components/tasks';
|
|
5
|
-
export * from 'verben-workflow-ui/src/lib/components/my-queue';
|
|
6
|
-
export * from 'verben-workflow-ui/src/lib/components/workflow';
|
|
7
|
-
export * from 'verben-workflow-ui/src/lib/components/workflows';
|
|
8
|
-
export * from 'verben-workflow-ui/src/lib/components/wf';
|
|
9
|
-
export * from 'verben-workflow-ui/src/lib/components/workflow-designer';
|
|
10
|
-
export * from 'verben-workflow-ui/src/lib/components/designer';
|
|
11
|
-
export * from 'verben-workflow-ui/src/lib/components/task-history';
|
|
12
|
-
export * from 'verben-workflow-ui/src/lib/components/forms';
|
|
13
|
-
export * from 'verben-workflow-ui/src/lib/components/form-group';
|
|
14
|
-
export * from 'verben-workflow-ui/src/lib/components/form-response';
|
|
15
|
-
export * from 'verben-workflow-ui/src/lib/components/stage-details';
|
|
16
|
-
export * from 'verben-workflow-ui/src/lib/components/expiration';
|
|
17
|
-
export * from 'verben-workflow-ui/src/lib/components/journal';
|
|
18
|
-
export * from 'verben-workflow-ui/src/lib/components/task-notification';
|
|
19
|
-
export * from 'verben-workflow-ui/src/lib/components/actors';
|
|
20
|
-
export * from 'verben-workflow-ui/src/lib/components/flowable-status';
|
|
21
|
-
export * from 'verben-workflow-ui/src/lib/components/form-viewer';
|
|
22
|
-
export * from 'verben-workflow-ui/src/lib/components/workflow-stage';
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { OnDestroy, WritableSignal } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { BaseModel } from 'verben-workflow-ui/src/lib/models';
|
|
4
|
-
import { UtilService } from 'verben-workflow-ui/src/lib/services';
|
|
5
|
-
import { CardData, ColumnDefinition, FilterCondition, SortCondition } from 'verben-ng-ui';
|
|
6
|
-
import { SearchHandlerService } from '../handlers/search-handler.service';
|
|
7
|
-
import { BasePageConfig } from '../models/page-config.interface';
|
|
8
|
-
import { BaseDataPageService } from './base-data-page.service';
|
|
9
|
-
import { BaseDataPageState } from './base-data-page.state';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
/**
|
|
12
|
-
* Abstract facade for base data pages.
|
|
13
|
-
* Orchestrates state, service, and search handler, and surfaces the host app's
|
|
14
|
-
* busy indicator / toasts through UtilService.
|
|
15
|
-
*/
|
|
16
|
-
export declare abstract class BaseDataPageFacade<T extends BaseModel> implements OnDestroy {
|
|
17
|
-
protected state: BaseDataPageState<T>;
|
|
18
|
-
protected service: BaseDataPageService<T>;
|
|
19
|
-
protected searchHandler: SearchHandlerService;
|
|
20
|
-
protected utilService: UtilService;
|
|
21
|
-
protected config: BasePageConfig<T>;
|
|
22
|
-
private destroy$;
|
|
23
|
-
private cardSelectionCleared;
|
|
24
|
-
/**
|
|
25
|
-
* The saved config record for this page (once loaded/created), retained so
|
|
26
|
-
* successive saves in a session update the same record instead of duplicating.
|
|
27
|
-
*/
|
|
28
|
-
private savedOption?;
|
|
29
|
-
constructor(state: BaseDataPageState<T>, service: BaseDataPageService<T>, searchHandler: SearchHandlerService, utilService: UtilService, config: BasePageConfig<T>);
|
|
30
|
-
getConfig(): BasePageConfig<T>;
|
|
31
|
-
getColumns(): ColumnDefinition<T>[];
|
|
32
|
-
get items$(): Observable<T[]>;
|
|
33
|
-
get isLoading$(): Observable<boolean>;
|
|
34
|
-
get totalCount$(): Observable<number>;
|
|
35
|
-
get filters$(): Observable<FilterCondition[]>;
|
|
36
|
-
get sorts$(): Observable<SortCondition[]>;
|
|
37
|
-
get searchTerm$(): Observable<string>;
|
|
38
|
-
get visibleColumns$(): Observable<ColumnDefinition<T>[]>;
|
|
39
|
-
/** Last table/card view (true = table). Restored on load, persisted on change. */
|
|
40
|
-
get isTableView$(): Observable<boolean>;
|
|
41
|
-
getIsTableViewValue(): boolean;
|
|
42
|
-
get cardData(): WritableSignal<CardData[]>;
|
|
43
|
-
get currentCardData(): WritableSignal<CardData | null>;
|
|
44
|
-
/**
|
|
45
|
-
* Emits when a refetch invalidates the current card selection.
|
|
46
|
-
* Card views listen to this to clear their own selection state.
|
|
47
|
-
*/
|
|
48
|
-
get cardSelectionCleared$(): Observable<void>;
|
|
49
|
-
loadData(): Promise<void>;
|
|
50
|
-
addItem(item: T): void;
|
|
51
|
-
loadMore(): Promise<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Fetch an arbitrary window without touching page state, honouring the active
|
|
54
|
-
* search, filters and sorts. Backs the export component's dataQueryFunction.
|
|
55
|
-
*/
|
|
56
|
-
loadRange(skip: number, limit: number): Promise<T[]>;
|
|
57
|
-
refresh(): Promise<void>;
|
|
58
|
-
onSearch(term: string): void;
|
|
59
|
-
private initializeSearchHandler;
|
|
60
|
-
applyFilters(filters: FilterCondition[]): Promise<void>;
|
|
61
|
-
clearFilters(): Promise<void>;
|
|
62
|
-
applySorts(sorts: SortCondition[]): Promise<void>;
|
|
63
|
-
clearSorts(): Promise<void>;
|
|
64
|
-
updateVisibleColumns(columns: ColumnDefinition<T>[]): void;
|
|
65
|
-
/**
|
|
66
|
-
* Update the table/card view flag WITHOUT persisting. Use for transient or
|
|
67
|
-
* internal switches (e.g. dropping to card view to open a create form).
|
|
68
|
-
*/
|
|
69
|
-
setViewState(isTableView: boolean): void;
|
|
70
|
-
/** Record the user's table/card choice and persist it (non-blocking). */
|
|
71
|
-
setView(isTableView: boolean): void;
|
|
72
|
-
/**
|
|
73
|
-
* Restore this page's saved config (via the host UTIL_SERVICE), then load data.
|
|
74
|
-
* Safe to call in place of loadData() from the page's ngOnInit. When the page
|
|
75
|
-
* has no `ui` (opt-out) or nothing is saved / the host doesn't support it, it
|
|
76
|
-
* just loads data.
|
|
77
|
-
*/
|
|
78
|
-
restoreSavedConfig(): Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* Assemble the current page config and persist it through the host. Fire-and-
|
|
81
|
-
* forget: never awaited, so the triggering UI action is not blocked. No-op when
|
|
82
|
-
* the page opts out of persistence (`ui` unset).
|
|
83
|
-
*/
|
|
84
|
-
private persistConfig;
|
|
85
|
-
/** Map ordered saved column ids back onto the config's ColumnDefinitions. */
|
|
86
|
-
private rebuildColumns;
|
|
87
|
-
/** A fresh, unsaved PageFilterTabOption for this page. */
|
|
88
|
-
private newOption;
|
|
89
|
-
selectCard(cardData: CardData | null): void;
|
|
90
|
-
/**
|
|
91
|
-
* Close the detail form.
|
|
92
|
-
*
|
|
93
|
-
* Goes through clearCardSelection rather than `selectCard(null)`: nulling the
|
|
94
|
-
* signal alone only empties the form's fields, because CardDataViewComponent
|
|
95
|
-
* holds its own `currentItem` that keeps the right-hand panel on screen. The
|
|
96
|
-
* cardSelectionCleared$ notification is what lets the component tear that down.
|
|
97
|
-
*/
|
|
98
|
-
closeForm(): void;
|
|
99
|
-
/**
|
|
100
|
-
* Open the detail form for a record. Routed through selectCard so table-row
|
|
101
|
-
* edit and card click share one source of truth for the open record — the
|
|
102
|
-
* form template binds the current card, not a separate "selected item".
|
|
103
|
-
* Reuses the matching existing card when there is one.
|
|
104
|
-
*/
|
|
105
|
-
openForm(item?: T): void;
|
|
106
|
-
/**
|
|
107
|
-
* Prepend a blank record and open it. Replaces the old approach of inferring
|
|
108
|
-
* "this must be the new one" from a falsy Name, which re-opened the form
|
|
109
|
-
* whenever a refetch happened to contain a blank-named record.
|
|
110
|
-
*/
|
|
111
|
-
createItem(blank: T): T;
|
|
112
|
-
/**
|
|
113
|
-
* Stable identity, matching BaseDataPageState.getItemKey. Kept here so the
|
|
114
|
-
* facade can match cards without widening the state's protected seam.
|
|
115
|
-
*/
|
|
116
|
-
protected itemKey(item: T): string;
|
|
117
|
-
/**
|
|
118
|
-
* Drop the current card selection because the data it referred to is being
|
|
119
|
-
* replaced. Called by loadData(); deliberately not by loadMore(), which only
|
|
120
|
-
* appends and leaves an existing selection valid.
|
|
121
|
-
*/
|
|
122
|
-
protected clearCardSelection(): void;
|
|
123
|
-
/**
|
|
124
|
-
* Stamp the write state a record should be saved with.
|
|
125
|
-
*
|
|
126
|
-
* A record is new only when it has no Code yet (the backend always assigns
|
|
127
|
-
* Code on persisted records). Don't trust the loaded DataState here: records
|
|
128
|
-
* returned from the backend come through unchanged and report DataState
|
|
129
|
-
* 'New', which would force an insert (and thus duplicate) on every edit.
|
|
130
|
-
*/
|
|
131
|
-
protected withDataState(item: T): T;
|
|
132
|
-
saveItems(items: T[]): Promise<boolean>;
|
|
133
|
-
deleteItems(itemIds: string[]): Promise<boolean>;
|
|
134
|
-
exportData(): Promise<T[]>;
|
|
135
|
-
ngOnDestroy(): void;
|
|
136
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseDataPageFacade<any>, never>;
|
|
137
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseDataPageFacade<any>>;
|
|
138
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { BaseModel, ErrorResponse, Paged, SortDirection } from 'verben-workflow-ui/src/lib/models';
|
|
2
|
-
import { HttpWebRequestService } from 'verben-workflow-ui/src/lib/services';
|
|
3
|
-
import { ColumnDefinition, FilterCondition, SortCondition } from 'verben-ng-ui';
|
|
4
|
-
import { FilterHandlerService } from '../handlers/filter-handler.service';
|
|
5
|
-
import { PrimarySort, SortHandlerService } from '../handlers/sort-handler.service';
|
|
6
|
-
import { SearchPropertyValue } from '../models/api-payload';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Abstract base service for data pages.
|
|
10
|
-
* Handles list/search/save/delete with filter and sort support.
|
|
11
|
-
*
|
|
12
|
-
* The concrete URLs are built by the protected `*Url` seams below. Unlike the
|
|
13
|
-
* sibling libraries, every endpoint in the workflow API carries the sort as URL
|
|
14
|
-
* segments — `Get{Endpoint}/{skip}/{limit}/{sortParam}/{sortOrder}`, and the
|
|
15
|
-
* POST search does too — so the seams take sort parameters. Services whose
|
|
16
|
-
* endpoint names or shapes deviate (plural vs singular, query-string deletes)
|
|
17
|
-
* override just the URL rather than reimplementing `getData()`.
|
|
18
|
-
*
|
|
19
|
-
* When `baseUrl` is omitted, HttpWebRequestService falls back to the WorkFlowAPI
|
|
20
|
-
* base.
|
|
21
|
-
*/
|
|
22
|
-
export declare abstract class BaseDataPageService<T extends BaseModel> {
|
|
23
|
-
protected server: HttpWebRequestService;
|
|
24
|
-
protected filterHandler: FilterHandlerService;
|
|
25
|
-
protected sortHandler: SortHandlerService;
|
|
26
|
-
protected baseUrl?: string | undefined;
|
|
27
|
-
constructor(server: HttpWebRequestService, filterHandler: FilterHandlerService, sortHandler: SortHandlerService, baseUrl?: string | undefined);
|
|
28
|
-
/** API endpoint name (e.g. 'FlowableStatus'). Must be implemented by child classes. */
|
|
29
|
-
abstract getEndpoint(): string;
|
|
30
|
-
/** Sort property used when the user has not chosen one. */
|
|
31
|
-
protected defaultSortParam(): string;
|
|
32
|
-
protected defaultSortOrder(): SortDirection;
|
|
33
|
-
protected listUrl(skip: number, limit: number, sortParam: string, sortOrder: string): string;
|
|
34
|
-
protected searchTermUrl(term: string, skip: number, limit: number, sortParam: string, sortOrder: string): string;
|
|
35
|
-
protected filterSearchUrl(skip: number, limit: number, sortParam: string, sortOrder: string): string;
|
|
36
|
-
protected saveUrl(): string;
|
|
37
|
-
protected deleteUrl(itemIds: string[]): string;
|
|
38
|
-
buildPayload(filters: FilterCondition[], sorts: SortCondition[], columns: ColumnDefinition<T>[]): SearchPropertyValue[];
|
|
39
|
-
/** Filter-only payload (no sorts) for persisting saved filters. */
|
|
40
|
-
buildFilterPayloadOnly(filters: FilterCondition[], columns: ColumnDefinition<T>[]): SearchPropertyValue[];
|
|
41
|
-
/** Inverse of {@link buildFilterPayloadOnly}: rebuild FilterCondition[] on restore. */
|
|
42
|
-
parseFilterPayload(payload: SearchPropertyValue[], columns: ColumnDefinition<T>[]): FilterCondition[];
|
|
43
|
-
/**
|
|
44
|
-
* The sort the URL will carry: the user's first sortable selection, else the
|
|
45
|
-
* page default.
|
|
46
|
-
*/
|
|
47
|
-
protected resolveSort(sorts: SortCondition[] | undefined, columns: ColumnDefinition<T>[] | undefined): PrimarySort;
|
|
48
|
-
/**
|
|
49
|
-
* Fetch data, automatically choosing the endpoint based on parameters:
|
|
50
|
-
* search-only -> GET WithParam, filters -> POST Search, otherwise plain GET.
|
|
51
|
-
*
|
|
52
|
-
* Sorts alone do not force the POST path: the plain GET already carries sort
|
|
53
|
-
* in its URL, so a sort-only request stays a GET.
|
|
54
|
-
*/
|
|
55
|
-
getData(skip: number, limit: number, filters?: FilterCondition[], sorts?: SortCondition[], searchTerm?: string, columns?: ColumnDefinition<T>[]): Promise<Paged<T> | ErrorResponse>;
|
|
56
|
-
saveItems(items: T[]): Promise<T[] | ErrorResponse>;
|
|
57
|
-
deleteItems(itemIds: string[]): Promise<boolean | ErrorResponse>;
|
|
58
|
-
exportData(filters?: FilterCondition[], sorts?: SortCondition[], searchTerm?: string, columns?: ColumnDefinition<T>[]): Promise<T[] | ErrorResponse>;
|
|
59
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseDataPageService<any>, never>;
|
|
60
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseDataPageService<any>>;
|
|
61
|
-
}
|