verben-workflow-ui 0.5.91 → 0.5.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ng-package.json +15 -0
- package/package.json +8 -193
- package/src/lib/base/core/base-data-page.facade.ts +533 -0
- package/src/lib/base/core/base-data-page.service.ts +222 -0
- package/src/lib/base/core/base-data-page.state.ts +287 -0
- package/src/lib/base/handlers/filter-handler.service.ts +169 -0
- package/src/lib/base/handlers/search-handler.service.ts +33 -0
- package/src/lib/base/handlers/sort-handler.service.ts +93 -0
- package/src/lib/base/models/api-payload.ts +13 -0
- package/src/lib/base/models/page-config.interface.ts +49 -0
- package/src/lib/base/models/page-filter-tab-option.interface.ts +20 -0
- package/src/lib/base/ng-package.json +6 -0
- package/src/lib/base/public-api.ts +16 -0
- package/src/lib/base/utils/column-helpers.ts +77 -0
- package/src/lib/components/actors/actors.columns.ts +40 -0
- package/src/lib/components/actors/actors.component.css +0 -0
- package/src/lib/components/actors/actors.component.html +320 -0
- package/src/lib/components/actors/actors.component.spec.ts +23 -0
- package/src/lib/components/actors/actors.component.ts +221 -0
- package/src/lib/components/actors/actors.config.ts +55 -0
- package/src/lib/components/actors/actors.facade.ts +71 -0
- package/src/lib/components/actors/actors.form.component.html +37 -0
- package/src/lib/components/actors/actors.form.component.ts +69 -0
- package/src/lib/components/actors/actors.model.ts +4 -0
- package/src/lib/components/actors/actors.module.ts +13 -0
- package/src/lib/components/actors/actors.service.ts +85 -0
- package/src/lib/components/actors/actors.state.ts +31 -0
- package/src/lib/components/actors/ng-package.json +6 -0
- package/src/lib/components/designer/components/label-editor.component.ts +188 -0
- package/src/lib/components/designer/components/node-selector.component.ts +208 -0
- package/src/lib/components/designer/components/swimlane-label.component.ts +102 -0
- package/src/lib/components/designer/components/swimlane-popup.component.ts +51 -0
- package/src/lib/components/designer/components/wf-canvas.component.ts +495 -0
- package/src/lib/components/designer/components/wf-designer.component.ts +182 -0
- package/src/lib/components/designer/components/wf-node.component.ts +91 -0
- package/src/lib/components/designer/components/wf-properties-popup.component.ts +257 -0
- package/src/lib/components/designer/components/wf-toolbar.component.ts +84 -0
- package/src/lib/components/designer/models/types.ts +132 -0
- package/src/lib/components/designer/ng-package.json +6 -0
- package/src/lib/components/designer/services/canvas-state.service.ts +63 -0
- package/src/lib/components/designer/services/connection-segment-interaction.service.ts +141 -0
- package/src/lib/components/designer/services/connection.service.ts +350 -0
- package/src/lib/components/designer/services/keyboard-handler.service.ts +39 -0
- package/src/lib/components/designer/services/label-management.service.ts +72 -0
- package/src/lib/components/designer/services/node-finder.service.ts +34 -0
- package/src/lib/components/designer/services/node-interaction.service.ts +135 -0
- package/src/lib/components/designer/services/node-placement.service.ts +77 -0
- package/src/lib/components/designer/services/node-precondition.service.ts +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 +447 -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 +254 -0
- package/src/lib/components/form-control/form-control.component.spec.ts +23 -0
- package/src/lib/components/form-control/form-control.component.ts +169 -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 +791 -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 +723 -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-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 +27 -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 +162 -0
- package/src/lib/components/my-queue/tasks.form.component.ts +179 -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 +416 -0
- package/src/lib/components/operation-popup/operation-popup.service.ts +120 -0
- package/src/lib/components/operation-popup/operation-popup.state.ts +49 -0
- package/src/lib/components/stage-details/ng-package.json +6 -0
- package/src/lib/components/stage-details/stage-details.component.css +0 -0
- package/src/lib/components/stage-details/stage-details.component.html +95 -0
- package/src/lib/components/stage-details/stage-details.component.spec.ts +23 -0
- package/src/lib/components/stage-details/stage-details.component.ts +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 +145 -0
- package/src/lib/components/task-history/task-history.component.spec.ts +23 -0
- package/src/lib/components/task-history/task-history.component.ts +232 -0
- package/src/lib/components/task-history/task-history.module.ts +11 -0
- package/src/lib/components/task-history/task-history.service.ts +32 -0
- package/src/lib/components/task-notification/base-table-style.ts +52 -0
- package/src/lib/components/task-notification/ng-package.json +6 -0
- package/src/lib/components/task-notification/task-notification.component.css +94 -0
- package/src/lib/components/task-notification/task-notification.component.html +585 -0
- package/src/lib/components/task-notification/task-notification.component.spec.ts +23 -0
- package/src/lib/components/task-notification/task-notification.component.ts +770 -0
- package/src/lib/components/task-notification/task-notification.module.ts +10 -0
- package/src/lib/components/task-notification/task-notification.service.spec.ts +16 -0
- package/src/lib/components/task-notification/task-notification.service.ts +397 -0
- package/src/lib/components/tasks/ng-package.json +6 -0
- package/src/lib/components/tasks/tasks.columns.ts +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 +211 -0
- package/src/lib/components/tasks/tasks.facade.ts +482 -0
- package/src/lib/components/tasks/tasks.form.component.html +171 -0
- package/src/lib/components/tasks/tasks.form.component.ts +172 -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 +23 -0
- package/src/lib/components/wf/wf.module.ts +14 -0
- package/src/lib/components/wf/wf.service.spec.ts +16 -0
- package/src/lib/components/wf/wf.service.ts +98 -0
- package/src/lib/components/wf/wf.state.ts +99 -0
- package/src/lib/components/workflow/column.ts +40 -0
- package/src/lib/components/workflow/helper.ts +53 -0
- package/src/lib/components/workflow/ng-package.json +6 -0
- package/src/lib/components/workflow/table-style.ts +53 -0
- package/src/lib/components/workflow/workflow.component.css +0 -0
- package/src/lib/components/workflow/workflow.component.html +226 -0
- package/src/lib/components/workflow/workflow.component.spec.ts +23 -0
- package/src/lib/components/workflow/workflow.component.ts +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 +56 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.ts +142 -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 +1629 -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 +9 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.html +94 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.ts +273 -0
- package/src/lib/components/workflow-designer/ng-package.json +6 -0
- package/src/lib/components/workflow-designer/services/connection.service.ts +324 -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 +316 -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 +151 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.spec.ts +23 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.ts +156 -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 +553 -0
- package/src/lib/components/workflow-designer/workflow-designer.models.ts +114 -0
- package/src/lib/components/workflow-designer/workflow-designer.module.ts +88 -0
- package/src/lib/components/workflow-designer/workflow-designer.state.ts +1104 -0
- package/src/lib/components/workflow-designer/workflow-designer.types.ts +140 -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 +349 -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/DataType.ts +25 -0
- package/src/lib/models/EAVEntity.ts +5 -0
- package/src/lib/models/ErrorResponse.ts +7 -0
- package/src/lib/models/Escalation.ts +15 -0
- package/src/lib/models/EscalationCycle.ts +13 -0
- package/src/lib/models/EscalationStage.ts +11 -0
- package/src/lib/models/EscalationType.ts +5 -0
- package/src/lib/models/File.ts +8 -0
- package/src/lib/models/FilterTypes.ts +8 -0
- package/src/lib/models/FlowableStatus.ts +6 -0
- package/src/lib/models/Form.ts +14 -0
- package/src/lib/models/FormEntity.ts +14 -0
- package/src/lib/models/FormFill.ts +16 -0
- package/src/lib/models/FormProperty.ts +16 -0
- package/src/lib/models/FormValues.ts +16 -0
- package/src/lib/models/MailConfig.ts +13 -0
- package/src/lib/models/MessageConfig.ts +5 -0
- package/src/lib/models/MessageMedium.ts +4 -0
- package/src/lib/models/OperationAction.ts +15 -0
- package/src/lib/models/PagedResult.ts +5 -0
- package/src/lib/models/PeriodMode.ts +10 -0
- package/src/lib/models/PermissionConfig.ts +8 -0
- package/src/lib/models/ReportSchedule.ts +23 -0
- package/src/lib/models/ReportType.ts +5 -0
- package/src/lib/models/Resource.ts +57 -0
- package/src/lib/models/ResponseKeyValue.ts +5 -0
- package/src/lib/models/SMSConfig.ts +11 -0
- package/src/lib/models/SearchDynamicWrapper.ts +6 -0
- package/src/lib/models/SearchOperator.ts +4 -0
- package/src/lib/models/SearchPropertySign.ts +9 -0
- package/src/lib/models/SearchPropertyValue.ts +13 -0
- package/src/lib/models/SearchPropertyValueType.ts +9 -0
- package/src/lib/models/Size.ts +4 -0
- package/src/lib/models/SortDirection.ts +5 -0
- package/src/lib/models/StageActorRule.ts +6 -0
- package/src/lib/models/SwimLane.ts +14 -0
- package/src/lib/models/Tag.ts +7 -0
- package/src/lib/models/Task.ts +32 -0
- package/src/lib/models/TaskAssignmentType.ts +4 -0
- package/src/lib/models/TaskNotification.ts +16 -0
- package/src/lib/models/TaskNotificationMessageType.ts +4 -0
- package/src/lib/models/TaskNotificationType.ts +6 -0
- package/src/lib/models/TaskStatus.ts +7 -0
- package/src/lib/models/Workflow.ts +22 -0
- package/src/lib/models/WorkflowAction.ts +14 -0
- package/src/lib/models/WorkflowOperation.ts +7 -0
- package/src/lib/models/WorkflowStage.ts +27 -0
- package/src/lib/models/actors.ts +10 -0
- package/src/lib/models/auth-mechanism.ts +14 -0
- package/src/lib/models/base.ts +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/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/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 +56 -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 -266
- package/esm2022/src/lib/components/designer/services/keyboard-handler.service.mjs +0 -43
- package/esm2022/src/lib/components/designer/services/label-management.service.mjs +0 -66
- package/esm2022/src/lib/components/designer/services/node-finder.service.mjs +0 -30
- package/esm2022/src/lib/components/designer/services/node-interaction.service.mjs +0 -108
- package/esm2022/src/lib/components/designer/services/node-precondition.service.mjs +0 -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 -323
- 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 -155
- 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 -46
- 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 -167
- 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 -338
- package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +0 -71
- package/esm2022/src/lib/components/operation-popup/operation-popup.state.mjs +0 -44
- package/esm2022/src/lib/components/operation-popup/public-api.mjs +0 -2
- package/esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs +0 -5
- package/esm2022/src/lib/components/stage-details/index.mjs +0 -2
- package/esm2022/src/lib/components/stage-details/public-api.mjs +0 -3
- package/esm2022/src/lib/components/stage-details/stage-details.component.mjs +0 -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 -217
- package/esm2022/src/lib/components/task-history/task-history.module.mjs +0 -20
- package/esm2022/src/lib/components/task-history/task-history.service.mjs +0 -32
- package/esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs +0 -5
- package/esm2022/src/lib/components/task-notification/base-table-style.mjs +0 -53
- package/esm2022/src/lib/components/task-notification/index.mjs +0 -2
- package/esm2022/src/lib/components/task-notification/public-api.mjs +0 -3
- package/esm2022/src/lib/components/task-notification/task-notification.component.mjs +0 -670
- package/esm2022/src/lib/components/task-notification/task-notification.module.mjs +0 -18
- package/esm2022/src/lib/components/task-notification/task-notification.service.mjs +0 -256
- package/esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs +0 -5
- package/esm2022/src/lib/components/tasks/index.mjs +0 -2
- package/esm2022/src/lib/components/tasks/public-api.mjs +0 -6
- package/esm2022/src/lib/components/tasks/tasks.columns.mjs +0 -48
- package/esm2022/src/lib/components/tasks/tasks.component.mjs +0 -193
- package/esm2022/src/lib/components/tasks/tasks.facade.mjs +0 -372
- package/esm2022/src/lib/components/tasks/tasks.form.component.mjs +0 -157
- 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 -125
- 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 -1265
- 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 -242
- 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 -237
- 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 -278
- 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 -138
- 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 -126
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +0 -922
- 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 -328
- 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 -8
- package/esm2022/src/lib/models/TaskStatus.mjs +0 -9
- package/esm2022/src/lib/models/Workflow.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowAction.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowOperation.mjs +0 -2
- package/esm2022/src/lib/models/WorkflowStage.mjs +0 -2
- package/esm2022/src/lib/models/actors.mjs +0 -2
- package/esm2022/src/lib/models/auth-mechanism.mjs +0 -8
- package/esm2022/src/lib/models/base.mjs +0 -2
- package/esm2022/src/lib/models/index.mjs +0 -2
- package/esm2022/src/lib/models/object-state.mjs +0 -8
- package/esm2022/src/lib/models/operation-type.mjs +0 -7
- package/esm2022/src/lib/models/paged.mjs +0 -2
- package/esm2022/src/lib/models/public-api.mjs +0 -64
- package/esm2022/src/lib/models/query-params.mjs +0 -2
- package/esm2022/src/lib/models/status.mjs +0 -6
- package/esm2022/src/lib/models/task-history.mjs +0 -2
- package/esm2022/src/lib/models/user-access-request-status.mjs +0 -7
- package/esm2022/src/lib/models/user.mjs +0 -2
- package/esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs +0 -5
- package/esm2022/src/lib/pipes/async-label.pipe.mjs +0 -25
- package/esm2022/src/lib/pipes/index.mjs +0 -2
- package/esm2022/src/lib/pipes/public-api.mjs +0 -2
- package/esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs +0 -5
- package/esm2022/src/lib/services/environment.service.mjs +0 -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 -73
- 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 -3887
- 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 -232
- 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 -1317
- 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 -827
- 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 -269
- 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 -1041
- 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 -5353
- 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 -412
- 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 -255
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +0 -32
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs.map +0 -1
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs +0 -320
- 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 -103
- package/src/lib/components/designer/services/canvas-state.service.d.ts +0 -24
- package/src/lib/components/designer/services/connection-segment-interaction.service.d.ts +0 -36
- package/src/lib/components/designer/services/connection.service.d.ts +0 -47
- package/src/lib/components/designer/services/keyboard-handler.service.d.ts +0 -9
- package/src/lib/components/designer/services/label-management.service.d.ts +0 -14
- package/src/lib/components/designer/services/node-finder.service.d.ts +0 -10
- package/src/lib/components/designer/services/node-interaction.service.d.ts +0 -19
- package/src/lib/components/designer/services/node-precondition.service.d.ts +0 -37
- package/src/lib/components/designer/services/node-selection.service.d.ts +0 -19
- package/src/lib/components/designer/services/orthogonal-router.service.d.ts +0 -36
- package/src/lib/components/designer/services/position-update.service.d.ts +0 -10
- package/src/lib/components/designer/services/rendering.service.d.ts +0 -67
- package/src/lib/components/designer/services/swimlane-management.service.d.ts +0 -19
- package/src/lib/components/designer/services/swimlane-stats.service.d.ts +0 -19
- package/src/lib/components/designer/services/viewport.service.d.ts +0 -10
- package/src/lib/components/designer/services/wf-facade.service.d.ts +0 -67
- package/src/lib/components/designer/services/wf-mapper.service.d.ts +0 -26
- package/src/lib/components/designer/services/wf-persistence.service.d.ts +0 -21
- package/src/lib/components/designer/services/wf-state.service.d.ts +0 -30
- package/src/lib/components/expiration/expiration.component.d.ts +0 -20
- package/src/lib/components/expiration/expiration.module.d.ts +0 -9
- package/src/lib/components/file-render/file-render.component.d.ts +0 -17
- package/src/lib/components/file-render/file-render.module.d.ts +0 -10
- package/src/lib/components/file-upload/file-upload.component.d.ts +0 -22
- package/src/lib/components/file-upload/file-upload.module.d.ts +0 -11
- package/src/lib/components/flowable-status/flowable-status.columns.d.ts +0 -3
- package/src/lib/components/flowable-status/flowable-status.component.d.ts +0 -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 -38
- package/src/lib/components/form-control/form-control.module.d.ts +0 -11
- package/src/lib/components/form-group/base-table-style.d.ts +0 -1
- package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +0 -136
- package/src/lib/components/form-group/form-fields/form-fields.module.d.ts +0 -11
- package/src/lib/components/form-group/form-fields/form-fields.service.d.ts +0 -9
- package/src/lib/components/form-group/form-group.component.d.ts +0 -108
- package/src/lib/components/form-group/form-group.module.d.ts +0 -15
- package/src/lib/components/form-group/form-group.service.d.ts +0 -9
- package/src/lib/components/form-response/form-response.component.d.ts +0 -108
- package/src/lib/components/form-response/form-response.module.d.ts +0 -12
- package/src/lib/components/form-response/form-response.service.d.ts +0 -9
- package/src/lib/components/form-timer/form-timer.component.d.ts +0 -13
- package/src/lib/components/form-timer/form-timer.module.d.ts +0 -9
- package/src/lib/components/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 -43
- 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 -35
- package/src/lib/components/task-history/task-history.module.d.ts +0 -10
- package/src/lib/components/task-history/task-history.service.d.ts +0 -13
- package/src/lib/components/task-notification/base-table-style.d.ts +0 -1
- package/src/lib/components/task-notification/task-notification.component.d.ts +0 -89
- package/src/lib/components/task-notification/task-notification.module.d.ts +0 -8
- package/src/lib/components/task-notification/task-notification.service.d.ts +0 -32
- package/src/lib/components/tasks/tasks.columns.d.ts +0 -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 -46
- 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 -129
- 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 -30
- package/src/lib/models/TaskAssignmentType.d.ts +0 -4
- package/src/lib/models/TaskNotification.d.ts +0 -14
- package/src/lib/models/TaskNotificationMessageType.d.ts +0 -4
- package/src/lib/models/TaskNotificationType.d.ts +0 -6
- package/src/lib/models/TaskStatus.d.ts +0 -7
- package/src/lib/models/Workflow.d.ts +0 -21
- package/src/lib/models/WorkflowAction.d.ts +0 -13
- package/src/lib/models/WorkflowOperation.d.ts +0 -6
- package/src/lib/models/WorkflowStage.d.ts +0 -26
- package/src/lib/models/actors.d.ts +0 -8
- package/src/lib/models/auth-mechanism.d.ts +0 -13
- package/src/lib/models/base.d.ts +0 -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/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 -21
- 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 → index.ts} +0 -0
- /package/src/lib/components/form-viewer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/forms/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/forms/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/journal/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/journal/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/my-queue/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/my-queue/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/operation-popup/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/operation-popup/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/stage-details/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/stage-details/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/task-form/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/task-form/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/task-history/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/task-history/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/task-notification/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/task-notification/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/tasks/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/tasks/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/wf/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/wf/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/workflow/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/workflow/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/workflow-designer/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/workflow-designer/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/workflow-stage/{index.d.ts → index.ts} +0 -0
- /package/src/lib/components/workflow-stage/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/components/workflows/{index.d.ts → index.ts} +0 -0
- /package/src/lib/models/{index.d.ts → index.ts} +0 -0
- /package/src/lib/models/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/pipes/{index.d.ts → index.ts} +0 -0
- /package/src/lib/pipes/{public-api.d.ts → public-api.ts} +0 -0
- /package/src/lib/services/{index.d.ts → index.ts} +0 -0
- /package/src/lib/shared/{index.d.ts → index.ts} +0 -0
- /package/{styles → src/styles}/styles.css +0 -0
|
@@ -1,995 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Component, Input, ViewChild, ViewChildren, NgModule } from '@angular/core';
|
|
3
|
-
import { Subject, debounceTime } from 'rxjs';
|
|
4
|
-
import * as i5 from 'verben-ng-ui';
|
|
5
|
-
import { DataFilterType } from 'verben-ng-ui';
|
|
6
|
-
import * as i6 from 'verben-reporting-ui';
|
|
7
|
-
import { EditorMode } from 'verben-reporting-ui';
|
|
8
|
-
import { SearchOperator, SearchPropertySign, SortDirection, ErrorResponse, MessageMedium, TaskNotificationType, ObjectState, FilterTypes, SearchPropertyValueType } from 'verben-workflow-ui/src/lib/models';
|
|
9
|
-
import * as i1 from 'verben-workflow-ui/src/lib/services';
|
|
10
|
-
import * as i2 from '@angular/forms';
|
|
11
|
-
import * as i4 from '@angular/common';
|
|
12
|
-
import * as i7 from 'verben-workflow-ui/src/lib/pipes';
|
|
13
|
-
import { SharedModule } from 'verben-workflow-ui/src/lib/shared';
|
|
14
|
-
|
|
15
|
-
const baseStyle = {
|
|
16
|
-
width: '100%',
|
|
17
|
-
fontFamily: '"Fraunces", serif',
|
|
18
|
-
fontSize: '125%',
|
|
19
|
-
whiteSpace: 'nowrap',
|
|
20
|
-
margin: '0',
|
|
21
|
-
border: '1px solid var(--vbn-color-primary)',
|
|
22
|
-
borderRadius: '16px',
|
|
23
|
-
borderCollapse: 'separate',
|
|
24
|
-
borderSpacing: '0',
|
|
25
|
-
// tableLayout: 'fixed',
|
|
26
|
-
overflow: 'hidden',
|
|
27
|
-
rows: {
|
|
28
|
-
even: {
|
|
29
|
-
backgroundColor: 'var(--vbn-color-surface)',
|
|
30
|
-
},
|
|
31
|
-
odd: {
|
|
32
|
-
backgroundColor: 'var(--vbn-color-surface-alt)',
|
|
33
|
-
},
|
|
34
|
-
height: '68px',
|
|
35
|
-
},
|
|
36
|
-
cells: {
|
|
37
|
-
padding: '0.5rem 1rem',
|
|
38
|
-
},
|
|
39
|
-
header: {
|
|
40
|
-
// stickyTop: true,
|
|
41
|
-
// zIndex: 2,
|
|
42
|
-
backgroundColor: 'var(--vbn-color-surface-alt)',
|
|
43
|
-
fontWeight: 'bold',
|
|
44
|
-
textAlign: 'left',
|
|
45
|
-
padding: '12px 16px',
|
|
46
|
-
height: '30px',
|
|
47
|
-
},
|
|
48
|
-
footer: {
|
|
49
|
-
// stickyBottom: true,
|
|
50
|
-
// zIndex: 2,
|
|
51
|
-
padding: '3px',
|
|
52
|
-
},
|
|
53
|
-
// body: {
|
|
54
|
-
// background: 'var(--vbn-color-surface)',
|
|
55
|
-
// padding: '4px 5px',
|
|
56
|
-
// textAlign: 'center',
|
|
57
|
-
// },
|
|
58
|
-
// firstColumn: {
|
|
59
|
-
// stickyLeft: true,
|
|
60
|
-
// zIndex: 1,
|
|
61
|
-
// },
|
|
62
|
-
lastColumn: {
|
|
63
|
-
// stickyRight: true,
|
|
64
|
-
// zIndex: 1,
|
|
65
|
-
},
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
class TaskNotificationService {
|
|
69
|
-
utilService;
|
|
70
|
-
server;
|
|
71
|
-
envSvc;
|
|
72
|
-
pageSize = 10;
|
|
73
|
-
constructor(utilService, server, envSvc) {
|
|
74
|
-
this.utilService = utilService;
|
|
75
|
-
this.server = server;
|
|
76
|
-
this.envSvc = envSvc;
|
|
77
|
-
}
|
|
78
|
-
get taskNotificationColumns() {
|
|
79
|
-
return [
|
|
80
|
-
{
|
|
81
|
-
id: 'select',
|
|
82
|
-
header: '',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
id: 'createdAt',
|
|
86
|
-
header: 'CREATED',
|
|
87
|
-
accessorKey: 'CreatedAt',
|
|
88
|
-
},
|
|
89
|
-
// {
|
|
90
|
-
// id: 'code',
|
|
91
|
-
// header: 'CODE',
|
|
92
|
-
// accessorKey: 'Code',
|
|
93
|
-
// },
|
|
94
|
-
{
|
|
95
|
-
id: 'name',
|
|
96
|
-
header: 'NAME',
|
|
97
|
-
accessorFn: (row) => {
|
|
98
|
-
return row;
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
id: 'subject',
|
|
103
|
-
header: 'SUBJECT',
|
|
104
|
-
accessorFn: (row) => {
|
|
105
|
-
return row;
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
id: 'notificationType',
|
|
110
|
-
header: 'NOTIFICATION TYPE',
|
|
111
|
-
accessorFn: (row) => {
|
|
112
|
-
return row;
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
id: 'medium',
|
|
117
|
-
header: 'MEDIUM',
|
|
118
|
-
accessorFn: (row) => {
|
|
119
|
-
return row;
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
id: 'senderConfig',
|
|
124
|
-
header: 'SENDER CONFIG',
|
|
125
|
-
accessorFn: (row) => {
|
|
126
|
-
return row;
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
// {
|
|
130
|
-
// id: 'isMessageId',
|
|
131
|
-
// header: 'IS MESSAGE ID',
|
|
132
|
-
// accessorFn: (row: TaskNotification) => {
|
|
133
|
-
// return row;
|
|
134
|
-
// },
|
|
135
|
-
// },
|
|
136
|
-
{
|
|
137
|
-
id: 'actions',
|
|
138
|
-
header: 'ACTIONS',
|
|
139
|
-
accessorFn: (row) => {
|
|
140
|
-
return row;
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
];
|
|
144
|
-
}
|
|
145
|
-
async getAllReportSchedules() {
|
|
146
|
-
const fields = ['Code', 'Name'];
|
|
147
|
-
return await this.loadEntitiesOld('ReportSchedule', fields, this.envSvc.environment.ReportingAPI);
|
|
148
|
-
}
|
|
149
|
-
async loadMoreReportSchedules(event) {
|
|
150
|
-
const fields = ['Code', 'Name'];
|
|
151
|
-
return await this.loadEntitiesOld('ReportSchedule', fields, this.envSvc.environment.ReportingAPI, event);
|
|
152
|
-
}
|
|
153
|
-
async searchReportSchedules(param, event) {
|
|
154
|
-
const fields = ['Code', 'Name'];
|
|
155
|
-
const searchBy = ['Code', 'Name'];
|
|
156
|
-
return await this.searchEntitiesOld('ReportSchedule', fields, searchBy, this.envSvc.environment.ReportingAPI, param, event);
|
|
157
|
-
}
|
|
158
|
-
async getAsyncReportScheduleLabel(value) {
|
|
159
|
-
return await this.getAsyncLabelOld('ReportSchedule', 'Name', value, this.envSvc.environment.ReportingAPI);
|
|
160
|
-
}
|
|
161
|
-
async getAllSMSConfigs() {
|
|
162
|
-
const fields = ['Code', 'Name'];
|
|
163
|
-
return await this.loadEntities('SMSConfig', fields, this.envSvc.environment.MessagingAPI);
|
|
164
|
-
}
|
|
165
|
-
async loadMoreSMSConfigs(event) {
|
|
166
|
-
const fields = ['Code', 'Name'];
|
|
167
|
-
return await this.loadEntities('SMSConfig', fields, this.envSvc.environment.MessagingAPI, event);
|
|
168
|
-
}
|
|
169
|
-
async searchSMSConfigs(param, event) {
|
|
170
|
-
const fields = ['Code', 'Name'];
|
|
171
|
-
const searchBy = ['Code', 'Name'];
|
|
172
|
-
return await this.searchEntities('SMSConfig', fields, searchBy, this.envSvc.environment.MessagingAPI, param, event);
|
|
173
|
-
}
|
|
174
|
-
async getAsyncSMSConfigLabel(value) {
|
|
175
|
-
return await this.getAsyncLabel('SMSConfig', 'Name', value, this.envSvc.environment.MessagingAPI);
|
|
176
|
-
}
|
|
177
|
-
async getAllMailConfigs() {
|
|
178
|
-
const fields = ['Code', 'Name'];
|
|
179
|
-
return await this.loadEntities('MailConfig', fields, this.envSvc.environment.MessagingAPI);
|
|
180
|
-
}
|
|
181
|
-
async loadMoreMailConfigs(event) {
|
|
182
|
-
const fields = ['Code', 'Name'];
|
|
183
|
-
return await this.loadEntities('MailConfig', fields, this.envSvc.environment.MessagingAPI, event);
|
|
184
|
-
}
|
|
185
|
-
async searchMailConfigs(param, event) {
|
|
186
|
-
const fields = ['Code', 'Name'];
|
|
187
|
-
const searchBy = ['Code', 'Name'];
|
|
188
|
-
return await this.searchEntities('MailConfig', fields, searchBy, this.envSvc.environment.MessagingAPI, param, event);
|
|
189
|
-
}
|
|
190
|
-
async getAsyncMailConfigLabel(value) {
|
|
191
|
-
return await this.getAsyncLabel('MailConfig', 'Name', value, this.envSvc.environment.MessagingAPI);
|
|
192
|
-
}
|
|
193
|
-
async loadEntities(entity, fields, env, event = null) {
|
|
194
|
-
var payload = {
|
|
195
|
-
Fields: fields,
|
|
196
|
-
SearchKeyValues: [
|
|
197
|
-
{
|
|
198
|
-
PropertyName: 'Code',
|
|
199
|
-
EntityValue: '',
|
|
200
|
-
Operator: SearchOperator.And,
|
|
201
|
-
Sign: SearchPropertySign.EQ,
|
|
202
|
-
Sort: SortDirection.Asc,
|
|
203
|
-
},
|
|
204
|
-
],
|
|
205
|
-
};
|
|
206
|
-
if (!event) {
|
|
207
|
-
this.utilService.sendBI(true);
|
|
208
|
-
}
|
|
209
|
-
const res = await this.server.post(`SearchDynamic${entity}/${event ? event.loadTimes * this.pageSize : 0}/${this.pageSize}`, payload, env);
|
|
210
|
-
if (!event) {
|
|
211
|
-
this.utilService.sendBI(false);
|
|
212
|
-
}
|
|
213
|
-
if (res instanceof ErrorResponse) {
|
|
214
|
-
return [];
|
|
215
|
-
}
|
|
216
|
-
else {
|
|
217
|
-
var result = res.Result;
|
|
218
|
-
return result;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
async loadEntitiesOld(entity, fields, env, event = null) {
|
|
222
|
-
if (!event) {
|
|
223
|
-
this.utilService.sendBI(true);
|
|
224
|
-
}
|
|
225
|
-
const res = await this.server.get(`Get${entity}s/${event ? event.loadTimes * this.pageSize : 0}/${this.pageSize}`, env);
|
|
226
|
-
if (!event) {
|
|
227
|
-
this.utilService.sendBI(false);
|
|
228
|
-
}
|
|
229
|
-
if (res instanceof ErrorResponse) {
|
|
230
|
-
return [];
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
var result = res.Result;
|
|
234
|
-
return result;
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
async searchEntities(entity, fields, searchBy, env, param, event = null) {
|
|
238
|
-
var payload = {
|
|
239
|
-
Fields: fields,
|
|
240
|
-
SearchKeyValues: searchBy.map((x) => {
|
|
241
|
-
return {
|
|
242
|
-
PropertyName: x,
|
|
243
|
-
EntityValue: param,
|
|
244
|
-
Operator: SearchOperator.Or,
|
|
245
|
-
Sign: SearchPropertySign.EQ,
|
|
246
|
-
};
|
|
247
|
-
}),
|
|
248
|
-
};
|
|
249
|
-
// this.utilService.sendBI(true);
|
|
250
|
-
const res = await this.server.post(`SearchDynamic${entity}/${event ? event.loadTimes * this.pageSize : 0}/${this.pageSize}`, payload, env);
|
|
251
|
-
// this.utilService.sendBI(false);
|
|
252
|
-
if (res instanceof ErrorResponse) {
|
|
253
|
-
return [];
|
|
254
|
-
}
|
|
255
|
-
else {
|
|
256
|
-
var result = res.Result;
|
|
257
|
-
return result;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
async searchEntitiesOld(entity, fields, searchBy, env, param, event = null) {
|
|
261
|
-
// this.utilService.sendBI(true);
|
|
262
|
-
const res = await this.server.get(`Search${entity}s/${param}/${event ? event.loadTimes * this.pageSize : 0}/${this.pageSize}`, env);
|
|
263
|
-
// this.utilService.sendBI(false);
|
|
264
|
-
if (res instanceof ErrorResponse) {
|
|
265
|
-
return [];
|
|
266
|
-
}
|
|
267
|
-
else {
|
|
268
|
-
var result = res.Result;
|
|
269
|
-
return result;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
async getAsyncLabel(entity, labelProp, value, env, key = 'Code') {
|
|
273
|
-
var payload = {
|
|
274
|
-
Fields: [labelProp],
|
|
275
|
-
SearchKeyValues: [
|
|
276
|
-
{
|
|
277
|
-
PropertyName: key,
|
|
278
|
-
EntityValue: value,
|
|
279
|
-
Operator: SearchOperator.And,
|
|
280
|
-
Sign: SearchPropertySign.EQ,
|
|
281
|
-
},
|
|
282
|
-
],
|
|
283
|
-
};
|
|
284
|
-
this.utilService.sendBI(true);
|
|
285
|
-
const res = await this.server.post(`SearchDynamic${entity}/0/1`, payload, env);
|
|
286
|
-
this.utilService.sendBI(false);
|
|
287
|
-
if (res instanceof ErrorResponse) {
|
|
288
|
-
return value;
|
|
289
|
-
}
|
|
290
|
-
else {
|
|
291
|
-
var result = res.Result;
|
|
292
|
-
return result.length > 0 ? result[0] : '';
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
async getAsyncLabelOld(entity, labelProp, value, env, key = 'Code') {
|
|
296
|
-
if (!value || (value.length && value.length == 0)) {
|
|
297
|
-
return value;
|
|
298
|
-
}
|
|
299
|
-
this.utilService.sendBI(true);
|
|
300
|
-
const res = await this.server.get(`Search${entity}s/${value}/0/1`, env);
|
|
301
|
-
this.utilService.sendBI(false);
|
|
302
|
-
if (res instanceof ErrorResponse) {
|
|
303
|
-
return value;
|
|
304
|
-
}
|
|
305
|
-
else {
|
|
306
|
-
var result = res.Result;
|
|
307
|
-
return result.length > 0 ? result[0][labelProp] : '';
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TaskNotificationService, deps: [{ token: i1.UtilService }, { token: i1.HttpWebRequestService }, { token: i1.EnvironmentService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
311
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TaskNotificationService, providedIn: 'root' });
|
|
312
|
-
}
|
|
313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TaskNotificationService, decorators: [{
|
|
314
|
-
type: Injectable,
|
|
315
|
-
args: [{
|
|
316
|
-
providedIn: 'root',
|
|
317
|
-
}]
|
|
318
|
-
}], ctorParameters: () => [{ type: i1.UtilService }, { type: i1.HttpWebRequestService }, { type: i1.EnvironmentService }] });
|
|
319
|
-
|
|
320
|
-
var TaskNotificationPropertyName;
|
|
321
|
-
(function (TaskNotificationPropertyName) {
|
|
322
|
-
TaskNotificationPropertyName["CreatedAt"] = "Created At";
|
|
323
|
-
TaskNotificationPropertyName["Name"] = "Name";
|
|
324
|
-
TaskNotificationPropertyName["Subject"] = "Subject";
|
|
325
|
-
TaskNotificationPropertyName["SenderConfig"] = "Sendor Config";
|
|
326
|
-
TaskNotificationPropertyName["Medium"] = "Medium";
|
|
327
|
-
TaskNotificationPropertyName["NotificationType"] = "Notification Type";
|
|
328
|
-
TaskNotificationPropertyName["IsMessageId"] = "Is Message Id";
|
|
329
|
-
})(TaskNotificationPropertyName || (TaskNotificationPropertyName = {}));
|
|
330
|
-
var TaskNotificationPropertyMap;
|
|
331
|
-
(function (TaskNotificationPropertyMap) {
|
|
332
|
-
TaskNotificationPropertyMap["CreatedAt"] = "CreatedAt";
|
|
333
|
-
TaskNotificationPropertyMap["Name"] = "Name";
|
|
334
|
-
TaskNotificationPropertyMap["Subject"] = "Subject";
|
|
335
|
-
TaskNotificationPropertyMap["SenderConfig"] = "SendorConfig";
|
|
336
|
-
TaskNotificationPropertyMap["Medium"] = "Medium";
|
|
337
|
-
TaskNotificationPropertyMap["NotificationType"] = "NotificationType";
|
|
338
|
-
TaskNotificationPropertyMap["IsMessageId"] = "IsMessageId";
|
|
339
|
-
})(TaskNotificationPropertyMap || (TaskNotificationPropertyMap = {}));
|
|
340
|
-
class TaskNotificationComponent {
|
|
341
|
-
utilService;
|
|
342
|
-
server;
|
|
343
|
-
cdr;
|
|
344
|
-
fb;
|
|
345
|
-
envSvc;
|
|
346
|
-
service;
|
|
347
|
-
permissionConfig = null;
|
|
348
|
-
visibleColumnDef = [];
|
|
349
|
-
styles = baseStyle;
|
|
350
|
-
data = [];
|
|
351
|
-
cardData = [];
|
|
352
|
-
currentData = null;
|
|
353
|
-
workflowAPI = '';
|
|
354
|
-
configAPI = '';
|
|
355
|
-
cardDataView;
|
|
356
|
-
dataView;
|
|
357
|
-
tableView;
|
|
358
|
-
popUps;
|
|
359
|
-
pageSize = 10;
|
|
360
|
-
searchDebounceTime = 500;
|
|
361
|
-
pageState = null;
|
|
362
|
-
isOpen = false;
|
|
363
|
-
openDropdownId = null;
|
|
364
|
-
currentFilters = [];
|
|
365
|
-
currentSorts = [];
|
|
366
|
-
searchTerm$ = new Subject();
|
|
367
|
-
// searchTermHistory: string[] = [];
|
|
368
|
-
smsConfigs = [];
|
|
369
|
-
mailConfigs = [];
|
|
370
|
-
reportSchedules = [];
|
|
371
|
-
mediumOptions = Object.keys(MessageMedium);
|
|
372
|
-
notificationTypeOptions = Object.keys(TaskNotificationType);
|
|
373
|
-
smsRef = MessageMedium.SMS;
|
|
374
|
-
mailRef = MessageMedium.Mail;
|
|
375
|
-
editorMode = EditorMode.Designer;
|
|
376
|
-
editorConfig = {
|
|
377
|
-
editable: true,
|
|
378
|
-
height: '',
|
|
379
|
-
width: '',
|
|
380
|
-
showToolbar: true,
|
|
381
|
-
menuItems: [
|
|
382
|
-
{
|
|
383
|
-
Label: 'ToggleView',
|
|
384
|
-
Icon: 'code-toggle',
|
|
385
|
-
IconWidth: 20,
|
|
386
|
-
IconHeight: 20,
|
|
387
|
-
IsStroke: false,
|
|
388
|
-
GroupBy: 'local',
|
|
389
|
-
OnClick: (event) => {
|
|
390
|
-
this.editorMode =
|
|
391
|
-
this.editorMode == EditorMode.Designer
|
|
392
|
-
? EditorMode.Code
|
|
393
|
-
: EditorMode.Designer;
|
|
394
|
-
},
|
|
395
|
-
IsDisabled: (event) => {
|
|
396
|
-
return false;
|
|
397
|
-
},
|
|
398
|
-
IsEnabled: (event) => {
|
|
399
|
-
return this.editorMode == EditorMode.Code;
|
|
400
|
-
},
|
|
401
|
-
},
|
|
402
|
-
],
|
|
403
|
-
};
|
|
404
|
-
visibleColumns = [];
|
|
405
|
-
filterArray = [
|
|
406
|
-
{
|
|
407
|
-
name: TaskNotificationPropertyName.CreatedAt,
|
|
408
|
-
type: DataFilterType.Date,
|
|
409
|
-
checked: false,
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
name: TaskNotificationPropertyName.Name,
|
|
413
|
-
type: DataFilterType.String,
|
|
414
|
-
checked: false,
|
|
415
|
-
},
|
|
416
|
-
{
|
|
417
|
-
name: TaskNotificationPropertyName.Subject,
|
|
418
|
-
type: DataFilterType.String,
|
|
419
|
-
checked: false,
|
|
420
|
-
},
|
|
421
|
-
{
|
|
422
|
-
name: TaskNotificationPropertyName.SenderConfig,
|
|
423
|
-
type: DataFilterType.String,
|
|
424
|
-
checked: false,
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
name: TaskNotificationPropertyName.Medium,
|
|
428
|
-
type: DataFilterType.String,
|
|
429
|
-
checked: false,
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
name: TaskNotificationPropertyName.NotificationType,
|
|
433
|
-
type: DataFilterType.String,
|
|
434
|
-
checked: false,
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
name: TaskNotificationPropertyName.IsMessageId,
|
|
438
|
-
type: DataFilterType.String,
|
|
439
|
-
checked: false,
|
|
440
|
-
},
|
|
441
|
-
];
|
|
442
|
-
sortOptions = [
|
|
443
|
-
{
|
|
444
|
-
name: TaskNotificationPropertyName.CreatedAt,
|
|
445
|
-
type: DataFilterType.Date,
|
|
446
|
-
checked: false,
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
name: TaskNotificationPropertyName.Name,
|
|
450
|
-
type: DataFilterType.String,
|
|
451
|
-
checked: false,
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
name: TaskNotificationPropertyName.Subject,
|
|
455
|
-
type: DataFilterType.String,
|
|
456
|
-
checked: false,
|
|
457
|
-
},
|
|
458
|
-
{
|
|
459
|
-
name: TaskNotificationPropertyName.SenderConfig,
|
|
460
|
-
type: DataFilterType.String,
|
|
461
|
-
checked: false,
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
name: TaskNotificationPropertyName.Medium,
|
|
465
|
-
type: DataFilterType.String,
|
|
466
|
-
checked: false,
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
name: TaskNotificationPropertyName.NotificationType,
|
|
470
|
-
type: DataFilterType.String,
|
|
471
|
-
checked: false,
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
name: TaskNotificationPropertyName.IsMessageId,
|
|
475
|
-
type: DataFilterType.String,
|
|
476
|
-
checked: false,
|
|
477
|
-
},
|
|
478
|
-
];
|
|
479
|
-
currentSearchTerm = '';
|
|
480
|
-
constructor(utilService, server, cdr, fb, envSvc, service) {
|
|
481
|
-
this.utilService = utilService;
|
|
482
|
-
this.server = server;
|
|
483
|
-
this.cdr = cdr;
|
|
484
|
-
this.fb = fb;
|
|
485
|
-
this.envSvc = envSvc;
|
|
486
|
-
this.service = service;
|
|
487
|
-
this.workflowAPI = this.envSvc.environment.WorkFlowAPI;
|
|
488
|
-
this.configAPI = `${this.envSvc.environment.MessagingAPI}`;
|
|
489
|
-
}
|
|
490
|
-
async ngOnInit() {
|
|
491
|
-
this.visibleColumnDef = this.service.taskNotificationColumns.filter((x) => x.id != 'actions' ||
|
|
492
|
-
!this.permissionConfig ||
|
|
493
|
-
this.permissionConfig.Actions['Create']);
|
|
494
|
-
this.visibleColumns = this.service.taskNotificationColumns
|
|
495
|
-
.filter((x) => x.id != 'actions' ||
|
|
496
|
-
!this.permissionConfig ||
|
|
497
|
-
this.permissionConfig.Actions['CreateLine'])
|
|
498
|
-
.map((col) => ({
|
|
499
|
-
checked: true,
|
|
500
|
-
name: typeof col.header === 'string' ? col.header : col.id,
|
|
501
|
-
type: DataFilterType.Bool,
|
|
502
|
-
}));
|
|
503
|
-
const groups = await this.getAllTaskNotifications();
|
|
504
|
-
if (groups) {
|
|
505
|
-
this.data = groups.map((x) => {
|
|
506
|
-
return {
|
|
507
|
-
...x,
|
|
508
|
-
Id: x.Code,
|
|
509
|
-
};
|
|
510
|
-
});
|
|
511
|
-
this.setUpCardData();
|
|
512
|
-
}
|
|
513
|
-
this.service.getAllSMSConfigs().then((res) => {
|
|
514
|
-
if (res) {
|
|
515
|
-
this.smsConfigs = res;
|
|
516
|
-
}
|
|
517
|
-
});
|
|
518
|
-
this.service.getAllMailConfigs().then((res) => {
|
|
519
|
-
if (res) {
|
|
520
|
-
this.mailConfigs = res;
|
|
521
|
-
}
|
|
522
|
-
});
|
|
523
|
-
this.service.getAllReportSchedules().then((res) => {
|
|
524
|
-
if (res) {
|
|
525
|
-
this.reportSchedules = res;
|
|
526
|
-
}
|
|
527
|
-
});
|
|
528
|
-
this.searchTerm$
|
|
529
|
-
.pipe(debounceTime(this.searchDebounceTime)) // Adjust debounce time here (in ms)
|
|
530
|
-
.subscribe(async (searchTerm) => {
|
|
531
|
-
this.currentSearchTerm = searchTerm;
|
|
532
|
-
this.updateFiltersAndSorts(true);
|
|
533
|
-
});
|
|
534
|
-
}
|
|
535
|
-
async getAllTaskNotifications() {
|
|
536
|
-
this.utilService.sendBI(true);
|
|
537
|
-
const res = await this.server.get(`GetTaskNotifications/0/${this.pageSize}`, this.envSvc.environment.WorkFlowAPI);
|
|
538
|
-
this.utilService.sendBI(false);
|
|
539
|
-
if (res instanceof ErrorResponse) {
|
|
540
|
-
return undefined;
|
|
541
|
-
}
|
|
542
|
-
else {
|
|
543
|
-
this.pageState = res;
|
|
544
|
-
var result = res.Result;
|
|
545
|
-
return result;
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
async loadMore() {
|
|
549
|
-
if (!this.pageState) {
|
|
550
|
-
return;
|
|
551
|
-
}
|
|
552
|
-
this.utilService.sendBI(true);
|
|
553
|
-
const res = this.currentFilters.length > 0 ||
|
|
554
|
-
this.currentSorts.length > 0 ||
|
|
555
|
-
this.currentSearchTerm.trim().length > 0
|
|
556
|
-
? await this.loadMoreFiltersAndSorts()
|
|
557
|
-
: await this.server.get(`GetTaskNotifications/${this.pageState.Skip}/${this.pageSize}`, this.envSvc.environment.WorkFlowAPI);
|
|
558
|
-
this.utilService.sendBI(false);
|
|
559
|
-
if (res instanceof ErrorResponse) {
|
|
560
|
-
return;
|
|
561
|
-
}
|
|
562
|
-
else {
|
|
563
|
-
this.pageState = res;
|
|
564
|
-
var result = res.Result;
|
|
565
|
-
const mappedData = result.map((x) => {
|
|
566
|
-
return {
|
|
567
|
-
...x,
|
|
568
|
-
Id: x.Code,
|
|
569
|
-
};
|
|
570
|
-
});
|
|
571
|
-
this.data = this.data.concat(mappedData);
|
|
572
|
-
this.setUpCardDataExtra(mappedData);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
setUpCardData() {
|
|
576
|
-
const cardData = this.data.map((x) => {
|
|
577
|
-
return {
|
|
578
|
-
selected: false,
|
|
579
|
-
title: x.Id.toString(),
|
|
580
|
-
data: x,
|
|
581
|
-
body: [],
|
|
582
|
-
children: [],
|
|
583
|
-
};
|
|
584
|
-
});
|
|
585
|
-
this.cardData = cardData;
|
|
586
|
-
}
|
|
587
|
-
setUpCardDataExtra(baseData) {
|
|
588
|
-
const cardData = baseData.map((x) => {
|
|
589
|
-
return {
|
|
590
|
-
selected: false,
|
|
591
|
-
title: x.Id.toString(),
|
|
592
|
-
data: x,
|
|
593
|
-
body: [],
|
|
594
|
-
children: [],
|
|
595
|
-
};
|
|
596
|
-
});
|
|
597
|
-
this.cardData = this.cardData.concat(cardData);
|
|
598
|
-
}
|
|
599
|
-
goToCardView(data) {
|
|
600
|
-
const item = this.cardData.find((x) => x.data == data);
|
|
601
|
-
if (item) {
|
|
602
|
-
this.cardClicked(item, true);
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
goToTableView() {
|
|
606
|
-
if (!this.currentData) {
|
|
607
|
-
return;
|
|
608
|
-
}
|
|
609
|
-
this.dataView.toggleView();
|
|
610
|
-
const id = this.currentData.data ? this.currentData.data.Id : '';
|
|
611
|
-
if (id.trim().length > 0 && !this.tableView.isRowEditing(id)) {
|
|
612
|
-
this.tableView.toggleRowEdit(id);
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
viewVendors(code) {
|
|
616
|
-
if (code.trim().length == 0) {
|
|
617
|
-
return;
|
|
618
|
-
}
|
|
619
|
-
// this.onViewProcessClicked.emit(code);
|
|
620
|
-
this.closePopUp();
|
|
621
|
-
}
|
|
622
|
-
cardClicked(item, toggleView = false) {
|
|
623
|
-
this.currentData = this.cardDataView.onItemClick(item);
|
|
624
|
-
if (toggleView) {
|
|
625
|
-
this.dataView.toggleView();
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
async saveTaskNotification() {
|
|
629
|
-
if (this.currentData) {
|
|
630
|
-
var group = this.currentData.data;
|
|
631
|
-
if (this.currentData.data.Name.trim().length == 0) {
|
|
632
|
-
this.utilService.showInfo('Name cannot be empty');
|
|
633
|
-
return;
|
|
634
|
-
}
|
|
635
|
-
group.DataState =
|
|
636
|
-
group.DataState == ObjectState.New
|
|
637
|
-
? ObjectState.New
|
|
638
|
-
: ObjectState.Changed;
|
|
639
|
-
group.Id = '';
|
|
640
|
-
this.utilService.sendBI(true);
|
|
641
|
-
const res = await this.server.post(`SaveTaskNotifications`, [group], this.envSvc.environment.WorkFlowAPI);
|
|
642
|
-
this.utilService.sendBI(false);
|
|
643
|
-
if (res instanceof ErrorResponse) {
|
|
644
|
-
}
|
|
645
|
-
else {
|
|
646
|
-
this.utilService.showSuccess('Vendor Group saved successfully');
|
|
647
|
-
const result = res;
|
|
648
|
-
if (result.length > 0) {
|
|
649
|
-
var resultItem = result[0];
|
|
650
|
-
const itemIndex = this.data.findIndex((x) => x == this.currentData?.data);
|
|
651
|
-
if (itemIndex > -1) {
|
|
652
|
-
this.data[itemIndex].Code = resultItem.Code;
|
|
653
|
-
this.data[itemIndex].Id = resultItem.Code;
|
|
654
|
-
this.data[itemIndex].id = resultItem.Code;
|
|
655
|
-
this.data[itemIndex].DataState = resultItem.DataState;
|
|
656
|
-
this.data[itemIndex].TenantId = resultItem.TenantId;
|
|
657
|
-
this.data[itemIndex].ServiceName = resultItem.ServiceName;
|
|
658
|
-
this.data = this.data.map((x) => x);
|
|
659
|
-
this.cacheItem(this.data[itemIndex]);
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
}
|
|
665
|
-
async tableSaveTaskNotification(form, callBack) {
|
|
666
|
-
if (form.Name.trim().length == 0) {
|
|
667
|
-
this.utilService.showInfo('Name cannot be empty');
|
|
668
|
-
return;
|
|
669
|
-
}
|
|
670
|
-
form.DataState =
|
|
671
|
-
form.DataState == ObjectState.New ? ObjectState.New : ObjectState.Changed;
|
|
672
|
-
form.Id = '';
|
|
673
|
-
this.utilService.sendBI(true);
|
|
674
|
-
const res = await this.server.post(`SaveTaskNotifications`, [form], this.envSvc.environment.WorkFlowAPI);
|
|
675
|
-
this.utilService.sendBI(false);
|
|
676
|
-
if (res instanceof ErrorResponse) {
|
|
677
|
-
}
|
|
678
|
-
else {
|
|
679
|
-
this.utilService.showSuccess('Vendor Group saved successfully');
|
|
680
|
-
const result = res;
|
|
681
|
-
if (result.length > 0) {
|
|
682
|
-
var resultItem = result[0];
|
|
683
|
-
const itemIndex = this.data.findIndex((x) => x == form);
|
|
684
|
-
if (itemIndex > -1) {
|
|
685
|
-
this.data[itemIndex].Code = resultItem.Code;
|
|
686
|
-
this.data[itemIndex].Id = resultItem.Code;
|
|
687
|
-
this.data[itemIndex].id = resultItem.Code;
|
|
688
|
-
this.data[itemIndex].DataState = resultItem.DataState;
|
|
689
|
-
this.data[itemIndex].TenantId = resultItem.TenantId;
|
|
690
|
-
this.data[itemIndex].ServiceName = resultItem.ServiceName;
|
|
691
|
-
this.data = this.data.map((x) => x);
|
|
692
|
-
this.cacheItem(this.data[itemIndex]);
|
|
693
|
-
}
|
|
694
|
-
callBack();
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
updateTable() {
|
|
699
|
-
this.data = this.data.map((x) => x);
|
|
700
|
-
}
|
|
701
|
-
updateItem(value, key) {
|
|
702
|
-
return {
|
|
703
|
-
[key]: value,
|
|
704
|
-
};
|
|
705
|
-
}
|
|
706
|
-
closePopUp() {
|
|
707
|
-
this.openDropdownId = null;
|
|
708
|
-
this.popUps.forEach((popUp) => {
|
|
709
|
-
if (popUp.dropdownOpen) {
|
|
710
|
-
popUp.toggleDropdown();
|
|
711
|
-
}
|
|
712
|
-
});
|
|
713
|
-
}
|
|
714
|
-
onViewChange(isGridView) { }
|
|
715
|
-
onStateChange(event) {
|
|
716
|
-
switch (event.key) {
|
|
717
|
-
case 'create':
|
|
718
|
-
var newGroup = {
|
|
719
|
-
Name: '',
|
|
720
|
-
Message: '',
|
|
721
|
-
Subject: '',
|
|
722
|
-
SenderConfig: '',
|
|
723
|
-
Medium: MessageMedium.Mail,
|
|
724
|
-
NotificationType: TaskNotificationType.Assignment,
|
|
725
|
-
IsMessageId: false,
|
|
726
|
-
IsTaskDataSource: true,
|
|
727
|
-
id: this.data.length.toString(),
|
|
728
|
-
Id: this.data.length.toString(),
|
|
729
|
-
Code: '',
|
|
730
|
-
TenantId: '',
|
|
731
|
-
ServiceName: '',
|
|
732
|
-
CreatedAt: new Date(),
|
|
733
|
-
UpdatedAt: new Date(),
|
|
734
|
-
DataState: ObjectState.New,
|
|
735
|
-
};
|
|
736
|
-
const cardData = {
|
|
737
|
-
selected: false,
|
|
738
|
-
title: newGroup.Name,
|
|
739
|
-
data: newGroup,
|
|
740
|
-
body: [],
|
|
741
|
-
children: [],
|
|
742
|
-
};
|
|
743
|
-
this.data = this.data.concat([newGroup]);
|
|
744
|
-
this.cardData.push(cardData);
|
|
745
|
-
this.cardClicked(cardData);
|
|
746
|
-
this.dataView.isTableView = false;
|
|
747
|
-
break;
|
|
748
|
-
default:
|
|
749
|
-
break;
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
showTableView = false;
|
|
753
|
-
onSelectionChange(selectedRows) { }
|
|
754
|
-
onColumnsUpdated(updatedColumns) {
|
|
755
|
-
const updatedColumnDef = [];
|
|
756
|
-
updatedColumns.forEach((col) => {
|
|
757
|
-
const matchingCol = this.service.taskNotificationColumns
|
|
758
|
-
.filter((x) => x.id != 'actions' ||
|
|
759
|
-
!this.permissionConfig ||
|
|
760
|
-
this.permissionConfig.Actions['Create'])
|
|
761
|
-
.find((column) => column.header === col.name || column.id === col.name);
|
|
762
|
-
if (matchingCol) {
|
|
763
|
-
updatedColumnDef.push(matchingCol);
|
|
764
|
-
}
|
|
765
|
-
});
|
|
766
|
-
this.visibleColumnDef = [...updatedColumnDef];
|
|
767
|
-
}
|
|
768
|
-
async updateFiltersAndSorts(isSearch = false) {
|
|
769
|
-
if (!isSearch) {
|
|
770
|
-
this.dataView.onClearSearch();
|
|
771
|
-
this.currentSearchTerm = '';
|
|
772
|
-
this.cdr.detectChanges();
|
|
773
|
-
const clickEvent = new MouseEvent('click', {
|
|
774
|
-
bubbles: true,
|
|
775
|
-
cancelable: true,
|
|
776
|
-
view: window,
|
|
777
|
-
});
|
|
778
|
-
document.dispatchEvent(clickEvent);
|
|
779
|
-
}
|
|
780
|
-
var payload = this.currentFilters.map((x) => {
|
|
781
|
-
return {
|
|
782
|
-
PropertyName: TaskNotificationPropertyMap[x.name
|
|
783
|
-
.split(' ')
|
|
784
|
-
.join('')],
|
|
785
|
-
EntityValue: x.value,
|
|
786
|
-
Operator: SearchOperator.And,
|
|
787
|
-
Sign: x.condition && Object.keys(FilterTypes).includes(x.condition)
|
|
788
|
-
? FilterTypes[x.condition]
|
|
789
|
-
: SearchPropertySign.EQ,
|
|
790
|
-
Type: x.name == TaskNotificationPropertyName.CreatedAt
|
|
791
|
-
? SearchPropertyValueType.Date
|
|
792
|
-
: x.name == TaskNotificationPropertyName.IsMessageId
|
|
793
|
-
? SearchPropertyValueType.Bool
|
|
794
|
-
: SearchPropertyValueType.String,
|
|
795
|
-
};
|
|
796
|
-
});
|
|
797
|
-
// payload.push({
|
|
798
|
-
// PropertyName: 'APIKey',
|
|
799
|
-
// EntityValue: this.envSvc.environment.APIKey,
|
|
800
|
-
// Operator: SearchOperator.And,
|
|
801
|
-
// Sign: SearchPropertySign.EQ,
|
|
802
|
-
// });
|
|
803
|
-
for (let sort of this.currentSorts) {
|
|
804
|
-
payload.push({
|
|
805
|
-
PropertyName: TaskNotificationPropertyMap[sort.name
|
|
806
|
-
.split(' ')
|
|
807
|
-
.join('')],
|
|
808
|
-
EntityValue: '',
|
|
809
|
-
Operator: SearchOperator.And,
|
|
810
|
-
Sign: SearchPropertySign.EQ,
|
|
811
|
-
Sort: sort.value.toLowerCase() == SortDirection.Asc.toLowerCase()
|
|
812
|
-
? SortDirection.Asc
|
|
813
|
-
: sort.value.toLowerCase() == SortDirection.Desc.toLowerCase()
|
|
814
|
-
? SortDirection.Desc
|
|
815
|
-
: SortDirection.None,
|
|
816
|
-
});
|
|
817
|
-
}
|
|
818
|
-
const searchTermExists = this.currentSearchTerm.trim().length > 0;
|
|
819
|
-
this.utilService.sendBI(true);
|
|
820
|
-
const res = searchTermExists
|
|
821
|
-
? await this.server.get(`GetTaskNotificationWithParam/${this.currentSearchTerm.trim()}/0/${this.pageSize}`, this.envSvc.environment.WorkFlowAPI)
|
|
822
|
-
: payload.length == 0
|
|
823
|
-
? await this.server.get(`GetTaskNotifications/0/${this.pageSize}`, this.envSvc.environment.WorkFlowAPI)
|
|
824
|
-
: await this.server.post(`SearchTaskNotification/0/${this.pageSize}`, payload, this.envSvc.environment.WorkFlowAPI);
|
|
825
|
-
this.utilService.sendBI(false);
|
|
826
|
-
if (res instanceof ErrorResponse) {
|
|
827
|
-
this.currentFilters = [];
|
|
828
|
-
this.currentSorts = [];
|
|
829
|
-
return undefined;
|
|
830
|
-
}
|
|
831
|
-
else {
|
|
832
|
-
this.cardDataView.clearData();
|
|
833
|
-
this.currentData = null;
|
|
834
|
-
this.pageState = res;
|
|
835
|
-
var result = res.Result;
|
|
836
|
-
this.data = result.map((x) => {
|
|
837
|
-
return {
|
|
838
|
-
...x,
|
|
839
|
-
Id: x.Code,
|
|
840
|
-
};
|
|
841
|
-
});
|
|
842
|
-
this.setUpCardData();
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
async loadMoreFiltersAndSorts() {
|
|
846
|
-
if (!this.pageState) {
|
|
847
|
-
return;
|
|
848
|
-
}
|
|
849
|
-
var payload = this.currentFilters.map((x) => {
|
|
850
|
-
return {
|
|
851
|
-
PropertyName: TaskNotificationPropertyMap[x.name
|
|
852
|
-
.split(' ')
|
|
853
|
-
.join('')],
|
|
854
|
-
EntityValue: x.value,
|
|
855
|
-
Operator: SearchOperator.And,
|
|
856
|
-
Sign: x.condition && Object.keys(FilterTypes).includes(x.condition)
|
|
857
|
-
? FilterTypes[x.condition]
|
|
858
|
-
: SearchPropertySign.EQ,
|
|
859
|
-
Type: x.name == TaskNotificationPropertyName.CreatedAt
|
|
860
|
-
? SearchPropertyValueType.Date
|
|
861
|
-
: x.name == TaskNotificationPropertyName.IsMessageId
|
|
862
|
-
? SearchPropertyValueType.Bool
|
|
863
|
-
: SearchPropertyValueType.String,
|
|
864
|
-
};
|
|
865
|
-
});
|
|
866
|
-
for (let sort of this.currentSorts) {
|
|
867
|
-
payload.push({
|
|
868
|
-
PropertyName: TaskNotificationPropertyMap[sort.name
|
|
869
|
-
.split(' ')
|
|
870
|
-
.join('')],
|
|
871
|
-
EntityValue: '',
|
|
872
|
-
Operator: SearchOperator.And,
|
|
873
|
-
Sign: SearchPropertySign.EQ,
|
|
874
|
-
Sort: sort.value.toLowerCase() == SortDirection.Asc.toLowerCase()
|
|
875
|
-
? SortDirection.Asc
|
|
876
|
-
: sort.value.toLowerCase() == SortDirection.Desc.toLowerCase()
|
|
877
|
-
? SortDirection.Desc
|
|
878
|
-
: SortDirection.None,
|
|
879
|
-
});
|
|
880
|
-
}
|
|
881
|
-
const searchTermExists = this.currentSearchTerm.trim().length > 0;
|
|
882
|
-
this.utilService.sendBI(true);
|
|
883
|
-
const res = searchTermExists
|
|
884
|
-
? await this.server.get(`GetTaskNotificationsWithParam/${this.currentSearchTerm.trim()}/${this.pageState.Skip}/${this.pageSize}`, this.envSvc.environment.WorkFlowAPI)
|
|
885
|
-
: payload.length == 0
|
|
886
|
-
? await this.server.get(`GetTaskNotifications/${this.pageState.Skip}/${this.pageSize}`, this.envSvc.environment.WorkFlowAPI)
|
|
887
|
-
: await this.server.post(`SearchTaskNotification/${this.pageState.Skip}/${this.pageSize}`, payload, this.envSvc.environment.WorkFlowAPI);
|
|
888
|
-
this.utilService.sendBI(false);
|
|
889
|
-
if (res instanceof ErrorResponse) {
|
|
890
|
-
return undefined;
|
|
891
|
-
}
|
|
892
|
-
else {
|
|
893
|
-
var result = res;
|
|
894
|
-
return result;
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
onFilterUpdated(updatedFilters) {
|
|
898
|
-
// Ensure updatedFilters is an array
|
|
899
|
-
if (Array.isArray(updatedFilters)) {
|
|
900
|
-
this.currentFilters = updatedFilters;
|
|
901
|
-
this.updateFiltersAndSorts();
|
|
902
|
-
}
|
|
903
|
-
}
|
|
904
|
-
onSortUpdated(updatedSorts) {
|
|
905
|
-
this.currentSorts = updatedSorts;
|
|
906
|
-
this.updateFiltersAndSorts();
|
|
907
|
-
}
|
|
908
|
-
handleSearch(event) {
|
|
909
|
-
this.searchTerm$.next(event.value);
|
|
910
|
-
}
|
|
911
|
-
handleExport(exportedData) {
|
|
912
|
-
// console.log('Exported data:', exportedData);
|
|
913
|
-
this.downloadCSV(exportedData);
|
|
914
|
-
}
|
|
915
|
-
downloadCSV(data) {
|
|
916
|
-
const headers = Object.keys(data[0]);
|
|
917
|
-
const csvContent = [
|
|
918
|
-
headers.join(','),
|
|
919
|
-
...data.map((row) => headers.map((header) => row[header]).join(',')),
|
|
920
|
-
].join('\n');
|
|
921
|
-
const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });
|
|
922
|
-
const link = document.createElement('a');
|
|
923
|
-
if (link.download !== undefined) {
|
|
924
|
-
const url = URL.createObjectURL(blob);
|
|
925
|
-
link.setAttribute('href', url);
|
|
926
|
-
link.setAttribute('download', 'export.csv');
|
|
927
|
-
link.style.visibility = 'hidden';
|
|
928
|
-
document.body.appendChild(link);
|
|
929
|
-
link.click();
|
|
930
|
-
document.body.removeChild(link);
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
toggleIsMessageId(item, isMessageId) {
|
|
934
|
-
item.Message = '';
|
|
935
|
-
item.IsMessageId = isMessageId;
|
|
936
|
-
}
|
|
937
|
-
tableCache = new Map();
|
|
938
|
-
cacheItem(item) {
|
|
939
|
-
const cacheKey = item.Id;
|
|
940
|
-
this.tableCache.set(cacheKey, JSON.parse(JSON.stringify(item)));
|
|
941
|
-
}
|
|
942
|
-
restoreCache(item) {
|
|
943
|
-
const cacheKey = item.Id;
|
|
944
|
-
const itemCache = this.tableCache.get(cacheKey);
|
|
945
|
-
if (itemCache) {
|
|
946
|
-
item.Name = itemCache.Name;
|
|
947
|
-
item.Subject = itemCache.Subject;
|
|
948
|
-
item.NotificationType = itemCache.NotificationType;
|
|
949
|
-
item.Medium = itemCache.Medium;
|
|
950
|
-
item.SenderConfig = itemCache.SenderConfig;
|
|
951
|
-
}
|
|
952
|
-
this.tableCache.delete(cacheKey);
|
|
953
|
-
}
|
|
954
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TaskNotificationComponent, deps: [{ token: i1.UtilService }, { token: i1.HttpWebRequestService }, { token: i0.ChangeDetectorRef }, { token: i2.FormBuilder }, { token: i1.EnvironmentService }, { token: TaskNotificationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
955
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: TaskNotificationComponent, selector: "lib-task-notification", inputs: { permissionConfig: "permissionConfig" }, viewQueries: [{ propertyName: "cardDataView", first: true, predicate: ["vdcv"], descendants: true }, { propertyName: "dataView", first: true, predicate: ["vdv"], descendants: true }, { propertyName: "tableView", first: true, predicate: ["dt"], descendants: true }, { propertyName: "popUps", predicate: ["popup"], descendants: true }], ngImport: i0, template: "<div #messageLog class=\"flex flex-col gap-4 message-log-container\">\n <verben-data-view\n #vdv\n [viewState]=\"{\n isSearch: true,\n isColumn: true,\n isFilter: true,\n isSort: true,\n isExport: (!permissionConfig || permissionConfig.Actions['Export']),\n isSelect: true,\n isCreate: (!permissionConfig || permissionConfig.Actions['Create']),\n isToggle:true,\n }\"\n [buttonClass]=\"'my-custom-button-class'\"\n [iconClass]=\"'my-icon-class'\"\n [activeIconClass]=\"'my-active-icon-class'\"\n [selectedColumnCount]=\"0\"\n [selectedSortCount]=\"0\"\n [selectedFilterTableCount]=\"0\"\n (viewChange)=\"onViewChange($event)\"\n (stateChange)=\"onStateChange($event)\"\n (onSearchChange)=\"handleSearch($event)\"\n >\n <div class=\"mt-2\" table-content>\n <lib-data-table\n [dataKey]=\"'Id'\"\n class=\"form-table\"\n #dt\n [data]=\"data\"\n [columns]=\"visibleColumnDef\"\n [styleConfig]=\"styles\"\n (selectionChange)=\"onSelectionChange($event)\"\n >\n <ng-container libColumn=\"select\">\n <ng-template\n #cell\n let-isSelected=\"isSelected\"\n let-toggleRowSelection=\"toggleRowSelection\"\n >\n <input\n type=\"checkbox\"\n [checked]=\"isSelected\"\n (change)=\"toggleRowSelection()\"\n />\n </ng-template>\n <ng-template\n #header\n let-allRowsSelected=\"allRowsSelected\"\n let-someRowsSelected=\"someRowsSelected\"\n let-toggleAllRows=\"toggleAllRows\"\n >\n <input\n type=\"checkbox\"\n [checked]=\"allRowsSelected()\"\n [indeterminate]=\"someRowsSelected()\"\n (change)=\"toggleAllRows()\"\n />\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"createdAt\">\n <ng-template #cell let-value>\n {{ value | date }}\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"medium\">\n <ng-template #cell let-row=\"row\" let-value>\n {{ value.Medium }}\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <verben-drop-down\n width=\"100%\"\n placeholder=\"Select Message Medium\"\n [(options)]=\"mediumOptions\"\n [(ngModel)]=\"value.Medium\"\n >\n </verben-drop-down>\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"name\">\n <ng-template #cell let-row=\"row\" let-value>\n {{ value.Name }}\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <div class=\"width-max\">\n <verbena-input [(ngModel)]=\"value.Name\"></verbena-input>\n </div>\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"subject\">\n <ng-template #cell let-row=\"row\" let-value>\n {{ value.Subject }}\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <div class=\"width-max\">\n <verbena-input [(ngModel)]=\"value.Subject\"></verbena-input>\n </div>\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"senderConfig\">\n <ng-template #cell let-row=\"row\" let-value>\n <div *ngIf=\"value.Medium == this.smsRef\">\n {{\n value.SenderConfig\n | asyncLabel : \"SMSConfig\" : \"Name\" : configAPI\n | async\n }}\n </div>\n <div *ngIf=\"value.Medium == this.mailRef\">\n {{\n value.SenderConfig\n | asyncLabel : \"MailConfig\" : \"Name\" : configAPI\n | async\n }}\n </div>\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <verben-drop-down\n *ngIf=\"value.Medium == this.smsRef\"\n [filter]=\"true\"\n [load]=\"service.loadMoreSMSConfigs.bind(service)\"\n [search]=\"service.searchSMSConfigs.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"service.getAsyncSMSConfigLabel.bind(service)\"\n width=\"100%\"\n placeholder=\"Select Sender Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"smsConfigs\"\n [(ngModel)]=\"value.SenderConfig\"\n >\n </verben-drop-down>\n <verben-drop-down\n *ngIf=\"value.Medium == this.mailRef\"\n [filter]=\"true\"\n [load]=\"service.loadMoreMailConfigs.bind(service)\"\n [search]=\"service.searchMailConfigs.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"service.getAsyncMailConfigLabel.bind(service)\"\n width=\"100%\"\n placeholder=\"Select Sender Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"mailConfigs\"\n [(ngModel)]=\"value.SenderConfig\"\n >\n </verben-drop-down>\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"notificationType\">\n <ng-template #cell let-row=\"row\" let-value>\n {{ value.NotificationType }}\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <verben-drop-down\n width=\"100%\"\n placeholder=\"Select Notification Type\"\n [(options)]=\"notificationTypeOptions\"\n [(ngModel)]=\"value.NotificationType\"\n >\n </verben-drop-down>\n </ng-template>\n </ng-container>\n\n <ng-container libColumn=\"actions\">\n <ng-template\n #cell\n let-isEditing=\"isEditing\"\n let-toggleRowEdit=\"toggleRowEdit\"\n let-row=\"row\"\n let-value\n >\n <verben-pop-Up\n #popup\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n >\n <verben-svg\n class=\"cursor-pointer actions-icon\"\n dropdown-trigger\n icon=\"list\"\n ></verben-svg>\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <!-- <div (click)=\"viewVendors(value.Code)\" class=\"pop-up-value cursor-pointer\">View vendors</div> -->\n <div\n (click)=\"toggleRowEdit(); cacheItem(value); closePopUp()\"\n class=\"pop-up-value cursor-pointer\"\n >\n Edit\n </div>\n <!-- <div class=\"pop-up-value cursor-pointer\">Delete</div> -->\n </div>\n </verben-pop-Up>\n </ng-template>\n <ng-template\n #cellEdit\n let-isEditing=\"isEditing\"\n let-toggleRowEdit=\"toggleRowEdit\"\n let-row=\"row\"\n let-value\n >\n <div class=\"flex gap-2 items-center\">\n <verben-svg\n icon=\"tick\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"tableSaveTaskNotification(value, toggleRowEdit)\"\n ></verben-svg>\n <verben-svg\n (click)=\"restoreCache(value); toggleRowEdit()\"\n icon=\"close-no-circle\"\n [width]=\"15\"\n [height]=\"15\"\n ></verben-svg>\n <!-- <verben-svg (click)=\"toggleRowEdit()\" icon=\"delete\" [width]=\"15\" [height]=\"15\"></verben-svg> -->\n <verben-svg\n icon=\"cardViewAlt\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"goToCardView(value)\"\n ></verben-svg>\n </div>\n </ng-template>\n </ng-container>\n </lib-data-table>\n </div>\n <div card-content>\n <verben-card-data-view\n borderRadius=\"12px\"\n #vdcv\n dataId=\"Id\"\n border=\"5px\"\n [cardDataList]=\"cardData\"\n rbgColor=\"var(--vbn-color-surface-alt)\"\n mg=\"0px\"\n >\n <verben-left-card-data-view class=\"space-y-7\">\n <verben-left-card-data\n #vlcd\n [parent]=\"vdcv\"\n dataId=\"Id\"\n class=\"bg-secondary-100 rounded-xl border-primary border-[1px]\"\n [cardDataList]=\"cardData\"\n >\n <ng-template #card let-item>\n <div\n (click)=\"cardClicked(item)\"\n class=\"flex cursor-pointer h-[max-content]\"\n >\n <!-- <verben-svg [width]=\"15\" [height]=\"15\" (click)=\"toggleChildren(item); $event.stopPropagation()\"\n [ngClass]=\"item.children && item.children.length?'visible':'invisible'\"\n class=\"items-center flex pr-1 cursor-pointer\" [icon]=\"item.isChildrenExpanded?'minus':'plus'\" /> -->\n <div class=\"flex w-full bg-secondary rounded-xl\">\n <div\n class=\"w-3 rounded-xl rounded-tr-none rounded-br-none\"\n [ngClass]=\"\n item.selected ? 'bg-primary' : 'bg-secondary-200'\n \"\n ></div>\n <div class=\"py-3 px-4 flex-1 h-[100%]\">\n <div\n class=\"flex items-start flex-1 gap-1 justify-between h-[100%]\"\n >\n <div\n class=\"flex flex-col flex-1 card-min-height justify-between h-[100%]\"\n >\n <h3\n class=\"my-0 font-bold text-[var(--vbn-color-on-primary)] leading-[19.5px]\"\n >\n {{ item.data.Name }}\n </h3>\n <!-- <span class=\"flex items-center gap-1\">\n <span class=\"!text-[10px] font-light text-[var(--vbn-color-on-primary)]\">Ledger Header:</span> <span\n class=\"!text-[12px]\">{{item.data.SenderConfig}}</span>\n </span> -->\n </div>\n\n <div class=\"flex flex-col items-between h-[100%]\">\n <div class=\"flex flex-col gap-1\">\n <span class=\"!text-[10px] font-light text-[var(--vbn-color-on-primary)]\"\n >Medium:</span\n >\n <div>{{ item.data.Medium }}</div>\n </div>\n <!-- <p [ngClass]=\"{'disabled': item.data.DataState == 'New'}\" (click)=\"viewVendors(item.data.Code) ;$event.stopPropagation()\"\n class=\"view-lines my-0 underline text-[var(--vbn-color-border-focus)] text-[12px] leading-[16.6px] cursor-pointer font-medium\">\n view vendors</p> -->\n <!-- <span class=\"enum-val {{item.data.Status}}\">{{item.data.Status}}</span> -->\n </div>\n </div>\n </div>\n </div>\n </div>\n </ng-template>\n </verben-left-card-data>\n </verben-left-card-data-view>\n <verben-right-card-data-view>\n <ng-template #parent>\n <div\n *ngIf=\"this.currentData\"\n class=\"flex flex-col rounded-xl h-full w-full justify-between relative space-y-4\"\n >\n <div class=\"flex flex-col gap-3\">\n <div class=\"options-container flex flex-col gap-2\">\n <div class=\"options-item flex gap-2 items-center\">\n <div\n (click)=\"toggleIsMessageId(this.currentData.data, false)\"\n [ngClass]=\"{ active: !this.currentData.data.IsMessageId }\"\n class=\"option-toggle rounded-full flex items-center justify-center\"\n >\n <div class=\"option-toggle-dot rounded-full\"></div>\n </div>\n <div>Type Message</div>\n </div>\n <div class=\"options-item flex gap-2 items-center\">\n <div\n (click)=\"toggleIsMessageId(this.currentData.data, true)\"\n [ngClass]=\"{ active: this.currentData.data.IsMessageId }\"\n class=\"option-toggle rounded-full flex items-center justify-center\"\n >\n <div class=\"option-toggle-dot rounded-full\"></div>\n </div>\n <div>Select Existing Message</div>\n </div>\n </div>\n <div\n class=\"task-notification-inputs-container flex flex-col gap-3\"\n >\n <!-- <verbena-input [disabled]=\"true\" name=\"Code\" label=\"Code\" [(ngModel)]=\"this.currentData.data.Code\" /> -->\n\n <div\n *ngIf=\"this.currentData.data.IsMessageId\"\n class=\"flex flex-col gap-1\"\n >\n <div>Message Config</div>\n <verben-drop-down\n [filter]=\"true\"\n [load]=\"service.loadMoreReportSchedules.bind(service)\"\n [search]=\"service.searchReportSchedules.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"\n service.getAsyncReportScheduleLabel.bind(service)\n \"\n width=\"100%\"\n placeholder=\"Select Message Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"reportSchedules\"\n [(ngModel)]=\"this.currentData.data.Message\"\n >\n </verben-drop-down>\n </div>\n\n <verbena-input\n name=\"Name\"\n label=\"Name\"\n (ngModelChange)=\"updateTable()\"\n [(ngModel)]=\"this.currentData.data.Name\"\n />\n <verbena-input\n name=\"Subject\"\n label=\"Subject\"\n (ngModelChange)=\"updateTable()\"\n [(ngModel)]=\"this.currentData.data.Subject\"\n />\n <div class=\"flex flex-col gap-1\">\n <div>Notification Type</div>\n <verben-drop-down\n width=\"100%\"\n placeholder=\"Select Notification Type\"\n [(options)]=\"notificationTypeOptions\"\n [(ngModel)]=\"this.currentData.data.NotificationType\"\n >\n </verben-drop-down>\n </div>\n <div class=\"flex flex-col gap-1\">\n <div>Message Medium</div>\n <verben-drop-down\n width=\"100%\"\n placeholder=\"Select Message Medium\"\n [(options)]=\"mediumOptions\"\n [(ngModel)]=\"this.currentData.data.Medium\"\n >\n </verben-drop-down>\n </div>\n\n <div class=\"flex flex-col gap-1\">\n <div>Sender Config</div>\n <verben-drop-down\n *ngIf=\"this.currentData.data.Medium == this.smsRef\"\n [filter]=\"true\"\n [load]=\"service.loadMoreSMSConfigs.bind(service)\"\n [search]=\"service.searchSMSConfigs.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"\n service.getAsyncSMSConfigLabel.bind(service)\n \"\n width=\"100%\"\n placeholder=\"Select Sender Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"smsConfigs\"\n [(ngModel)]=\"this.currentData.data.SenderConfig\"\n >\n </verben-drop-down>\n <verben-drop-down\n *ngIf=\"this.currentData.data.Medium == this.mailRef\"\n [filter]=\"true\"\n [load]=\"service.loadMoreMailConfigs.bind(service)\"\n [search]=\"service.searchMailConfigs.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"\n service.getAsyncMailConfigLabel.bind(service)\n \"\n width=\"100%\"\n placeholder=\"Select Sender Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"mailConfigs\"\n [(ngModel)]=\"this.currentData.data.SenderConfig\"\n >\n </verben-drop-down>\n </div>\n\n <div\n *ngIf=\"!this.currentData.data.IsMessageId\"\n class=\"flex editor-container-wrapper flex-col gap-1\"\n >\n <lib-editor\n [editorConfig]=\"editorConfig\"\n [editorMode]=\"editorMode\"\n [(ngModel)]=\"this.currentData.data.Message\"\n ></lib-editor>\n </div>\n </div>\n </div>\n <!-- buttons -->\n <div class=\"flex justify-between bottom-8 left-0 right-0\">\n <div></div>\n <!-- <verbena-button class=\"verben-delete-button\" text=\"Delete\"></verbena-button> -->\n <div class=\"flex gap-3\">\n <!-- <verbena-button class=\"verben-switch-button\"\n (click)=\"viewVendors(this.currentData? this.currentData.data? this.currentData.data.Code: '':'')\"\n text=\"View Vendors\"></verbena-button> -->\n <verbena-button\n class=\"verben-switch-button\"\n (click)=\"goToTableView()\"\n text=\"Switch To Table\"\n ></verbena-button>\n <verbena-button\n *ngIf=\"\n !permissionConfig || permissionConfig.Actions['Create']\n \"\n class=\"verben-primary-button\"\n (click)=\"this.saveTaskNotification()\"\n text=\"Save\"\n ></verbena-button>\n </div>\n </div>\n </div>\n </ng-template>\n </verben-right-card-data-view>\n <!-- <verben-right-card-data-view>\n yeshhhhhh\n </verben-right-card-data-view> -->\n\n <verben-card-data-view-footer>\n <div class=\"flex gap-2 justify-between\">\n <div\n *ngIf=\"!vdcv.hasCurrentItem()\"\n class=\"message-log-button-container flex justify-between\"\n >\n <!-- <verbena-button [fontWeight]=\"'bold'\" [bgColor]=\"'var(--vbn-color-text-muted)'\" [borderRadius]=\"'4px'\" [textColor]=\"'var(--vbn-color-surface)'\"\n [text]=\"'Delete'\">\n </verbena-button> -->\n </div>\n <div\n class=\"flex {{\n vdcv.hasCurrentItem() ? 'flex-1' : ''\n }} justify-end items-center gap-5\"\n >\n <span class=\"paginator-text\"\n >{{ cardData.length }} records loaded</span\n >\n <button (click)=\"loadMore()\" class=\"load-more view-links\">\n Load more\n </button>\n </div>\n </div>\n </verben-card-data-view-footer>\n </verben-card-data-view>\n </div>\n <div column-content>\n <verben-visible-column\n (columnsUpdated)=\"onColumnsUpdated($event)\"\n [border]=\"'1px solid var(--vbn-color-primary)'\"\n borderRadius=\"10px\"\n boxShadow=\"2px 2px 2px 0px silver\"\n bgColor=\"white\"\n width=\"400px\"\n textColor=\"black\"\n pd=\"1rem\"\n primaryColor=\"var(--vbn-color-primary)\"\n secondaryColor=\"var(--vbn-color-border-focus)\"\n [columns]=\"visibleColumns\"\n [displayedColumns]=\"5\"\n ></verben-visible-column>\n </div>\n <div filter-content>\n <verben-table-filter\n (filtersApplied)=\"onFilterUpdated($event)\"\n [border]=\"'1px solid var(--vbn-color-primary)'\"\n borderRadius=\"10px\"\n boxShadow=\"2px 2px 2px 0px silver\"\n bgColor=\"white\"\n width=\"420px\"\n textColor=\"black\"\n pd=\"1rem\"\n primaryColor=\"var(--vbn-color-primary)\"\n secondaryColor=\"var(--vbn-color-border-focus)\"\n tertiaryColor=\"var(--vbn-color-on-primary)\"\n [filterOptions]=\"filterArray\"\n [maxFilterLength]=\"3\"\n ></verben-table-filter>\n </div>\n <div sort-content>\n <verben-sort-table\n (selectedOptions)=\"onSortUpdated($event)\"\n [border]=\"'1px solid var(--vbn-color-primary)'\"\n borderRadius=\"10px\"\n boxShadow=\"2px 2px 2px 0px silver\"\n bgColor=\"white\"\n width=\"400px\"\n textColor=\"black\"\n pd=\"1rem\"\n primaryColor=\"var(--vbn-color-primary)\"\n secondaryColor=\"var(--vbn-color-border-focus)\"\n tertiaryColor=\"var(--vbn-color-on-primary)\"\n [enableDragAndDrop]=\"true\"\n [sortOptions]=\"sortOptions\"\n ></verben-sort-table>\n </div>\n <div export-content>\n <lib-data-export [data]=\"data\" (exportDataEvent)=\"handleExport($event)\">\n </lib-data-export>\n </div>\n </verben-data-view>\n <div *ngIf=\"vdv.isTableView\" class=\"flex gap-2 justify-between\">\n <div class=\"message-log-button-container flex justify-between\">\n <!-- <verbena-button [fontWeight]=\"'bold'\" [bgColor]=\"'var(--vbn-color-text-muted)'\" [borderRadius]=\"'4px'\" [textColor]=\"'var(--vbn-color-surface)'\"\n [text]=\"'Delete'\">\n </verbena-button> -->\n </div>\n <div class=\"flex justify-end items-center gap-5\">\n <span class=\"paginator-text\">{{ cardData.length }} records loaded</span>\n <button (click)=\"loadMore()\" class=\"load-more view-links\">\n Load more\n </button>\n </div>\n </div>\n</div>\n", styles: [".view-links{font-size:14px!important;color:var(--vbn-color-border-focus);font-weight:600;cursor:pointer}.view-links:hover{text-decoration:underline;text-underline-offset:3px}.context-banner{background-color:#d4a00773}.card-min-height{gap:10px}::ng-deep .childrenPadding{max-height:300px;overflow-y:auto}.pop-up-content{border-radius:4px;background-color:var(--vbn-color-surface);border:1px solid rgba(212,161,7,.5)}.pop-up-value{padding:10px 20px}.pop-up-content>div:nth-child(1){border-bottom:4px solid var(--vbn-color-primary)}.width-max{min-width:max-content}.editor-container-wrapper{border-top:1px solid var(--vbn-color-primary);margin-left:-19px;margin-right:-19px;padding:5px}::ng-deep .editor-container{gap:0!important}.option-toggle{border:1px solid var(--vbn-color-border);width:20px;height:20px;cursor:pointer}.option-toggle-dot{width:10px;height:10px}.option-toggle.active{border:1px solid var(--vbn-color-border-focus)}.option-toggle.active>div{background-color:var(--vbn-color-border-focus)}.task-notification-inputs-container{border:1px solid var(--vbn-color-primary);border-radius:16px;padding:15px 20px;margin-left:-19px;margin-right:-19px}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.DataTableComponent, selector: "lib-data-table", inputs: ["data", "columns", "dataKey", "formGroupConfig", "groupBy", "useVirtualScroll", "virtualScrollItemSize", "styleConfig"], outputs: ["rowEdit", "rowSave", "rowRevert", "rowDelete", "selectionChange"] }, { kind: "directive", type: i5.ColumnDirective, selector: "[libColumn]", inputs: ["libColumn"] }, { kind: "component", type: i5.SvgComponent, selector: "verben-svg", inputs: ["icon", "width", "height", "fill", "stroke", "type", "size"] }, { kind: "component", type: i5.DataViewComponent, selector: "verben-data-view", inputs: ["buttonClass", "iconClass", "activeIconClass", "columnCustomClass", "filterCustomClass", "sortCustomClass", "extendCustomClass", "exportCustomClass", "selectCustomClass", "importCustomClass", "zIndex", "createCustomClass", "tableIcon", "cardIcon", "cardClass", "tableClass", "searchKey", "searchValue", "viewState", "searchTemplate", "importTemplate", "columnTemplate", "extendTemplate", "filterTemplate", "sortTemplate", "children", "exportTemplate", "createTemplate", "selectedColumnCount", "selectedSortCount", "selectedFilterTableCount", "inputWidth", "milliseconds", "showColumnChild", "showSortChild", "showFilterChild", "showImportChild", "showExportChild", "showExtendChild", "create", "showSelected", "isTableView"], outputs: ["viewChange", "stateChange", "onSearchChange"] }, { kind: "component", type: i5.CardDataViewComponent, selector: "verben-card-data-view", inputs: ["pd", "mg", "lHeight", "rHeight", "rWidth", "lWidth", "textColor", "lbgColor", "rbgColor", "border", "display", "borderRadius", "activeCss", "inActiveCss", "displayAsRow", "cardDataList", "dataId", "totalRecords", "footer", "noOfVisibleChildren", "showEditIcon", "useVirtualScroll", "virtualScrollItemSize", "onItemClick", "onCardChildClick"], outputs: ["editClicked", "loadMoreClick"] }, { kind: "component", type: i5.LeftCardDataComponent, selector: "verben-left-card-data", inputs: ["pd", "mg", "height", "weight", "activeCss", "inActiveCss", "cardDataList", "iconCollapse", "iconExpanded", "parent", "useVirtualScroll", "virtualScrollItemSize", "dataId"] }, { kind: "component", type: i5.LeftCardDataViewComponent, selector: "verben-left-card-data-view", inputs: ["cardDataList"] }, { kind: "component", type: i5.RightCardDataViewComponent, selector: "verben-right-card-data-view", inputs: ["parentData", "chilData", "meth"] }, { kind: "component", type: i5.CardDataViewFooterComponent, selector: "verben-card-data-view-footer" }, { kind: "component", type: i5.SortTableComponent, selector: "verben-sort-table", inputs: ["enableDragAndDrop", "sortOptions", "resetText", "displayedOptions", "propertyText", "showMoreText", "sortButtonText", "pd", "mg", "height", "width", "bgColor", "boxShadow", "textColor", "primaryColor", "secondaryColor", "tertiaryColor", "border", "borderRadius", "selectWidth", "containerHeight"], outputs: ["selectedOptions", "resetSortData"] }, { kind: "component", type: i5.VisibleColumnComponent, selector: "verben-visible-column", inputs: ["columns", "items", "enableDragAndDrop", "displayedColumns", "showMore", "pd", "mg", "height", "width", "bgColor", "boxShadow", "textColor", "primaryColor", "secondaryColor", "tertiaryColor", "border", "borderRadius", "selectWidth", "closeColumn", "saveCallback"], outputs: ["columnsUpdated", "resetFilter"] }, { kind: "component", type: i5.TableFilterComponent, selector: "verben-table-filter", inputs: ["filterOptions", "pd", "mg", "height", "width", "bgColor", "boxShadow", "textColor", "primaryColor", "secondaryColor", "tertiaryColor", "border", "borderRadius", "selectWidth", "maxFilterLength", "savedFilters", "tooltip", "saveCallback"], outputs: ["filtersApplied", "resetSortData"] }, { kind: "component", type: i5.DataExportComponent, selector: "lib-data-export", inputs: ["columns", "data", "dataFetchUrl", "dataQueryParameters"], outputs: ["exportDataEvent"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.VerbenaInputComponent, selector: "verbena-input", inputs: ["disabled", "label", "placeHolder", "required", "svgPosition", "minLength", "maxLength", "type", "bgColor", "border", "borderRadius", "textColor", "value", "labelPosition", "labelColor", "disable", "readOnly", "min", "max", "showBorder", "showErrorMessage", "errorMessageColor", "errorBorderColor", "errorPosition", "svg", "fontSize", "svgWidth", "svgHeight", "svgColor", "capitalization", "inputContainerClass", "inputFieldClass", "passLength", "inputWrapperClass", "passwordToggle", "customErrorMessages", "icon", "textPass"], outputs: ["valueChange"] }, { kind: "component", type: i5.VerbenaButtonComponent, selector: "verbena-button", inputs: ["type", "text", "icon", "useIcon", "svgPosition", "iconPosition", "bgColor", "textColor", "border", "borderRadius", "pd", "width", "height", "fontSize", "fontWeight", "disable", "svgSize", "weight", "variant", "styleType", "svg", "svgWidth", "svgHeight", "iconColor", "svgColor", "buttonClass", "buttonTextClass", "isLoading", "spinnerSize", "spinnerColor"] }, { kind: "component", type: i5.DropDownComponent, selector: "verben-drop-down", inputs: ["options", "width", "overlayWidth", "showHorizontalLine", "horizontalLineColor", "optionLabel", "optionSubLabel", "optionValue", "placeholder", "invalidMessage", "errorPosition", "loadMoreCaption", "display", "showClear", "lazyLoad", "selectKey", "styleClass", "group", "multiselect", "filter", "avoidDuplication", "filterBy", "debounceTime", "minChar", "refPageSize", "disabled", "required", "load", "asyncLabel", "search"], outputs: ["optionsChange", "onChange", "onClick", "onClear"] }, { kind: "component", type: i5.VerbenPopUpComponent, selector: "verben-pop-Up", inputs: ["dropdownOpen", "dropdownWidth", "color", "customStyles", "popUpClass", "border", "borderRadius", "enableMouseLeave", "cdkPosition"], outputs: ["dropdownOpenChange", "close"] }, { kind: "component", type: i6.EditorComponent, selector: "lib-editor", inputs: ["themeColor", "editorMode", "editorConfig", "content"], outputs: ["onImageEdit", "onSortEdit"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.DatePipe, name: "date" }, { kind: "pipe", type: i7.AsyncLabelPipe, name: "asyncLabel" }] });
|
|
956
|
-
}
|
|
957
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TaskNotificationComponent, decorators: [{
|
|
958
|
-
type: Component,
|
|
959
|
-
args: [{ selector: 'lib-task-notification', template: "<div #messageLog class=\"flex flex-col gap-4 message-log-container\">\n <verben-data-view\n #vdv\n [viewState]=\"{\n isSearch: true,\n isColumn: true,\n isFilter: true,\n isSort: true,\n isExport: (!permissionConfig || permissionConfig.Actions['Export']),\n isSelect: true,\n isCreate: (!permissionConfig || permissionConfig.Actions['Create']),\n isToggle:true,\n }\"\n [buttonClass]=\"'my-custom-button-class'\"\n [iconClass]=\"'my-icon-class'\"\n [activeIconClass]=\"'my-active-icon-class'\"\n [selectedColumnCount]=\"0\"\n [selectedSortCount]=\"0\"\n [selectedFilterTableCount]=\"0\"\n (viewChange)=\"onViewChange($event)\"\n (stateChange)=\"onStateChange($event)\"\n (onSearchChange)=\"handleSearch($event)\"\n >\n <div class=\"mt-2\" table-content>\n <lib-data-table\n [dataKey]=\"'Id'\"\n class=\"form-table\"\n #dt\n [data]=\"data\"\n [columns]=\"visibleColumnDef\"\n [styleConfig]=\"styles\"\n (selectionChange)=\"onSelectionChange($event)\"\n >\n <ng-container libColumn=\"select\">\n <ng-template\n #cell\n let-isSelected=\"isSelected\"\n let-toggleRowSelection=\"toggleRowSelection\"\n >\n <input\n type=\"checkbox\"\n [checked]=\"isSelected\"\n (change)=\"toggleRowSelection()\"\n />\n </ng-template>\n <ng-template\n #header\n let-allRowsSelected=\"allRowsSelected\"\n let-someRowsSelected=\"someRowsSelected\"\n let-toggleAllRows=\"toggleAllRows\"\n >\n <input\n type=\"checkbox\"\n [checked]=\"allRowsSelected()\"\n [indeterminate]=\"someRowsSelected()\"\n (change)=\"toggleAllRows()\"\n />\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"createdAt\">\n <ng-template #cell let-value>\n {{ value | date }}\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"medium\">\n <ng-template #cell let-row=\"row\" let-value>\n {{ value.Medium }}\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <verben-drop-down\n width=\"100%\"\n placeholder=\"Select Message Medium\"\n [(options)]=\"mediumOptions\"\n [(ngModel)]=\"value.Medium\"\n >\n </verben-drop-down>\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"name\">\n <ng-template #cell let-row=\"row\" let-value>\n {{ value.Name }}\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <div class=\"width-max\">\n <verbena-input [(ngModel)]=\"value.Name\"></verbena-input>\n </div>\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"subject\">\n <ng-template #cell let-row=\"row\" let-value>\n {{ value.Subject }}\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <div class=\"width-max\">\n <verbena-input [(ngModel)]=\"value.Subject\"></verbena-input>\n </div>\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"senderConfig\">\n <ng-template #cell let-row=\"row\" let-value>\n <div *ngIf=\"value.Medium == this.smsRef\">\n {{\n value.SenderConfig\n | asyncLabel : \"SMSConfig\" : \"Name\" : configAPI\n | async\n }}\n </div>\n <div *ngIf=\"value.Medium == this.mailRef\">\n {{\n value.SenderConfig\n | asyncLabel : \"MailConfig\" : \"Name\" : configAPI\n | async\n }}\n </div>\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <verben-drop-down\n *ngIf=\"value.Medium == this.smsRef\"\n [filter]=\"true\"\n [load]=\"service.loadMoreSMSConfigs.bind(service)\"\n [search]=\"service.searchSMSConfigs.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"service.getAsyncSMSConfigLabel.bind(service)\"\n width=\"100%\"\n placeholder=\"Select Sender Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"smsConfigs\"\n [(ngModel)]=\"value.SenderConfig\"\n >\n </verben-drop-down>\n <verben-drop-down\n *ngIf=\"value.Medium == this.mailRef\"\n [filter]=\"true\"\n [load]=\"service.loadMoreMailConfigs.bind(service)\"\n [search]=\"service.searchMailConfigs.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"service.getAsyncMailConfigLabel.bind(service)\"\n width=\"100%\"\n placeholder=\"Select Sender Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"mailConfigs\"\n [(ngModel)]=\"value.SenderConfig\"\n >\n </verben-drop-down>\n </ng-template>\n </ng-container>\n <ng-container libColumn=\"notificationType\">\n <ng-template #cell let-row=\"row\" let-value>\n {{ value.NotificationType }}\n </ng-template>\n <ng-template\n #cellEdit\n let-row=\"row\"\n let-updateData=\"updateData\"\n let-value\n >\n <verben-drop-down\n width=\"100%\"\n placeholder=\"Select Notification Type\"\n [(options)]=\"notificationTypeOptions\"\n [(ngModel)]=\"value.NotificationType\"\n >\n </verben-drop-down>\n </ng-template>\n </ng-container>\n\n <ng-container libColumn=\"actions\">\n <ng-template\n #cell\n let-isEditing=\"isEditing\"\n let-toggleRowEdit=\"toggleRowEdit\"\n let-row=\"row\"\n let-value\n >\n <verben-pop-Up\n #popup\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n >\n <verben-svg\n class=\"cursor-pointer actions-icon\"\n dropdown-trigger\n icon=\"list\"\n ></verben-svg>\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <!-- <div (click)=\"viewVendors(value.Code)\" class=\"pop-up-value cursor-pointer\">View vendors</div> -->\n <div\n (click)=\"toggleRowEdit(); cacheItem(value); closePopUp()\"\n class=\"pop-up-value cursor-pointer\"\n >\n Edit\n </div>\n <!-- <div class=\"pop-up-value cursor-pointer\">Delete</div> -->\n </div>\n </verben-pop-Up>\n </ng-template>\n <ng-template\n #cellEdit\n let-isEditing=\"isEditing\"\n let-toggleRowEdit=\"toggleRowEdit\"\n let-row=\"row\"\n let-value\n >\n <div class=\"flex gap-2 items-center\">\n <verben-svg\n icon=\"tick\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"tableSaveTaskNotification(value, toggleRowEdit)\"\n ></verben-svg>\n <verben-svg\n (click)=\"restoreCache(value); toggleRowEdit()\"\n icon=\"close-no-circle\"\n [width]=\"15\"\n [height]=\"15\"\n ></verben-svg>\n <!-- <verben-svg (click)=\"toggleRowEdit()\" icon=\"delete\" [width]=\"15\" [height]=\"15\"></verben-svg> -->\n <verben-svg\n icon=\"cardViewAlt\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"goToCardView(value)\"\n ></verben-svg>\n </div>\n </ng-template>\n </ng-container>\n </lib-data-table>\n </div>\n <div card-content>\n <verben-card-data-view\n borderRadius=\"12px\"\n #vdcv\n dataId=\"Id\"\n border=\"5px\"\n [cardDataList]=\"cardData\"\n rbgColor=\"var(--vbn-color-surface-alt)\"\n mg=\"0px\"\n >\n <verben-left-card-data-view class=\"space-y-7\">\n <verben-left-card-data\n #vlcd\n [parent]=\"vdcv\"\n dataId=\"Id\"\n class=\"bg-secondary-100 rounded-xl border-primary border-[1px]\"\n [cardDataList]=\"cardData\"\n >\n <ng-template #card let-item>\n <div\n (click)=\"cardClicked(item)\"\n class=\"flex cursor-pointer h-[max-content]\"\n >\n <!-- <verben-svg [width]=\"15\" [height]=\"15\" (click)=\"toggleChildren(item); $event.stopPropagation()\"\n [ngClass]=\"item.children && item.children.length?'visible':'invisible'\"\n class=\"items-center flex pr-1 cursor-pointer\" [icon]=\"item.isChildrenExpanded?'minus':'plus'\" /> -->\n <div class=\"flex w-full bg-secondary rounded-xl\">\n <div\n class=\"w-3 rounded-xl rounded-tr-none rounded-br-none\"\n [ngClass]=\"\n item.selected ? 'bg-primary' : 'bg-secondary-200'\n \"\n ></div>\n <div class=\"py-3 px-4 flex-1 h-[100%]\">\n <div\n class=\"flex items-start flex-1 gap-1 justify-between h-[100%]\"\n >\n <div\n class=\"flex flex-col flex-1 card-min-height justify-between h-[100%]\"\n >\n <h3\n class=\"my-0 font-bold text-[var(--vbn-color-on-primary)] leading-[19.5px]\"\n >\n {{ item.data.Name }}\n </h3>\n <!-- <span class=\"flex items-center gap-1\">\n <span class=\"!text-[10px] font-light text-[var(--vbn-color-on-primary)]\">Ledger Header:</span> <span\n class=\"!text-[12px]\">{{item.data.SenderConfig}}</span>\n </span> -->\n </div>\n\n <div class=\"flex flex-col items-between h-[100%]\">\n <div class=\"flex flex-col gap-1\">\n <span class=\"!text-[10px] font-light text-[var(--vbn-color-on-primary)]\"\n >Medium:</span\n >\n <div>{{ item.data.Medium }}</div>\n </div>\n <!-- <p [ngClass]=\"{'disabled': item.data.DataState == 'New'}\" (click)=\"viewVendors(item.data.Code) ;$event.stopPropagation()\"\n class=\"view-lines my-0 underline text-[var(--vbn-color-border-focus)] text-[12px] leading-[16.6px] cursor-pointer font-medium\">\n view vendors</p> -->\n <!-- <span class=\"enum-val {{item.data.Status}}\">{{item.data.Status}}</span> -->\n </div>\n </div>\n </div>\n </div>\n </div>\n </ng-template>\n </verben-left-card-data>\n </verben-left-card-data-view>\n <verben-right-card-data-view>\n <ng-template #parent>\n <div\n *ngIf=\"this.currentData\"\n class=\"flex flex-col rounded-xl h-full w-full justify-between relative space-y-4\"\n >\n <div class=\"flex flex-col gap-3\">\n <div class=\"options-container flex flex-col gap-2\">\n <div class=\"options-item flex gap-2 items-center\">\n <div\n (click)=\"toggleIsMessageId(this.currentData.data, false)\"\n [ngClass]=\"{ active: !this.currentData.data.IsMessageId }\"\n class=\"option-toggle rounded-full flex items-center justify-center\"\n >\n <div class=\"option-toggle-dot rounded-full\"></div>\n </div>\n <div>Type Message</div>\n </div>\n <div class=\"options-item flex gap-2 items-center\">\n <div\n (click)=\"toggleIsMessageId(this.currentData.data, true)\"\n [ngClass]=\"{ active: this.currentData.data.IsMessageId }\"\n class=\"option-toggle rounded-full flex items-center justify-center\"\n >\n <div class=\"option-toggle-dot rounded-full\"></div>\n </div>\n <div>Select Existing Message</div>\n </div>\n </div>\n <div\n class=\"task-notification-inputs-container flex flex-col gap-3\"\n >\n <!-- <verbena-input [disabled]=\"true\" name=\"Code\" label=\"Code\" [(ngModel)]=\"this.currentData.data.Code\" /> -->\n\n <div\n *ngIf=\"this.currentData.data.IsMessageId\"\n class=\"flex flex-col gap-1\"\n >\n <div>Message Config</div>\n <verben-drop-down\n [filter]=\"true\"\n [load]=\"service.loadMoreReportSchedules.bind(service)\"\n [search]=\"service.searchReportSchedules.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"\n service.getAsyncReportScheduleLabel.bind(service)\n \"\n width=\"100%\"\n placeholder=\"Select Message Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"reportSchedules\"\n [(ngModel)]=\"this.currentData.data.Message\"\n >\n </verben-drop-down>\n </div>\n\n <verbena-input\n name=\"Name\"\n label=\"Name\"\n (ngModelChange)=\"updateTable()\"\n [(ngModel)]=\"this.currentData.data.Name\"\n />\n <verbena-input\n name=\"Subject\"\n label=\"Subject\"\n (ngModelChange)=\"updateTable()\"\n [(ngModel)]=\"this.currentData.data.Subject\"\n />\n <div class=\"flex flex-col gap-1\">\n <div>Notification Type</div>\n <verben-drop-down\n width=\"100%\"\n placeholder=\"Select Notification Type\"\n [(options)]=\"notificationTypeOptions\"\n [(ngModel)]=\"this.currentData.data.NotificationType\"\n >\n </verben-drop-down>\n </div>\n <div class=\"flex flex-col gap-1\">\n <div>Message Medium</div>\n <verben-drop-down\n width=\"100%\"\n placeholder=\"Select Message Medium\"\n [(options)]=\"mediumOptions\"\n [(ngModel)]=\"this.currentData.data.Medium\"\n >\n </verben-drop-down>\n </div>\n\n <div class=\"flex flex-col gap-1\">\n <div>Sender Config</div>\n <verben-drop-down\n *ngIf=\"this.currentData.data.Medium == this.smsRef\"\n [filter]=\"true\"\n [load]=\"service.loadMoreSMSConfigs.bind(service)\"\n [search]=\"service.searchSMSConfigs.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"\n service.getAsyncSMSConfigLabel.bind(service)\n \"\n width=\"100%\"\n placeholder=\"Select Sender Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"smsConfigs\"\n [(ngModel)]=\"this.currentData.data.SenderConfig\"\n >\n </verben-drop-down>\n <verben-drop-down\n *ngIf=\"this.currentData.data.Medium == this.mailRef\"\n [filter]=\"true\"\n [load]=\"service.loadMoreMailConfigs.bind(service)\"\n [search]=\"service.searchMailConfigs.bind(service)\"\n [lazyLoad]=\"true\"\n [asyncLabel]=\"\n service.getAsyncMailConfigLabel.bind(service)\n \"\n width=\"100%\"\n placeholder=\"Select Sender Config\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(options)]=\"mailConfigs\"\n [(ngModel)]=\"this.currentData.data.SenderConfig\"\n >\n </verben-drop-down>\n </div>\n\n <div\n *ngIf=\"!this.currentData.data.IsMessageId\"\n class=\"flex editor-container-wrapper flex-col gap-1\"\n >\n <lib-editor\n [editorConfig]=\"editorConfig\"\n [editorMode]=\"editorMode\"\n [(ngModel)]=\"this.currentData.data.Message\"\n ></lib-editor>\n </div>\n </div>\n </div>\n <!-- buttons -->\n <div class=\"flex justify-between bottom-8 left-0 right-0\">\n <div></div>\n <!-- <verbena-button class=\"verben-delete-button\" text=\"Delete\"></verbena-button> -->\n <div class=\"flex gap-3\">\n <!-- <verbena-button class=\"verben-switch-button\"\n (click)=\"viewVendors(this.currentData? this.currentData.data? this.currentData.data.Code: '':'')\"\n text=\"View Vendors\"></verbena-button> -->\n <verbena-button\n class=\"verben-switch-button\"\n (click)=\"goToTableView()\"\n text=\"Switch To Table\"\n ></verbena-button>\n <verbena-button\n *ngIf=\"\n !permissionConfig || permissionConfig.Actions['Create']\n \"\n class=\"verben-primary-button\"\n (click)=\"this.saveTaskNotification()\"\n text=\"Save\"\n ></verbena-button>\n </div>\n </div>\n </div>\n </ng-template>\n </verben-right-card-data-view>\n <!-- <verben-right-card-data-view>\n yeshhhhhh\n </verben-right-card-data-view> -->\n\n <verben-card-data-view-footer>\n <div class=\"flex gap-2 justify-between\">\n <div\n *ngIf=\"!vdcv.hasCurrentItem()\"\n class=\"message-log-button-container flex justify-between\"\n >\n <!-- <verbena-button [fontWeight]=\"'bold'\" [bgColor]=\"'var(--vbn-color-text-muted)'\" [borderRadius]=\"'4px'\" [textColor]=\"'var(--vbn-color-surface)'\"\n [text]=\"'Delete'\">\n </verbena-button> -->\n </div>\n <div\n class=\"flex {{\n vdcv.hasCurrentItem() ? 'flex-1' : ''\n }} justify-end items-center gap-5\"\n >\n <span class=\"paginator-text\"\n >{{ cardData.length }} records loaded</span\n >\n <button (click)=\"loadMore()\" class=\"load-more view-links\">\n Load more\n </button>\n </div>\n </div>\n </verben-card-data-view-footer>\n </verben-card-data-view>\n </div>\n <div column-content>\n <verben-visible-column\n (columnsUpdated)=\"onColumnsUpdated($event)\"\n [border]=\"'1px solid var(--vbn-color-primary)'\"\n borderRadius=\"10px\"\n boxShadow=\"2px 2px 2px 0px silver\"\n bgColor=\"white\"\n width=\"400px\"\n textColor=\"black\"\n pd=\"1rem\"\n primaryColor=\"var(--vbn-color-primary)\"\n secondaryColor=\"var(--vbn-color-border-focus)\"\n [columns]=\"visibleColumns\"\n [displayedColumns]=\"5\"\n ></verben-visible-column>\n </div>\n <div filter-content>\n <verben-table-filter\n (filtersApplied)=\"onFilterUpdated($event)\"\n [border]=\"'1px solid var(--vbn-color-primary)'\"\n borderRadius=\"10px\"\n boxShadow=\"2px 2px 2px 0px silver\"\n bgColor=\"white\"\n width=\"420px\"\n textColor=\"black\"\n pd=\"1rem\"\n primaryColor=\"var(--vbn-color-primary)\"\n secondaryColor=\"var(--vbn-color-border-focus)\"\n tertiaryColor=\"var(--vbn-color-on-primary)\"\n [filterOptions]=\"filterArray\"\n [maxFilterLength]=\"3\"\n ></verben-table-filter>\n </div>\n <div sort-content>\n <verben-sort-table\n (selectedOptions)=\"onSortUpdated($event)\"\n [border]=\"'1px solid var(--vbn-color-primary)'\"\n borderRadius=\"10px\"\n boxShadow=\"2px 2px 2px 0px silver\"\n bgColor=\"white\"\n width=\"400px\"\n textColor=\"black\"\n pd=\"1rem\"\n primaryColor=\"var(--vbn-color-primary)\"\n secondaryColor=\"var(--vbn-color-border-focus)\"\n tertiaryColor=\"var(--vbn-color-on-primary)\"\n [enableDragAndDrop]=\"true\"\n [sortOptions]=\"sortOptions\"\n ></verben-sort-table>\n </div>\n <div export-content>\n <lib-data-export [data]=\"data\" (exportDataEvent)=\"handleExport($event)\">\n </lib-data-export>\n </div>\n </verben-data-view>\n <div *ngIf=\"vdv.isTableView\" class=\"flex gap-2 justify-between\">\n <div class=\"message-log-button-container flex justify-between\">\n <!-- <verbena-button [fontWeight]=\"'bold'\" [bgColor]=\"'var(--vbn-color-text-muted)'\" [borderRadius]=\"'4px'\" [textColor]=\"'var(--vbn-color-surface)'\"\n [text]=\"'Delete'\">\n </verbena-button> -->\n </div>\n <div class=\"flex justify-end items-center gap-5\">\n <span class=\"paginator-text\">{{ cardData.length }} records loaded</span>\n <button (click)=\"loadMore()\" class=\"load-more view-links\">\n Load more\n </button>\n </div>\n </div>\n</div>\n", styles: [".view-links{font-size:14px!important;color:var(--vbn-color-border-focus);font-weight:600;cursor:pointer}.view-links:hover{text-decoration:underline;text-underline-offset:3px}.context-banner{background-color:#d4a00773}.card-min-height{gap:10px}::ng-deep .childrenPadding{max-height:300px;overflow-y:auto}.pop-up-content{border-radius:4px;background-color:var(--vbn-color-surface);border:1px solid rgba(212,161,7,.5)}.pop-up-value{padding:10px 20px}.pop-up-content>div:nth-child(1){border-bottom:4px solid var(--vbn-color-primary)}.width-max{min-width:max-content}.editor-container-wrapper{border-top:1px solid var(--vbn-color-primary);margin-left:-19px;margin-right:-19px;padding:5px}::ng-deep .editor-container{gap:0!important}.option-toggle{border:1px solid var(--vbn-color-border);width:20px;height:20px;cursor:pointer}.option-toggle-dot{width:10px;height:10px}.option-toggle.active{border:1px solid var(--vbn-color-border-focus)}.option-toggle.active>div{background-color:var(--vbn-color-border-focus)}.task-notification-inputs-container{border:1px solid var(--vbn-color-primary);border-radius:16px;padding:15px 20px;margin-left:-19px;margin-right:-19px}\n"] }]
|
|
960
|
-
}], ctorParameters: () => [{ type: i1.UtilService }, { type: i1.HttpWebRequestService }, { type: i0.ChangeDetectorRef }, { type: i2.FormBuilder }, { type: i1.EnvironmentService }, { type: TaskNotificationService }], propDecorators: { permissionConfig: [{
|
|
961
|
-
type: Input
|
|
962
|
-
}], cardDataView: [{
|
|
963
|
-
type: ViewChild,
|
|
964
|
-
args: ['vdcv']
|
|
965
|
-
}], dataView: [{
|
|
966
|
-
type: ViewChild,
|
|
967
|
-
args: ['vdv']
|
|
968
|
-
}], tableView: [{
|
|
969
|
-
type: ViewChild,
|
|
970
|
-
args: ['dt']
|
|
971
|
-
}], popUps: [{
|
|
972
|
-
type: ViewChildren,
|
|
973
|
-
args: ['popup']
|
|
974
|
-
}] } });
|
|
975
|
-
|
|
976
|
-
class TaskNotificationModule {
|
|
977
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TaskNotificationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
978
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: TaskNotificationModule, declarations: [TaskNotificationComponent], imports: [SharedModule], exports: [TaskNotificationComponent] });
|
|
979
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TaskNotificationModule, imports: [SharedModule] });
|
|
980
|
-
}
|
|
981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TaskNotificationModule, decorators: [{
|
|
982
|
-
type: NgModule,
|
|
983
|
-
args: [{
|
|
984
|
-
declarations: [TaskNotificationComponent],
|
|
985
|
-
imports: [SharedModule],
|
|
986
|
-
exports: [TaskNotificationComponent],
|
|
987
|
-
}]
|
|
988
|
-
}] });
|
|
989
|
-
|
|
990
|
-
/**
|
|
991
|
-
* Generated bundle index. Do not edit.
|
|
992
|
-
*/
|
|
993
|
-
|
|
994
|
-
export { TaskNotificationComponent, TaskNotificationModule };
|
|
995
|
-
//# sourceMappingURL=verben-workflow-ui-src-lib-components-task-notification.mjs.map
|