verben-workflow-ui 0.5.76 → 0.5.78

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 (182) 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 +17 -10
  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 +5 -5
  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 +5 -5
  53. package/esm2022/src/lib/components/form-group/form-group.module.mjs +4 -4
  54. package/esm2022/src/lib/components/form-group/form-group.service.mjs +3 -3
  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 +5 -5
  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 +5 -5
  67. package/esm2022/src/lib/components/my-queue/my-queue.facade.mjs +3 -3
  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 +17 -26
  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 +18 -9
  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/pipes/async-label.pipe.mjs +3 -3
  125. package/esm2022/src/lib/services/environment.service.mjs +3 -3
  126. package/esm2022/src/lib/services/http-web-request.service.mjs +3 -3
  127. package/esm2022/src/lib/services/label.service.mjs +3 -3
  128. package/esm2022/src/lib/services/util.service.mjs +3 -3
  129. package/esm2022/src/lib/shared/base-table-style.mjs +6 -6
  130. package/esm2022/src/lib/shared/components/base-data-view.component.mjs +3 -3
  131. package/esm2022/src/lib/shared/shared.module.mjs +4 -4
  132. package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs +21 -21
  133. package/fesm2022/verben-workflow-ui-src-lib-components-actors.mjs.map +1 -1
  134. package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs +85 -85
  135. package/fesm2022/verben-workflow-ui-src-lib-components-designer.mjs.map +1 -1
  136. package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs +7 -7
  137. package/fesm2022/verben-workflow-ui-src-lib-components-expiration.mjs.map +1 -1
  138. package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +8 -8
  139. package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +1 -1
  140. package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +8 -8
  141. package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +1 -1
  142. package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs +33 -26
  143. package/fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs.map +1 -1
  144. package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +8 -8
  145. package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +1 -1
  146. package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs +27 -27
  147. package/fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs.map +1 -1
  148. package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs +11 -11
  149. package/fesm2022/verben-workflow-ui-src-lib-components-form-response.mjs.map +1 -1
  150. package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs +8 -8
  151. package/fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs.map +1 -1
  152. package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs +16 -16
  153. package/fesm2022/verben-workflow-ui-src-lib-components-forms.mjs.map +1 -1
  154. package/fesm2022/verben-workflow-ui-src-lib-components-journal.mjs +7 -7
  155. package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs +21 -21
  156. package/fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs.map +1 -1
  157. package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs +13 -13
  158. package/fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs.map +1 -1
  159. package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs +8 -8
  160. package/fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs.map +1 -1
  161. package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs +8 -8
  162. package/fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs.map +1 -1
  163. package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +11 -11
  164. package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +1 -1
  165. package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs +16 -16
  166. package/fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs.map +1 -1
  167. package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs +33 -42
  168. package/fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs.map +1 -1
  169. package/fesm2022/verben-workflow-ui-src-lib-components-wf.mjs +10 -10
  170. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +67 -67
  171. package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -1
  172. package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs +16 -16
  173. package/fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs.map +1 -1
  174. package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs +34 -25
  175. package/fesm2022/verben-workflow-ui-src-lib-components-workflows.mjs.map +1 -1
  176. package/fesm2022/verben-workflow-ui-src-lib-pipes.mjs +3 -3
  177. package/fesm2022/verben-workflow-ui-src-lib-services.mjs +12 -12
  178. package/fesm2022/verben-workflow-ui-src-lib-shared.mjs +12 -12
  179. package/fesm2022/verben-workflow-ui-src-lib-shared.mjs.map +1 -1
  180. package/package.json +30 -30
  181. package/src/lib/components/workflow/workflow.component.d.ts +1 -1
  182. package/styles/styles.css +19 -1436
@@ -38,10 +38,10 @@ class ExpirationComponent {
38
38
  recipients: 'New Recipients'
39
39
  });
40
40
  }
41
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpirationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: ExpirationComponent, selector: "lib-expiration", inputs: { cycle: "cycle" }, outputs: { toggle: "toggle" }, ngImport: i0, template: "<div class=\"w-full bg-white p-4\">\n <div *ngFor=\"let item of cycle; let i = index\">\n <div class=\"bg-[#FFE681B2] px-6 py-3 flex items-center mb-6 justify-between\" (click)=\"toggleCycle(i)\">\n <span>Cycle {{ item.id + 1 }}</span>\n <span class=\" cursor-pointer\">{{ item.expanded ? '\u25B2' : '\u25BC' }}</span>\n </div>\n \n <div *ngIf=\"item.expanded\" class=\"cycle-content border border-primary p-6\">\n <div *ngFor=\"let message of item.messages\" class=\"flex flex-col gap-6 mb-4\">\n <verben-drop-down width=\"100%\" placeholder=\"Select Message ID\" [(options)]=\"idOptions\"></verben-drop-down>\n <verbena-input type=\"text\" placeHolder=\"Message Subject\" bgColor=\"white\"></verbena-input>\n <verben-chip [(ngModel)]=\"chipArray\" placeholder=\"Recipients\"></verben-chip>\n </div>\n \n <div class=\"flex justify-end mt-4\">\n <verbena-button text=\"+ Add Message\" bgColor=\"transparent\" pd=\"0\" textColor=\"blue\" (click)=\"addMessage(i)\"></verbena-button>\n </div>\n </div>\n </div>\n </div>\n ", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.VerbenaInputComponent, selector: "verbena-input", inputs: ["label", "placeHolder", "required", "svgPosition", "minLength", "maxLength", "type", "bgColor", "border", "borderRadius", "textColor", "value", "labelPosition", "labelColor", "disable", "readOnly", "min", "max", "showBorder", "showErrorMessage", "errorMessageColor", "errorBorderColor", "errorPosition", "svg", "fontSize", "svgWidth", "svgHeight", "svgColor", "capitalization", "inputContainerClass", "inputFieldClass", "passLength", "inputWrapperClass", "passwordToggle", "customErrorMessages", "icon", "textPass"], outputs: ["valueChange"] }, { kind: "component", type: i3.VerbenaButtonComponent, selector: "verbena-button", inputs: ["text", "icon", "useIcon", "svgPosition", "iconPosition", "bgColor", "textColor", "border", "borderRadius", "pd", "width", "height", "fontSize", "fontWeight", "disable", "svgSize", "weight", "variant", "styleType", "svg", "svgWidth", "svgHeight", "iconColor", "svgColor", "buttonClass", "buttonTextClass", "isLoading", "spinnerSize", "spinnerColor"] }, { kind: "component", type: i3.DropDownComponent, selector: "verben-drop-down", inputs: ["options", "width", "showHorizontalLine", "horizontalLineColor", "optionLabel", "optionSubLabel", "optionValue", "placeholder", "invalidMessage", "errorPosition", "loadMoreCaption", "display", "showClear", "lazyLoad", "selectKey", "styleClass", "group", "multiselect", "filter", "avoidDuplication", "filterBy", "debounceTime", "minChar", "disabled", "required", "load", "asyncLabel", "search"], outputs: ["optionsChange", "onChange", "onClick", "onClear"] }, { kind: "component", type: i3.ChipComponent, selector: "verben-chip", inputs: ["width", "placeholder", "max", "styleClass", "separator", "disabled", "required", "invalidMessage", "errorPosition"], outputs: ["onChange"] }] });
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ExpirationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
42
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ExpirationComponent, selector: "lib-expiration", inputs: { cycle: "cycle" }, outputs: { toggle: "toggle" }, ngImport: i0, template: "<div class=\"w-full bg-white p-4\">\n <div *ngFor=\"let item of cycle; let i = index\">\n <div class=\"bg-[#FFE681B2] px-6 py-3 flex items-center mb-6 justify-between\" (click)=\"toggleCycle(i)\">\n <span>Cycle {{ item.id + 1 }}</span>\n <span class=\" cursor-pointer\">{{ item.expanded ? '\u25B2' : '\u25BC' }}</span>\n </div>\n \n <div *ngIf=\"item.expanded\" class=\"cycle-content border border-primary p-6\">\n <div *ngFor=\"let message of item.messages\" class=\"flex flex-col gap-6 mb-4\">\n <verben-drop-down width=\"100%\" placeholder=\"Select Message ID\" [(options)]=\"idOptions\"></verben-drop-down>\n <verbena-input type=\"text\" placeHolder=\"Message Subject\" bgColor=\"white\"></verbena-input>\n <verben-chip [(ngModel)]=\"chipArray\" placeholder=\"Recipients\"></verben-chip>\n </div>\n \n <div class=\"flex justify-end mt-4\">\n <verbena-button text=\"+ Add Message\" bgColor=\"transparent\" pd=\"0\" textColor=\"blue\" (click)=\"addMessage(i)\"></verbena-button>\n </div>\n </div>\n </div>\n </div>\n ", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.VerbenaInputComponent, selector: "verbena-input", inputs: ["disabled", "label", "placeHolder", "required", "svgPosition", "minLength", "maxLength", "type", "bgColor", "border", "borderRadius", "textColor", "value", "labelPosition", "labelColor", "disable", "readOnly", "min", "max", "showBorder", "showErrorMessage", "errorMessageColor", "errorBorderColor", "errorPosition", "svg", "fontSize", "svgWidth", "svgHeight", "svgColor", "capitalization", "inputContainerClass", "inputFieldClass", "passLength", "inputWrapperClass", "passwordToggle", "customErrorMessages", "icon", "textPass"], outputs: ["valueChange"] }, { kind: "component", type: i3.VerbenaButtonComponent, selector: "verbena-button", inputs: ["type", "text", "icon", "useIcon", "svgPosition", "iconPosition", "bgColor", "textColor", "border", "borderRadius", "pd", "width", "height", "fontSize", "fontWeight", "disable", "svgSize", "weight", "variant", "styleType", "svg", "svgWidth", "svgHeight", "iconColor", "svgColor", "buttonClass", "buttonTextClass", "isLoading", "spinnerSize", "spinnerColor"] }, { kind: "component", type: i3.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", "load", "asyncLabel", "search"], outputs: ["optionsChange", "onChange", "onClick", "onClear"] }, { kind: "component", type: i3.ChipComponent, selector: "verben-chip", inputs: ["width", "placeholder", "max", "styleClass", "separator", "disabled", "required", "invalidMessage", "errorPosition"], outputs: ["onChange"] }] });
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpirationComponent, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ExpirationComponent, decorators: [{
45
45
  type: Component,
46
46
  args: [{ selector: 'lib-expiration', template: "<div class=\"w-full bg-white p-4\">\n <div *ngFor=\"let item of cycle; let i = index\">\n <div class=\"bg-[#FFE681B2] px-6 py-3 flex items-center mb-6 justify-between\" (click)=\"toggleCycle(i)\">\n <span>Cycle {{ item.id + 1 }}</span>\n <span class=\" cursor-pointer\">{{ item.expanded ? '\u25B2' : '\u25BC' }}</span>\n </div>\n \n <div *ngIf=\"item.expanded\" class=\"cycle-content border border-primary p-6\">\n <div *ngFor=\"let message of item.messages\" class=\"flex flex-col gap-6 mb-4\">\n <verben-drop-down width=\"100%\" placeholder=\"Select Message ID\" [(options)]=\"idOptions\"></verben-drop-down>\n <verbena-input type=\"text\" placeHolder=\"Message Subject\" bgColor=\"white\"></verbena-input>\n <verben-chip [(ngModel)]=\"chipArray\" placeholder=\"Recipients\"></verben-chip>\n </div>\n \n <div class=\"flex justify-end mt-4\">\n <verbena-button text=\"+ Add Message\" bgColor=\"transparent\" pd=\"0\" textColor=\"blue\" (click)=\"addMessage(i)\"></verbena-button>\n </div>\n </div>\n </div>\n </div>\n " }]
47
47
  }], propDecorators: { cycle: [{
@@ -51,11 +51,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
51
51
  }] } });
52
52
 
53
53
  class ExpirationModule {
54
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpirationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
55
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ExpirationModule, declarations: [ExpirationComponent], imports: [CommonModule, SharedModule], exports: [ExpirationComponent] });
56
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpirationModule, imports: [CommonModule, SharedModule] });
54
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ExpirationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
55
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: ExpirationModule, declarations: [ExpirationComponent], imports: [CommonModule, SharedModule], exports: [ExpirationComponent] });
56
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ExpirationModule, imports: [CommonModule, SharedModule] });
57
57
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ExpirationModule, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ExpirationModule, decorators: [{
59
59
  type: NgModule,
60
60
  args: [{
61
61
  declarations: [ExpirationComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"verben-workflow-ui-src-lib-components-expiration.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/components/expiration/expiration.component.ts","../../../projects/verben-workflow-ui/src/lib/components/expiration/expiration.component.html","../../../projects/verben-workflow-ui/src/lib/components/expiration/expiration.module.ts","../../../projects/verben-workflow-ui/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'lib-expiration',\n templateUrl: './expiration.component.html',\n styleUrl: './expiration.component.css'\n})\nexport class ExpirationComponent {\n idOptions: string[] = ['12uio899920000', '12uio8999299000', '896o899920000'];\n chipArray: string[] = [];\n\n @Input() cycle: Array<{ \n id: number; \n expanded: boolean; \n messages: { \n messageId: string; \n subject: string; \n recipients: string; \n }[] \n }> = [\n { \n id: 0, \n expanded: false, \n messages: [{ messageId: 'Default ID 1', subject: 'Default Subject 1', recipients: 'Default Recipients 1' }]\n },\n { \n id: 1, \n expanded: false, \n messages: [{ messageId: 'Default ID 2', subject: 'Default Subject 2', recipients: 'Default Recipients 2' }]\n },\n { \n id: 2, \n expanded: false, \n messages: [{ messageId: 'Default ID 3', subject: 'Default Subject 3', recipients: 'Default Recipients 3' }]\n }\n ];\n\n @Output() toggle = new EventEmitter<number>();\n\n toggleCycle(index: number) {\n this.cycle[index].expanded = !this.cycle[index].expanded;\n this.toggle.emit(this.cycle[index].id);\n }\n\n addMessage(index: number) {\n this.cycle[index].messages.push({\n messageId: 'New Message ID',\n subject: 'New Subject',\n recipients: 'New Recipients'\n });\n }\n}\n","<div class=\"w-full bg-white p-4\">\n <div *ngFor=\"let item of cycle; let i = index\">\n <div class=\"bg-[#FFE681B2] px-6 py-3 flex items-center mb-6 justify-between\" (click)=\"toggleCycle(i)\">\n <span>Cycle {{ item.id + 1 }}</span>\n <span class=\" cursor-pointer\">{{ item.expanded ? '▲' : '▼' }}</span>\n </div>\n \n <div *ngIf=\"item.expanded\" class=\"cycle-content border border-primary p-6\">\n <div *ngFor=\"let message of item.messages\" class=\"flex flex-col gap-6 mb-4\">\n <verben-drop-down width=\"100%\" placeholder=\"Select Message ID\" [(options)]=\"idOptions\"></verben-drop-down>\n <verbena-input type=\"text\" placeHolder=\"Message Subject\" bgColor=\"white\"></verbena-input>\n <verben-chip [(ngModel)]=\"chipArray\" placeholder=\"Recipients\"></verben-chip>\n </div>\n \n <div class=\"flex justify-end mt-4\">\n <verbena-button text=\"+ Add Message\" bgColor=\"transparent\" pd=\"0\" textColor=\"blue\" (click)=\"addMessage(i)\"></verbena-button>\n </div>\n </div>\n </div>\n </div>\n ","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SharedModule } from 'verben-workflow-ui/src/lib/shared';\nimport { ExpirationComponent } from './expiration.component';\n\n@NgModule({\n declarations: [ExpirationComponent],\n imports: [CommonModule, SharedModule],\n exports: [ExpirationComponent],\n})\nexport class ExpirationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAOa,mBAAmB,CAAA;IAC9B,SAAS,GAAa,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,CAAC,CAAC;IAC7E,SAAS,GAAa,EAAE,CAAC;AAEhB,IAAA,KAAK,GAQT;AACH,QAAA;AACE,YAAA,EAAE,EAAE,CAAC;AACL,YAAA,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AEG;;;;"}
1
+ {"version":3,"file":"verben-workflow-ui-src-lib-components-expiration.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/components/expiration/expiration.component.ts","../../../projects/verben-workflow-ui/src/lib/components/expiration/expiration.component.html","../../../projects/verben-workflow-ui/src/lib/components/expiration/expiration.module.ts","../../../projects/verben-workflow-ui/src/lib/components/expiration/verben-workflow-ui-src-lib-components-expiration.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'lib-expiration',\n templateUrl: './expiration.component.html',\n styleUrl: './expiration.component.css'\n})\nexport class ExpirationComponent {\n idOptions: string[] = ['12uio899920000', '12uio8999299000', '896o899920000'];\n chipArray: string[] = [];\n\n @Input() cycle: Array<{ \n id: number; \n expanded: boolean; \n messages: { \n messageId: string; \n subject: string; \n recipients: string; \n }[] \n }> = [\n { \n id: 0, \n expanded: false, \n messages: [{ messageId: 'Default ID 1', subject: 'Default Subject 1', recipients: 'Default Recipients 1' }]\n },\n { \n id: 1, \n expanded: false, \n messages: [{ messageId: 'Default ID 2', subject: 'Default Subject 2', recipients: 'Default Recipients 2' }]\n },\n { \n id: 2, \n expanded: false, \n messages: [{ messageId: 'Default ID 3', subject: 'Default Subject 3', recipients: 'Default Recipients 3' }]\n }\n ];\n\n @Output() toggle = new EventEmitter<number>();\n\n toggleCycle(index: number) {\n this.cycle[index].expanded = !this.cycle[index].expanded;\n this.toggle.emit(this.cycle[index].id);\n }\n\n addMessage(index: number) {\n this.cycle[index].messages.push({\n messageId: 'New Message ID',\n subject: 'New Subject',\n recipients: 'New Recipients'\n });\n }\n}\n","<div class=\"w-full bg-white p-4\">\n <div *ngFor=\"let item of cycle; let i = index\">\n <div class=\"bg-[#FFE681B2] px-6 py-3 flex items-center mb-6 justify-between\" (click)=\"toggleCycle(i)\">\n <span>Cycle {{ item.id + 1 }}</span>\n <span class=\" cursor-pointer\">{{ item.expanded ? '▲' : '▼' }}</span>\n </div>\n \n <div *ngIf=\"item.expanded\" class=\"cycle-content border border-primary p-6\">\n <div *ngFor=\"let message of item.messages\" class=\"flex flex-col gap-6 mb-4\">\n <verben-drop-down width=\"100%\" placeholder=\"Select Message ID\" [(options)]=\"idOptions\"></verben-drop-down>\n <verbena-input type=\"text\" placeHolder=\"Message Subject\" bgColor=\"white\"></verbena-input>\n <verben-chip [(ngModel)]=\"chipArray\" placeholder=\"Recipients\"></verben-chip>\n </div>\n \n <div class=\"flex justify-end mt-4\">\n <verbena-button text=\"+ Add Message\" bgColor=\"transparent\" pd=\"0\" textColor=\"blue\" (click)=\"addMessage(i)\"></verbena-button>\n </div>\n </div>\n </div>\n </div>\n ","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { SharedModule } from 'verben-workflow-ui/src/lib/shared';\nimport { ExpirationComponent } from './expiration.component';\n\n@NgModule({\n declarations: [ExpirationComponent],\n imports: [CommonModule, SharedModule],\n exports: [ExpirationComponent],\n})\nexport class ExpirationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAOa,mBAAmB,CAAA;IAC9B,SAAS,GAAa,CAAC,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,CAAC,CAAC;IAC7E,SAAS,GAAa,EAAE,CAAC;AAEhB,IAAA,KAAK,GAQT;AACH,QAAA;AACE,YAAA,EAAE,EAAE,CAAC;AACL,YAAA,QAAQ,EAAE,KAAK;AACf,YAAA,QAAQ,EAAE,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,sBAAsB,EAAE,CAAC;AAC5G,SAAA;AACD,QAAA;AACE,YAAA,EAAE,EAAE,CAAC;AACL,YAAA,QAAQ,EAAE,KAAK;AACf,YAAA,QAAQ,EAAE,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,sBAAsB,EAAE,CAAC;AAC5G,SAAA;AACD,Q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CAAA;;4FDbW,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,SAAS;+BACE,gBAAgB,EAAA,QAAA,EAAA,ymCAAA,EAAA,CAAA;8BAQjB,KAAK,EAAA,CAAA;sBAAb,KAAK;gBA0BI,MAAM,EAAA,CAAA;sBAAf,MAAM;;;ME3BI,gBAAgB,CAAA;wGAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,iBAJZ,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACxB,YAAY,EAAE,YAAY,aAC1B,mBAAmB,CAAA,EAAA,CAAA,CAAA;yGAElB,gBAAgB,EAAA,OAAA,EAAA,CAHjB,YAAY,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGzB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;oBACrC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
@@ -29,12 +29,12 @@ class FileRenderComponent {
29
29
  }
30
30
  window.open(`${this.envService.environment.FILE_URL}${this.fileUrl}`, '_blank');
31
31
  }
32
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileRenderComponent, deps: [{ token: i1.EnvironmentService }], target: i0.ɵɵFactoryTarget.Component });
33
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FileRenderComponent, selector: "verben-file-render", inputs: { fileUrl: "fileUrl", multiple: "multiple", disabled: "disabled", showCancel: "showCancel" }, outputs: { onCancelClicked: "onCancelClicked" }, ngImport: i0, template: "<div class=\"file-container p-2 flex items-center justify-between gap-3\">\n <div class=\"text-sm overflow-x-auto font-semibold\">{{ fileName }}</div>\n <div class=\"flex gap-2 items-center\">\n <span (click)=\"openFile()\" class=\"cursor-pointer\">\n <verben-svg\n [icon]=\"'download-icon'\"\n [width]=\"15\"\n [height]=\"15\"\n ></verben-svg>\n </span>\n <verben-svg\n *ngIf=\"showCancel\"\n [stroke]=\"disabled ? '#9A9FBF' : multiple ? '#D4A007' : '#0000FF'\"\n [icon]=\"'close'\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"onCancelClicked.emit()\"\n >\n </verben-svg>\n </div>\n</div>\n", styles: [".file-container{border:1px solid #ccc6fbb2;border-radius:5px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.SvgComponent, selector: "verben-svg", inputs: ["icon", "width", "height", "fill", "stroke", "type", "size"] }] });
32
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileRenderComponent, deps: [{ token: i1.EnvironmentService }], target: i0.ɵɵFactoryTarget.Component });
33
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FileRenderComponent, selector: "verben-file-render", inputs: { fileUrl: "fileUrl", multiple: "multiple", disabled: "disabled", showCancel: "showCancel" }, outputs: { onCancelClicked: "onCancelClicked" }, ngImport: i0, template: "<div class=\"file-container p-2 flex items-center justify-between gap-3\">\n <div class=\"text-sm overflow-x-auto font-semibold\">{{ fileName }}</div>\n <div class=\"flex gap-2 items-center\">\n <span (click)=\"openFile()\" class=\"cursor-pointer\">\n <verben-svg\n [icon]=\"'download-icon'\"\n [width]=\"15\"\n [height]=\"15\"\n ></verben-svg>\n </span>\n <verben-svg\n *ngIf=\"showCancel\"\n [stroke]=\"disabled ? 'var(--vbn-color-text-muted)' : multiple ? 'var(--vbn-color-primary)' : 'var(--vbn-color-border-focus)'\"\n [icon]=\"'close'\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"onCancelClicked.emit()\"\n >\n </verben-svg>\n </div>\n</div>\n", styles: [".file-container{border:1px solid #ccc6fbb2;border-radius:5px}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.SvgComponent, selector: "verben-svg", inputs: ["icon", "width", "height", "fill", "stroke", "type", "size"] }] });
34
34
  }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileRenderComponent, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileRenderComponent, decorators: [{
36
36
  type: Component,
37
- args: [{ selector: 'verben-file-render', template: "<div class=\"file-container p-2 flex items-center justify-between gap-3\">\n <div class=\"text-sm overflow-x-auto font-semibold\">{{ fileName }}</div>\n <div class=\"flex gap-2 items-center\">\n <span (click)=\"openFile()\" class=\"cursor-pointer\">\n <verben-svg\n [icon]=\"'download-icon'\"\n [width]=\"15\"\n [height]=\"15\"\n ></verben-svg>\n </span>\n <verben-svg\n *ngIf=\"showCancel\"\n [stroke]=\"disabled ? '#9A9FBF' : multiple ? '#D4A007' : '#0000FF'\"\n [icon]=\"'close'\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"onCancelClicked.emit()\"\n >\n </verben-svg>\n </div>\n</div>\n", styles: [".file-container{border:1px solid #ccc6fbb2;border-radius:5px}\n"] }]
37
+ args: [{ selector: 'verben-file-render', template: "<div class=\"file-container p-2 flex items-center justify-between gap-3\">\n <div class=\"text-sm overflow-x-auto font-semibold\">{{ fileName }}</div>\n <div class=\"flex gap-2 items-center\">\n <span (click)=\"openFile()\" class=\"cursor-pointer\">\n <verben-svg\n [icon]=\"'download-icon'\"\n [width]=\"15\"\n [height]=\"15\"\n ></verben-svg>\n </span>\n <verben-svg\n *ngIf=\"showCancel\"\n [stroke]=\"disabled ? 'var(--vbn-color-text-muted)' : multiple ? 'var(--vbn-color-primary)' : 'var(--vbn-color-border-focus)'\"\n [icon]=\"'close'\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"onCancelClicked.emit()\"\n >\n </verben-svg>\n </div>\n</div>\n", styles: [".file-container{border:1px solid #ccc6fbb2;border-radius:5px}\n"] }]
38
38
  }], ctorParameters: () => [{ type: i1.EnvironmentService }], propDecorators: { fileUrl: [{
39
39
  type: Input
40
40
  }], multiple: [{
@@ -48,19 +48,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
48
48
  }] } });
49
49
 
50
50
  class FileRenderModule {
51
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileRenderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
52
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FileRenderModule, declarations: [FileRenderComponent], imports: [CommonModule,
51
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileRenderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
52
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: FileRenderModule, declarations: [FileRenderComponent], imports: [CommonModule,
53
53
  FormsModule,
54
54
  ReactiveFormsModule,
55
55
  SvgModule,
56
56
  VerbenaButtonModule], exports: [FileRenderComponent] });
57
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileRenderModule, imports: [CommonModule,
57
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileRenderModule, imports: [CommonModule,
58
58
  FormsModule,
59
59
  ReactiveFormsModule,
60
60
  SvgModule,
61
61
  VerbenaButtonModule] });
62
62
  }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileRenderModule, decorators: [{
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileRenderModule, decorators: [{
64
64
  type: NgModule,
65
65
  args: [{
66
66
  declarations: [FileRenderComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"verben-workflow-ui-src-lib-components-file-render.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/components/file-render/file-render.component.ts","../../../projects/verben-workflow-ui/src/lib/components/file-render/file-render.component.html","../../../projects/verben-workflow-ui/src/lib/components/file-render/file-render.module.ts","../../../projects/verben-workflow-ui/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { EnvironmentService } from 'verben-workflow-ui/src/lib/services';\n\n@Component({\n selector: 'verben-file-render',\n templateUrl: './file-render.component.html',\n styleUrl: './file-render.component.css',\n})\nexport class FileRenderComponent {\n @Input() fileUrl: string | null = null;\n @Input() multiple: boolean = false;\n fileName: string | null = null;\n @Input() disabled: boolean = false;\n @Input() showCancel: boolean = false;\n @Output() onCancelClicked: EventEmitter<Event> = new EventEmitter();\n\n constructor(private envService: EnvironmentService) {}\n\n ngOnInit(): void {\n if (this.fileUrl) {\n this.fileName = this.fileUrl.split('/').pop() || null;\n }\n }\n\n openFile() {\n if (!this.fileUrl) {\n return;\n }\n window.open(\n `${this.envService.environment.FILE_URL}${this.fileUrl}`,\n '_blank',\n );\n }\n}\n","<div class=\"file-container p-2 flex items-center justify-between gap-3\">\n <div class=\"text-sm overflow-x-auto font-semibold\">{{ fileName }}</div>\n <div class=\"flex gap-2 items-center\">\n <span (click)=\"openFile()\" class=\"cursor-pointer\">\n <verben-svg\n [icon]=\"'download-icon'\"\n [width]=\"15\"\n [height]=\"15\"\n ></verben-svg>\n </span>\n <verben-svg\n *ngIf=\"showCancel\"\n [stroke]=\"disabled ? '#9A9FBF' : multiple ? '#D4A007' : '#0000FF'\"\n [icon]=\"'close'\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"onCancelClicked.emit()\"\n >\n </verben-svg>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { SvgModule, VerbenaButtonModule } from 'verben-ng-ui';\nimport { FileRenderComponent } from './file-render.component';\n\n@NgModule({\n declarations: [FileRenderComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SvgModule,\n VerbenaButtonModule,\n ],\n exports: [FileRenderComponent],\n})\nexport class FileRenderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAQa,mBAAmB,CAAA;AAQV,IAAA,UAAA,CAAA;IAPX,OAAO,GAAkB,IAAI,CAAC;IAC9B,QAAQ,GAAY,KAAK,CAAC;IACnC,QAAQ,GAAkB,IAAI,CAAC;IACtB,QAAQ,GAAY,KAAK,CAAC;IAC1B,UAAU,GAAY,KAAK,CAAC;AAC3B,IAAA,eAAe,GAAwB,IAAI,YAAY,EAAE,CAAC;AAEpE,IAAA,WAAA,CAAoB,UAA8B,EAAA;QAA9B,IAAU,CAAA,UAAA,GAAV,UAAU,CAAoB;KAAI;IAEtD,QAAQ,GAAA;AACN,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AAChB,YAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC;SACvD;KACF;IAED,QAAQ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ACG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACI,eAAe,EAAA,CAAA;sBAAxB,MAAM;;;MEII,gBAAgB,CAAA;wGAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;yGAAhB,gBAAgB,EAAA,YAAA,EAAA,CAVZ,mBAAmB,CAAA,EAAA,OAAA,EAAA,CAEhC,YAAY;YACZ,WAAW;YACX,mBAAmB;YACnB,SAAS;AACT,YAAA,mBAAmB,aAEX,mBAAmB,CAAA,EAAA,CAAA,CAAA;AAElB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YARzB,YAAY;YACZ,WAAW;YACX,mBAAmB;YACnB,SAAS;YACT,mBAAmB,CAAA,EAAA,CAAA,CAAA;;4FAIV,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAX5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,mBAAmB;wBACnB,SAAS;wBACT,mBAAmB;AACpB,qBAAA;oBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"verben-workflow-ui-src-lib-components-file-render.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/components/file-render/file-render.component.ts","../../../projects/verben-workflow-ui/src/lib/components/file-render/file-render.component.html","../../../projects/verben-workflow-ui/src/lib/components/file-render/file-render.module.ts","../../../projects/verben-workflow-ui/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { EnvironmentService } from 'verben-workflow-ui/src/lib/services';\n\n@Component({\n selector: 'verben-file-render',\n templateUrl: './file-render.component.html',\n styleUrl: './file-render.component.css',\n})\nexport class FileRenderComponent {\n @Input() fileUrl: string | null = null;\n @Input() multiple: boolean = false;\n fileName: string | null = null;\n @Input() disabled: boolean = false;\n @Input() showCancel: boolean = false;\n @Output() onCancelClicked: EventEmitter<Event> = new EventEmitter();\n\n constructor(private envService: EnvironmentService) {}\n\n ngOnInit(): void {\n if (this.fileUrl) {\n this.fileName = this.fileUrl.split('/').pop() || null;\n }\n }\n\n openFile() {\n if (!this.fileUrl) {\n return;\n }\n window.open(\n `${this.envService.environment.FILE_URL}${this.fileUrl}`,\n '_blank',\n );\n }\n}\n","<div class=\"file-container p-2 flex items-center justify-between gap-3\">\n <div class=\"text-sm overflow-x-auto font-semibold\">{{ fileName }}</div>\n <div class=\"flex gap-2 items-center\">\n <span (click)=\"openFile()\" class=\"cursor-pointer\">\n <verben-svg\n [icon]=\"'download-icon'\"\n [width]=\"15\"\n [height]=\"15\"\n ></verben-svg>\n </span>\n <verben-svg\n *ngIf=\"showCancel\"\n [stroke]=\"disabled ? 'var(--vbn-color-text-muted)' : multiple ? 'var(--vbn-color-primary)' : 'var(--vbn-color-border-focus)'\"\n [icon]=\"'close'\"\n [width]=\"15\"\n [height]=\"15\"\n (click)=\"onCancelClicked.emit()\"\n >\n </verben-svg>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { SvgModule, VerbenaButtonModule } from 'verben-ng-ui';\nimport { FileRenderComponent } from './file-render.component';\n\n@NgModule({\n declarations: [FileRenderComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n SvgModule,\n VerbenaButtonModule,\n ],\n exports: [FileRenderComponent],\n})\nexport class FileRenderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';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EAAA,CAAA;kBAX5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,WAAW;wBACX,mBAAmB;wBACnB,SAAS;wBACT,mBAAmB;AACpB,qBAAA;oBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
@@ -73,12 +73,12 @@ class FileUploadComponent {
73
73
  trackByFile(index, file) {
74
74
  return file.name; // or file.id if available
75
75
  }
76
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileUploadComponent, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
77
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: FileUploadComponent, selector: "file-upload", inputs: { multiple: "multiple", label: "label", accept: "accept", selectedFiles: "selectedFiles", disabled: "disabled" }, outputs: { selectedFilesChange: "selectedFilesChange" }, viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }], ngImport: i0, template: "<div\n class=\"file-upload-container\"\n (dragover)=\"onDragOver($event)\"\n (drop)=\"onDrop($event)\"\n>\n <label>{{ label }}</label>\n\n <!-- Selected files -->\n <div\n class=\"py-6 px-3 border rounded-lg flex gap-2 flex-wrap border-[#9A9FBF66] mt-2 mb-3\"\n >\n <ng-container\n *ngFor=\"let file of selectedFiles; let i = index; trackBy: trackByFile\"\n >\n <verben-file-render\n [fileUrl]=\"file.name\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n [showCancel]=\"true\"\n (onCancelClicked)=\"removeFile(i)\"\n ></verben-file-render>\n </ng-container>\n <!-- <span \n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg w-fit\" \n *ngFor=\"let file of selectedFiles; let i = index\">\n {{ file.name | slice:0:10 }}{{ file.name.length > 10 ? '...' : '' }}\n <verben-svg \n [stroke]=\"disabled ? '#9A9FBF' : (multiple ? '#D4A007' : '#0000FF')\" \n [icon]=\"'close'\" \n [width]=\"10\" \n [height]=\"10\" \n (click)=\"!disabled && removeFile(i)\">\n </verben-svg>\n </span> -->\n\n <!-- Add File Button (only if multiple or empty for single) -->\n <button\n *ngIf=\"multiple || selectedFiles.length === 0\"\n [disabled]=\"disabled\"\n (click)=\"!disabled && fileInput.click()\"\n [class.opacity-50]=\"disabled\"\n [class.cursor-not-allowed]=\"disabled\"\n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg\"\n >\n <verben-svg [icon]=\"'plus'\" [width]=\"12\" [height]=\"12\"></verben-svg>\n {{ multiple ? \"Add File\" : \"Browse File\" }}\n </button>\n </div>\n\n <!-- Hidden input -->\n <input\n #fileInput\n type=\"file\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n (change)=\"onFileSelected($event)\"\n hidden\n />\n\n <!-- Drop Area -->\n <div\n class=\"drop-area border border-dashed w-full flex flex-col justify-center items-center border-[#9A9FBF66] p-4 rounded-lg bg-[#9a9fbf27] min-h-[200px]\"\n (click)=\"!disabled && fileInput.click()\"\n >\n <verben-svg [icon]=\"'upload-icon'\" [width]=\"90\" [height]=\"90\"></verben-svg>\n <p class=\"text-[#000000B2]\">Drag and drop files here</p>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.SvgComponent, selector: "verben-svg", inputs: ["icon", "width", "height", "fill", "stroke", "type", "size"] }, { kind: "component", type: i3.FileRenderComponent, selector: "verben-file-render", inputs: ["fileUrl", "multiple", "disabled", "showCancel"], outputs: ["onCancelClicked"] }] });
76
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileUploadComponent, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
77
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FileUploadComponent, selector: "file-upload", inputs: { multiple: "multiple", label: "label", accept: "accept", selectedFiles: "selectedFiles", disabled: "disabled" }, outputs: { selectedFilesChange: "selectedFilesChange" }, viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }], ngImport: i0, template: "<div\n class=\"file-upload-container\"\n (dragover)=\"onDragOver($event)\"\n (drop)=\"onDrop($event)\"\n>\n <label>{{ label }}</label>\n\n <!-- Selected files -->\n <div\n class=\"py-6 px-3 border rounded-lg flex gap-2 flex-wrap border-[#9A9FBF66] mt-2 mb-3\"\n >\n <ng-container\n *ngFor=\"let file of selectedFiles; let i = index; trackBy: trackByFile\"\n >\n <verben-file-render\n [fileUrl]=\"file.name\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n [showCancel]=\"true\"\n (onCancelClicked)=\"removeFile(i)\"\n ></verben-file-render>\n </ng-container>\n <!-- <span \n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg w-fit\" \n *ngFor=\"let file of selectedFiles; let i = index\">\n {{ file.name | slice:0:10 }}{{ file.name.length > 10 ? '...' : '' }}\n <verben-svg \n [stroke]=\"disabled ? 'var(--vbn-color-text-muted)' : (multiple ? 'var(--vbn-color-primary)' : 'var(--vbn-color-border-focus)')\" \n [icon]=\"'close'\" \n [width]=\"10\" \n [height]=\"10\" \n (click)=\"!disabled && removeFile(i)\">\n </verben-svg>\n </span> -->\n\n <!-- Add File Button (only if multiple or empty for single) -->\n <button\n *ngIf=\"multiple || selectedFiles.length === 0\"\n [disabled]=\"disabled\"\n (click)=\"!disabled && fileInput.click()\"\n [class.opacity-50]=\"disabled\"\n [class.cursor-not-allowed]=\"disabled\"\n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg\"\n >\n <verben-svg [icon]=\"'plus'\" [width]=\"12\" [height]=\"12\"></verben-svg>\n {{ multiple ? \"Add File\" : \"Browse File\" }}\n </button>\n </div>\n\n <!-- Hidden input -->\n <input\n #fileInput\n type=\"file\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n (change)=\"onFileSelected($event)\"\n hidden\n />\n\n <!-- Drop Area -->\n <div\n class=\"drop-area border border-dashed w-full flex flex-col justify-center items-center border-[#9A9FBF66] p-4 rounded-lg bg-[#9a9fbf27] min-h-[200px]\"\n (click)=\"!disabled && fileInput.click()\"\n >\n <verben-svg [icon]=\"'upload-icon'\" [width]=\"90\" [height]=\"90\"></verben-svg>\n <p class=\"text-[#000000B2]\">Drag and drop files here</p>\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.SvgComponent, selector: "verben-svg", inputs: ["icon", "width", "height", "fill", "stroke", "type", "size"] }, { kind: "component", type: i3.FileRenderComponent, selector: "verben-file-render", inputs: ["fileUrl", "multiple", "disabled", "showCancel"], outputs: ["onCancelClicked"] }] });
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileUploadComponent, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileUploadComponent, decorators: [{
80
80
  type: Component,
81
- args: [{ selector: 'file-upload', template: "<div\n class=\"file-upload-container\"\n (dragover)=\"onDragOver($event)\"\n (drop)=\"onDrop($event)\"\n>\n <label>{{ label }}</label>\n\n <!-- Selected files -->\n <div\n class=\"py-6 px-3 border rounded-lg flex gap-2 flex-wrap border-[#9A9FBF66] mt-2 mb-3\"\n >\n <ng-container\n *ngFor=\"let file of selectedFiles; let i = index; trackBy: trackByFile\"\n >\n <verben-file-render\n [fileUrl]=\"file.name\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n [showCancel]=\"true\"\n (onCancelClicked)=\"removeFile(i)\"\n ></verben-file-render>\n </ng-container>\n <!-- <span \n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg w-fit\" \n *ngFor=\"let file of selectedFiles; let i = index\">\n {{ file.name | slice:0:10 }}{{ file.name.length > 10 ? '...' : '' }}\n <verben-svg \n [stroke]=\"disabled ? '#9A9FBF' : (multiple ? '#D4A007' : '#0000FF')\" \n [icon]=\"'close'\" \n [width]=\"10\" \n [height]=\"10\" \n (click)=\"!disabled && removeFile(i)\">\n </verben-svg>\n </span> -->\n\n <!-- Add File Button (only if multiple or empty for single) -->\n <button\n *ngIf=\"multiple || selectedFiles.length === 0\"\n [disabled]=\"disabled\"\n (click)=\"!disabled && fileInput.click()\"\n [class.opacity-50]=\"disabled\"\n [class.cursor-not-allowed]=\"disabled\"\n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg\"\n >\n <verben-svg [icon]=\"'plus'\" [width]=\"12\" [height]=\"12\"></verben-svg>\n {{ multiple ? \"Add File\" : \"Browse File\" }}\n </button>\n </div>\n\n <!-- Hidden input -->\n <input\n #fileInput\n type=\"file\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n (change)=\"onFileSelected($event)\"\n hidden\n />\n\n <!-- Drop Area -->\n <div\n class=\"drop-area border border-dashed w-full flex flex-col justify-center items-center border-[#9A9FBF66] p-4 rounded-lg bg-[#9a9fbf27] min-h-[200px]\"\n (click)=\"!disabled && fileInput.click()\"\n >\n <verben-svg [icon]=\"'upload-icon'\" [width]=\"90\" [height]=\"90\"></verben-svg>\n <p class=\"text-[#000000B2]\">Drag and drop files here</p>\n </div>\n</div>\n" }]
81
+ args: [{ selector: 'file-upload', template: "<div\n class=\"file-upload-container\"\n (dragover)=\"onDragOver($event)\"\n (drop)=\"onDrop($event)\"\n>\n <label>{{ label }}</label>\n\n <!-- Selected files -->\n <div\n class=\"py-6 px-3 border rounded-lg flex gap-2 flex-wrap border-[#9A9FBF66] mt-2 mb-3\"\n >\n <ng-container\n *ngFor=\"let file of selectedFiles; let i = index; trackBy: trackByFile\"\n >\n <verben-file-render\n [fileUrl]=\"file.name\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n [showCancel]=\"true\"\n (onCancelClicked)=\"removeFile(i)\"\n ></verben-file-render>\n </ng-container>\n <!-- <span \n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg w-fit\" \n *ngFor=\"let file of selectedFiles; let i = index\">\n {{ file.name | slice:0:10 }}{{ file.name.length > 10 ? '...' : '' }}\n <verben-svg \n [stroke]=\"disabled ? 'var(--vbn-color-text-muted)' : (multiple ? 'var(--vbn-color-primary)' : 'var(--vbn-color-border-focus)')\" \n [icon]=\"'close'\" \n [width]=\"10\" \n [height]=\"10\" \n (click)=\"!disabled && removeFile(i)\">\n </verben-svg>\n </span> -->\n\n <!-- Add File Button (only if multiple or empty for single) -->\n <button\n *ngIf=\"multiple || selectedFiles.length === 0\"\n [disabled]=\"disabled\"\n (click)=\"!disabled && fileInput.click()\"\n [class.opacity-50]=\"disabled\"\n [class.cursor-not-allowed]=\"disabled\"\n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg\"\n >\n <verben-svg [icon]=\"'plus'\" [width]=\"12\" [height]=\"12\"></verben-svg>\n {{ multiple ? \"Add File\" : \"Browse File\" }}\n </button>\n </div>\n\n <!-- Hidden input -->\n <input\n #fileInput\n type=\"file\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n (change)=\"onFileSelected($event)\"\n hidden\n />\n\n <!-- Drop Area -->\n <div\n class=\"drop-area border border-dashed w-full flex flex-col justify-center items-center border-[#9A9FBF66] p-4 rounded-lg bg-[#9a9fbf27] min-h-[200px]\"\n (click)=\"!disabled && fileInput.click()\"\n >\n <verben-svg [icon]=\"'upload-icon'\" [width]=\"90\" [height]=\"90\"></verben-svg>\n <p class=\"text-[#000000B2]\">Drag and drop files here</p>\n </div>\n</div>\n" }]
82
82
  }], ctorParameters: () => [{ type: i0.NgZone }], propDecorators: { multiple: [{
83
83
  type: Input
84
84
  }], label: [{
@@ -97,8 +97,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
97
97
  }] } });
98
98
 
99
99
  class FileUploadModule {
100
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
101
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: FileUploadModule, declarations: [FileUploadComponent], imports: [CommonModule,
100
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
101
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: FileUploadModule, declarations: [FileUploadComponent], imports: [CommonModule,
102
102
  FormsModule,
103
103
  ReactiveFormsModule,
104
104
  DataTableModule,
@@ -112,7 +112,7 @@ class FileUploadModule {
112
112
  SortTableModule,
113
113
  DataExportModule,
114
114
  VerbenaInputModule], exports: [FileUploadComponent] });
115
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileUploadModule, imports: [CommonModule,
115
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileUploadModule, imports: [CommonModule,
116
116
  FormsModule,
117
117
  ReactiveFormsModule,
118
118
  DataTableModule,
@@ -127,7 +127,7 @@ class FileUploadModule {
127
127
  DataExportModule,
128
128
  VerbenaInputModule] });
129
129
  }
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: FileUploadModule, decorators: [{
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileUploadModule, decorators: [{
131
131
  type: NgModule,
132
132
  args: [{
133
133
  declarations: [FileUploadComponent],
@@ -1 +1 @@
1
- {"version":3,"file":"verben-workflow-ui-src-lib-components-file-upload.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/components/file-upload/file-upload.component.ts","../../../projects/verben-workflow-ui/src/lib/components/file-upload/file-upload.component.html","../../../projects/verben-workflow-ui/src/lib/components/file-upload/file-upload.module.ts","../../../projects/verben-workflow-ui/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n EventEmitter,\n Input,\n Output,\n ViewChild,\n NgZone,\n} from '@angular/core';\n\n@Component({\n selector: 'file-upload',\n templateUrl: './file-upload.component.html',\n styleUrls: ['./file-upload.component.css'],\n})\nexport class FileUploadComponent {\n @Input() multiple = false;\n @Input() label = '';\n @Input() accept = '';\n @Input() selectedFiles: File[] = [];\n @Input() disabled = false;\n @Output() selectedFilesChange = new EventEmitter<File[]>();\n @ViewChild('fileInput') fileInput!: ElementRef<HTMLInputElement>;\n\n readonly MAX_FILE_SIZE = 5 * 1024 * 1024; // 5MB\n\n constructor(private zone: NgZone) {}\n\n onFileSelected(event: any): void {\n if (this.disabled) return;\n const files = Array.from(event.target.files) as File[];\n this.processFiles(files);\n }\n\n onDrop(event: DragEvent): void {\n if (this.disabled) return;\n event.preventDefault();\n if (event.dataTransfer?.files) {\n const files = Array.from(event.dataTransfer.files);\n this.processFiles(files);\n }\n }\n\n onDragOver(event: DragEvent): void {\n if (this.disabled) return;\n event.preventDefault();\n }\n\n processFiles(files: File[]): void {\n for (const file of files) {\n if (file.size > this.MAX_FILE_SIZE) {\n alert(\n `The file \"${file.name}\" is too large. Maximum size allowed is 5MB.`,\n );\n return;\n }\n }\n\n if (this.multiple) {\n this.selectedFiles = [...this.selectedFiles, ...files];\n } else {\n this.selectedFiles = [files[0]];\n }\n\n // ✅ ensure Angular detects the update\n this.zone.run(() => {\n this.selectedFilesChange.emit(this.selectedFiles);\n });\n }\n\n removeFile(index: number): void {\n if (this.disabled) return;\n this.selectedFiles = this.selectedFiles.filter((_, i) => i !== index);\n\n this.zone.run(() => {\n this.selectedFilesChange.emit(this.selectedFiles);\n });\n\n if (this.fileInput) {\n this.fileInput.nativeElement.value = '';\n }\n }\n\n trackByFile(index: number, file: File) {\n return file.name; // or file.id if available\n }\n}\n","<div\n class=\"file-upload-container\"\n (dragover)=\"onDragOver($event)\"\n (drop)=\"onDrop($event)\"\n>\n <label>{{ label }}</label>\n\n <!-- Selected files -->\n <div\n class=\"py-6 px-3 border rounded-lg flex gap-2 flex-wrap border-[#9A9FBF66] mt-2 mb-3\"\n >\n <ng-container\n *ngFor=\"let file of selectedFiles; let i = index; trackBy: trackByFile\"\n >\n <verben-file-render\n [fileUrl]=\"file.name\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n [showCancel]=\"true\"\n (onCancelClicked)=\"removeFile(i)\"\n ></verben-file-render>\n </ng-container>\n <!-- <span \n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg w-fit\" \n *ngFor=\"let file of selectedFiles; let i = index\">\n {{ file.name | slice:0:10 }}{{ file.name.length > 10 ? '...' : '' }}\n <verben-svg \n [stroke]=\"disabled ? '#9A9FBF' : (multiple ? '#D4A007' : '#0000FF')\" \n [icon]=\"'close'\" \n [width]=\"10\" \n [height]=\"10\" \n (click)=\"!disabled && removeFile(i)\">\n </verben-svg>\n </span> -->\n\n <!-- Add File Button (only if multiple or empty for single) -->\n <button\n *ngIf=\"multiple || selectedFiles.length === 0\"\n [disabled]=\"disabled\"\n (click)=\"!disabled && fileInput.click()\"\n [class.opacity-50]=\"disabled\"\n [class.cursor-not-allowed]=\"disabled\"\n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg\"\n >\n <verben-svg [icon]=\"'plus'\" [width]=\"12\" [height]=\"12\"></verben-svg>\n {{ multiple ? \"Add File\" : \"Browse File\" }}\n </button>\n </div>\n\n <!-- Hidden input -->\n <input\n #fileInput\n type=\"file\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n (change)=\"onFileSelected($event)\"\n hidden\n />\n\n <!-- Drop Area -->\n <div\n class=\"drop-area border border-dashed w-full flex flex-col justify-center items-center border-[#9A9FBF66] p-4 rounded-lg bg-[#9a9fbf27] min-h-[200px]\"\n (click)=\"!disabled && fileInput.click()\"\n >\n <verben-svg [icon]=\"'upload-icon'\" [width]=\"90\" [height]=\"90\"></verben-svg>\n <p class=\"text-[#000000B2]\">Drag and drop files here</p>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport {\n CardDataViewModule,\n DataExportModule,\n DataTableModule,\n DataViewModule,\n DropDownModule,\n SortTableModule,\n SvgModule,\n TableFilterModule,\n VerbenaButtonModule,\n VerbenaInputModule,\n} from 'verben-ng-ui';\nimport { FileUploadComponent } from './file-upload.component';\nimport { FileRenderModule } from 'verben-workflow-ui/src/lib/components/file-render';\n\n@NgModule({\n declarations: [FileUploadComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n DataTableModule,\n SvgModule,\n FileRenderModule,\n DataViewModule,\n VerbenaButtonModule,\n CardDataViewModule,\n DropDownModule,\n TableFilterModule,\n SortTableModule,\n DataExportModule,\n VerbenaInputModule,\n ],\n exports: [FileUploadComponent],\n})\nexport class FileUploadModule {}\n","/**\n * Generated bundle index. Do not edit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wBACnB,kBAAkB;wBAClB,cAAc;wBACd,iBAAiB;wBACjB,eAAe;wBACf,gBAAgB;wBAChB,kBAAkB;AACnB,qBAAA;oBACD,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC/B,iBAAA,CAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"verben-workflow-ui-src-lib-components-file-upload.mjs","sources":["../../../projects/verben-workflow-ui/src/lib/components/file-upload/file-upload.component.ts","../../../projects/verben-workflow-ui/src/lib/components/file-upload/file-upload.component.html","../../../projects/verben-workflow-ui/src/lib/components/file-upload/file-upload.module.ts","../../../projects/verben-workflow-ui/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n EventEmitter,\n Input,\n Output,\n ViewChild,\n NgZone,\n} from '@angular/core';\n\n@Component({\n selector: 'file-upload',\n templateUrl: './file-upload.component.html',\n styleUrls: ['./file-upload.component.css'],\n})\nexport class FileUploadComponent {\n @Input() multiple = false;\n @Input() label = '';\n @Input() accept = '';\n @Input() selectedFiles: File[] = [];\n @Input() disabled = false;\n @Output() selectedFilesChange = new EventEmitter<File[]>();\n @ViewChild('fileInput') fileInput!: ElementRef<HTMLInputElement>;\n\n readonly MAX_FILE_SIZE = 5 * 1024 * 1024; // 5MB\n\n constructor(private zone: NgZone) {}\n\n onFileSelected(event: any): void {\n if (this.disabled) return;\n const files = Array.from(event.target.files) as File[];\n this.processFiles(files);\n }\n\n onDrop(event: DragEvent): void {\n if (this.disabled) return;\n event.preventDefault();\n if (event.dataTransfer?.files) {\n const files = Array.from(event.dataTransfer.files);\n this.processFiles(files);\n }\n }\n\n onDragOver(event: DragEvent): void {\n if (this.disabled) return;\n event.preventDefault();\n }\n\n processFiles(files: File[]): void {\n for (const file of files) {\n if (file.size > this.MAX_FILE_SIZE) {\n alert(\n `The file \"${file.name}\" is too large. Maximum size allowed is 5MB.`,\n );\n return;\n }\n }\n\n if (this.multiple) {\n this.selectedFiles = [...this.selectedFiles, ...files];\n } else {\n this.selectedFiles = [files[0]];\n }\n\n // ✅ ensure Angular detects the update\n this.zone.run(() => {\n this.selectedFilesChange.emit(this.selectedFiles);\n });\n }\n\n removeFile(index: number): void {\n if (this.disabled) return;\n this.selectedFiles = this.selectedFiles.filter((_, i) => i !== index);\n\n this.zone.run(() => {\n this.selectedFilesChange.emit(this.selectedFiles);\n });\n\n if (this.fileInput) {\n this.fileInput.nativeElement.value = '';\n }\n }\n\n trackByFile(index: number, file: File) {\n return file.name; // or file.id if available\n }\n}\n","<div\n class=\"file-upload-container\"\n (dragover)=\"onDragOver($event)\"\n (drop)=\"onDrop($event)\"\n>\n <label>{{ label }}</label>\n\n <!-- Selected files -->\n <div\n class=\"py-6 px-3 border rounded-lg flex gap-2 flex-wrap border-[#9A9FBF66] mt-2 mb-3\"\n >\n <ng-container\n *ngFor=\"let file of selectedFiles; let i = index; trackBy: trackByFile\"\n >\n <verben-file-render\n [fileUrl]=\"file.name\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n [showCancel]=\"true\"\n (onCancelClicked)=\"removeFile(i)\"\n ></verben-file-render>\n </ng-container>\n <!-- <span \n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg w-fit\" \n *ngFor=\"let file of selectedFiles; let i = index\">\n {{ file.name | slice:0:10 }}{{ file.name.length > 10 ? '...' : '' }}\n <verben-svg \n [stroke]=\"disabled ? 'var(--vbn-color-text-muted)' : (multiple ? 'var(--vbn-color-primary)' : 'var(--vbn-color-border-focus)')\" \n [icon]=\"'close'\" \n [width]=\"10\" \n [height]=\"10\" \n (click)=\"!disabled && removeFile(i)\">\n </verben-svg>\n </span> -->\n\n <!-- Add File Button (only if multiple or empty for single) -->\n <button\n *ngIf=\"multiple || selectedFiles.length === 0\"\n [disabled]=\"disabled\"\n (click)=\"!disabled && fileInput.click()\"\n [class.opacity-50]=\"disabled\"\n [class.cursor-not-allowed]=\"disabled\"\n class=\"flex items-center gap-1 bg-[#1A237E33] px-1 py-1 rounded-lg\"\n >\n <verben-svg [icon]=\"'plus'\" [width]=\"12\" [height]=\"12\"></verben-svg>\n {{ multiple ? \"Add File\" : \"Browse File\" }}\n </button>\n </div>\n\n <!-- Hidden input -->\n <input\n #fileInput\n type=\"file\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n [disabled]=\"disabled\"\n (change)=\"onFileSelected($event)\"\n hidden\n />\n\n <!-- Drop Area -->\n <div\n class=\"drop-area border border-dashed w-full flex flex-col justify-center items-center border-[#9A9FBF66] p-4 rounded-lg bg-[#9a9fbf27] min-h-[200px]\"\n (click)=\"!disabled && fileInput.click()\"\n >\n <verben-svg [icon]=\"'upload-icon'\" [width]=\"90\" [height]=\"90\"></verben-svg>\n <p class=\"text-[#000000B2]\">Drag and drop files here</p>\n </div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport {\n CardDataViewModule,\n DataExportModule,\n DataTableModule,\n DataViewModule,\n DropDownModule,\n SortTableModule,\n SvgModule,\n TableFilterModule,\n VerbenaButtonModule,\n VerbenaInputModule,\n} from 'verben-ng-ui';\nimport { FileUploadComponent } from './file-upload.component';\nimport { FileRenderModule } from 'verben-workflow-ui/src/lib/components/file-render';\n\n@NgModule({\n declarations: [FileUploadComponent],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n DataTableModule,\n SvgModule,\n FileRenderModule,\n DataViewModule,\n VerbenaButtonModule,\n CardDataViewModule,\n DropDownModule,\n TableFilterModule,\n SortTableModule,\n DataExportModule,\n VerbenaInputModule,\n ],\n exports: [FileUploadComponent],\n})\nexport class FileUploadModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAea,mBAAmB,CAAA;AAWV,IAAA,IAAA,CAAA;IAVX,QAAQ,GAAG,KAAK,CAAC;IACjB,KA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