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.
Files changed (1121) hide show
  1. package/esm2022/public-api.mjs +43 -0
  2. package/esm2022/src/lib/base/core/base-data-page.facade.mjs +412 -0
  3. package/esm2022/src/lib/base/core/base-data-page.service.mjs +140 -0
  4. package/esm2022/src/lib/base/core/base-data-page.state.mjs +216 -0
  5. package/esm2022/src/lib/base/handlers/filter-handler.service.mjs +138 -0
  6. package/esm2022/src/lib/base/handlers/search-handler.service.mjs +31 -0
  7. package/esm2022/src/lib/base/handlers/sort-handler.service.mjs +73 -0
  8. package/esm2022/src/lib/base/index.mjs +2 -0
  9. package/esm2022/src/lib/base/models/api-payload.mjs +7 -0
  10. package/esm2022/src/lib/base/models/page-config.interface.mjs +2 -0
  11. package/esm2022/src/lib/base/models/page-filter-tab-option.interface.mjs +2 -0
  12. package/esm2022/src/lib/base/public-api.mjs +14 -0
  13. package/esm2022/src/lib/base/utils/column-helpers.mjs +55 -0
  14. package/esm2022/src/lib/base/verben-workflow-ui-src-lib-base.mjs +5 -0
  15. package/esm2022/src/lib/components/actors/actors.columns.mjs +39 -0
  16. package/esm2022/src/lib/components/actors/actors.component.mjs +175 -0
  17. package/esm2022/src/lib/components/actors/actors.config.mjs +49 -0
  18. package/esm2022/src/lib/components/actors/actors.facade.mjs +57 -0
  19. package/esm2022/src/lib/components/actors/actors.form.component.mjs +74 -0
  20. package/esm2022/src/lib/components/actors/actors.module.mjs +21 -0
  21. package/esm2022/src/lib/components/actors/actors.service.mjs +65 -0
  22. package/esm2022/src/lib/components/actors/actors.state.mjs +31 -0
  23. package/esm2022/src/lib/components/actors/index.mjs +2 -0
  24. package/esm2022/src/lib/components/actors/public-api.mjs +3 -0
  25. package/esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs +5 -0
  26. package/esm2022/src/lib/components/designer/components/label-editor.component.mjs +148 -0
  27. package/esm2022/src/lib/components/designer/components/node-selector.component.mjs +317 -0
  28. package/esm2022/src/lib/components/designer/components/swimlane-label.component.mjs +161 -0
  29. package/esm2022/src/lib/components/designer/components/swimlane-popup.component.mjs +85 -0
  30. package/esm2022/src/lib/components/designer/components/wf-canvas.component.mjs +715 -0
  31. package/esm2022/src/lib/components/designer/components/wf-designer.component.mjs +135 -0
  32. package/esm2022/src/lib/components/designer/components/wf-toolbar.component.mjs +56 -0
  33. package/esm2022/src/lib/components/designer/index.mjs +2 -0
  34. package/esm2022/src/lib/components/designer/models/types.mjs +2 -0
  35. package/esm2022/src/lib/components/designer/public-api.mjs +3 -0
  36. package/esm2022/src/lib/components/designer/services/canvas-state.service.mjs +50 -0
  37. package/esm2022/src/lib/components/designer/services/connection-segment-interaction.service.mjs +108 -0
  38. package/esm2022/src/lib/components/designer/services/connection.service.mjs +267 -0
  39. package/esm2022/src/lib/components/designer/services/keyboard-handler.service.mjs +43 -0
  40. package/esm2022/src/lib/components/designer/services/label-management.service.mjs +66 -0
  41. package/esm2022/src/lib/components/designer/services/node-finder.service.mjs +30 -0
  42. package/esm2022/src/lib/components/designer/services/node-interaction.service.mjs +108 -0
  43. package/esm2022/src/lib/components/designer/services/node-precondition.service.mjs +108 -0
  44. package/esm2022/src/lib/components/designer/services/node-selection.service.mjs +96 -0
  45. package/esm2022/src/lib/components/designer/services/orthogonal-router.service.mjs +167 -0
  46. package/esm2022/src/lib/components/designer/services/position-update.service.mjs +45 -0
  47. package/esm2022/src/lib/components/designer/services/rendering.service.mjs +236 -0
  48. package/esm2022/src/lib/components/designer/services/swimlane-management.service.mjs +145 -0
  49. package/esm2022/src/lib/components/designer/services/swimlane-stats.service.mjs +44 -0
  50. package/esm2022/src/lib/components/designer/services/viewport.service.mjs +30 -0
  51. package/esm2022/src/lib/components/designer/services/wf-facade.service.mjs +239 -0
  52. package/esm2022/src/lib/components/designer/services/wf-mapper.service.mjs +326 -0
  53. package/esm2022/src/lib/components/designer/services/wf-persistence.service.mjs +169 -0
  54. package/esm2022/src/lib/components/designer/services/wf-state.service.mjs +108 -0
  55. package/esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs +5 -0
  56. package/esm2022/src/lib/components/expiration/expiration.component.mjs +49 -0
  57. package/esm2022/src/lib/components/expiration/expiration.module.mjs +19 -0
  58. package/esm2022/src/lib/components/expiration/index.mjs +2 -0
  59. package/esm2022/src/lib/components/expiration/public-api.mjs +3 -0
  60. package/esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs +5 -0
  61. package/esm2022/src/lib/components/file-render/file-render.component.mjs +45 -0
  62. package/esm2022/src/lib/components/file-render/file-render.module.mjs +35 -0
  63. package/esm2022/src/lib/components/file-render/index.mjs +2 -0
  64. package/esm2022/src/lib/components/file-render/public-api.mjs +3 -0
  65. package/esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs +5 -0
  66. package/esm2022/src/lib/components/file-upload/file-upload.component.mjs +93 -0
  67. package/esm2022/src/lib/components/file-upload/file-upload.module.mjs +63 -0
  68. package/esm2022/src/lib/components/file-upload/index.mjs +2 -0
  69. package/esm2022/src/lib/components/file-upload/public-api.mjs +3 -0
  70. package/esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs +5 -0
  71. package/esm2022/src/lib/components/flowable-status/flowable-status.columns.mjs +21 -0
  72. package/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +203 -0
  73. package/esm2022/src/lib/components/flowable-status/flowable-status.config.mjs +47 -0
  74. package/esm2022/src/lib/components/flowable-status/flowable-status.facade.mjs +60 -0
  75. package/esm2022/src/lib/components/flowable-status/flowable-status.form.component.mjs +52 -0
  76. package/esm2022/src/lib/components/flowable-status/flowable-status.module.mjs +21 -0
  77. package/esm2022/src/lib/components/flowable-status/flowable-status.service.mjs +35 -0
  78. package/esm2022/src/lib/components/flowable-status/flowable-status.state.mjs +15 -0
  79. package/esm2022/src/lib/components/flowable-status/index.mjs +2 -0
  80. package/esm2022/src/lib/components/flowable-status/public-api.mjs +3 -0
  81. package/esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs +5 -0
  82. package/esm2022/src/lib/components/form-control/form-control.component.mjs +180 -0
  83. package/esm2022/src/lib/components/form-control/form-control.module.mjs +75 -0
  84. package/esm2022/src/lib/components/form-control/index.mjs +2 -0
  85. package/esm2022/src/lib/components/form-control/public-api.mjs +3 -0
  86. package/esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs +5 -0
  87. package/esm2022/src/lib/components/form-group/base-table-style.mjs +53 -0
  88. package/esm2022/src/lib/components/form-group/form-fields/form-fields.component.mjs +952 -0
  89. package/esm2022/src/lib/components/form-group/form-fields/form-fields.module.mjs +75 -0
  90. package/esm2022/src/lib/components/form-group/form-fields/form-fields.service.mjs +73 -0
  91. package/esm2022/src/lib/components/form-group/form-group.component.mjs +698 -0
  92. package/esm2022/src/lib/components/form-group/form-group.module.mjs +85 -0
  93. package/esm2022/src/lib/components/form-group/form-group.service.mjs +56 -0
  94. package/esm2022/src/lib/components/form-group/index.mjs +2 -0
  95. package/esm2022/src/lib/components/form-group/public-api.mjs +5 -0
  96. package/esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs +5 -0
  97. package/esm2022/src/lib/components/form-response/form-response.component.mjs +638 -0
  98. package/esm2022/src/lib/components/form-response/form-response.module.mjs +76 -0
  99. package/esm2022/src/lib/components/form-response/form-response.service.mjs +54 -0
  100. package/esm2022/src/lib/components/form-response/index.mjs +2 -0
  101. package/esm2022/src/lib/components/form-response/public-api.mjs +3 -0
  102. package/esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs +5 -0
  103. package/esm2022/src/lib/components/form-timer/form-timer.component.mjs +47 -0
  104. package/esm2022/src/lib/components/form-timer/form-timer.module.mjs +28 -0
  105. package/esm2022/src/lib/components/form-timer/index.mjs +2 -0
  106. package/esm2022/src/lib/components/form-timer/public-api.mjs +3 -0
  107. package/esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs +5 -0
  108. package/esm2022/src/lib/components/form-values/form-values.component.mjs +1157 -0
  109. package/esm2022/src/lib/components/form-values/form-values.module.mjs +20 -0
  110. package/esm2022/src/lib/components/form-values/form-values.service.mjs +48 -0
  111. package/esm2022/src/lib/components/form-values/index.mjs +2 -0
  112. package/esm2022/src/lib/components/form-values/public-api.mjs +4 -0
  113. package/esm2022/src/lib/components/form-values/verben-workflow-ui-src-lib-components-form-values.mjs +5 -0
  114. package/esm2022/src/lib/components/form-viewer/form-viewer.component.mjs +38 -0
  115. package/esm2022/src/lib/components/form-viewer/form-viewer.module.mjs +78 -0
  116. package/esm2022/src/lib/components/form-viewer/index.mjs +2 -0
  117. package/esm2022/src/lib/components/form-viewer/public-api.mjs +3 -0
  118. package/esm2022/src/lib/components/form-viewer/verben-workflow-ui-src-lib-components-form-viewer.mjs +5 -0
  119. package/esm2022/src/lib/components/forms/base-table-style.mjs +53 -0
  120. package/esm2022/src/lib/components/forms/forms.component.mjs +673 -0
  121. package/esm2022/src/lib/components/forms/forms.module.mjs +18 -0
  122. package/esm2022/src/lib/components/forms/forms.service.mjs +68 -0
  123. package/esm2022/src/lib/components/forms/index.mjs +2 -0
  124. package/esm2022/src/lib/components/forms/public-api.mjs +3 -0
  125. package/esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs +5 -0
  126. package/esm2022/src/lib/components/journal/index.mjs +2 -0
  127. package/esm2022/src/lib/components/journal/journal.component.mjs +11 -0
  128. package/esm2022/src/lib/components/journal/journal.module.mjs +18 -0
  129. package/esm2022/src/lib/components/journal/public-api.mjs +3 -0
  130. package/esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs +5 -0
  131. package/esm2022/src/lib/components/my-queue/index.mjs +2 -0
  132. package/esm2022/src/lib/components/my-queue/my-queue.columns.mjs +34 -0
  133. package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +342 -0
  134. package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +502 -0
  135. package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +47 -0
  136. package/esm2022/src/lib/components/my-queue/my-queue.service.mjs +144 -0
  137. package/esm2022/src/lib/components/my-queue/my-queue.state.mjs +108 -0
  138. package/esm2022/src/lib/components/my-queue/public-api.mjs +4 -0
  139. package/esm2022/src/lib/components/my-queue/tasks.form.component.mjs +191 -0
  140. package/esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs +5 -0
  141. package/esm2022/src/lib/components/operation-popup/index.mjs +2 -0
  142. package/esm2022/src/lib/components/operation-popup/operation-popup.component.mjs +382 -0
  143. package/esm2022/src/lib/components/operation-popup/operation-popup.facade.mjs +345 -0
  144. package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +82 -0
  145. package/esm2022/src/lib/components/operation-popup/operation-popup.state.mjs +44 -0
  146. package/esm2022/src/lib/components/operation-popup/public-api.mjs +3 -0
  147. package/esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs +5 -0
  148. package/esm2022/src/lib/components/stage-details/index.mjs +2 -0
  149. package/esm2022/src/lib/components/stage-details/public-api.mjs +3 -0
  150. package/esm2022/src/lib/components/stage-details/stage-details.component.mjs +49 -0
  151. package/esm2022/src/lib/components/stage-details/stage-details.module.mjs +19 -0
  152. package/esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs +5 -0
  153. package/esm2022/src/lib/components/task-form/index.mjs +2 -0
  154. package/esm2022/src/lib/components/task-form/public-api.mjs +3 -0
  155. package/esm2022/src/lib/components/task-form/task-form.component.mjs +18 -0
  156. package/esm2022/src/lib/components/task-form/task-form.module.mjs +72 -0
  157. package/esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs +5 -0
  158. package/esm2022/src/lib/components/task-history/index.mjs +2 -0
  159. package/esm2022/src/lib/components/task-history/public-api.mjs +3 -0
  160. package/esm2022/src/lib/components/task-history/task-history.component.mjs +249 -0
  161. package/esm2022/src/lib/components/task-history/task-history.module.mjs +21 -0
  162. package/esm2022/src/lib/components/task-history/task-history.service.mjs +32 -0
  163. package/esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs +5 -0
  164. package/esm2022/src/lib/components/task-notification/base-table-style.mjs +53 -0
  165. package/esm2022/src/lib/components/task-notification/index.mjs +2 -0
  166. package/esm2022/src/lib/components/task-notification/public-api.mjs +3 -0
  167. package/esm2022/src/lib/components/task-notification/task-notification.component.mjs +670 -0
  168. package/esm2022/src/lib/components/task-notification/task-notification.module.mjs +18 -0
  169. package/esm2022/src/lib/components/task-notification/task-notification.service.mjs +256 -0
  170. package/esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs +5 -0
  171. package/esm2022/src/lib/components/tasks/index.mjs +2 -0
  172. package/esm2022/src/lib/components/tasks/public-api.mjs +6 -0
  173. package/esm2022/src/lib/components/tasks/tasks.columns.mjs +48 -0
  174. package/esm2022/src/lib/components/tasks/tasks.component.mjs +194 -0
  175. package/esm2022/src/lib/components/tasks/tasks.facade.mjs +372 -0
  176. package/esm2022/src/lib/components/tasks/tasks.form.component.mjs +164 -0
  177. package/esm2022/src/lib/components/tasks/tasks.models.mjs +4 -0
  178. package/esm2022/src/lib/components/tasks/tasks.module.mjs +52 -0
  179. package/esm2022/src/lib/components/tasks/tasks.service.mjs +137 -0
  180. package/esm2022/src/lib/components/tasks/tasks.state.mjs +108 -0
  181. package/esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs +5 -0
  182. package/esm2022/src/lib/components/wf/index.mjs +2 -0
  183. package/esm2022/src/lib/components/wf/public-api.mjs +4 -0
  184. package/esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs +5 -0
  185. package/esm2022/src/lib/components/wf/wf.columns.mjs +34 -0
  186. package/esm2022/src/lib/components/wf/wf.component.mjs +68 -0
  187. package/esm2022/src/lib/components/wf/wf.module.mjs +22 -0
  188. package/esm2022/src/lib/components/wf/wf.service.mjs +82 -0
  189. package/esm2022/src/lib/components/workflow/column.mjs +38 -0
  190. package/esm2022/src/lib/components/workflow/helper.mjs +47 -0
  191. package/esm2022/src/lib/components/workflow/index.mjs +2 -0
  192. package/esm2022/src/lib/components/workflow/public-api.mjs +4 -0
  193. package/esm2022/src/lib/components/workflow/table-style.mjs +53 -0
  194. package/esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs +5 -0
  195. package/esm2022/src/lib/components/workflow/workflow.component.mjs +210 -0
  196. package/esm2022/src/lib/components/workflow/workflow.module.mjs +19 -0
  197. package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +127 -0
  198. package/esm2022/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.mjs +78 -0
  199. package/esm2022/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.mjs +87 -0
  200. package/esm2022/src/lib/components/workflow-designer/decision-popup/decision-popup.component.mjs +84 -0
  201. package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +1270 -0
  202. package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.mjs +96 -0
  203. package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.mjs +2 -0
  204. package/esm2022/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.mjs +260 -0
  205. package/esm2022/src/lib/components/workflow-designer/index.mjs +2 -0
  206. package/esm2022/src/lib/components/workflow-designer/public-api.mjs +5 -0
  207. package/esm2022/src/lib/components/workflow-designer/services/connection.service.mjs +238 -0
  208. package/esm2022/src/lib/components/workflow-designer/services/node-management.service.mjs +321 -0
  209. package/esm2022/src/lib/components/workflow-designer/services/popup.service.mjs +240 -0
  210. package/esm2022/src/lib/components/workflow-designer/services/swimlane.service.mjs +158 -0
  211. package/esm2022/src/lib/components/workflow-designer/services/transformer.service.mjs +280 -0
  212. package/esm2022/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.mjs +177 -0
  213. package/esm2022/src/lib/components/workflow-designer/stage-node/stage-node.component.mjs +226 -0
  214. package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +137 -0
  215. package/esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs +5 -0
  216. package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +210 -0
  217. package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +460 -0
  218. package/esm2022/src/lib/components/workflow-designer/workflow-designer.module.mjs +129 -0
  219. package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +928 -0
  220. package/esm2022/src/lib/components/workflow-designer/workflow-designer.types.mjs +2 -0
  221. package/esm2022/src/lib/components/workflow-stage/index.mjs +2 -0
  222. package/esm2022/src/lib/components/workflow-stage/public-api.mjs +3 -0
  223. package/esm2022/src/lib/components/workflow-stage/verben-workflow-ui-src-lib-components-workflow-stage.mjs +5 -0
  224. package/esm2022/src/lib/components/workflow-stage/workflow-stage.component.mjs +331 -0
  225. package/esm2022/src/lib/components/workflow-stage/workflow-stage.module.mjs +82 -0
  226. package/esm2022/src/lib/components/workflows/index.mjs +2 -0
  227. package/esm2022/src/lib/components/workflows/public-api.mjs +7 -0
  228. package/esm2022/src/lib/components/workflows/verben-workflow-ui-src-lib-components-workflows.mjs +5 -0
  229. package/esm2022/src/lib/components/workflows/workflow-form/workflow-form.component.mjs +89 -0
  230. package/esm2022/src/lib/components/workflows/workflows.api.mjs +63 -0
  231. package/esm2022/src/lib/components/workflows/workflows.columns.mjs +39 -0
  232. package/esm2022/src/lib/components/workflows/workflows.component.mjs +236 -0
  233. package/esm2022/src/lib/components/workflows/workflows.config.mjs +51 -0
  234. package/esm2022/src/lib/components/workflows/workflows.facade.mjs +114 -0
  235. package/esm2022/src/lib/components/workflows/workflows.module.mjs +21 -0
  236. package/esm2022/src/lib/components/workflows/workflows.service.mjs +63 -0
  237. package/esm2022/src/lib/components/workflows/workflows.state.mjs +23 -0
  238. package/esm2022/src/lib/models/ActionHistory.mjs +2 -0
  239. package/esm2022/src/lib/models/ActionType.mjs +11 -0
  240. package/esm2022/src/lib/models/Actor.mjs +2 -0
  241. package/esm2022/src/lib/models/ActorTag.mjs +2 -0
  242. package/esm2022/src/lib/models/Coord.mjs +2 -0
  243. package/esm2022/src/lib/models/DataExtensionValue.mjs +2 -0
  244. package/esm2022/src/lib/models/DataType.mjs +27 -0
  245. package/esm2022/src/lib/models/EAVDataType.mjs +20 -0
  246. package/esm2022/src/lib/models/EAVEntity.mjs +2 -0
  247. package/esm2022/src/lib/models/EntityDataValue.mjs +2 -0
  248. package/esm2022/src/lib/models/EntityProperty.mjs +2 -0
  249. package/esm2022/src/lib/models/ErrorResponse.mjs +11 -0
  250. package/esm2022/src/lib/models/Escalation.mjs +2 -0
  251. package/esm2022/src/lib/models/EscalationCycle.mjs +2 -0
  252. package/esm2022/src/lib/models/EscalationStage.mjs +2 -0
  253. package/esm2022/src/lib/models/EscalationType.mjs +7 -0
  254. package/esm2022/src/lib/models/File.mjs +2 -0
  255. package/esm2022/src/lib/models/FilterTypes.mjs +9 -0
  256. package/esm2022/src/lib/models/FlowableStatus.mjs +2 -0
  257. package/esm2022/src/lib/models/Form.mjs +2 -0
  258. package/esm2022/src/lib/models/FormEntity.mjs +2 -0
  259. package/esm2022/src/lib/models/FormFill.mjs +6 -0
  260. package/esm2022/src/lib/models/FormProperty.mjs +2 -0
  261. package/esm2022/src/lib/models/FormValue.mjs +6 -0
  262. package/esm2022/src/lib/models/MailConfig.mjs +2 -0
  263. package/esm2022/src/lib/models/MessageConfig.mjs +2 -0
  264. package/esm2022/src/lib/models/MessageMedium.mjs +6 -0
  265. package/esm2022/src/lib/models/OperationAction.mjs +2 -0
  266. package/esm2022/src/lib/models/PagedResult.mjs +2 -0
  267. package/esm2022/src/lib/models/PeriodMode.mjs +12 -0
  268. package/esm2022/src/lib/models/PermissionConfig.mjs +2 -0
  269. package/esm2022/src/lib/models/Property.mjs +2 -0
  270. package/esm2022/src/lib/models/ReportSchedule.mjs +2 -0
  271. package/esm2022/src/lib/models/ReportType.mjs +7 -0
  272. package/esm2022/src/lib/models/Resource.mjs +47 -0
  273. package/esm2022/src/lib/models/ResponseKeyValue.mjs +2 -0
  274. package/esm2022/src/lib/models/SMSConfig.mjs +2 -0
  275. package/esm2022/src/lib/models/SearchDynamicWrapper.mjs +2 -0
  276. package/esm2022/src/lib/models/SearchOperator.mjs +6 -0
  277. package/esm2022/src/lib/models/SearchPropertySign.mjs +11 -0
  278. package/esm2022/src/lib/models/SearchPropertyValue.mjs +2 -0
  279. package/esm2022/src/lib/models/SearchPropertyValueType.mjs +11 -0
  280. package/esm2022/src/lib/models/Size.mjs +2 -0
  281. package/esm2022/src/lib/models/SortDirection.mjs +7 -0
  282. package/esm2022/src/lib/models/StageActorRule.mjs +8 -0
  283. package/esm2022/src/lib/models/SwimLane.mjs +2 -0
  284. package/esm2022/src/lib/models/Tag.mjs +2 -0
  285. package/esm2022/src/lib/models/Task.mjs +2 -0
  286. package/esm2022/src/lib/models/TaskAssignmentType.mjs +6 -0
  287. package/esm2022/src/lib/models/TaskNotification.mjs +2 -0
  288. package/esm2022/src/lib/models/TaskNotificationMessageType.mjs +6 -0
  289. package/esm2022/src/lib/models/TaskNotificationType.mjs +9 -0
  290. package/esm2022/src/lib/models/TaskStatus.mjs +9 -0
  291. package/esm2022/src/lib/models/Workflow.mjs +2 -0
  292. package/esm2022/src/lib/models/WorkflowAction.mjs +2 -0
  293. package/esm2022/src/lib/models/WorkflowOperation.mjs +2 -0
  294. package/esm2022/src/lib/models/WorkflowStage.mjs +2 -0
  295. package/esm2022/src/lib/models/actors.mjs +2 -0
  296. package/esm2022/src/lib/models/auth-mechanism.mjs +8 -0
  297. package/esm2022/src/lib/models/base.mjs +2 -0
  298. package/esm2022/src/lib/models/index.mjs +2 -0
  299. package/esm2022/src/lib/models/object-state.mjs +8 -0
  300. package/esm2022/src/lib/models/operation-type.mjs +7 -0
  301. package/esm2022/src/lib/models/paged.mjs +2 -0
  302. package/esm2022/src/lib/models/public-api.mjs +66 -0
  303. package/esm2022/src/lib/models/query-params.mjs +2 -0
  304. package/esm2022/src/lib/models/status.mjs +6 -0
  305. package/esm2022/src/lib/models/task-history.mjs +2 -0
  306. package/esm2022/src/lib/models/user-access-request-status.mjs +7 -0
  307. package/esm2022/src/lib/models/user.mjs +2 -0
  308. package/esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs +5 -0
  309. package/esm2022/src/lib/pipes/async-label.pipe.mjs +25 -0
  310. package/esm2022/src/lib/pipes/index.mjs +2 -0
  311. package/esm2022/src/lib/pipes/public-api.mjs +2 -0
  312. package/esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs +5 -0
  313. package/esm2022/src/lib/services/environment.service.mjs +26 -0
  314. package/esm2022/src/lib/services/http-web-request.service.mjs +92 -0
  315. package/esm2022/src/lib/services/index.mjs +2 -0
  316. package/esm2022/src/lib/services/label.service.mjs +134 -0
  317. package/esm2022/src/lib/services/public-api.mjs +5 -0
  318. package/esm2022/src/lib/services/util.service.mjs +75 -0
  319. package/esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs +5 -0
  320. package/esm2022/src/lib/shared/base-table-style.mjs +55 -0
  321. package/esm2022/src/lib/shared/components/base-data-view.component.mjs +154 -0
  322. package/esm2022/src/lib/shared/components/base-model-field.mjs +21 -0
  323. package/esm2022/src/lib/shared/index.mjs +7 -0
  324. package/esm2022/src/lib/shared/models/DataViewConfig.mjs +2 -0
  325. package/esm2022/src/lib/shared/public-api.mjs +13 -0
  326. package/esm2022/src/lib/shared/shared.module.mjs +103 -0
  327. package/esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs +5 -0
  328. package/esm2022/verben-workflow-ui.mjs +5 -0
  329. package/fesm2022/verben-workflow-ui-src-lib-base.mjs +1055 -0
  330. package/fesm2022/verben-workflow-ui-src-lib-base.mjs.map +1 -0
  331. package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs +484 -0
  332. package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs.map +1 -0
  333. package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +3891 -0
  334. package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +1 -0
  335. package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs +72 -0
  336. package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs.map +1 -0
  337. package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +83 -0
  338. package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +1 -0
  339. package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +159 -0
  340. package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +1 -0
  341. package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +430 -0
  342. package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +1 -0
  343. package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +257 -0
  344. package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +1 -0
  345. package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +1966 -0
  346. package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +1 -0
  347. package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs +766 -0
  348. package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs.map +1 -0
  349. package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs +78 -0
  350. package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs.map +1 -0
  351. package/fesm2022/verben-workflow-ui-src-lib-components-form-values.mjs +1226 -0
  352. package/fesm2022/verben-workflow-ui-src-lib-components-form-values.mjs.map +1 -0
  353. package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs +118 -0
  354. package/fesm2022/verben-workflow-ui-src-lib-components-form-viewer.mjs.map +1 -0
  355. package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs +812 -0
  356. package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +1 -0
  357. package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +33 -0
  358. package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs.map +1 -0
  359. package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +1338 -0
  360. package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +1 -0
  361. package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +845 -0
  362. package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +1 -0
  363. package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs +72 -0
  364. package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs.map +1 -0
  365. package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs +94 -0
  366. package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs.map +1 -0
  367. package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +302 -0
  368. package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +1 -0
  369. package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs +995 -0
  370. package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs.map +1 -0
  371. package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +1049 -0
  372. package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +1 -0
  373. package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs +203 -0
  374. package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs.map +1 -0
  375. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +5389 -0
  376. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -0
  377. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs +415 -0
  378. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-stage.mjs.map +1 -0
  379. package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs +365 -0
  380. package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs.map +1 -0
  381. package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +666 -0
  382. package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +1 -0
  383. package/fesm2022/verben-workflow-ui-src-lib-models.mjs +261 -0
  384. package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +1 -0
  385. package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +32 -0
  386. package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs.map +1 -0
  387. package/fesm2022/verben-workflow-ui-src-lib-services.mjs +322 -0
  388. package/fesm2022/verben-workflow-ui-src-lib-services.mjs.map +1 -0
  389. package/fesm2022/verben-workflow-ui-src-lib-shared.mjs +336 -0
  390. package/fesm2022/verben-workflow-ui-src-lib-shared.mjs.map +1 -0
  391. package/fesm2022/verben-workflow-ui.mjs +35 -0
  392. package/fesm2022/verben-workflow-ui.mjs.map +1 -0
  393. package/index.d.ts +5 -0
  394. package/package.json +199 -8
  395. package/public-api.d.ts +23 -0
  396. package/src/lib/base/core/base-data-page.facade.d.ts +138 -0
  397. package/src/lib/base/core/base-data-page.service.d.ts +61 -0
  398. package/src/lib/base/core/base-data-page.state.d.ts +73 -0
  399. package/src/lib/base/handlers/filter-handler.service.d.ts +34 -0
  400. package/src/lib/base/handlers/search-handler.service.d.ts +20 -0
  401. package/src/lib/base/handlers/sort-handler.service.d.ts +30 -0
  402. package/src/lib/base/models/api-payload.d.ts +2 -0
  403. package/src/lib/base/models/page-config.interface.d.ts +24 -0
  404. package/src/lib/base/models/page-filter-tab-option.interface.d.ts +19 -0
  405. package/src/lib/base/public-api.d.ts +9 -0
  406. package/src/lib/base/utils/column-helpers.d.ts +24 -0
  407. package/src/lib/components/actors/actors.columns.d.ts +3 -0
  408. package/src/lib/components/actors/actors.component.d.ts +79 -0
  409. package/src/lib/components/actors/actors.config.d.ts +10 -0
  410. package/src/lib/components/actors/actors.facade.d.ts +29 -0
  411. package/src/lib/components/actors/actors.form.component.d.ts +23 -0
  412. package/src/lib/components/actors/actors.module.d.ts +11 -0
  413. package/src/lib/components/actors/actors.service.d.ts +33 -0
  414. package/src/lib/components/actors/actors.state.d.ts +19 -0
  415. package/src/lib/components/designer/components/label-editor.component.d.ts +22 -0
  416. package/src/lib/components/designer/components/node-selector.component.d.ts +23 -0
  417. package/src/lib/components/designer/components/swimlane-label.component.d.ts +12 -0
  418. package/src/lib/components/designer/components/swimlane-popup.component.d.ts +18 -0
  419. package/src/lib/components/designer/components/wf-canvas.component.d.ts +37 -0
  420. package/src/lib/components/designer/components/wf-designer.component.d.ts +22 -0
  421. package/src/lib/components/designer/components/wf-toolbar.component.d.ts +17 -0
  422. package/src/lib/components/designer/models/types.d.ts +104 -0
  423. package/src/lib/components/designer/services/canvas-state.service.d.ts +24 -0
  424. package/src/lib/components/designer/services/connection-segment-interaction.service.d.ts +36 -0
  425. package/src/lib/components/designer/services/connection.service.d.ts +47 -0
  426. package/src/lib/components/designer/services/keyboard-handler.service.d.ts +9 -0
  427. package/src/lib/components/designer/services/label-management.service.d.ts +14 -0
  428. package/src/lib/components/designer/services/node-finder.service.d.ts +10 -0
  429. package/src/lib/components/designer/services/node-interaction.service.d.ts +19 -0
  430. package/src/lib/components/designer/services/node-precondition.service.d.ts +37 -0
  431. package/src/lib/components/designer/services/node-selection.service.d.ts +19 -0
  432. package/src/lib/components/designer/services/orthogonal-router.service.d.ts +36 -0
  433. package/src/lib/components/designer/services/position-update.service.d.ts +10 -0
  434. package/src/lib/components/designer/services/rendering.service.d.ts +67 -0
  435. package/src/lib/components/designer/services/swimlane-management.service.d.ts +19 -0
  436. package/src/lib/components/designer/services/swimlane-stats.service.d.ts +19 -0
  437. package/src/lib/components/designer/services/viewport.service.d.ts +10 -0
  438. package/src/lib/components/designer/services/wf-facade.service.d.ts +67 -0
  439. package/src/lib/components/designer/services/wf-mapper.service.d.ts +26 -0
  440. package/src/lib/components/designer/services/wf-persistence.service.d.ts +21 -0
  441. package/src/lib/components/designer/services/wf-state.service.d.ts +30 -0
  442. package/src/lib/components/expiration/expiration.component.d.ts +20 -0
  443. package/src/lib/components/expiration/expiration.module.d.ts +9 -0
  444. package/src/lib/components/file-render/file-render.component.d.ts +17 -0
  445. package/src/lib/components/file-render/file-render.module.d.ts +10 -0
  446. package/src/lib/components/file-upload/file-upload.component.d.ts +22 -0
  447. package/src/lib/components/file-upload/file-upload.module.d.ts +11 -0
  448. package/src/lib/components/flowable-status/flowable-status.columns.d.ts +3 -0
  449. package/src/lib/components/flowable-status/flowable-status.component.d.ts +80 -0
  450. package/src/lib/components/flowable-status/flowable-status.config.d.ts +11 -0
  451. package/src/lib/components/flowable-status/flowable-status.facade.d.ts +26 -0
  452. package/src/lib/components/flowable-status/flowable-status.form.component.d.ts +18 -0
  453. package/src/lib/components/flowable-status/flowable-status.module.d.ts +11 -0
  454. package/src/lib/components/flowable-status/flowable-status.service.d.ts +23 -0
  455. package/src/lib/components/flowable-status/flowable-status.state.d.ts +11 -0
  456. package/src/lib/components/flowable-status/public-api.d.ts +2 -0
  457. package/src/lib/components/form-control/form-control.component.d.ts +39 -0
  458. package/src/lib/components/form-control/form-control.module.d.ts +11 -0
  459. package/src/lib/components/form-group/base-table-style.d.ts +1 -0
  460. package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +136 -0
  461. package/src/lib/components/form-group/form-fields/form-fields.module.d.ts +11 -0
  462. package/src/lib/components/form-group/form-fields/form-fields.service.d.ts +9 -0
  463. package/src/lib/components/form-group/form-group.component.d.ts +108 -0
  464. package/src/lib/components/form-group/form-group.module.d.ts +15 -0
  465. package/src/lib/components/form-group/form-group.service.d.ts +9 -0
  466. package/src/lib/components/form-response/form-response.component.d.ts +106 -0
  467. package/src/lib/components/form-response/form-response.module.d.ts +12 -0
  468. package/src/lib/components/form-response/form-response.service.d.ts +9 -0
  469. package/src/lib/components/form-timer/form-timer.component.d.ts +13 -0
  470. package/src/lib/components/form-timer/form-timer.module.d.ts +9 -0
  471. package/src/lib/components/form-values/form-values.component.d.ts +118 -0
  472. package/src/lib/components/form-values/form-values.module.d.ts +10 -0
  473. package/src/lib/components/form-values/form-values.service.d.ts +9 -0
  474. package/src/lib/components/form-viewer/form-viewer.component.d.ts +17 -0
  475. package/src/lib/components/form-viewer/form-viewer.module.d.ts +11 -0
  476. package/src/lib/components/forms/base-table-style.d.ts +1 -0
  477. package/src/lib/components/forms/forms.component.d.ts +88 -0
  478. package/src/lib/components/forms/forms.module.d.ts +8 -0
  479. package/src/lib/components/forms/forms.service.d.ts +9 -0
  480. package/src/lib/components/journal/journal.component.d.ts +5 -0
  481. package/src/lib/components/journal/journal.module.d.ts +8 -0
  482. package/src/lib/components/my-queue/my-queue.columns.d.ts +3 -0
  483. package/src/lib/components/my-queue/my-queue.component.d.ts +58 -0
  484. package/src/lib/components/my-queue/my-queue.facade.d.ts +47 -0
  485. package/src/lib/components/my-queue/my-queue.module.d.ts +15 -0
  486. package/src/lib/components/my-queue/my-queue.service.d.ts +65 -0
  487. package/src/lib/components/my-queue/my-queue.state.d.ts +39 -0
  488. package/src/lib/components/my-queue/tasks.form.component.d.ts +48 -0
  489. package/src/lib/components/operation-popup/operation-popup.component.d.ts +62 -0
  490. package/src/lib/components/operation-popup/operation-popup.facade.d.ts +32 -0
  491. package/src/lib/components/operation-popup/operation-popup.service.d.ts +23 -0
  492. package/src/lib/components/operation-popup/operation-popup.state.d.ts +20 -0
  493. package/src/lib/components/stage-details/stage-details.component.d.ts +24 -0
  494. package/src/lib/components/stage-details/stage-details.module.d.ts +9 -0
  495. package/src/lib/components/task-form/task-form.component.d.ts +10 -0
  496. package/src/lib/components/task-form/task-form.module.d.ts +10 -0
  497. package/src/lib/components/task-history/task-history.component.d.ts +41 -0
  498. package/src/lib/components/task-history/task-history.module.d.ts +11 -0
  499. package/src/lib/components/task-history/task-history.service.d.ts +13 -0
  500. package/src/lib/components/task-notification/base-table-style.d.ts +1 -0
  501. package/src/lib/components/task-notification/task-notification.component.d.ts +89 -0
  502. package/src/lib/components/task-notification/task-notification.module.d.ts +8 -0
  503. package/src/lib/components/task-notification/task-notification.service.d.ts +32 -0
  504. package/src/lib/components/tasks/tasks.columns.d.ts +11 -0
  505. package/src/lib/components/tasks/tasks.component.d.ts +40 -0
  506. package/src/lib/components/tasks/tasks.facade.d.ts +44 -0
  507. package/src/lib/components/tasks/tasks.form.component.d.ts +40 -0
  508. package/src/lib/components/tasks/tasks.models.d.ts +4 -0
  509. package/src/lib/components/tasks/tasks.module.d.ts +17 -0
  510. package/src/lib/components/tasks/tasks.service.d.ts +58 -0
  511. package/src/lib/components/tasks/tasks.state.d.ts +46 -0
  512. package/src/lib/components/wf/wf.columns.d.ts +3 -0
  513. package/src/lib/components/wf/wf.component.d.ts +16 -0
  514. package/src/lib/components/wf/wf.module.d.ts +10 -0
  515. package/src/lib/components/wf/wf.service.d.ts +51 -0
  516. package/src/lib/components/workflow/column.d.ts +3 -0
  517. package/src/lib/components/workflow/helper.d.ts +2 -0
  518. package/src/lib/components/workflow/table-style.d.ts +1 -0
  519. package/src/lib/components/workflow/workflow.component.d.ts +57 -0
  520. package/src/lib/components/workflow/workflow.module.d.ts +9 -0
  521. package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.d.ts +34 -0
  522. package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.d.ts +25 -0
  523. package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.d.ts +38 -0
  524. package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.d.ts +29 -0
  525. package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.d.ts +292 -0
  526. package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.d.ts +39 -0
  527. package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.d.ts +5 -0
  528. package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.d.ts +47 -0
  529. package/src/lib/components/workflow-designer/services/connection.service.d.ts +101 -0
  530. package/src/lib/components/workflow-designer/services/node-management.service.d.ts +73 -0
  531. package/src/lib/components/workflow-designer/services/popup.service.d.ts +147 -0
  532. package/src/lib/components/workflow-designer/services/swimlane.service.d.ts +66 -0
  533. package/src/lib/components/workflow-designer/services/transformer.service.d.ts +51 -0
  534. package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.d.ts +43 -0
  535. package/src/lib/components/workflow-designer/stage-node/stage-node.component.d.ts +58 -0
  536. package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.d.ts +49 -0
  537. package/src/lib/components/workflow-designer/workflow-data.service.d.ts +59 -0
  538. package/src/lib/components/workflow-designer/workflow-designer.component.d.ts +121 -0
  539. package/src/lib/components/workflow-designer/workflow-designer.module.d.ts +41 -0
  540. package/src/lib/components/workflow-designer/workflow-designer.state.d.ts +278 -0
  541. package/src/lib/components/workflow-designer/workflow-designer.types.d.ts +130 -0
  542. package/src/lib/components/workflow-stage/workflow-stage.component.d.ts +78 -0
  543. package/src/lib/components/workflow-stage/workflow-stage.module.d.ts +12 -0
  544. package/src/lib/components/workflows/public-api.d.ts +4 -0
  545. package/src/lib/components/workflows/workflow-form/workflow-form.component.d.ts +28 -0
  546. package/src/lib/components/workflows/workflows.api.d.ts +38 -0
  547. package/src/lib/components/workflows/workflows.columns.d.ts +3 -0
  548. package/src/lib/components/workflows/workflows.component.d.ts +98 -0
  549. package/src/lib/components/workflows/workflows.config.d.ts +10 -0
  550. package/src/lib/components/workflows/workflows.facade.d.ts +41 -0
  551. package/src/lib/components/workflows/workflows.module.d.ts +11 -0
  552. package/src/lib/components/workflows/workflows.service.d.ts +32 -0
  553. package/src/lib/components/workflows/workflows.state.d.ts +15 -0
  554. package/src/lib/models/ActionHistory.d.ts +16 -0
  555. package/src/lib/models/ActionType.d.ts +9 -0
  556. package/src/lib/models/Actor.d.ts +11 -0
  557. package/src/lib/models/ActorTag.d.ts +6 -0
  558. package/src/lib/models/Coord.d.ts +4 -0
  559. package/src/lib/models/DataExtensionValue.d.ts +4 -0
  560. package/src/lib/models/DataType.d.ts +25 -0
  561. package/src/lib/models/EAVDataType.d.ts +18 -0
  562. package/src/lib/models/EAVEntity.d.ts +4 -0
  563. package/src/lib/models/EntityDataValue.d.ts +6 -0
  564. package/src/lib/models/EntityProperty.d.ts +7 -0
  565. package/src/lib/models/ErrorResponse.d.ts +6 -0
  566. package/src/lib/models/Escalation.d.ts +14 -0
  567. package/src/lib/models/EscalationCycle.d.ts +12 -0
  568. package/src/lib/models/EscalationStage.d.ts +10 -0
  569. package/src/lib/models/EscalationType.d.ts +5 -0
  570. package/src/lib/models/File.d.ts +7 -0
  571. package/src/lib/models/FilterTypes.d.ts +6 -0
  572. package/src/lib/models/FlowableStatus.d.ts +5 -0
  573. package/src/lib/models/Form.d.ts +13 -0
  574. package/src/lib/models/FormEntity.d.ts +13 -0
  575. package/src/lib/models/FormFill.d.ts +15 -0
  576. package/src/lib/models/FormProperty.d.ts +15 -0
  577. package/src/lib/models/FormValue.d.ts +13 -0
  578. package/src/lib/models/MailConfig.d.ts +12 -0
  579. package/src/lib/models/MessageConfig.d.ts +3 -0
  580. package/src/lib/models/MessageMedium.d.ts +4 -0
  581. package/src/lib/models/OperationAction.d.ts +14 -0
  582. package/src/lib/models/PagedResult.d.ts +5 -0
  583. package/src/lib/models/PeriodMode.d.ts +10 -0
  584. package/src/lib/models/PermissionConfig.d.ts +7 -0
  585. package/src/lib/models/Property.d.ts +5 -0
  586. package/src/lib/models/ReportSchedule.d.ts +22 -0
  587. package/src/lib/models/ReportType.d.ts +5 -0
  588. package/src/lib/models/Resource.d.ts +20 -0
  589. package/src/lib/models/ResponseKeyValue.d.ts +5 -0
  590. package/src/lib/models/SMSConfig.d.ts +10 -0
  591. package/src/lib/models/SearchDynamicWrapper.d.ts +5 -0
  592. package/src/lib/models/SearchOperator.d.ts +4 -0
  593. package/src/lib/models/SearchPropertySign.d.ts +9 -0
  594. package/src/lib/models/SearchPropertyValue.d.ts +12 -0
  595. package/src/lib/models/SearchPropertyValueType.d.ts +9 -0
  596. package/src/lib/models/Size.d.ts +4 -0
  597. package/src/lib/models/SortDirection.d.ts +5 -0
  598. package/src/lib/models/StageActorRule.d.ts +6 -0
  599. package/src/lib/models/SwimLane.d.ts +13 -0
  600. package/src/lib/models/Tag.d.ts +6 -0
  601. package/src/lib/models/Task.d.ts +32 -0
  602. package/src/lib/models/TaskAssignmentType.d.ts +4 -0
  603. package/src/lib/models/TaskNotification.d.ts +14 -0
  604. package/src/lib/models/TaskNotificationMessageType.d.ts +4 -0
  605. package/src/lib/models/TaskNotificationType.d.ts +7 -0
  606. package/src/lib/models/TaskStatus.d.ts +7 -0
  607. package/src/lib/models/Workflow.d.ts +21 -0
  608. package/src/lib/models/WorkflowAction.d.ts +14 -0
  609. package/src/lib/models/WorkflowOperation.d.ts +6 -0
  610. package/src/lib/models/WorkflowStage.d.ts +26 -0
  611. package/src/lib/models/actors.d.ts +8 -0
  612. package/src/lib/models/auth-mechanism.d.ts +13 -0
  613. package/src/lib/models/base.d.ts +13 -0
  614. package/src/lib/models/object-state.d.ts +6 -0
  615. package/src/lib/models/operation-type.d.ts +5 -0
  616. package/src/lib/models/paged.d.ts +9 -0
  617. package/src/lib/models/query-params.d.ts +8 -0
  618. package/src/lib/models/status.d.ts +4 -0
  619. package/src/lib/models/task-history.d.ts +17 -0
  620. package/src/lib/models/user-access-request-status.d.ts +5 -0
  621. package/src/lib/models/user.d.ts +24 -0
  622. package/src/lib/pipes/async-label.pipe.d.ts +11 -0
  623. package/src/lib/services/environment.service.d.ts +23 -0
  624. package/src/lib/services/http-web-request.service.d.ts +23 -0
  625. package/src/lib/services/label.service.d.ts +15 -0
  626. package/src/lib/services/public-api.d.ts +4 -0
  627. package/src/lib/services/util.service.d.ts +20 -0
  628. package/src/lib/shared/base-table-style.d.ts +2 -0
  629. package/src/lib/shared/components/base-data-view.component.d.ts +41 -0
  630. package/src/lib/shared/components/base-model-field.d.ts +26 -0
  631. package/src/lib/shared/models/DataViewConfig.d.ts +11 -0
  632. package/src/lib/shared/public-api.d.ts +5 -0
  633. package/src/lib/shared/shared.module.d.ts +11 -0
  634. package/ng-package.json +0 -15
  635. package/src/lib/base/core/base-data-page.facade.ts +0 -533
  636. package/src/lib/base/core/base-data-page.service.ts +0 -222
  637. package/src/lib/base/core/base-data-page.state.ts +0 -287
  638. package/src/lib/base/handlers/filter-handler.service.ts +0 -169
  639. package/src/lib/base/handlers/search-handler.service.ts +0 -33
  640. package/src/lib/base/handlers/sort-handler.service.ts +0 -93
  641. package/src/lib/base/models/api-payload.ts +0 -13
  642. package/src/lib/base/models/page-config.interface.ts +0 -49
  643. package/src/lib/base/models/page-filter-tab-option.interface.ts +0 -20
  644. package/src/lib/base/ng-package.json +0 -6
  645. package/src/lib/base/public-api.ts +0 -16
  646. package/src/lib/base/utils/column-helpers.ts +0 -77
  647. package/src/lib/components/actors/actors.columns.ts +0 -40
  648. package/src/lib/components/actors/actors.component.css +0 -0
  649. package/src/lib/components/actors/actors.component.html +0 -320
  650. package/src/lib/components/actors/actors.component.spec.ts +0 -23
  651. package/src/lib/components/actors/actors.component.ts +0 -221
  652. package/src/lib/components/actors/actors.config.ts +0 -55
  653. package/src/lib/components/actors/actors.facade.ts +0 -71
  654. package/src/lib/components/actors/actors.form.component.html +0 -37
  655. package/src/lib/components/actors/actors.form.component.ts +0 -69
  656. package/src/lib/components/actors/actors.model.ts +0 -4
  657. package/src/lib/components/actors/actors.module.ts +0 -13
  658. package/src/lib/components/actors/actors.service.ts +0 -85
  659. package/src/lib/components/actors/actors.state.ts +0 -31
  660. package/src/lib/components/actors/ng-package.json +0 -6
  661. package/src/lib/components/designer/components/label-editor.component.ts +0 -188
  662. package/src/lib/components/designer/components/node-selector.component.ts +0 -208
  663. package/src/lib/components/designer/components/swimlane-label.component.ts +0 -102
  664. package/src/lib/components/designer/components/swimlane-popup.component.ts +0 -51
  665. package/src/lib/components/designer/components/wf-canvas.component.ts +0 -495
  666. package/src/lib/components/designer/components/wf-designer.component.ts +0 -182
  667. package/src/lib/components/designer/components/wf-node.component.ts +0 -91
  668. package/src/lib/components/designer/components/wf-properties-popup.component.ts +0 -257
  669. package/src/lib/components/designer/components/wf-toolbar.component.ts +0 -84
  670. package/src/lib/components/designer/models/types.ts +0 -133
  671. package/src/lib/components/designer/ng-package.json +0 -6
  672. package/src/lib/components/designer/services/canvas-state.service.ts +0 -63
  673. package/src/lib/components/designer/services/connection-segment-interaction.service.ts +0 -141
  674. package/src/lib/components/designer/services/connection.service.ts +0 -351
  675. package/src/lib/components/designer/services/keyboard-handler.service.ts +0 -39
  676. package/src/lib/components/designer/services/label-management.service.ts +0 -72
  677. package/src/lib/components/designer/services/node-finder.service.ts +0 -34
  678. package/src/lib/components/designer/services/node-interaction.service.ts +0 -135
  679. package/src/lib/components/designer/services/node-placement.service.ts +0 -77
  680. package/src/lib/components/designer/services/node-precondition.service.ts +0 -138
  681. package/src/lib/components/designer/services/node-renderer.service.ts +0 -97
  682. package/src/lib/components/designer/services/node-selection.service.ts +0 -110
  683. package/src/lib/components/designer/services/orthogonal-router.service.ts +0 -233
  684. package/src/lib/components/designer/services/position-update.service.ts +0 -56
  685. package/src/lib/components/designer/services/rendering.service.ts +0 -296
  686. package/src/lib/components/designer/services/swimlane-management.service.ts +0 -189
  687. package/src/lib/components/designer/services/swimlane-stats.service.ts +0 -53
  688. package/src/lib/components/designer/services/tag-helper.service.ts +0 -80
  689. package/src/lib/components/designer/services/viewport.service.ts +0 -30
  690. package/src/lib/components/designer/services/wf-facade.service.ts +0 -287
  691. package/src/lib/components/designer/services/wf-mapper.service.ts +0 -450
  692. package/src/lib/components/designer/services/wf-persistence.service.ts +0 -184
  693. package/src/lib/components/designer/services/wf-state.service.ts +0 -143
  694. package/src/lib/components/expiration/expiration.component.css +0 -0
  695. package/src/lib/components/expiration/expiration.component.html +0 -21
  696. package/src/lib/components/expiration/expiration.component.spec.ts +0 -23
  697. package/src/lib/components/expiration/expiration.component.ts +0 -52
  698. package/src/lib/components/expiration/expiration.module.ts +0 -11
  699. package/src/lib/components/expiration/ng-package.json +0 -6
  700. package/src/lib/components/file-render/file-render.component.css +0 -4
  701. package/src/lib/components/file-render/file-render.component.html +0 -21
  702. package/src/lib/components/file-render/file-render.component.spec.ts +0 -23
  703. package/src/lib/components/file-render/file-render.component.ts +0 -34
  704. package/src/lib/components/file-render/file-render.module.ts +0 -19
  705. package/src/lib/components/file-render/ng-package.json +0 -6
  706. package/src/lib/components/file-upload/file-upload.component.css +0 -0
  707. package/src/lib/components/file-upload/file-upload.component.html +0 -69
  708. package/src/lib/components/file-upload/file-upload.component.spec.ts +0 -23
  709. package/src/lib/components/file-upload/file-upload.component.ts +0 -87
  710. package/src/lib/components/file-upload/file-upload.module.ts +0 -40
  711. package/src/lib/components/file-upload/ng-package.json +0 -6
  712. package/src/lib/components/flowable-status/flowable-status.columns.ts +0 -23
  713. package/src/lib/components/flowable-status/flowable-status.component.css +0 -1
  714. package/src/lib/components/flowable-status/flowable-status.component.html +0 -166
  715. package/src/lib/components/flowable-status/flowable-status.component.ts +0 -247
  716. package/src/lib/components/flowable-status/flowable-status.config.ts +0 -54
  717. package/src/lib/components/flowable-status/flowable-status.facade.ts +0 -70
  718. package/src/lib/components/flowable-status/flowable-status.form.component.html +0 -13
  719. package/src/lib/components/flowable-status/flowable-status.form.component.ts +0 -51
  720. package/src/lib/components/flowable-status/flowable-status.model.ts +0 -3
  721. package/src/lib/components/flowable-status/flowable-status.module.ts +0 -13
  722. package/src/lib/components/flowable-status/flowable-status.service.ts +0 -39
  723. package/src/lib/components/flowable-status/flowable-status.state.ts +0 -10
  724. package/src/lib/components/flowable-status/ng-package.json +0 -6
  725. package/src/lib/components/flowable-status/public-api.ts +0 -3
  726. package/src/lib/components/form-control/form-control.component.css +0 -0
  727. package/src/lib/components/form-control/form-control.component.html +0 -259
  728. package/src/lib/components/form-control/form-control.component.spec.ts +0 -23
  729. package/src/lib/components/form-control/form-control.component.ts +0 -197
  730. package/src/lib/components/form-control/form-control.module.ts +0 -47
  731. package/src/lib/components/form-control/ng-package.json +0 -6
  732. package/src/lib/components/form-group/base-table-style.ts +0 -52
  733. package/src/lib/components/form-group/form-fields/form-fields.component.css +0 -114
  734. package/src/lib/components/form-group/form-fields/form-fields.component.html +0 -621
  735. package/src/lib/components/form-group/form-fields/form-fields.component.spec.ts +0 -23
  736. package/src/lib/components/form-group/form-fields/form-fields.component.ts +0 -1115
  737. package/src/lib/components/form-group/form-fields/form-fields.module.ts +0 -48
  738. package/src/lib/components/form-group/form-fields/form-fields.service.ts +0 -70
  739. package/src/lib/components/form-group/form-fields/helper.ts +0 -45
  740. package/src/lib/components/form-group/form-group.component.css +0 -113
  741. package/src/lib/components/form-group/form-group.component.html +0 -486
  742. package/src/lib/components/form-group/form-group.component.spec.ts +0 -22
  743. package/src/lib/components/form-group/form-group.component.ts +0 -789
  744. package/src/lib/components/form-group/form-group.module.ts +0 -54
  745. package/src/lib/components/form-group/form-group.service.ts +0 -53
  746. package/src/lib/components/form-group/helper.ts +0 -45
  747. package/src/lib/components/form-group/ng-package.json +0 -6
  748. package/src/lib/components/form-response/form-response.component.css +0 -114
  749. package/src/lib/components/form-response/form-response.component.html +0 -188
  750. package/src/lib/components/form-response/form-response.component.spec.ts +0 -23
  751. package/src/lib/components/form-response/form-response.component.ts +0 -735
  752. package/src/lib/components/form-response/form-response.module.ts +0 -48
  753. package/src/lib/components/form-response/form-response.service.ts +0 -52
  754. package/src/lib/components/form-response/helper.ts +0 -222
  755. package/src/lib/components/form-response/ng-package.json +0 -6
  756. package/src/lib/components/form-timer/form-timer.component.css +0 -0
  757. package/src/lib/components/form-timer/form-timer.component.html +0 -47
  758. package/src/lib/components/form-timer/form-timer.component.spec.ts +0 -23
  759. package/src/lib/components/form-timer/form-timer.component.ts +0 -50
  760. package/src/lib/components/form-timer/form-timer.module.ts +0 -19
  761. package/src/lib/components/form-timer/ng-package.json +0 -6
  762. package/src/lib/components/form-values/form-values.component.css +0 -48
  763. package/src/lib/components/form-values/form-values.component.html +0 -225
  764. package/src/lib/components/form-values/form-values.component.ts +0 -1437
  765. package/src/lib/components/form-values/form-values.module.ts +0 -13
  766. package/src/lib/components/form-values/form-values.service.ts +0 -45
  767. package/src/lib/components/form-values/ng-package.json +0 -6
  768. package/src/lib/components/form-viewer/form-viewer.component.css +0 -4
  769. package/src/lib/components/form-viewer/form-viewer.component.html +0 -62
  770. package/src/lib/components/form-viewer/form-viewer.component.spec.ts +0 -23
  771. package/src/lib/components/form-viewer/form-viewer.component.ts +0 -31
  772. package/src/lib/components/form-viewer/form-viewer.module.ts +0 -52
  773. package/src/lib/components/form-viewer/ng-package.json +0 -6
  774. package/src/lib/components/forms/base-table-style.ts +0 -52
  775. package/src/lib/components/forms/forms.component.css +0 -126
  776. package/src/lib/components/forms/forms.component.html +0 -538
  777. package/src/lib/components/forms/forms.component.spec.ts +0 -23
  778. package/src/lib/components/forms/forms.component.ts +0 -810
  779. package/src/lib/components/forms/forms.module.ts +0 -10
  780. package/src/lib/components/forms/forms.service.spec.ts +0 -16
  781. package/src/lib/components/forms/forms.service.ts +0 -65
  782. package/src/lib/components/forms/ng-package.json +0 -6
  783. package/src/lib/components/journal/journal.component.css +0 -0
  784. package/src/lib/components/journal/journal.component.html +0 -1
  785. package/src/lib/components/journal/journal.component.spec.ts +0 -23
  786. package/src/lib/components/journal/journal.component.ts +0 -10
  787. package/src/lib/components/journal/journal.module.ts +0 -10
  788. package/src/lib/components/journal/ng-package.json +0 -6
  789. package/src/lib/components/my-queue/my-queue.columns.ts +0 -37
  790. package/src/lib/components/my-queue/my-queue.component.css +0 -8
  791. package/src/lib/components/my-queue/my-queue.component.html +0 -319
  792. package/src/lib/components/my-queue/my-queue.component.spec.ts +0 -23
  793. package/src/lib/components/my-queue/my-queue.component.ts +0 -409
  794. package/src/lib/components/my-queue/my-queue.facade.ts +0 -670
  795. package/src/lib/components/my-queue/my-queue.helper.ts +0 -71
  796. package/src/lib/components/my-queue/my-queue.module.ts +0 -28
  797. package/src/lib/components/my-queue/my-queue.service.spec.ts +0 -16
  798. package/src/lib/components/my-queue/my-queue.service.ts +0 -262
  799. package/src/lib/components/my-queue/my-queue.state.ts +0 -133
  800. package/src/lib/components/my-queue/ng-package.json +0 -6
  801. package/src/lib/components/my-queue/tasks.form.component.html +0 -168
  802. package/src/lib/components/my-queue/tasks.form.component.ts +0 -201
  803. package/src/lib/components/operation-popup/ng-package.json +0 -6
  804. package/src/lib/components/operation-popup/operation-popup.component.css +0 -1
  805. package/src/lib/components/operation-popup/operation-popup.component.html +0 -107
  806. package/src/lib/components/operation-popup/operation-popup.component.ts +0 -476
  807. package/src/lib/components/operation-popup/operation-popup.facade.ts +0 -435
  808. package/src/lib/components/operation-popup/operation-popup.service.ts +0 -143
  809. package/src/lib/components/operation-popup/operation-popup.state.ts +0 -49
  810. package/src/lib/components/stage-details/ng-package.json +0 -6
  811. package/src/lib/components/stage-details/stage-details.component.css +0 -0
  812. package/src/lib/components/stage-details/stage-details.component.html +0 -95
  813. package/src/lib/components/stage-details/stage-details.component.spec.ts +0 -23
  814. package/src/lib/components/stage-details/stage-details.component.ts +0 -43
  815. package/src/lib/components/stage-details/stage-details.module.ts +0 -11
  816. package/src/lib/components/task-form/ng-package.json +0 -6
  817. package/src/lib/components/task-form/task-form.component.css +0 -0
  818. package/src/lib/components/task-form/task-form.component.html +0 -38
  819. package/src/lib/components/task-form/task-form.component.spec.ts +0 -23
  820. package/src/lib/components/task-form/task-form.component.ts +0 -15
  821. package/src/lib/components/task-form/task-form.module.ts +0 -31
  822. package/src/lib/components/task-history/ng-package.json +0 -6
  823. package/src/lib/components/task-history/task-history.component.css +0 -334
  824. package/src/lib/components/task-history/task-history.component.html +0 -292
  825. package/src/lib/components/task-history/task-history.component.spec.ts +0 -23
  826. package/src/lib/components/task-history/task-history.component.ts +0 -284
  827. package/src/lib/components/task-history/task-history.module.ts +0 -12
  828. package/src/lib/components/task-history/task-history.service.ts +0 -32
  829. package/src/lib/components/task-notification/base-table-style.ts +0 -52
  830. package/src/lib/components/task-notification/ng-package.json +0 -6
  831. package/src/lib/components/task-notification/task-notification.component.css +0 -94
  832. package/src/lib/components/task-notification/task-notification.component.html +0 -585
  833. package/src/lib/components/task-notification/task-notification.component.spec.ts +0 -23
  834. package/src/lib/components/task-notification/task-notification.component.ts +0 -793
  835. package/src/lib/components/task-notification/task-notification.module.ts +0 -10
  836. package/src/lib/components/task-notification/task-notification.service.spec.ts +0 -16
  837. package/src/lib/components/task-notification/task-notification.service.ts +0 -397
  838. package/src/lib/components/tasks/ng-package.json +0 -6
  839. package/src/lib/components/tasks/tasks.columns.ts +0 -50
  840. package/src/lib/components/tasks/tasks.component.css +0 -4
  841. package/src/lib/components/tasks/tasks.component.html +0 -385
  842. package/src/lib/components/tasks/tasks.component.spec.ts +0 -23
  843. package/src/lib/components/tasks/tasks.component.ts +0 -212
  844. package/src/lib/components/tasks/tasks.facade.ts +0 -482
  845. package/src/lib/components/tasks/tasks.form.component.html +0 -181
  846. package/src/lib/components/tasks/tasks.form.component.ts +0 -174
  847. package/src/lib/components/tasks/tasks.helper.ts +0 -71
  848. package/src/lib/components/tasks/tasks.models.ts +0 -4
  849. package/src/lib/components/tasks/tasks.module.ts +0 -29
  850. package/src/lib/components/tasks/tasks.service.spec.ts +0 -16
  851. package/src/lib/components/tasks/tasks.service.ts +0 -215
  852. package/src/lib/components/tasks/tasks.state.ts +0 -144
  853. package/src/lib/components/wf/ng-package.json +0 -6
  854. package/src/lib/components/wf/wf.columns.ts +0 -36
  855. package/src/lib/components/wf/wf.component.css +0 -0
  856. package/src/lib/components/wf/wf.component.html +0 -35
  857. package/src/lib/components/wf/wf.component.spec.ts +0 -23
  858. package/src/lib/components/wf/wf.component.ts +0 -71
  859. package/src/lib/components/wf/wf.facade.ts +0 -266
  860. package/src/lib/components/wf/wf.helper.ts +0 -25
  861. package/src/lib/components/wf/wf.module.ts +0 -14
  862. package/src/lib/components/wf/wf.service.spec.ts +0 -16
  863. package/src/lib/components/wf/wf.service.ts +0 -98
  864. package/src/lib/components/wf/wf.state.ts +0 -99
  865. package/src/lib/components/workflow/column.ts +0 -40
  866. package/src/lib/components/workflow/helper.ts +0 -53
  867. package/src/lib/components/workflow/ng-package.json +0 -6
  868. package/src/lib/components/workflow/table-style.ts +0 -53
  869. package/src/lib/components/workflow/workflow.component.css +0 -0
  870. package/src/lib/components/workflow/workflow.component.html +0 -226
  871. package/src/lib/components/workflow/workflow.component.spec.ts +0 -23
  872. package/src/lib/components/workflow/workflow.component.ts +0 -224
  873. package/src/lib/components/workflow/workflow.module.ts +0 -11
  874. package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.css +0 -9
  875. package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.html +0 -134
  876. package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.spec.ts +0 -23
  877. package/src/lib/components/workflow-designer/action-dialog/action-dialog.component.ts +0 -147
  878. package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.css +0 -0
  879. package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.html +0 -45
  880. package/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.ts +0 -83
  881. package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.css +0 -7
  882. package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.html +0 -89
  883. package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.spec.ts +0 -23
  884. package/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.ts +0 -87
  885. package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.css +0 -11
  886. package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.html +0 -74
  887. package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.spec.ts +0 -23
  888. package/src/lib/components/workflow-designer/decision-popup/decision-popup.component.ts +0 -80
  889. package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.css +0 -70
  890. package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.html +0 -454
  891. package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.spec.ts +0 -23
  892. package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.ts +0 -1654
  893. package/src/lib/components/workflow-designer/designer-canvas/designer-canvas.connection-drop.spec.ts +0 -100
  894. package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.css +0 -63
  895. package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.html +0 -49
  896. package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.spec.ts +0 -23
  897. package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.ts +0 -86
  898. package/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.types.ts +0 -7
  899. package/src/lib/components/workflow-designer/docs/01-architecture.md +0 -145
  900. package/src/lib/components/workflow-designer/docs/02-coordinate-system.md +0 -171
  901. package/src/lib/components/workflow-designer/docs/03-data-model.md +0 -163
  902. package/src/lib/components/workflow-designer/docs/04-interactions.md +0 -156
  903. package/src/lib/components/workflow-designer/docs/05-persistence.md +0 -117
  904. package/src/lib/components/workflow-designer/docs/06-known-issues.md +0 -181
  905. package/src/lib/components/workflow-designer/docs/07-integration.md +0 -178
  906. package/src/lib/components/workflow-designer/docs/08-api-reference.md +0 -187
  907. package/src/lib/components/workflow-designer/docs/09-development.md +0 -141
  908. package/src/lib/components/workflow-designer/docs/README.md +0 -81
  909. package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.css +0 -13
  910. package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.html +0 -204
  911. package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.spec.ts +0 -23
  912. package/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.ts +0 -308
  913. package/src/lib/components/workflow-designer/ng-package.json +0 -6
  914. package/src/lib/components/workflow-designer/services/connection.service.ts +0 -325
  915. package/src/lib/components/workflow-designer/services/node-management.service.ts +0 -372
  916. package/src/lib/components/workflow-designer/services/popup.service.ts +0 -276
  917. package/src/lib/components/workflow-designer/services/swimlane.service.ts +0 -176
  918. package/src/lib/components/workflow-designer/services/transformer.service.ts +0 -318
  919. package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.css +0 -0
  920. package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.html +0 -208
  921. package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.spec.ts +0 -23
  922. package/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.ts +0 -194
  923. package/src/lib/components/workflow-designer/stage-node/stage-node.component.css +0 -15
  924. package/src/lib/components/workflow-designer/stage-node/stage-node.component.html +0 -93
  925. package/src/lib/components/workflow-designer/stage-node/stage-node.component.spec.ts +0 -23
  926. package/src/lib/components/workflow-designer/stage-node/stage-node.component.ts +0 -258
  927. package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.css +0 -0
  928. package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.html +0 -150
  929. package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.spec.ts +0 -23
  930. package/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.ts +0 -153
  931. package/src/lib/components/workflow-designer/workflow-data.service.spec.ts +0 -16
  932. package/src/lib/components/workflow-designer/workflow-data.service.ts +0 -290
  933. package/src/lib/components/workflow-designer/workflow-designer.component.css +0 -59
  934. package/src/lib/components/workflow-designer/workflow-designer.component.html +0 -29
  935. package/src/lib/components/workflow-designer/workflow-designer.component.spec.ts +0 -23
  936. package/src/lib/components/workflow-designer/workflow-designer.component.ts +0 -548
  937. package/src/lib/components/workflow-designer/workflow-designer.models.ts +0 -114
  938. package/src/lib/components/workflow-designer/workflow-designer.module.ts +0 -90
  939. package/src/lib/components/workflow-designer/workflow-designer.state.ts +0 -1123
  940. package/src/lib/components/workflow-designer/workflow-designer.types.ts +0 -141
  941. package/src/lib/components/workflow-stage/ng-package.json +0 -6
  942. package/src/lib/components/workflow-stage/workflow-stage.component.css +0 -24
  943. package/src/lib/components/workflow-stage/workflow-stage.component.html +0 -339
  944. package/src/lib/components/workflow-stage/workflow-stage.component.spec.ts +0 -23
  945. package/src/lib/components/workflow-stage/workflow-stage.component.ts +0 -355
  946. package/src/lib/components/workflow-stage/workflow-stage.module.ts +0 -53
  947. package/src/lib/components/workflows/ng-package.json +0 -6
  948. package/src/lib/components/workflows/public-api.ts +0 -6
  949. package/src/lib/components/workflows/workflow-form/workflow-form.component.css +0 -0
  950. package/src/lib/components/workflows/workflow-form/workflow-form.component.html +0 -138
  951. package/src/lib/components/workflows/workflow-form/workflow-form.component.spec.ts +0 -23
  952. package/src/lib/components/workflows/workflow-form/workflow-form.component.ts +0 -85
  953. package/src/lib/components/workflows/workflows.api.ts +0 -117
  954. package/src/lib/components/workflows/workflows.columns.ts +0 -41
  955. package/src/lib/components/workflows/workflows.component.css +0 -4
  956. package/src/lib/components/workflows/workflows.component.html +0 -309
  957. package/src/lib/components/workflows/workflows.component.spec.ts +0 -23
  958. package/src/lib/components/workflows/workflows.component.ts +0 -303
  959. package/src/lib/components/workflows/workflows.config.ts +0 -58
  960. package/src/lib/components/workflows/workflows.facade.ts +0 -147
  961. package/src/lib/components/workflows/workflows.module.ts +0 -14
  962. package/src/lib/components/workflows/workflows.service.spec.ts +0 -16
  963. package/src/lib/components/workflows/workflows.service.ts +0 -88
  964. package/src/lib/components/workflows/workflows.state.ts +0 -21
  965. package/src/lib/models/ActionHistory.ts +0 -19
  966. package/src/lib/models/ActionType.ts +0 -9
  967. package/src/lib/models/Actor.ts +0 -12
  968. package/src/lib/models/ActorTag.ts +0 -8
  969. package/src/lib/models/Coord.ts +0 -4
  970. package/src/lib/models/DataExtensionValue.ts +0 -5
  971. package/src/lib/models/DataType.ts +0 -25
  972. package/src/lib/models/EAVDataType.ts +0 -18
  973. package/src/lib/models/EAVEntity.ts +0 -5
  974. package/src/lib/models/EntityDataValue.ts +0 -7
  975. package/src/lib/models/EntityProperty.ts +0 -8
  976. package/src/lib/models/ErrorResponse.ts +0 -7
  977. package/src/lib/models/Escalation.ts +0 -15
  978. package/src/lib/models/EscalationCycle.ts +0 -13
  979. package/src/lib/models/EscalationStage.ts +0 -11
  980. package/src/lib/models/EscalationType.ts +0 -5
  981. package/src/lib/models/File.ts +0 -8
  982. package/src/lib/models/FilterTypes.ts +0 -8
  983. package/src/lib/models/FlowableStatus.ts +0 -6
  984. package/src/lib/models/Form.ts +0 -14
  985. package/src/lib/models/FormEntity.ts +0 -14
  986. package/src/lib/models/FormFill.ts +0 -16
  987. package/src/lib/models/FormProperty.ts +0 -16
  988. package/src/lib/models/FormValue.ts +0 -19
  989. package/src/lib/models/MailConfig.ts +0 -13
  990. package/src/lib/models/MessageConfig.ts +0 -5
  991. package/src/lib/models/MessageMedium.ts +0 -4
  992. package/src/lib/models/OperationAction.ts +0 -15
  993. package/src/lib/models/PagedResult.ts +0 -5
  994. package/src/lib/models/PeriodMode.ts +0 -10
  995. package/src/lib/models/PermissionConfig.ts +0 -8
  996. package/src/lib/models/Property.ts +0 -6
  997. package/src/lib/models/ReportSchedule.ts +0 -23
  998. package/src/lib/models/ReportType.ts +0 -5
  999. package/src/lib/models/Resource.ts +0 -57
  1000. package/src/lib/models/ResponseKeyValue.ts +0 -5
  1001. package/src/lib/models/SMSConfig.ts +0 -11
  1002. package/src/lib/models/SearchDynamicWrapper.ts +0 -6
  1003. package/src/lib/models/SearchOperator.ts +0 -4
  1004. package/src/lib/models/SearchPropertySign.ts +0 -9
  1005. package/src/lib/models/SearchPropertyValue.ts +0 -13
  1006. package/src/lib/models/SearchPropertyValueType.ts +0 -9
  1007. package/src/lib/models/Size.ts +0 -4
  1008. package/src/lib/models/SortDirection.ts +0 -5
  1009. package/src/lib/models/StageActorRule.ts +0 -6
  1010. package/src/lib/models/SwimLane.ts +0 -14
  1011. package/src/lib/models/Tag.ts +0 -7
  1012. package/src/lib/models/Task.ts +0 -33
  1013. package/src/lib/models/TaskAssignmentType.ts +0 -4
  1014. package/src/lib/models/TaskNotification.ts +0 -16
  1015. package/src/lib/models/TaskNotificationMessageType.ts +0 -4
  1016. package/src/lib/models/TaskNotificationType.ts +0 -7
  1017. package/src/lib/models/TaskStatus.ts +0 -7
  1018. package/src/lib/models/Workflow.ts +0 -22
  1019. package/src/lib/models/WorkflowAction.ts +0 -15
  1020. package/src/lib/models/WorkflowOperation.ts +0 -7
  1021. package/src/lib/models/WorkflowStage.ts +0 -27
  1022. package/src/lib/models/actors.ts +0 -10
  1023. package/src/lib/models/auth-mechanism.ts +0 -14
  1024. package/src/lib/models/base.ts +0 -14
  1025. package/src/lib/models/ng-package.json +0 -6
  1026. package/src/lib/models/object-state.ts +0 -6
  1027. package/src/lib/models/operation-type.ts +0 -6
  1028. package/src/lib/models/paged.ts +0 -9
  1029. package/src/lib/models/query-params.ts +0 -9
  1030. package/src/lib/models/status.ts +0 -5
  1031. package/src/lib/models/task-history.ts +0 -14
  1032. package/src/lib/models/user-access-request-status.ts +0 -5
  1033. package/src/lib/models/user.ts +0 -25
  1034. package/src/lib/pipes/async-label.pipe.spec.ts +0 -12
  1035. package/src/lib/pipes/async-label.pipe.ts +0 -30
  1036. package/src/lib/pipes/ng-package.json +0 -6
  1037. package/src/lib/services/environment.service.spec.ts +0 -16
  1038. package/src/lib/services/environment.service.ts +0 -31
  1039. package/src/lib/services/http-web-request.service.spec.ts +0 -16
  1040. package/src/lib/services/http-web-request.service.ts +0 -154
  1041. package/src/lib/services/label.service.spec.ts +0 -16
  1042. package/src/lib/services/label.service.ts +0 -182
  1043. package/src/lib/services/ng-package.json +0 -6
  1044. package/src/lib/services/public-api.ts +0 -5
  1045. package/src/lib/services/util.service.spec.ts +0 -16
  1046. package/src/lib/services/util.service.ts +0 -72
  1047. package/src/lib/shared/base-table-style.ts +0 -56
  1048. package/src/lib/shared/components/base-data-view.component.ts +0 -187
  1049. package/src/lib/shared/components/base-model-field.ts +0 -31
  1050. package/src/lib/shared/models/DataViewConfig.ts +0 -19
  1051. package/src/lib/shared/ng-package.json +0 -6
  1052. package/src/lib/shared/public-api.ts +0 -14
  1053. package/src/lib/shared/shared.module.ts +0 -67
  1054. package/src/lib/utils/index.ts +0 -1
  1055. package/src/lib/utils/public-api.ts +0 -2
  1056. package/src/lib/utils/store.ts +0 -50
  1057. package/src/public-api.ts +0 -58
  1058. package/src/styles.css +0 -96
  1059. package/tailwind.config copy.js +0 -33
  1060. package/tailwind.config.js +0 -20
  1061. package/tsconfig.lib.json +0 -15
  1062. package/tsconfig.lib.prod.json +0 -11
  1063. package/tsconfig.spec.json +0 -15
  1064. /package/src/lib/base/{index.ts → index.d.ts} +0 -0
  1065. /package/src/lib/components/actors/{index.ts → index.d.ts} +0 -0
  1066. /package/src/lib/components/actors/{public-api.ts → public-api.d.ts} +0 -0
  1067. /package/src/lib/components/designer/{index.ts → index.d.ts} +0 -0
  1068. /package/src/lib/components/designer/{public-api.ts → public-api.d.ts} +0 -0
  1069. /package/src/lib/components/expiration/{index.ts → index.d.ts} +0 -0
  1070. /package/src/lib/components/expiration/{public-api.ts → public-api.d.ts} +0 -0
  1071. /package/src/lib/components/file-render/{index.ts → index.d.ts} +0 -0
  1072. /package/src/lib/components/file-render/{public-api.ts → public-api.d.ts} +0 -0
  1073. /package/src/lib/components/file-upload/{index.ts → index.d.ts} +0 -0
  1074. /package/src/lib/components/file-upload/{public-api.ts → public-api.d.ts} +0 -0
  1075. /package/src/lib/components/flowable-status/{index.ts → index.d.ts} +0 -0
  1076. /package/src/lib/components/form-control/{index.ts → index.d.ts} +0 -0
  1077. /package/src/lib/components/form-control/{public-api.ts → public-api.d.ts} +0 -0
  1078. /package/src/lib/components/form-group/{index.ts → index.d.ts} +0 -0
  1079. /package/src/lib/components/form-group/{public-api.ts → public-api.d.ts} +0 -0
  1080. /package/src/lib/components/form-response/{index.ts → index.d.ts} +0 -0
  1081. /package/src/lib/components/form-response/{public-api.ts → public-api.d.ts} +0 -0
  1082. /package/src/lib/components/form-timer/{index.ts → index.d.ts} +0 -0
  1083. /package/src/lib/components/form-timer/{public-api.ts → public-api.d.ts} +0 -0
  1084. /package/src/lib/components/form-values/{index.ts → index.d.ts} +0 -0
  1085. /package/src/lib/components/form-values/{public-api.ts → public-api.d.ts} +0 -0
  1086. /package/src/lib/components/form-viewer/{index.ts → index.d.ts} +0 -0
  1087. /package/src/lib/components/form-viewer/{public-api.ts → public-api.d.ts} +0 -0
  1088. /package/src/lib/components/forms/{index.ts → index.d.ts} +0 -0
  1089. /package/src/lib/components/forms/{public-api.ts → public-api.d.ts} +0 -0
  1090. /package/src/lib/components/journal/{index.ts → index.d.ts} +0 -0
  1091. /package/src/lib/components/journal/{public-api.ts → public-api.d.ts} +0 -0
  1092. /package/src/lib/components/my-queue/{index.ts → index.d.ts} +0 -0
  1093. /package/src/lib/components/my-queue/{public-api.ts → public-api.d.ts} +0 -0
  1094. /package/src/lib/components/operation-popup/{index.ts → index.d.ts} +0 -0
  1095. /package/src/lib/components/operation-popup/{public-api.ts → public-api.d.ts} +0 -0
  1096. /package/src/lib/components/stage-details/{index.ts → index.d.ts} +0 -0
  1097. /package/src/lib/components/stage-details/{public-api.ts → public-api.d.ts} +0 -0
  1098. /package/src/lib/components/task-form/{index.ts → index.d.ts} +0 -0
  1099. /package/src/lib/components/task-form/{public-api.ts → public-api.d.ts} +0 -0
  1100. /package/src/lib/components/task-history/{index.ts → index.d.ts} +0 -0
  1101. /package/src/lib/components/task-history/{public-api.ts → public-api.d.ts} +0 -0
  1102. /package/src/lib/components/task-notification/{index.ts → index.d.ts} +0 -0
  1103. /package/src/lib/components/task-notification/{public-api.ts → public-api.d.ts} +0 -0
  1104. /package/src/lib/components/tasks/{index.ts → index.d.ts} +0 -0
  1105. /package/src/lib/components/tasks/{public-api.ts → public-api.d.ts} +0 -0
  1106. /package/src/lib/components/wf/{index.ts → index.d.ts} +0 -0
  1107. /package/src/lib/components/wf/{public-api.ts → public-api.d.ts} +0 -0
  1108. /package/src/lib/components/workflow/{index.ts → index.d.ts} +0 -0
  1109. /package/src/lib/components/workflow/{public-api.ts → public-api.d.ts} +0 -0
  1110. /package/src/lib/components/workflow-designer/{index.ts → index.d.ts} +0 -0
  1111. /package/src/lib/components/workflow-designer/{public-api.ts → public-api.d.ts} +0 -0
  1112. /package/src/lib/components/workflow-stage/{index.ts → index.d.ts} +0 -0
  1113. /package/src/lib/components/workflow-stage/{public-api.ts → public-api.d.ts} +0 -0
  1114. /package/src/lib/components/workflows/{index.ts → index.d.ts} +0 -0
  1115. /package/src/lib/models/{index.ts → index.d.ts} +0 -0
  1116. /package/src/lib/models/{public-api.ts → public-api.d.ts} +0 -0
  1117. /package/src/lib/pipes/{index.ts → index.d.ts} +0 -0
  1118. /package/src/lib/pipes/{public-api.ts → public-api.d.ts} +0 -0
  1119. /package/src/lib/services/{index.ts → index.d.ts} +0 -0
  1120. /package/src/lib/shared/{index.ts → index.d.ts} +0 -0
  1121. /package/{src/styles → styles}/styles.css +0 -0
@@ -0,0 +1,415 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, Input, Output, ViewChildren, NgModule } from '@angular/core';
3
+ import * as i4 from 'verben-ng-ui';
4
+ import { DataType, DataTableModule, SvgModule, VerbenPopUpModule, DataViewModule, VerbenaButtonModule, CardDataViewModule, DropDownModule, VerbenaSwitchModule, TableFilterModule, VisibleColumnModule, SortTableModule, DataExportModule, TooltipModule, VerbenDialogueModule, VerbenaInputModule } from 'verben-ng-ui';
5
+ import { ObjectState, ErrorResponse } from 'verben-workflow-ui/src/lib/models';
6
+ import * as i1 from 'verben-workflow-ui/src/lib/services';
7
+ import * as i2 from '@angular/common';
8
+ import { CommonModule } from '@angular/common';
9
+ import * as i3 from '@angular/forms';
10
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
11
+ import * as i5 from 'verben-workflow-ui/src/lib/components/form-control';
12
+ import { FormControlerModule } from 'verben-workflow-ui/src/lib/components/form-control';
13
+ import * as i6 from 'verben-workflow-ui/src/lib/components/form-viewer';
14
+ import { FormViewerLibModule } from 'verben-workflow-ui/src/lib/components/form-viewer';
15
+
16
+ class WorkflowStageComponent {
17
+ utilService;
18
+ server;
19
+ historyToDate = [];
20
+ taskCode = null;
21
+ forms = [];
22
+ isVisible = false;
23
+ readOnly = false;
24
+ active = 0;
25
+ dataType = DataType.Text;
26
+ commentText = '';
27
+ isFormViewerVisible = false;
28
+ activeForm = null;
29
+ currentActors = [];
30
+ user = null;
31
+ userName = null;
32
+ nextActions = [];
33
+ task = null;
34
+ onActionCompleted = new EventEmitter();
35
+ onPickCompleted = new EventEmitter();
36
+ onCommentCompleted = new EventEmitter();
37
+ onFormCompleted = new EventEmitter();
38
+ onOpen = new EventEmitter();
39
+ onClose = new EventEmitter();
40
+ popUps;
41
+ popUp2s;
42
+ popUp3s;
43
+ popUp4s;
44
+ localHistoryToDate = [];
45
+ localNextActions = [];
46
+ taskForms = [];
47
+ selectedAction = null;
48
+ nextActors = [];
49
+ selectedRecipient = null;
50
+ // Pick / re-assign popup state — kept separate from the pass-on flow above
51
+ // so opening it never clobbers `commentText` / `selectedRecipient`.
52
+ selectedStageCode = null;
53
+ pickComment = '';
54
+ pickRecipient = null;
55
+ pickActors = [];
56
+ constructor(utilService, server) {
57
+ this.utilService = utilService;
58
+ this.server = server;
59
+ }
60
+ ngOnInit() { }
61
+ ngOnChanges(changes) {
62
+ if (changes['historyToDate']) {
63
+ const incoming = changes['historyToDate'].currentValue;
64
+ const allHistory = Array.isArray(incoming) ? incoming : [];
65
+ this.localHistoryToDate = allHistory.filter((item) => item.ActionType !== 'TaskReAssignment');
66
+ // console.log({ historyToDate: this.localHistoryToDate });
67
+ }
68
+ if (changes['nextActions']) {
69
+ const incoming = changes['nextActions'].currentValue;
70
+ const actions = Array.isArray(incoming)
71
+ ? [...incoming].sort((a, b) => a.Position - b.Position)
72
+ : [];
73
+ this.localNextActions = actions;
74
+ this.selectedAction = null;
75
+ // console.log({ nextActions: this.localNextActions });
76
+ }
77
+ this.handleDataChanges();
78
+ }
79
+ submitForm(groupIndex) {
80
+ const formEntity = {
81
+ ...this.forms[groupIndex],
82
+ DataState: ObjectState.Changed,
83
+ };
84
+ this.onFormCompleted.emit(formEntity);
85
+ // this.isVisible = false;
86
+ }
87
+ areRequiredPropertiesFilled(properties = []) {
88
+ if (!properties.length)
89
+ return true;
90
+ return properties.every((prop) => {
91
+ if (prop.IsRequired !== true)
92
+ return true;
93
+ return prop.Value && prop.Value.trim().length > 0;
94
+ });
95
+ }
96
+ openCommentFor(action) {
97
+ this.selectedAction = action;
98
+ // console.log(this.selectedAction, 'kk');
99
+ this.commentText = '';
100
+ this.selectedRecipient = null;
101
+ this.nextActors = [];
102
+ this.loadNextActors(action?.ToStage);
103
+ this.popUp2s.forEach((popUp) => {
104
+ if (!popUp.dropdownOpen) {
105
+ popUp.toggleDropdown();
106
+ }
107
+ });
108
+ }
109
+ async loadNextActors(stageCode) {
110
+ if (!this.taskCode || !stageCode) {
111
+ this.nextActors = [];
112
+ return;
113
+ }
114
+ this.utilService.sendBI(true);
115
+ const res = await this.server.get(`GetNextActors/${this.taskCode}/false/${stageCode}`);
116
+ this.utilService.sendBI(false);
117
+ if (res instanceof ErrorResponse) {
118
+ this.nextActors = [];
119
+ return;
120
+ }
121
+ this.nextActors = res || [];
122
+ const userEmail = this.user;
123
+ this.selectedRecipient =
124
+ userEmail && this.nextActors.some((a) => a.Identifier === userEmail)
125
+ ? userEmail
126
+ : null;
127
+ }
128
+ handleDataChanges() {
129
+ // console.log('Data updated!', {
130
+ // history: this.localHistoryToDate,
131
+ // actions: this.localNextActions,
132
+ // taskForms: this.taskForms,
133
+ // });
134
+ }
135
+ closePopUp() {
136
+ this.popUps.forEach((popUp) => {
137
+ if (popUp.dropdownOpen) {
138
+ popUp.toggleDropdown();
139
+ }
140
+ });
141
+ }
142
+ closePopUp2() {
143
+ this.popUp2s.forEach((popUp) => {
144
+ if (popUp.dropdownOpen) {
145
+ popUp.toggleDropdown();
146
+ }
147
+ });
148
+ }
149
+ completeAction(action) {
150
+ this.onActionCompleted.emit({
151
+ action: action,
152
+ comment: this.commentText,
153
+ recipient: this.selectedRecipient || '',
154
+ });
155
+ this.closePopUp2();
156
+ }
157
+ onModalOpen(event) {
158
+ this.onOpen.emit(event);
159
+ }
160
+ onModalClose(event) {
161
+ this.onClose.emit(event);
162
+ }
163
+ disableNotActor() {
164
+ const userEmail = this.user;
165
+ return !this.currentActors?.some((actor) => actor.Identifier === userEmail);
166
+ }
167
+ canPick() {
168
+ return !!this.task?.CanPickTask;
169
+ }
170
+ /**
171
+ * A task already sitting on someone's desk is taken over via re-assignment;
172
+ * one with no current actors is unclaimed and gets picked.
173
+ */
174
+ isReassign() {
175
+ return (this.task?.CurrentActors?.length ?? 0) > 0;
176
+ }
177
+ openPickPopup() {
178
+ this.pickComment = '';
179
+ this.selectedStageCode =
180
+ this.task?.CurrentStages?.[0] ??
181
+ this.localHistoryToDate[this.localHistoryToDate.length - 1]?.ToStage ??
182
+ null;
183
+ const email = this.user;
184
+ this.pickActors = email
185
+ ? [{ Identifier: email, Name: this.userName || email }]
186
+ : [];
187
+ this.pickRecipient = email ?? null;
188
+ this.popUp4s.forEach((popUp) => {
189
+ if (!popUp.dropdownOpen) {
190
+ popUp.toggleDropdown();
191
+ }
192
+ });
193
+ }
194
+ async submitPick() {
195
+ if (!this.task || !this.pickComment || !this.pickRecipient) {
196
+ return;
197
+ }
198
+ const res = this.isReassign()
199
+ ? await this.reassignTask()
200
+ : await this.pickTask();
201
+ if (res === null || res instanceof ErrorResponse) {
202
+ return;
203
+ }
204
+ this.utilService.showSuccess(this.isReassign()
205
+ ? 'Task reassigned successfully'
206
+ : 'Task picked successfully');
207
+ this.onPickCompleted.emit(res);
208
+ this.closePopUp4();
209
+ }
210
+ async pickTask() {
211
+ if (!this.selectedStageCode) {
212
+ return null;
213
+ }
214
+ this.utilService.sendBI(true);
215
+ const res = await this.server.post(`PickTaskWithCode/${this.task.Code}/${this.pickComment}/${this.selectedStageCode}/${this.pickRecipient}`, {});
216
+ this.utilService.sendBI(false);
217
+ if (res instanceof ErrorResponse) {
218
+ this.utilService.showError(res.ErrorMsg);
219
+ }
220
+ return res;
221
+ }
222
+ async reassignTask() {
223
+ const task = this.task;
224
+ const fromUser = task.CurrentActors?.[0]?.Identifier;
225
+ if (!fromUser) {
226
+ return null;
227
+ }
228
+ const payload = {
229
+ ...task,
230
+ DataState: ObjectState.Changed,
231
+ HistoryToDate: [],
232
+ CurrentActors: (task.CurrentActors || []).map((it) => ({
233
+ ...it,
234
+ ActorTags: [],
235
+ })),
236
+ FullStages: [],
237
+ };
238
+ this.utilService.sendBI(true);
239
+ const res = await this.server.post(`Reassign/${this.pickComment}/${this.pickRecipient}/${fromUser}`, payload);
240
+ this.utilService.sendBI(false);
241
+ if (res instanceof ErrorResponse) {
242
+ this.utilService.showError(res.ErrorMsg);
243
+ }
244
+ return res;
245
+ }
246
+ closePopUp4() {
247
+ this.popUp4s.forEach((popUp) => {
248
+ if (popUp.dropdownOpen) {
249
+ popUp.toggleDropdown();
250
+ }
251
+ });
252
+ }
253
+ async loadFormIfExists(stage) {
254
+ if (!this.taskCode || !stage) {
255
+ return;
256
+ }
257
+ this.utilService.sendBI(true);
258
+ const res = await this.server.get(`GetCurrentFormsForTask/${this.taskCode}/${stage}`);
259
+ this.utilService.sendBI(false);
260
+ if (res instanceof ErrorResponse) {
261
+ this.utilService.showInfo('Could not load form for selected stage');
262
+ return;
263
+ }
264
+ else {
265
+ var result = res;
266
+ if (result.length > 0) {
267
+ this.activeForm = result[0];
268
+ this.closePopUp3();
269
+ this.isFormViewerVisible = true;
270
+ }
271
+ }
272
+ }
273
+ onFormViewerOpen() { }
274
+ onFormViewerClose() {
275
+ this.isFormViewerVisible = false;
276
+ this.activeForm = null;
277
+ }
278
+ closePopUp3() {
279
+ this.popUp3s.forEach((popUp) => {
280
+ if (popUp.dropdownOpen) {
281
+ popUp.toggleDropdown();
282
+ }
283
+ });
284
+ }
285
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkflowStageComponent, deps: [{ token: i1.UtilService }, { token: i1.HttpWebRequestService }], target: i0.ɵɵFactoryTarget.Component });
286
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: WorkflowStageComponent, selector: "app-workflow-stage", inputs: { historyToDate: "historyToDate", taskCode: "taskCode", forms: "forms", isVisible: "isVisible", readOnly: "readOnly", currentActors: "currentActors", user: "user", userName: "userName", nextActions: "nextActions", task: "task" }, outputs: { onActionCompleted: "onActionCompleted", onPickCompleted: "onPickCompleted", onCommentCompleted: "onCommentCompleted", onFormCompleted: "onFormCompleted", onOpen: "onOpen", onClose: "onClose" }, viewQueries: [{ propertyName: "popUps", predicate: ["popup"], descendants: true }, { propertyName: "popUp2s", predicate: ["popup2"], descendants: true }, { propertyName: "popUp3s", predicate: ["popup3"], descendants: true }, { propertyName: "popUp4s", predicate: ["popup4"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<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", styles: [".workflow-container{position:relative}.dialog{position:absolute;top:100%;left:0;background:var(--vbn-color-surface);border:1px solid var(--vbn-color-border);padding:1rem}.completed{text-decoration:line-through;color:var(--vbn-color-text-muted)}.pop-up-content{border-radius:4px;background-color:var(--vbn-color-surface);border:1px solid #9c56ba}.pop-up-value{padding:10px 20px}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.SvgComponent, selector: "verben-svg", inputs: ["icon", "width", "height", "fill", "stroke", "type", "size"] }, { kind: "component", type: i4.VerbenPopUpComponent, selector: "verben-pop-Up", inputs: ["dropdownOpen", "dropdownWidth", "color", "customStyles", "popUpClass", "border", "borderRadius", "enableMouseLeave", "cdkPosition"], outputs: ["dropdownOpenChange", "close"] }, { kind: "component", type: i4.VerbenaButtonComponent, selector: "verbena-button", inputs: ["type", "text", "styleType", "size", "block", "disable", "disabled", "isLoading", "spinnerSize", "spinnerColor", "svg", "svgPosition", "svgWidth", "svgHeight", "svgSize", "svgColor", "icon", "useIcon", "iconPosition", "iconColor", "variant", "weight", "bgColor", "textColor", "border", "borderRadius", "pd", "width", "height", "fontSize", "fontWeight", "buttonClass", "buttonTextClass"] }, { kind: "component", type: i4.DropDownComponent, selector: "verben-drop-down", inputs: ["options", "width", "overlayWidth", "showHorizontalLine", "horizontalLineColor", "optionLabel", "optionSubLabel", "optionValue", "placeholder", "invalidMessage", "errorPosition", "loadMoreCaption", "display", "showClear", "lazyLoad", "selectKey", "styleClass", "group", "multiselect", "filter", "avoidDuplication", "filterBy", "debounceTime", "minChar", "refPageSize", "disabled", "required", "autoScrollToCurrentItem", "load", "asyncLabel", "search"], outputs: ["optionsChange", "onChange", "onClick", "onClear"] }, { kind: "component", type: i4.TooltipComponent, selector: "verben-tooltip", inputs: ["tooltipContent", "customClass", "backgroundColor", "textColor", "padding", "borderRadius", "zIndex", "border", "width", "top", "bottom", "left", "right"] }, { kind: "component", type: i4.VerbenDialogueComponent, selector: "verben-dialogue", inputs: ["dialogueWidth", "headerTemplate", "bodyTemplate", "footerTemplate", "showCloseIcon", "dismissOutsideClick", "closeOnEscape", "isVisible", "size", "backdropColor", "customClass", "disableFooter", "margin", "padding", "borderRadius", "dialogueBgColor", "width", "closeIconClass", "boxShadow", "enableTransition", "modalData", "mode", "position", "drawerWidth"], outputs: ["openModal", "closeModal"] }, { kind: "component", type: i5.FormControlComponent, selector: "form-control", inputs: ["dataType", "value", "boolInputType", "formProperties", "disabled"] }, { kind: "component", type: i6.FormViewerComponent, selector: "app-form-viewer", inputs: ["form", "isVisible"], outputs: ["onOpen", "onClose"] }, { kind: "pipe", type: i2.SlicePipe, name: "slice" }] });
287
+ }
288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkflowStageComponent, decorators: [{
289
+ type: Component,
290
+ args: [{ selector: 'app-workflow-stage', template: "<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", styles: [".workflow-container{position:relative}.dialog{position:absolute;top:100%;left:0;background:var(--vbn-color-surface);border:1px solid var(--vbn-color-border);padding:1rem}.completed{text-decoration:line-through;color:var(--vbn-color-text-muted)}.pop-up-content{border-radius:4px;background-color:var(--vbn-color-surface);border:1px solid #9c56ba}.pop-up-value{padding:10px 20px}\n"] }]
291
+ }], ctorParameters: () => [{ type: i1.UtilService }, { type: i1.HttpWebRequestService }], propDecorators: { historyToDate: [{
292
+ type: Input
293
+ }], taskCode: [{
294
+ type: Input
295
+ }], forms: [{
296
+ type: Input
297
+ }], isVisible: [{
298
+ type: Input
299
+ }], readOnly: [{
300
+ type: Input
301
+ }], currentActors: [{
302
+ type: Input
303
+ }], user: [{
304
+ type: Input
305
+ }], userName: [{
306
+ type: Input
307
+ }], nextActions: [{
308
+ type: Input
309
+ }], task: [{
310
+ type: Input
311
+ }], onActionCompleted: [{
312
+ type: Output
313
+ }], onPickCompleted: [{
314
+ type: Output
315
+ }], onCommentCompleted: [{
316
+ type: Output
317
+ }], onFormCompleted: [{
318
+ type: Output
319
+ }], onOpen: [{
320
+ type: Output
321
+ }], onClose: [{
322
+ type: Output
323
+ }], popUps: [{
324
+ type: ViewChildren,
325
+ args: ['popup']
326
+ }], popUp2s: [{
327
+ type: ViewChildren,
328
+ args: ['popup2']
329
+ }], popUp3s: [{
330
+ type: ViewChildren,
331
+ args: ['popup3']
332
+ }], popUp4s: [{
333
+ type: ViewChildren,
334
+ args: ['popup4']
335
+ }] } });
336
+
337
+ class WorkFlowStageLibModule {
338
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkFlowStageLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
339
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: WorkFlowStageLibModule, declarations: [WorkflowStageComponent], imports: [CommonModule,
340
+ FormsModule,
341
+ ReactiveFormsModule,
342
+ DataTableModule,
343
+ SvgModule,
344
+ VerbenPopUpModule,
345
+ DataViewModule,
346
+ VerbenaButtonModule,
347
+ CardDataViewModule,
348
+ DropDownModule,
349
+ VerbenaSwitchModule,
350
+ TableFilterModule,
351
+ VisibleColumnModule,
352
+ SortTableModule,
353
+ DataExportModule,
354
+ TooltipModule,
355
+ VerbenDialogueModule,
356
+ VerbenaInputModule,
357
+ FormControlerModule,
358
+ FormViewerLibModule], exports: [WorkflowStageComponent] });
359
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkFlowStageLibModule, imports: [CommonModule,
360
+ FormsModule,
361
+ ReactiveFormsModule,
362
+ DataTableModule,
363
+ SvgModule,
364
+ VerbenPopUpModule,
365
+ DataViewModule,
366
+ VerbenaButtonModule,
367
+ CardDataViewModule,
368
+ DropDownModule,
369
+ VerbenaSwitchModule,
370
+ TableFilterModule,
371
+ VisibleColumnModule,
372
+ SortTableModule,
373
+ DataExportModule,
374
+ TooltipModule,
375
+ VerbenDialogueModule,
376
+ VerbenaInputModule,
377
+ FormControlerModule,
378
+ FormViewerLibModule] });
379
+ }
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: WorkFlowStageLibModule, decorators: [{
381
+ type: NgModule,
382
+ args: [{
383
+ declarations: [WorkflowStageComponent],
384
+ imports: [
385
+ CommonModule,
386
+ FormsModule,
387
+ ReactiveFormsModule,
388
+ DataTableModule,
389
+ SvgModule,
390
+ VerbenPopUpModule,
391
+ DataViewModule,
392
+ VerbenaButtonModule,
393
+ CardDataViewModule,
394
+ DropDownModule,
395
+ VerbenaSwitchModule,
396
+ TableFilterModule,
397
+ VisibleColumnModule,
398
+ SortTableModule,
399
+ DataExportModule,
400
+ TooltipModule,
401
+ VerbenDialogueModule,
402
+ VerbenaInputModule,
403
+ FormControlerModule,
404
+ FormViewerLibModule,
405
+ ],
406
+ exports: [WorkflowStageComponent],
407
+ }]
408
+ }] });
409
+
410
+ /**
411
+ * Generated bundle index. Do not edit.
412
+ */
413
+
414
+ export { WorkFlowStageLibModule, WorkflowStageComponent };
415
+ //# sourceMappingURL=verben-workflow-ui-src-lib-components-workflow-stage.mjs.map
@@ -0,0 +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 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,OAAO,CAAmC;IAClE,kBAAkB,GAAoB,EAAE,CAAC;IACzC,gBAAgB,GAAU,EAAE,CAAC;IAC7B,SAAS,GAAQ,EAAE,CAAC;IACpB,cAAc,GAAQ,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