verben-workflow-ui 0.5.77 → 0.5.79

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 (196) hide show
  1. package/README.md +13 -0
  2. package/esm2022/src/lib/components/actors/actors.component.mjs +5 -5
  3. package/esm2022/src/lib/components/actors/actors.facade.mjs +3 -3
  4. package/esm2022/src/lib/components/actors/actors.form.component.mjs +5 -5
  5. package/esm2022/src/lib/components/actors/actors.module.mjs +4 -4
  6. package/esm2022/src/lib/components/actors/actors.service.mjs +3 -3
  7. package/esm2022/src/lib/components/actors/actors.state.mjs +3 -3
  8. package/esm2022/src/lib/components/designer/components/label-editor.component.mjs +6 -6
  9. package/esm2022/src/lib/components/designer/components/node-selector.component.mjs +4 -4
  10. package/esm2022/src/lib/components/designer/components/swimlane-label.component.mjs +3 -3
  11. package/esm2022/src/lib/components/designer/components/swimlane-popup.component.mjs +3 -3
  12. package/esm2022/src/lib/components/designer/components/wf-canvas.component.mjs +6 -6
  13. package/esm2022/src/lib/components/designer/components/wf-designer.component.mjs +3 -3
  14. package/esm2022/src/lib/components/designer/components/wf-toolbar.component.mjs +6 -6
  15. package/esm2022/src/lib/components/designer/services/canvas-state.service.mjs +3 -3
  16. package/esm2022/src/lib/components/designer/services/connection-segment-interaction.service.mjs +3 -3
  17. package/esm2022/src/lib/components/designer/services/connection.service.mjs +3 -3
  18. package/esm2022/src/lib/components/designer/services/keyboard-handler.service.mjs +3 -3
  19. package/esm2022/src/lib/components/designer/services/label-management.service.mjs +3 -3
  20. package/esm2022/src/lib/components/designer/services/node-finder.service.mjs +3 -3
  21. package/esm2022/src/lib/components/designer/services/node-interaction.service.mjs +3 -3
  22. package/esm2022/src/lib/components/designer/services/node-precondition.service.mjs +3 -3
  23. package/esm2022/src/lib/components/designer/services/node-selection.service.mjs +3 -3
  24. package/esm2022/src/lib/components/designer/services/orthogonal-router.service.mjs +3 -3
  25. package/esm2022/src/lib/components/designer/services/position-update.service.mjs +3 -3
  26. package/esm2022/src/lib/components/designer/services/rendering.service.mjs +3 -3
  27. package/esm2022/src/lib/components/designer/services/swimlane-management.service.mjs +3 -3
  28. package/esm2022/src/lib/components/designer/services/swimlane-stats.service.mjs +3 -3
  29. package/esm2022/src/lib/components/designer/services/viewport.service.mjs +3 -3
  30. package/esm2022/src/lib/components/designer/services/wf-facade.service.mjs +3 -3
  31. package/esm2022/src/lib/components/designer/services/wf-mapper.service.mjs +3 -3
  32. package/esm2022/src/lib/components/designer/services/wf-persistence.service.mjs +3 -3
  33. package/esm2022/src/lib/components/designer/services/wf-state.service.mjs +3 -3
  34. package/esm2022/src/lib/components/expiration/expiration.component.mjs +3 -3
  35. package/esm2022/src/lib/components/expiration/expiration.module.mjs +4 -4
  36. package/esm2022/src/lib/components/file-render/file-render.component.mjs +5 -5
  37. package/esm2022/src/lib/components/file-render/file-render.module.mjs +4 -4
  38. package/esm2022/src/lib/components/file-upload/file-upload.component.mjs +5 -5
  39. package/esm2022/src/lib/components/file-upload/file-upload.module.mjs +4 -4
  40. package/esm2022/src/lib/components/flowable-status/flowable-status.component.mjs +5 -5
  41. package/esm2022/src/lib/components/flowable-status/flowable-status.facade.mjs +3 -3
  42. package/esm2022/src/lib/components/flowable-status/flowable-status.form.component.mjs +5 -5
  43. package/esm2022/src/lib/components/flowable-status/flowable-status.module.mjs +4 -4
  44. package/esm2022/src/lib/components/flowable-status/flowable-status.service.mjs +3 -3
  45. package/esm2022/src/lib/components/flowable-status/flowable-status.state.mjs +3 -3
  46. package/esm2022/src/lib/components/form-control/form-control.component.mjs +5 -5
  47. package/esm2022/src/lib/components/form-control/form-control.module.mjs +4 -4
  48. package/esm2022/src/lib/components/form-group/base-table-style.mjs +6 -6
  49. package/esm2022/src/lib/components/form-group/form-fields/form-fields.component.mjs +32 -15
  50. package/esm2022/src/lib/components/form-group/form-fields/form-fields.module.mjs +4 -4
  51. package/esm2022/src/lib/components/form-group/form-fields/form-fields.service.mjs +3 -3
  52. package/esm2022/src/lib/components/form-group/form-group.component.mjs +64 -13
  53. package/esm2022/src/lib/components/form-group/form-group.module.mjs +10 -6
  54. package/esm2022/src/lib/components/form-group/form-group.service.mjs +9 -4
  55. package/esm2022/src/lib/components/form-response/form-response.component.mjs +5 -5
  56. package/esm2022/src/lib/components/form-response/form-response.module.mjs +4 -4
  57. package/esm2022/src/lib/components/form-response/form-response.service.mjs +3 -3
  58. package/esm2022/src/lib/components/form-timer/form-timer.component.mjs +5 -5
  59. package/esm2022/src/lib/components/form-timer/form-timer.module.mjs +4 -4
  60. package/esm2022/src/lib/components/forms/base-table-style.mjs +6 -6
  61. package/esm2022/src/lib/components/forms/forms.component.mjs +8 -8
  62. package/esm2022/src/lib/components/forms/forms.module.mjs +4 -4
  63. package/esm2022/src/lib/components/forms/forms.service.mjs +3 -3
  64. package/esm2022/src/lib/components/journal/journal.component.mjs +3 -3
  65. package/esm2022/src/lib/components/journal/journal.module.mjs +4 -4
  66. package/esm2022/src/lib/components/my-queue/my-queue.component.mjs +7 -7
  67. package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +6 -41
  68. package/esm2022/src/lib/components/my-queue/my-queue.module.mjs +4 -4
  69. package/esm2022/src/lib/components/my-queue/my-queue.service.mjs +3 -3
  70. package/esm2022/src/lib/components/my-queue/my-queue.state.mjs +3 -3
  71. package/esm2022/src/lib/components/my-queue/tasks.form.component.mjs +5 -5
  72. package/esm2022/src/lib/components/operation-popup/operation-popup.component.mjs +5 -5
  73. package/esm2022/src/lib/components/operation-popup/operation-popup.facade.mjs +3 -3
  74. package/esm2022/src/lib/components/operation-popup/operation-popup.service.mjs +3 -3
  75. package/esm2022/src/lib/components/operation-popup/operation-popup.state.mjs +3 -3
  76. package/esm2022/src/lib/components/stage-details/stage-details.component.mjs +5 -5
  77. package/esm2022/src/lib/components/stage-details/stage-details.module.mjs +4 -4
  78. package/esm2022/src/lib/components/task-form/task-form.component.mjs +5 -5
  79. package/esm2022/src/lib/components/task-form/task-form.module.mjs +4 -4
  80. package/esm2022/src/lib/components/task-history/task-history.component.mjs +5 -5
  81. package/esm2022/src/lib/components/task-history/task-history.module.mjs +4 -4
  82. package/esm2022/src/lib/components/task-history/task-history.service.mjs +3 -3
  83. package/esm2022/src/lib/components/task-notification/base-table-style.mjs +6 -6
  84. package/esm2022/src/lib/components/task-notification/task-notification.component.mjs +5 -5
  85. package/esm2022/src/lib/components/task-notification/task-notification.module.mjs +4 -4
  86. package/esm2022/src/lib/components/task-notification/task-notification.service.mjs +3 -3
  87. package/esm2022/src/lib/components/tasks/tasks.component.mjs +5 -5
  88. package/esm2022/src/lib/components/tasks/tasks.facade.mjs +3 -3
  89. package/esm2022/src/lib/components/tasks/tasks.form.component.mjs +5 -5
  90. package/esm2022/src/lib/components/tasks/tasks.module.mjs +4 -4
  91. package/esm2022/src/lib/components/tasks/tasks.service.mjs +3 -3
  92. package/esm2022/src/lib/components/tasks/tasks.state.mjs +3 -3
  93. package/esm2022/src/lib/components/wf/wf.component.mjs +3 -3
  94. package/esm2022/src/lib/components/wf/wf.module.mjs +4 -4
  95. package/esm2022/src/lib/components/wf/wf.service.mjs +3 -3
  96. package/esm2022/src/lib/components/workflow/table-style.mjs +6 -6
  97. package/esm2022/src/lib/components/workflow/workflow.component.mjs +8 -8
  98. package/esm2022/src/lib/components/workflow/workflow.module.mjs +4 -4
  99. package/esm2022/src/lib/components/workflow-designer/action-dialog/action-dialog.component.mjs +5 -5
  100. package/esm2022/src/lib/components/workflow-designer/actor-tags-dialog/actor-tags-dialog.component.mjs +5 -5
  101. package/esm2022/src/lib/components/workflow-designer/conditions-popup/conditions-popup.component.mjs +3 -3
  102. package/esm2022/src/lib/components/workflow-designer/decision-popup/decision-popup.component.mjs +4 -4
  103. package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +3 -3
  104. package/esm2022/src/lib/components/workflow-designer/designer-toolbar/designer-toolbar.component.mjs +5 -5
  105. package/esm2022/src/lib/components/workflow-designer/escalation-dialog/escalation-dialog.component.mjs +5 -5
  106. package/esm2022/src/lib/components/workflow-designer/services/connection.service.mjs +3 -3
  107. package/esm2022/src/lib/components/workflow-designer/services/node-management.service.mjs +3 -3
  108. package/esm2022/src/lib/components/workflow-designer/services/popup.service.mjs +3 -3
  109. package/esm2022/src/lib/components/workflow-designer/services/swimlane.service.mjs +3 -3
  110. package/esm2022/src/lib/components/workflow-designer/services/transformer.service.mjs +3 -3
  111. package/esm2022/src/lib/components/workflow-designer/stage-dialog/stage-dialog.component.mjs +5 -5
  112. package/esm2022/src/lib/components/workflow-designer/stage-node/stage-node.component.mjs +5 -5
  113. package/esm2022/src/lib/components/workflow-designer/swimlane-dialog/swimlane-dialog.component.mjs +5 -5
  114. package/esm2022/src/lib/components/workflow-designer/workflow-data.service.mjs +3 -3
  115. package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +4 -4
  116. package/esm2022/src/lib/components/workflow-designer/workflow-designer.module.mjs +4 -4
  117. package/esm2022/src/lib/components/workflow-designer/workflow-designer.state.mjs +3 -3
  118. package/esm2022/src/lib/components/workflows/workflow-form/workflow-form.component.mjs +5 -5
  119. package/esm2022/src/lib/components/workflows/workflows.component.mjs +5 -5
  120. package/esm2022/src/lib/components/workflows/workflows.facade.mjs +3 -3
  121. package/esm2022/src/lib/components/workflows/workflows.module.mjs +4 -4
  122. package/esm2022/src/lib/components/workflows/workflows.service.mjs +3 -3
  123. package/esm2022/src/lib/components/workflows/workflows.state.mjs +3 -3
  124. package/esm2022/src/lib/models/DataType.mjs +7 -1
  125. package/esm2022/src/lib/models/EAVEntity.mjs +2 -0
  126. package/esm2022/src/lib/models/FormEntity.mjs +1 -1
  127. package/esm2022/src/lib/models/public-api.mjs +2 -1
  128. package/esm2022/src/lib/pipes/async-label.pipe.mjs +3 -3
  129. package/esm2022/src/lib/services/environment.service.mjs +3 -3
  130. package/esm2022/src/lib/services/http-web-request.service.mjs +3 -3
  131. package/esm2022/src/lib/services/label.service.mjs +3 -3
  132. package/esm2022/src/lib/services/util.service.mjs +3 -3
  133. package/esm2022/src/lib/shared/base-table-style.mjs +6 -6
  134. package/esm2022/src/lib/shared/components/base-data-view.component.mjs +3 -3
  135. package/esm2022/src/lib/shared/shared.module.mjs +4 -4
  136. package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs +21 -21
  137. package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs.map +1 -1
  138. package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +85 -85
  139. package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +1 -1
  140. package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs +7 -7
  141. package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs.map +1 -1
  142. package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +8 -8
  143. package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +1 -1
  144. package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +8 -8
  145. package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +1 -1
  146. package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +21 -21
  147. package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +1 -1
  148. package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +8 -8
  149. package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +1 -1
  150. package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +120 -43
  151. package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +1 -1
  152. package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs +11 -11
  153. package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs.map +1 -1
  154. package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs +8 -8
  155. package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs.map +1 -1
  156. package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs +16 -16
  157. package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +1 -1
  158. package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +7 -7
  159. package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +25 -60
  160. package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +1 -1
  161. package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +13 -13
  162. package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +1 -1
  163. package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs +8 -8
  164. package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs.map +1 -1
  165. package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs +8 -8
  166. package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs.map +1 -1
  167. package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +11 -11
  168. package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +1 -1
  169. package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs +16 -16
  170. package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs.map +1 -1
  171. package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +21 -21
  172. package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +1 -1
  173. package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs +10 -10
  174. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +67 -67
  175. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -1
  176. package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs +16 -16
  177. package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs.map +1 -1
  178. package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +21 -21
  179. package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +1 -1
  180. package/fesm2022/verben-workflow-ui-src-lib-models.mjs +6 -0
  181. package/fesm2022/verben-workflow-ui-src-lib-models.mjs.map +1 -1
  182. package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +3 -3
  183. package/fesm2022/verben-workflow-ui-src-lib-services.mjs +12 -12
  184. package/fesm2022/verben-workflow-ui-src-lib-shared.mjs +12 -12
  185. package/fesm2022/verben-workflow-ui-src-lib-shared.mjs.map +1 -1
  186. package/package.json +20 -20
  187. package/src/lib/components/form-group/form-fields/form-fields.component.d.ts +1 -0
  188. package/src/lib/components/form-group/form-group.component.d.ts +6 -1
  189. package/src/lib/components/form-group/form-group.module.d.ts +3 -2
  190. package/src/lib/components/my-queue/my-queue.facade.d.ts +0 -1
  191. package/src/lib/components/workflow/workflow.component.d.ts +1 -1
  192. package/src/lib/models/DataType.d.ts +7 -1
  193. package/src/lib/models/EAVEntity.d.ts +4 -0
  194. package/src/lib/models/FormEntity.d.ts +1 -0
  195. package/src/lib/models/public-api.d.ts +1 -0
  196. package/styles/styles.css +19 -1436
@@ -17,10 +17,10 @@ class EnvironmentService {
17
17
  get environment() {
18
18
  return this.env;
19
19
  }
20
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EnvironmentService, deps: [{ token: ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
21
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EnvironmentService, deps: [{ token: ENVIRONMENT }], target: i0.ɵɵFactoryTarget.Injectable });
21
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EnvironmentService, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EnvironmentService, decorators: [{
24
24
  type: Injectable,
25
25
  args: [{
26
26
  providedIn: 'root',
@@ -104,10 +104,10 @@ class HttpWebRequestService {
104
104
  delete(url, baseUrl, overrideToken) {
105
105
  return this.request('DELETE', url, undefined, overrideToken, baseUrl);
106
106
  }
107
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HttpWebRequestService, deps: [{ token: i1.HttpClient }, { token: EnvironmentService }, { token: i3.NotificationService }], target: i0.ɵɵFactoryTarget.Injectable });
108
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HttpWebRequestService, providedIn: 'root' });
107
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HttpWebRequestService, deps: [{ token: i1.HttpClient }, { token: EnvironmentService }, { token: i3.NotificationService }], target: i0.ɵɵFactoryTarget.Injectable });
108
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HttpWebRequestService, providedIn: 'root' });
109
109
  }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: HttpWebRequestService, decorators: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HttpWebRequestService, decorators: [{
111
111
  type: Injectable,
112
112
  args: [{
113
113
  providedIn: 'root',
@@ -161,10 +161,10 @@ class UtilService {
161
161
  console.warn('Util Service is not provided');
162
162
  }
163
163
  }
164
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UtilService, deps: [{ token: UTIL_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
165
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UtilService, providedIn: 'root' });
164
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UtilService, deps: [{ token: UTIL_SERVICE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
165
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UtilService, providedIn: 'root' });
166
166
  }
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: UtilService, decorators: [{
167
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UtilService, decorators: [{
168
168
  type: Injectable,
169
169
  args: [{
170
170
  providedIn: 'root',
@@ -293,10 +293,10 @@ class LabelService {
293
293
  this.inFlightRequests.set(cacheKey, requestPromise);
294
294
  return requestPromise;
295
295
  }
296
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelService, deps: [{ token: UtilService }, { token: HttpWebRequestService }], target: i0.ɵɵFactoryTarget.Injectable });
297
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelService, providedIn: 'root' });
296
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LabelService, deps: [{ token: UtilService }, { token: HttpWebRequestService }], target: i0.ɵɵFactoryTarget.Injectable });
297
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LabelService, providedIn: 'root' });
298
298
  }
299
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: LabelService, decorators: [{
299
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LabelService, decorators: [{
300
300
  type: Injectable,
301
301
  args: [{
302
302
  providedIn: 'root',
@@ -7,8 +7,8 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
7
7
  import { AsyncLabelPipe } from 'verben-workflow-ui/src/lib/pipes';
8
8
 
9
9
  class SharedModule {
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: SharedModule, imports: [CommonModule, AsyncLabelPipe], exports: [CommonModule,
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
11
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, imports: [CommonModule, AsyncLabelPipe], exports: [CommonModule,
12
12
  DataTableModule,
13
13
  CardModule,
14
14
  SvgModule,
@@ -36,7 +36,7 @@ class SharedModule {
36
36
  DataFilterModule,
37
37
  AsyncLabelPipe,
38
38
  EditorModule] });
39
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SharedModule, imports: [CommonModule, CommonModule,
39
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, imports: [CommonModule, CommonModule,
40
40
  DataTableModule,
41
41
  CardModule,
42
42
  SvgModule,
@@ -64,7 +64,7 @@ class SharedModule {
64
64
  DataFilterModule,
65
65
  EditorModule] });
66
66
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: SharedModule, decorators: [{
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SharedModule, decorators: [{
68
68
  type: NgModule,
69
69
  args: [{
70
70
  declarations: [],
@@ -108,7 +108,7 @@ const baseStyle = {
108
108
  fontSize: '125%',
109
109
  whiteSpace: 'nowrap',
110
110
  margin: '0',
111
- border: '1px solid #D4A007',
111
+ border: '1px solid var(--vbn-color-primary)',
112
112
  borderRadius: '16px',
113
113
  borderCollapse: 'separate',
114
114
  borderSpacing: '0',
@@ -116,10 +116,10 @@ const baseStyle = {
116
116
  overflow: 'hidden',
117
117
  rows: {
118
118
  even: {
119
- backgroundColor: '#FDFDFD',
119
+ backgroundColor: 'var(--vbn-color-surface)',
120
120
  },
121
121
  odd: {
122
- backgroundColor: '#F1F4FB',
122
+ backgroundColor: 'var(--vbn-color-surface-alt)',
123
123
  },
124
124
  height: '68px',
125
125
  },
@@ -129,7 +129,7 @@ const baseStyle = {
129
129
  header: {
130
130
  stickyTop: true,
131
131
  // zIndex: 2,
132
- backgroundColor: '#EFF2FB',
132
+ backgroundColor: 'var(--vbn-color-surface-alt)',
133
133
  fontWeight: 'bold',
134
134
  textAlign: 'left',
135
135
  padding: '12px 16px',
@@ -141,7 +141,7 @@ const baseStyle = {
141
141
  padding: '3px',
142
142
  },
143
143
  // body: {
144
- // background: '#fff',
144
+ // background: 'var(--vbn-color-surface)',
145
145
  // padding: '4px 5px',
146
146
  // textAlign: 'center',
147
147
  // },
@@ -295,10 +295,10 @@ class BaseDataViewComponent {
295
295
  this.dataView.toggleView();
296
296
  }
297
297
  }
298
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BaseDataViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
299
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.13", type: BaseDataViewComponent, selector: "ng-component", viewQueries: [{ propertyName: "dataTable", first: true, predicate: DataTableComponent, descendants: true, isSignal: true }, { propertyName: "cardDataView", first: true, predicate: ["vdcv"], descendants: true }, { propertyName: "dataView", first: true, predicate: ["vdv"], descendants: true }], ngImport: i0, template: '', isInline: true });
298
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseDataViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
299
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.14", type: BaseDataViewComponent, selector: "ng-component", viewQueries: [{ propertyName: "dataTable", first: true, predicate: DataTableComponent, descendants: true, isSignal: true }, { propertyName: "cardDataView", first: true, predicate: ["vdcv"], descendants: true }, { propertyName: "dataView", first: true, predicate: ["vdv"], descendants: true }], ngImport: i0, template: '', isInline: true });
300
300
  }
301
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: BaseDataViewComponent, decorators: [{
301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BaseDataViewComponent, decorators: [{
302
302
  type: Component,
303
303
  args: [{
304
304
  template: '',
@@ -1 +1 @@
1
- {"version":3,"file":"verben-workflow-ui-src-lib-shared.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/shared/shared.module.ts","../../../projects/verben-workflow-ui/src/lib/shared/base-table-style.ts","../../../projects/verben-workflow-ui/src/lib/shared/components/base-data-view.component.ts","../../../projects/verben-workflow-ui/src/lib/shared/components/base-model-field.ts","../../../projects/verben-workflow-ui/src/lib/shared/verben-workflow-ui-src-lib-shared.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {\n CardDataViewModule,\n CardModule,\n DataExportModule,\n DataTableModule,\n DataViewModule,\n DropDownModule,\n SortTableModule,\n SvgModule,\n TableFilterModule,\n VerbenaBadgeModule,\n VerbenaButtonModule,\n VerbenaInputModule,\n VerbenaSwitchModule,\n VerbenDialogueModule,\n VisibleColumnModule,\n VerbenaTextareaModule,\n VerbenPopUpModule,\n ChipModule,\n DatePickerModule,\n DataColumnsModule,\n DataXportModule,\n DataSortModule,\n DataFilterModule,\n} from 'verben-ng-ui';\n\nimport { EditorModule } from 'verben-reporting-ui';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { AsyncLabelPipe } from 'verben-workflow-ui/src/lib/pipes';\n\n@NgModule({\n declarations: [],\n imports: [CommonModule, AsyncLabelPipe],\n exports: [\n CommonModule,\n DataTableModule,\n CardModule,\n SvgModule,\n DataViewModule,\n CardDataViewModule,\n SortTableModule,\n VisibleColumnModule,\n TableFilterModule,\n DataExportModule,\n FormsModule,\n ReactiveFormsModule,\n VerbenaInputModule,\n VerbenaButtonModule,\n VerbenaBadgeModule,\n VerbenDialogueModule,\n DropDownModule,\n VerbenaTextareaModule,\n VerbenaSwitchModule,\n VerbenPopUpModule,\n ChipModule,\n DatePickerModule,\n DataColumnsModule,\n DataXportModule,\n DataSortModule,\n DataFilterModule,\n AsyncLabelPipe,\n EditorModule,\n ],\n})\nexport class SharedModule {}\n","import { TableStyles } from 'verben-ng-ui';\n\nexport const baseStyle: TableStyles = {\n width: '100%',\n fontFamily: '\"Fraunces\", serif',\n fontSize: '125%',\n whiteSpace: 'nowrap',\n margin: '0',\n border: '1px solid #D4A007',\n borderRadius: '16px',\n borderCollapse: 'separate',\n borderSpacing: '0',\n // tableLayout: 'fixed',\n overflow: 'hidden',\n rows: {\n even: {\n backgroundColor: '#FDFDFD',\n },\n odd: {\n backgroundColor: '#F1F4FB',\n },\n height: '68px',\n },\n cells: {\n padding: '0.5rem 1rem',\n },\n header: {\n stickyTop: true,\n // zIndex: 2,\n backgroundColor: '#EFF2FB',\n fontWeight: 'bold',\n textAlign: 'left',\n padding: '12px 16px',\n height: '40px',\n },\n footer: {\n // stickyBottom: true,\n // zIndex: 2,\n padding: '3px',\n },\n // body: {\n // background: '#fff',\n // padding: '4px 5px',\n // textAlign: 'center',\n // },\n firstColumn: {\n // stickyLeft: true,\n // zIndex: 1,\n },\n lastColumn: {\n stickyRight: true,\n zIndex: 1,\n textAlign: 'center',\n width: 'min-content',\n },\n};\n","import {\n Component,\n computed,\n effect,\n OnInit,\n signal,\n viewChild,\n ViewChild,\n} from '@angular/core';\nimport {\n CardData,\n CardDataViewComponent,\n ColumnDefinition,\n DataFilterType,\n DataTableComponent,\n DataViewComponent,\n IDataFilter,\n SortCondition,\n} from 'verben-ng-ui';\nimport { baseStyle } from '../base-table-style';\nimport { DataViewConfig } from '../models/DataViewConfig';\n\n@Component({\n template: '',\n})\nexport abstract class BaseDataViewComponent<T> implements OnInit {\n @ViewChild('vdcv') cardDataView!: CardDataViewComponent;\n @ViewChild('vdv') dataView!: DataViewComponent;\n dataTable = viewChild(DataTableComponent);\n styles = baseStyle;\n\n // Configurable properties\n abstract config: DataViewConfig<T>;\n\n // Signals for reactive data management\n data = signal<T[]>([]);\n cardData;\n\n // View state management\n currentData: CardData | null = null;\n isGridView = true;\n selected: CardData | null = null;\n\n // Filtering and sorting state\n visibleColumns: IDataFilter[] = [];\n filterArray: IDataFilter[] = [];\n sortOptions: IDataFilter[] = [];\n\n selectedColumnCount = 0;\n selectedFilterTableCount = 0;\n selectedSortCount = 0;\n\n constructor() {\n this.cardData = computed(\n () => this.data()?.map(this.config.cardDataMapper) ?? []\n );\n effect(() => {\n const possiblyNewCard = this.cardData().find((c) => !c.data.Name) ?? null;\n if (possiblyNewCard) {\n console.log(possiblyNewCard);\n possiblyNewCard.selected = true;\n this.currentData = this.cardDataView.onItemClick(possiblyNewCard);\n }\n });\n this.initializeConfig();\n }\n\n ngOnInit() {\n this.loadInitialData();\n }\n\n // To be implemented by child classes if needed\n protected loadInitialData() {\n // Default implementation can be overridden\n // this.data.set(this.config.dataSource);\n }\n\n private initializeConfig() {\n // Initialize filter and column configurations\n this.visibleColumns = this.config?.columns?.map((col) => ({\n checked: true,\n name: typeof col.header === 'string' ? col.header : col.id,\n type: DataFilterType.Bool,\n }));\n\n this.selectedColumnCount = this.config?.columns.length || 0;\n this.filterArray = this.config?.filterOptions || [];\n this.sortOptions = this.config?.sortOptions || [];\n }\n\n // Generic view and interaction methods\n // openDetailView(identifier: any) {\n // const cardItem = this.getCardDataByIdentifier(identifier);\n // if (cardItem && this.cardDataView) {\n // this.resetSelections();\n // cardItem.selected = true;\n // this.currentData = this.cardDataView.onItemClick(cardItem);\n // this.dataView.toggleView();\n // }\n // }\n\n // private resetSelections() {\n // this.cardData().forEach((item) => {\n // item.selected = false;\n // item.children?.forEach((child) => (child.selected = false));\n // });\n // }\n\n // Abstract method to find card data - to be implemented by child\n // protected abstract getCardDataByIdentifier(\n // identifier: any\n // ): CardData | undefined;\n\n // Common utility methods\n downloadCSV(data: Partial<any>[]) {\n const headers = Object.keys(data[0]);\n const csvContent = [\n headers.join(','),\n ...data.map((row) => headers.map((header) => row[header]).join(',')),\n ].join('\\n');\n const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });\n const link = document.createElement('a');\n if (link.download !== undefined) {\n const url = URL.createObjectURL(blob);\n link.setAttribute('href', url);\n link.setAttribute('download', 'export.csv');\n link.style.visibility = 'hidden';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n }\n\n // Event handlers\n onViewChange(isGridView: boolean): void {\n // this.isGridView = isGridView;\n // if (this.currentData) {\n // this.cardDataView?.clearData();\n // this.currentData = null;\n // }\n }\n\n onColumnsUpdated(updatedColumns: ColumnDefinition<T>[]) {\n // Update visible columns logic\n this.config.columns = updatedColumns;\n this.selectedColumnCount = updatedColumns.length;\n // Additional column update logic can be added here\n }\n\n onSortUpdated(updatedSorts: SortCondition[]) {\n this.selectedSortCount = updatedSorts.length;\n }\n\n onSelectionChange(selectedRows: T[]) {\n console.log('Selection changed:', selectedRows);\n }\n\n onStateChange(event: { key: string; value: boolean }): void {\n console.log(`State changed for ${event.key}:`, event.value);\n }\n\n handleExport(exportedData: Partial<T>[]) {\n console.log('Exported data:', exportedData);\n this.downloadCSV(exportedData);\n }\n\n goToCardView(data: T) {\n const item = this.cardData().find((x) => x.data.Code == data);\n if (item) {\n this.cardClicked(item, true);\n }\n }\n\n goToTableView() {\n if (!this.currentData) {\n return;\n }\n this.dataView.toggleView();\n const id = this.currentData.data ? this.currentData.data.Code : '';\n if (id.trim().length > 0 && !this.dataTable()?.isRowEditing(id)) {\n this.dataTable()?.toggleRowEdit(id);\n }\n }\n\n cardClicked(item: CardData, toggleView: boolean = false) {\n this.currentData = this.cardDataView.onItemClick(item);\n if (toggleView) {\n this.dataView.toggleView();\n }\n }\n}\n","export class BaseModeField<T> {\n value: T | undefined;\n key: string;\n label: string;\n required: boolean;\n order: number;\n controlType: 'text' | 'select' | 'multiselect';\n type: string;\n options: { key: string; value: string }[];\n constructor(\n options: {\n value?: T;\n key?: string;\n label?: string;\n required?: boolean;\n order?: number;\n controlType?: 'text' | 'select' | 'multiselect';\n type?: string;\n options?: { key: string; value: string }[];\n } = {}\n ) {\n this.value = options.value;\n this.key = options.key || '';\n this.label = options.label || '';\n this.required = !!options.required;\n this.order = options.order === undefined ? 1 : options.order;\n this.controlType = options.controlType || 'text';\n this.type = options.type || '';\n this.options = options.options || [];\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAkEa,YAAY,CAAA;wGAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAZ,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,EAhCb,OAAA,EAAA,CAAA,YAAY,EAAE,cAAc,aAEpC,YAAY;YACZ,eAAe;YACf,UAAU;YACV,SAAS;YACT,cAAc;YACd,kBAAkB;YAClB,eAAe;YACf,mBAAmB;YACnB,iBAAiB;YACjB,gBAAgB;YAChB,WAAW;YACX,mBAAmB;YACnB,kBAAkB;YAClB,mBAAmB;YACnB,kBAAkB;YAClB,oBAAoB;YACpB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QACjD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC;KACtC;AACF;;AC9BD;;AAEG;;;;"}
1
+ {"version":3,"file":"verben-workflow-ui-src-lib-shared.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/shared/shared.module.ts","../../../projects/verben-workflow-ui/src/lib/shared/base-table-style.ts","../../../projects/verben-workflow-ui/src/lib/shared/components/base-data-view.component.ts","../../../projects/verben-workflow-ui/src/lib/shared/components/base-model-field.ts","../../../projects/verben-workflow-ui/src/lib/shared/verben-workflow-ui-src-lib-shared.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport {\n CardDataViewModule,\n CardModule,\n DataExportModule,\n DataTableModule,\n DataViewModule,\n DropDownModule,\n SortTableModule,\n SvgModule,\n TableFilterModule,\n VerbenaBadgeModule,\n VerbenaButtonModule,\n VerbenaInputModule,\n VerbenaSwitchModule,\n VerbenDialogueModule,\n VisibleColumnModule,\n VerbenaTextareaModule,\n VerbenPopUpModule,\n ChipModule,\n DatePickerModule,\n DataColumnsModule,\n DataXportModule,\n DataSortModule,\n DataFilterModule,\n} from 'verben-ng-ui';\n\nimport { EditorModule } from 'verben-reporting-ui';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { AsyncLabelPipe } from 'verben-workflow-ui/src/lib/pipes';\n\n@NgModule({\n declarations: [],\n imports: [CommonModule, AsyncLabelPipe],\n exports: [\n CommonModule,\n DataTableModule,\n CardModule,\n SvgModule,\n DataViewModule,\n CardDataViewModule,\n SortTableModule,\n VisibleColumnModule,\n TableFilterModule,\n DataExportModule,\n FormsModule,\n ReactiveFormsModule,\n VerbenaInputModule,\n VerbenaButtonModule,\n VerbenaBadgeModule,\n VerbenDialogueModule,\n DropDownModule,\n VerbenaTextareaModule,\n VerbenaSwitchModule,\n VerbenPopUpModule,\n ChipModule,\n DatePickerModule,\n DataColumnsModule,\n DataXportModule,\n DataSortModule,\n DataFilterModule,\n AsyncLabelPipe,\n EditorModule,\n ],\n})\nexport class SharedModule {}\n","import { TableStyles } from 'verben-ng-ui';\n\nexport const baseStyle: TableStyles = {\n width: '100%',\n fontFamily: '\"Fraunces\", serif',\n fontSize: '125%',\n whiteSpace: 'nowrap',\n margin: '0',\n border: '1px solid var(--vbn-color-primary)',\n borderRadius: '16px',\n borderCollapse: 'separate',\n borderSpacing: '0',\n // tableLayout: 'fixed',\n overflow: 'hidden',\n rows: {\n even: {\n backgroundColor: 'var(--vbn-color-surface)',\n },\n odd: {\n backgroundColor: 'var(--vbn-color-surface-alt)',\n },\n height: '68px',\n },\n cells: {\n padding: '0.5rem 1rem',\n },\n header: {\n stickyTop: true,\n // zIndex: 2,\n backgroundColor: 'var(--vbn-color-surface-alt)',\n fontWeight: 'bold',\n textAlign: 'left',\n padding: '12px 16px',\n height: '40px',\n },\n footer: {\n // stickyBottom: true,\n // zIndex: 2,\n padding: '3px',\n },\n // body: {\n // background: 'var(--vbn-color-surface)',\n // padding: '4px 5px',\n // textAlign: 'center',\n // },\n firstColumn: {\n // stickyLeft: true,\n // zIndex: 1,\n },\n lastColumn: {\n stickyRight: true,\n zIndex: 1,\n textAlign: 'center',\n width: 'min-content',\n },\n};\n","import {\n Component,\n computed,\n effect,\n OnInit,\n signal,\n viewChild,\n ViewChild,\n} from '@angular/core';\nimport {\n CardData,\n CardDataViewComponent,\n ColumnDefinition,\n DataFilterType,\n DataTableComponent,\n DataViewComponent,\n IDataFilter,\n SortCondition,\n} from 'verben-ng-ui';\nimport { baseStyle } from '../base-table-style';\nimport { DataViewConfig } from '../models/DataViewConfig';\n\n@Component({\n template: '',\n})\nexport abstract class BaseDataViewComponent<T> implements OnInit {\n @ViewChild('vdcv') cardDataView!: CardDataViewComponent;\n @ViewChild('vdv') dataView!: DataViewComponent;\n dataTable = viewChild(DataTableComponent);\n styles = baseStyle;\n\n // Configurable properties\n abstract config: DataViewConfig<T>;\n\n // Signals for reactive data management\n data = signal<T[]>([]);\n cardData;\n\n // View state management\n currentData: CardData | null = null;\n isGridView = true;\n selected: CardData | null = null;\n\n // Filtering and sorting state\n visibleColumns: IDataFilter[] = [];\n filterArray: IDataFilter[] = [];\n sortOptions: IDataFilter[] = [];\n\n selectedColumnCount = 0;\n selectedFilterTableCount = 0;\n selectedSortCount = 0;\n\n constructor() {\n this.cardData = computed(\n () => this.data()?.map(this.config.cardDataMapper) ?? []\n );\n effect(() => {\n const possiblyNewCard = this.cardData().find((c) => !c.data.Name) ?? null;\n if (possiblyNewCard) {\n console.log(possiblyNewCard);\n possiblyNewCard.selected = true;\n this.currentData = this.cardDataView.onItemClick(possiblyNewCard);\n }\n });\n this.initializeConfig();\n }\n\n ngOnInit() {\n this.loadInitialData();\n }\n\n // To be implemented by child classes if needed\n protected loadInitialData() {\n // Default implementation can be overridden\n // this.data.set(this.config.dataSource);\n }\n\n private initializeConfig() {\n // Initialize filter and column configurations\n this.visibleColumns = this.config?.columns?.map((col) => ({\n checked: true,\n name: typeof col.header === 'string' ? col.header : col.id,\n type: DataFilterType.Bool,\n }));\n\n this.selectedColumnCount = this.config?.columns.length || 0;\n this.filterArray = this.config?.filterOptions || [];\n this.sortOptions = this.config?.sortOptions || [];\n }\n\n // Generic view and interaction methods\n // openDetailView(identifier: any) {\n // const cardItem = this.getCardDataByIdentifier(identifier);\n // if (cardItem && this.cardDataView) {\n // this.resetSelections();\n // cardItem.selected = true;\n // this.currentData = this.cardDataView.onItemClick(cardItem);\n // this.dataView.toggleView();\n // }\n // }\n\n // private resetSelections() {\n // this.cardData().forEach((item) => {\n // item.selected = false;\n // item.children?.forEach((child) => (child.selected = false));\n // });\n // }\n\n // Abstract method to find card data - to be implemented by child\n // protected abstract getCardDataByIdentifier(\n // identifier: any\n // ): CardData | undefined;\n\n // Common utility methods\n downloadCSV(data: Partial<any>[]) {\n const headers = Object.keys(data[0]);\n const csvContent = [\n headers.join(','),\n ...data.map((row) => headers.map((header) => row[header]).join(',')),\n ].join('\\n');\n const blob = new Blob([csvContent], { type: 'text/csv;charset=utf-8;' });\n const link = document.createElement('a');\n if (link.download !== undefined) {\n const url = URL.createObjectURL(blob);\n link.setAttribute('href', url);\n link.setAttribute('download', 'export.csv');\n link.style.visibility = 'hidden';\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n }\n\n // Event handlers\n onViewChange(isGridView: boolean): void {\n // this.isGridView = isGridView;\n // if (this.currentData) {\n // this.cardDataView?.clearData();\n // this.currentData = null;\n // }\n }\n\n onColumnsUpdated(updatedColumns: ColumnDefinition<T>[]) {\n // Update visible columns logic\n this.config.columns = updatedColumns;\n this.selectedColumnCount = updatedColumns.length;\n // Additional column update logic can be added here\n }\n\n onSortUpdated(updatedSorts: SortCondition[]) {\n this.selectedSortCount = updatedSorts.length;\n }\n\n onSelectionChange(selectedRows: T[]) {\n console.log('Selection changed:', selectedRows);\n }\n\n onStateChange(event: { key: string; value: boolean }): void {\n console.log(`State changed for ${event.key}:`, event.value);\n }\n\n handleExport(exportedData: Partial<T>[]) {\n console.log('Exported data:', exportedData);\n this.downloadCSV(exportedData);\n }\n\n goToCardView(data: T) {\n const item = this.cardData().find((x) => x.data.Code == data);\n if (item) {\n this.cardClicked(item, true);\n }\n }\n\n goToTableView() {\n if (!this.currentData) {\n return;\n }\n this.dataView.toggleView();\n const id = this.currentData.data ? this.currentData.data.Code : '';\n if (id.trim().length > 0 && !this.dataTable()?.isRowEditing(id)) {\n this.dataTable()?.toggleRowEdit(id);\n }\n }\n\n cardClicked(item: CardData, toggleView: boolean = false) {\n this.currentData = this.cardDataView.onItemClick(item);\n if (toggleView) {\n this.dataView.toggleView();\n }\n }\n}\n","export class BaseModeField<T> {\n value: T | undefined;\n key: string;\n label: string;\n required: boolean;\n order: number;\n controlType: 'text' | 'select' | 'multiselect';\n type: string;\n options: { key: string; value: string }[];\n constructor(\n options: {\n value?: T;\n key?: string;\n label?: string;\n required?: boolean;\n order?: number;\n controlType?: 'text' | 'select' | 'multiselect';\n type?: string;\n options?: { key: string; value: string }[];\n } = {}\n ) {\n this.value = options.value;\n this.key = options.key || '';\n this.label = options.label || '';\n this.required = !!options.required;\n this.order = options.order === undefined ? 1 : options.order;\n this.controlType = options.controlType || 'text';\n this.type = options.type || '';\n this.options = options.options || [];\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAkEa,YAAY,CAAA;wGAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAZ,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,EAhCb,OAAA,EAAA,CAAA,YAAY,EAAE,cAAc,aAEpC,YAAY;YACZ,eAAe;YACf,UAAU;YACV,SAAS;YACT,cAAc;YACd,kBAAkB;YAClB,eAAe;YACf,mBAAmB;YACnB,iBAAiB;YACjB,gBAAgB;YAChB,WAAW;YACX,mBAAmB;YACnB,kBAAkB;YAClB,mBAAmB;YACnB,kBAAkB;YAClB,oBAAoB;YACpB,cAAc;YACd,qBAAqB;YACrB,mBAAmB;YACnB,iBAAiB;YACjB,UAAU;YACV,gBAAgB;YAChB,iBAAiB;YACjB,eAAe;YACf,cAAc;YACd,gBAAgB;YAChB,cAAc;YACd,YAAY,CAAA,EAAA,CAAA,CAAA;yGAGH,YAAY,EAAA,OAAA,EAAA,CAhCb,YAAY,EAEpB,YAAY;YACZ,eAAe;YACf,UAAU;YACV,SAAS;YACT,cAAc;YACd,kBAAkB;YAClB,eAAe;YACf,mBAAmB;YACnB,iBAAiB;YACjB,gBAAgB;YAChB,WAAW;YACX,mBAAmB;YACnB,kBAAkB;YAClB,mBAA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EAAE,EAAE;AACb,iBAAA,CAAA;wDAEoB,YAAY,EAAA,CAAA;sBAA9B,SAAS;uBAAC,MAAM,CAAA;gBACC,QAAQ,EAAA,CAAA;sBAAzB,SAAS;uBAAC,KAAK,CAAA;;;MC3BL,aAAa,CAAA;AACxB,IAAA,KAAK,CAAgB;AACrB,IAAA,GAAG,CAAS;AACZ,IAAA,KAAK,CAAS;AACd,IAAA,QAAQ,CAAU;AAClB,IAAA,KAAK,CAAS;AACd,IAAA,WAAW,CAAoC;AAC/C,IAAA,IAAI,CAAS;AACb,IAAA,OAAO,CAAmC;AAC1C,IAAA,WAAA,CACE,UASI,EAAE,EAAA;AAEN,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;QAC3B,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,IAAI,EAAE,CAAC;QAC7B,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC;AACnC,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,KAAK,SAAS,GAAG,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC;QAC7D,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,IAAI,MAAM,CAAC;QACjD,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC;KACtC;AACF;;AC9BD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verben-workflow-ui",
3
- "version": "0.5.77",
3
+ "version": "0.5.79",
4
4
  "style": "styles/styles.css",
5
5
  "exports": {
6
6
  "./styles": {
@@ -15,6 +15,12 @@
15
15
  "esm": "./esm2022/verben-workflow-ui.mjs",
16
16
  "default": "./fesm2022/verben-workflow-ui.mjs"
17
17
  },
18
+ "./src/lib/models": {
19
+ "types": "./src/lib/models/index.d.ts",
20
+ "esm2022": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
21
+ "esm": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
22
+ "default": "./fesm2022/verben-workflow-ui-src-lib-models.mjs"
23
+ },
18
24
  "./src/lib/pipes": {
19
25
  "types": "./src/lib/pipes/index.d.ts",
20
26
  "esm2022": "./esm2022/src/lib/pipes/verben-workflow-ui-src-lib-pipes.mjs",
@@ -27,12 +33,6 @@
27
33
  "esm": "./esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs",
28
34
  "default": "./fesm2022/verben-workflow-ui-src-lib-shared.mjs"
29
35
  },
30
- "./src/lib/models": {
31
- "types": "./src/lib/models/index.d.ts",
32
- "esm2022": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
33
- "esm": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
34
- "default": "./fesm2022/verben-workflow-ui-src-lib-models.mjs"
35
- },
36
36
  "./src/lib/services": {
37
37
  "types": "./src/lib/services/index.d.ts",
38
38
  "esm2022": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
@@ -45,18 +45,6 @@
45
45
  "esm": "./esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs",
46
46
  "default": "./fesm2022/verben-workflow-ui-src-lib-components-actors.mjs"
47
47
  },
48
- "./src/lib/components/file-render": {
49
- "types": "./src/lib/components/file-render/index.d.ts",
50
- "esm2022": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
51
- "esm": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
52
- "default": "./fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs"
53
- },
54
- "./src/lib/components/file-upload": {
55
- "types": "./src/lib/components/file-upload/index.d.ts",
56
- "esm2022": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
57
- "esm": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
58
- "default": "./fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs"
59
- },
60
48
  "./src/lib/components/designer": {
61
49
  "types": "./src/lib/components/designer/index.d.ts",
62
50
  "esm2022": "./esm2022/src/lib/components/designer/verben-workflow-ui-src-lib-components-designer.mjs",
@@ -69,6 +57,18 @@
69
57
  "esm": "./esm2022/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.mjs",
70
58
  "default": "./fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs"
71
59
  },
60
+ "./src/lib/components/file-upload": {
61
+ "types": "./src/lib/components/file-upload/index.d.ts",
62
+ "esm2022": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
63
+ "esm": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
64
+ "default": "./fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs"
65
+ },
66
+ "./src/lib/components/file-render": {
67
+ "types": "./src/lib/components/file-render/index.d.ts",
68
+ "esm2022": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
69
+ "esm": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
70
+ "default": "./fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs"
71
+ },
72
72
  "./src/lib/components/flowable-status": {
73
73
  "types": "./src/lib/components/flowable-status/index.d.ts",
74
74
  "esm2022": "./esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs",
@@ -181,7 +181,7 @@
181
181
  "peerDependencies": {
182
182
  "@angular/common": "^14.0.0 || ^18.0.0",
183
183
  "@angular/core": "^14.0.0 || ^18.0.0",
184
- "verben-ng-ui": "^1.2.27",
184
+ "verben-ng-ui": "^1.3.0",
185
185
  "verben-reporting-ui": "^0.1.20",
186
186
  "tailwindcss": "^3.4.13"
187
187
  },
@@ -130,6 +130,7 @@ export declare class FormFieldsComponent implements OnInit {
130
130
  }): void;
131
131
  handleExport(exportedData: Partial<any>[]): void;
132
132
  private downloadCSV;
133
+ publishEAV(entity: FormEntity): Promise<void>;
133
134
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldsComponent, never>;
134
135
  static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldsComponent, "lib-form-fields", never, { "path": { "alias": "path"; "required": false; }; "application": { "alias": "application"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "searchDebounceTime": { "alias": "searchDebounceTime"; "required": false; }; }, { "onViewProcessClicked": "onViewProcessClicked"; }, never, never, false, never>;
135
136
  }
@@ -5,6 +5,7 @@ import { CardData, CardDataViewComponent, ColumnDefinition, DataTableComponent,
5
5
  import { FormEntity, PagedResult, Status } from 'verben-workflow-ui/src/lib/models';
6
6
  import { EnvironmentService, HttpWebRequestService, UtilService } from 'verben-workflow-ui/src/lib/services';
7
7
  import { FormsService } from './form-group.service';
8
+ import { EAVEntity } from 'verben-workflow-ui/src/lib/models';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class FormGroupComponent implements OnInit {
10
11
  private utilService;
@@ -41,6 +42,8 @@ export declare class FormGroupComponent implements OnInit {
41
42
  currentSorts: IDataFilter[];
42
43
  searchTerm$: Subject<string>;
43
44
  statusOptions: Status[];
45
+ eavEntities: EAVEntity[];
46
+ workflowAPI: string;
44
47
  users: FormEntity[];
45
48
  visibleColumns: IDataFilter[];
46
49
  filterArray: IDataFilter[];
@@ -67,7 +70,7 @@ export declare class FormGroupComponent implements OnInit {
67
70
  userCardClicked(item: CardData, toggleView?: boolean): void;
68
71
  saveFormGroup(): Promise<void>;
69
72
  toggleIsValidate(value: boolean, row: FormEntity): void;
70
- tableSaveUser(form: FormEntity, callBack: () => any): Promise<void>;
73
+ tableSaveFormGroup(form: FormEntity, callBack: () => any): Promise<void>;
71
74
  updateTable(): void;
72
75
  onFieldCountChange(value: any, source: FormEntity): void;
73
76
  getFieldCount(source: FormEntity): string;
@@ -98,6 +101,8 @@ export declare class FormGroupComponent implements OnInit {
98
101
  }): void;
99
102
  handleExport(exportedData: Partial<any>[]): void;
100
103
  private downloadCSV;
104
+ getEAVEntities(): Promise<EAVEntity[] | undefined>;
105
+ publishEAV(entity: FormEntity): Promise<void>;
101
106
  static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
102
107
  static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "lib-form-group", never, { "path": { "alias": "path"; "required": false; }; "application": { "alias": "application"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; }, { "onViewProcessClicked": "onViewProcessClicked"; }, never, never, false, never>;
103
108
  }
@@ -5,10 +5,11 @@ import * as i2 from "@angular/common";
5
5
  import * as i3 from "@angular/forms";
6
6
  import * as i4 from "verben-ng-ui";
7
7
  import * as i5 from "./form-fields/form-fields.module";
8
- import * as i6 from "@angular/router";
8
+ import * as i6 from "verben-workflow-ui/src/lib/shared";
9
+ import * as i7 from "@angular/router";
9
10
  export declare const appRoutes: Routes;
10
11
  export declare class FormGroupLibModule {
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupLibModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormGroupLibModule, [typeof i1.FormGroupComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DataTableModule, typeof i4.SvgModule, typeof i4.VerbenPopUpModule, typeof i4.DataViewModule, typeof i4.VerbenaButtonModule, typeof i4.CardDataViewModule, typeof i4.DropDownModule, typeof i4.VerbenaSwitchModule, typeof i4.TableFilterModule, typeof i4.VisibleColumnModule, typeof i4.SortTableModule, typeof i4.DataExportModule, typeof i4.VerbenaInputModule, typeof i5.FormsFieldLibModule, typeof i6.RouterModule], [typeof i1.FormGroupComponent]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormGroupLibModule, [typeof i1.FormGroupComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.DataTableModule, typeof i4.SvgModule, typeof i4.VerbenPopUpModule, typeof i4.DataViewModule, typeof i4.VerbenaButtonModule, typeof i4.CardDataViewModule, typeof i4.DropDownModule, typeof i4.VerbenaSwitchModule, typeof i4.TableFilterModule, typeof i4.VisibleColumnModule, typeof i4.SortTableModule, typeof i4.DataExportModule, typeof i4.VerbenaInputModule, typeof i5.FormsFieldLibModule, typeof i6.SharedModule, typeof i7.RouterModule], [typeof i1.FormGroupComponent]>;
13
14
  static ɵinj: i0.ɵɵInjectorDeclaration<FormGroupLibModule>;
14
15
  }
@@ -34,7 +34,6 @@ export declare class MyQueueFacade {
34
34
  passOn(action: WorkflowAction, request: Task, comment: string, recipient: string | null, currentUser: string): Promise<void>;
35
35
  passBack(action: WorkflowAction, request: Task, comment: string, recipient: string | null, currentUser: string): Promise<void>;
36
36
  skipTo(from: WorkflowAction['FromStage'], to: WorkflowAction['ToStage'], request: Task, comment: string, recipient: string | null, currentUser: string): Promise<void>;
37
- pickTask(action: WorkflowAction, request: Task, comment: string, recipient: string | null, currentUser: string): Promise<void>;
38
37
  reAssign(request: Task, comment: string, currentUser: string): Promise<void>;
39
38
  fillForm(form: Form, taskCode: string): Promise<Form>;
40
39
  loadMore(queue?: boolean): Promise<void>;
@@ -51,7 +51,7 @@ export declare class WorkflowComponent {
51
51
  key: string;
52
52
  value: boolean;
53
53
  }): void;
54
- getRowStatus(type: string): "" | "bg-[#EBF9F1] text-[#1F9254]" | "bg-[#FBE7E8] text-[#A30D11]";
54
+ getRowStatus(type: string): "" | "bg-[var(--vbn-color-success-bg)] text-[var(--vbn-color-success)]" | "bg-[#FBE7E8] text-[var(--vbn-color-error)]";
55
55
  static ɵfac: i0.ɵɵFactoryDeclaration<WorkflowComponent, never>;
56
56
  static ɵcmp: i0.ɵɵComponentDeclaration<WorkflowComponent, "verben-workflow", never, {}, { "itemClicked": "itemClicked"; }, never, never, false, never>;
57
57
  }
@@ -14,5 +14,11 @@ export declare enum DataType {
14
14
  Video = "Video",
15
15
  Audio = "Audio",
16
16
  SingleFileSelection = "SingleFileSelection",
17
- MultiFileSelection = "MultiFileSelection"
17
+ MultiFileSelection = "MultiFileSelection",
18
+ DateTime = "DateTime",
19
+ DateTimeOffset = "DateTimeOffset",
20
+ None = "None",
21
+ JSON = "JSON",
22
+ Boolean = "Boolean",
23
+ SmallInt = "SmallInt"
18
24
  }
@@ -0,0 +1,4 @@
1
+ import { BaseModel } from './base';
2
+ export interface EAVEntity extends BaseModel {
3
+ Entity: string;
4
+ }
@@ -3,6 +3,7 @@ import { FormProperty } from './FormProperty';
3
3
  import { Tag } from './Tag';
4
4
  export interface FormEntity extends BaseModel {
5
5
  Name: string;
6
+ Entity?: string;
6
7
  Description: string;
7
8
  Workflow: string;
8
9
  Form: string;
@@ -60,3 +60,4 @@ export * from './WorkflowOperation';
60
60
  export * from './WorkflowStage';
61
61
  export * from './File';
62
62
  export * from './FlowableStatus';
63
+ export * from './EAVEntity';