verben-workflow-ui 0.6.6 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/public-api.mjs +43 -0
- package/esm2022/src/lib/base/core/base-data-page.facade.mjs +412 -0
- package/esm2022/src/lib/base/core/base-data-page.service.mjs +140 -0
- package/esm2022/src/lib/base/core/base-data-page.state.mjs +216 -0
- package/esm2022/src/lib/base/handlers/filter-handler.service.mjs +138 -0
- package/esm2022/src/lib/base/handlers/search-handler.service.mjs +31 -0
- package/esm2022/src/lib/base/handlers/sort-handler.service.mjs +73 -0
- package/esm2022/src/lib/base/index.mjs +2 -0
- package/esm2022/src/lib/base/models/api-payload.mjs +7 -0
- package/esm2022/src/lib/base/models/page-config.interface.mjs +2 -0
- package/esm2022/src/lib/base/models/page-filter-tab-option.interface.mjs +2 -0
- package/esm2022/src/lib/base/public-api.mjs +14 -0
- package/esm2022/src/lib/base/utils/column-helpers.mjs +55 -0
- package/esm2022/src/lib/base/verben-workflow-ui-src-lib-base.mjs +5 -0
- package/esm2022/src/lib/components/actors/actors.columns.mjs +39 -0
- package/esm2022/src/lib/components/actors/actors.component.mjs +175 -0
- package/esm2022/src/lib/components/actors/actors.config.mjs +49 -0
- package/esm2022/src/lib/components/actors/actors.facade.mjs +57 -0
- package/esm2022/src/lib/components/actors/actors.form.component.mjs +74 -0
- package/esm2022/src/lib/components/actors/actors.module.mjs +21 -0
- package/esm2022/src/lib/components/actors/actors.service.mjs +65 -0
- package/esm2022/src/lib/components/actors/actors.state.mjs +31 -0
- package/esm2022/src/lib/components/actors/index.mjs +2 -0
- package/esm2022/src/lib/components/actors/public-api.mjs +3 -0
- package/esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs +5 -0
- package/esm2022/src/lib/components/designer/components/label-editor.component.mjs +148 -0
- package/esm2022/src/lib/components/designer/components/node-selector.component.mjs +317 -0
- package/esm2022/src/lib/components/designer/components/swimlane-label.component.mjs +161 -0
- package/esm2022/src/lib/components/designer/components/swimlane-popup.component.mjs +85 -0
- package/esm2022/src/lib/components/designer/components/wf-canvas.component.mjs +715 -0
- package/esm2022/src/lib/components/designer/components/wf-designer.component.mjs +135 -0
- package/esm2022/src/lib/components/designer/components/wf-toolbar.component.mjs +56 -0
- package/esm2022/src/lib/components/designer/index.mjs +2 -0
- package/esm2022/src/lib/components/designer/models/types.mjs +2 -0
- package/esm2022/src/lib/components/designer/public-api.mjs +3 -0
- package/esm2022/src/lib/components/designer/services/canvas-state.service.mjs +50 -0
- package/esm2022/src/lib/components/designer/services/connection-segment-interaction.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/services/connection.service.mjs +267 -0
- package/esm2022/src/lib/components/designer/services/keyboard-handler.service.mjs +43 -0
- package/esm2022/src/lib/components/designer/services/label-management.service.mjs +66 -0
- package/esm2022/src/lib/components/designer/services/node-finder.service.mjs +30 -0
- package/esm2022/src/lib/components/designer/services/node-interaction.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/services/node-precondition.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/services/node-selection.service.mjs +96 -0
- package/esm2022/src/lib/components/designer/services/orthogonal-router.service.mjs +167 -0
- package/esm2022/src/lib/components/designer/services/position-update.service.mjs +45 -0
- package/esm2022/src/lib/components/designer/services/rendering.service.mjs +236 -0
- package/esm2022/src/lib/components/designer/services/swimlane-management.service.mjs +145 -0
- package/esm2022/src/lib/components/designer/services/swimlane-stats.service.mjs +44 -0
- package/esm2022/src/lib/components/designer/services/viewport.service.mjs +30 -0
- package/esm2022/src/lib/components/designer/services/wf-facade.service.mjs +239 -0
- package/esm2022/src/lib/components/designer/services/wf-mapper.service.mjs +326 -0
- package/esm2022/src/lib/components/designer/services/wf-persistence.service.mjs +169 -0
- package/esm2022/src/lib/components/designer/services/wf-state.service.mjs +108 -0
- package/esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs +5 -0
- package/esm2022/src/lib/components/expiration/expiration.component.mjs +49 -0
- package/esm2022/src/lib/components/expiration/expiration.module.mjs +19 -0
- package/esm2022/src/lib/components/expiration/index.mjs +2 -0
- package/esm2022/src/lib/components/expiration/public-api.mjs +3 -0
- package/esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs +5 -0
- package/esm2022/src/lib/components/file-render/file-render.component.mjs +45 -0
- package/esm2022/src/lib/components/file-render/file-render.module.mjs +35 -0
- package/esm2022/src/lib/components/file-render/index.mjs +2 -0
- package/esm2022/src/lib/components/file-render/public-api.mjs +3 -0
- package/esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs +5 -0
- package/esm2022/src/lib/components/file-upload/file-upload.component.mjs +93 -0
- package/esm2022/src/lib/components/file-upload/file-upload.module.mjs +63 -0
- package/esm2022/src/lib/components/file-upload/index.mjs +2 -0
- package/esm2022/src/lib/components/file-upload/public-api.mjs +3 -0
- package/esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs +5 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.columns.mjs +21 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +203 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.config.mjs +47 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.facade.mjs +60 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.form.component.mjs +52 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.module.mjs +21 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.service.mjs +35 -0
- package/esm2022/src/lib/components/flowable-status/flowable-status.state.mjs +15 -0
- package/esm2022/src/lib/components/flowable-status/index.mjs +2 -0
- package/esm2022/src/lib/components/flowable-status/public-api.mjs +3 -0
- package/esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs +5 -0
- package/esm2022/src/lib/components/form-control/form-control.component.mjs +180 -0
- package/esm2022/src/lib/components/form-control/form-control.module.mjs +75 -0
- package/esm2022/src/lib/components/form-control/index.mjs +2 -0
- package/esm2022/src/lib/components/form-control/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs +5 -0
- package/esm2022/src/lib/components/form-group/base-table-style.mjs +53 -0
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.component.mjs +952 -0
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.module.mjs +75 -0
- package/esm2022/src/lib/components/form-group/form-fields/form-fields.service.mjs +73 -0
- package/esm2022/src/lib/components/form-group/form-group.component.mjs +698 -0
- package/esm2022/src/lib/components/form-group/form-group.module.mjs +85 -0
- package/esm2022/src/lib/components/form-group/form-group.service.mjs +56 -0
- package/esm2022/src/lib/components/form-group/index.mjs +2 -0
- package/esm2022/src/lib/components/form-group/public-api.mjs +5 -0
- package/esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs +5 -0
- package/esm2022/src/lib/components/form-response/form-response.component.mjs +638 -0
- package/esm2022/src/lib/components/form-response/form-response.module.mjs +76 -0
- package/esm2022/src/lib/components/form-response/form-response.service.mjs +54 -0
- package/esm2022/src/lib/components/form-response/index.mjs +2 -0
- package/esm2022/src/lib/components/form-response/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs +5 -0
- package/esm2022/src/lib/components/form-timer/form-timer.component.mjs +47 -0
- package/esm2022/src/lib/components/form-timer/form-timer.module.mjs +28 -0
- package/esm2022/src/lib/components/form-timer/index.mjs +2 -0
- package/esm2022/src/lib/components/form-timer/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs +5 -0
- package/esm2022/src/lib/components/form-values/form-values.component.mjs +1157 -0
- package/esm2022/src/lib/components/form-values/form-values.module.mjs +20 -0
- package/esm2022/src/lib/components/form-values/form-values.service.mjs +48 -0
- package/esm2022/src/lib/components/form-values/index.mjs +2 -0
- package/esm2022/src/lib/components/form-values/public-api.mjs +4 -0
- package/esm2022/src/lib/components/form-values/verben-workflow-ui-src-lib-components-form-values.mjs +5 -0
- package/esm2022/src/lib/components/form-viewer/form-viewer.component.mjs +38 -0
- package/esm2022/src/lib/components/form-viewer/form-viewer.module.mjs +78 -0
- package/esm2022/src/lib/components/form-viewer/index.mjs +2 -0
- package/esm2022/src/lib/components/form-viewer/public-api.mjs +3 -0
- package/esm2022/src/lib/components/form-viewer/verben-workflow-ui-src-lib-components-form-viewer.mjs +5 -0
- package/esm2022/src/lib/components/forms/base-table-style.mjs +53 -0
- package/esm2022/src/lib/components/forms/forms.component.mjs +676 -0
- package/esm2022/src/lib/components/forms/forms.module.mjs +18 -0
- package/esm2022/src/lib/components/forms/forms.service.mjs +68 -0
- package/esm2022/src/lib/components/forms/index.mjs +2 -0
- package/esm2022/src/lib/components/forms/public-api.mjs +3 -0
- package/esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs +5 -0
- package/esm2022/src/lib/components/journal/index.mjs +2 -0
- package/esm2022/src/lib/components/journal/journal.component.mjs +11 -0
- package/esm2022/src/lib/components/journal/journal.module.mjs +18 -0
- package/esm2022/src/lib/components/journal/public-api.mjs +3 -0
- package/esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs +5 -0
- package/esm2022/src/lib/components/my-queue/index.mjs +2 -0
- package/esm2022/src/lib/components/my-queue/my-queue.columns.mjs +34 -0
- package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +342 -0
- package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +502 -0
- package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +47 -0
- package/esm2022/src/lib/components/my-queue/my-queue.service.mjs +144 -0
- package/esm2022/src/lib/components/my-queue/my-queue.state.mjs +108 -0
- package/esm2022/src/lib/components/my-queue/public-api.mjs +4 -0
- package/esm2022/src/lib/components/my-queue/tasks.form.component.mjs +191 -0
- package/esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs +5 -0
- package/esm2022/src/lib/components/operation-popup/index.mjs +2 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.component.mjs +382 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.facade.mjs +345 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +82 -0
- package/esm2022/src/lib/components/operation-popup/operation-popup.state.mjs +44 -0
- package/esm2022/src/lib/components/operation-popup/public-api.mjs +3 -0
- package/esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs +5 -0
- package/esm2022/src/lib/components/stage-details/index.mjs +2 -0
- package/esm2022/src/lib/components/stage-details/public-api.mjs +3 -0
- package/esm2022/src/lib/components/stage-details/stage-details.component.mjs +49 -0
- package/esm2022/src/lib/components/stage-details/stage-details.module.mjs +19 -0
- package/esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs +5 -0
- package/esm2022/src/lib/components/task-form/index.mjs +2 -0
- package/esm2022/src/lib/components/task-form/public-api.mjs +3 -0
- package/esm2022/src/lib/components/task-form/task-form.component.mjs +18 -0
- package/esm2022/src/lib/components/task-form/task-form.module.mjs +72 -0
- package/esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs +5 -0
- package/esm2022/src/lib/components/task-history/index.mjs +2 -0
- package/esm2022/src/lib/components/task-history/public-api.mjs +3 -0
- package/esm2022/src/lib/components/task-history/task-history.component.mjs +249 -0
- package/esm2022/src/lib/components/task-history/task-history.module.mjs +21 -0
- package/esm2022/src/lib/components/task-history/task-history.service.mjs +32 -0
- package/esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs +5 -0
- package/esm2022/src/lib/components/task-notification/base-table-style.mjs +53 -0
- package/esm2022/src/lib/components/task-notification/index.mjs +2 -0
- package/esm2022/src/lib/components/task-notification/public-api.mjs +3 -0
- package/esm2022/src/lib/components/task-notification/task-notification.component.mjs +670 -0
- package/esm2022/src/lib/components/task-notification/task-notification.module.mjs +18 -0
- package/esm2022/src/lib/components/task-notification/task-notification.service.mjs +256 -0
- package/esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs +5 -0
- package/esm2022/src/lib/components/tasks/index.mjs +2 -0
- package/esm2022/src/lib/components/tasks/public-api.mjs +6 -0
- package/esm2022/src/lib/components/tasks/tasks.columns.mjs +48 -0
- package/esm2022/src/lib/components/tasks/tasks.component.mjs +194 -0
- package/esm2022/src/lib/components/tasks/tasks.facade.mjs +372 -0
- package/esm2022/src/lib/components/tasks/tasks.form.component.mjs +164 -0
- package/esm2022/src/lib/components/tasks/tasks.models.mjs +4 -0
- package/esm2022/src/lib/components/tasks/tasks.module.mjs +52 -0
- package/esm2022/src/lib/components/tasks/tasks.service.mjs +137 -0
- package/esm2022/src/lib/components/tasks/tasks.state.mjs +108 -0
- package/esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs +5 -0
- package/esm2022/src/lib/components/wf/index.mjs +2 -0
- package/esm2022/src/lib/components/wf/public-api.mjs +4 -0
- package/esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs +5 -0
- package/esm2022/src/lib/components/wf/wf.columns.mjs +34 -0
- package/esm2022/src/lib/components/wf/wf.component.mjs +68 -0
- package/esm2022/src/lib/components/wf/wf.module.mjs +22 -0
- package/esm2022/src/lib/components/wf/wf.service.mjs +82 -0
- package/esm2022/src/lib/components/workflow/column.mjs +38 -0
- package/esm2022/src/lib/components/workflow/helper.mjs +47 -0
- package/esm2022/src/lib/components/workflow/index.mjs +2 -0
- package/esm2022/src/lib/components/workflow/public-api.mjs +4 -0
- package/esm2022/src/lib/components/workflow/table-style.mjs +53 -0
- package/esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs +5 -0
- package/esm2022/src/lib/components/workflow/workflow.component.mjs +210 -0
- package/esm2022/src/lib/components/workflow/workflow.module.mjs +19 -0
- package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +127 -0
- package/esm2022/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.mjs +78 -0
- package/esm2022/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.mjs +87 -0
- package/esm2022/src/lib/components/workflow-designer/decision-popup/decision-popup.component.mjs +84 -0
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +1270 -0
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.mjs +96 -0
- package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.mjs +2 -0
- package/esm2022/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.mjs +260 -0
- package/esm2022/src/lib/components/workflow-designer/index.mjs +2 -0
- package/esm2022/src/lib/components/workflow-designer/public-api.mjs +5 -0
- package/esm2022/src/lib/components/workflow-designer/services/connection.service.mjs +238 -0
- package/esm2022/src/lib/components/workflow-designer/services/node-management.service.mjs +321 -0
- package/esm2022/src/lib/components/workflow-designer/services/popup.service.mjs +240 -0
- package/esm2022/src/lib/components/workflow-designer/services/swimlane.service.mjs +158 -0
- package/esm2022/src/lib/components/workflow-designer/services/transformer.service.mjs +280 -0
- package/esm2022/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.mjs +177 -0
- package/esm2022/src/lib/components/workflow-designer/stage-node/stage-node.component.mjs +226 -0
- package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +137 -0
- package/esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs +5 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +210 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +460 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.module.mjs +129 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +928 -0
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.types.mjs +2 -0
- package/esm2022/src/lib/components/workflow-stage/index.mjs +2 -0
- package/esm2022/src/lib/components/workflow-stage/public-api.mjs +3 -0
- package/esm2022/src/lib/components/workflow-stage/verben-workflow-ui-src-lib-components-workflow-stage.mjs +5 -0
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.component.mjs +331 -0
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.module.mjs +82 -0
- package/esm2022/src/lib/components/workflows/index.mjs +2 -0
- package/esm2022/src/lib/components/workflows/public-api.mjs +7 -0
- package/esm2022/src/lib/components/workflows/verben-workflow-ui-src-lib-components-workflows.mjs +5 -0
- package/esm2022/src/lib/components/workflows/workflow-form/workflow-form.component.mjs +89 -0
- package/esm2022/src/lib/components/workflows/workflows.api.mjs +63 -0
- package/esm2022/src/lib/components/workflows/workflows.columns.mjs +39 -0
- package/esm2022/src/lib/components/workflows/workflows.component.mjs +236 -0
- package/esm2022/src/lib/components/workflows/workflows.config.mjs +51 -0
- package/esm2022/src/lib/components/workflows/workflows.facade.mjs +114 -0
- package/esm2022/src/lib/components/workflows/workflows.module.mjs +21 -0
- package/esm2022/src/lib/components/workflows/workflows.service.mjs +63 -0
- package/esm2022/src/lib/components/workflows/workflows.state.mjs +23 -0
- package/esm2022/src/lib/models/ActionHistory.mjs +2 -0
- package/esm2022/src/lib/models/ActionType.mjs +11 -0
- package/esm2022/src/lib/models/Actor.mjs +2 -0
- package/esm2022/src/lib/models/ActorTag.mjs +2 -0
- package/esm2022/src/lib/models/Coord.mjs +2 -0
- package/esm2022/src/lib/models/DataExtensionValue.mjs +2 -0
- package/esm2022/src/lib/models/DataType.mjs +27 -0
- package/esm2022/src/lib/models/EAVDataType.mjs +20 -0
- package/esm2022/src/lib/models/EAVEntity.mjs +2 -0
- package/esm2022/src/lib/models/EntityDataValue.mjs +2 -0
- package/esm2022/src/lib/models/EntityProperty.mjs +2 -0
- package/esm2022/src/lib/models/ErrorResponse.mjs +11 -0
- package/esm2022/src/lib/models/Escalation.mjs +2 -0
- package/esm2022/src/lib/models/EscalationCycle.mjs +2 -0
- package/esm2022/src/lib/models/EscalationStage.mjs +2 -0
- package/esm2022/src/lib/models/EscalationType.mjs +7 -0
- package/esm2022/src/lib/models/File.mjs +2 -0
- package/esm2022/src/lib/models/FilterTypes.mjs +9 -0
- package/esm2022/src/lib/models/FlowableStatus.mjs +2 -0
- package/esm2022/src/lib/models/Form.mjs +2 -0
- package/esm2022/src/lib/models/FormEntity.mjs +2 -0
- package/esm2022/src/lib/models/FormFill.mjs +6 -0
- package/esm2022/src/lib/models/FormProperty.mjs +2 -0
- package/esm2022/src/lib/models/FormValue.mjs +6 -0
- package/esm2022/src/lib/models/MailConfig.mjs +2 -0
- package/esm2022/src/lib/models/MessageConfig.mjs +2 -0
- package/esm2022/src/lib/models/MessageMedium.mjs +6 -0
- package/esm2022/src/lib/models/OperationAction.mjs +2 -0
- package/esm2022/src/lib/models/PagedResult.mjs +2 -0
- package/esm2022/src/lib/models/PeriodMode.mjs +12 -0
- package/esm2022/src/lib/models/PermissionConfig.mjs +2 -0
- package/esm2022/src/lib/models/Property.mjs +2 -0
- package/esm2022/src/lib/models/ReportSchedule.mjs +2 -0
- package/esm2022/src/lib/models/ReportType.mjs +7 -0
- package/esm2022/src/lib/models/Resource.mjs +47 -0
- package/esm2022/src/lib/models/ResponseKeyValue.mjs +2 -0
- package/esm2022/src/lib/models/SMSConfig.mjs +2 -0
- package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +2 -0
- package/esm2022/src/lib/models/SearchOperator.mjs +6 -0
- package/esm2022/src/lib/models/SearchPropertySign.mjs +11 -0
- package/esm2022/src/lib/models/SearchPropertyValue.mjs +2 -0
- package/esm2022/src/lib/models/SearchPropertyValueType.mjs +11 -0
- package/esm2022/src/lib/models/Size.mjs +2 -0
- package/esm2022/src/lib/models/SortDirection.mjs +7 -0
- package/esm2022/src/lib/models/StageActorRule.mjs +8 -0
- package/esm2022/src/lib/models/SwimLane.mjs +2 -0
- package/esm2022/src/lib/models/Tag.mjs +2 -0
- package/esm2022/src/lib/models/Task.mjs +2 -0
- package/esm2022/src/lib/models/TaskAssignmentType.mjs +6 -0
- package/esm2022/src/lib/models/TaskNotification.mjs +2 -0
- package/esm2022/src/lib/models/TaskNotificationMessageType.mjs +6 -0
- package/esm2022/src/lib/models/TaskNotificationType.mjs +9 -0
- package/esm2022/src/lib/models/TaskStatus.mjs +9 -0
- package/esm2022/src/lib/models/Workflow.mjs +2 -0
- package/esm2022/src/lib/models/WorkflowAction.mjs +2 -0
- package/esm2022/src/lib/models/WorkflowOperation.mjs +2 -0
- package/esm2022/src/lib/models/WorkflowStage.mjs +2 -0
- package/esm2022/src/lib/models/actors.mjs +2 -0
- package/esm2022/src/lib/models/auth-mechanism.mjs +8 -0
- package/esm2022/src/lib/models/base.mjs +2 -0
- package/esm2022/src/lib/models/index.mjs +2 -0
- package/esm2022/src/lib/models/object-state.mjs +8 -0
- package/esm2022/src/lib/models/operation-type.mjs +7 -0
- package/esm2022/src/lib/models/paged.mjs +2 -0
- package/esm2022/src/lib/models/public-api.mjs +66 -0
- package/esm2022/src/lib/models/query-params.mjs +2 -0
- package/esm2022/src/lib/models/status.mjs +6 -0
- package/esm2022/src/lib/models/task-history.mjs +2 -0
- package/esm2022/src/lib/models/user-access-request-status.mjs +7 -0
- package/esm2022/src/lib/models/user.mjs +2 -0
- package/esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs +5 -0
- package/esm2022/src/lib/pipes/async-label.pipe.mjs +25 -0
- package/esm2022/src/lib/pipes/index.mjs +2 -0
- package/esm2022/src/lib/pipes/public-api.mjs +2 -0
- package/esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs +5 -0
- package/esm2022/src/lib/services/environment.service.mjs +26 -0
- package/esm2022/src/lib/services/http-web-request.service.mjs +92 -0
- package/esm2022/src/lib/services/index.mjs +2 -0
- package/esm2022/src/lib/services/label.service.mjs +134 -0
- package/esm2022/src/lib/services/public-api.mjs +5 -0
- package/esm2022/src/lib/services/util.service.mjs +75 -0
- package/esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs +5 -0
- package/esm2022/src/lib/shared/base-table-style.mjs +55 -0
- package/esm2022/src/lib/shared/components/base-data-view.component.mjs +154 -0
- package/esm2022/src/lib/shared/components/base-model-field.mjs +21 -0
- package/esm2022/src/lib/shared/index.mjs +7 -0
- package/esm2022/src/lib/shared/models/DataViewConfig.mjs +2 -0
- package/esm2022/src/lib/shared/public-api.mjs +13 -0
- package/esm2022/src/lib/shared/shared.module.mjs +103 -0
- package/esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs +5 -0
- package/esm2022/verben-workflow-ui.mjs +5 -0
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs +1055 -0
- package/fesm2022/verben-workflow-ui-src-lib-base.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs +484 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +3891 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs +72 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +83 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +159 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +430 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +257 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +1966 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs +766 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs +78 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-values.mjs +1226 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-values.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs +118 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs +815 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +33 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +1338 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +845 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs +72 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs +94 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +302 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs +995 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +1049 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs +203 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +5389 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs +415 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs +365 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +666 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs +261 -0
- package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +32 -0
- package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs +322 -0
- package/fesm2022/verben-workflow-ui-src-lib-services.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs +336 -0
- package/fesm2022/verben-workflow-ui-src-lib-shared.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui.mjs +35 -0
- package/fesm2022/verben-workflow-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +199 -8
- package/public-api.d.ts +23 -0
- package/src/lib/base/core/base-data-page.facade.d.ts +138 -0
- package/src/lib/base/core/base-data-page.service.d.ts +61 -0
- package/src/lib/base/core/base-data-page.state.d.ts +73 -0
- package/src/lib/base/handlers/filter-handler.service.d.ts +34 -0
- package/src/lib/base/handlers/search-handler.service.d.ts +20 -0
- package/src/lib/base/handlers/sort-handler.service.d.ts +30 -0
- package/src/lib/base/models/api-payload.d.ts +2 -0
- package/src/lib/base/models/page-config.interface.d.ts +24 -0
- package/src/lib/base/models/page-filter-tab-option.interface.d.ts +19 -0
- package/src/lib/base/public-api.d.ts +9 -0
- package/src/lib/base/utils/column-helpers.d.ts +24 -0
- package/src/lib/components/actors/actors.columns.d.ts +3 -0
- package/src/lib/components/actors/actors.component.d.ts +79 -0
- package/src/lib/components/actors/actors.config.d.ts +10 -0
- package/src/lib/components/actors/actors.facade.d.ts +29 -0
- package/src/lib/components/actors/actors.form.component.d.ts +23 -0
- package/src/lib/components/actors/actors.module.d.ts +11 -0
- package/src/lib/components/actors/actors.service.d.ts +33 -0
- package/src/lib/components/actors/actors.state.d.ts +19 -0
- package/src/lib/components/designer/components/label-editor.component.d.ts +22 -0
- package/src/lib/components/designer/components/node-selector.component.d.ts +23 -0
- package/src/lib/components/designer/components/swimlane-label.component.d.ts +12 -0
- package/src/lib/components/designer/components/swimlane-popup.component.d.ts +18 -0
- package/src/lib/components/designer/components/wf-canvas.component.d.ts +37 -0
- package/src/lib/components/designer/components/wf-designer.component.d.ts +22 -0
- package/src/lib/components/designer/components/wf-toolbar.component.d.ts +17 -0
- package/src/lib/components/designer/models/types.d.ts +104 -0
- package/src/lib/components/designer/services/canvas-state.service.d.ts +24 -0
- package/src/lib/components/designer/services/connection-segment-interaction.service.d.ts +36 -0
- package/src/lib/components/designer/services/connection.service.d.ts +47 -0
- package/src/lib/components/designer/services/keyboard-handler.service.d.ts +9 -0
- package/src/lib/components/designer/services/label-management.service.d.ts +14 -0
- package/src/lib/components/designer/services/node-finder.service.d.ts +10 -0
- package/src/lib/components/designer/services/node-interaction.service.d.ts +19 -0
- package/src/lib/components/designer/services/node-precondition.service.d.ts +37 -0
- package/src/lib/components/designer/services/node-selection.service.d.ts +19 -0
- package/src/lib/components/designer/services/orthogonal-router.service.d.ts +36 -0
- package/src/lib/components/designer/services/position-update.service.d.ts +10 -0
- package/src/lib/components/designer/services/rendering.service.d.ts +67 -0
- package/src/lib/components/designer/services/swimlane-management.service.d.ts +19 -0
- package/src/lib/components/designer/services/swimlane-stats.service.d.ts +19 -0
- package/src/lib/components/designer/services/viewport.service.d.ts +10 -0
- package/src/lib/components/designer/services/wf-facade.service.d.ts +67 -0
- package/src/lib/components/designer/services/wf-mapper.service.d.ts +26 -0
- package/src/lib/components/designer/services/wf-persistence.service.d.ts +21 -0
- package/src/lib/components/designer/services/wf-state.service.d.ts +30 -0
- package/src/lib/components/expiration/expiration.component.d.ts +20 -0
- package/src/lib/components/expiration/expiration.module.d.ts +9 -0
- package/src/lib/components/file-render/file-render.component.d.ts +17 -0
- package/src/lib/components/file-render/file-render.module.d.ts +10 -0
- package/src/lib/components/file-upload/file-upload.component.d.ts +22 -0
- package/src/lib/components/file-upload/file-upload.module.d.ts +11 -0
- package/src/lib/components/flowable-status/flowable-status.columns.d.ts +3 -0
- package/src/lib/components/flowable-status/flowable-status.component.d.ts +80 -0
- package/src/lib/components/flowable-status/flowable-status.config.d.ts +11 -0
- package/src/lib/components/flowable-status/flowable-status.facade.d.ts +26 -0
- package/src/lib/components/flowable-status/flowable-status.form.component.d.ts +18 -0
- package/src/lib/components/flowable-status/flowable-status.module.d.ts +11 -0
- package/src/lib/components/flowable-status/flowable-status.service.d.ts +23 -0
- package/src/lib/components/flowable-status/flowable-status.state.d.ts +11 -0
- package/src/lib/components/flowable-status/public-api.d.ts +2 -0
- package/src/lib/components/form-control/form-control.component.d.ts +39 -0
- package/src/lib/components/form-control/form-control.module.d.ts +11 -0
- package/src/lib/components/form-group/base-table-style.d.ts +1 -0
- package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +136 -0
- package/src/lib/components/form-group/form-fields/form-fields.module.d.ts +11 -0
- package/src/lib/components/form-group/form-fields/form-fields.service.d.ts +9 -0
- package/src/lib/components/form-group/form-group.component.d.ts +108 -0
- package/src/lib/components/form-group/form-group.module.d.ts +15 -0
- package/src/lib/components/form-group/form-group.service.d.ts +9 -0
- package/src/lib/components/form-response/form-response.component.d.ts +106 -0
- package/src/lib/components/form-response/form-response.module.d.ts +12 -0
- package/src/lib/components/form-response/form-response.service.d.ts +9 -0
- package/src/lib/components/form-timer/form-timer.component.d.ts +13 -0
- package/src/lib/components/form-timer/form-timer.module.d.ts +9 -0
- package/src/lib/components/form-values/form-values.component.d.ts +118 -0
- package/src/lib/components/form-values/form-values.module.d.ts +10 -0
- package/src/lib/components/form-values/form-values.service.d.ts +9 -0
- package/src/lib/components/form-viewer/form-viewer.component.d.ts +17 -0
- package/src/lib/components/form-viewer/form-viewer.module.d.ts +11 -0
- package/src/lib/components/forms/base-table-style.d.ts +1 -0
- package/src/lib/components/forms/forms.component.d.ts +89 -0
- package/src/lib/components/forms/forms.module.d.ts +8 -0
- package/src/lib/components/forms/forms.service.d.ts +9 -0
- package/src/lib/components/journal/journal.component.d.ts +5 -0
- package/src/lib/components/journal/journal.module.d.ts +8 -0
- package/src/lib/components/my-queue/my-queue.columns.d.ts +3 -0
- package/src/lib/components/my-queue/my-queue.component.d.ts +58 -0
- package/src/lib/components/my-queue/my-queue.facade.d.ts +47 -0
- package/src/lib/components/my-queue/my-queue.module.d.ts +15 -0
- package/src/lib/components/my-queue/my-queue.service.d.ts +65 -0
- package/src/lib/components/my-queue/my-queue.state.d.ts +39 -0
- package/src/lib/components/my-queue/tasks.form.component.d.ts +48 -0
- package/src/lib/components/operation-popup/operation-popup.component.d.ts +62 -0
- package/src/lib/components/operation-popup/operation-popup.facade.d.ts +32 -0
- package/src/lib/components/operation-popup/operation-popup.service.d.ts +23 -0
- package/src/lib/components/operation-popup/operation-popup.state.d.ts +20 -0
- package/src/lib/components/stage-details/stage-details.component.d.ts +24 -0
- package/src/lib/components/stage-details/stage-details.module.d.ts +9 -0
- package/src/lib/components/task-form/task-form.component.d.ts +10 -0
- package/src/lib/components/task-form/task-form.module.d.ts +10 -0
- package/src/lib/components/task-history/task-history.component.d.ts +41 -0
- package/src/lib/components/task-history/task-history.module.d.ts +11 -0
- package/src/lib/components/task-history/task-history.service.d.ts +13 -0
- package/src/lib/components/task-notification/base-table-style.d.ts +1 -0
- package/src/lib/components/task-notification/task-notification.component.d.ts +89 -0
- package/src/lib/components/task-notification/task-notification.module.d.ts +8 -0
- package/src/lib/components/task-notification/task-notification.service.d.ts +32 -0
- package/src/lib/components/tasks/tasks.columns.d.ts +11 -0
- package/src/lib/components/tasks/tasks.component.d.ts +40 -0
- package/src/lib/components/tasks/tasks.facade.d.ts +44 -0
- package/src/lib/components/tasks/tasks.form.component.d.ts +40 -0
- package/src/lib/components/tasks/tasks.models.d.ts +4 -0
- package/src/lib/components/tasks/tasks.module.d.ts +17 -0
- package/src/lib/components/tasks/tasks.service.d.ts +58 -0
- package/src/lib/components/tasks/tasks.state.d.ts +46 -0
- package/src/lib/components/wf/wf.columns.d.ts +3 -0
- package/src/lib/components/wf/wf.component.d.ts +16 -0
- package/src/lib/components/wf/wf.module.d.ts +10 -0
- package/src/lib/components/wf/wf.service.d.ts +51 -0
- package/src/lib/components/workflow/column.d.ts +3 -0
- package/src/lib/components/workflow/helper.d.ts +2 -0
- package/src/lib/components/workflow/table-style.d.ts +1 -0
- package/src/lib/components/workflow/workflow.component.d.ts +57 -0
- package/src/lib/components/workflow/workflow.module.d.ts +9 -0
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.d.ts +34 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.d.ts +25 -0
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.d.ts +38 -0
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.d.ts +29 -0
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.d.ts +292 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.d.ts +39 -0
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.d.ts +5 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.d.ts +47 -0
- package/src/lib/components/workflow-designer/services/connection.service.d.ts +101 -0
- package/src/lib/components/workflow-designer/services/node-management.service.d.ts +73 -0
- package/src/lib/components/workflow-designer/services/popup.service.d.ts +147 -0
- package/src/lib/components/workflow-designer/services/swimlane.service.d.ts +66 -0
- package/src/lib/components/workflow-designer/services/transformer.service.d.ts +51 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.d.ts +43 -0
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.d.ts +58 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.d.ts +49 -0
- package/src/lib/components/workflow-designer/workflow-data.service.d.ts +59 -0
- package/src/lib/components/workflow-designer/workflow-designer.component.d.ts +121 -0
- package/src/lib/components/workflow-designer/workflow-designer.module.d.ts +41 -0
- package/src/lib/components/workflow-designer/workflow-designer.state.d.ts +278 -0
- package/src/lib/components/workflow-designer/workflow-designer.types.d.ts +130 -0
- package/src/lib/components/workflow-stage/workflow-stage.component.d.ts +78 -0
- package/src/lib/components/workflow-stage/workflow-stage.module.d.ts +12 -0
- package/src/lib/components/workflows/public-api.d.ts +4 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.d.ts +28 -0
- package/src/lib/components/workflows/workflows.api.d.ts +38 -0
- package/src/lib/components/workflows/workflows.columns.d.ts +3 -0
- package/src/lib/components/workflows/workflows.component.d.ts +98 -0
- package/src/lib/components/workflows/workflows.config.d.ts +10 -0
- package/src/lib/components/workflows/workflows.facade.d.ts +41 -0
- package/src/lib/components/workflows/workflows.module.d.ts +11 -0
- package/src/lib/components/workflows/workflows.service.d.ts +32 -0
- package/src/lib/components/workflows/workflows.state.d.ts +15 -0
- package/src/lib/models/ActionHistory.d.ts +16 -0
- package/src/lib/models/ActionType.d.ts +9 -0
- package/src/lib/models/Actor.d.ts +11 -0
- package/src/lib/models/ActorTag.d.ts +6 -0
- package/src/lib/models/Coord.d.ts +4 -0
- package/src/lib/models/DataExtensionValue.d.ts +4 -0
- package/src/lib/models/DataType.d.ts +25 -0
- package/src/lib/models/EAVDataType.d.ts +18 -0
- package/src/lib/models/EAVEntity.d.ts +4 -0
- package/src/lib/models/EntityDataValue.d.ts +6 -0
- package/src/lib/models/EntityProperty.d.ts +7 -0
- package/src/lib/models/ErrorResponse.d.ts +6 -0
- package/src/lib/models/Escalation.d.ts +14 -0
- package/src/lib/models/EscalationCycle.d.ts +12 -0
- package/src/lib/models/EscalationStage.d.ts +10 -0
- package/src/lib/models/EscalationType.d.ts +5 -0
- package/src/lib/models/File.d.ts +7 -0
- package/src/lib/models/FilterTypes.d.ts +6 -0
- package/src/lib/models/FlowableStatus.d.ts +5 -0
- package/src/lib/models/Form.d.ts +13 -0
- package/src/lib/models/FormEntity.d.ts +13 -0
- package/src/lib/models/FormFill.d.ts +15 -0
- package/src/lib/models/FormProperty.d.ts +15 -0
- package/src/lib/models/FormValue.d.ts +13 -0
- package/src/lib/models/MailConfig.d.ts +12 -0
- package/src/lib/models/MessageConfig.d.ts +3 -0
- package/src/lib/models/MessageMedium.d.ts +4 -0
- package/src/lib/models/OperationAction.d.ts +14 -0
- package/src/lib/models/PagedResult.d.ts +5 -0
- package/src/lib/models/PeriodMode.d.ts +10 -0
- package/src/lib/models/PermissionConfig.d.ts +7 -0
- package/src/lib/models/Property.d.ts +5 -0
- package/src/lib/models/ReportSchedule.d.ts +22 -0
- package/src/lib/models/ReportType.d.ts +5 -0
- package/src/lib/models/Resource.d.ts +20 -0
- package/src/lib/models/ResponseKeyValue.d.ts +5 -0
- package/src/lib/models/SMSConfig.d.ts +10 -0
- package/src/lib/models/SearchDynamicWrapper.d.ts +5 -0
- package/src/lib/models/SearchOperator.d.ts +4 -0
- package/src/lib/models/SearchPropertySign.d.ts +9 -0
- package/src/lib/models/SearchPropertyValue.d.ts +12 -0
- package/src/lib/models/SearchPropertyValueType.d.ts +9 -0
- package/src/lib/models/Size.d.ts +4 -0
- package/src/lib/models/SortDirection.d.ts +5 -0
- package/src/lib/models/StageActorRule.d.ts +6 -0
- package/src/lib/models/SwimLane.d.ts +13 -0
- package/src/lib/models/Tag.d.ts +6 -0
- package/src/lib/models/Task.d.ts +32 -0
- package/src/lib/models/TaskAssignmentType.d.ts +4 -0
- package/src/lib/models/TaskNotification.d.ts +14 -0
- package/src/lib/models/TaskNotificationMessageType.d.ts +4 -0
- package/src/lib/models/TaskNotificationType.d.ts +7 -0
- package/src/lib/models/TaskStatus.d.ts +7 -0
- package/src/lib/models/Workflow.d.ts +21 -0
- package/src/lib/models/WorkflowAction.d.ts +14 -0
- package/src/lib/models/WorkflowOperation.d.ts +6 -0
- package/src/lib/models/WorkflowStage.d.ts +26 -0
- package/src/lib/models/actors.d.ts +8 -0
- package/src/lib/models/auth-mechanism.d.ts +13 -0
- package/src/lib/models/base.d.ts +13 -0
- package/src/lib/models/object-state.d.ts +6 -0
- package/src/lib/models/operation-type.d.ts +5 -0
- package/src/lib/models/paged.d.ts +9 -0
- package/src/lib/models/query-params.d.ts +8 -0
- package/src/lib/models/status.d.ts +4 -0
- package/src/lib/models/task-history.d.ts +17 -0
- package/src/lib/models/user-access-request-status.d.ts +5 -0
- package/src/lib/models/user.d.ts +24 -0
- package/src/lib/pipes/async-label.pipe.d.ts +11 -0
- package/src/lib/services/environment.service.d.ts +23 -0
- package/src/lib/services/http-web-request.service.d.ts +23 -0
- package/src/lib/services/label.service.d.ts +15 -0
- package/src/lib/services/public-api.d.ts +4 -0
- package/src/lib/services/util.service.d.ts +20 -0
- package/src/lib/shared/base-table-style.d.ts +2 -0
- package/src/lib/shared/components/base-data-view.component.d.ts +41 -0
- package/src/lib/shared/components/base-model-field.d.ts +26 -0
- package/src/lib/shared/models/DataViewConfig.d.ts +11 -0
- package/src/lib/shared/public-api.d.ts +5 -0
- package/src/lib/shared/shared.module.d.ts +11 -0
- package/ng-package.json +0 -15
- package/src/lib/base/core/base-data-page.facade.ts +0 -533
- package/src/lib/base/core/base-data-page.service.ts +0 -222
- package/src/lib/base/core/base-data-page.state.ts +0 -287
- package/src/lib/base/handlers/filter-handler.service.ts +0 -169
- package/src/lib/base/handlers/search-handler.service.ts +0 -33
- package/src/lib/base/handlers/sort-handler.service.ts +0 -93
- package/src/lib/base/models/api-payload.ts +0 -13
- package/src/lib/base/models/page-config.interface.ts +0 -49
- package/src/lib/base/models/page-filter-tab-option.interface.ts +0 -20
- package/src/lib/base/ng-package.json +0 -6
- package/src/lib/base/public-api.ts +0 -16
- package/src/lib/base/utils/column-helpers.ts +0 -77
- package/src/lib/components/actors/actors.columns.ts +0 -40
- package/src/lib/components/actors/actors.component.css +0 -0
- package/src/lib/components/actors/actors.component.html +0 -320
- package/src/lib/components/actors/actors.component.spec.ts +0 -23
- package/src/lib/components/actors/actors.component.ts +0 -221
- package/src/lib/components/actors/actors.config.ts +0 -55
- package/src/lib/components/actors/actors.facade.ts +0 -71
- package/src/lib/components/actors/actors.form.component.html +0 -37
- package/src/lib/components/actors/actors.form.component.ts +0 -69
- package/src/lib/components/actors/actors.model.ts +0 -4
- package/src/lib/components/actors/actors.module.ts +0 -13
- package/src/lib/components/actors/actors.service.ts +0 -85
- package/src/lib/components/actors/actors.state.ts +0 -31
- package/src/lib/components/actors/ng-package.json +0 -6
- package/src/lib/components/designer/components/label-editor.component.ts +0 -188
- package/src/lib/components/designer/components/node-selector.component.ts +0 -208
- package/src/lib/components/designer/components/swimlane-label.component.ts +0 -102
- package/src/lib/components/designer/components/swimlane-popup.component.ts +0 -51
- package/src/lib/components/designer/components/wf-canvas.component.ts +0 -495
- package/src/lib/components/designer/components/wf-designer.component.ts +0 -182
- package/src/lib/components/designer/components/wf-node.component.ts +0 -91
- package/src/lib/components/designer/components/wf-properties-popup.component.ts +0 -257
- package/src/lib/components/designer/components/wf-toolbar.component.ts +0 -84
- package/src/lib/components/designer/models/types.ts +0 -133
- package/src/lib/components/designer/ng-package.json +0 -6
- package/src/lib/components/designer/services/canvas-state.service.ts +0 -63
- package/src/lib/components/designer/services/connection-segment-interaction.service.ts +0 -141
- package/src/lib/components/designer/services/connection.service.ts +0 -351
- package/src/lib/components/designer/services/keyboard-handler.service.ts +0 -39
- package/src/lib/components/designer/services/label-management.service.ts +0 -72
- package/src/lib/components/designer/services/node-finder.service.ts +0 -34
- package/src/lib/components/designer/services/node-interaction.service.ts +0 -135
- package/src/lib/components/designer/services/node-placement.service.ts +0 -77
- package/src/lib/components/designer/services/node-precondition.service.ts +0 -138
- package/src/lib/components/designer/services/node-renderer.service.ts +0 -97
- package/src/lib/components/designer/services/node-selection.service.ts +0 -110
- package/src/lib/components/designer/services/orthogonal-router.service.ts +0 -233
- package/src/lib/components/designer/services/position-update.service.ts +0 -56
- package/src/lib/components/designer/services/rendering.service.ts +0 -296
- package/src/lib/components/designer/services/swimlane-management.service.ts +0 -189
- package/src/lib/components/designer/services/swimlane-stats.service.ts +0 -53
- package/src/lib/components/designer/services/tag-helper.service.ts +0 -80
- package/src/lib/components/designer/services/viewport.service.ts +0 -30
- package/src/lib/components/designer/services/wf-facade.service.ts +0 -287
- package/src/lib/components/designer/services/wf-mapper.service.ts +0 -450
- package/src/lib/components/designer/services/wf-persistence.service.ts +0 -184
- package/src/lib/components/designer/services/wf-state.service.ts +0 -143
- package/src/lib/components/expiration/expiration.component.css +0 -0
- package/src/lib/components/expiration/expiration.component.html +0 -21
- package/src/lib/components/expiration/expiration.component.spec.ts +0 -23
- package/src/lib/components/expiration/expiration.component.ts +0 -52
- package/src/lib/components/expiration/expiration.module.ts +0 -11
- package/src/lib/components/expiration/ng-package.json +0 -6
- package/src/lib/components/file-render/file-render.component.css +0 -4
- package/src/lib/components/file-render/file-render.component.html +0 -21
- package/src/lib/components/file-render/file-render.component.spec.ts +0 -23
- package/src/lib/components/file-render/file-render.component.ts +0 -34
- package/src/lib/components/file-render/file-render.module.ts +0 -19
- package/src/lib/components/file-render/ng-package.json +0 -6
- package/src/lib/components/file-upload/file-upload.component.css +0 -0
- package/src/lib/components/file-upload/file-upload.component.html +0 -69
- package/src/lib/components/file-upload/file-upload.component.spec.ts +0 -23
- package/src/lib/components/file-upload/file-upload.component.ts +0 -87
- package/src/lib/components/file-upload/file-upload.module.ts +0 -40
- package/src/lib/components/file-upload/ng-package.json +0 -6
- package/src/lib/components/flowable-status/flowable-status.columns.ts +0 -23
- package/src/lib/components/flowable-status/flowable-status.component.css +0 -1
- package/src/lib/components/flowable-status/flowable-status.component.html +0 -166
- package/src/lib/components/flowable-status/flowable-status.component.ts +0 -247
- package/src/lib/components/flowable-status/flowable-status.config.ts +0 -54
- package/src/lib/components/flowable-status/flowable-status.facade.ts +0 -70
- package/src/lib/components/flowable-status/flowable-status.form.component.html +0 -13
- package/src/lib/components/flowable-status/flowable-status.form.component.ts +0 -51
- package/src/lib/components/flowable-status/flowable-status.model.ts +0 -3
- package/src/lib/components/flowable-status/flowable-status.module.ts +0 -13
- package/src/lib/components/flowable-status/flowable-status.service.ts +0 -39
- package/src/lib/components/flowable-status/flowable-status.state.ts +0 -10
- package/src/lib/components/flowable-status/ng-package.json +0 -6
- package/src/lib/components/flowable-status/public-api.ts +0 -3
- package/src/lib/components/form-control/form-control.component.css +0 -0
- package/src/lib/components/form-control/form-control.component.html +0 -259
- package/src/lib/components/form-control/form-control.component.spec.ts +0 -23
- package/src/lib/components/form-control/form-control.component.ts +0 -197
- package/src/lib/components/form-control/form-control.module.ts +0 -47
- package/src/lib/components/form-control/ng-package.json +0 -6
- package/src/lib/components/form-group/base-table-style.ts +0 -52
- package/src/lib/components/form-group/form-fields/form-fields.component.css +0 -114
- package/src/lib/components/form-group/form-fields/form-fields.component.html +0 -621
- package/src/lib/components/form-group/form-fields/form-fields.component.spec.ts +0 -23
- package/src/lib/components/form-group/form-fields/form-fields.component.ts +0 -1115
- package/src/lib/components/form-group/form-fields/form-fields.module.ts +0 -48
- package/src/lib/components/form-group/form-fields/form-fields.service.ts +0 -70
- package/src/lib/components/form-group/form-fields/helper.ts +0 -45
- package/src/lib/components/form-group/form-group.component.css +0 -113
- package/src/lib/components/form-group/form-group.component.html +0 -486
- package/src/lib/components/form-group/form-group.component.spec.ts +0 -22
- package/src/lib/components/form-group/form-group.component.ts +0 -789
- package/src/lib/components/form-group/form-group.module.ts +0 -54
- package/src/lib/components/form-group/form-group.service.ts +0 -53
- package/src/lib/components/form-group/helper.ts +0 -45
- package/src/lib/components/form-group/ng-package.json +0 -6
- package/src/lib/components/form-response/form-response.component.css +0 -114
- package/src/lib/components/form-response/form-response.component.html +0 -188
- package/src/lib/components/form-response/form-response.component.spec.ts +0 -23
- package/src/lib/components/form-response/form-response.component.ts +0 -735
- package/src/lib/components/form-response/form-response.module.ts +0 -48
- package/src/lib/components/form-response/form-response.service.ts +0 -52
- package/src/lib/components/form-response/helper.ts +0 -222
- package/src/lib/components/form-response/ng-package.json +0 -6
- package/src/lib/components/form-timer/form-timer.component.css +0 -0
- package/src/lib/components/form-timer/form-timer.component.html +0 -47
- package/src/lib/components/form-timer/form-timer.component.spec.ts +0 -23
- package/src/lib/components/form-timer/form-timer.component.ts +0 -50
- package/src/lib/components/form-timer/form-timer.module.ts +0 -19
- package/src/lib/components/form-timer/ng-package.json +0 -6
- package/src/lib/components/form-values/form-values.component.css +0 -48
- package/src/lib/components/form-values/form-values.component.html +0 -225
- package/src/lib/components/form-values/form-values.component.ts +0 -1437
- package/src/lib/components/form-values/form-values.module.ts +0 -13
- package/src/lib/components/form-values/form-values.service.ts +0 -45
- package/src/lib/components/form-values/ng-package.json +0 -6
- package/src/lib/components/form-viewer/form-viewer.component.css +0 -4
- package/src/lib/components/form-viewer/form-viewer.component.html +0 -62
- package/src/lib/components/form-viewer/form-viewer.component.spec.ts +0 -23
- package/src/lib/components/form-viewer/form-viewer.component.ts +0 -31
- package/src/lib/components/form-viewer/form-viewer.module.ts +0 -52
- package/src/lib/components/form-viewer/ng-package.json +0 -6
- package/src/lib/components/forms/base-table-style.ts +0 -52
- package/src/lib/components/forms/forms.component.css +0 -126
- package/src/lib/components/forms/forms.component.html +0 -538
- package/src/lib/components/forms/forms.component.spec.ts +0 -23
- package/src/lib/components/forms/forms.component.ts +0 -810
- package/src/lib/components/forms/forms.module.ts +0 -10
- package/src/lib/components/forms/forms.service.spec.ts +0 -16
- package/src/lib/components/forms/forms.service.ts +0 -65
- package/src/lib/components/forms/ng-package.json +0 -6
- package/src/lib/components/journal/journal.component.css +0 -0
- package/src/lib/components/journal/journal.component.html +0 -1
- package/src/lib/components/journal/journal.component.spec.ts +0 -23
- package/src/lib/components/journal/journal.component.ts +0 -10
- package/src/lib/components/journal/journal.module.ts +0 -10
- package/src/lib/components/journal/ng-package.json +0 -6
- package/src/lib/components/my-queue/my-queue.columns.ts +0 -37
- package/src/lib/components/my-queue/my-queue.component.css +0 -8
- package/src/lib/components/my-queue/my-queue.component.html +0 -319
- package/src/lib/components/my-queue/my-queue.component.spec.ts +0 -23
- package/src/lib/components/my-queue/my-queue.component.ts +0 -409
- package/src/lib/components/my-queue/my-queue.facade.ts +0 -670
- package/src/lib/components/my-queue/my-queue.helper.ts +0 -71
- package/src/lib/components/my-queue/my-queue.module.ts +0 -28
- package/src/lib/components/my-queue/my-queue.service.spec.ts +0 -16
- package/src/lib/components/my-queue/my-queue.service.ts +0 -262
- package/src/lib/components/my-queue/my-queue.state.ts +0 -133
- package/src/lib/components/my-queue/ng-package.json +0 -6
- package/src/lib/components/my-queue/tasks.form.component.html +0 -168
- package/src/lib/components/my-queue/tasks.form.component.ts +0 -201
- package/src/lib/components/operation-popup/ng-package.json +0 -6
- package/src/lib/components/operation-popup/operation-popup.component.css +0 -1
- package/src/lib/components/operation-popup/operation-popup.component.html +0 -107
- package/src/lib/components/operation-popup/operation-popup.component.ts +0 -476
- package/src/lib/components/operation-popup/operation-popup.facade.ts +0 -435
- package/src/lib/components/operation-popup/operation-popup.service.ts +0 -143
- package/src/lib/components/operation-popup/operation-popup.state.ts +0 -49
- package/src/lib/components/stage-details/ng-package.json +0 -6
- package/src/lib/components/stage-details/stage-details.component.css +0 -0
- package/src/lib/components/stage-details/stage-details.component.html +0 -95
- package/src/lib/components/stage-details/stage-details.component.spec.ts +0 -23
- package/src/lib/components/stage-details/stage-details.component.ts +0 -43
- package/src/lib/components/stage-details/stage-details.module.ts +0 -11
- package/src/lib/components/task-form/ng-package.json +0 -6
- package/src/lib/components/task-form/task-form.component.css +0 -0
- package/src/lib/components/task-form/task-form.component.html +0 -38
- package/src/lib/components/task-form/task-form.component.spec.ts +0 -23
- package/src/lib/components/task-form/task-form.component.ts +0 -15
- package/src/lib/components/task-form/task-form.module.ts +0 -31
- package/src/lib/components/task-history/ng-package.json +0 -6
- package/src/lib/components/task-history/task-history.component.css +0 -334
- package/src/lib/components/task-history/task-history.component.html +0 -292
- package/src/lib/components/task-history/task-history.component.spec.ts +0 -23
- package/src/lib/components/task-history/task-history.component.ts +0 -284
- package/src/lib/components/task-history/task-history.module.ts +0 -12
- package/src/lib/components/task-history/task-history.service.ts +0 -32
- package/src/lib/components/task-notification/base-table-style.ts +0 -52
- package/src/lib/components/task-notification/ng-package.json +0 -6
- package/src/lib/components/task-notification/task-notification.component.css +0 -94
- package/src/lib/components/task-notification/task-notification.component.html +0 -585
- package/src/lib/components/task-notification/task-notification.component.spec.ts +0 -23
- package/src/lib/components/task-notification/task-notification.component.ts +0 -793
- package/src/lib/components/task-notification/task-notification.module.ts +0 -10
- package/src/lib/components/task-notification/task-notification.service.spec.ts +0 -16
- package/src/lib/components/task-notification/task-notification.service.ts +0 -397
- package/src/lib/components/tasks/ng-package.json +0 -6
- package/src/lib/components/tasks/tasks.columns.ts +0 -50
- package/src/lib/components/tasks/tasks.component.css +0 -4
- package/src/lib/components/tasks/tasks.component.html +0 -385
- package/src/lib/components/tasks/tasks.component.spec.ts +0 -23
- package/src/lib/components/tasks/tasks.component.ts +0 -212
- package/src/lib/components/tasks/tasks.facade.ts +0 -482
- package/src/lib/components/tasks/tasks.form.component.html +0 -181
- package/src/lib/components/tasks/tasks.form.component.ts +0 -174
- package/src/lib/components/tasks/tasks.helper.ts +0 -71
- package/src/lib/components/tasks/tasks.models.ts +0 -4
- package/src/lib/components/tasks/tasks.module.ts +0 -29
- package/src/lib/components/tasks/tasks.service.spec.ts +0 -16
- package/src/lib/components/tasks/tasks.service.ts +0 -215
- package/src/lib/components/tasks/tasks.state.ts +0 -144
- package/src/lib/components/wf/ng-package.json +0 -6
- package/src/lib/components/wf/wf.columns.ts +0 -36
- package/src/lib/components/wf/wf.component.css +0 -0
- package/src/lib/components/wf/wf.component.html +0 -35
- package/src/lib/components/wf/wf.component.spec.ts +0 -23
- package/src/lib/components/wf/wf.component.ts +0 -71
- package/src/lib/components/wf/wf.facade.ts +0 -266
- package/src/lib/components/wf/wf.helper.ts +0 -25
- package/src/lib/components/wf/wf.module.ts +0 -14
- package/src/lib/components/wf/wf.service.spec.ts +0 -16
- package/src/lib/components/wf/wf.service.ts +0 -98
- package/src/lib/components/wf/wf.state.ts +0 -99
- package/src/lib/components/workflow/column.ts +0 -40
- package/src/lib/components/workflow/helper.ts +0 -53
- package/src/lib/components/workflow/ng-package.json +0 -6
- package/src/lib/components/workflow/table-style.ts +0 -53
- package/src/lib/components/workflow/workflow.component.css +0 -0
- package/src/lib/components/workflow/workflow.component.html +0 -226
- package/src/lib/components/workflow/workflow.component.spec.ts +0 -23
- package/src/lib/components/workflow/workflow.component.ts +0 -224
- package/src/lib/components/workflow/workflow.module.ts +0 -11
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.css +0 -9
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.html +0 -134
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.ts +0 -147
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.html +0 -45
- package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.ts +0 -83
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.css +0 -7
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.html +0 -89
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.ts +0 -87
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.css +0 -11
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.html +0 -74
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.ts +0 -80
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.css +0 -70
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.html +0 -454
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.ts +0 -1654
- package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.connection-drop.spec.ts +0 -100
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.css +0 -63
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.html +0 -49
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.ts +0 -86
- package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.ts +0 -7
- package/src/lib/components/workflow-designer/docs/01-architecture.md +0 -145
- package/src/lib/components/workflow-designer/docs/02-coordinate-system.md +0 -171
- package/src/lib/components/workflow-designer/docs/03-data-model.md +0 -163
- package/src/lib/components/workflow-designer/docs/04-interactions.md +0 -156
- package/src/lib/components/workflow-designer/docs/05-persistence.md +0 -117
- package/src/lib/components/workflow-designer/docs/06-known-issues.md +0 -181
- package/src/lib/components/workflow-designer/docs/07-integration.md +0 -178
- package/src/lib/components/workflow-designer/docs/08-api-reference.md +0 -187
- package/src/lib/components/workflow-designer/docs/09-development.md +0 -141
- package/src/lib/components/workflow-designer/docs/README.md +0 -81
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.css +0 -13
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.html +0 -204
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.ts +0 -308
- package/src/lib/components/workflow-designer/ng-package.json +0 -6
- package/src/lib/components/workflow-designer/services/connection.service.ts +0 -325
- package/src/lib/components/workflow-designer/services/node-management.service.ts +0 -372
- package/src/lib/components/workflow-designer/services/popup.service.ts +0 -276
- package/src/lib/components/workflow-designer/services/swimlane.service.ts +0 -176
- package/src/lib/components/workflow-designer/services/transformer.service.ts +0 -318
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.html +0 -208
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.ts +0 -194
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.css +0 -15
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.html +0 -93
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/stage-node/stage-node.component.ts +0 -258
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.css +0 -0
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.html +0 -150
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.ts +0 -153
- package/src/lib/components/workflow-designer/workflow-data.service.spec.ts +0 -16
- package/src/lib/components/workflow-designer/workflow-data.service.ts +0 -290
- package/src/lib/components/workflow-designer/workflow-designer.component.css +0 -59
- package/src/lib/components/workflow-designer/workflow-designer.component.html +0 -29
- package/src/lib/components/workflow-designer/workflow-designer.component.spec.ts +0 -23
- package/src/lib/components/workflow-designer/workflow-designer.component.ts +0 -548
- package/src/lib/components/workflow-designer/workflow-designer.models.ts +0 -114
- package/src/lib/components/workflow-designer/workflow-designer.module.ts +0 -90
- package/src/lib/components/workflow-designer/workflow-designer.state.ts +0 -1123
- package/src/lib/components/workflow-designer/workflow-designer.types.ts +0 -141
- package/src/lib/components/workflow-stage/ng-package.json +0 -6
- package/src/lib/components/workflow-stage/workflow-stage.component.css +0 -24
- package/src/lib/components/workflow-stage/workflow-stage.component.html +0 -339
- package/src/lib/components/workflow-stage/workflow-stage.component.spec.ts +0 -23
- package/src/lib/components/workflow-stage/workflow-stage.component.ts +0 -355
- package/src/lib/components/workflow-stage/workflow-stage.module.ts +0 -53
- package/src/lib/components/workflows/ng-package.json +0 -6
- package/src/lib/components/workflows/public-api.ts +0 -6
- package/src/lib/components/workflows/workflow-form/workflow-form.component.css +0 -0
- package/src/lib/components/workflows/workflow-form/workflow-form.component.html +0 -138
- package/src/lib/components/workflows/workflow-form/workflow-form.component.spec.ts +0 -23
- package/src/lib/components/workflows/workflow-form/workflow-form.component.ts +0 -85
- package/src/lib/components/workflows/workflows.api.ts +0 -117
- package/src/lib/components/workflows/workflows.columns.ts +0 -41
- package/src/lib/components/workflows/workflows.component.css +0 -4
- package/src/lib/components/workflows/workflows.component.html +0 -309
- package/src/lib/components/workflows/workflows.component.spec.ts +0 -23
- package/src/lib/components/workflows/workflows.component.ts +0 -303
- package/src/lib/components/workflows/workflows.config.ts +0 -58
- package/src/lib/components/workflows/workflows.facade.ts +0 -147
- package/src/lib/components/workflows/workflows.module.ts +0 -14
- package/src/lib/components/workflows/workflows.service.spec.ts +0 -16
- package/src/lib/components/workflows/workflows.service.ts +0 -88
- package/src/lib/components/workflows/workflows.state.ts +0 -21
- package/src/lib/models/ActionHistory.ts +0 -19
- package/src/lib/models/ActionType.ts +0 -9
- package/src/lib/models/Actor.ts +0 -12
- package/src/lib/models/ActorTag.ts +0 -8
- package/src/lib/models/Coord.ts +0 -4
- package/src/lib/models/DataExtensionValue.ts +0 -5
- package/src/lib/models/DataType.ts +0 -25
- package/src/lib/models/EAVDataType.ts +0 -18
- package/src/lib/models/EAVEntity.ts +0 -5
- package/src/lib/models/EntityDataValue.ts +0 -7
- package/src/lib/models/EntityProperty.ts +0 -8
- package/src/lib/models/ErrorResponse.ts +0 -7
- package/src/lib/models/Escalation.ts +0 -15
- package/src/lib/models/EscalationCycle.ts +0 -13
- package/src/lib/models/EscalationStage.ts +0 -11
- package/src/lib/models/EscalationType.ts +0 -5
- package/src/lib/models/File.ts +0 -8
- package/src/lib/models/FilterTypes.ts +0 -8
- package/src/lib/models/FlowableStatus.ts +0 -6
- package/src/lib/models/Form.ts +0 -14
- package/src/lib/models/FormEntity.ts +0 -14
- package/src/lib/models/FormFill.ts +0 -16
- package/src/lib/models/FormProperty.ts +0 -16
- package/src/lib/models/FormValue.ts +0 -19
- package/src/lib/models/MailConfig.ts +0 -13
- package/src/lib/models/MessageConfig.ts +0 -5
- package/src/lib/models/MessageMedium.ts +0 -4
- package/src/lib/models/OperationAction.ts +0 -15
- package/src/lib/models/PagedResult.ts +0 -5
- package/src/lib/models/PeriodMode.ts +0 -10
- package/src/lib/models/PermissionConfig.ts +0 -8
- package/src/lib/models/Property.ts +0 -6
- package/src/lib/models/ReportSchedule.ts +0 -23
- package/src/lib/models/ReportType.ts +0 -5
- package/src/lib/models/Resource.ts +0 -57
- package/src/lib/models/ResponseKeyValue.ts +0 -5
- package/src/lib/models/SMSConfig.ts +0 -11
- package/src/lib/models/SearchDynamicWrapper.ts +0 -6
- package/src/lib/models/SearchOperator.ts +0 -4
- package/src/lib/models/SearchPropertySign.ts +0 -9
- package/src/lib/models/SearchPropertyValue.ts +0 -13
- package/src/lib/models/SearchPropertyValueType.ts +0 -9
- package/src/lib/models/Size.ts +0 -4
- package/src/lib/models/SortDirection.ts +0 -5
- package/src/lib/models/StageActorRule.ts +0 -6
- package/src/lib/models/SwimLane.ts +0 -14
- package/src/lib/models/Tag.ts +0 -7
- package/src/lib/models/Task.ts +0 -33
- package/src/lib/models/TaskAssignmentType.ts +0 -4
- package/src/lib/models/TaskNotification.ts +0 -16
- package/src/lib/models/TaskNotificationMessageType.ts +0 -4
- package/src/lib/models/TaskNotificationType.ts +0 -7
- package/src/lib/models/TaskStatus.ts +0 -7
- package/src/lib/models/Workflow.ts +0 -22
- package/src/lib/models/WorkflowAction.ts +0 -15
- package/src/lib/models/WorkflowOperation.ts +0 -7
- package/src/lib/models/WorkflowStage.ts +0 -27
- package/src/lib/models/actors.ts +0 -10
- package/src/lib/models/auth-mechanism.ts +0 -14
- package/src/lib/models/base.ts +0 -14
- package/src/lib/models/ng-package.json +0 -6
- package/src/lib/models/object-state.ts +0 -6
- package/src/lib/models/operation-type.ts +0 -6
- package/src/lib/models/paged.ts +0 -9
- package/src/lib/models/query-params.ts +0 -9
- package/src/lib/models/status.ts +0 -5
- package/src/lib/models/task-history.ts +0 -14
- package/src/lib/models/user-access-request-status.ts +0 -5
- package/src/lib/models/user.ts +0 -25
- package/src/lib/pipes/async-label.pipe.spec.ts +0 -12
- package/src/lib/pipes/async-label.pipe.ts +0 -30
- package/src/lib/pipes/ng-package.json +0 -6
- package/src/lib/services/environment.service.spec.ts +0 -16
- package/src/lib/services/environment.service.ts +0 -31
- package/src/lib/services/http-web-request.service.spec.ts +0 -16
- package/src/lib/services/http-web-request.service.ts +0 -154
- package/src/lib/services/label.service.spec.ts +0 -16
- package/src/lib/services/label.service.ts +0 -182
- package/src/lib/services/ng-package.json +0 -6
- package/src/lib/services/public-api.ts +0 -5
- package/src/lib/services/util.service.spec.ts +0 -16
- package/src/lib/services/util.service.ts +0 -72
- package/src/lib/shared/base-table-style.ts +0 -56
- package/src/lib/shared/components/base-data-view.component.ts +0 -187
- package/src/lib/shared/components/base-model-field.ts +0 -31
- package/src/lib/shared/models/DataViewConfig.ts +0 -19
- package/src/lib/shared/ng-package.json +0 -6
- package/src/lib/shared/public-api.ts +0 -14
- package/src/lib/shared/shared.module.ts +0 -67
- package/src/lib/utils/index.ts +0 -1
- package/src/lib/utils/public-api.ts +0 -2
- package/src/lib/utils/store.ts +0 -50
- package/src/public-api.ts +0 -58
- package/src/styles.css +0 -96
- package/tailwind.config copy.js +0 -33
- package/tailwind.config.js +0 -20
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
- /package/src/lib/base/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/actors/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/actors/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/designer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/designer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/expiration/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/expiration/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/file-render/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/file-render/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/file-upload/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/file-upload/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/flowable-status/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-control/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-control/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-group/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-group/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-response/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-response/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-timer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-timer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-values/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-values/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/form-viewer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/form-viewer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/forms/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/forms/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/journal/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/journal/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/my-queue/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/my-queue/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/operation-popup/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/operation-popup/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/stage-details/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/stage-details/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/task-form/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/task-form/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/task-history/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/task-history/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/task-notification/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/task-notification/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/tasks/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/tasks/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/wf/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/wf/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflow/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/workflow/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflow-designer/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/workflow-designer/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflow-stage/{index.ts → index.d.ts} +0 -0
- /package/src/lib/components/workflow-stage/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/components/workflows/{index.ts → index.d.ts} +0 -0
- /package/src/lib/models/{index.ts → index.d.ts} +0 -0
- /package/src/lib/models/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/pipes/{index.ts → index.d.ts} +0 -0
- /package/src/lib/pipes/{public-api.ts → public-api.d.ts} +0 -0
- /package/src/lib/services/{index.ts → index.d.ts} +0 -0
- /package/src/lib/shared/{index.ts → index.d.ts} +0 -0
- /package/{src/styles → styles}/styles.css +0 -0
|
@@ -1,1115 +0,0 @@
|
|
|
1
|
-
import { Location } from '@angular/common';
|
|
2
|
-
import {
|
|
3
|
-
ChangeDetectorRef,
|
|
4
|
-
Component,
|
|
5
|
-
ElementRef,
|
|
6
|
-
EventEmitter,
|
|
7
|
-
Input,
|
|
8
|
-
OnInit,
|
|
9
|
-
Output,
|
|
10
|
-
Renderer2,
|
|
11
|
-
ViewChild,
|
|
12
|
-
} from '@angular/core';
|
|
13
|
-
import { FormBuilder } from '@angular/forms';
|
|
14
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
15
|
-
import { debounceTime, Subject } from 'rxjs';
|
|
16
|
-
import {
|
|
17
|
-
CardData,
|
|
18
|
-
CardDataViewComponent,
|
|
19
|
-
ChipChangeEvent,
|
|
20
|
-
ColumnDefinition,
|
|
21
|
-
ConditionalOptions,
|
|
22
|
-
DataFilterType,
|
|
23
|
-
DataTableComponent,
|
|
24
|
-
DataViewComponent,
|
|
25
|
-
DropdownChangeEvent,
|
|
26
|
-
IDataFilter,
|
|
27
|
-
} from 'verben-ng-ui';
|
|
28
|
-
import {
|
|
29
|
-
DataType,
|
|
30
|
-
ErrorResponse,
|
|
31
|
-
FormEntity,
|
|
32
|
-
FormProperty,
|
|
33
|
-
ObjectState,
|
|
34
|
-
PagedResult,
|
|
35
|
-
SearchOperator,
|
|
36
|
-
SearchPropertySign,
|
|
37
|
-
SearchPropertyValue,
|
|
38
|
-
SearchPropertyValueType,
|
|
39
|
-
Status,
|
|
40
|
-
} from 'verben-workflow-ui/src/lib/models';
|
|
41
|
-
import {
|
|
42
|
-
EnvironmentService,
|
|
43
|
-
HttpWebRequestService,
|
|
44
|
-
UtilService,
|
|
45
|
-
} from 'verben-workflow-ui/src/lib/services';
|
|
46
|
-
import { baseStyle } from '../base-table-style';
|
|
47
|
-
import { FormsFieldService } from './form-fields.service';
|
|
48
|
-
|
|
49
|
-
enum TaskUserPropertyName {
|
|
50
|
-
User = 'User',
|
|
51
|
-
Date = 'Date',
|
|
52
|
-
Role = 'Role',
|
|
53
|
-
Service = 'Service',
|
|
54
|
-
Application = 'Application',
|
|
55
|
-
Tenant = 'Tenant',
|
|
56
|
-
Email = 'Email',
|
|
57
|
-
Status = 'Status',
|
|
58
|
-
}
|
|
59
|
-
enum TaskUserPropertyMap {
|
|
60
|
-
User = 'Name',
|
|
61
|
-
Date = 'CreatedAt',
|
|
62
|
-
Role = 'RoleID',
|
|
63
|
-
Service = 'ServiceName',
|
|
64
|
-
Application = 'Application',
|
|
65
|
-
Tenant = 'TenantId',
|
|
66
|
-
Email = 'MailAddress',
|
|
67
|
-
Status = 'Status',
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
enum FilterTypes {
|
|
71
|
-
Before = SearchPropertySign.LT,
|
|
72
|
-
On = SearchPropertySign.EQ,
|
|
73
|
-
After = SearchPropertySign.GT,
|
|
74
|
-
NEQ = SearchPropertySign.NEQ,
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@Component({
|
|
78
|
-
selector: 'lib-form-fields',
|
|
79
|
-
templateUrl: './form-fields.component.html',
|
|
80
|
-
styleUrl: './form-fields.component.css',
|
|
81
|
-
})
|
|
82
|
-
export class FormFieldsComponent implements OnInit {
|
|
83
|
-
visibleColumnDef: ColumnDefinition<FormProperty>[] = [];
|
|
84
|
-
styles = baseStyle;
|
|
85
|
-
data: FormEntity[] = [];
|
|
86
|
-
hideMinMax: boolean = true;
|
|
87
|
-
@Input() path: string = '/documentation/workflow-forms/fields';
|
|
88
|
-
cardData: CardData[] = [];
|
|
89
|
-
queryParams: any = {};
|
|
90
|
-
showSort: boolean = false;
|
|
91
|
-
showColumn: boolean = false;
|
|
92
|
-
currentData: CardData | null = null;
|
|
93
|
-
@ViewChild('fileInput', { static: true }) fileInput!: ElementRef;
|
|
94
|
-
@ViewChild('vdcv') cardDataView!: CardDataViewComponent;
|
|
95
|
-
@ViewChild('vdv') dataView!: DataViewComponent;
|
|
96
|
-
@ViewChild('dt') tableView!: DataTableComponent<FormEntity>;
|
|
97
|
-
@Input() application: string | null = null;
|
|
98
|
-
@Input() pageSize: number = 10;
|
|
99
|
-
@Input() searchDebounceTime: number = 500;
|
|
100
|
-
@Output() onViewProcessClicked: EventEmitter<string> = new EventEmitter();
|
|
101
|
-
currentExpandedCard: CardData | null = null;
|
|
102
|
-
pageState: PagedResult<FormEntity> | null = null;
|
|
103
|
-
isOpen: boolean = false;
|
|
104
|
-
openDropdownId: string | null | number = null;
|
|
105
|
-
currentFilters: IDataFilter[] = [];
|
|
106
|
-
currentSorts: IDataFilter[] = [];
|
|
107
|
-
selectedFilterTableCount: number = 0;
|
|
108
|
-
selectedSortTableCount: number = 0;
|
|
109
|
-
selectedColumnTableCount: number = 0;
|
|
110
|
-
showFilter: boolean = false;
|
|
111
|
-
formName: string = '';
|
|
112
|
-
searchTerm$ = new Subject<string>();
|
|
113
|
-
properties: FormProperty[] = [];
|
|
114
|
-
searchTerm: string = '';
|
|
115
|
-
skip = 0;
|
|
116
|
-
chipArray: string[] = [];
|
|
117
|
-
Id: string = '';
|
|
118
|
-
chips: any;
|
|
119
|
-
statusOptions: Status[] = Object.values(Status);
|
|
120
|
-
dataType: DataType[] = Object.values(DataType);
|
|
121
|
-
dataType2: DataType = DataType.Text;
|
|
122
|
-
users: FormEntity[] = [];
|
|
123
|
-
|
|
124
|
-
visibleColumns: IDataFilter[] = [];
|
|
125
|
-
|
|
126
|
-
filterArray: IDataFilter[] = [
|
|
127
|
-
{
|
|
128
|
-
name: 'Name',
|
|
129
|
-
type: DataFilterType.String,
|
|
130
|
-
checked: false,
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
name: 'DataType',
|
|
134
|
-
type: DataFilterType.String,
|
|
135
|
-
checked: false,
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
name: 'DefaultValue',
|
|
139
|
-
type: DataFilterType.String,
|
|
140
|
-
checked: false,
|
|
141
|
-
},
|
|
142
|
-
|
|
143
|
-
{
|
|
144
|
-
name: 'Value',
|
|
145
|
-
type: DataFilterType.String,
|
|
146
|
-
checked: false,
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
name: 'MaxValue',
|
|
150
|
-
type: DataFilterType.Number,
|
|
151
|
-
checked: false,
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
name: 'MinValue',
|
|
155
|
-
type: DataFilterType.String,
|
|
156
|
-
checked: false,
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
name: 'IsRequired',
|
|
160
|
-
type: DataFilterType.Bool,
|
|
161
|
-
checked: false,
|
|
162
|
-
},
|
|
163
|
-
];
|
|
164
|
-
|
|
165
|
-
sortOptions: IDataFilter[] = [
|
|
166
|
-
{
|
|
167
|
-
name: 'Name',
|
|
168
|
-
type: DataFilterType.String,
|
|
169
|
-
checked: false,
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
name: 'DataType',
|
|
173
|
-
type: DataFilterType.String,
|
|
174
|
-
checked: false,
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
name: 'DefaultValue',
|
|
178
|
-
type: DataFilterType.String,
|
|
179
|
-
checked: false,
|
|
180
|
-
},
|
|
181
|
-
|
|
182
|
-
{
|
|
183
|
-
name: 'Value',
|
|
184
|
-
type: DataFilterType.String,
|
|
185
|
-
checked: false,
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
name: 'MaxValue',
|
|
189
|
-
type: DataFilterType.Number,
|
|
190
|
-
checked: false,
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
name: 'MinValue',
|
|
194
|
-
type: DataFilterType.String,
|
|
195
|
-
checked: false,
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
name: 'IsRequired',
|
|
199
|
-
type: DataFilterType.Bool,
|
|
200
|
-
checked: false,
|
|
201
|
-
},
|
|
202
|
-
];
|
|
203
|
-
|
|
204
|
-
private currentSearchTerm: string = '';
|
|
205
|
-
|
|
206
|
-
constructor(
|
|
207
|
-
private utilService: UtilService,
|
|
208
|
-
private server: HttpWebRequestService,
|
|
209
|
-
private cdr: ChangeDetectorRef,
|
|
210
|
-
private fb: FormBuilder,
|
|
211
|
-
private envSvc: EnvironmentService,
|
|
212
|
-
private router: Router,
|
|
213
|
-
private route: ActivatedRoute,
|
|
214
|
-
private taskUsersSvc: FormsFieldService,
|
|
215
|
-
private _location: Location,
|
|
216
|
-
private elRef: ElementRef,
|
|
217
|
-
private renderer: Renderer2,
|
|
218
|
-
) {
|
|
219
|
-
this.visibleColumnDef = taskUsersSvc.formFieldColumns;
|
|
220
|
-
this.visibleColumns = taskUsersSvc.formFieldColumns.map((col) => ({
|
|
221
|
-
checked: true,
|
|
222
|
-
name: typeof col.header === 'string' ? col.header : col.id,
|
|
223
|
-
type: DataFilterType.Bool,
|
|
224
|
-
}));
|
|
225
|
-
}
|
|
226
|
-
async ngOnInit(): Promise<void> {
|
|
227
|
-
this.searchTerm$
|
|
228
|
-
.pipe(debounceTime(this.searchDebounceTime)) // Adjust debounce time here (in ms)
|
|
229
|
-
.subscribe(async (searchTerm) => {
|
|
230
|
-
this.currentSearchTerm = searchTerm;
|
|
231
|
-
this.updateFiltersAndSorts(true);
|
|
232
|
-
});
|
|
233
|
-
this.route.queryParams.subscribe((params) => {
|
|
234
|
-
const Id = params['FormId'];
|
|
235
|
-
const Name = params['Name'];
|
|
236
|
-
this.Id = Id;
|
|
237
|
-
this.formName = Name;
|
|
238
|
-
if (Id) {
|
|
239
|
-
this.getProperties(Id);
|
|
240
|
-
}
|
|
241
|
-
});
|
|
242
|
-
}
|
|
243
|
-
onChipChange(chips: ChipChangeEvent) {
|
|
244
|
-
this.chips = chips;
|
|
245
|
-
}
|
|
246
|
-
async postSearch(payload: any) {
|
|
247
|
-
this.utilService.sendBI(true);
|
|
248
|
-
const res = await this.server.post(
|
|
249
|
-
`SearchFormEntities/0/${this.pageSize}`,
|
|
250
|
-
payload,
|
|
251
|
-
);
|
|
252
|
-
this.utilService.sendBI(false);
|
|
253
|
-
|
|
254
|
-
if (res instanceof ErrorResponse) {
|
|
255
|
-
this.utilService.showError('Error occurred while searching.');
|
|
256
|
-
return;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
const pageState = res as PagedResult<FormEntity>;
|
|
260
|
-
const result = pageState?.Result;
|
|
261
|
-
|
|
262
|
-
if (!result || result.length === 0) {
|
|
263
|
-
this.utilService.showInfo('No results found.');
|
|
264
|
-
this.data = [];
|
|
265
|
-
return;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
// Assign and ensure Properties exist
|
|
269
|
-
this.data = result.map((item) => ({
|
|
270
|
-
...item,
|
|
271
|
-
Properties: item.Properties || [],
|
|
272
|
-
}));
|
|
273
|
-
|
|
274
|
-
this.setUpCardData();
|
|
275
|
-
return result;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
onDropDownChange(event: string) {
|
|
279
|
-
if (event) {
|
|
280
|
-
this.checkMinMax(event);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
async getProperties(
|
|
284
|
-
Id: string,
|
|
285
|
-
show: boolean = false,
|
|
286
|
-
): Promise<FormEntity[] | undefined> {
|
|
287
|
-
if (this.showColumn) {
|
|
288
|
-
this.showColumn = false;
|
|
289
|
-
this.selectedColumnTableCount = 0;
|
|
290
|
-
this.reset();
|
|
291
|
-
}
|
|
292
|
-
if (this.showFilter) {
|
|
293
|
-
this.showFilter = false;
|
|
294
|
-
this.selectedFilterTableCount = 0;
|
|
295
|
-
|
|
296
|
-
this.reset();
|
|
297
|
-
}
|
|
298
|
-
if (this.showSort) {
|
|
299
|
-
this.showSort = false;
|
|
300
|
-
this.reset();
|
|
301
|
-
this.selectedSortTableCount = 0;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
var payload: SearchPropertyValue[] = [
|
|
305
|
-
{
|
|
306
|
-
PropertyName: `Code`,
|
|
307
|
-
EntityValue: Id,
|
|
308
|
-
Operator: SearchOperator.And,
|
|
309
|
-
Sign: SearchPropertySign.EQ,
|
|
310
|
-
Type: SearchPropertyValueType.String,
|
|
311
|
-
},
|
|
312
|
-
];
|
|
313
|
-
this.utilService.sendBI(true);
|
|
314
|
-
const res = await this.server.post(
|
|
315
|
-
`SearchFormEntities/${this.skip}/${this.pageSize}`,
|
|
316
|
-
payload,
|
|
317
|
-
);
|
|
318
|
-
this.utilService.sendBI(false);
|
|
319
|
-
if (res instanceof ErrorResponse) {
|
|
320
|
-
return undefined;
|
|
321
|
-
} else {
|
|
322
|
-
var result = (res as PagedResult<FormEntity>).Result;
|
|
323
|
-
this.data = result;
|
|
324
|
-
this.data.forEach((x) =>
|
|
325
|
-
x.Properties.forEach((p, i) => (p.Id = i.toString())),
|
|
326
|
-
);
|
|
327
|
-
this.properties = this.data[0].Properties;
|
|
328
|
-
|
|
329
|
-
this.setUpCardData();
|
|
330
|
-
show = false;
|
|
331
|
-
return result;
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
onUserSelected(event: DropdownChangeEvent, item: FormEntity) {
|
|
336
|
-
const user = this.users.find((x) => x.Name == event.value);
|
|
337
|
-
if (user) {
|
|
338
|
-
item.Name = user.Name;
|
|
339
|
-
item.Description = user.Description;
|
|
340
|
-
item.Properties = user.Properties;
|
|
341
|
-
item.IsValidated = user.IsValidated;
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
onClear(event: Event, item: FormEntity) {
|
|
345
|
-
item.Name = '';
|
|
346
|
-
item.Description = '';
|
|
347
|
-
item.Properties = [];
|
|
348
|
-
item.IsValidated = false;
|
|
349
|
-
}
|
|
350
|
-
async getForms(): Promise<FormEntity[] | undefined> {
|
|
351
|
-
this.utilService.sendBI(true);
|
|
352
|
-
const res = await this.server.get(
|
|
353
|
-
`GetFormEntitiesWithParams/Group/0/${this.pageSize}`,
|
|
354
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
355
|
-
);
|
|
356
|
-
this.utilService.sendBI(false);
|
|
357
|
-
if (res instanceof ErrorResponse) {
|
|
358
|
-
return undefined;
|
|
359
|
-
} else {
|
|
360
|
-
this.pageState = res as PagedResult<FormEntity>;
|
|
361
|
-
var result = (res as PagedResult<FormEntity>).Result;
|
|
362
|
-
this.data = result;
|
|
363
|
-
this.setUpCardData();
|
|
364
|
-
this.properties = result[0].Properties;
|
|
365
|
-
|
|
366
|
-
return result;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
getItemLabel(name: string): string {
|
|
370
|
-
const item = this.users.find((user) => user.Name === name);
|
|
371
|
-
const otherCheck = this.data.find((data) => data.Name === name);
|
|
372
|
-
return item ? item.Name : otherCheck ? otherCheck.Name : '';
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
getAsyncLabel(value: any): string {
|
|
376
|
-
const data = this.data.find((x) => x.Name == value);
|
|
377
|
-
|
|
378
|
-
return data ? data.Name : '';
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
async loadMore() {
|
|
382
|
-
if (!this.pageState) {
|
|
383
|
-
return;
|
|
384
|
-
}
|
|
385
|
-
this.utilService.sendBI(true);
|
|
386
|
-
const res =
|
|
387
|
-
this.currentFilters.length > 0 ||
|
|
388
|
-
this.currentSorts.length > 0 ||
|
|
389
|
-
this.currentSearchTerm.trim().length > 0
|
|
390
|
-
? await this.loadMoreFiltersAndSorts()
|
|
391
|
-
: await this.server.get(
|
|
392
|
-
`GetTaskUsers/${this.pageState.Skip}/${this.pageSize}`,
|
|
393
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
394
|
-
);
|
|
395
|
-
this.utilService.sendBI(false);
|
|
396
|
-
if (res instanceof ErrorResponse) {
|
|
397
|
-
return;
|
|
398
|
-
} else {
|
|
399
|
-
this.pageState = res as PagedResult<FormEntity>;
|
|
400
|
-
var result = (res as PagedResult<FormEntity>).Result;
|
|
401
|
-
|
|
402
|
-
this.data = this.data.concat(
|
|
403
|
-
result.map((x) => {
|
|
404
|
-
return {
|
|
405
|
-
...x,
|
|
406
|
-
id: x.Name,
|
|
407
|
-
};
|
|
408
|
-
}),
|
|
409
|
-
);
|
|
410
|
-
this.setUpCardDataExtra(result);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
cardClicked(item: CardData, toggleView: boolean = false) {
|
|
414
|
-
this.currentData = this.cardDataView.onItemClick(item);
|
|
415
|
-
if (toggleView) {
|
|
416
|
-
this.dataView.toggleView();
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
toggleChildren(item: CardData) {
|
|
420
|
-
var currToggleState = item.isChildrenExpanded;
|
|
421
|
-
this.cardData.forEach((_) => {
|
|
422
|
-
_.isChildrenExpanded = false;
|
|
423
|
-
});
|
|
424
|
-
item.isChildrenExpanded = !currToggleState;
|
|
425
|
-
if (item.isChildrenExpanded) {
|
|
426
|
-
this.currentExpandedCard = item;
|
|
427
|
-
} else {
|
|
428
|
-
this.currentExpandedCard = null;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
setUpCardData() {
|
|
432
|
-
const cardData: CardData[] = this.data[0]?.Properties?.map((x) => {
|
|
433
|
-
return {
|
|
434
|
-
...x,
|
|
435
|
-
selected: false,
|
|
436
|
-
title: x.Name,
|
|
437
|
-
data: x,
|
|
438
|
-
body: [],
|
|
439
|
-
children: [],
|
|
440
|
-
};
|
|
441
|
-
});
|
|
442
|
-
|
|
443
|
-
this.cardData = cardData; // Assign the transformed array to `cardData`
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
openDropdown(item: FormProperty): void {
|
|
447
|
-
this.openDropdownId = this.openDropdownId === item.Id ? null : item.Id;
|
|
448
|
-
}
|
|
449
|
-
|
|
450
|
-
closePopUp(row: FormProperty): void {
|
|
451
|
-
if (this.openDropdownId === row.Id) {
|
|
452
|
-
this.openDropdownId = null; // Properly reset when closing
|
|
453
|
-
}
|
|
454
|
-
this.onClose(); // Call any additional logic for closure
|
|
455
|
-
}
|
|
456
|
-
setUpCardDataExtra(baseData: FormEntity[]) {
|
|
457
|
-
const cardData: CardData[] = baseData.map((x) => {
|
|
458
|
-
return {
|
|
459
|
-
selected: false,
|
|
460
|
-
title: x.Name,
|
|
461
|
-
data: x,
|
|
462
|
-
body: [],
|
|
463
|
-
children: [],
|
|
464
|
-
};
|
|
465
|
-
});
|
|
466
|
-
this.cardData = this.cardData.concat(cardData);
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
goToCardView(data: FormProperty) {
|
|
470
|
-
const item = this.cardData.find((x) => x.data == data);
|
|
471
|
-
if (item) {
|
|
472
|
-
this.userCardClicked(item, true);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
goToTableView() {
|
|
477
|
-
if (!this.currentData) {
|
|
478
|
-
return;
|
|
479
|
-
}
|
|
480
|
-
this.dataView.toggleView();
|
|
481
|
-
const id = this.currentData.data ? this.currentData.data.Id : '';
|
|
482
|
-
if (id.trim().length > 0 && !this.tableView.isRowEditing(id)) {
|
|
483
|
-
this.tableView.toggleRowEdit(id);
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
viewProcesses(code: string) {
|
|
488
|
-
if (code.trim().length == 0) {
|
|
489
|
-
return;
|
|
490
|
-
}
|
|
491
|
-
this.onViewProcessClicked.emit(code);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
userCardClicked(item: CardData, toggleView: boolean = false): void {
|
|
495
|
-
this.cardData.forEach((card) => (card.selected = false));
|
|
496
|
-
item.selected = true;
|
|
497
|
-
this.currentData = this.cardDataView.onItemClick(item);
|
|
498
|
-
this.chipArray = JSON.parse(this.currentData?.data.Value);
|
|
499
|
-
if (toggleView) {
|
|
500
|
-
this.dataView.toggleView();
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
async saveFormProperty() {
|
|
505
|
-
if (!this.currentData) {
|
|
506
|
-
return;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
const formProperty: FormEntity[] = this.data;
|
|
510
|
-
|
|
511
|
-
this.utilService.sendBI(true);
|
|
512
|
-
|
|
513
|
-
try {
|
|
514
|
-
// API call to save user
|
|
515
|
-
const res = await this.server.post(
|
|
516
|
-
`SaveFormEntities`,
|
|
517
|
-
formProperty,
|
|
518
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
519
|
-
);
|
|
520
|
-
|
|
521
|
-
this.utilService.sendBI(false);
|
|
522
|
-
|
|
523
|
-
if (!(res instanceof ErrorResponse)) {
|
|
524
|
-
this.utilService.showSuccess('Form property saved successfully');
|
|
525
|
-
|
|
526
|
-
const result = res as FormEntity[];
|
|
527
|
-
if (result.length > 0) {
|
|
528
|
-
const userResult = result[0];
|
|
529
|
-
|
|
530
|
-
const itemIndex = this.data.findIndex(
|
|
531
|
-
(x) => x === this.currentData?.data,
|
|
532
|
-
);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
} catch (error) {
|
|
536
|
-
this.utilService.sendBI(false);
|
|
537
|
-
// Optional: Handle errors if needed
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
stringify(val: any) {
|
|
541
|
-
return JSON.stringify(val);
|
|
542
|
-
}
|
|
543
|
-
generateUniqueId(): string {
|
|
544
|
-
return '_' + Math.random().toString(36).substr(2, 9);
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
addOrUpdateFormProperty(form: FormEntity, property: FormProperty): void {
|
|
548
|
-
if (!property.id) {
|
|
549
|
-
property.id = this.generateUniqueId();
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
const index = form.Properties.findIndex((p) => p.id === property.id);
|
|
553
|
-
|
|
554
|
-
if (index !== -1) {
|
|
555
|
-
form.Properties[index] = { ...property }; // update
|
|
556
|
-
} else {
|
|
557
|
-
form.Properties.push({ ...property }); // add
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
form.DataState =
|
|
561
|
-
form.DataState === ObjectState.New
|
|
562
|
-
? ObjectState.New
|
|
563
|
-
: ObjectState.Changed;
|
|
564
|
-
}
|
|
565
|
-
deleteProperty(propertyId: string) {
|
|
566
|
-
if (!this.data || this.data.length === 0) return;
|
|
567
|
-
|
|
568
|
-
const form = this.data[0];
|
|
569
|
-
form.Properties = form.Properties.filter(
|
|
570
|
-
(p: FormProperty) => p.Id !== propertyId,
|
|
571
|
-
);
|
|
572
|
-
|
|
573
|
-
this.cardData = this.cardData.filter((c) => c.data.Id !== propertyId);
|
|
574
|
-
|
|
575
|
-
if (this.currentData && this.currentData.data.Id === propertyId) {
|
|
576
|
-
this.currentData = null;
|
|
577
|
-
this.cardDataView.clearData();
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
this.data = [...this.data];
|
|
581
|
-
|
|
582
|
-
this.utilService.showInfo('Property removed');
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
async saveAllProperties() {
|
|
586
|
-
if (!this.data || this.data.length === 0) return;
|
|
587
|
-
const form = this.data[0];
|
|
588
|
-
form.Properties.forEach((prop: FormProperty, index: number) => {
|
|
589
|
-
prop.Id = index.toString();
|
|
590
|
-
prop.MaxValue = Number(prop.MaxValue);
|
|
591
|
-
prop.MinValue = Number(prop.MinValue);
|
|
592
|
-
prop.Options = Array.isArray(prop.Options)
|
|
593
|
-
? prop.Options.join(',')
|
|
594
|
-
: (prop.Options ?? '');
|
|
595
|
-
prop.Value = prop.Value ?? '';
|
|
596
|
-
});
|
|
597
|
-
|
|
598
|
-
const invalid = form.Properties.find(
|
|
599
|
-
(p) => !p.Name || p.Name.trim().length === 0,
|
|
600
|
-
);
|
|
601
|
-
if (invalid) {
|
|
602
|
-
this.utilService.showInfo('Name cannot be empty');
|
|
603
|
-
return;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
form.DataState = ObjectState.Changed;
|
|
607
|
-
|
|
608
|
-
this.utilService.sendBI(true);
|
|
609
|
-
|
|
610
|
-
const res = await this.server.post(
|
|
611
|
-
'SaveFormEntities',
|
|
612
|
-
[form],
|
|
613
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
614
|
-
);
|
|
615
|
-
|
|
616
|
-
this.utilService.sendBI(false);
|
|
617
|
-
|
|
618
|
-
if (res instanceof ErrorResponse) {
|
|
619
|
-
this.utilService.showError('An error occurred while saving');
|
|
620
|
-
} else {
|
|
621
|
-
this.utilService.showSuccess('Form properties saved successfully');
|
|
622
|
-
const result = res as FormEntity[];
|
|
623
|
-
if (result.length > 0) {
|
|
624
|
-
this.data[0].DataState = result[0].DataState;
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
async saveViaTable(row: FormProperty, callBack: () => any) {
|
|
630
|
-
if (!row) return;
|
|
631
|
-
|
|
632
|
-
const property: FormProperty = row as FormProperty;
|
|
633
|
-
property.MaxValue = Number(property.MaxValue);
|
|
634
|
-
property.MinValue = Number(property.MinValue);
|
|
635
|
-
property.Options = this.chipArray?.toString();
|
|
636
|
-
property.Value = '';
|
|
637
|
-
|
|
638
|
-
if (!property.Name || property.Name.trim().length === 0) {
|
|
639
|
-
this.utilService.showInfo('Name cannot be empty');
|
|
640
|
-
return;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
this.utilService.sendBI(true);
|
|
644
|
-
|
|
645
|
-
const form = this.data[0];
|
|
646
|
-
const index = form.Properties.findIndex((p) => p.id === property.id);
|
|
647
|
-
|
|
648
|
-
if (index > -1) {
|
|
649
|
-
form.Properties[index] = property;
|
|
650
|
-
} else {
|
|
651
|
-
form.Properties.push(property);
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
form.DataState =
|
|
655
|
-
form.DataState === ObjectState.New
|
|
656
|
-
? ObjectState.New
|
|
657
|
-
: ObjectState.Changed;
|
|
658
|
-
|
|
659
|
-
const res = await this.server.post(
|
|
660
|
-
'SaveFormEntities',
|
|
661
|
-
this.data,
|
|
662
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
663
|
-
);
|
|
664
|
-
|
|
665
|
-
this.utilService.sendBI(false);
|
|
666
|
-
|
|
667
|
-
if (res instanceof ErrorResponse) {
|
|
668
|
-
this.utilService.showError('An error occurred while saving');
|
|
669
|
-
} else {
|
|
670
|
-
this.utilService.showSuccess('Form property saved successfully');
|
|
671
|
-
const result = res as FormEntity[];
|
|
672
|
-
this.closePopUp(row);
|
|
673
|
-
callBack();
|
|
674
|
-
if (result.length > 0) {
|
|
675
|
-
const updatedForm = result[0];
|
|
676
|
-
this.data[0].Properties = updatedForm.Properties;
|
|
677
|
-
this.data = [...this.data];
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
toggleIsValidate(value: boolean, row: FormProperty): void {
|
|
683
|
-
const newValue = !value;
|
|
684
|
-
row.IsRequired = newValue;
|
|
685
|
-
}
|
|
686
|
-
onKeyDown(e: KeyboardEvent, data: FormProperty) {
|
|
687
|
-
// allow navigation / control keys
|
|
688
|
-
const allowed = [
|
|
689
|
-
'Backspace',
|
|
690
|
-
'Delete',
|
|
691
|
-
'ArrowLeft',
|
|
692
|
-
'ArrowRight',
|
|
693
|
-
'ArrowUp',
|
|
694
|
-
'ArrowDown',
|
|
695
|
-
'Tab',
|
|
696
|
-
'Enter',
|
|
697
|
-
'Home',
|
|
698
|
-
'End',
|
|
699
|
-
'Escape',
|
|
700
|
-
];
|
|
701
|
-
if (allowed.includes(e.key)) return;
|
|
702
|
-
|
|
703
|
-
// block the Space key (covers modern & old browsers)
|
|
704
|
-
if (e.key === ' ' || e.code === 'Space' || e.key === 'Spacebar') {
|
|
705
|
-
e.preventDefault();
|
|
706
|
-
return;
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
onPaste(e: ClipboardEvent, data: FormProperty) {
|
|
711
|
-
e.preventDefault();
|
|
712
|
-
const pasted = e.clipboardData?.getData('text') ?? '';
|
|
713
|
-
const cleaned = pasted.replace(/\s+/g, '');
|
|
714
|
-
const input = e.target as HTMLInputElement;
|
|
715
|
-
|
|
716
|
-
const start = input.selectionStart ?? input.value.length;
|
|
717
|
-
const end = input.selectionEnd ?? start;
|
|
718
|
-
const newVal =
|
|
719
|
-
input.value.slice(0, start) + cleaned + input.value.slice(end);
|
|
720
|
-
|
|
721
|
-
input.value = newVal;
|
|
722
|
-
data.PropertyName = newVal;
|
|
723
|
-
this.updateTable?.();
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
onInput(e: Event, data: FormProperty) {
|
|
727
|
-
const input = e.target as HTMLInputElement;
|
|
728
|
-
const cleaned = input.value.replace(/\s+/g, '');
|
|
729
|
-
if (input.value !== cleaned) {
|
|
730
|
-
const pos = input.selectionStart ?? cleaned.length;
|
|
731
|
-
input.value = cleaned;
|
|
732
|
-
|
|
733
|
-
const newPos = Math.min(pos, cleaned.length);
|
|
734
|
-
setTimeout(() => input.setSelectionRange(newPos, newPos), 0);
|
|
735
|
-
}
|
|
736
|
-
data.PropertyName = cleaned;
|
|
737
|
-
this.updateTable?.();
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
updateTable() {
|
|
741
|
-
this.data = this.data.map((x) => x);
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
convertToInt(value: any, data: any, prop: string) {
|
|
745
|
-
data[prop] = parseInt(value);
|
|
746
|
-
}
|
|
747
|
-
getStringValue(data: any, prop: string): string {
|
|
748
|
-
return data[prop].toString();
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
checkMinMax(value: string) {
|
|
752
|
-
var showMinmax = false;
|
|
753
|
-
switch (value) {
|
|
754
|
-
case 'String':
|
|
755
|
-
showMinmax = true;
|
|
756
|
-
break;
|
|
757
|
-
case 'Int':
|
|
758
|
-
showMinmax = true;
|
|
759
|
-
break;
|
|
760
|
-
case 'Decimal':
|
|
761
|
-
showMinmax = true;
|
|
762
|
-
break;
|
|
763
|
-
case 'Float':
|
|
764
|
-
showMinmax = true;
|
|
765
|
-
break;
|
|
766
|
-
default:
|
|
767
|
-
showMinmax = false;
|
|
768
|
-
break;
|
|
769
|
-
}
|
|
770
|
-
return (this.hideMinMax = showMinmax);
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
navigateToFields() {
|
|
774
|
-
const queryParams = this.queryParams;
|
|
775
|
-
this.router.navigate([`${this.path}`], { queryParams });
|
|
776
|
-
}
|
|
777
|
-
onClose() {
|
|
778
|
-
this.isOpen = false;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
goBack() {
|
|
782
|
-
this._location.back();
|
|
783
|
-
}
|
|
784
|
-
isDropdownOpen(item: any): boolean {
|
|
785
|
-
return this.openDropdownId === item.id;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
onViewChange(isGridView: boolean): void {}
|
|
789
|
-
|
|
790
|
-
onStateChange(event: { key: string; value: boolean }): void {
|
|
791
|
-
switch (event.key) {
|
|
792
|
-
case 'create':
|
|
793
|
-
const newId = `prop-${Date.now()}`;
|
|
794
|
-
|
|
795
|
-
var newUser: FormProperty = {
|
|
796
|
-
MaxValue: 100,
|
|
797
|
-
Name: '',
|
|
798
|
-
Value: '',
|
|
799
|
-
MinValue: 100,
|
|
800
|
-
Options: '',
|
|
801
|
-
IsRequired: false,
|
|
802
|
-
IsReadOnly: false,
|
|
803
|
-
DataType: DataType.Text,
|
|
804
|
-
DefaultValue: '',
|
|
805
|
-
PropertyName: '',
|
|
806
|
-
id: newId,
|
|
807
|
-
Id: newId,
|
|
808
|
-
};
|
|
809
|
-
|
|
810
|
-
this.chipArray = [];
|
|
811
|
-
|
|
812
|
-
const cardData: CardData = {
|
|
813
|
-
selected: false,
|
|
814
|
-
title: newUser.Name,
|
|
815
|
-
data: newUser,
|
|
816
|
-
body: [],
|
|
817
|
-
children: [],
|
|
818
|
-
};
|
|
819
|
-
if (this.data && this.data.length > 0) {
|
|
820
|
-
this.data[0].Properties = [
|
|
821
|
-
...(this.data[0].Properties ?? []),
|
|
822
|
-
newUser,
|
|
823
|
-
];
|
|
824
|
-
}
|
|
825
|
-
this.cardData.push(cardData);
|
|
826
|
-
this.userCardClicked(cardData);
|
|
827
|
-
|
|
828
|
-
this.dataView.isTableView = false;
|
|
829
|
-
break;
|
|
830
|
-
|
|
831
|
-
case 'filter':
|
|
832
|
-
this.showFilter = event.value;
|
|
833
|
-
break;
|
|
834
|
-
|
|
835
|
-
case 'sort':
|
|
836
|
-
this.showSort = event.value;
|
|
837
|
-
break;
|
|
838
|
-
|
|
839
|
-
case 'column':
|
|
840
|
-
this.showColumn = event.value;
|
|
841
|
-
break;
|
|
842
|
-
|
|
843
|
-
default:
|
|
844
|
-
break;
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
reset() {
|
|
849
|
-
this.skip = 0;
|
|
850
|
-
this.pageSize = 10;
|
|
851
|
-
}
|
|
852
|
-
async onSearch(event: { key: string; value: string }) {
|
|
853
|
-
this.searchTerm = event.value;
|
|
854
|
-
this.reset();
|
|
855
|
-
if (!this.searchTerm) {
|
|
856
|
-
this.getProperties(this.Id);
|
|
857
|
-
return;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
this.utilService.sendBI(true);
|
|
861
|
-
|
|
862
|
-
try {
|
|
863
|
-
const res = await this.server.get(
|
|
864
|
-
`GetFormEntitiesWithParam/${this.searchTerm}/${this.skip}/${this.pageSize}/CreatedAt/asc`,
|
|
865
|
-
);
|
|
866
|
-
this.utilService.sendBI(false);
|
|
867
|
-
|
|
868
|
-
if (res instanceof ErrorResponse) {
|
|
869
|
-
} else {
|
|
870
|
-
this.pageState = res as PagedResult<FormEntity>;
|
|
871
|
-
var result = (res as PagedResult<FormEntity>).Result;
|
|
872
|
-
this.data = result;
|
|
873
|
-
|
|
874
|
-
this.setUpCardData();
|
|
875
|
-
}
|
|
876
|
-
} catch (error) {
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
showTableView: boolean = false;
|
|
880
|
-
onSelectionChange(selectedRows: FormProperty[]) {}
|
|
881
|
-
retryMessage() {}
|
|
882
|
-
|
|
883
|
-
onColumnsUpdated(updatedColumns: IDataFilter[]) {
|
|
884
|
-
const updatedColumnDef: ColumnDefinition<FormProperty>[] = [];
|
|
885
|
-
this.showColumn = false;
|
|
886
|
-
this.selectedColumnTableCount = updatedColumns.length;
|
|
887
|
-
updatedColumns.forEach((col) => {
|
|
888
|
-
const matchingCol = this.taskUsersSvc.formFieldColumns.find(
|
|
889
|
-
(column) => column.header === col.name || column.id === col.name,
|
|
890
|
-
);
|
|
891
|
-
if (matchingCol) {
|
|
892
|
-
updatedColumnDef.push(matchingCol);
|
|
893
|
-
}
|
|
894
|
-
});
|
|
895
|
-
|
|
896
|
-
this.visibleColumnDef = [...updatedColumnDef];
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
async updateFiltersAndSorts(isSearch: boolean = false) {
|
|
900
|
-
if (!isSearch) {
|
|
901
|
-
this.dataView.onClearSearch();
|
|
902
|
-
this.currentSearchTerm = '';
|
|
903
|
-
this.cdr.detectChanges();
|
|
904
|
-
const clickEvent = new MouseEvent('click', {
|
|
905
|
-
bubbles: true,
|
|
906
|
-
cancelable: true,
|
|
907
|
-
view: window,
|
|
908
|
-
});
|
|
909
|
-
document.dispatchEvent(clickEvent);
|
|
910
|
-
}
|
|
911
|
-
var payload: SearchPropertyValue[] = this.currentFilters.map((x) => {
|
|
912
|
-
return {
|
|
913
|
-
PropertyName:
|
|
914
|
-
TaskUserPropertyMap[x.name as keyof typeof TaskUserPropertyMap],
|
|
915
|
-
EntityValue: x.value,
|
|
916
|
-
Operator: SearchOperator.And,
|
|
917
|
-
Sign:
|
|
918
|
-
x.condition && Object.keys(FilterTypes).includes(x.condition)
|
|
919
|
-
? (FilterTypes[
|
|
920
|
-
x.condition as keyof typeof FilterTypes
|
|
921
|
-
] as unknown as SearchPropertySign)
|
|
922
|
-
: SearchPropertySign.EQ,
|
|
923
|
-
Type:
|
|
924
|
-
x.name == TaskUserPropertyName.Date
|
|
925
|
-
? SearchPropertyValueType.Date
|
|
926
|
-
: SearchPropertyValueType.String,
|
|
927
|
-
};
|
|
928
|
-
});
|
|
929
|
-
// payload.push({
|
|
930
|
-
// PropertyName: 'APIKey',
|
|
931
|
-
// EntityValue: this.envSvc.environment.APIKey,
|
|
932
|
-
// Operator: SearchOperator.And,
|
|
933
|
-
// Sign: SearchPropertySign.EQ,
|
|
934
|
-
// });
|
|
935
|
-
const sortParam: { Param: string; Order: string } | null =
|
|
936
|
-
this.currentSorts.length > 0
|
|
937
|
-
? {
|
|
938
|
-
Param:
|
|
939
|
-
TaskUserPropertyMap[
|
|
940
|
-
this.currentSorts[0].name as keyof typeof TaskUserPropertyMap
|
|
941
|
-
],
|
|
942
|
-
Order: this.currentSorts[0].value,
|
|
943
|
-
}
|
|
944
|
-
: null;
|
|
945
|
-
const searchTermExists = this.currentSearchTerm.trim().length > 0;
|
|
946
|
-
this.utilService.sendBI(true);
|
|
947
|
-
const res = searchTermExists
|
|
948
|
-
? await this.server.get(
|
|
949
|
-
`GetTaskUserWithParam/${this.currentSearchTerm.trim()}/0/${
|
|
950
|
-
this.pageSize
|
|
951
|
-
}`,
|
|
952
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
953
|
-
)
|
|
954
|
-
: await this.server.post(
|
|
955
|
-
sortParam
|
|
956
|
-
? `SearchTaskUsers/0/${this.pageSize}/${sortParam.Param}/${sortParam.Order}`
|
|
957
|
-
: `SearchTaskUsers/0/${this.pageSize}`,
|
|
958
|
-
payload,
|
|
959
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
960
|
-
);
|
|
961
|
-
this.utilService.sendBI(false);
|
|
962
|
-
if (res instanceof ErrorResponse) {
|
|
963
|
-
this.currentFilters = [];
|
|
964
|
-
this.currentSorts = [];
|
|
965
|
-
return undefined;
|
|
966
|
-
} else {
|
|
967
|
-
this.pageState = res as PagedResult<FormEntity>;
|
|
968
|
-
var result = (res as PagedResult<FormEntity>).Result;
|
|
969
|
-
this.data = result.map((x) => {
|
|
970
|
-
return {
|
|
971
|
-
...x,
|
|
972
|
-
id: x.Id,
|
|
973
|
-
};
|
|
974
|
-
});
|
|
975
|
-
this.setUpCardData();
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
async loadMoreFiltersAndSorts(): Promise<
|
|
979
|
-
PagedResult<FormEntity> | undefined
|
|
980
|
-
> {
|
|
981
|
-
if (!this.pageState) {
|
|
982
|
-
return;
|
|
983
|
-
}
|
|
984
|
-
var payload: SearchPropertyValue[] = this.currentFilters.map((x) => {
|
|
985
|
-
return {
|
|
986
|
-
PropertyName:
|
|
987
|
-
TaskUserPropertyMap[x.name as keyof typeof TaskUserPropertyMap],
|
|
988
|
-
EntityValue: x.value,
|
|
989
|
-
Operator: SearchOperator.And,
|
|
990
|
-
Sign:
|
|
991
|
-
x.condition && Object.keys(FilterTypes).includes(x.condition)
|
|
992
|
-
? (FilterTypes[
|
|
993
|
-
x.condition as keyof typeof FilterTypes
|
|
994
|
-
] as unknown as SearchPropertySign)
|
|
995
|
-
: SearchPropertySign.EQ,
|
|
996
|
-
Type:
|
|
997
|
-
x.name == TaskUserPropertyName.Date
|
|
998
|
-
? SearchPropertyValueType.Date
|
|
999
|
-
: SearchPropertyValueType.String,
|
|
1000
|
-
};
|
|
1001
|
-
});
|
|
1002
|
-
const sortParam: { Param: string; Order: string } | null =
|
|
1003
|
-
this.currentSorts.length > 0
|
|
1004
|
-
? {
|
|
1005
|
-
Param:
|
|
1006
|
-
TaskUserPropertyMap[
|
|
1007
|
-
this.currentSorts[0].name as keyof typeof TaskUserPropertyMap
|
|
1008
|
-
],
|
|
1009
|
-
Order: this.currentSorts[0].value,
|
|
1010
|
-
}
|
|
1011
|
-
: null;
|
|
1012
|
-
const searchTermExists = this.currentSearchTerm.trim().length > 0;
|
|
1013
|
-
this.utilService.sendBI(true);
|
|
1014
|
-
const res = searchTermExists
|
|
1015
|
-
? await this.server.get(
|
|
1016
|
-
`GetTaskUserWithParam/${this.currentSearchTerm.trim()}/${
|
|
1017
|
-
this.pageState.Skip
|
|
1018
|
-
}/${this.pageSize}`,
|
|
1019
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
1020
|
-
)
|
|
1021
|
-
: await this.server.post(
|
|
1022
|
-
sortParam
|
|
1023
|
-
? `SearchTaskUsers/${this.pageState.Skip}/${this.pageSize}/${sortParam.Param}/${sortParam.Order}`
|
|
1024
|
-
: `SearchTaskUsers/${this.pageState.Skip}/${this.pageSize}`,
|
|
1025
|
-
payload,
|
|
1026
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
1027
|
-
);
|
|
1028
|
-
this.utilService.sendBI(false);
|
|
1029
|
-
if (res instanceof ErrorResponse) {
|
|
1030
|
-
return undefined;
|
|
1031
|
-
} else {
|
|
1032
|
-
var result = res as PagedResult<FormEntity>;
|
|
1033
|
-
return result;
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
onFilterApplied(appliedFilter: IDataFilter[]) {
|
|
1037
|
-
if (Array.isArray(appliedFilter)) {
|
|
1038
|
-
this.selectedFilterTableCount = appliedFilter.length;
|
|
1039
|
-
|
|
1040
|
-
this.showFilter = false;
|
|
1041
|
-
const queryParams = appliedFilter
|
|
1042
|
-
.filter((filter) => filter.checked)
|
|
1043
|
-
.map((filter) => ({
|
|
1044
|
-
PropertyName: filter.name,
|
|
1045
|
-
EntityValue: filter.value,
|
|
1046
|
-
Type: filter.type,
|
|
1047
|
-
Operator: 'And',
|
|
1048
|
-
Sign: this.getCondition(filter.condition),
|
|
1049
|
-
}));
|
|
1050
|
-
|
|
1051
|
-
this.postSearch(queryParams);
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
getCondition(value: any) {
|
|
1055
|
-
switch (value) {
|
|
1056
|
-
case ConditionalOptions.On:
|
|
1057
|
-
return SearchPropertySign.EQ;
|
|
1058
|
-
case ConditionalOptions.After:
|
|
1059
|
-
return SearchPropertySign.EQ;
|
|
1060
|
-
case ConditionalOptions.Before:
|
|
1061
|
-
return SearchPropertySign.LT;
|
|
1062
|
-
case ConditionalOptions.NotEqual:
|
|
1063
|
-
return SearchPropertySign.NEQ;
|
|
1064
|
-
default:
|
|
1065
|
-
return value;
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
onSortUpdated(updatedSorts: IDataFilter[]) {
|
|
1069
|
-
this.currentSorts = updatedSorts;
|
|
1070
|
-
this.showSort = false;
|
|
1071
|
-
this.selectedSortTableCount = updatedSorts.length;
|
|
1072
|
-
this.updateFiltersAndSorts();
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
handleSearch(event: { key: string; value: string }) {
|
|
1076
|
-
this.searchTerm$.next(event.value);
|
|
1077
|
-
}
|
|
1078
|
-
|
|
1079
|
-
handleExport(exportedData: Partial<any>[]) {
|
|
1080
|
-
// console.log('Exported data:', exportedData);
|
|
1081
|
-
this.downloadCSV(exportedData);
|
|
1082
|
-
}
|
|
1083
|
-
private downloadCSV(data: Partial<any>[]) {
|
|
1084
|
-
const headers = Object.keys(data[0]);
|
|
1085
|
-
const csvContent = [
|
|
1086
|
-
headers.join(','),
|
|
1087
|
-
...data.map((row) => headers.map((header) => row[header]).join(',')),
|
|
1088
|
-
].join('\n');
|
|
1089
|
-
|
|
1090
|
-
const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });
|
|
1091
|
-
const link = document.createElement('a');
|
|
1092
|
-
if (link.download !== undefined) {
|
|
1093
|
-
const url = URL.createObjectURL(blob);
|
|
1094
|
-
link.setAttribute('href', url);
|
|
1095
|
-
link.setAttribute('download', 'export.csv');
|
|
1096
|
-
link.style.visibility = 'hidden';
|
|
1097
|
-
document.body.appendChild(link);
|
|
1098
|
-
link.click();
|
|
1099
|
-
document.body.removeChild(link);
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
async publishEAV(entity: FormEntity): Promise<void> {
|
|
1104
|
-
this.utilService.sendBI(true);
|
|
1105
|
-
const res = await this.server.post(`PublishEAV`, entity);
|
|
1106
|
-
this.utilService.sendBI(false);
|
|
1107
|
-
if (res instanceof ErrorResponse) {
|
|
1108
|
-
return undefined;
|
|
1109
|
-
} else {
|
|
1110
|
-
this.utilService.showInfo('Extensions Published Successfully');
|
|
1111
|
-
// var result = (res as PagedResult<EAVEntity>).Result;
|
|
1112
|
-
// return result;
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
}
|