verben-workflow-ui 0.5.94 → 0.5.96
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/src/lib/components/designer/models/types.mjs +1 -1
- package/esm2022/src/lib/components/designer/services/connection.service.mjs +2 -1
- package/esm2022/src/lib/components/designer/services/wf-mapper.service.mjs +4 -1
- package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +4 -3
- package/esm2022/src/lib/components/my-queue/tasks.form.component.mjs +34 -10
- package/esm2022/src/lib/components/operation-popup/operation-popup.component.mjs +5 -5
- package/esm2022/src/lib/components/operation-popup/operation-popup.facade.mjs +13 -6
- package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +17 -6
- package/esm2022/src/lib/components/operation-popup/public-api.mjs +2 -1
- package/esm2022/src/lib/components/tasks/tasks.component.mjs +2 -1
- package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +12 -10
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +12 -7
- package/esm2022/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.mjs +33 -15
- package/esm2022/src/lib/components/workflow-designer/services/connection.service.mjs +2 -1
- package/esm2022/src/lib/components/workflow-designer/services/transformer.service.mjs +3 -1
- package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +5 -6
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +4 -4
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.module.mjs +7 -4
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +12 -6
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.types.mjs +1 -1
- package/esm2022/src/lib/components/workflow-stage/workflow-stage.component.mjs +5 -2
- package/esm2022/src/lib/models/WorkflowAction.mjs +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +4 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +36 -15
- package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +32 -14
- package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +1 -0
- package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +77 -41
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs +4 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs.map +1 -1
- package/package.json +63 -63
- package/src/lib/components/designer/models/types.d.ts +1 -0
- package/src/lib/components/my-queue/tasks.form.component.d.ts +6 -1
- package/src/lib/components/operation-popup/operation-popup.facade.d.ts +2 -2
- package/src/lib/components/operation-popup/operation-popup.service.d.ts +2 -2
- package/src/lib/components/operation-popup/public-api.d.ts +1 -0
- package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.d.ts +1 -0
- package/src/lib/components/workflow-designer/workflow-designer.module.d.ts +1 -1
- package/src/lib/components/workflow-designer/workflow-designer.types.d.ts +1 -0
- package/src/lib/models/WorkflowAction.d.ts +1 -0
|
@@ -67,7 +67,10 @@ class WorkflowStageComponent {
|
|
|
67
67
|
}
|
|
68
68
|
if (changes['nextActions']) {
|
|
69
69
|
const incoming = changes['nextActions'].currentValue;
|
|
70
|
-
|
|
70
|
+
const actions = Array.isArray(incoming)
|
|
71
|
+
? [...incoming].sort((a, b) => a.Position - b.Position)
|
|
72
|
+
: [];
|
|
73
|
+
this.localNextActions = actions;
|
|
71
74
|
this.selectedAction = null;
|
|
72
75
|
// console.log({ nextActions: this.localNextActions });
|
|
73
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verben-workflow-ui-src-lib-components-workflow-stage.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/components/workflow-stage/workflow-stage.component.ts","../../../projects/verben-workflow-ui/src/lib/components/workflow-stage/workflow-stage.component.html","../../../projects/verben-workflow-ui/src/lib/components/workflow-stage/workflow-stage.module.ts","../../../projects/verben-workflow-ui/src/lib/components/workflow-stage/verben-workflow-ui-src-lib-components-workflow-stage.ts"],"sourcesContent":["import {\n Component,\n EventEmitter,\n Input,\n Output,\n QueryList,\n SimpleChanges,\n ViewChildren,\n} from '@angular/core';\n\nimport { DataType, VerbenPopUpComponent } from 'verben-ng-ui';\n\nimport {\n ActionHistory,\n Actor,\n ErrorResponse,\n Form,\n ObjectState,\n SearchPropertyValue,\n Task,\n User,\n} from 'verben-workflow-ui/src/lib/models';\nimport {\n EnvironmentService,\n HttpWebRequestService,\n UtilService,\n} from 'verben-workflow-ui/src/lib/services';\n\n@Component({\n selector: 'app-workflow-stage',\n templateUrl: './workflow-stage.component.html',\n styleUrl: './workflow-stage.component.css',\n})\nexport class WorkflowStageComponent {\n @Input() historyToDate: any[] = [];\n @Input() taskCode: string | null = null;\n @Input() forms: any = [];\n @Input() isVisible: boolean = false;\n @Input() readOnly: boolean = false;\n active: number = 0;\n dataType: DataType = DataType.Text;\n commentText: string = '';\n isFormViewerVisible: boolean = false;\n activeForm: Form | null = null;\n @Input() currentActors: any[] = [];\n @Input() user: string | null = null;\n @Input() userName: string | null = null;\n @Input() nextActions: any[] = [];\n @Input() task: Task | null = null;\n @Output() onActionCompleted = new EventEmitter<any>();\n @Output() onPickCompleted = new EventEmitter<any>();\n @Output() onCommentCompleted = new EventEmitter<any>();\n @Output() onFormCompleted = new EventEmitter<any>();\n @Output() onOpen = new EventEmitter<any>();\n\n @Output() onClose = new EventEmitter<any>();\n @ViewChildren('popup') popUps!: QueryList<VerbenPopUpComponent>;\n @ViewChildren('popup2') popUp2s!: QueryList<VerbenPopUpComponent>;\n @ViewChildren('popup3') popUp3s!: QueryList<VerbenPopUpComponent>;\n @ViewChildren('popup4') popUp4s!: QueryList<VerbenPopUpComponent>;\n localHistoryToDate: ActionHistory[] = [];\n localNextActions: any[] = [];\n taskForms: any = [];\n selectedAction: any = null;\n nextActors: Actor[] = [];\n selectedRecipient: string | null = null;\n\n // Pick / re-assign popup state — kept separate from the pass-on flow above\n // so opening it never clobbers `commentText` / `selectedRecipient`.\n selectedStageCode: string | null = null;\n pickComment: string = '';\n pickRecipient: string | null = null;\n pickActors: { Name: string; Identifier: string }[] = [];\n\n constructor(\n private utilService: UtilService,\n private server: HttpWebRequestService,\n ) {}\n\n ngOnInit() {}\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['historyToDate']) {\n const incoming = changes['historyToDate'].currentValue;\n\n const allHistory = Array.isArray(incoming) ? incoming : [];\n\n this.localHistoryToDate = allHistory.filter(\n (item) => item.ActionType !== 'TaskReAssignment',\n );\n\n // console.log({ historyToDate: this.localHistoryToDate });\n }\n\n if (changes['nextActions']) {\n const incoming = changes['nextActions'].currentValue;\n this.localNextActions = Array.isArray(incoming) ? incoming : [];\n this.selectedAction = null;\n // console.log({ nextActions: this.localNextActions });\n }\n\n this.handleDataChanges();\n }\n\n submitForm(groupIndex: number): void {\n const formEntity = {\n ...this.forms[groupIndex],\n DataState: ObjectState.Changed,\n };\n this.onFormCompleted.emit(formEntity);\n // this.isVisible = false;\n }\n\n areRequiredPropertiesFilled(properties: any[] = []): boolean {\n if (!properties.length) return true;\n\n return properties.every((prop) => {\n if (prop.IsRequired !== true) return true;\n return prop.Value && prop.Value.trim().length > 0;\n });\n }\n\n openCommentFor(action: any) {\n this.selectedAction = action;\n // console.log(this.selectedAction, 'kk');\n\n this.commentText = '';\n this.selectedRecipient = null;\n this.nextActors = [];\n this.loadNextActors(action?.ToStage);\n this.popUp2s.forEach((popUp) => {\n if (!popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n\n async loadNextActors(stageCode: string | undefined) {\n if (!this.taskCode || !stageCode) {\n this.nextActors = [];\n return;\n }\n this.utilService.sendBI(true);\n const res = await this.server.get(\n `GetNextActors/${this.taskCode}/false/${stageCode}`,\n );\n this.utilService.sendBI(false);\n if (res instanceof ErrorResponse) {\n this.nextActors = [];\n return;\n }\n this.nextActors = (res as Actor[]) || [];\n const userEmail = this.user;\n this.selectedRecipient =\n userEmail && this.nextActors.some((a) => a.Identifier === userEmail)\n ? userEmail\n : null;\n }\n\n handleDataChanges() {\n // console.log('Data updated!', {\n // history: this.localHistoryToDate,\n // actions: this.localNextActions,\n // taskForms: this.taskForms,\n // });\n }\n\n closePopUp() {\n this.popUps.forEach((popUp) => {\n if (popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n closePopUp2() {\n this.popUp2s.forEach((popUp) => {\n if (popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n completeAction(action: any) {\n this.onActionCompleted.emit({\n action: action,\n comment: this.commentText,\n recipient: this.selectedRecipient || '',\n });\n this.closePopUp2();\n }\n onModalOpen(event: any) {\n this.onOpen.emit(event);\n }\n\n onModalClose(event: any) {\n this.onClose.emit(event);\n }\n disableNotActor(): boolean {\n const userEmail = this.user;\n return !this.currentActors?.some((actor) => actor.Identifier === userEmail);\n }\n\n canPick(): boolean {\n return !!this.task?.CanPickTask;\n }\n\n /**\n * A task already sitting on someone's desk is taken over via re-assignment;\n * one with no current actors is unclaimed and gets picked.\n */\n isReassign(): boolean {\n return (this.task?.CurrentActors?.length ?? 0) > 0;\n }\n\n openPickPopup() {\n this.pickComment = '';\n this.selectedStageCode =\n this.task?.CurrentStages?.[0] ??\n this.localHistoryToDate[this.localHistoryToDate.length - 1]?.ToStage ??\n null;\n\n const email = this.user;\n this.pickActors = email\n ? [{ Identifier: email, Name: this.userName || email }]\n : [];\n this.pickRecipient = email ?? null;\n\n this.popUp4s.forEach((popUp) => {\n if (!popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n\n async submitPick() {\n if (!this.task || !this.pickComment || !this.pickRecipient) {\n return;\n }\n const res = this.isReassign()\n ? await this.reassignTask()\n : await this.pickTask();\n\n if (res === null || res instanceof ErrorResponse) {\n return;\n }\n\n this.utilService.showSuccess(\n this.isReassign()\n ? 'Task reassigned successfully'\n : 'Task picked successfully',\n );\n this.onPickCompleted.emit(res);\n this.closePopUp4();\n }\n\n private async pickTask(): Promise<any> {\n if (!this.selectedStageCode) {\n return null;\n }\n\n this.utilService.sendBI(true);\n const res = await this.server.post(\n `PickTaskWithCode/${this.task!.Code}/${this.pickComment}/${\n this.selectedStageCode\n }/${this.pickRecipient}`,\n {},\n );\n this.utilService.sendBI(false);\n\n if (res instanceof ErrorResponse) {\n this.utilService.showError(res.ErrorMsg);\n }\n return res;\n }\n\n private async reassignTask(): Promise<any> {\n const task = this.task!;\n const fromUser = task.CurrentActors?.[0]?.Identifier;\n if (!fromUser) {\n return null;\n }\n\n const payload: Task = {\n ...task,\n DataState: ObjectState.Changed,\n HistoryToDate: [],\n CurrentActors: (task.CurrentActors || []).map((it: any) => ({\n ...it,\n ActorTags: [],\n })),\n FullStages: [],\n };\n\n this.utilService.sendBI(true);\n const res = await this.server.post(\n `Reassign/${this.pickComment}/${this.pickRecipient}/${fromUser}`,\n payload,\n );\n this.utilService.sendBI(false);\n\n if (res instanceof ErrorResponse) {\n this.utilService.showError(res.ErrorMsg);\n }\n return res;\n }\n\n closePopUp4() {\n this.popUp4s.forEach((popUp) => {\n if (popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n\n async loadFormIfExists(stage: string | undefined) {\n if (!this.taskCode || !stage) {\n return;\n }\n this.utilService.sendBI(true);\n const res = await this.server.get(\n `GetCurrentFormsForTask/${this.taskCode}/${stage}`,\n );\n this.utilService.sendBI(false);\n if (res instanceof ErrorResponse) {\n this.utilService.showInfo('Could not load form for selected stage');\n return;\n } else {\n var result = res as Form[];\n if (result.length > 0) {\n this.activeForm = result[0];\n this.closePopUp3();\n this.isFormViewerVisible = true;\n }\n }\n }\n\n onFormViewerOpen() {}\n\n onFormViewerClose() {\n this.isFormViewerVisible = false;\n this.activeForm = null;\n }\n\n closePopUp3() {\n this.popUp3s.forEach((popUp) => {\n if (popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n}\n","<div\n class=\"flex overflow-x-auto items-start min-h-max overflow-y-clip pt-3 pb-3\"\n>\n <div *ngFor=\"let stage of localHistoryToDate; let i = index\">\n <div class=\"flex items-center\">\n <verben-tooltip\n [top]=\"'0px'\"\n [textColor]=\"'#000'\"\n [backgroundColor]=\"'#D3D3D3'\"\n [left]=\"'0'\"\n [tooltipContent]=\"taskCode ? nullTemplate : tooltipTemplate\"\n #tooltip\n >\n <div\n class=\"w-[30px] h-[30px] flex cursor-pointer justify-center items-center rounded-full bg-primary\"\n >\n <ng-container *ngIf=\"taskCode\">\n <verben-pop-Up\n #popup3\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n >\n <verben-svg\n stroke=\"#fff\"\n icon=\"check\"\n dropdown-trigger\n ></verben-svg>\n\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <!-- <div (click)=\"viewVendors(value.Code)\" class=\"pop-up-value cursor-pointer\">View vendors</div> -->\n <div\n (click)=\"loadFormIfExists(stage.ToStage)\"\n class=\"pop-up-value cursor-pointer\"\n >\n Load Stage Form\n </div>\n <!-- <div class=\"pop-up-value cursor-pointer\">Delete</div> -->\n </div>\n </verben-pop-Up>\n </ng-container>\n <ng-container *ngIf=\"!taskCode\">\n <verben-svg stroke=\"#fff\" icon=\"check\"></verben-svg>\n </ng-container>\n </div>\n </verben-tooltip>\n\n <ng-template #nullTemplate></ng-template>\n\n <ng-template #tooltipTemplate>\n <div>\n <p class=\"text-xs\">{{ stage.Actor.Identifier }}</p>\n </div>\n </ng-template>\n\n <ng-container\n *ngIf=\"\n localHistoryToDate[i + 1] ||\n (i === localHistoryToDate.length - 1 &&\n localNextActions.length > 0 &&\n !readOnly)\n \"\n >\n <div\n class=\"border-primary border-b-2 w-[50px] relative px-2 text-xs text-primary font-medium\"\n ></div>\n </ng-container>\n <div\n *ngIf=\"\n i === localHistoryToDate.length - 1 &&\n localNextActions.length > 0 &&\n !readOnly\n \"\n class=\"relative inline-flex\"\n >\n <p\n (click)=\"openCommentFor(selectedAction || localNextActions[0])\"\n [ngClass]=\"{\n 'cursor-not-allowed opacity-50 pointer-events-none':\n disableNotActor(),\n 'cursor-pointer': !disableNotActor(),\n }\"\n class=\"text-center min-w-max rounded-md h-[30px] text-[white] text-sm flex justify-center items-center py-1 max-w-fit px-2 bg-primary\"\n >\n {{\n selectedAction?.Name ||\n selectedAction?.ToStageName ||\n localNextActions[0]?.Name ||\n localNextActions[0]?.ToStageName\n }}\n </p>\n <div\n *ngIf=\"canPick()\"\n (click)=\"openPickPopup()\"\n [title]=\"\n isReassign()\n ? 'Reassign task to yourself to act on this stage'\n : 'Pick task to act on this stage'\n \"\n class=\"absolute -top-2 -right-2 w-[18px] h-[18px] rounded-full bg-[#FFE681] ring-2 ring-white shadow flex items-center justify-center cursor-pointer z-10\"\n >\n <verben-svg\n icon=\"user\"\n fill=\"#404040\"\n [width]=\"12\"\n [height]=\"12\"\n ></verben-svg>\n </div>\n </div>\n\n <ng-container>\n <div\n *ngIf=\"localHistoryToDate[i + 1]?.ActionName\"\n class=\"border-primary border-b-2 w-[50px] relative px-2 text-xs text-primary font-medium\"\n ></div>\n </ng-container>\n\n <ng-container\n *ngIf=\"\n i === localHistoryToDate.length - 1 &&\n localNextActions.length > 0 &&\n localNextActions.length !== 1 &&\n !readOnly\n \"\n >\n <div>\n <verben-pop-Up\n #popup\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n >\n <div dropdown-trigger class=\"flex items-center\">\n <div class=\"w-[20px] h-[2px] bg-[#D4A007]\"></div>\n <div class=\"mt-2\">\n <verben-svg\n class=\"cursor-pointer actions-icon\"\n stroke=\"#D4A007\"\n icon=\"chevron\"\n ></verben-svg>\n </div>\n </div>\n\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <ul>\n <li\n *ngFor=\"let action of localNextActions\"\n class=\"pop-up-value\"\n >\n <button\n [disabled]=\"disableNotActor()\"\n class=\"disabled:cursor-not-allowed cursor-pointer\"\n (click)=\"openCommentFor(action); closePopUp()\"\n >\n {{ action.Name || action.ToStageName || \"Unnamed\" }}\n </button>\n </li>\n </ul>\n </div>\n </verben-pop-Up>\n </div>\n </ng-container>\n </div>\n <verben-tooltip\n [top]=\"'0px'\"\n [textColor]=\"'#000'\"\n [backgroundColor]=\"'#D3D3D3'\"\n [left]=\"'0'\"\n [tooltipContent]=\"tooltipTemplate2\"\n #tooltip\n >\n <p\n class=\"text-xs min-w-max left-0 text-primary mt-1 font-semibold capitalize\"\n >\n {{ stage.ToStageName | slice: 0 : 20\n }}{{ stage.ToStageName && stage.ToStageName.length > 20 ? \"...\" : \"\" }}\n </p>\n </verben-tooltip>\n <ng-template #tooltipTemplate2>\n <div>\n <p class=\"text-xs\">{{ stage.ToStageName }}</p>\n </div>\n </ng-template>\n </div>\n</div>\n<verben-pop-Up\n #popup2\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n>\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <div class=\"p-4 w-[350px]\">\n <h3 class=\"font-semibold mb-2\">Add Comment</h3>\n\n <verben-drop-down\n *ngIf=\"taskCode && nextActors.length > 0\"\n width=\"100%\"\n class=\"mb-3 block\"\n label=\"Assign to (optional)\"\n [options]=\"nextActors\"\n optionLabel=\"Name\"\n optionValue=\"Identifier\"\n [(ngModel)]=\"selectedRecipient\"\n [showClear]=\"true\"\n ></verben-drop-down>\n\n <textarea\n class=\"w-full border p-2 rounded-md outline-none\"\n rows=\"4\"\n [(ngModel)]=\"commentText\"\n placeholder=\"Enter your comment...\"\n ></textarea>\n\n <div class=\"flex justify-end gap-3 mt-4\">\n <verbena-button (click)=\"closePopUp2()\" text=\"Cancel\"></verbena-button>\n <verbena-button\n class=\"verben-primary-button\"\n text=\"OK\"\n (click)=\"completeAction(selectedAction)\"\n [disable]=\"!commentText\"\n ></verbena-button>\n </div>\n </div>\n </div>\n</verben-pop-Up>\n<verben-pop-Up\n #popup4\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n>\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <div class=\"p-4 w-[350px]\">\n <h3 class=\"font-semibold mb-2\">\n {{ isReassign() ? \"Reassign Task\" : \"Pick Task\" }}\n </h3>\n\n <verben-drop-down\n *ngIf=\"!isReassign()\"\n width=\"100%\"\n class=\"mb-3 block\"\n label=\"Stage\"\n [options]=\"task?.FullStages || []\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(ngModel)]=\"selectedStageCode\"\n [showClear]=\"true\"\n ></verben-drop-down>\n\n <verben-drop-down\n width=\"100%\"\n class=\"mb-3 block\"\n label=\"Assign to\"\n [options]=\"pickActors\"\n optionLabel=\"Name\"\n optionValue=\"Identifier\"\n [(ngModel)]=\"pickRecipient\"\n [disabled]=\"true\"\n ></verben-drop-down>\n\n <textarea\n class=\"w-full border p-2 rounded-md outline-none\"\n rows=\"4\"\n [(ngModel)]=\"pickComment\"\n placeholder=\"Enter your comment...\"\n ></textarea>\n\n <div class=\"flex justify-end gap-3 mt-4\">\n <verbena-button (click)=\"closePopUp4()\" text=\"Cancel\"></verbena-button>\n <verbena-button\n class=\"verben-primary-button\"\n text=\"OK\"\n (click)=\"submitPick()\"\n [disable]=\"\n !pickComment ||\n !pickRecipient ||\n (!isReassign() && !selectedStageCode)\n \"\n ></verbena-button>\n </div>\n </div>\n </div>\n</verben-pop-Up>\n<verben-dialogue\n [dismissOutsideClick]=\"true\"\n [closeOnEscape]=\"true\"\n [mode]=\"'drawer'\"\n [padding]=\"'0px'\"\n [drawerWidth]=\"'500px'\"\n position=\"right\"\n [disableFooter]=\"false\"\n [isVisible]=\"isVisible\"\n [modalData]=\"taskForms\"\n (openModal)=\"onModalOpen($event)\"\n (closeModal)=\"onModalClose($event)\"\n [headerTemplate]=\"headerTemplate\"\n [bodyTemplate]=\"bodyTemplate\"\n [showCloseIcon]=\"true\"\n>\n</verben-dialogue>\n\n<ng-template #headerTemplate>\n <div class=\"bg-[#FFE681] px-6 py-4 flex justify-between items-center\">\n <h1>{{ forms[0]?.Name }}</h1>\n </div>\n</ng-template>\n\n<ng-template #bodyTemplate>\n <div class=\"p-3\">\n <div *ngIf=\"forms?.[active]?.Entities?.length; else emptyState\">\n <div\n *ngFor=\"let entity of forms[active]?.Entities; let j = index\"\n class=\"mb-6 pb-4\"\n >\n <form-control\n [formProperties]=\"entity?.Properties || []\"\n ></form-control>\n <div class=\"flex gap-3 justify-end mt-4\">\n <verbena-button\n class=\"verben-primary-button\"\n (click)=\"submitForm(active)\"\n [disable]=\"!areRequiredPropertiesFilled(entity?.Properties)\"\n text=\"Proceed\"\n ></verbena-button>\n </div>\n </div>\n </div>\n\n <ng-template #emptyState>\n <p class=\"mt-4 p-4 text-gray-600 text-center\">\n No entries available for the selected form group.\n </p>\n </ng-template>\n </div>\n</ng-template>\n\n<app-form-viewer\n [form]=\"activeForm\"\n [isVisible]=\"isFormViewerVisible\"\n (onOpen)=\"onFormViewerOpen()\"\n (onClose)=\"onFormViewerClose()\"\n></app-form-viewer>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n CardDataViewModule,\n DataExportModule,\n DataTableModule,\n DataViewModule,\n DropDownModule,\n SortTableModule,\n SvgModule,\n TableFilterModule,\n TooltipModule,\n VerbenaButtonModule,\n VerbenaInputModule,\n VerbenaSwitchModule,\n VerbenDialogueModule,\n VerbenPopUpModule,\n VisibleColumnModule,\n} from 'verben-ng-ui';\nimport { RouterModule, Routes } from '@angular/router';\nimport { WorkflowStageComponent } from './workflow-stage.component';\nimport { FormControlerModule } from 'verben-workflow-ui/src/lib/components/form-control';\nimport { FormViewerLibModule } from 'verben-workflow-ui/src/lib/components/form-viewer';\n@NgModule({\n declarations: [WorkflowStageComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n DataTableModule,\n SvgModule,\n VerbenPopUpModule,\n DataViewModule,\n VerbenaButtonModule,\n CardDataViewModule,\n DropDownModule,\n VerbenaSwitchModule,\n TableFilterModule,\n VisibleColumnModule,\n SortTableModule,\n DataExportModule,\n TooltipModule,\n VerbenDialogueModule,\n VerbenaInputModule,\n FormControlerModule,\n FormViewerLibModule,\n ],\n exports: [WorkflowStageComponent],\n})\nexport class WorkFlowStageLibModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;MAiCa,sBAAsB,CAAA;AA0CvB,IAAA,WAAA,CAAA;AACA,IAAA,MAAA,CAAA;IA1CD,aAAa,GAAU,EAAE,CAAC;IAC1B,QAAQ,GAAkB,IAAI,CAAC;IAC/B,KAAK,GAAQ,EAAE,CAAC;IAChB,SAAS,GAAY,KAAK,CAAC;IAC3B,QAAQ,GAAY,KAAK,CAAC;IACnC,MAAM,GAAW,CAAC,CAAC;AACnB,IAAA,QAAQ,GAAa,QAAQ,CAAC,IAAI,CAAC;IACnC,WAAW,GAAW,EAAE,CAAC;IACzB,mBAAmB,GAAY,KAAK,CAAC;IACrC,UAAU,GAAgB,IAAI,CAAC;IACtB,aAAa,GAAU,EAAE,CAAC;IAC1B,IAAI,GAAkB,IAAI,CAAC;IAC3B,QAAQ,GAAkB,IAAI,CAAC;IAC/B,WAAW,GAAU,EAAE,CAAC;IACxB,IAAI,GAAgB,IAAI,CAAC;AACxB,IAAA,iBAAiB,GAAG,IAAI,YAAY,EAAO,CAAC;AAC5C,IAAA,eAAe,GAAG,IAAI,YAAY,EAAO,CAAC;AAC1C,IAAA,kBAAkB,GAAG,IAAI,YAAY,EAAO,CAAC;AA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A,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,sBAAsB,YAvB/B,YAAY;YACZ,WAAW;YACX,mBAAmB;YACnB,eAAe;YACf,SAAS;YACT,iBAAiB;YACjB,cAAc;YACd,mBAAmB;YACnB,kBAAkB;YAClB,cAAc;YACd,mBAAmB;YACnB,iBAAiB;YACjB,mBAAmB;YACnB,eAAe;YACf,gBAAgB;YAChB,aAAa;YACb,oBAAoB;YACpB,kBAAkB;YAClB,mBAAmB;YACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA;;4FAIV,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBA1BlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,mBAAmB;wBACnB,eAAe;wBACf,SAAS;wBACT,iBAAiB;wBACjB,cAAc;wBACd,mBAAmB;wBACnB,kBAAkB;wBAClB,cAAc;wBACd,mBAAmB;wBACnB,iBAAiB;wBACjB,mBAAmB;wBACnB,eAAe;wBACf,gBAAgB;wBAChB,aAAa;wBACb,oBAAoB;wBACpB,kBAAkB;wBAClB,mBAAmB;wBACnB,mBAAmB;AACpB,qBAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA,CAAA;;;ACnDD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"verben-workflow-ui-src-lib-components-workflow-stage.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/components/workflow-stage/workflow-stage.component.ts","../../../projects/verben-workflow-ui/src/lib/components/workflow-stage/workflow-stage.component.html","../../../projects/verben-workflow-ui/src/lib/components/workflow-stage/workflow-stage.module.ts","../../../projects/verben-workflow-ui/src/lib/components/workflow-stage/verben-workflow-ui-src-lib-components-workflow-stage.ts"],"sourcesContent":["import {\n Component,\n EventEmitter,\n Input,\n Output,\n QueryList,\n SimpleChanges,\n ViewChildren,\n} from '@angular/core';\n\nimport { DataType, VerbenPopUpComponent } from 'verben-ng-ui';\n\nimport {\n ActionHistory,\n Actor,\n ErrorResponse,\n Form,\n ObjectState,\n SearchPropertyValue,\n Task,\n User,\n WorkflowAction,\n} from 'verben-workflow-ui/src/lib/models';\nimport {\n EnvironmentService,\n HttpWebRequestService,\n UtilService,\n} from 'verben-workflow-ui/src/lib/services';\n\n@Component({\n selector: 'app-workflow-stage',\n templateUrl: './workflow-stage.component.html',\n styleUrl: './workflow-stage.component.css',\n})\nexport class WorkflowStageComponent {\n @Input() historyToDate: any[] = [];\n @Input() taskCode: string | null = null;\n @Input() forms: any = [];\n @Input() isVisible: boolean = false;\n @Input() readOnly: boolean = false;\n active: number = 0;\n dataType: DataType = DataType.Text;\n commentText: string = '';\n isFormViewerVisible: boolean = false;\n activeForm: Form | null = null;\n @Input() currentActors: any[] = [];\n @Input() user: string | null = null;\n @Input() userName: string | null = null;\n @Input() nextActions: any[] = [];\n @Input() task: Task | null = null;\n @Output() onActionCompleted = new EventEmitter<any>();\n @Output() onPickCompleted = new EventEmitter<any>();\n @Output() onCommentCompleted = new EventEmitter<any>();\n @Output() onFormCompleted = new EventEmitter<any>();\n @Output() onOpen = new EventEmitter<any>();\n\n @Output() onClose = new EventEmitter<any>();\n @ViewChildren('popup') popUps!: QueryList<VerbenPopUpComponent>;\n @ViewChildren('popup2') popUp2s!: QueryList<VerbenPopUpComponent>;\n @ViewChildren('popup3') popUp3s!: QueryList<VerbenPopUpComponent>;\n @ViewChildren('popup4') popUp4s!: QueryList<VerbenPopUpComponent>;\n localHistoryToDate: ActionHistory[] = [];\n localNextActions: any[] = [];\n taskForms: any = [];\n selectedAction: any = null;\n nextActors: Actor[] = [];\n selectedRecipient: string | null = null;\n\n // Pick / re-assign popup state — kept separate from the pass-on flow above\n // so opening it never clobbers `commentText` / `selectedRecipient`.\n selectedStageCode: string | null = null;\n pickComment: string = '';\n pickRecipient: string | null = null;\n pickActors: { Name: string; Identifier: string }[] = [];\n\n constructor(\n private utilService: UtilService,\n private server: HttpWebRequestService,\n ) {}\n\n ngOnInit() {}\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['historyToDate']) {\n const incoming = changes['historyToDate'].currentValue;\n\n const allHistory = Array.isArray(incoming) ? incoming : [];\n\n this.localHistoryToDate = allHistory.filter(\n (item) => item.ActionType !== 'TaskReAssignment',\n );\n\n // console.log({ historyToDate: this.localHistoryToDate });\n }\n\n if (changes['nextActions']) {\n const incoming = changes['nextActions'].currentValue;\n const actions = Array.isArray(incoming)\n ? [...(incoming as WorkflowAction[])].sort(\n (a, b) => a.Position - b.Position,\n )\n : [];\n this.localNextActions = actions;\n this.selectedAction = null;\n // console.log({ nextActions: this.localNextActions });\n }\n\n this.handleDataChanges();\n }\n\n submitForm(groupIndex: number): void {\n const formEntity = {\n ...this.forms[groupIndex],\n DataState: ObjectState.Changed,\n };\n this.onFormCompleted.emit(formEntity);\n // this.isVisible = false;\n }\n\n areRequiredPropertiesFilled(properties: any[] = []): boolean {\n if (!properties.length) return true;\n\n return properties.every((prop) => {\n if (prop.IsRequired !== true) return true;\n return prop.Value && prop.Value.trim().length > 0;\n });\n }\n\n openCommentFor(action: any) {\n this.selectedAction = action;\n // console.log(this.selectedAction, 'kk');\n\n this.commentText = '';\n this.selectedRecipient = null;\n this.nextActors = [];\n this.loadNextActors(action?.ToStage);\n this.popUp2s.forEach((popUp) => {\n if (!popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n\n async loadNextActors(stageCode: string | undefined) {\n if (!this.taskCode || !stageCode) {\n this.nextActors = [];\n return;\n }\n this.utilService.sendBI(true);\n const res = await this.server.get(\n `GetNextActors/${this.taskCode}/false/${stageCode}`,\n );\n this.utilService.sendBI(false);\n if (res instanceof ErrorResponse) {\n this.nextActors = [];\n return;\n }\n this.nextActors = (res as Actor[]) || [];\n const userEmail = this.user;\n this.selectedRecipient =\n userEmail && this.nextActors.some((a) => a.Identifier === userEmail)\n ? userEmail\n : null;\n }\n\n handleDataChanges() {\n // console.log('Data updated!', {\n // history: this.localHistoryToDate,\n // actions: this.localNextActions,\n // taskForms: this.taskForms,\n // });\n }\n\n closePopUp() {\n this.popUps.forEach((popUp) => {\n if (popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n closePopUp2() {\n this.popUp2s.forEach((popUp) => {\n if (popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n completeAction(action: any) {\n this.onActionCompleted.emit({\n action: action,\n comment: this.commentText,\n recipient: this.selectedRecipient || '',\n });\n this.closePopUp2();\n }\n onModalOpen(event: any) {\n this.onOpen.emit(event);\n }\n\n onModalClose(event: any) {\n this.onClose.emit(event);\n }\n disableNotActor(): boolean {\n const userEmail = this.user;\n return !this.currentActors?.some((actor) => actor.Identifier === userEmail);\n }\n\n canPick(): boolean {\n return !!this.task?.CanPickTask;\n }\n\n /**\n * A task already sitting on someone's desk is taken over via re-assignment;\n * one with no current actors is unclaimed and gets picked.\n */\n isReassign(): boolean {\n return (this.task?.CurrentActors?.length ?? 0) > 0;\n }\n\n openPickPopup() {\n this.pickComment = '';\n this.selectedStageCode =\n this.task?.CurrentStages?.[0] ??\n this.localHistoryToDate[this.localHistoryToDate.length - 1]?.ToStage ??\n null;\n\n const email = this.user;\n this.pickActors = email\n ? [{ Identifier: email, Name: this.userName || email }]\n : [];\n this.pickRecipient = email ?? null;\n\n this.popUp4s.forEach((popUp) => {\n if (!popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n\n async submitPick() {\n if (!this.task || !this.pickComment || !this.pickRecipient) {\n return;\n }\n const res = this.isReassign()\n ? await this.reassignTask()\n : await this.pickTask();\n\n if (res === null || res instanceof ErrorResponse) {\n return;\n }\n\n this.utilService.showSuccess(\n this.isReassign()\n ? 'Task reassigned successfully'\n : 'Task picked successfully',\n );\n this.onPickCompleted.emit(res);\n this.closePopUp4();\n }\n\n private async pickTask(): Promise<any> {\n if (!this.selectedStageCode) {\n return null;\n }\n\n this.utilService.sendBI(true);\n const res = await this.server.post(\n `PickTaskWithCode/${this.task!.Code}/${this.pickComment}/${\n this.selectedStageCode\n }/${this.pickRecipient}`,\n {},\n );\n this.utilService.sendBI(false);\n\n if (res instanceof ErrorResponse) {\n this.utilService.showError(res.ErrorMsg);\n }\n return res;\n }\n\n private async reassignTask(): Promise<any> {\n const task = this.task!;\n const fromUser = task.CurrentActors?.[0]?.Identifier;\n if (!fromUser) {\n return null;\n }\n\n const payload: Task = {\n ...task,\n DataState: ObjectState.Changed,\n HistoryToDate: [],\n CurrentActors: (task.CurrentActors || []).map((it: any) => ({\n ...it,\n ActorTags: [],\n })),\n FullStages: [],\n };\n\n this.utilService.sendBI(true);\n const res = await this.server.post(\n `Reassign/${this.pickComment}/${this.pickRecipient}/${fromUser}`,\n payload,\n );\n this.utilService.sendBI(false);\n\n if (res instanceof ErrorResponse) {\n this.utilService.showError(res.ErrorMsg);\n }\n return res;\n }\n\n closePopUp4() {\n this.popUp4s.forEach((popUp) => {\n if (popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n\n async loadFormIfExists(stage: string | undefined) {\n if (!this.taskCode || !stage) {\n return;\n }\n this.utilService.sendBI(true);\n const res = await this.server.get(\n `GetCurrentFormsForTask/${this.taskCode}/${stage}`,\n );\n this.utilService.sendBI(false);\n if (res instanceof ErrorResponse) {\n this.utilService.showInfo('Could not load form for selected stage');\n return;\n } else {\n var result = res as Form[];\n if (result.length > 0) {\n this.activeForm = result[0];\n this.closePopUp3();\n this.isFormViewerVisible = true;\n }\n }\n }\n\n onFormViewerOpen() {}\n\n onFormViewerClose() {\n this.isFormViewerVisible = false;\n this.activeForm = null;\n }\n\n closePopUp3() {\n this.popUp3s.forEach((popUp) => {\n if (popUp.dropdownOpen) {\n popUp.toggleDropdown();\n }\n });\n }\n}\n","<div\n class=\"flex overflow-x-auto items-start min-h-max overflow-y-clip pt-3 pb-3\"\n>\n <div *ngFor=\"let stage of localHistoryToDate; let i = index\">\n <div class=\"flex items-center\">\n <verben-tooltip\n [top]=\"'0px'\"\n [textColor]=\"'#000'\"\n [backgroundColor]=\"'#D3D3D3'\"\n [left]=\"'0'\"\n [tooltipContent]=\"taskCode ? nullTemplate : tooltipTemplate\"\n #tooltip\n >\n <div\n class=\"w-[30px] h-[30px] flex cursor-pointer justify-center items-center rounded-full bg-primary\"\n >\n <ng-container *ngIf=\"taskCode\">\n <verben-pop-Up\n #popup3\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n >\n <verben-svg\n stroke=\"#fff\"\n icon=\"check\"\n dropdown-trigger\n ></verben-svg>\n\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <!-- <div (click)=\"viewVendors(value.Code)\" class=\"pop-up-value cursor-pointer\">View vendors</div> -->\n <div\n (click)=\"loadFormIfExists(stage.ToStage)\"\n class=\"pop-up-value cursor-pointer\"\n >\n Load Stage Form\n </div>\n <!-- <div class=\"pop-up-value cursor-pointer\">Delete</div> -->\n </div>\n </verben-pop-Up>\n </ng-container>\n <ng-container *ngIf=\"!taskCode\">\n <verben-svg stroke=\"#fff\" icon=\"check\"></verben-svg>\n </ng-container>\n </div>\n </verben-tooltip>\n\n <ng-template #nullTemplate></ng-template>\n\n <ng-template #tooltipTemplate>\n <div>\n <p class=\"text-xs\">{{ stage.Actor.Identifier }}</p>\n </div>\n </ng-template>\n\n <ng-container\n *ngIf=\"\n localHistoryToDate[i + 1] ||\n (i === localHistoryToDate.length - 1 &&\n localNextActions.length > 0 &&\n !readOnly)\n \"\n >\n <div\n class=\"border-primary border-b-2 w-[50px] relative px-2 text-xs text-primary font-medium\"\n ></div>\n </ng-container>\n <div\n *ngIf=\"\n i === localHistoryToDate.length - 1 &&\n localNextActions.length > 0 &&\n !readOnly\n \"\n class=\"relative inline-flex\"\n >\n <p\n (click)=\"openCommentFor(selectedAction || localNextActions[0])\"\n [ngClass]=\"{\n 'cursor-not-allowed opacity-50 pointer-events-none':\n disableNotActor(),\n 'cursor-pointer': !disableNotActor(),\n }\"\n class=\"text-center min-w-max rounded-md h-[30px] text-[white] text-sm flex justify-center items-center py-1 max-w-fit px-2 bg-primary\"\n >\n {{\n selectedAction?.Name ||\n selectedAction?.ToStageName ||\n localNextActions[0]?.Name ||\n localNextActions[0]?.ToStageName\n }}\n </p>\n <div\n *ngIf=\"canPick()\"\n (click)=\"openPickPopup()\"\n [title]=\"\n isReassign()\n ? 'Reassign task to yourself to act on this stage'\n : 'Pick task to act on this stage'\n \"\n class=\"absolute -top-2 -right-2 w-[18px] h-[18px] rounded-full bg-[#FFE681] ring-2 ring-white shadow flex items-center justify-center cursor-pointer z-10\"\n >\n <verben-svg\n icon=\"user\"\n fill=\"#404040\"\n [width]=\"12\"\n [height]=\"12\"\n ></verben-svg>\n </div>\n </div>\n\n <ng-container>\n <div\n *ngIf=\"localHistoryToDate[i + 1]?.ActionName\"\n class=\"border-primary border-b-2 w-[50px] relative px-2 text-xs text-primary font-medium\"\n ></div>\n </ng-container>\n\n <ng-container\n *ngIf=\"\n i === localHistoryToDate.length - 1 &&\n localNextActions.length > 0 &&\n localNextActions.length !== 1 &&\n !readOnly\n \"\n >\n <div>\n <verben-pop-Up\n #popup\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n >\n <div dropdown-trigger class=\"flex items-center\">\n <div class=\"w-[20px] h-[2px] bg-[#D4A007]\"></div>\n <div class=\"mt-2\">\n <verben-svg\n class=\"cursor-pointer actions-icon\"\n stroke=\"#D4A007\"\n icon=\"chevron\"\n ></verben-svg>\n </div>\n </div>\n\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <ul>\n <li\n *ngFor=\"let action of localNextActions\"\n class=\"pop-up-value\"\n >\n <button\n [disabled]=\"disableNotActor()\"\n class=\"disabled:cursor-not-allowed cursor-pointer\"\n (click)=\"openCommentFor(action); closePopUp()\"\n >\n {{ action.Name || action.ToStageName || \"Unnamed\" }}\n </button>\n </li>\n </ul>\n </div>\n </verben-pop-Up>\n </div>\n </ng-container>\n </div>\n <verben-tooltip\n [top]=\"'0px'\"\n [textColor]=\"'#000'\"\n [backgroundColor]=\"'#D3D3D3'\"\n [left]=\"'0'\"\n [tooltipContent]=\"tooltipTemplate2\"\n #tooltip\n >\n <p\n class=\"text-xs min-w-max left-0 text-primary mt-1 font-semibold capitalize\"\n >\n {{ stage.ToStageName | slice: 0 : 20\n }}{{ stage.ToStageName && stage.ToStageName.length > 20 ? \"...\" : \"\" }}\n </p>\n </verben-tooltip>\n <ng-template #tooltipTemplate2>\n <div>\n <p class=\"text-xs\">{{ stage.ToStageName }}</p>\n </div>\n </ng-template>\n </div>\n</div>\n<verben-pop-Up\n #popup2\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n>\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <div class=\"p-4 w-[350px]\">\n <h3 class=\"font-semibold mb-2\">Add Comment</h3>\n\n <verben-drop-down\n *ngIf=\"taskCode && nextActors.length > 0\"\n width=\"100%\"\n class=\"mb-3 block\"\n label=\"Assign to (optional)\"\n [options]=\"nextActors\"\n optionLabel=\"Name\"\n optionValue=\"Identifier\"\n [(ngModel)]=\"selectedRecipient\"\n [showClear]=\"true\"\n ></verben-drop-down>\n\n <textarea\n class=\"w-full border p-2 rounded-md outline-none\"\n rows=\"4\"\n [(ngModel)]=\"commentText\"\n placeholder=\"Enter your comment...\"\n ></textarea>\n\n <div class=\"flex justify-end gap-3 mt-4\">\n <verbena-button (click)=\"closePopUp2()\" text=\"Cancel\"></verbena-button>\n <verbena-button\n class=\"verben-primary-button\"\n text=\"OK\"\n (click)=\"completeAction(selectedAction)\"\n [disable]=\"!commentText\"\n ></verbena-button>\n </div>\n </div>\n </div>\n</verben-pop-Up>\n<verben-pop-Up\n #popup4\n [customStyles]=\"{ 'z-index': '99' }\"\n [enableMouseLeave]=\"false\"\n>\n <div class=\"pop-up-content flex flex-col\" dropdown-content>\n <div class=\"p-4 w-[350px]\">\n <h3 class=\"font-semibold mb-2\">\n {{ isReassign() ? \"Reassign Task\" : \"Pick Task\" }}\n </h3>\n\n <verben-drop-down\n *ngIf=\"!isReassign()\"\n width=\"100%\"\n class=\"mb-3 block\"\n label=\"Stage\"\n [options]=\"task?.FullStages || []\"\n optionLabel=\"Name\"\n optionValue=\"Code\"\n [(ngModel)]=\"selectedStageCode\"\n [showClear]=\"true\"\n ></verben-drop-down>\n\n <verben-drop-down\n width=\"100%\"\n class=\"mb-3 block\"\n label=\"Assign to\"\n [options]=\"pickActors\"\n optionLabel=\"Name\"\n optionValue=\"Identifier\"\n [(ngModel)]=\"pickRecipient\"\n [disabled]=\"true\"\n ></verben-drop-down>\n\n <textarea\n class=\"w-full border p-2 rounded-md outline-none\"\n rows=\"4\"\n [(ngModel)]=\"pickComment\"\n placeholder=\"Enter your comment...\"\n ></textarea>\n\n <div class=\"flex justify-end gap-3 mt-4\">\n <verbena-button (click)=\"closePopUp4()\" text=\"Cancel\"></verbena-button>\n <verbena-button\n class=\"verben-primary-button\"\n text=\"OK\"\n (click)=\"submitPick()\"\n [disable]=\"\n !pickComment ||\n !pickRecipient ||\n (!isReassign() && !selectedStageCode)\n \"\n ></verbena-button>\n </div>\n </div>\n </div>\n</verben-pop-Up>\n<verben-dialogue\n [dismissOutsideClick]=\"true\"\n [closeOnEscape]=\"true\"\n [mode]=\"'drawer'\"\n [padding]=\"'0px'\"\n [drawerWidth]=\"'500px'\"\n position=\"right\"\n [disableFooter]=\"false\"\n [isVisible]=\"isVisible\"\n [modalData]=\"taskForms\"\n (openModal)=\"onModalOpen($event)\"\n (closeModal)=\"onModalClose($event)\"\n [headerTemplate]=\"headerTemplate\"\n [bodyTemplate]=\"bodyTemplate\"\n [showCloseIcon]=\"true\"\n>\n</verben-dialogue>\n\n<ng-template #headerTemplate>\n <div class=\"bg-[#FFE681] px-6 py-4 flex justify-between items-center\">\n <h1>{{ forms[0]?.Name }}</h1>\n </div>\n</ng-template>\n\n<ng-template #bodyTemplate>\n <div class=\"p-3\">\n <div *ngIf=\"forms?.[active]?.Entities?.length; else emptyState\">\n <div\n *ngFor=\"let entity of forms[active]?.Entities; let j = index\"\n class=\"mb-6 pb-4\"\n >\n <form-control\n [formProperties]=\"entity?.Properties || []\"\n ></form-control>\n <div class=\"flex gap-3 justify-end mt-4\">\n <verbena-button\n class=\"verben-primary-button\"\n (click)=\"submitForm(active)\"\n [disable]=\"!areRequiredPropertiesFilled(entity?.Properties)\"\n text=\"Proceed\"\n ></verbena-button>\n </div>\n </div>\n </div>\n\n <ng-template #emptyState>\n <p class=\"mt-4 p-4 text-gray-600 text-center\">\n No entries available for the selected form group.\n </p>\n </ng-template>\n </div>\n</ng-template>\n\n<app-form-viewer\n [form]=\"activeForm\"\n [isVisible]=\"isFormViewerVisible\"\n (onOpen)=\"onFormViewerOpen()\"\n (onClose)=\"onFormViewerClose()\"\n></app-form-viewer>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport {\n CardDataViewModule,\n DataExportModule,\n DataTableModule,\n DataViewModule,\n DropDownModule,\n SortTableModule,\n SvgModule,\n TableFilterModule,\n TooltipModule,\n VerbenaButtonModule,\n VerbenaInputModule,\n VerbenaSwitchModule,\n VerbenDialogueModule,\n VerbenPopUpModule,\n VisibleColumnModule,\n} from 'verben-ng-ui';\nimport { RouterModule, Routes } from '@angular/router';\nimport { WorkflowStageComponent } from './workflow-stage.component';\nimport { FormControlerModule } from 'verben-workflow-ui/src/lib/components/form-control';\nimport { FormViewerLibModule } from 'verben-workflow-ui/src/lib/components/form-viewer';\n@NgModule({\n declarations: [WorkflowStageComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n DataTableModule,\n SvgModule,\n VerbenPopUpModule,\n DataViewModule,\n VerbenaButtonModule,\n CardDataViewModule,\n DropDownModule,\n VerbenaSwitchModule,\n TableFilterModule,\n VisibleColumnModule,\n SortTableModule,\n DataExportModule,\n TooltipModule,\n VerbenDialogueModule,\n VerbenaInputModule,\n FormControlerModule,\n FormViewerLibModule,\n ],\n exports: [WorkflowStageComponent],\n})\nexport class WorkFlowStageLibModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;MAkCa,sBAAsB,CAAA;AA0CvB,IAAA,WAAA,CAAA;AACA,IAAA,MAAA,CAAA;IA1CD,aAAa,GAAU,EAAE,CAAC;IAC1B,QAAQ,GAAkB,IAAI,CAAC;IAC/B,KAAK,GAAQ,EAAE,CAAC;IAChB,SAAS,GAAY,KAAK,CAAC;IAC3B,QAAQ,GAAY,KAAK,CAAC;IACnC,MAAM,GAAW,CAAC,CAAC;AACnB,IAAA,QAAQ,GAAa,QAAQ,CAAC,IAAI,CAAC;IACnC,WAAW,GAAW,EAAE,CAAC;IACzB,mBAAmB,GAAY,KAAK,CAAC;IACrC,UAAU,GAAgB,IAAI,CAAC;IACtB,aAAa,GAAU,EAAE,CAAC;IAC1B,IAAI,GAAkB,IAAI,CAAC;IAC3B,QAAQ,GAAkB,IAAI,CAAC;IAC/B,WAAW,GAAU,EAAE,CAAC;IACxB,IAAI,GAAgB,IAAI,CAAC;AACxB,IAAA,iBAAiB,GAAG,IAAI,YAAY,EAAO,CAAC;AAC5C,IAAA,eAAe,GAAG,IAAI,YAAY,EAAO,CAAC;AAC1C,IAAA,kBAAkB,GAAG,IAAI,YAAY,EAAO,CAAC;AAC7C,IAAA,eAAe,GAAG,IAAI,YAAY,EAAO,CAAC;AAC1C,IAAA,MAAM,GAAG,IAAI,YAAY,EAAO,CAAC;AAEjC,IAAA,OAAO,GAAG,IAAI,YAAY,EAAO,CAAC;AACrB,IAAA,MAAM,CAAmC;AACxC,IAAA,OAAO,CAAmC;AAC1C,IAAA,OAAO,CAAmC;AAC1C,IAAA,OA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AAA,IAAA,EAAA,sBAAsB,YAvB/B,YAAY;YACZ,WAAW;YACX,mBAAmB;YACnB,eAAe;YACf,SAAS;YACT,iBAAiB;YACjB,cAAc;YACd,mBAAmB;YACnB,kBAAkB;YAClB,cAAc;YACd,mBAAmB;YACnB,iBAAiB;YACjB,mBAAmB;YACnB,eAAe;YACf,gBAAgB;YAChB,aAAa;YACb,oBAAoB;YACpB,kBAAkB;YAClB,mBAAmB;YACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA;;4FAIV,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBA1BlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,sBAAsB,CAAC;AACtC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,mBAAmB;wBACnB,eAAe;wBACf,SAAS;wBACT,iBAAiB;wBACjB,cAAc;wBACd,mBAAmB;wBACnB,kBAAkB;wBAClB,cAAc;wBACd,mBAAmB;wBACnB,iBAAiB;wBACjB,mBAAmB;wBACnB,eAAe;wBACf,gBAAgB;wBAChB,aAAa;wBACb,oBAAoB;wBACpB,kBAAkB;wBAClB,mBAAmB;wBACnB,mBAAmB;AACpB,qBAAA;oBACD,OAAO,EAAE,CAAC,sBAAsB,CAAC;AAClC,iBAAA,CAAA;;;ACnDD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verben-workflow-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.96",
|
|
4
4
|
"style": "styles/styles.css",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./styles": {
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
"esm": "./esm2022/src/lib/base/verben-workflow-ui-src-lib-base.mjs",
|
|
22
22
|
"default": "./fesm2022/verben-workflow-ui-src-lib-base.mjs"
|
|
23
23
|
},
|
|
24
|
-
"./src/lib/pipes": {
|
|
25
|
-
"types": "./src/lib/pipes/index.d.ts",
|
|
26
|
-
"esm2022": "./esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs",
|
|
27
|
-
"esm": "./esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs",
|
|
28
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-pipes.mjs"
|
|
29
|
-
},
|
|
30
24
|
"./src/lib/services": {
|
|
31
25
|
"types": "./src/lib/services/index.d.ts",
|
|
32
26
|
"esm2022": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
|
|
33
27
|
"esm": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
|
|
34
28
|
"default": "./fesm2022/verben-workflow-ui-src-lib-services.mjs"
|
|
35
29
|
},
|
|
30
|
+
"./src/lib/pipes": {
|
|
31
|
+
"types": "./src/lib/pipes/index.d.ts",
|
|
32
|
+
"esm2022": "./esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs",
|
|
33
|
+
"esm": "./esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs",
|
|
34
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-pipes.mjs"
|
|
35
|
+
},
|
|
36
36
|
"./src/lib/models": {
|
|
37
37
|
"types": "./src/lib/models/index.d.ts",
|
|
38
38
|
"esm2022": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
|
|
@@ -45,23 +45,23 @@
|
|
|
45
45
|
"esm": "./esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs",
|
|
46
46
|
"default": "./fesm2022/verben-workflow-ui-src-lib-shared.mjs"
|
|
47
47
|
},
|
|
48
|
-
"./src/lib/components/actors": {
|
|
49
|
-
"types": "./src/lib/components/actors/index.d.ts",
|
|
50
|
-
"esm2022": "./esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs",
|
|
51
|
-
"esm": "./esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs",
|
|
52
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-actors.mjs"
|
|
53
|
-
},
|
|
54
48
|
"./src/lib/components/designer": {
|
|
55
49
|
"types": "./src/lib/components/designer/index.d.ts",
|
|
56
50
|
"esm2022": "./esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs",
|
|
57
51
|
"esm": "./esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs",
|
|
58
52
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-designer.mjs"
|
|
59
53
|
},
|
|
60
|
-
"./src/lib/components/
|
|
61
|
-
"types": "./src/lib/components/
|
|
62
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
63
|
-
"esm": "./esm2022/src/lib/components/
|
|
64
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
54
|
+
"./src/lib/components/file-upload": {
|
|
55
|
+
"types": "./src/lib/components/file-upload/index.d.ts",
|
|
56
|
+
"esm2022": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
|
|
57
|
+
"esm": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
|
|
58
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./src/lib/components/actors": {
|
|
61
|
+
"types": "./src/lib/components/actors/index.d.ts",
|
|
62
|
+
"esm2022": "./esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs",
|
|
63
|
+
"esm": "./esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs",
|
|
64
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-actors.mjs"
|
|
65
65
|
},
|
|
66
66
|
"./src/lib/components/file-render": {
|
|
67
67
|
"types": "./src/lib/components/file-render/index.d.ts",
|
|
@@ -69,12 +69,6 @@
|
|
|
69
69
|
"esm": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
|
|
70
70
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs"
|
|
71
71
|
},
|
|
72
|
-
"./src/lib/components/file-upload": {
|
|
73
|
-
"types": "./src/lib/components/file-upload/index.d.ts",
|
|
74
|
-
"esm2022": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
|
|
75
|
-
"esm": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
|
|
76
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs"
|
|
77
|
-
},
|
|
78
72
|
"./src/lib/components/form-control": {
|
|
79
73
|
"types": "./src/lib/components/form-control/index.d.ts",
|
|
80
74
|
"esm2022": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
|
|
@@ -93,23 +87,11 @@
|
|
|
93
87
|
"esm": "./esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs",
|
|
94
88
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs"
|
|
95
89
|
},
|
|
96
|
-
"./src/lib/components/
|
|
97
|
-
"types": "./src/lib/components/
|
|
98
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
99
|
-
"esm": "./esm2022/src/lib/components/
|
|
100
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
101
|
-
},
|
|
102
|
-
"./src/lib/components/form-timer": {
|
|
103
|
-
"types": "./src/lib/components/form-timer/index.d.ts",
|
|
104
|
-
"esm2022": "./esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs",
|
|
105
|
-
"esm": "./esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs",
|
|
106
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs"
|
|
107
|
-
},
|
|
108
|
-
"./src/lib/components/forms": {
|
|
109
|
-
"types": "./src/lib/components/forms/index.d.ts",
|
|
110
|
-
"esm2022": "./esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs",
|
|
111
|
-
"esm": "./esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs",
|
|
112
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-forms.mjs"
|
|
90
|
+
"./src/lib/components/expiration": {
|
|
91
|
+
"types": "./src/lib/components/expiration/index.d.ts",
|
|
92
|
+
"esm2022": "./esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs",
|
|
93
|
+
"esm": "./esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs",
|
|
94
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs"
|
|
113
95
|
},
|
|
114
96
|
"./src/lib/components/form-viewer": {
|
|
115
97
|
"types": "./src/lib/components/form-viewer/index.d.ts",
|
|
@@ -117,11 +99,11 @@
|
|
|
117
99
|
"esm": "./esm2022/src/lib/components/form-viewer/verben-workflow-ui-src-lib-components-form-viewer.mjs",
|
|
118
100
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs"
|
|
119
101
|
},
|
|
120
|
-
"./src/lib/components/
|
|
121
|
-
"types": "./src/lib/components/
|
|
122
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
123
|
-
"esm": "./esm2022/src/lib/components/
|
|
124
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
102
|
+
"./src/lib/components/forms": {
|
|
103
|
+
"types": "./src/lib/components/forms/index.d.ts",
|
|
104
|
+
"esm2022": "./esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs",
|
|
105
|
+
"esm": "./esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs",
|
|
106
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-forms.mjs"
|
|
125
107
|
},
|
|
126
108
|
"./src/lib/components/my-queue": {
|
|
127
109
|
"types": "./src/lib/components/my-queue/index.d.ts",
|
|
@@ -129,17 +111,29 @@
|
|
|
129
111
|
"esm": "./esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs",
|
|
130
112
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs"
|
|
131
113
|
},
|
|
114
|
+
"./src/lib/components/form-response": {
|
|
115
|
+
"types": "./src/lib/components/form-response/index.d.ts",
|
|
116
|
+
"esm2022": "./esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs",
|
|
117
|
+
"esm": "./esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs",
|
|
118
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs"
|
|
119
|
+
},
|
|
120
|
+
"./src/lib/components/form-timer": {
|
|
121
|
+
"types": "./src/lib/components/form-timer/index.d.ts",
|
|
122
|
+
"esm2022": "./esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs",
|
|
123
|
+
"esm": "./esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs",
|
|
124
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs"
|
|
125
|
+
},
|
|
132
126
|
"./src/lib/components/operation-popup": {
|
|
133
127
|
"types": "./src/lib/components/operation-popup/index.d.ts",
|
|
134
128
|
"esm2022": "./esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs",
|
|
135
129
|
"esm": "./esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs",
|
|
136
130
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs"
|
|
137
131
|
},
|
|
138
|
-
"./src/lib/components/
|
|
139
|
-
"types": "./src/lib/components/
|
|
140
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
141
|
-
"esm": "./esm2022/src/lib/components/
|
|
142
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
132
|
+
"./src/lib/components/journal": {
|
|
133
|
+
"types": "./src/lib/components/journal/index.d.ts",
|
|
134
|
+
"esm2022": "./esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs",
|
|
135
|
+
"esm": "./esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs",
|
|
136
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-journal.mjs"
|
|
143
137
|
},
|
|
144
138
|
"./src/lib/components/task-history": {
|
|
145
139
|
"types": "./src/lib/components/task-history/index.d.ts",
|
|
@@ -153,24 +147,36 @@
|
|
|
153
147
|
"esm": "./esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs",
|
|
154
148
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs"
|
|
155
149
|
},
|
|
156
|
-
"./src/lib/components/task-form": {
|
|
157
|
-
"types": "./src/lib/components/task-form/index.d.ts",
|
|
158
|
-
"esm2022": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
159
|
-
"esm": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
160
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs"
|
|
161
|
-
},
|
|
162
150
|
"./src/lib/components/tasks": {
|
|
163
151
|
"types": "./src/lib/components/tasks/index.d.ts",
|
|
164
152
|
"esm2022": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
165
153
|
"esm": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
166
154
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs"
|
|
167
155
|
},
|
|
156
|
+
"./src/lib/components/stage-details": {
|
|
157
|
+
"types": "./src/lib/components/stage-details/index.d.ts",
|
|
158
|
+
"esm2022": "./esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs",
|
|
159
|
+
"esm": "./esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs",
|
|
160
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs"
|
|
161
|
+
},
|
|
162
|
+
"./src/lib/components/task-form": {
|
|
163
|
+
"types": "./src/lib/components/task-form/index.d.ts",
|
|
164
|
+
"esm2022": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
165
|
+
"esm": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
166
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs"
|
|
167
|
+
},
|
|
168
168
|
"./src/lib/components/wf": {
|
|
169
169
|
"types": "./src/lib/components/wf/index.d.ts",
|
|
170
170
|
"esm2022": "./esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs",
|
|
171
171
|
"esm": "./esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs",
|
|
172
172
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-wf.mjs"
|
|
173
173
|
},
|
|
174
|
+
"./src/lib/components/workflow": {
|
|
175
|
+
"types": "./src/lib/components/workflow/index.d.ts",
|
|
176
|
+
"esm2022": "./esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs",
|
|
177
|
+
"esm": "./esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs",
|
|
178
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs"
|
|
179
|
+
},
|
|
174
180
|
"./src/lib/components/workflow-designer": {
|
|
175
181
|
"types": "./src/lib/components/workflow-designer/index.d.ts",
|
|
176
182
|
"esm2022": "./esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs",
|
|
@@ -183,12 +189,6 @@
|
|
|
183
189
|
"esm": "./esm2022/src/lib/components/workflow-stage/verben-workflow-ui-src-lib-components-workflow-stage.mjs",
|
|
184
190
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs"
|
|
185
191
|
},
|
|
186
|
-
"./src/lib/components/workflow": {
|
|
187
|
-
"types": "./src/lib/components/workflow/index.d.ts",
|
|
188
|
-
"esm2022": "./esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs",
|
|
189
|
-
"esm": "./esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs",
|
|
190
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs"
|
|
191
|
-
},
|
|
192
192
|
"./src/lib/components/workflows": {
|
|
193
193
|
"types": "./src/lib/components/workflows/index.d.ts",
|
|
194
194
|
"esm2022": "./esm2022/src/lib/components/workflows/verben-workflow-ui-src-lib-components-workflows.mjs",
|
|
@@ -8,12 +8,16 @@ import { Form } from 'verben-workflow-ui/src/lib/models';
|
|
|
8
8
|
import { DataType } from 'verben-workflow-ui/src/lib/models';
|
|
9
9
|
import { TaskFacade } from 'verben-workflow-ui/src/lib/components/tasks';
|
|
10
10
|
import { EnvironmentService, UtilService } from 'verben-workflow-ui/src/lib/services';
|
|
11
|
+
import { OperationPopupService } from 'verben-workflow-ui/src/lib/components/operation-popup';
|
|
12
|
+
import { MyQueueState } from './my-queue.state';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
export declare class TasksFormComponent {
|
|
13
15
|
private fb;
|
|
14
16
|
private taskFacade;
|
|
15
17
|
private envSvc;
|
|
16
18
|
private utilService;
|
|
19
|
+
private state;
|
|
20
|
+
private operationPopupService;
|
|
17
21
|
workflowAPI: string;
|
|
18
22
|
get currentData(): CardData | null;
|
|
19
23
|
set currentData(value: CardData | null);
|
|
@@ -29,7 +33,7 @@ export declare class TasksFormComponent {
|
|
|
29
33
|
workflows: Workflow[];
|
|
30
34
|
loadingTaskForm: boolean;
|
|
31
35
|
taskFormView: boolean;
|
|
32
|
-
constructor(fb: FormBuilder, taskFacade: TaskFacade, envSvc: EnvironmentService, utilService: UtilService);
|
|
36
|
+
constructor(fb: FormBuilder, taskFacade: TaskFacade, envSvc: EnvironmentService, utilService: UtilService, state: MyQueueState, operationPopupService: OperationPopupService);
|
|
33
37
|
ngOnInit(): void;
|
|
34
38
|
handleSubmit(): void;
|
|
35
39
|
onDelete(): void;
|
|
@@ -38,6 +42,7 @@ export declare class TasksFormComponent {
|
|
|
38
42
|
disableProcessing(): boolean;
|
|
39
43
|
getRoute(item: Task): string | null;
|
|
40
44
|
viewSource(item: Task, route: string): void;
|
|
45
|
+
followTask(task: Task): Promise<void>;
|
|
41
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<TasksFormComponent, never>;
|
|
42
47
|
static ɵcmp: i0.ɵɵComponentDeclaration<TasksFormComponent, "tasks-form", never, { "currentData": { "alias": "currentData"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; }, { "onTaskFormSave": "onTaskFormSave"; "onSave": "onSave"; }, never, never, false, never>;
|
|
43
48
|
}
|
|
@@ -23,8 +23,8 @@ export declare class OperationPopupFacade {
|
|
|
23
23
|
skipTo(from: WorkflowAction['FromStage'], to: WorkflowAction['ToStage'], task: Task, comment: string, recipient: string | null): Promise<void>;
|
|
24
24
|
pickTask(targetStage: string, task: Task, comment: string, recipient: string | null): Promise<void>;
|
|
25
25
|
releaseTask(targetStage: string, task: Task, comment: string, recipient: string | null): Promise<void>;
|
|
26
|
-
followTask(
|
|
27
|
-
unfollowTask(
|
|
26
|
+
followTask(task: Task): Promise<void>;
|
|
27
|
+
unfollowTask(task: Task): Promise<void>;
|
|
28
28
|
reAssign(task: Task, comment: string, fromUser?: string, toUser?: string): Promise<void>;
|
|
29
29
|
fillForm(form: Form, taskCode: string): Promise<Form | null>;
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<OperationPopupFacade, never>;
|
|
@@ -12,8 +12,8 @@ export declare class OperationPopupService {
|
|
|
12
12
|
passBack(fromStage: string, toStage: string, task: Task, comment: string, recipient?: string): Promise<Task | ErrorResponse>;
|
|
13
13
|
pickTask(targetStage: string, task: Task, comment: string, recipient?: string): Promise<Task | ErrorResponse>;
|
|
14
14
|
releaseTask(targetStage: string, task: Task, comment: string, recipient?: string): Promise<Task | ErrorResponse>;
|
|
15
|
-
followTask(
|
|
16
|
-
unfollowTask(
|
|
15
|
+
followTask(task: Task): Promise<Task | ErrorResponse>;
|
|
16
|
+
unfollowTask(task: Task): Promise<void | ErrorResponse>;
|
|
17
17
|
reAssign(task: Task, comment: string, fromUser?: string, toUser?: string): Promise<Task | ErrorResponse>;
|
|
18
18
|
skipTo(fromStage: string, toStage: string, task: Task, comment: string, recipient?: string, isBackward?: boolean): Promise<Task | ErrorResponse>;
|
|
19
19
|
getCurrentFormsForTask(taskCode: string): Promise<Form[] | ErrorResponse>;
|
package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare class EscalationDialogComponent implements OnInit {
|
|
|
22
22
|
escalation: WritableSignal<Escalation | null>;
|
|
23
23
|
reportSchedules: WritableSignal<ReportSchedule[]>;
|
|
24
24
|
selectedMessages: ((ReportSchedule & {
|
|
25
|
+
Message: string;
|
|
25
26
|
IsTaskDataSource: boolean;
|
|
26
27
|
IsMessageId: boolean;
|
|
27
28
|
}) | null)[];
|
|
@@ -36,6 +36,6 @@ import * as i16 from "verben-reporting-ui";
|
|
|
36
36
|
*/
|
|
37
37
|
export declare class WorkflowDesignerModule {
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowDesignerModule, never>;
|
|
39
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WorkflowDesignerModule, [typeof i1.WorkflowDesignerComponent, typeof i2.DesignerToolbarComponent, typeof i3.DesignerCanvasComponent, typeof i4.SwimlaneDialogComponent, typeof i5.StageNodeComponent, typeof i6.StageDialogComponent, typeof i7.ConditionsPopupComponent, typeof i8.DecisionPopupComponent, typeof i9.EscalationDialogComponent, typeof i10.ActionDialogComponent, typeof i11.ActorTagsDialogComponent], [typeof i12.CommonModule, typeof i13.VerbenDialogueModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i13.VerbenPopUpModule, typeof i13.VerbenaButtonModule, typeof i13.DropDownModule, typeof i15.LabelEditorComponent, typeof i16.EditorModule, typeof i13.VerbenaInputModule, typeof i13.VerbenaSwitchModule, typeof i13.VerbenaTextareaModule], [typeof i1.WorkflowDesignerComponent]>;
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WorkflowDesignerModule, [typeof i1.WorkflowDesignerComponent, typeof i2.DesignerToolbarComponent, typeof i3.DesignerCanvasComponent, typeof i4.SwimlaneDialogComponent, typeof i5.StageNodeComponent, typeof i6.StageDialogComponent, typeof i7.ConditionsPopupComponent, typeof i8.DecisionPopupComponent, typeof i9.EscalationDialogComponent, typeof i10.ActionDialogComponent, typeof i11.ActorTagsDialogComponent], [typeof i12.CommonModule, typeof i13.VerbenDialogueModule, typeof i14.FormsModule, typeof i14.ReactiveFormsModule, typeof i13.VerbenPopUpModule, typeof i13.VerbenaButtonModule, typeof i13.DropDownModule, typeof i15.LabelEditorComponent, typeof i16.EditorModule, typeof i13.VerbenaInputModule, typeof i13.VerbenaSwitchModule, typeof i13.VerbenaTextareaModule, typeof i13.NumberInputModule], [typeof i1.WorkflowDesignerComponent]>;
|
|
40
40
|
static ɵinj: i0.ɵɵInjectorDeclaration<WorkflowDesignerModule>;
|
|
41
41
|
}
|