@unifylib/ui-lib 1.0.3 → 1.1.4

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 (259) hide show
  1. package/esm2022/iq-ui-lib.mjs +5 -0
  2. package/esm2022/lib/base-model/SearchStrConfig.mjs +11 -0
  3. package/esm2022/lib/base-model/api-response.mjs +2 -0
  4. package/esm2022/lib/base-model/audit-log-entry.mjs +3 -0
  5. package/esm2022/lib/base-model/button-action-settings.mjs +16 -0
  6. package/esm2022/lib/base-model/column-def.model.mjs +28 -0
  7. package/esm2022/lib/base-model/do-action-request.mjs +8 -0
  8. package/esm2022/lib/base-model/field-action.mjs +6 -0
  9. package/esm2022/lib/base-model/field-filter.model.mjs +3 -0
  10. package/esm2022/lib/base-model/field-info.mjs +57 -0
  11. package/esm2022/lib/base-model/field-predicate.model.mjs +10 -0
  12. package/esm2022/lib/base-model/filter-request.mjs +13 -0
  13. package/esm2022/lib/base-model/filter.model.mjs +25 -0
  14. package/esm2022/lib/base-model/get-items-list.mjs +10 -0
  15. package/esm2022/lib/base-model/index.mjs +12 -0
  16. package/esm2022/lib/base-model/items-total.model.mjs +8 -0
  17. package/esm2022/lib/base-model/line-item.model.mjs +11 -0
  18. package/esm2022/lib/base-model/lookupItem.mjs +16 -0
  19. package/esm2022/lib/base-model/page-info.mjs +17 -0
  20. package/esm2022/lib/base-model/report-request.model.mjs +17 -0
  21. package/esm2022/lib/base-model/response-envelop.model.mjs +10 -0
  22. package/esm2022/lib/base-model/snack-message.model.mjs +11 -0
  23. package/esm2022/lib/base-model/table-column.interface.mjs +2 -0
  24. package/esm2022/lib/base-model/table-page-user-action.interface.mjs +21 -0
  25. package/esm2022/lib/base-model/workflow/workflow-steps.model.mjs +9 -0
  26. package/esm2022/lib/base-model/workflow/workflow.model.mjs +42 -0
  27. package/esm2022/lib/components/action-comment/action-comment.component.mjs +101 -0
  28. package/esm2022/lib/components/action-confirmation/action-confirmation.component.mjs +55 -0
  29. package/esm2022/lib/components/activity-report-form/activity-report-form.component.mjs +499 -0
  30. package/esm2022/lib/components/advanced-filter/field-filter/field-filter.component.mjs +41 -0
  31. package/esm2022/lib/components/advanced-filter/filter-builder/filter-builder.component.mjs +162 -0
  32. package/esm2022/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.mjs +70 -0
  33. package/esm2022/lib/components/audit-log-list/audit-log.component.mjs +99 -0
  34. package/esm2022/lib/components/auto-complete/auto-complete.component.mjs +292 -0
  35. package/esm2022/lib/components/base-form/base-form.component.mjs +297 -0
  36. package/esm2022/lib/components/base-form-canvas/base-form-canvas.component.mjs +591 -0
  37. package/esm2022/lib/components/base-input-dialog/base-input-dialog.component.mjs +72 -0
  38. package/esm2022/lib/components/base-table/base-table.component.mjs +514 -0
  39. package/esm2022/lib/components/button-actions/button-actions.component.mjs +70 -0
  40. package/esm2022/lib/components/editable-base-table/editable-base-table.component.mjs +496 -0
  41. package/esm2022/lib/components/equation-builder/equation-builder.component.mjs +112 -0
  42. package/esm2022/lib/components/item-line-editor/item-line-editor.component.mjs +299 -0
  43. package/esm2022/lib/components/multi-auto-complete/multi-auto-complete.component.mjs +278 -0
  44. package/esm2022/lib/components/paginator/paginator.component.mjs +91 -0
  45. package/esm2022/lib/components/report-details-dialog/report-details-dialog.component.mjs +102 -0
  46. package/esm2022/lib/components/report-form/report-form.component.mjs +498 -0
  47. package/esm2022/lib/components/search-bar/search-bar.component.mjs +62 -0
  48. package/esm2022/lib/components/section-form-canvas/section-form-canvas.component.mjs +81 -0
  49. package/esm2022/lib/components/shared/action-button/action-button.component.mjs +59 -0
  50. package/esm2022/lib/components/shared/action-card/action-card.component.mjs +93 -0
  51. package/esm2022/lib/components/shared/attachment-uploader/attachment-uploader.component.mjs +70 -0
  52. package/esm2022/lib/components/shared-list/shared-list.component.mjs +47 -0
  53. package/esm2022/lib/components/snackbar-static/snackbar-static.component.mjs +43 -0
  54. package/esm2022/lib/components/title-bar/title-bar.component.mjs +119 -0
  55. package/esm2022/lib/services/backend-service.mjs +240 -0
  56. package/esm2022/lib/services/index.mjs +4 -0
  57. package/esm2022/lib/services/top-panel.mjs +22 -0
  58. package/esm2022/lib/services/trigger-form.service.mjs +17 -0
  59. package/esm2022/lib/utils/base-utils.mjs +97 -0
  60. package/esm2022/lib/validators/date-range-validator.mjs +27 -0
  61. package/esm2022/lib/validators/index.mjs +4 -0
  62. package/esm2022/lib/validators/match-list.validator.mjs +9 -0
  63. package/esm2022/lib/validators/multi-email-validator.mjs +13 -0
  64. package/esm2022/public-api.mjs +29 -0
  65. package/esm2022/q-btech-ui-lib.mjs +5 -0
  66. package/esm2022/unifylib-ui-lib.mjs +5 -0
  67. package/fesm2022/iq-ui-lib.mjs +5625 -0
  68. package/fesm2022/iq-ui-lib.mjs.map +1 -0
  69. package/fesm2022/q-btech-ui-lib.mjs +5619 -0
  70. package/fesm2022/q-btech-ui-lib.mjs.map +1 -0
  71. package/fesm2022/unifylib-ui-lib.mjs +5625 -0
  72. package/fesm2022/unifylib-ui-lib.mjs.map +1 -0
  73. package/index.d.ts +5 -0
  74. package/lib/base-model/SearchStrConfig.d.ts +8 -0
  75. package/{src/lib/base-model/api-response.ts → lib/base-model/api-response.d.ts} +5 -7
  76. package/lib/base-model/audit-log-entry.d.ts +7 -0
  77. package/lib/base-model/button-action-settings.d.ts +15 -0
  78. package/lib/base-model/column-def.model.d.ts +11 -0
  79. package/lib/base-model/do-action-request.d.ts +10 -0
  80. package/lib/base-model/field-action.d.ts +6 -0
  81. package/lib/base-model/field-filter.model.d.ts +7 -0
  82. package/lib/base-model/field-info.d.ts +53 -0
  83. package/lib/base-model/field-predicate.model.d.ts +7 -0
  84. package/lib/base-model/filter-request.d.ts +15 -0
  85. package/lib/base-model/filter.model.d.ts +22 -0
  86. package/lib/base-model/get-items-list.d.ts +21 -0
  87. package/lib/base-model/index.d.ts +11 -0
  88. package/lib/base-model/items-total.model.d.ts +6 -0
  89. package/lib/base-model/line-item.model.d.ts +9 -0
  90. package/lib/base-model/lookupItem.d.ts +13 -0
  91. package/{src/lib/base-model/page-info.ts → lib/base-model/page-info.d.ts} +25 -24
  92. package/lib/base-model/report-request.model.d.ts +18 -0
  93. package/lib/base-model/response-envelop.model.d.ts +8 -0
  94. package/lib/base-model/snack-message.model.d.ts +7 -0
  95. package/lib/base-model/table-column.interface.d.ts +28 -0
  96. package/lib/base-model/table-page-user-action.interface.d.ts +14 -0
  97. package/lib/base-model/workflow/workflow-steps.model.d.ts +7 -0
  98. package/lib/base-model/workflow/workflow.model.d.ts +13 -0
  99. package/lib/components/action-comment/action-comment.component.d.ts +32 -0
  100. package/lib/components/action-confirmation/action-confirmation.component.d.ts +19 -0
  101. package/lib/components/activity-report-form/activity-report-form.component.d.ts +93 -0
  102. package/lib/components/advanced-filter/field-filter/field-filter.component.d.ts +20 -0
  103. package/lib/components/advanced-filter/filter-builder/filter-builder.component.d.ts +28 -0
  104. package/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.d.ts +25 -0
  105. package/lib/components/audit-log-list/audit-log.component.d.ts +36 -0
  106. package/lib/components/auto-complete/auto-complete.component.d.ts +51 -0
  107. package/lib/components/base-form/base-form.component.d.ts +59 -0
  108. package/lib/components/base-form-canvas/base-form-canvas.component.d.ts +124 -0
  109. package/lib/components/base-input-dialog/base-input-dialog.component.d.ts +23 -0
  110. package/lib/components/base-table/base-table.component.d.ts +128 -0
  111. package/lib/components/button-actions/button-actions.component.d.ts +17 -0
  112. package/lib/components/editable-base-table/editable-base-table.component.d.ts +106 -0
  113. package/lib/components/equation-builder/equation-builder.component.d.ts +23 -0
  114. package/lib/components/item-line-editor/item-line-editor.component.d.ts +64 -0
  115. package/lib/components/multi-auto-complete/multi-auto-complete.component.d.ts +51 -0
  116. package/lib/components/paginator/paginator.component.d.ts +26 -0
  117. package/lib/components/report-details-dialog/report-details-dialog.component.d.ts +34 -0
  118. package/lib/components/report-form/report-form.component.d.ts +92 -0
  119. package/lib/components/search-bar/search-bar.component.d.ts +29 -0
  120. package/lib/components/section-form-canvas/section-form-canvas.component.d.ts +27 -0
  121. package/lib/components/shared/action-button/action-button.component.d.ts +17 -0
  122. package/lib/components/shared/action-card/action-card.component.d.ts +37 -0
  123. package/lib/components/shared/attachment-uploader/attachment-uploader.component.d.ts +16 -0
  124. package/lib/components/shared-list/shared-list.component.d.ts +21 -0
  125. package/lib/components/snackbar-static/snackbar-static.component.d.ts +15 -0
  126. package/lib/components/title-bar/title-bar.component.d.ts +42 -0
  127. package/lib/services/backend-service.d.ts +59 -0
  128. package/{src/lib/services/index.ts → lib/services/index.d.ts} +1 -1
  129. package/lib/services/top-panel.d.ts +8 -0
  130. package/lib/services/trigger-form.service.d.ts +7 -0
  131. package/lib/utils/base-utils.d.ts +13 -0
  132. package/lib/validators/date-range-validator.d.ts +2 -0
  133. package/lib/validators/match-list.validator.d.ts +4 -0
  134. package/lib/validators/multi-email-validator.d.ts +6 -0
  135. package/package.json +19 -4
  136. package/{src/public-api.ts → public-api.d.ts} +22 -18
  137. package/ng-package.json +0 -7
  138. package/src/lib/base-model/SearchStrConfig.ts +0 -12
  139. package/src/lib/base-model/audit-log-entry.ts +0 -7
  140. package/src/lib/base-model/button-action-settings.ts +0 -25
  141. package/src/lib/base-model/column-def.model.ts +0 -34
  142. package/src/lib/base-model/do-action-request.ts +0 -11
  143. package/src/lib/base-model/field-action.ts +0 -7
  144. package/src/lib/base-model/field-filter.model.ts +0 -14
  145. package/src/lib/base-model/field-info.ts +0 -98
  146. package/src/lib/base-model/field-predicate.model.ts +0 -7
  147. package/src/lib/base-model/filter-request.ts +0 -27
  148. package/src/lib/base-model/filter.model.ts +0 -49
  149. package/src/lib/base-model/get-items-list.ts +0 -24
  150. package/src/lib/base-model/index.ts +0 -11
  151. package/src/lib/base-model/lookupItem.ts +0 -21
  152. package/src/lib/base-model/null-snackmessage.ts +0 -9
  153. package/src/lib/base-model/report-request.model.ts +0 -33
  154. package/src/lib/base-model/response-envelop.model.ts +0 -15
  155. package/src/lib/base-model/snack-message.model.ts +0 -14
  156. package/src/lib/base-model/snackmessage-interface.ts +0 -7
  157. package/src/lib/base-model/table-column.interface.ts +0 -29
  158. package/src/lib/base-model/table-page-user-action.interface.ts +0 -33
  159. package/src/lib/base-model/workflow/workflow-steps.model.ts +0 -9
  160. package/src/lib/base-model/workflow/workflow.model.ts +0 -52
  161. package/src/lib/components/action-confirmation/action-confirmation.component.css +0 -34
  162. package/src/lib/components/action-confirmation/action-confirmation.component.html +0 -18
  163. package/src/lib/components/action-confirmation/action-confirmation.component.spec.ts +0 -23
  164. package/src/lib/components/action-confirmation/action-confirmation.component.ts +0 -58
  165. package/src/lib/components/activity-report-form/activity-report-form.component.html +0 -109
  166. package/src/lib/components/activity-report-form/activity-report-form.component.scss +0 -0
  167. package/src/lib/components/activity-report-form/activity-report-form.component.spec.ts +0 -25
  168. package/src/lib/components/activity-report-form/activity-report-form.component.ts +0 -605
  169. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.css +0 -51
  170. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.html +0 -23
  171. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.spec.ts +0 -23
  172. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.ts +0 -69
  173. package/src/lib/components/audit-log-list/audit-log.component.html +0 -23
  174. package/src/lib/components/audit-log-list/audit-log.component.scss +0 -0
  175. package/src/lib/components/audit-log-list/audit-log.component.spec.ts +0 -25
  176. package/src/lib/components/audit-log-list/audit-log.component.ts +0 -116
  177. package/src/lib/components/auto-complete/auto-complete.component.css +0 -14
  178. package/src/lib/components/auto-complete/auto-complete.component.html +0 -29
  179. package/src/lib/components/auto-complete/auto-complete.component.spec.ts +0 -23
  180. package/src/lib/components/auto-complete/auto-complete.component.ts +0 -330
  181. package/src/lib/components/base-form/base-form.component.html +0 -58
  182. package/src/lib/components/base-form/base-form.component.scss +0 -0
  183. package/src/lib/components/base-form/base-form.component.spec.ts +0 -25
  184. package/src/lib/components/base-form/base-form.component.ts +0 -305
  185. package/src/lib/components/base-form-canvas/base-form-canvas.component.css +0 -22
  186. package/src/lib/components/base-form-canvas/base-form-canvas.component.html +0 -1006
  187. package/src/lib/components/base-form-canvas/base-form-canvas.component.spec.ts +0 -23
  188. package/src/lib/components/base-form-canvas/base-form-canvas.component.ts +0 -573
  189. package/src/lib/components/base-input-dialog/base-input-dialog.component.css +0 -0
  190. package/src/lib/components/base-input-dialog/base-input-dialog.component.html +0 -42
  191. package/src/lib/components/base-input-dialog/base-input-dialog.component.spec.ts +0 -23
  192. package/src/lib/components/base-input-dialog/base-input-dialog.component.ts +0 -78
  193. package/src/lib/components/base-table/base-table.component.html +0 -242
  194. package/src/lib/components/base-table/base-table.component.scss +0 -31
  195. package/src/lib/components/base-table/base-table.component.spec.ts +0 -25
  196. package/src/lib/components/base-table/base-table.component.ts +0 -568
  197. package/src/lib/components/button-actions/button-actions.component.html +0 -28
  198. package/src/lib/components/button-actions/button-actions.component.scss +0 -6
  199. package/src/lib/components/button-actions/button-actions.component.spec.ts +0 -23
  200. package/src/lib/components/button-actions/button-actions.component.ts +0 -72
  201. package/src/lib/components/editable-base-table/editable-base-table.component.html +0 -372
  202. package/src/lib/components/editable-base-table/editable-base-table.component.scss +0 -44
  203. package/src/lib/components/editable-base-table/editable-base-table.component.spec.ts +0 -25
  204. package/src/lib/components/editable-base-table/editable-base-table.component.ts +0 -570
  205. package/src/lib/components/equation-builder/equation-builder.component.css +0 -0
  206. package/src/lib/components/equation-builder/equation-builder.component.html +0 -31
  207. package/src/lib/components/equation-builder/equation-builder.component.spec.ts +0 -23
  208. package/src/lib/components/equation-builder/equation-builder.component.ts +0 -121
  209. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.css +0 -11
  210. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.html +0 -38
  211. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.spec.ts +0 -23
  212. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.ts +0 -317
  213. package/src/lib/components/paginator/paginator.component.css +0 -25
  214. package/src/lib/components/paginator/paginator.component.html +0 -34
  215. package/src/lib/components/paginator/paginator.component.ts +0 -94
  216. package/src/lib/components/rejection-comment/action-comment.component.css +0 -33
  217. package/src/lib/components/rejection-comment/action-comment.component.html +0 -46
  218. package/src/lib/components/rejection-comment/action-comment.component.spec.ts +0 -23
  219. package/src/lib/components/rejection-comment/action-comment.component.ts +0 -86
  220. package/src/lib/components/report-details-dialog/report-details-dialog.component.css +0 -17
  221. package/src/lib/components/report-details-dialog/report-details-dialog.component.html +0 -16
  222. package/src/lib/components/report-details-dialog/report-details-dialog.component.spec.ts +0 -23
  223. package/src/lib/components/report-details-dialog/report-details-dialog.component.ts +0 -113
  224. package/src/lib/components/report-form/report-form.component.html +0 -94
  225. package/src/lib/components/report-form/report-form.component.scss +0 -0
  226. package/src/lib/components/report-form/report-form.component.spec.ts +0 -25
  227. package/src/lib/components/report-form/report-form.component.ts +0 -588
  228. package/src/lib/components/search-bar/search-bar.component.html +0 -62
  229. package/src/lib/components/search-bar/search-bar.component.scss +0 -8
  230. package/src/lib/components/search-bar/search-bar.component.spec.ts +0 -25
  231. package/src/lib/components/search-bar/search-bar.component.ts +0 -70
  232. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.css +0 -54
  233. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.html +0 -22
  234. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.spec.ts +0 -23
  235. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.ts +0 -45
  236. package/src/lib/components/shared-list/shared-list.component.css +0 -0
  237. package/src/lib/components/shared-list/shared-list.component.html +0 -17
  238. package/src/lib/components/shared-list/shared-list.component.spec.ts +0 -23
  239. package/src/lib/components/shared-list/shared-list.component.ts +0 -53
  240. package/src/lib/components/title-bar/title-bar.component.css +0 -0
  241. package/src/lib/components/title-bar/title-bar.component.css.map +0 -1
  242. package/src/lib/components/title-bar/title-bar.component.html +0 -31
  243. package/src/lib/components/title-bar/title-bar.component.scss +0 -23
  244. package/src/lib/components/title-bar/title-bar.component.spec.ts +0 -23
  245. package/src/lib/components/title-bar/title-bar.component.ts +0 -119
  246. package/src/lib/services/backend-service.ts +0 -286
  247. package/src/lib/services/top-panel.ts +0 -17
  248. package/src/lib/services/trigger-form.service.ts +0 -11
  249. package/src/lib/share-module/shared-module.ts +0 -10
  250. package/src/lib/styles/invoiceq-theme.scss +0 -252
  251. package/src/lib/styles/styles.scss +0 -1723
  252. package/src/lib/utils/base-utils.ts +0 -102
  253. package/src/lib/validators/date-range-validator.ts +0 -31
  254. package/src/lib/validators/match-list.validator.ts +0 -10
  255. package/src/lib/validators/multi-email-validator.ts +0 -15
  256. package/tsconfig.lib.json +0 -15
  257. package/tsconfig.lib.prod.json +0 -11
  258. package/tsconfig.spec.json +0 -15
  259. /package/{src/lib/validators/index.ts → lib/validators/index.d.ts} +0 -0
@@ -0,0 +1,64 @@
1
+ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { FieldInfo, PageInfo } from "../../base-model";
3
+ import { FormGroup } from "@angular/forms";
4
+ import { LineItem } from "../../base-model/line-item.model";
5
+ import { ItemsTotal } from "../../base-model/items-total.model";
6
+ import * as i0 from "@angular/core";
7
+ export declare class ItemLineEditorComponent implements OnChanges {
8
+ noDataFoundIcon: string;
9
+ noDataFoundTitle: string;
10
+ noDataFoundSubtitle: string;
11
+ pageInfo: PageInfo;
12
+ columnHeaderWidths: string[];
13
+ title: string;
14
+ subtitle: string;
15
+ allowAdd: boolean;
16
+ allowDelete: boolean;
17
+ editable: boolean;
18
+ currency: string;
19
+ fields: FieldInfo[];
20
+ private baseFieldsSnapshot;
21
+ items: LineItem[];
22
+ itemsChange: EventEmitter<LineItem[]>;
23
+ itemSaved: EventEmitter<{
24
+ index: number;
25
+ item: any;
26
+ }>;
27
+ itemDeleted: EventEmitter<{
28
+ index: number;
29
+ }>;
30
+ totalsChange: EventEmitter<ItemsTotal>;
31
+ editStateChange: EventEmitter<{
32
+ index: number;
33
+ editing: boolean;
34
+ }>;
35
+ formRefs: (FormGroup | undefined)[];
36
+ editing: boolean[];
37
+ noDataFound: boolean;
38
+ get headerFields(): FieldInfo[];
39
+ get hasInvalidEditingForm(): boolean;
40
+ get canAddNew(): boolean;
41
+ canSave(index: number): boolean;
42
+ labelOf(field: FieldInfo): string;
43
+ private blankItem;
44
+ ngOnChanges(changes: SimpleChanges): void;
45
+ onFormUpdated(form: FormGroup, index: number): void;
46
+ addNewItem(): void;
47
+ saveRow(index: number): void;
48
+ deleteItem(index: number): void;
49
+ clearAll(): void;
50
+ getCurrentValues(index: number): any;
51
+ calcLineTotal(index: number): number;
52
+ get subtotal(): number;
53
+ get discountTotal(): number;
54
+ get grandTotal(): number;
55
+ trackByIndex(index: number, _item: any): number;
56
+ editRow(index: number): void;
57
+ private emitTotals;
58
+ private setFieldsReadonly;
59
+ private restoreFieldsFromSnapshot;
60
+ get gridTemplate(): string;
61
+ private discountValidator;
62
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItemLineEditorComponent, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItemLineEditorComponent, "app-item-line-editor", never, { "noDataFoundIcon": { "alias": "noDataFoundIcon"; "required": false; }; "noDataFoundTitle": { "alias": "noDataFoundTitle"; "required": false; }; "noDataFoundSubtitle": { "alias": "noDataFoundSubtitle"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "columnHeaderWidths": { "alias": "columnHeaderWidths"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "allowDelete": { "alias": "allowDelete"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "itemsChange": "itemsChange"; "itemSaved": "itemSaved"; "itemDeleted": "itemDeleted"; "totalsChange": "totalsChange"; "editStateChange": "editStateChange"; }, never, never, true, never>;
64
+ }
@@ -0,0 +1,51 @@
1
+ import { ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
2
+ import { LookupItem } from "../../base-model";
3
+ import { MatAutocompleteTrigger } from "@angular/material/autocomplete";
4
+ import { Observable } from "rxjs";
5
+ import { FieldInfo } from "../../base-model";
6
+ import { FormControl, FormGroup } from "@angular/forms";
7
+ import { BackendService } from "../../services";
8
+ import { TranslateService } from "@ngx-translate/core";
9
+ import * as i0 from "@angular/core";
10
+ export declare class MultiAutoCompleteComponent {
11
+ private backendService;
12
+ private translateService;
13
+ itemInput: ElementRef<HTMLInputElement>;
14
+ matACTrigger: MatAutocompleteTrigger;
15
+ lookupItems$: Observable<LookupItem[]> | undefined;
16
+ private lookupItems;
17
+ selectedItems: LookupItem[];
18
+ cascadedIdz: number[];
19
+ isRequired: boolean;
20
+ private timer;
21
+ field: FieldInfo;
22
+ form: FormGroup;
23
+ defaultValue: any;
24
+ pathParam: any;
25
+ readonly: boolean;
26
+ selectedValue: EventEmitter<LookupItem[]>;
27
+ question: string;
28
+ multiControl: FormControl<any>;
29
+ constructor(backendService: BackendService, translateService: TranslateService);
30
+ ngOnInit(): void;
31
+ private updateFieldAttributes;
32
+ private removeChildItemsIfCascadedByRemoved;
33
+ ngOnChanges({ defaultValue, field }: SimpleChanges): void;
34
+ private getLookupData;
35
+ selected(value: any): void;
36
+ displayFn(selected: any): string;
37
+ isSelected(item: any): boolean;
38
+ _allowSelection(option: LookupItem): {
39
+ [className: string]: boolean;
40
+ };
41
+ itemNameByLag(item: any): string;
42
+ private readonly _columns;
43
+ filterLookupItems(name: any, trigger: MatAutocompleteTrigger): void;
44
+ private patchLookupValue;
45
+ remove(item: LookupItem): void;
46
+ getLabel(): any;
47
+ onKeydown(event: KeyboardEvent, autocompleteTrigger: MatAutocompleteTrigger): void;
48
+ getId(): string;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiAutoCompleteComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiAutoCompleteComponent, "app-multi-auto-complete", never, { "field": { "alias": "field"; "required": false; }; "form": { "alias": "form"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "pathParam": { "alias": "pathParam"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, { "selectedValue": "selectedValue"; }, never, never, true, never>;
51
+ }
@@ -0,0 +1,26 @@
1
+ import { EventEmitter, OnInit, OnChanges } from '@angular/core';
2
+ import { Directionality } from '@angular/cdk/bidi';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PaginatorComponent implements OnInit, OnChanges {
5
+ private directionality;
6
+ currentPage: number;
7
+ totalItems: number;
8
+ pageSize: number;
9
+ pageSizeOptions: number[];
10
+ pageChange: EventEmitter<number>;
11
+ pageSizeChange: EventEmitter<number>;
12
+ currentDirection: 'ltr' | 'rtl';
13
+ constructor(directionality: Directionality);
14
+ ngOnInit(): void;
15
+ ngOnChanges(): void;
16
+ get totalPages(): number;
17
+ get startIndex(): number;
18
+ get endIndex(): number;
19
+ goToPage(page: number): void;
20
+ nextPage(): void;
21
+ previousPage(): void;
22
+ onPageSizeChange(size: number): void;
23
+ protected readonly Math: Math;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaginatorComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaginatorComponent, "app-paginator", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; }, { "pageChange": "pageChange"; "pageSizeChange": "pageSizeChange"; }, never, never, true, never>;
26
+ }
@@ -0,0 +1,34 @@
1
+ import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
2
+ import { MatDialogRef } from "@angular/material/dialog";
3
+ import { TranslateService } from "@ngx-translate/core";
4
+ import { FieldInfo, PageInfo, ReportRequest, TableColumn } from "../../base-model";
5
+ import { BackendService } from "../../services";
6
+ import * as i0 from "@angular/core";
7
+ export declare class ReportDetailsDialogComponent implements OnInit, AfterViewInit {
8
+ dialogRef: MatDialogRef<ReportDetailsDialogComponent>;
9
+ data: any;
10
+ private translateService;
11
+ backendService: BackendService;
12
+ private elRef;
13
+ dialogDirection: 'ltr' | 'rtl';
14
+ pageInfo: PageInfo;
15
+ fields: FieldInfo[];
16
+ isTermination: boolean;
17
+ comment: string;
18
+ external: boolean;
19
+ signingRequired: boolean;
20
+ tokenReference: string;
21
+ warningMsg: boolean;
22
+ item: any;
23
+ reportRequest: ReportRequest;
24
+ columns: TableColumn<any>[];
25
+ constructor(dialogRef: MatDialogRef<ReportDetailsDialogComponent>, data: any, translateService: TranslateService, backendService: BackendService, elRef: ElementRef);
26
+ onKeyUp(): void;
27
+ ngOnInit(): void;
28
+ ngAfterViewInit(): void;
29
+ cancel(): void;
30
+ onBackdropClick(event: MouseEvent): void;
31
+ getTitle(): string;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReportDetailsDialogComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReportDetailsDialogComponent, "app-audit-log-details-dialog", never, {}, {}, never, never, true, never>;
34
+ }
@@ -0,0 +1,92 @@
1
+ import { EventEmitter, Injector, OnInit } from '@angular/core';
2
+ import { FieldInfo } from "../../base-model/field-info";
3
+ import { PageInfo } from "../../base-model/page-info";
4
+ import { TableColumn } from "../../base-model/table-column.interface";
5
+ import { FieldMessage } from "../../base-model/api-response";
6
+ import { TranslateService } from "@ngx-translate/core";
7
+ import { BackendService } from "../../services/backend-service";
8
+ import { ActivatedRoute, Router } from "@angular/router";
9
+ import { FormBuilder, FormGroup } from "@angular/forms";
10
+ import { ReportRequest } from "../../base-model/report-request.model";
11
+ import { TablePageUserAction } from "../../base-model";
12
+ import { MatDialog } from "@angular/material/dialog";
13
+ import { Directionality } from "@angular/cdk/bidi";
14
+ import * as i0 from "@angular/core";
15
+ export declare class ReportFormComponent implements OnInit {
16
+ private translateService;
17
+ backendService: BackendService;
18
+ private activatedRoute;
19
+ private injector;
20
+ private router;
21
+ private route;
22
+ private directionality;
23
+ dialog: MatDialog;
24
+ private fb;
25
+ showDetails: any;
26
+ showExtractButton: boolean;
27
+ columns: TableColumn<any>[];
28
+ actionRequestCallback: (actionRequest: TablePageUserAction) => TablePageUserAction;
29
+ enrichDrillDownReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
30
+ enrichHyperLinkReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
31
+ enrichJuniorReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
32
+ userAction: EventEmitter<TablePageUserAction>;
33
+ activeLevel: number;
34
+ private filterRequest;
35
+ x: any;
36
+ isEditable: boolean;
37
+ fields: FieldInfo[];
38
+ pageInfo: PageInfo;
39
+ drillDownPageInfo: PageInfo;
40
+ drillDownColumns: TableColumn<any>[];
41
+ hideDrillDownButton: false;
42
+ juniorPageInfo: PageInfo;
43
+ juniorColumns: TableColumn<any>[];
44
+ columnsDefinition: TableColumn<any>[];
45
+ types: string[];
46
+ searchStr: string;
47
+ errors: FieldMessage[];
48
+ reloadData: boolean;
49
+ backButtonEnabled: boolean;
50
+ reportRequest: ReportRequest;
51
+ childReportRequest: ReportRequest;
52
+ juniorReportRequest: ReportRequest;
53
+ reportForm: FormGroup;
54
+ readyToSearch: boolean;
55
+ private pageSize;
56
+ private dialogReportRequest;
57
+ currentDirection: 'ltr' | 'rtl';
58
+ constructor(translateService: TranslateService, backendService: BackendService, activatedRoute: ActivatedRoute, injector: Injector, router: Router, route: ActivatedRoute, directionality: Directionality, dialog: MatDialog, fb: FormBuilder);
59
+ disableExportAction: boolean;
60
+ ngOnInit(): void;
61
+ isMatchHeight(): boolean;
62
+ doAction(type: string): void;
63
+ private getParamValue;
64
+ private getParamValueLabel;
65
+ getTitle(): string;
66
+ updateForm($event: FormGroup): void;
67
+ private setupDependentFieldWatchers;
68
+ isValidForm(): boolean;
69
+ emitUserAction($event: TablePageUserAction): void;
70
+ emitHyperLinkAction($event: TablePageUserAction): void;
71
+ private prepareDialogReportRequest;
72
+ private addStandardFilters;
73
+ private addFilterType;
74
+ private buildDialogReportRequest;
75
+ private createFilter;
76
+ private addOrReplaceFilter;
77
+ emitJuniorAction($event: TablePageUserAction): void;
78
+ drillDown(): void;
79
+ private doJuniorAction;
80
+ private doADrillDownAction;
81
+ private doHyperLinkAction;
82
+ extractReport(reportType: any): void;
83
+ goUp(): void;
84
+ drillDownEnabled(): boolean;
85
+ drillDownLabel(): string;
86
+ getIsEmptyList(): boolean;
87
+ clear(): void;
88
+ isFormEmpty(): boolean;
89
+ shouldProcessEventItem(item: any): boolean;
90
+ static ɵfac: i0.ɵɵFactoryDeclaration<ReportFormComponent, never>;
91
+ static ɵcmp: i0.ɵɵComponentDeclaration<ReportFormComponent, "app-report-form", never, { "showDetails": { "alias": "showDetails"; "required": false; }; "showExtractButton": { "alias": "showExtractButton"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "actionRequestCallback": { "alias": "actionRequestCallback"; "required": false; }; "enrichDrillDownReportRequest": { "alias": "enrichDrillDownReportRequest"; "required": false; }; "enrichHyperLinkReportRequest": { "alias": "enrichHyperLinkReportRequest"; "required": false; }; "enrichJuniorReportRequest": { "alias": "enrichJuniorReportRequest"; "required": false; }; }, { "userAction": "userAction"; }, never, never, true, never>;
92
+ }
@@ -0,0 +1,29 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { TableColumn } from "../../base-model";
3
+ import * as i0 from "@angular/core";
4
+ type SearchType = 'exact' | 'like';
5
+ type SortType = 'ASC' | 'DESC';
6
+ export declare class SearchBarComponent implements OnInit {
7
+ columns: TableColumn<any>[];
8
+ defaultSortKey: string;
9
+ searchValue: string;
10
+ searchType: SearchType;
11
+ selectedSortKey: string;
12
+ selectedSortType: SortType;
13
+ searchTriggered: EventEmitter<{
14
+ searchValue: string;
15
+ searchType: SearchType;
16
+ sortKey: string;
17
+ sortType: string;
18
+ }>;
19
+ onSearch(): void;
20
+ labelKey(column: {
21
+ label?: string;
22
+ property: string;
23
+ }): string;
24
+ ngOnInit(): void;
25
+ getColumns(): TableColumn<any>[];
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<SearchBarComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchBarComponent, "ag-search-bar", never, { "columns": { "alias": "columns"; "required": false; }; "defaultSortKey": { "alias": "defaultSortKey"; "required": false; }; }, { "searchTriggered": "searchTriggered"; }, never, never, true, never>;
28
+ }
29
+ export {};
@@ -0,0 +1,27 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ButtonActionSettings, FieldInfo, PageInfo } from "../../base-model";
3
+ import { FormGroup } from "@angular/forms";
4
+ import * as i0 from "@angular/core";
5
+ export declare class SectionFormCanvasComponent {
6
+ pageInfo: PageInfo;
7
+ fields: FieldInfo[];
8
+ itemId: number;
9
+ editable: boolean;
10
+ hideBackButton: boolean;
11
+ item: any;
12
+ title: string;
13
+ isTranslateTitle: boolean;
14
+ key: number;
15
+ hideToggle: boolean;
16
+ isExpanded: boolean;
17
+ alwaysOpen: boolean;
18
+ actionEdit: EventEmitter<any>;
19
+ formEdit: EventEmitter<FormGroup>;
20
+ buttons: ButtonActionSettings[];
21
+ buttonClicked: EventEmitter<any>;
22
+ formUpdated($event: any): void;
23
+ toggleExpand(): void;
24
+ onButtonClick(btn: ButtonActionSettings, sectionKey: number): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionFormCanvasComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<SectionFormCanvasComponent, "lib-section-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "item": { "alias": "item"; "required": false; }; "title": { "alias": "title"; "required": false; }; "isTranslateTitle": { "alias": "isTranslateTitle"; "required": false; }; "key": { "alias": "key"; "required": false; }; "hideToggle": { "alias": "hideToggle"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "actionEdit": "actionEdit"; "formEdit": "formEdit"; "buttonClicked": "buttonClicked"; }, never, never, true, never>;
27
+ }
@@ -0,0 +1,17 @@
1
+ import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ActionButtonComponent implements OnInit, OnDestroy {
4
+ private readonly translateService;
5
+ private readonly destroy$;
6
+ buttonText: string;
7
+ buttonTextKey?: string;
8
+ buttonGradient: string;
9
+ id?: string;
10
+ buttonClick: EventEmitter<void>;
11
+ get isArabic(): boolean;
12
+ ngOnInit(): void;
13
+ ngOnDestroy(): void;
14
+ onButtonClick(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionButtonComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionButtonComponent, "lib-action-button", never, { "buttonText": { "alias": "buttonText"; "required": false; }; "buttonTextKey": { "alias": "buttonTextKey"; "required": false; }; "buttonGradient": { "alias": "buttonGradient"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
17
+ }
@@ -0,0 +1,37 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export interface FeatureItem {
4
+ text?: string;
5
+ textKey?: string;
6
+ }
7
+ export declare class ActionCardComponent {
8
+ icon: string;
9
+ iconSvg?: string;
10
+ title: string;
11
+ description: string;
12
+ buttonText: string;
13
+ buttonTextKey?: string;
14
+ titleKey?: string;
15
+ descriptionKey?: string;
16
+ iconColor: string;
17
+ borderColor: string;
18
+ borderLeftColor?: string;
19
+ borderRightColor?: string;
20
+ borderBottomColor?: string;
21
+ topBorderColor?: string;
22
+ topBorderGradient?: string;
23
+ buttonGradient: string;
24
+ decorativeIconColor: string;
25
+ featureCheckIconColor?: string;
26
+ variant: 'default' | 'extended';
27
+ iconSize: number;
28
+ features?: FeatureItem[];
29
+ featuresHeading?: string;
30
+ featuresHeadingKey?: string;
31
+ showDivider: boolean;
32
+ topBorderHeight: number;
33
+ buttonClick: EventEmitter<void>;
34
+ onButtonClick(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionCardComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionCardComponent, "lib-action-card", never, { "icon": { "alias": "icon"; "required": false; }; "iconSvg": { "alias": "iconSvg"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "buttonTextKey": { "alias": "buttonTextKey"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "descriptionKey": { "alias": "descriptionKey"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "borderColor": { "alias": "borderColor"; "required": false; }; "borderLeftColor": { "alias": "borderLeftColor"; "required": false; }; "borderRightColor": { "alias": "borderRightColor"; "required": false; }; "borderBottomColor": { "alias": "borderBottomColor"; "required": false; }; "topBorderColor": { "alias": "topBorderColor"; "required": false; }; "topBorderGradient": { "alias": "topBorderGradient"; "required": false; }; "buttonGradient": { "alias": "buttonGradient"; "required": false; }; "decorativeIconColor": { "alias": "decorativeIconColor"; "required": false; }; "featureCheckIconColor": { "alias": "featureCheckIconColor"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "features": { "alias": "features"; "required": false; }; "featuresHeading": { "alias": "featuresHeading"; "required": false; }; "featuresHeadingKey": { "alias": "featuresHeadingKey"; "required": false; }; "showDivider": { "alias": "showDivider"; "required": false; }; "topBorderHeight": { "alias": "topBorderHeight"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, true, never>;
37
+ }
@@ -0,0 +1,16 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AttachmentUploaderComponent {
4
+ fileUpload: ElementRef<HTMLInputElement>;
5
+ fileSelected: EventEmitter<File>;
6
+ selectedFile: File | null;
7
+ isDragOver: boolean;
8
+ triggerAttachmentUpload(): void;
9
+ uploadFileToServer(): void;
10
+ clearFile(): void;
11
+ onDragOver(event: DragEvent): void;
12
+ onDragLeave(event: DragEvent): void;
13
+ onDrop(event: DragEvent): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentUploaderComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentUploaderComponent, "app-attachment-uploader", never, {}, { "fileSelected": "fileSelected"; }, never, never, true, never>;
16
+ }
@@ -0,0 +1,21 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ActivatedRoute } from "@angular/router";
3
+ import { ButtonActionSettings, FieldInfo, FilterRequest, PageInfo, TableColumn } from "../../base-model";
4
+ import { Filter } from "../../base-model";
5
+ import * as i0 from "@angular/core";
6
+ export declare class SharedListComponent implements OnInit {
7
+ private activatedRoute;
8
+ pageInfo: PageInfo;
9
+ columnsDefinition: TableColumn<any>[];
10
+ fields: FieldInfo[];
11
+ filters: Filter[];
12
+ readyToLoad: boolean;
13
+ isPending: boolean;
14
+ listAction: ButtonActionSettings[];
15
+ editableTable: boolean;
16
+ filterRequest: FilterRequest;
17
+ constructor(activatedRoute: ActivatedRoute);
18
+ ngOnInit(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<SharedListComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<SharedListComponent, "app-shared-list", never, {}, {}, never, never, true, never>;
21
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SnackbarStaticComponent {
4
+ messageKey: string;
5
+ titleKey: string;
6
+ params: Record<string, any>;
7
+ paramsTitle: Record<string, any>;
8
+ type: 'error' | 'success' | 'warning' | 'info' | 'help';
9
+ actionBtn: EventEmitter<void>;
10
+ width: string;
11
+ textBtn: string;
12
+ submit(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SnackbarStaticComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<SnackbarStaticComponent, "app-snackbar-static", never, { "messageKey": { "alias": "messageKey"; "required": false; }; "titleKey": { "alias": "titleKey"; "required": false; }; "params": { "alias": "params"; "required": false; }; "paramsTitle": { "alias": "paramsTitle"; "required": false; }; "type": { "alias": "type"; "required": false; }; "width": { "alias": "width"; "required": false; }; "textBtn": { "alias": "textBtn"; "required": false; }; }, { "actionBtn": "actionBtn"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1,42 @@
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { Location } from "@angular/common";
3
+ import { Directionality } from "@angular/cdk/bidi";
4
+ import { ButtonActionSettings } from "../../base-model";
5
+ import * as i0 from "@angular/core";
6
+ export declare class TitleBarComponent implements OnInit, OnChanges {
7
+ private location;
8
+ private dir;
9
+ pageTitle: string;
10
+ showExtractButton: boolean;
11
+ totalElements?: number;
12
+ titleMode: string;
13
+ subTitle: string;
14
+ statusDesc?: string;
15
+ newAction: boolean;
16
+ extraButton: string;
17
+ showDetails: any;
18
+ showImport: boolean;
19
+ showButton: boolean;
20
+ newActionClicked: EventEmitter<any>;
21
+ extraButtonClicked: EventEmitter<any>;
22
+ extractReport: EventEmitter<any>;
23
+ extraData: string;
24
+ listTitle: string;
25
+ newButton: string;
26
+ titleCorporateAdmin: string;
27
+ isRoot: boolean;
28
+ hideBackButton: boolean;
29
+ buttons: ButtonActionSettings[];
30
+ buttonClicked: EventEmitter<ButtonActionSettings>;
31
+ constructor(location: Location, dir: Directionality);
32
+ ngOnInit(): void;
33
+ get backIcon(): string;
34
+ publishEvent(): void;
35
+ doExtractReport(value: any): void;
36
+ publishExtraButtonEvent(): void;
37
+ ngOnChanges(changes: SimpleChanges): void;
38
+ goBack(): void;
39
+ onButtonClick(btn: ButtonActionSettings): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<TitleBarComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<TitleBarComponent, "app-title-bar", never, { "pageTitle": { "alias": "pageTitle"; "required": false; }; "showExtractButton": { "alias": "showExtractButton"; "required": false; }; "totalElements": { "alias": "totalElements"; "required": false; }; "titleMode": { "alias": "titleMode"; "required": false; }; "subTitle": { "alias": "subTitle"; "required": false; }; "statusDesc": { "alias": "statusDesc"; "required": false; }; "newAction": { "alias": "newAction"; "required": false; }; "extraButton": { "alias": "extraButton"; "required": false; }; "showDetails": { "alias": "showDetails"; "required": false; }; "showImport": { "alias": "showImport"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "extraData": { "alias": "extraData"; "required": false; }; "titleCorporateAdmin": { "alias": "titleCorporateAdmin"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, { "newActionClicked": "newActionClicked"; "extraButtonClicked": "extraButtonClicked"; "extractReport": "extractReport"; "buttonClicked": "buttonClicked"; }, never, never, true, never>;
42
+ }
@@ -0,0 +1,59 @@
1
+ import { HttpClient, HttpHeaders } from "@angular/common/http";
2
+ import { Observable, Subject } from "rxjs";
3
+ import { SnackMessage } from "../base-model/snack-message.model";
4
+ import { PageInfo } from "../base-model/page-info";
5
+ import { TranslateService } from "@ngx-translate/core";
6
+ import { TableColumn } from "../base-model/table-column.interface";
7
+ import { GetItemsList } from "../base-model/get-items-list";
8
+ import { FieldAction } from "../base-model/field-action";
9
+ import { Workflow } from "../base-model/workflow/workflow.model";
10
+ import { ReportRequest } from "../base-model/report-request.model";
11
+ import { FilterRequest } from "../base-model/filter-request";
12
+ import { FormGroup } from "@angular/forms";
13
+ import { ActivatedRoute } from "@angular/router";
14
+ import { TopPanel } from "./top-panel";
15
+ import { DoActionRequest } from "../base-model/do-action-request";
16
+ import { MatDialog } from "@angular/material/dialog";
17
+ import * as i0 from "@angular/core";
18
+ export declare class BackendService {
19
+ private http;
20
+ private topPanel;
21
+ private translateService;
22
+ private route;
23
+ private dialog;
24
+ private config;
25
+ private secretsManager;
26
+ topPanelMessage$: Subject<SnackMessage>;
27
+ parentForm: FormGroup;
28
+ childForm: FormGroup;
29
+ fieldAction$: Subject<FieldAction>;
30
+ isEmptyItems: boolean;
31
+ constructor(http: HttpClient, topPanel: TopPanel, translateService: TranslateService, route: ActivatedRoute, dialog: MatDialog, config: any, secretsManager: any);
32
+ set defaults(value: any | undefined);
33
+ get defaults(): any | undefined;
34
+ getStatusDescription(element: any, workflow: Workflow): any;
35
+ getItemsByFilter(reportRequest: any, apiUrl: string): Observable<any>;
36
+ getItemAuditLog(reportRequest: any, apiUrl: string): Observable<any>;
37
+ private buildSecuredHeader;
38
+ buildFormSecuredHeader(): HttpHeaders;
39
+ labelKey(column: any, pageInfo: PageInfo): any;
40
+ private buildReportColumn;
41
+ private base64ToArrayBuffer;
42
+ buildReportRequest(columns: TableColumn<any>[], title: string | string[], filterRequest: FilterRequest, reportType: any, pageInfo: PageInfo, searchStr: string, orientation?: string): ReportRequest;
43
+ getLookupItemsByMultiFilter(listItems: GetItemsList, filterRequest?: FilterRequest): Observable<any>;
44
+ getLookupItemsByFilter(listItems: GetItemsList, cascadedId?: any): Observable<any>;
45
+ downloadReport(reportRequest: ReportRequest, pageApiPath: string, readyPath?: boolean): import("rxjs").Subscription;
46
+ private getApiBasePath;
47
+ doActionWithAttachments(request: DoActionRequest, param2: any[], pageInfo: PageInfo): Observable<any>;
48
+ doActionWithAttachment(request: DoActionRequest, file: File, pageInfo: PageInfo): Observable<any>;
49
+ encrypt(message: any): any;
50
+ decrypt(secret: any): any;
51
+ getConfirmation(): Observable<any>;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<BackendService, never>;
53
+ static ɵprov: i0.ɵɵInjectableDeclaration<BackendService>;
54
+ }
55
+ declare global {
56
+ interface Navigator {
57
+ msSaveBlob: (blobOrBase64: Blob | string, filename: string) => void;
58
+ }
59
+ }
@@ -1,3 +1,3 @@
1
1
  export * from './backend-service';
2
2
  export * from './top-panel';
3
- export * from './trigger-form.service'
3
+ export * from './trigger-form.service';
@@ -0,0 +1,8 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ import { SnackMessage } from "../base-model/snack-message.model";
3
+ import * as i0 from "@angular/core";
4
+ export declare class TopPanel {
5
+ topPanelMessage$: BehaviorSubject<SnackMessage>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TopPanel, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<TopPanel>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ShareDataService {
3
+ trigger: import("@angular/core").WritableSignal<boolean>;
4
+ enableTrigger: () => () => void;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ShareDataService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<ShareDataService>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { FieldInfo, PageInfo, FilterRequest } from "../base-model";
2
+ export declare class BaseUtils {
3
+ pageInfo: PageInfo;
4
+ labelKey(column: any): string;
5
+ labelKeyByValue(column: any, element: any): string;
6
+ formatTimeToDate(v: any): Date;
7
+ }
8
+ export declare function buildFormFields(fields: FieldInfo[], item: any): string[];
9
+ export declare function buildItemsList(searchStr: string, apiPath?: string, cascadedByProperty?: string): FilterRequest;
10
+ export declare function extractFieldName(element: any, property: string): any;
11
+ export declare function getPositiveWfActionKey(stateType: any): "save" | "approve";
12
+ export declare function getNegativeWfActionKey(stateType: any): "reject" | "cancel";
13
+ export declare function getWfActionId(stateType: any): number;
@@ -0,0 +1,2 @@
1
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
2
+ export declare function DateRangeValidator(group: AbstractControl): ValidationErrors | null;
@@ -0,0 +1,4 @@
1
+ import { FormGroup } from "@angular/forms";
2
+ export declare function RequireMatch(control: FormGroup): {
3
+ incorrect: boolean;
4
+ };
@@ -0,0 +1,6 @@
1
+ import { FormGroup } from '@angular/forms';
2
+ export declare function MultiEmailValidator(control: FormGroup): {
3
+ invalidEmail: {
4
+ value: any;
5
+ };
6
+ };
package/package.json CHANGED
@@ -1,12 +1,27 @@
1
1
  {
2
2
  "name": "@unifylib/ui-lib",
3
- "version": "1.0.3",
3
+ "version": "1.1.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.12",
6
- "@angular/core": "^17.3.12"
6
+ "@angular/core": "^17.3.12",
7
+ "moment": "^2.30.1",
8
+ "rxjs": "~7.8.0"
7
9
  },
8
10
  "dependencies": {
9
11
  "tslib": "^2.3.0"
10
12
  },
11
- "sideEffects": false
12
- }
13
+ "sideEffects": false,
14
+ "module": "fesm2022/unifylib-ui-lib.mjs",
15
+ "typings": "index.d.ts",
16
+ "exports": {
17
+ "./package.json": {
18
+ "default": "./package.json"
19
+ },
20
+ ".": {
21
+ "types": "./index.d.ts",
22
+ "esm2022": "./esm2022/unifylib-ui-lib.mjs",
23
+ "esm": "./esm2022/unifylib-ui-lib.mjs",
24
+ "default": "./fesm2022/unifylib-ui-lib.mjs"
25
+ }
26
+ }
27
+ }