@unifylib/ui-lib 1.0.3 → 1.0.64

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 (265) 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 +17 -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 +64 -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 +13 -0
  16. package/esm2022/lib/base-model/items-total.model.mjs +8 -0
  17. package/esm2022/lib/base-model/line-item.model.mjs +12 -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/permission-matrix.model.mjs +2 -0
  21. package/esm2022/lib/base-model/report-request.model.mjs +17 -0
  22. package/esm2022/lib/base-model/response-envelop.model.mjs +10 -0
  23. package/esm2022/lib/base-model/snack-message.model.mjs +11 -0
  24. package/esm2022/lib/base-model/table-column.interface.mjs +2 -0
  25. package/esm2022/lib/base-model/table-page-user-action.interface.mjs +21 -0
  26. package/esm2022/lib/base-model/workflow/workflow-steps.model.mjs +9 -0
  27. package/esm2022/lib/base-model/workflow/workflow.model.mjs +42 -0
  28. package/esm2022/lib/components/action-comment/action-comment.component.mjs +111 -0
  29. package/esm2022/lib/components/action-confirmation/action-confirmation.component.mjs +68 -0
  30. package/esm2022/lib/components/activity-report-form/activity-report-form.component.mjs +486 -0
  31. package/esm2022/lib/components/advanced-filter/field-filter/field-filter.component.mjs +44 -0
  32. package/esm2022/lib/components/advanced-filter/filter-builder/filter-builder.component.mjs +323 -0
  33. package/esm2022/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.mjs +70 -0
  34. package/esm2022/lib/components/audit-log-list/audit-log.component.mjs +97 -0
  35. package/esm2022/lib/components/auto-complete/auto-complete.component.mjs +300 -0
  36. package/esm2022/lib/components/base-form/base-form.component.mjs +284 -0
  37. package/esm2022/lib/components/base-form-canvas/MaxDigitsDirective.mjs +29 -0
  38. package/esm2022/lib/components/base-form-canvas/NumbersOnlyDirective.mjs +132 -0
  39. package/esm2022/lib/components/base-form-canvas/base-form-canvas.component.mjs +789 -0
  40. package/esm2022/lib/components/base-input-dialog/base-input-dialog.component.mjs +72 -0
  41. package/esm2022/lib/components/base-table/base-table.component.mjs +708 -0
  42. package/esm2022/lib/components/button-actions/button-actions.component.mjs +101 -0
  43. package/esm2022/lib/components/editable-base-table/editable-base-table.component.mjs +507 -0
  44. package/esm2022/lib/components/equation-builder/equation-builder.component.mjs +117 -0
  45. package/esm2022/lib/components/item-line-editor/item-line-editor.component.mjs +322 -0
  46. package/esm2022/lib/components/multi-auto-complete/multi-auto-complete.component.mjs +294 -0
  47. package/esm2022/lib/components/paginator/paginator.component.mjs +181 -0
  48. package/esm2022/lib/components/permission-matrix/permission-matrix.component.mjs +129 -0
  49. package/esm2022/lib/components/report-details-dialog/report-details-dialog.component.mjs +102 -0
  50. package/esm2022/lib/components/report-form/report-form.component.mjs +485 -0
  51. package/esm2022/lib/components/search-bar/search-bar.component.mjs +63 -0
  52. package/esm2022/lib/components/section-form-canvas/section-form-canvas.component.mjs +99 -0
  53. package/esm2022/lib/components/shared/action-button/action-button.component.mjs +59 -0
  54. package/esm2022/lib/components/shared/action-card/action-card.component.mjs +93 -0
  55. package/esm2022/lib/components/shared/attachment-uploader/attachment-uploader.component.mjs +74 -0
  56. package/esm2022/lib/components/shared-list/shared-list.component.mjs +47 -0
  57. package/esm2022/lib/components/snackbar-static/snackbar-static.component.mjs +43 -0
  58. package/esm2022/lib/components/title-bar/title-bar.component.mjs +185 -0
  59. package/esm2022/lib/services/backend-service.mjs +241 -0
  60. package/esm2022/lib/services/index.mjs +4 -0
  61. package/esm2022/lib/services/top-panel.mjs +22 -0
  62. package/esm2022/lib/services/trigger-form.service.mjs +17 -0
  63. package/esm2022/lib/utils/base-utils.mjs +101 -0
  64. package/esm2022/lib/validators/date-range-validator.mjs +27 -0
  65. package/esm2022/lib/validators/index.mjs +4 -0
  66. package/esm2022/lib/validators/match-list.validator.mjs +9 -0
  67. package/esm2022/lib/validators/multi-email-validator.mjs +13 -0
  68. package/esm2022/public-api.mjs +30 -0
  69. package/esm2022/unifylib-ui-lib.mjs +5 -0
  70. package/fesm2022/iq-ui-lib.mjs +6552 -0
  71. package/fesm2022/iq-ui-lib.mjs.map +1 -0
  72. package/fesm2022/unifylib-ui-lib.mjs +6713 -0
  73. package/fesm2022/unifylib-ui-lib.mjs.map +1 -0
  74. package/index.d.ts +5 -0
  75. package/lib/base-model/SearchStrConfig.d.ts +8 -0
  76. package/{src/lib/base-model/api-response.ts → lib/base-model/api-response.d.ts} +5 -7
  77. package/lib/base-model/audit-log-entry.d.ts +7 -0
  78. package/lib/base-model/button-action-settings.d.ts +16 -0
  79. package/lib/base-model/column-def.model.d.ts +11 -0
  80. package/lib/base-model/do-action-request.d.ts +10 -0
  81. package/lib/base-model/field-action.d.ts +6 -0
  82. package/lib/base-model/field-filter.model.d.ts +7 -0
  83. package/lib/base-model/field-info.d.ts +59 -0
  84. package/lib/base-model/field-predicate.model.d.ts +7 -0
  85. package/lib/base-model/filter-request.d.ts +15 -0
  86. package/lib/base-model/filter.model.d.ts +22 -0
  87. package/lib/base-model/get-items-list.d.ts +21 -0
  88. package/lib/base-model/index.d.ts +12 -0
  89. package/lib/base-model/items-total.model.d.ts +6 -0
  90. package/lib/base-model/line-item.model.d.ts +10 -0
  91. package/lib/base-model/lookupItem.d.ts +13 -0
  92. package/{src/lib/base-model/page-info.ts → lib/base-model/page-info.d.ts} +26 -24
  93. package/lib/base-model/permission-matrix.model.d.ts +18 -0
  94. package/lib/base-model/report-request.model.d.ts +18 -0
  95. package/lib/base-model/response-envelop.model.d.ts +8 -0
  96. package/lib/base-model/snack-message.model.d.ts +7 -0
  97. package/lib/base-model/table-column.interface.d.ts +31 -0
  98. package/lib/base-model/table-page-user-action.interface.d.ts +14 -0
  99. package/lib/base-model/workflow/workflow-steps.model.d.ts +7 -0
  100. package/lib/base-model/workflow/workflow.model.d.ts +13 -0
  101. package/lib/components/action-comment/action-comment.component.d.ts +35 -0
  102. package/lib/components/action-confirmation/action-confirmation.component.d.ts +27 -0
  103. package/lib/components/activity-report-form/activity-report-form.component.d.ts +93 -0
  104. package/lib/components/advanced-filter/field-filter/field-filter.component.d.ts +21 -0
  105. package/lib/components/advanced-filter/filter-builder/filter-builder.component.d.ts +51 -0
  106. package/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.d.ts +25 -0
  107. package/lib/components/audit-log-list/audit-log.component.d.ts +29 -0
  108. package/lib/components/auto-complete/auto-complete.component.d.ts +52 -0
  109. package/lib/components/base-form/base-form.component.d.ts +59 -0
  110. package/lib/components/base-form-canvas/MaxDigitsDirective.d.ts +7 -0
  111. package/lib/components/base-form-canvas/NumbersOnlyDirective.d.ts +23 -0
  112. package/lib/components/base-form-canvas/base-form-canvas.component.d.ts +142 -0
  113. package/lib/components/base-input-dialog/base-input-dialog.component.d.ts +23 -0
  114. package/lib/components/base-table/base-table.component.d.ts +172 -0
  115. package/lib/components/button-actions/button-actions.component.d.ts +19 -0
  116. package/lib/components/editable-base-table/editable-base-table.component.d.ts +109 -0
  117. package/lib/components/equation-builder/equation-builder.component.d.ts +23 -0
  118. package/lib/components/item-line-editor/item-line-editor.component.d.ts +66 -0
  119. package/lib/components/multi-auto-complete/multi-auto-complete.component.d.ts +53 -0
  120. package/lib/components/paginator/paginator.component.d.ts +41 -0
  121. package/lib/components/permission-matrix/permission-matrix.component.d.ts +26 -0
  122. package/lib/components/report-details-dialog/report-details-dialog.component.d.ts +34 -0
  123. package/lib/components/report-form/report-form.component.d.ts +92 -0
  124. package/lib/components/search-bar/search-bar.component.d.ts +29 -0
  125. package/lib/components/section-form-canvas/section-form-canvas.component.d.ts +32 -0
  126. package/lib/components/shared/action-button/action-button.component.d.ts +17 -0
  127. package/lib/components/shared/action-card/action-card.component.d.ts +37 -0
  128. package/lib/components/shared/attachment-uploader/attachment-uploader.component.d.ts +18 -0
  129. package/lib/components/shared-list/shared-list.component.d.ts +21 -0
  130. package/lib/components/snackbar-static/snackbar-static.component.d.ts +15 -0
  131. package/lib/components/title-bar/title-bar.component.d.ts +54 -0
  132. package/lib/services/backend-service.d.ts +59 -0
  133. package/{src/lib/services/index.ts → lib/services/index.d.ts} +1 -1
  134. package/lib/services/top-panel.d.ts +8 -0
  135. package/lib/services/trigger-form.service.d.ts +7 -0
  136. package/lib/utils/base-utils.d.ts +13 -0
  137. package/lib/validators/date-range-validator.d.ts +2 -0
  138. package/lib/validators/match-list.validator.d.ts +4 -0
  139. package/lib/validators/multi-email-validator.d.ts +6 -0
  140. package/package.json +16 -3
  141. package/public-api.d.ts +26 -0
  142. package/ng-package.json +0 -7
  143. package/src/lib/base-model/SearchStrConfig.ts +0 -12
  144. package/src/lib/base-model/audit-log-entry.ts +0 -7
  145. package/src/lib/base-model/button-action-settings.ts +0 -25
  146. package/src/lib/base-model/column-def.model.ts +0 -34
  147. package/src/lib/base-model/do-action-request.ts +0 -11
  148. package/src/lib/base-model/field-action.ts +0 -7
  149. package/src/lib/base-model/field-filter.model.ts +0 -14
  150. package/src/lib/base-model/field-info.ts +0 -98
  151. package/src/lib/base-model/field-predicate.model.ts +0 -7
  152. package/src/lib/base-model/filter-request.ts +0 -27
  153. package/src/lib/base-model/filter.model.ts +0 -49
  154. package/src/lib/base-model/get-items-list.ts +0 -24
  155. package/src/lib/base-model/index.ts +0 -11
  156. package/src/lib/base-model/lookupItem.ts +0 -21
  157. package/src/lib/base-model/null-snackmessage.ts +0 -9
  158. package/src/lib/base-model/report-request.model.ts +0 -33
  159. package/src/lib/base-model/response-envelop.model.ts +0 -15
  160. package/src/lib/base-model/snack-message.model.ts +0 -14
  161. package/src/lib/base-model/snackmessage-interface.ts +0 -7
  162. package/src/lib/base-model/table-column.interface.ts +0 -29
  163. package/src/lib/base-model/table-page-user-action.interface.ts +0 -33
  164. package/src/lib/base-model/workflow/workflow-steps.model.ts +0 -9
  165. package/src/lib/base-model/workflow/workflow.model.ts +0 -52
  166. package/src/lib/components/action-confirmation/action-confirmation.component.css +0 -34
  167. package/src/lib/components/action-confirmation/action-confirmation.component.html +0 -18
  168. package/src/lib/components/action-confirmation/action-confirmation.component.spec.ts +0 -23
  169. package/src/lib/components/action-confirmation/action-confirmation.component.ts +0 -58
  170. package/src/lib/components/activity-report-form/activity-report-form.component.html +0 -109
  171. package/src/lib/components/activity-report-form/activity-report-form.component.scss +0 -0
  172. package/src/lib/components/activity-report-form/activity-report-form.component.spec.ts +0 -25
  173. package/src/lib/components/activity-report-form/activity-report-form.component.ts +0 -605
  174. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.css +0 -51
  175. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.html +0 -23
  176. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.spec.ts +0 -23
  177. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.ts +0 -69
  178. package/src/lib/components/audit-log-list/audit-log.component.html +0 -23
  179. package/src/lib/components/audit-log-list/audit-log.component.scss +0 -0
  180. package/src/lib/components/audit-log-list/audit-log.component.spec.ts +0 -25
  181. package/src/lib/components/audit-log-list/audit-log.component.ts +0 -116
  182. package/src/lib/components/auto-complete/auto-complete.component.css +0 -14
  183. package/src/lib/components/auto-complete/auto-complete.component.html +0 -29
  184. package/src/lib/components/auto-complete/auto-complete.component.spec.ts +0 -23
  185. package/src/lib/components/auto-complete/auto-complete.component.ts +0 -330
  186. package/src/lib/components/base-form/base-form.component.html +0 -58
  187. package/src/lib/components/base-form/base-form.component.scss +0 -0
  188. package/src/lib/components/base-form/base-form.component.spec.ts +0 -25
  189. package/src/lib/components/base-form/base-form.component.ts +0 -305
  190. package/src/lib/components/base-form-canvas/base-form-canvas.component.css +0 -22
  191. package/src/lib/components/base-form-canvas/base-form-canvas.component.html +0 -1006
  192. package/src/lib/components/base-form-canvas/base-form-canvas.component.spec.ts +0 -23
  193. package/src/lib/components/base-form-canvas/base-form-canvas.component.ts +0 -573
  194. package/src/lib/components/base-input-dialog/base-input-dialog.component.css +0 -0
  195. package/src/lib/components/base-input-dialog/base-input-dialog.component.html +0 -42
  196. package/src/lib/components/base-input-dialog/base-input-dialog.component.spec.ts +0 -23
  197. package/src/lib/components/base-input-dialog/base-input-dialog.component.ts +0 -78
  198. package/src/lib/components/base-table/base-table.component.html +0 -242
  199. package/src/lib/components/base-table/base-table.component.scss +0 -31
  200. package/src/lib/components/base-table/base-table.component.spec.ts +0 -25
  201. package/src/lib/components/base-table/base-table.component.ts +0 -568
  202. package/src/lib/components/button-actions/button-actions.component.html +0 -28
  203. package/src/lib/components/button-actions/button-actions.component.scss +0 -6
  204. package/src/lib/components/button-actions/button-actions.component.spec.ts +0 -23
  205. package/src/lib/components/button-actions/button-actions.component.ts +0 -72
  206. package/src/lib/components/editable-base-table/editable-base-table.component.html +0 -372
  207. package/src/lib/components/editable-base-table/editable-base-table.component.scss +0 -44
  208. package/src/lib/components/editable-base-table/editable-base-table.component.spec.ts +0 -25
  209. package/src/lib/components/editable-base-table/editable-base-table.component.ts +0 -570
  210. package/src/lib/components/equation-builder/equation-builder.component.css +0 -0
  211. package/src/lib/components/equation-builder/equation-builder.component.html +0 -31
  212. package/src/lib/components/equation-builder/equation-builder.component.spec.ts +0 -23
  213. package/src/lib/components/equation-builder/equation-builder.component.ts +0 -121
  214. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.css +0 -11
  215. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.html +0 -38
  216. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.spec.ts +0 -23
  217. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.ts +0 -317
  218. package/src/lib/components/paginator/paginator.component.css +0 -25
  219. package/src/lib/components/paginator/paginator.component.html +0 -34
  220. package/src/lib/components/paginator/paginator.component.ts +0 -94
  221. package/src/lib/components/rejection-comment/action-comment.component.css +0 -33
  222. package/src/lib/components/rejection-comment/action-comment.component.html +0 -46
  223. package/src/lib/components/rejection-comment/action-comment.component.spec.ts +0 -23
  224. package/src/lib/components/rejection-comment/action-comment.component.ts +0 -86
  225. package/src/lib/components/report-details-dialog/report-details-dialog.component.css +0 -17
  226. package/src/lib/components/report-details-dialog/report-details-dialog.component.html +0 -16
  227. package/src/lib/components/report-details-dialog/report-details-dialog.component.spec.ts +0 -23
  228. package/src/lib/components/report-details-dialog/report-details-dialog.component.ts +0 -113
  229. package/src/lib/components/report-form/report-form.component.html +0 -94
  230. package/src/lib/components/report-form/report-form.component.scss +0 -0
  231. package/src/lib/components/report-form/report-form.component.spec.ts +0 -25
  232. package/src/lib/components/report-form/report-form.component.ts +0 -588
  233. package/src/lib/components/search-bar/search-bar.component.html +0 -62
  234. package/src/lib/components/search-bar/search-bar.component.scss +0 -8
  235. package/src/lib/components/search-bar/search-bar.component.spec.ts +0 -25
  236. package/src/lib/components/search-bar/search-bar.component.ts +0 -70
  237. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.css +0 -54
  238. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.html +0 -22
  239. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.spec.ts +0 -23
  240. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.ts +0 -45
  241. package/src/lib/components/shared-list/shared-list.component.css +0 -0
  242. package/src/lib/components/shared-list/shared-list.component.html +0 -17
  243. package/src/lib/components/shared-list/shared-list.component.spec.ts +0 -23
  244. package/src/lib/components/shared-list/shared-list.component.ts +0 -53
  245. package/src/lib/components/title-bar/title-bar.component.css +0 -0
  246. package/src/lib/components/title-bar/title-bar.component.css.map +0 -1
  247. package/src/lib/components/title-bar/title-bar.component.html +0 -31
  248. package/src/lib/components/title-bar/title-bar.component.scss +0 -23
  249. package/src/lib/components/title-bar/title-bar.component.spec.ts +0 -23
  250. package/src/lib/components/title-bar/title-bar.component.ts +0 -119
  251. package/src/lib/services/backend-service.ts +0 -286
  252. package/src/lib/services/top-panel.ts +0 -17
  253. package/src/lib/services/trigger-form.service.ts +0 -11
  254. package/src/lib/share-module/shared-module.ts +0 -10
  255. package/src/lib/styles/invoiceq-theme.scss +0 -252
  256. package/src/lib/styles/styles.scss +0 -1723
  257. package/src/lib/utils/base-utils.ts +0 -102
  258. package/src/lib/validators/date-range-validator.ts +0 -31
  259. package/src/lib/validators/match-list.validator.ts +0 -10
  260. package/src/lib/validators/multi-email-validator.ts +0 -15
  261. package/src/public-api.ts +0 -21
  262. package/tsconfig.lib.json +0 -15
  263. package/tsconfig.lib.prod.json +0 -11
  264. package/tsconfig.spec.json +0 -15
  265. /package/{src/lib/validators/index.ts → lib/validators/index.d.ts} +0 -0
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormGroup } from "@angular/forms";
3
+ import { FieldFilter } from "../../../base-model/field-filter.model";
4
+ import { FieldInfo, PageInfo } from "../../../base-model";
5
+ import * as i0 from "@angular/core";
6
+ export declare class FieldFilterComponent implements OnInit {
7
+ filter: FieldFilter;
8
+ pageInfo: PageInfo;
9
+ filterFields: FieldInfo[];
10
+ filterForm: FormGroup;
11
+ item: any;
12
+ editable: boolean;
13
+ filterResetNonce: number;
14
+ selectedValue: EventEmitter<any>;
15
+ filterFieldInformation: EventEmitter<any>;
16
+ constructor();
17
+ ngOnInit(): void;
18
+ formChanges($event: FormGroup): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldFilterComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FieldFilterComponent, "app-field-filter", never, { "filter": { "alias": "filter"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "filterFields": { "alias": "filterFields"; "required": false; }; "item": { "alias": "item"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "filterResetNonce": { "alias": "filterResetNonce"; "required": false; }; }, { "selectedValue": "selectedValue"; "filterFieldInformation": "filterFieldInformation"; }, never, never, true, never>;
21
+ }
@@ -0,0 +1,51 @@
1
+ import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
+ import { FieldInfo, PageInfo, TableColumn } from "../../../base-model";
3
+ import { FieldFilter } from "../../../base-model/field-filter.model";
4
+ import * as i0 from "@angular/core";
5
+ export declare class FilterBuilderComponent implements OnInit, OnDestroy {
6
+ private readonly liveAnnouncer;
7
+ private readonly translate;
8
+ columns: TableColumn<any>[];
9
+ isChecked: boolean;
10
+ filterFields: FieldInfo[];
11
+ pageInfo: PageInfo;
12
+ pendingFilters: FieldFilter[];
13
+ showExportButton: boolean;
14
+ filter: FieldFilter;
15
+ filters: FieldFilter[];
16
+ private searchTimeout;
17
+ private autoApplyTimeout;
18
+ filterResetNonce: number;
19
+ filterInformation: EventEmitter<{
20
+ filters: FieldFilter[];
21
+ searchStr: string;
22
+ }>;
23
+ isEmpty: EventEmitter<boolean>;
24
+ applyFilter: EventEmitter<void>;
25
+ sortByClicked: EventEmitter<string>;
26
+ exportClicked: EventEmitter<string>;
27
+ constructor();
28
+ isMobile(): boolean;
29
+ getSortableColumns(): TableColumn<any>[];
30
+ labelKey(column: TableColumn<any>): string;
31
+ onSortByClick(columnProperty: string): void;
32
+ onExportClick(reportType: string): void;
33
+ ngOnInit(): void;
34
+ ngOnDestroy(): void;
35
+ onKeyDown(event: KeyboardEvent): void;
36
+ doSearch(): void;
37
+ onApplyFilter(): void;
38
+ private scheduleAutoApply;
39
+ private scheduleSearch;
40
+ formChanges($event: any, index?: number, fieldInfo?: FieldInfo): void;
41
+ typeMap(colType?: string): string;
42
+ isEditable(_index?: number): boolean;
43
+ deleteAll(): void;
44
+ onClearFilters(): void;
45
+ switchToAdvanced(): void;
46
+ private createDefaultFieldFilter;
47
+ private hasFilterValue;
48
+ private isFilterValueActive;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterBuilderComponent, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterBuilderComponent, "app-filter-builder", never, { "columns": { "alias": "columns"; "required": false; }; "isChecked": { "alias": "isChecked"; "required": false; }; "filterFields": { "alias": "filterFields"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "pendingFilters": { "alias": "pendingFilters"; "required": false; }; "showExportButton": { "alias": "showExportButton"; "required": false; }; }, { "filterInformation": "filterInformation"; "isEmpty": "isEmpty"; "applyFilter": "applyFilter"; "sortByClicked": "sortByClicked"; "exportClicked": "exportClicked"; }, never, never, true, never>;
51
+ }
@@ -0,0 +1,25 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from "@angular/material/dialog";
3
+ import { FieldInfo, PageInfo } from "../../base-model";
4
+ import * as i0 from "@angular/core";
5
+ export declare class AuditLogDetailsDialogComponent implements OnInit {
6
+ dialogRef: MatDialogRef<AuditLogDetailsDialogComponent>;
7
+ data: any;
8
+ pageInfo: PageInfo;
9
+ fields: FieldInfo[];
10
+ actionLabel: string;
11
+ isTermination: boolean;
12
+ comment: string;
13
+ external: boolean;
14
+ signingRequired: boolean;
15
+ tokenReference: string;
16
+ warningMsg: boolean;
17
+ item: any;
18
+ constructor(dialogRef: MatDialogRef<AuditLogDetailsDialogComponent>, data: any);
19
+ onKeyUp(): void;
20
+ ngOnInit(): void;
21
+ cancel(): void;
22
+ getTitle(): string;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogDetailsDialogComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogDetailsDialogComponent, "app-audit-log-details-dialog", never, {}, {}, never, never, true, never>;
25
+ }
@@ -0,0 +1,29 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FieldInfo, PageInfo } from "../../base-model";
3
+ import { BackendService } from "../../services";
4
+ import { MatDialog } from "@angular/material/dialog";
5
+ import { ActivatedRoute } from "@angular/router";
6
+ import { AuditLogEntry } from "../../base-model/audit-log-entry";
7
+ import { Directionality } from "@angular/cdk/bidi";
8
+ import * as i0 from "@angular/core";
9
+ export declare class AuditLogComponent implements OnInit {
10
+ dialog: MatDialog;
11
+ private activatedRoute;
12
+ private directionality;
13
+ private securityManager;
14
+ backendService: BackendService;
15
+ auditLogEntries: AuditLogEntry[];
16
+ pageInfo: PageInfo;
17
+ statusName: string;
18
+ module: string;
19
+ identifier: string;
20
+ fields: FieldInfo[];
21
+ showHiddenFields: string[];
22
+ itemId: number;
23
+ currentDirection: 'ltr' | 'rtl';
24
+ constructor(dialog: MatDialog, activatedRoute: ActivatedRoute, directionality: Directionality, securityManager: any, backendService: BackendService);
25
+ ngOnInit(): void;
26
+ private loadItem;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogComponent, "app-audit-log", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "statusName": { "alias": "statusName"; "required": false; }; "module": { "alias": "module"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "showHiddenFields": { "alias": "showHiddenFields"; "required": false; }; }, {}, never, never, true, never>;
29
+ }
@@ -0,0 +1,52 @@
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { FieldInfo, LookupItem } from "../../base-model";
3
+ import { MatAutocompleteTrigger } from "@angular/material/autocomplete";
4
+ import { Observable } from "rxjs";
5
+ import { FormControl, FormGroup } from "@angular/forms";
6
+ import { BackendService } from "../../services";
7
+ import { GetItemsList } from "../../base-model/get-items-list";
8
+ import { TranslateService } from "@ngx-translate/core";
9
+ import * as i0 from "@angular/core";
10
+ export declare class AutoCompleteComponent implements OnInit, OnChanges {
11
+ private backendService;
12
+ protected translateService: TranslateService;
13
+ private secretsManager;
14
+ matACTrigger: MatAutocompleteTrigger;
15
+ lookupItems$: Observable<LookupItem[]> | undefined;
16
+ lookupItems: LookupItem[];
17
+ items: LookupItem[];
18
+ field: FieldInfo;
19
+ form: FormGroup;
20
+ defaultValue: any;
21
+ readonly: boolean;
22
+ supportingAttributes: any;
23
+ selectedValue: EventEmitter<LookupItem>;
24
+ autocompleteTrigger: MatAutocompleteTrigger;
25
+ question: string;
26
+ cascadedId: number;
27
+ isRequired: boolean;
28
+ private timer;
29
+ myControl: FormControl<any>;
30
+ constructor(backendService: BackendService, translateService: TranslateService, secretsManager: any);
31
+ ngOnInit(): void;
32
+ private extractWorkflowGuidedCascading;
33
+ private buildControl;
34
+ private updateAttributes;
35
+ ngOnChanges({ defaultValue }: SimpleChanges): void;
36
+ private getLookupData;
37
+ itemSelected(value: any): void;
38
+ displayFn(selected: any): string | undefined;
39
+ _allowSelection(option: LookupItem): {
40
+ [className: string]: boolean;
41
+ };
42
+ itemNameByLag(item: any): string;
43
+ filterLookupItems(name: any, trigger: MatAutocompleteTrigger): void;
44
+ addLookupFilterByAnotherProperties(listItems: GetItemsList): void;
45
+ private patchLookupValue;
46
+ get matErrorDescribedBy(): string | null;
47
+ getId(): string;
48
+ onKeydown(event: KeyboardEvent, autocompleteTrigger: MatAutocompleteTrigger): void;
49
+ closed(): void;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteComponent, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteComponent, "app-auto-complete", never, { "field": { "alias": "field"; "required": false; }; "form": { "alias": "form"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "supportingAttributes": { "alias": "supportingAttributes"; "required": false; }; }, { "selectedValue": "selectedValue"; }, never, ["mat-error"], true, never>;
52
+ }
@@ -0,0 +1,59 @@
1
+ import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { FieldInfo, PageInfo } from "../../base-model";
3
+ import { FieldMessage } from "../../base-model/api-response";
4
+ import { BackendService } from "../../services";
5
+ import { FormGroup } from "@angular/forms";
6
+ import { Location } from "@angular/common";
7
+ import { MatDialog } from "@angular/material/dialog";
8
+ import { BaseUtils, getNegativeWfActionKey, getPositiveWfActionKey } from "../../utils/base-utils";
9
+ import { ActivatedRoute, Router } from "@angular/router";
10
+ import { Directionality } from "@angular/cdk/bidi";
11
+ import * as i0 from "@angular/core";
12
+ export declare class BaseFormComponent extends BaseUtils implements OnInit, OnChanges {
13
+ dialog: MatDialog;
14
+ private activatedRoute;
15
+ private router;
16
+ private directionality;
17
+ private location;
18
+ private securityManager;
19
+ backendService: BackendService;
20
+ pageInfo: PageInfo;
21
+ fields: FieldInfo[];
22
+ errors: FieldMessage[];
23
+ editable: boolean;
24
+ itemId: number;
25
+ actionResultEmitter: EventEmitter<any>;
26
+ formUpdated: EventEmitter<FormGroup>;
27
+ itemLoaded: EventEmitter<any>;
28
+ extraAction: EventEmitter<any>;
29
+ item: any;
30
+ isLoaded: boolean;
31
+ hyperTextEvent: EventEmitter<boolean>;
32
+ currentDirection: 'ltr' | 'rtl';
33
+ isSaveDisabled: boolean;
34
+ isRejectDisabled: boolean;
35
+ hideBackButton: boolean;
36
+ protected readonly SAVE = 2;
37
+ private isPending;
38
+ constructor(dialog: MatDialog, activatedRoute: ActivatedRoute, router: Router, directionality: Directionality, location: Location, securityManager: any, backendService: BackendService);
39
+ ngOnInit(): void;
40
+ ngOnChanges({ item, errors, fields }: SimpleChanges): void;
41
+ isValid(): boolean;
42
+ isMatchHeight(): boolean;
43
+ private loadItem;
44
+ buildDoActionSubject(): any;
45
+ doSaveApproveAction(): void;
46
+ backToParent(): void;
47
+ getTitle(): string;
48
+ updateForm($event: FormGroup): void;
49
+ doCancelRejectAction(): void;
50
+ hasWfPermission(): any;
51
+ protected readonly getPositiveWfActionKey: typeof getPositiveWfActionKey;
52
+ protected readonly getNegativeWfActionKey: typeof getNegativeWfActionKey;
53
+ hasWfPositivePermission(): any;
54
+ hasWfNegativePermission(): any;
55
+ doExtraAction(): void;
56
+ disabledSaveButton(element: any): boolean;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormComponent, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormComponent, "app-base-form", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; }, { "actionResultEmitter": "actionResultEmitter"; "formUpdated": "formUpdated"; "itemLoaded": "itemLoaded"; "extraAction": "extraAction"; "hyperTextEvent": "hyperTextEvent"; }, never, never, true, never>;
59
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class MaxDigitsDirective {
3
+ maxDigits: number;
4
+ onInput(event: Event): void;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaxDigitsDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MaxDigitsDirective, "[maxDigits]", never, { "maxDigits": { "alias": "maxDigits"; "required": false; }; }, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,23 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DecimalOnlyDirective implements ControlValueAccessor {
5
+ private el;
6
+ maxDecimals: number;
7
+ private _value;
8
+ private _displayValue;
9
+ private tempZeroIndex;
10
+ private onChange;
11
+ private onTouched;
12
+ constructor(el: ElementRef<HTMLInputElement>);
13
+ writeValue(value: any): void;
14
+ registerOnChange(fn: any): void;
15
+ registerOnTouched(fn: any): void;
16
+ setDisabledState?(isDisabled: boolean): void;
17
+ onKeyDown(event: KeyboardEvent): void;
18
+ onInput(event: any): void;
19
+ onPaste(event: ClipboardEvent): void;
20
+ onBlur(): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<DecimalOnlyDirective, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DecimalOnlyDirective, "[numbersOnly]", never, { "maxDecimals": { "alias": "maxDecimals"; "required": false; }; }, {}, never, never, true, never>;
23
+ }
@@ -0,0 +1,142 @@
1
+ import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from "@angular/forms";
3
+ import { MatChipInputEvent } from "@angular/material/chips";
4
+ import { FieldInfo } from "../../base-model/field-info";
5
+ import { ActivatedRoute } from "@angular/router";
6
+ import { BackendService } from "../../services/backend-service";
7
+ import { TranslateService } from "@ngx-translate/core";
8
+ import { PageInfo } from "../../base-model/page-info";
9
+ import { LookupItem } from "../../base-model/lookupItem";
10
+ import { FieldMessage } from "../../base-model/api-response";
11
+ import { MatDatepicker } from "@angular/material/datepicker";
12
+ import { MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
13
+ import { BehaviorSubject } from "rxjs";
14
+ import { LiveAnnouncer } from "@angular/cdk/a11y";
15
+ import moment, { Moment } from "moment/moment";
16
+ import * as i0 from "@angular/core";
17
+ export declare const DD_MM_YYYY_Format: {
18
+ parse: {
19
+ dateInput: string;
20
+ };
21
+ display: {
22
+ dateInput: string;
23
+ monthYearLabel: string;
24
+ dateA11yLabel: string;
25
+ monthYearA11yLabel: string;
26
+ };
27
+ };
28
+ export declare class BaseFormCanvasComponent implements OnInit, OnChanges, OnDestroy {
29
+ protected translateService: TranslateService;
30
+ protected activatedRoute: ActivatedRoute;
31
+ protected backendService: BackendService;
32
+ private fb;
33
+ private announcer;
34
+ hide: boolean;
35
+ dateViewMode: 'month' | 'year' | 'multi-year';
36
+ pageInfo: PageInfo;
37
+ currency: string;
38
+ fields: FieldInfo[];
39
+ errors: FieldMessage[];
40
+ workflowEditableFields: string[];
41
+ isWorkflowEditableManaged: boolean;
42
+ supportingAttributes: any;
43
+ editable: boolean;
44
+ emitOnValueChanges: boolean;
45
+ filterResetNonce: number;
46
+ item: any;
47
+ _defaults: any;
48
+ attachmentEmitter: EventEmitter<any>;
49
+ actionEmitter: EventEmitter<any>;
50
+ formUpdated: EventEmitter<FormGroup>;
51
+ hyperTextEvent: EventEmitter<boolean>;
52
+ formParam: FormGroup;
53
+ screenFields: Map<number, FieldInfo[]>;
54
+ removable: boolean;
55
+ selectable: boolean;
56
+ addOnBlur: boolean;
57
+ readonly separatorKeysCodes: number[];
58
+ readonly minDate: moment.Moment;
59
+ isPending: boolean;
60
+ isNew: boolean;
61
+ itemId: number | undefined;
62
+ equationOperators: string[];
63
+ equationSuggestedFields: {
64
+ name: string;
65
+ id: string;
66
+ }[];
67
+ allEquationFields: BehaviorSubject<string[]>;
68
+ readonly equationValues: import("@angular/core").WritableSignal<string[]>;
69
+ currentEquationValue: import("@angular/core").ModelSignal<string>;
70
+ readonly equationFilteredFields: import("@angular/core").Signal<import("rxjs").Observable<string[]>>;
71
+ fieldsInput: ElementRef<HTMLInputElement>;
72
+ set defaults(value: any | undefined);
73
+ get defaults(): any | undefined;
74
+ constructor(translateService: TranslateService, activatedRoute: ActivatedRoute, backendService: BackendService, fb: FormBuilder, announcer: LiveAnnouncer);
75
+ ngOnInit(): void;
76
+ formatTimeToDate(v: any): Date;
77
+ patchLookupValue($event: LookupItem, fieldName: string): void;
78
+ getBankName(fieldName: string): string;
79
+ patchMultiSelectValue($event: LookupItem[], fieldName: string): void;
80
+ ngOnChanges(changes: SimpleChanges): void;
81
+ showField(item: any, field: any): any;
82
+ workflowEditableField(field: {
83
+ property: string;
84
+ }): boolean;
85
+ showMultiSelectValuesAsReadonly(field: FieldInfo): any;
86
+ splitReadonly(values: any): any;
87
+ referenceAttributeTrue(fieldName: string, attribute: any): void;
88
+ translateLable(itemElement: any): any;
89
+ buildForm(): void;
90
+ private resetFilterFormValues;
91
+ labelKey(column: any): string;
92
+ labelKeyPlaceHolder(column: any): string;
93
+ getErrors(prop: string): string;
94
+ getFirstErrorKey(prop: string): string;
95
+ getCountryCodeList(): string[];
96
+ friendlyName(fullPath: string, subPath: string, item: string): string;
97
+ showValue(defaults: any, field: any): string;
98
+ showError(prop: string): boolean;
99
+ clearFieldValue(prop: string): void;
100
+ ngOnDestroy(): void;
101
+ private extractLables;
102
+ private calcFlexSize;
103
+ getCurrencyPattern(field: FieldInfo): string;
104
+ splittedChips(form: FormGroup, fieldName: string): string[];
105
+ fixArabicNumbers(str: any): void;
106
+ listShowValue(defaults: any, field: FieldInfo): string;
107
+ removeChipsItem(form: FormGroup, fieldName: string, idx: number): void;
108
+ extractFieldName(element: any, property: string): any;
109
+ isReadonlyTextValueEmpty(defaults: any, field: FieldInfo): boolean;
110
+ getReadonlyDateFormat(field: FieldInfo): string;
111
+ onMultiStateMenuInnerKeydown(event: Event, field: FieldInfo): void;
112
+ private isMultiStateMenuActivateKey;
113
+ private findMultiStateRowFromKeyboardEvent;
114
+ onMultiStateRowClick(event: MouseEvent, property: string, code: string): void;
115
+ toggleMultiStateFilter(property: string, code: string, checked: boolean): void;
116
+ isMultiStateSelected(property: string, code: string): boolean;
117
+ isMultiStateEmpty(property: string): boolean;
118
+ /** Trigger label: empty => caller shows placeholder; else short summary. */
119
+ getMultiStateFilterTriggerLabel(field: FieldInfo): string;
120
+ private areAllMultiStateOptionsSelected;
121
+ statusOptionLabelKey(field: FieldInfo, code: string): string;
122
+ getMultiStateReadonlySummary(field: FieldInfo, defaults: any): string;
123
+ getMultiValue(field: FieldInfo): any;
124
+ private validateEmail;
125
+ addEmailToChips(event: MatChipInputEvent, form: FormGroup, fieldName: string): void;
126
+ extractJsonFieldName(defaults: any, property: string): any;
127
+ getOptionValue(item: any): any;
128
+ getHyperTextEvent(): void;
129
+ add(event: MatChipInputEvent): void;
130
+ remove(item: string, index: number): void;
131
+ selected(event: MatAutocompleteSelectedEvent): void;
132
+ updateEquationOptions(): void;
133
+ getNamesFromSuggestedEquationFields(): string[];
134
+ reflectEquationValueOnForm(): void;
135
+ checkEquation(field: FieldInfo, $event: Event): void;
136
+ getView(field: any): 'month' | 'year' | 'multi-year';
137
+ setMonthAndYear(normalizedMonthAndYear: Moment, picker: MatDatepicker<Moment>, field: any): void;
138
+ getAcceptedFileTypes(field: FieldInfo): string | undefined;
139
+ onAttachmentFileSelected(file: File | null, field: FieldInfo): void;
140
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormCanvasComponent, never>;
141
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormCanvasComponent, "app-base-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "workflowEditableFields": { "alias": "workflowEditableFields"; "required": false; }; "isWorkflowEditableManaged": { "alias": "isWorkflowEditableManaged"; "required": false; }; "supportingAttributes": { "alias": "supportingAttributes"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "emitOnValueChanges": { "alias": "emitOnValueChanges"; "required": false; }; "filterResetNonce": { "alias": "filterResetNonce"; "required": false; }; "item": { "alias": "item"; "required": false; }; "equationSuggestedFields": { "alias": "equationSuggestedFields"; "required": false; }; "currentEquationValue": { "alias": "currentEquationValue"; "required": false; "isSignal": true; }; }, { "attachmentEmitter": "attachmentEmitter"; "actionEmitter": "actionEmitter"; "formUpdated": "formUpdated"; "hyperTextEvent": "hyperTextEvent"; "currentEquationValue": "currentEquationValueChange"; }, never, never, true, never>;
142
+ }
@@ -0,0 +1,23 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from "@angular/material/dialog";
3
+ import { FormGroup } from "@angular/forms";
4
+ import { FieldInfo } from "../../base-model";
5
+ import { BaseUtils } from "../../utils/base-utils";
6
+ import * as i0 from "@angular/core";
7
+ export declare class BaseInputDialogComponent extends BaseUtils implements OnInit {
8
+ dialogRef: MatDialogRef<BaseInputDialogComponent>;
9
+ data: any;
10
+ fieldsInfo: FieldInfo[];
11
+ default: any;
12
+ isLoaded: boolean;
13
+ formGroup: FormGroup;
14
+ constructor(dialogRef: MatDialogRef<BaseInputDialogComponent>, data: any);
15
+ ngOnInit(): void;
16
+ captureForm($event: FormGroup): void;
17
+ saveDisabled(): boolean;
18
+ getTitle(): string;
19
+ doSave(save: string): void;
20
+ doCancel(cancel: string): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseInputDialogComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseInputDialogComponent, "lib-base-input-dialog", never, {}, {}, never, never, true, never>;
23
+ }
@@ -0,0 +1,172 @@
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
2
+ import { MatTableDataSource } from "@angular/material/table";
3
+ import { TranslateService } from "@ngx-translate/core";
4
+ import { Sort } from "@angular/material/sort";
5
+ import { ShareDataService } from "../../services/trigger-form.service";
6
+ import { BaseUtils } from "../../utils/base-utils";
7
+ import { BackendService } from "../../services/backend-service";
8
+ import { Filter } from "../../base-model/filter.model";
9
+ import { ButtonActionSettings, FieldInfo, PageInfo, TableColumn } from "../../base-model";
10
+ import { ReportRequest } from "../../base-model/report-request.model";
11
+ import { TablePageUserAction } from "../../base-model/table-page-user-action.interface";
12
+ import { Workflow } from "../../base-model/workflow/workflow.model";
13
+ import { Router } from "@angular/router";
14
+ import { LiveAnnouncer } from "@angular/cdk/a11y";
15
+ import { FieldFilter } from "../../base-model/field-filter.model";
16
+ import * as i0 from "@angular/core";
17
+ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnChanges, OnDestroy {
18
+ private backendService;
19
+ translateService: TranslateService;
20
+ shareDataService: ShareDataService;
21
+ private securityManager;
22
+ private router;
23
+ private readonly liveAnnouncer;
24
+ types: string[];
25
+ collection: {
26
+ count: number;
27
+ data: any[];
28
+ };
29
+ config: {
30
+ itemsPerPage: number;
31
+ currentPage: number;
32
+ totalItems: number;
33
+ };
34
+ maxSize: number;
35
+ directionLinks: boolean;
36
+ autoHide: boolean;
37
+ responsive: boolean;
38
+ labels: any;
39
+ filterFields: FieldInfo[];
40
+ noDataFoundSvgPath: string;
41
+ noDataFoundTitle: string;
42
+ noDataFoundSubtitle: string;
43
+ noResultSvgPath: string;
44
+ noResultTitle: string;
45
+ noResultSubtitle: string;
46
+ totalElements: number;
47
+ pagesCount: number;
48
+ pageIndex: number;
49
+ pageSize: number;
50
+ mobileDisplayedItems: number;
51
+ private selectedStatusFilter;
52
+ advancedAppliedFilter: any[];
53
+ pendingFilters: any[];
54
+ searchStr: string;
55
+ private filterRequest;
56
+ private timer;
57
+ pageInfo: PageInfo;
58
+ enablePagination: boolean;
59
+ mobilePageSize: number;
60
+ mobileLoadMoreIncrement: number;
61
+ data?: MatTableDataSource<any>;
62
+ listAction: ButtonActionSettings[];
63
+ extraActions: ButtonActionSettings[];
64
+ buttonsDisplayMode: 'dropdown' | 'list';
65
+ columns: TableColumn<any>[];
66
+ filters: Filter[];
67
+ pathParam: number;
68
+ extraButton: ButtonActionSettings[];
69
+ buttonClicked: EventEmitter<ButtonActionSettings>;
70
+ enforceRefresh: boolean;
71
+ isPending: boolean;
72
+ trigger: boolean;
73
+ reportRequest: ReportRequest;
74
+ separateEndpointData: any;
75
+ manageablePages: boolean;
76
+ totalPagesCount: number;
77
+ currentPageIndex: number;
78
+ pageChange: EventEmitter<any>;
79
+ userAction: EventEmitter<TablePageUserAction>;
80
+ hyperLinkAction: EventEmitter<TablePageUserAction>;
81
+ extraAction: EventEmitter<TablePageUserAction>;
82
+ selectedColumn: EventEmitter<Sort>;
83
+ listActionClicked: EventEmitter<{
84
+ action: ButtonActionSettings;
85
+ row: any;
86
+ isPending: boolean;
87
+ }>;
88
+ showDialog: EventEmitter<any>;
89
+ usedWorkflow: Workflow;
90
+ mode: any;
91
+ customizedData?: MatTableDataSource<any>;
92
+ dataSource: MatTableDataSource<any>;
93
+ selectedRowIndex: number;
94
+ noDataFound: boolean;
95
+ totalRequiredCountItem: number;
96
+ clickRoutePage: EventEmitter<any>;
97
+ constructor(backendService: BackendService, translateService: TranslateService, shareDataService: ShareDataService, securityManager: any, router: Router, liveAnnouncer: LiveAnnouncer);
98
+ ngOnDestroy(): void;
99
+ ngOnInit(): void;
100
+ private isMobile;
101
+ private initializeMobilePageSize;
102
+ onPageChange(event: number): void;
103
+ extractFieldName(element: any, property: string): any;
104
+ get visibleColumns(): string[];
105
+ get visibleColumnsArray(): string[];
106
+ getColumn(property: string): TableColumn<any> | undefined;
107
+ getSortDirection(property: string): 'asc' | 'desc' | '';
108
+ handleSortClick(property: string): void;
109
+ onSortHeaderKeydown(event: KeyboardEvent, columnProp: string): void;
110
+ /** aria-sort on sortable column headers (WCAG table semantics). */
111
+ getColumnAriaSort(columnProp: string): 'ascending' | 'descending' | 'none' | null;
112
+ onDefaultCellLinkKeydown(event: KeyboardEvent, row: unknown): void;
113
+ sortState: any;
114
+ getNext(pageIndex: number): void;
115
+ onPageSizeChange(event: number): void;
116
+ onLoadMore(itemsToLoad: number): void;
117
+ private loadData;
118
+ private announceTableResults;
119
+ getStatusDescription(element: any): any;
120
+ getStateType(element: any): any;
121
+ ngOnChanges(changes: SimpleChanges): void;
122
+ getCroppedText(elementValue: any, subWidth?: number): any;
123
+ emitEvent(element: any): void;
124
+ extractFormat(column: TableColumn<any>): string;
125
+ actionListClicked(listAction: ButtonActionSettings, element: any): void;
126
+ hyperLinkClicked(actionName: string, element: any): void;
127
+ emitRoutePage(element: any): void;
128
+ onSelectItem(row: any): void;
129
+ openNewTab(row: any): void;
130
+ onViewModeChangedReceived(isPending: boolean): void;
131
+ switchViewMode(isPending: boolean): void;
132
+ onAddNewAction($event: any): void;
133
+ showAddNew(): boolean;
134
+ onExtraButtionAction($event: any): void;
135
+ hasGroups(): boolean;
136
+ groupNames: any;
137
+ groupSpans: Map<string, number>;
138
+ buildGroups(): void;
139
+ insertInMap(key: any): void;
140
+ isHumanMade(str: any): boolean;
141
+ actionButtonClicked(actionKey: string, item: any): void;
142
+ private handleNavigateAction;
143
+ private emitTableAction;
144
+ extractReport(reportType: any): void;
145
+ getIcon(status: string): string;
146
+ getIconAriaLabelKey(status: string): string;
147
+ getOnOffFlagAriaLabelKey(value: boolean | null | undefined): string;
148
+ actionCheckedClicked(property: string, element: any): void;
149
+ isDarkHighlight(row: any): boolean;
150
+ shouldRenderAsHyperLink(element: any): boolean;
151
+ onSortAction($event: Sort): void;
152
+ shouldShowButton(element: any): boolean;
153
+ storePendingFilters($event: {
154
+ filters: FieldFilter[];
155
+ searchStr: string;
156
+ }): void;
157
+ private resetPaginationForFilterChange;
158
+ applyPendingFilters(): void;
159
+ handleFilterEmpty($event: boolean): void;
160
+ resetData($event: boolean): void;
161
+ hasFiltersApplied(): boolean;
162
+ getDisplaySvgPath(): string;
163
+ getDisplayTitle(): string;
164
+ getDisplaySubtitle(): string;
165
+ buttonClickedEvent($event: ButtonActionSettings): void;
166
+ getMobileCardIdColumn(): TableColumn<any> | undefined;
167
+ getMobileCardStatusColumn(): TableColumn<any> | undefined;
168
+ getMobileCardColumns(): TableColumn<any>[];
169
+ labelKeyByValue(column: TableColumn<any> | undefined, row: any): string;
170
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseTableComponent, never>;
171
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseTableComponent, "app-base-table", never, { "filterFields": { "alias": "filterFields"; "required": false; }; "noDataFoundSvgPath": { "alias": "noDataFoundSvgPath"; "required": false; }; "noDataFoundTitle": { "alias": "noDataFoundTitle"; "required": false; }; "noDataFoundSubtitle": { "alias": "noDataFoundSubtitle"; "required": false; }; "noResultSvgPath": { "alias": "noResultSvgPath"; "required": false; }; "noResultTitle": { "alias": "noResultTitle"; "required": false; }; "noResultSubtitle": { "alias": "noResultSubtitle"; "required": false; }; "pageInfo": { "alias": "pageInfo"; "required": false; }; "enablePagination": { "alias": "enablePagination"; "required": false; }; "mobilePageSize": { "alias": "mobilePageSize"; "required": false; }; "mobileLoadMoreIncrement": { "alias": "mobileLoadMoreIncrement"; "required": false; }; "data": { "alias": "data"; "required": false; }; "listAction": { "alias": "listAction"; "required": false; }; "extraActions": { "alias": "extraActions"; "required": false; }; "buttonsDisplayMode": { "alias": "buttonsDisplayMode"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "pathParam": { "alias": "pathParam"; "required": false; }; "extraButton": { "alias": "extraButton"; "required": false; }; "enforceRefresh": { "alias": "enforceRefresh"; "required": false; }; "isPending": { "alias": "isPending"; "required": false; }; "trigger": { "alias": "trigger"; "required": false; }; "reportRequest": { "alias": "reportRequest"; "required": false; }; "separateEndpointData": { "alias": "separateEndpointData"; "required": false; }; "manageablePages": { "alias": "manageablePages"; "required": false; }; "totalPagesCount": { "alias": "totalPagesCount"; "required": false; }; "currentPageIndex": { "alias": "currentPageIndex"; "required": false; }; "customizedData": { "alias": "customizedData"; "required": false; }; }, { "buttonClicked": "buttonClicked"; "pageChange": "pageChange"; "userAction": "userAction"; "hyperLinkAction": "hyperLinkAction"; "extraAction": "extraAction"; "selectedColumn": "selectedColumn"; "listActionClicked": "listActionClicked"; "showDialog": "showDialog"; "clickRoutePage": "clickRoutePage"; }, never, never, true, never>;
172
+ }
@@ -0,0 +1,19 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ButtonActionSettings } from "../../base-model/button-action-settings";
3
+ import { MatDialog } from "@angular/material/dialog";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ButtonActionsComponent {
6
+ dialog: MatDialog;
7
+ constructor(dialog: MatDialog);
8
+ actions: ButtonActionSettings[];
9
+ disabled?: boolean;
10
+ clickedButton: EventEmitter<any>;
11
+ buttonsAction: boolean;
12
+ listAction: ButtonActionSettings[];
13
+ row?: unknown;
14
+ ngOnInit(): void;
15
+ resolveActionHref(action: ButtonActionSettings): string | null;
16
+ getClickedAction(action: ButtonActionSettings, event?: MouseEvent): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonActionsComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonActionsComponent, "app-button-actions", never, { "actions": { "alias": "actions"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "buttonsAction": { "alias": "buttonsAction"; "required": false; }; "listAction": { "alias": "listAction"; "required": false; }; "row": { "alias": "row"; "required": false; }; }, { "clickedButton": "clickedButton"; }, never, never, true, never>;
19
+ }