verben-workflow-ui 0.6.6 → 0.6.7
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 +673 -0
- package/esm2022/src/lib/components/forms/forms.module.mjs +18 -0
- package/esm2022/src/lib/components/forms/forms.service.mjs +68 -0
- package/esm2022/src/lib/components/forms/index.mjs +2 -0
- package/esm2022/src/lib/components/forms/public-api.mjs +3 -0
- package/esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs +5 -0
- package/esm2022/src/lib/components/journal/index.mjs +2 -0
- package/esm2022/src/lib/components/journal/journal.component.mjs +11 -0
- package/esm2022/src/lib/components/journal/journal.module.mjs +18 -0
- package/esm2022/src/lib/components/journal/public-api.mjs +3 -0
- package/esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs +5 -0
- package/esm2022/src/lib/components/my-queue/index.mjs +2 -0
- package/esm2022/src/lib/components/my-queue/my-queue.columns.mjs +34 -0
- package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +342 -0
- package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +502 -0
- package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +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 +812 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +33 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs.map +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +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 +88 -0
- package/src/lib/components/forms/forms.module.d.ts +8 -0
- package/src/lib/components/forms/forms.service.d.ts +9 -0
- package/src/lib/components/journal/journal.component.d.ts +5 -0
- package/src/lib/components/journal/journal.module.d.ts +8 -0
- package/src/lib/components/my-queue/my-queue.columns.d.ts +3 -0
- package/src/lib/components/my-queue/my-queue.component.d.ts +58 -0
- package/src/lib/components/my-queue/my-queue.facade.d.ts +47 -0
- package/src/lib/components/my-queue/my-queue.module.d.ts +15 -0
- package/src/lib/components/my-queue/my-queue.service.d.ts +65 -0
- package/src/lib/components/my-queue/my-queue.state.d.ts +39 -0
- package/src/lib/components/my-queue/tasks.form.component.d.ts +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,789 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ChangeDetectorRef,
|
|
3
|
-
Component,
|
|
4
|
-
EventEmitter,
|
|
5
|
-
Input,
|
|
6
|
-
OnInit,
|
|
7
|
-
Output,
|
|
8
|
-
ViewChild,
|
|
9
|
-
} from '@angular/core';
|
|
10
|
-
import { Router } from '@angular/router';
|
|
11
|
-
import { Subject } from 'rxjs';
|
|
12
|
-
import {
|
|
13
|
-
CardData,
|
|
14
|
-
CardDataViewComponent,
|
|
15
|
-
ColumnDefinition,
|
|
16
|
-
ConditionalOptions,
|
|
17
|
-
DataFilterType,
|
|
18
|
-
DataTableComponent,
|
|
19
|
-
DataViewComponent,
|
|
20
|
-
DropdownChangeEvent,
|
|
21
|
-
IDataFilter,
|
|
22
|
-
} from 'verben-ng-ui';
|
|
23
|
-
import {
|
|
24
|
-
ErrorResponse,
|
|
25
|
-
FormEntity,
|
|
26
|
-
ObjectState,
|
|
27
|
-
PagedResult,
|
|
28
|
-
SearchOperator,
|
|
29
|
-
SearchPropertySign,
|
|
30
|
-
SearchPropertyValue,
|
|
31
|
-
SearchPropertyValueType,
|
|
32
|
-
SortDirection,
|
|
33
|
-
Status,
|
|
34
|
-
} from 'verben-workflow-ui/src/lib/models';
|
|
35
|
-
import {
|
|
36
|
-
EnvironmentService,
|
|
37
|
-
HttpWebRequestService,
|
|
38
|
-
UtilService,
|
|
39
|
-
} from 'verben-workflow-ui/src/lib/services';
|
|
40
|
-
import { baseStyle } from './base-table-style';
|
|
41
|
-
import { FormsService } from './form-group.service';
|
|
42
|
-
import { EAVEntity } from 'verben-workflow-ui/src/lib/models';
|
|
43
|
-
|
|
44
|
-
enum FormFieldProperty {
|
|
45
|
-
Name = 'Name',
|
|
46
|
-
Description = 'Description',
|
|
47
|
-
IsValidated = 'IsValidated',
|
|
48
|
-
WorkFlow = 'WorkFlow',
|
|
49
|
-
ServiceName = 'ServiceName',
|
|
50
|
-
CreatedAt = 'CreatedAt',
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
enum TaskUserPropertyMap {
|
|
54
|
-
User = 'Name',
|
|
55
|
-
Date = 'CreatedAt',
|
|
56
|
-
Role = 'RoleID',
|
|
57
|
-
Service = 'ServiceName',
|
|
58
|
-
Application = 'Application',
|
|
59
|
-
Tenant = 'TenantId',
|
|
60
|
-
Email = 'MailAddress',
|
|
61
|
-
Status = 'Status',
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
enum FilterTypes {
|
|
65
|
-
Before = SearchPropertySign.LT,
|
|
66
|
-
On = SearchPropertySign.EQ,
|
|
67
|
-
After = SearchPropertySign.GT,
|
|
68
|
-
NEQ = SearchPropertySign.NEQ,
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@Component({
|
|
72
|
-
selector: 'lib-form-group',
|
|
73
|
-
templateUrl: './form-group.component.html',
|
|
74
|
-
styleUrl: './form-group.component.css',
|
|
75
|
-
})
|
|
76
|
-
export class FormGroupComponent implements OnInit {
|
|
77
|
-
visibleColumnDef: ColumnDefinition<FormEntity>[] = [];
|
|
78
|
-
styles = baseStyle;
|
|
79
|
-
data: FormEntity[] = [];
|
|
80
|
-
@Input() path: string = '/documentation/form-group/fields';
|
|
81
|
-
cardData: CardData[] = [];
|
|
82
|
-
selectedFilterTableCount: number = 0;
|
|
83
|
-
selectedSortTableCount: number = 0;
|
|
84
|
-
selectedColumnTableCount: number = 0;
|
|
85
|
-
showFilter: boolean = false;
|
|
86
|
-
showSort: boolean = false;
|
|
87
|
-
showColumn: boolean = false;
|
|
88
|
-
currentData: CardData | null = null;
|
|
89
|
-
@ViewChild('vdcv') cardDataView!: CardDataViewComponent;
|
|
90
|
-
@ViewChild('vdv') dataView!: DataViewComponent;
|
|
91
|
-
@ViewChild('dt') tableView!: DataTableComponent<FormEntity>;
|
|
92
|
-
@Input() application: string | null = null;
|
|
93
|
-
@Input() pageSize: number = 20;
|
|
94
|
-
skip: number = 0;
|
|
95
|
-
hasMore: boolean = true;
|
|
96
|
-
@Output() onViewProcessClicked: EventEmitter<string> = new EventEmitter();
|
|
97
|
-
searchTerm: string = '';
|
|
98
|
-
pageState: PagedResult<FormEntity> | null = null;
|
|
99
|
-
isOpen: boolean = false;
|
|
100
|
-
openDropdownId: string | null = null;
|
|
101
|
-
currentFilters: IDataFilter[] = [];
|
|
102
|
-
currentSorts: IDataFilter[] = [];
|
|
103
|
-
searchTerm$ = new Subject<string>();
|
|
104
|
-
statusOptions: Status[] = Object.values(Status);
|
|
105
|
-
eavEntities: EAVEntity[] = [];
|
|
106
|
-
workflowAPI: string = '';
|
|
107
|
-
|
|
108
|
-
users: FormEntity[] = [];
|
|
109
|
-
|
|
110
|
-
visibleColumns: IDataFilter[] = [];
|
|
111
|
-
|
|
112
|
-
filterArray: IDataFilter[] = [
|
|
113
|
-
{
|
|
114
|
-
name: FormFieldProperty.Name,
|
|
115
|
-
type: DataFilterType.String,
|
|
116
|
-
checked: false,
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
name: FormFieldProperty.Description,
|
|
120
|
-
type: DataFilterType.String,
|
|
121
|
-
checked: false,
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
name: FormFieldProperty.IsValidated,
|
|
125
|
-
type: DataFilterType.Bool,
|
|
126
|
-
checked: false,
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
name: FormFieldProperty.ServiceName,
|
|
130
|
-
type: DataFilterType.String,
|
|
131
|
-
checked: false,
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
name: FormFieldProperty.WorkFlow,
|
|
135
|
-
type: DataFilterType.String,
|
|
136
|
-
checked: false,
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
name: FormFieldProperty.CreatedAt,
|
|
140
|
-
type: DataFilterType.Date,
|
|
141
|
-
checked: false,
|
|
142
|
-
},
|
|
143
|
-
];
|
|
144
|
-
closePopUp(row: FormEntity): void {
|
|
145
|
-
if (this.openDropdownId === row.id) {
|
|
146
|
-
this.openDropdownId = null; // Properly reset when closing
|
|
147
|
-
}
|
|
148
|
-
this.onClose(); // Call any additional logic for closure
|
|
149
|
-
}
|
|
150
|
-
toggleTable(row: FormEntity) {
|
|
151
|
-
this.tableView.toggleRowEdit(row.Code);
|
|
152
|
-
}
|
|
153
|
-
sortOptions: IDataFilter[] = [
|
|
154
|
-
{
|
|
155
|
-
name: FormFieldProperty.Name,
|
|
156
|
-
type: DataFilterType.String,
|
|
157
|
-
checked: false,
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
name: FormFieldProperty.Description,
|
|
161
|
-
type: DataFilterType.String,
|
|
162
|
-
checked: false,
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
name: FormFieldProperty.IsValidated,
|
|
166
|
-
type: DataFilterType.Bool,
|
|
167
|
-
checked: false,
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
name: FormFieldProperty.ServiceName,
|
|
171
|
-
type: DataFilterType.String,
|
|
172
|
-
checked: false,
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
name: FormFieldProperty.WorkFlow,
|
|
176
|
-
type: DataFilterType.String,
|
|
177
|
-
checked: false,
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
name: FormFieldProperty.CreatedAt,
|
|
181
|
-
type: DataFilterType.Date,
|
|
182
|
-
checked: false,
|
|
183
|
-
},
|
|
184
|
-
];
|
|
185
|
-
|
|
186
|
-
private currentSearchTerm: string = '';
|
|
187
|
-
|
|
188
|
-
constructor(
|
|
189
|
-
private utilService: UtilService,
|
|
190
|
-
private server: HttpWebRequestService,
|
|
191
|
-
private cdr: ChangeDetectorRef,
|
|
192
|
-
private envSvc: EnvironmentService,
|
|
193
|
-
private router: Router,
|
|
194
|
-
private FormGroupSvc: FormsService,
|
|
195
|
-
) {
|
|
196
|
-
this.visibleColumnDef = FormGroupSvc.FormGroupColumns;
|
|
197
|
-
this.visibleColumns = FormGroupSvc.FormGroupColumns.map((col) => ({
|
|
198
|
-
checked: true,
|
|
199
|
-
name: typeof col.header === 'string' ? col.header : col.id,
|
|
200
|
-
type: DataFilterType.Bool,
|
|
201
|
-
}));
|
|
202
|
-
this.workflowAPI = this.envSvc.environment.WorkFlowAPI;
|
|
203
|
-
}
|
|
204
|
-
async ngOnInit(): Promise<void> {
|
|
205
|
-
this.getForms();
|
|
206
|
-
this.getEAVEntities().then((res) => {
|
|
207
|
-
if (res) {
|
|
208
|
-
this.eavEntities = res;
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
async getAllTaskUsers(): Promise<FormEntity[] | undefined> {
|
|
214
|
-
this.utilService.sendBI(true);
|
|
215
|
-
const res = await this.server.get(
|
|
216
|
-
`GetTaskUsers/0/${this.pageSize}`,
|
|
217
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
218
|
-
);
|
|
219
|
-
this.utilService.sendBI(false);
|
|
220
|
-
if (res instanceof ErrorResponse) {
|
|
221
|
-
return undefined;
|
|
222
|
-
} else {
|
|
223
|
-
this.pageState = res as PagedResult<FormEntity>;
|
|
224
|
-
var result = (res as PagedResult<FormEntity>).Result;
|
|
225
|
-
return result;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
clearLogs(sortValue: string = 'CreatedAt', order: string = 'asc') {
|
|
229
|
-
this.data = [];
|
|
230
|
-
this.skip = 0;
|
|
231
|
-
this.hasMore = true;
|
|
232
|
-
this.getForms();
|
|
233
|
-
}
|
|
234
|
-
async getForms(): Promise<FormEntity[] | undefined> {
|
|
235
|
-
if (this.showColumn) {
|
|
236
|
-
this.showColumn = false;
|
|
237
|
-
this.selectedColumnTableCount = 0;
|
|
238
|
-
this.reset();
|
|
239
|
-
}
|
|
240
|
-
if (this.showFilter) {
|
|
241
|
-
this.showFilter = false;
|
|
242
|
-
this.selectedFilterTableCount = 0;
|
|
243
|
-
|
|
244
|
-
this.reset();
|
|
245
|
-
}
|
|
246
|
-
if (this.showSort) {
|
|
247
|
-
this.showSort = false;
|
|
248
|
-
this.reset();
|
|
249
|
-
this.selectedSortTableCount = 0;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
this.utilService.sendBI(true);
|
|
253
|
-
const res = await this.server.get(
|
|
254
|
-
`GetFormEntities/${this.skip}/${this.pageSize}/CreatedAt/${SortDirection.Desc}`,
|
|
255
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
256
|
-
);
|
|
257
|
-
this.utilService.sendBI(false);
|
|
258
|
-
|
|
259
|
-
if (res instanceof ErrorResponse) {
|
|
260
|
-
return undefined;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
this.pageState = res as PagedResult<FormEntity>;
|
|
264
|
-
const result = this.pageState.Result;
|
|
265
|
-
|
|
266
|
-
if (this.data && Array.isArray(this.data)) {
|
|
267
|
-
this.data = [...this.data, ...result];
|
|
268
|
-
} else {
|
|
269
|
-
this.data = result;
|
|
270
|
-
}
|
|
271
|
-
this.data.forEach((x) => {
|
|
272
|
-
x.Id = x.Code;
|
|
273
|
-
x.id = x.Id;
|
|
274
|
-
});
|
|
275
|
-
|
|
276
|
-
this.skip += this.pageSize;
|
|
277
|
-
this.hasMore = this.skip < this.pageState.Total;
|
|
278
|
-
this.setUpCardData();
|
|
279
|
-
|
|
280
|
-
return result;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
loadMore() {
|
|
284
|
-
if (this.hasMore) {
|
|
285
|
-
this.getForms();
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
reset() {
|
|
290
|
-
this.data = [];
|
|
291
|
-
this.skip = 0;
|
|
292
|
-
this.pageSize = 10;
|
|
293
|
-
}
|
|
294
|
-
onUserSelected(event: DropdownChangeEvent, item: FormEntity) {
|
|
295
|
-
const user = this.users.find((x) => x.Name == event.value);
|
|
296
|
-
if (user) {
|
|
297
|
-
item.Name = user.Name;
|
|
298
|
-
item.Description = user.Description;
|
|
299
|
-
item.Workflow = user.Workflow;
|
|
300
|
-
item.IsValidated = user.IsValidated;
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
onClear(event: Event, item: FormEntity) {
|
|
304
|
-
item.Name = '';
|
|
305
|
-
item.Description = '';
|
|
306
|
-
item.Workflow = '0';
|
|
307
|
-
item.IsValidated = false;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
getItemLabel(name: string): string {
|
|
311
|
-
const item = this.users.find((user) => user.Name === name);
|
|
312
|
-
const otherCheck = this.data.find((data) => data.Name === name);
|
|
313
|
-
return item ? item.Name : otherCheck ? otherCheck.Name : '';
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
getAsyncLabel(value: any): string {
|
|
317
|
-
const data = this.data.find((x) => x.Name == value);
|
|
318
|
-
|
|
319
|
-
return data ? data.Name : '';
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
setUpCardData() {
|
|
323
|
-
const cardData: CardData[] = this.data.map((x) => {
|
|
324
|
-
return {
|
|
325
|
-
selected: false,
|
|
326
|
-
title: x.Name,
|
|
327
|
-
data: x,
|
|
328
|
-
body: [],
|
|
329
|
-
children: [],
|
|
330
|
-
};
|
|
331
|
-
});
|
|
332
|
-
this.cardData = cardData;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
setUpCardDataExtra(baseData: FormEntity[]) {
|
|
336
|
-
const cardData: CardData[] = baseData.map((x) => {
|
|
337
|
-
return {
|
|
338
|
-
selected: false,
|
|
339
|
-
title: x.Name,
|
|
340
|
-
data: x,
|
|
341
|
-
body: [],
|
|
342
|
-
children: [],
|
|
343
|
-
};
|
|
344
|
-
});
|
|
345
|
-
this.cardData = this.cardData.concat(cardData);
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
goToCardView(data: FormEntity) {
|
|
349
|
-
const item = this.cardData.find((x) => x.data == data);
|
|
350
|
-
if (item) {
|
|
351
|
-
this.userCardClicked(item, true);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
goToTableView() {
|
|
356
|
-
if (!this.currentData) {
|
|
357
|
-
return;
|
|
358
|
-
}
|
|
359
|
-
this.dataView.toggleView();
|
|
360
|
-
const id = this.currentData.data ? this.currentData.data.Id : '';
|
|
361
|
-
if (id.trim().length > 0 && !this.tableView.isRowEditing(id)) {
|
|
362
|
-
this.tableView.toggleRowEdit(id);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
viewProcesses(code: string) {
|
|
367
|
-
if (code.trim().length == 0) {
|
|
368
|
-
return;
|
|
369
|
-
}
|
|
370
|
-
this.onViewProcessClicked.emit(code);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
userCardClicked(item: CardData, toggleView: boolean = false) {
|
|
374
|
-
this.currentData = this.cardDataView.onItemClick(item);
|
|
375
|
-
if (toggleView) {
|
|
376
|
-
this.dataView.toggleView();
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
async saveFormGroup() {
|
|
381
|
-
if (this.currentData) {
|
|
382
|
-
var form: FormEntity = this.currentData.data as FormEntity;
|
|
383
|
-
|
|
384
|
-
if (this.currentData.data.Name.trim().length == 0) {
|
|
385
|
-
this.utilService.showInfo('Name cannot be empty');
|
|
386
|
-
return;
|
|
387
|
-
}
|
|
388
|
-
form.DataState =
|
|
389
|
-
form.DataState == ObjectState.New
|
|
390
|
-
? ObjectState.New
|
|
391
|
-
: ObjectState.Changed;
|
|
392
|
-
form.Id = form.DataState == ObjectState.New ? '' : form.Id;
|
|
393
|
-
this.utilService.sendBI(true);
|
|
394
|
-
const res = await this.server.post(
|
|
395
|
-
`SaveFormEntities`,
|
|
396
|
-
[form],
|
|
397
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
398
|
-
);
|
|
399
|
-
this.utilService.sendBI(false);
|
|
400
|
-
if (res instanceof ErrorResponse) {
|
|
401
|
-
} else {
|
|
402
|
-
this.utilService.showSuccess('Form group saved successfully');
|
|
403
|
-
const result = res as FormEntity[];
|
|
404
|
-
if (result.length > 0) {
|
|
405
|
-
var formResult = result[0];
|
|
406
|
-
const itemIndex = this.data.findIndex(
|
|
407
|
-
(x) => x == this.currentData?.data,
|
|
408
|
-
);
|
|
409
|
-
if (itemIndex > -1) {
|
|
410
|
-
this.data[itemIndex].Name = formResult.Name;
|
|
411
|
-
this.data[itemIndex].Code = formResult.Code;
|
|
412
|
-
this.data[itemIndex].Id = formResult.Code;
|
|
413
|
-
this.data[itemIndex].id = formResult.Code;
|
|
414
|
-
this.data[itemIndex].DataState = formResult.DataState;
|
|
415
|
-
this.data[itemIndex].Description = formResult.Description;
|
|
416
|
-
this.data[itemIndex].IsValidated = formResult.IsValidated;
|
|
417
|
-
this.data[itemIndex].Workflow = formResult.Workflow;
|
|
418
|
-
this.data = this.data.map((x) => x);
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
toggleIsValidate(value: boolean, row: FormEntity): void {
|
|
425
|
-
const newValue = !value;
|
|
426
|
-
row.IsValidated = newValue;
|
|
427
|
-
}
|
|
428
|
-
async tableSaveFormGroup(form: FormEntity, callBack: () => any) {
|
|
429
|
-
form.DataState =
|
|
430
|
-
form.DataState == ObjectState.New ? ObjectState.New : ObjectState.Changed;
|
|
431
|
-
form.Id = form.DataState == ObjectState.New ? '' : form.Id;
|
|
432
|
-
this.utilService.sendBI(true);
|
|
433
|
-
const res = await this.server.post(
|
|
434
|
-
`SaveFormEntities`,
|
|
435
|
-
[form],
|
|
436
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
437
|
-
);
|
|
438
|
-
this.utilService.sendBI(false);
|
|
439
|
-
if (res instanceof ErrorResponse) {
|
|
440
|
-
} else {
|
|
441
|
-
this.utilService.showSuccess('Form group saved successfully');
|
|
442
|
-
const result = res as FormEntity[];
|
|
443
|
-
if (result.length > 0) {
|
|
444
|
-
var formResult = result[0];
|
|
445
|
-
const itemIndex = this.data.findIndex((x) => x == form);
|
|
446
|
-
if (itemIndex > -1) {
|
|
447
|
-
this.data[itemIndex].Name = formResult.Name;
|
|
448
|
-
this.data[itemIndex].Code = formResult.Code;
|
|
449
|
-
this.data[itemIndex].Id = formResult.Code;
|
|
450
|
-
this.data[itemIndex].id = formResult.Code;
|
|
451
|
-
this.data[itemIndex].DataState = formResult.DataState;
|
|
452
|
-
this.data[itemIndex].Description = formResult.Description;
|
|
453
|
-
this.data[itemIndex].IsValidated = formResult.IsValidated;
|
|
454
|
-
this.data[itemIndex].Workflow = formResult.Workflow;
|
|
455
|
-
|
|
456
|
-
this.data = this.data.map((x) => x);
|
|
457
|
-
}
|
|
458
|
-
this.closePopUp(form);
|
|
459
|
-
callBack();
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
updateTable() {
|
|
465
|
-
this.data = this.data.map((x) => x);
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
onFieldCountChange(value: any, source: FormEntity) {
|
|
469
|
-
source.Workflow = value;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
getFieldCount(source: FormEntity) {
|
|
473
|
-
return source.Workflow;
|
|
474
|
-
}
|
|
475
|
-
navigateToFields(card: FormEntity) {
|
|
476
|
-
const queryParams = { FormId: card.Code, Name: card.Name };
|
|
477
|
-
this.router.navigate([`${this.path}`], { queryParams });
|
|
478
|
-
}
|
|
479
|
-
onClose() {
|
|
480
|
-
this.isOpen = false;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
openDropdown(item: any): void {
|
|
484
|
-
if (this.openDropdownId === item.Id) {
|
|
485
|
-
this.openDropdownId = null;
|
|
486
|
-
} else {
|
|
487
|
-
this.openDropdownId = item.Id;
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
async onSearch(event: { key: string; value: string }) {
|
|
492
|
-
this.searchTerm = event.value;
|
|
493
|
-
this.reset();
|
|
494
|
-
if (!this.searchTerm) {
|
|
495
|
-
this.getForms();
|
|
496
|
-
return;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
this.utilService.sendBI(true);
|
|
500
|
-
|
|
501
|
-
try {
|
|
502
|
-
const res = await this.server.get(
|
|
503
|
-
`GetFormEntitiesWithParam/${this.searchTerm}/${this.skip}/${this.pageSize}/CreatedAt/asc`,
|
|
504
|
-
);
|
|
505
|
-
|
|
506
|
-
this.utilService.sendBI(false);
|
|
507
|
-
|
|
508
|
-
if (res instanceof ErrorResponse) {
|
|
509
|
-
} else {
|
|
510
|
-
this.pageState = res as PagedResult<FormEntity>;
|
|
511
|
-
var result = (res as PagedResult<FormEntity>).Result;
|
|
512
|
-
result.forEach((x) => {
|
|
513
|
-
x.Id = x.Code;
|
|
514
|
-
x.id = x.Id;
|
|
515
|
-
});
|
|
516
|
-
this.data = result;
|
|
517
|
-
this.setUpCardData();
|
|
518
|
-
}
|
|
519
|
-
} catch (error) {}
|
|
520
|
-
}
|
|
521
|
-
isDropdownOpen(item: any): boolean {
|
|
522
|
-
return this.openDropdownId === item.id;
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
onViewChange(isGridView: boolean): void {}
|
|
526
|
-
|
|
527
|
-
onStateChange(event: { key: string; value: boolean }): void {
|
|
528
|
-
switch (event.key) {
|
|
529
|
-
case 'create':
|
|
530
|
-
var newGroup: FormEntity = {
|
|
531
|
-
Code: '',
|
|
532
|
-
TenantId: '',
|
|
533
|
-
Id: '',
|
|
534
|
-
id: '',
|
|
535
|
-
ServiceName: '',
|
|
536
|
-
CreatedAt: new Date(),
|
|
537
|
-
UpdatedAt: new Date(),
|
|
538
|
-
DataState: ObjectState.New,
|
|
539
|
-
Name: '',
|
|
540
|
-
Description: '',
|
|
541
|
-
Workflow: '',
|
|
542
|
-
Form: '',
|
|
543
|
-
Properties: [],
|
|
544
|
-
IsValidated: false,
|
|
545
|
-
Tags: [],
|
|
546
|
-
};
|
|
547
|
-
|
|
548
|
-
const cardData: CardData = {
|
|
549
|
-
selected: false,
|
|
550
|
-
title: newGroup.Name,
|
|
551
|
-
data: newGroup,
|
|
552
|
-
body: [],
|
|
553
|
-
children: [],
|
|
554
|
-
};
|
|
555
|
-
this.data = [newGroup, ...this.data];
|
|
556
|
-
this.cardData.unshift(cardData);
|
|
557
|
-
this.userCardClicked(cardData);
|
|
558
|
-
this.dataView.isTableView = false;
|
|
559
|
-
break;
|
|
560
|
-
case 'filter':
|
|
561
|
-
this.showFilter = event.value;
|
|
562
|
-
break;
|
|
563
|
-
case 'sort':
|
|
564
|
-
this.showSort = event.value;
|
|
565
|
-
break;
|
|
566
|
-
case 'column':
|
|
567
|
-
this.showColumn = event.value;
|
|
568
|
-
break;
|
|
569
|
-
default:
|
|
570
|
-
break;
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
showTableView: boolean = false;
|
|
575
|
-
onSelectionChange(selectedRows: FormEntity[]) {}
|
|
576
|
-
|
|
577
|
-
onColumnsUpdated(updatedColumns: IDataFilter[]) {
|
|
578
|
-
this.selectedColumnTableCount = updatedColumns.length;
|
|
579
|
-
this.showColumn = false;
|
|
580
|
-
const updatedColumnDef: ColumnDefinition<FormEntity>[] = [];
|
|
581
|
-
updatedColumns.forEach((col) => {
|
|
582
|
-
const matchingCol = this.FormGroupSvc.FormGroupColumns.find(
|
|
583
|
-
(column) => column.header === col.name || column.id === col.name,
|
|
584
|
-
);
|
|
585
|
-
if (matchingCol) {
|
|
586
|
-
updatedColumnDef.push(matchingCol);
|
|
587
|
-
}
|
|
588
|
-
});
|
|
589
|
-
|
|
590
|
-
this.visibleColumnDef = [...updatedColumnDef];
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
async updateFiltersAndSorts(isSearch: boolean = false) {
|
|
594
|
-
if (!isSearch) {
|
|
595
|
-
this.dataView.onClearSearch();
|
|
596
|
-
this.currentSearchTerm = '';
|
|
597
|
-
this.cdr.detectChanges();
|
|
598
|
-
const clickEvent = new MouseEvent('click', {
|
|
599
|
-
bubbles: true,
|
|
600
|
-
cancelable: true,
|
|
601
|
-
view: window,
|
|
602
|
-
});
|
|
603
|
-
document.dispatchEvent(clickEvent);
|
|
604
|
-
}
|
|
605
|
-
var payload: SearchPropertyValue[] = this.currentFilters.map((x) => {
|
|
606
|
-
return {
|
|
607
|
-
PropertyName:
|
|
608
|
-
FormFieldProperty[x.name as keyof typeof FormFieldProperty],
|
|
609
|
-
EntityValue: x.value,
|
|
610
|
-
Operator: SearchOperator.And,
|
|
611
|
-
Sign:
|
|
612
|
-
x.condition && Object.keys(FilterTypes).includes(x.condition)
|
|
613
|
-
? (FilterTypes[
|
|
614
|
-
x.condition as keyof typeof FilterTypes
|
|
615
|
-
] as unknown as SearchPropertySign)
|
|
616
|
-
: SearchPropertySign.EQ,
|
|
617
|
-
Type:
|
|
618
|
-
x.name == FormFieldProperty.CreatedAt
|
|
619
|
-
? SearchPropertyValueType.Date
|
|
620
|
-
: SearchPropertyValueType.String,
|
|
621
|
-
};
|
|
622
|
-
});
|
|
623
|
-
// payload.push({
|
|
624
|
-
// PropertyName: 'APIKey',
|
|
625
|
-
// EntityValue: this.envSvc.environment.APIKey,
|
|
626
|
-
// Operator: SearchOperator.And,
|
|
627
|
-
// Sign: SearchPropertySign.EQ,
|
|
628
|
-
// });
|
|
629
|
-
const sortParam: { Param: string; Order: string } | null =
|
|
630
|
-
this.currentSorts.length > 0
|
|
631
|
-
? {
|
|
632
|
-
Param:
|
|
633
|
-
FormFieldProperty[
|
|
634
|
-
this.currentSorts[0].name as keyof typeof FormFieldProperty
|
|
635
|
-
],
|
|
636
|
-
Order: this.currentSorts[0].value,
|
|
637
|
-
}
|
|
638
|
-
: null;
|
|
639
|
-
const searchTermExists = this.currentSearchTerm.trim().length > 0;
|
|
640
|
-
this.utilService.sendBI(true);
|
|
641
|
-
const res = searchTermExists
|
|
642
|
-
? await this.server.get(
|
|
643
|
-
`GetFormEntitiesWithParam/${this.currentSearchTerm.trim()}/0/${
|
|
644
|
-
this.pageSize
|
|
645
|
-
}`,
|
|
646
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
647
|
-
)
|
|
648
|
-
: await this.server.post(
|
|
649
|
-
sortParam
|
|
650
|
-
? `SearchFormEntities/0/${this.pageSize}/${sortParam.Param}/${sortParam.Order}`
|
|
651
|
-
: `SearchFormEntities/0/${this.pageSize}`,
|
|
652
|
-
payload,
|
|
653
|
-
this.envSvc.environment.WorkFlowAPI,
|
|
654
|
-
);
|
|
655
|
-
this.utilService.sendBI(false);
|
|
656
|
-
if (res instanceof ErrorResponse) {
|
|
657
|
-
this.currentFilters = [];
|
|
658
|
-
this.currentSorts = [];
|
|
659
|
-
return undefined;
|
|
660
|
-
} else {
|
|
661
|
-
this.pageState = res as PagedResult<FormEntity>;
|
|
662
|
-
var result = (res as PagedResult<FormEntity>).Result;
|
|
663
|
-
result.forEach((x) => {
|
|
664
|
-
x.Id = x.Code;
|
|
665
|
-
x.id = x.Id;
|
|
666
|
-
});
|
|
667
|
-
this.data = result;
|
|
668
|
-
this.setUpCardData();
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
async postSearch(payload: any) {
|
|
673
|
-
this.utilService.sendBI(true);
|
|
674
|
-
const res = await this.server.post(
|
|
675
|
-
`SearchFormEntities/0/${this.pageSize}`,
|
|
676
|
-
payload,
|
|
677
|
-
);
|
|
678
|
-
|
|
679
|
-
this.utilService.sendBI(false);
|
|
680
|
-
if (res instanceof ErrorResponse) {
|
|
681
|
-
return;
|
|
682
|
-
} else {
|
|
683
|
-
this.pageState = res as PagedResult<FormEntity>;
|
|
684
|
-
var result = (res as PagedResult<FormEntity>).Result;
|
|
685
|
-
result.forEach((x) => {
|
|
686
|
-
x.Id = x.Code;
|
|
687
|
-
x.id = x.Id;
|
|
688
|
-
});
|
|
689
|
-
this.data = result;
|
|
690
|
-
|
|
691
|
-
this.setUpCardData();
|
|
692
|
-
// this.setUpCardDataExtra(this.data)
|
|
693
|
-
|
|
694
|
-
return result;
|
|
695
|
-
}
|
|
696
|
-
}
|
|
697
|
-
onFilterApplied(appliedFilter: IDataFilter[]) {
|
|
698
|
-
this.showFilter = false;
|
|
699
|
-
if (Array.isArray(appliedFilter)) {
|
|
700
|
-
this.selectedFilterTableCount = appliedFilter.length;
|
|
701
|
-
|
|
702
|
-
const queryParams = appliedFilter
|
|
703
|
-
.filter((filter) => filter.checked)
|
|
704
|
-
.map((filter) => ({
|
|
705
|
-
PropertyName: filter.name,
|
|
706
|
-
EntityValue: filter.value,
|
|
707
|
-
Type: filter.type,
|
|
708
|
-
Operator: 'And',
|
|
709
|
-
Sign: this.getCondition(filter.condition),
|
|
710
|
-
}));
|
|
711
|
-
|
|
712
|
-
this.postSearch(queryParams);
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
getCondition(value: any) {
|
|
716
|
-
switch (value) {
|
|
717
|
-
case ConditionalOptions.On:
|
|
718
|
-
return SearchPropertySign.EQ;
|
|
719
|
-
case ConditionalOptions.After:
|
|
720
|
-
return SearchPropertySign.EQ;
|
|
721
|
-
case ConditionalOptions.Before:
|
|
722
|
-
return SearchPropertySign.LT;
|
|
723
|
-
case ConditionalOptions.NotEqual:
|
|
724
|
-
return SearchPropertySign.NEQ;
|
|
725
|
-
default:
|
|
726
|
-
return value;
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
onSortUpdated(updatedSorts: IDataFilter[]) {
|
|
731
|
-
this.currentSorts = updatedSorts;
|
|
732
|
-
this.showSort = false;
|
|
733
|
-
this.selectedSortTableCount = updatedSorts.length;
|
|
734
|
-
this.updateFiltersAndSorts();
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
handleSearch(event: { key: string; value: string }) {
|
|
738
|
-
this.searchTerm$.next(event.value);
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
handleExport(exportedData: Partial<any>[]) {
|
|
742
|
-
// console.log('Exported data:', exportedData);
|
|
743
|
-
this.downloadCSV(exportedData);
|
|
744
|
-
}
|
|
745
|
-
private downloadCSV(data: Partial<any>[]) {
|
|
746
|
-
const headers = Object.keys(data[0]);
|
|
747
|
-
const csvContent = [
|
|
748
|
-
headers.join(','),
|
|
749
|
-
...data.map((row) => headers.map((header) => row[header]).join(',')),
|
|
750
|
-
].join('\n');
|
|
751
|
-
|
|
752
|
-
const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });
|
|
753
|
-
const link = document.createElement('a');
|
|
754
|
-
if (link.download !== undefined) {
|
|
755
|
-
const url = URL.createObjectURL(blob);
|
|
756
|
-
link.setAttribute('href', url);
|
|
757
|
-
link.setAttribute('download', 'export.csv');
|
|
758
|
-
link.style.visibility = 'hidden';
|
|
759
|
-
document.body.appendChild(link);
|
|
760
|
-
link.click();
|
|
761
|
-
document.body.removeChild(link);
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
async getEAVEntities(): Promise<EAVEntity[] | undefined> {
|
|
766
|
-
this.utilService.sendBI(true);
|
|
767
|
-
const res = await this.server.get(`GetEAVEntity/0/0`);
|
|
768
|
-
this.utilService.sendBI(false);
|
|
769
|
-
if (res instanceof ErrorResponse) {
|
|
770
|
-
return undefined;
|
|
771
|
-
} else {
|
|
772
|
-
var result = (res as PagedResult<EAVEntity>).Result;
|
|
773
|
-
return result;
|
|
774
|
-
}
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
async publishEAV(entity: FormEntity): Promise<void> {
|
|
778
|
-
this.utilService.sendBI(true);
|
|
779
|
-
const res = await this.server.post(`PublishEAV`, entity);
|
|
780
|
-
this.utilService.sendBI(false);
|
|
781
|
-
if (res instanceof ErrorResponse) {
|
|
782
|
-
return undefined;
|
|
783
|
-
} else {
|
|
784
|
-
this.utilService.showInfo('Extensions Published Successfully');
|
|
785
|
-
// var result = (res as PagedResult<EAVEntity>).Result;
|
|
786
|
-
// return result;
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
}
|