@unifylib/ui-lib 1.1.3 → 1.1.5

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 (286) 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} +21 -23
  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/lib/base-model/page-info.d.ts +52 -0
  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} +3 -3
  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/{src/lib/validators/index.ts → lib/validators/index.d.ts} +3 -3
  134. package/lib/validators/match-list.validator.d.ts +4 -0
  135. package/lib/validators/multi-email-validator.d.ts +6 -0
  136. package/package.json +27 -14
  137. package/{src/public-api.ts → public-api.d.ts} +25 -29
  138. package/ng-package.json +0 -7
  139. package/src/lib/base-model/SearchStrConfig.ts +0 -12
  140. package/src/lib/base-model/audit-log-entry.ts +0 -7
  141. package/src/lib/base-model/button-action-settings.ts +0 -29
  142. package/src/lib/base-model/column-def.model.ts +0 -34
  143. package/src/lib/base-model/do-action-request.ts +0 -11
  144. package/src/lib/base-model/feature-item.ts +0 -9
  145. package/src/lib/base-model/field-action.ts +0 -7
  146. package/src/lib/base-model/field-filter.model.ts +0 -7
  147. package/src/lib/base-model/field-info.ts +0 -102
  148. package/src/lib/base-model/field-predicate.model.ts +0 -7
  149. package/src/lib/base-model/filter-request.ts +0 -27
  150. package/src/lib/base-model/filter.model.ts +0 -49
  151. package/src/lib/base-model/get-items-list.ts +0 -24
  152. package/src/lib/base-model/index.ts +0 -11
  153. package/src/lib/base-model/items-total.model.ts +0 -12
  154. package/src/lib/base-model/line-item.model.ts +0 -18
  155. package/src/lib/base-model/lookupItem.ts +0 -21
  156. package/src/lib/base-model/null-snackmessage.ts +0 -9
  157. package/src/lib/base-model/page-info.ts +0 -54
  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-comment/action-comment.component.css +0 -52
  167. package/src/lib/components/action-comment/action-comment.component.html +0 -47
  168. package/src/lib/components/action-comment/action-comment.component.spec.ts +0 -23
  169. package/src/lib/components/action-comment/action-comment.component.ts +0 -102
  170. package/src/lib/components/action-confirmation/action-confirmation.component.css +0 -46
  171. package/src/lib/components/action-confirmation/action-confirmation.component.html +0 -32
  172. package/src/lib/components/action-confirmation/action-confirmation.component.spec.ts +0 -23
  173. package/src/lib/components/action-confirmation/action-confirmation.component.ts +0 -58
  174. package/src/lib/components/activity-report-form/activity-report-form.component.html +0 -110
  175. package/src/lib/components/activity-report-form/activity-report-form.component.scss +0 -69
  176. package/src/lib/components/activity-report-form/activity-report-form.component.spec.ts +0 -25
  177. package/src/lib/components/activity-report-form/activity-report-form.component.ts +0 -616
  178. package/src/lib/components/advanced-filter/field-filter/field-filter.component.html +0 -8
  179. package/src/lib/components/advanced-filter/field-filter/field-filter.component.scss +0 -0
  180. package/src/lib/components/advanced-filter/field-filter/field-filter.component.spec.ts +0 -25
  181. package/src/lib/components/advanced-filter/field-filter/field-filter.component.ts +0 -55
  182. package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.html +0 -36
  183. package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.scss +0 -130
  184. package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.spec.ts +0 -25
  185. package/src/lib/components/advanced-filter/filter-builder/filter-builder.component.ts +0 -186
  186. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.css +0 -51
  187. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.html +0 -23
  188. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.spec.ts +0 -23
  189. package/src/lib/components/audit-log-details-dialog/audit-log-details-dialog.component.ts +0 -69
  190. package/src/lib/components/audit-log-list/audit-log.component.html +0 -26
  191. package/src/lib/components/audit-log-list/audit-log.component.scss +0 -50
  192. package/src/lib/components/audit-log-list/audit-log.component.spec.ts +0 -25
  193. package/src/lib/components/audit-log-list/audit-log.component.ts +0 -114
  194. package/src/lib/components/auto-complete/auto-complete.component.css +0 -55
  195. package/src/lib/components/auto-complete/auto-complete.component.html +0 -45
  196. package/src/lib/components/auto-complete/auto-complete.component.spec.ts +0 -23
  197. package/src/lib/components/auto-complete/auto-complete.component.ts +0 -331
  198. package/src/lib/components/base-form/base-form.component.html +0 -59
  199. package/src/lib/components/base-form/base-form.component.scss +0 -68
  200. package/src/lib/components/base-form/base-form.component.spec.ts +0 -25
  201. package/src/lib/components/base-form/base-form.component.ts +0 -323
  202. package/src/lib/components/base-form-canvas/base-form-canvas.component.css +0 -196
  203. package/src/lib/components/base-form-canvas/base-form-canvas.component.html +0 -1095
  204. package/src/lib/components/base-form-canvas/base-form-canvas.component.spec.ts +0 -23
  205. package/src/lib/components/base-form-canvas/base-form-canvas.component.ts +0 -680
  206. package/src/lib/components/base-input-dialog/base-input-dialog.component.css +0 -67
  207. package/src/lib/components/base-input-dialog/base-input-dialog.component.html +0 -47
  208. package/src/lib/components/base-input-dialog/base-input-dialog.component.spec.ts +0 -23
  209. package/src/lib/components/base-input-dialog/base-input-dialog.component.ts +0 -77
  210. package/src/lib/components/base-table/base-table.component.html +0 -268
  211. package/src/lib/components/base-table/base-table.component.scss +0 -140
  212. package/src/lib/components/base-table/base-table.component.spec.ts +0 -25
  213. package/src/lib/components/base-table/base-table.component.ts +0 -621
  214. package/src/lib/components/button-actions/button-actions.component.html +0 -27
  215. package/src/lib/components/button-actions/button-actions.component.scss +0 -101
  216. package/src/lib/components/button-actions/button-actions.component.spec.ts +0 -23
  217. package/src/lib/components/button-actions/button-actions.component.ts +0 -70
  218. package/src/lib/components/editable-base-table/editable-base-table.component.html +0 -337
  219. package/src/lib/components/editable-base-table/editable-base-table.component.scss +0 -126
  220. package/src/lib/components/editable-base-table/editable-base-table.component.spec.ts +0 -25
  221. package/src/lib/components/editable-base-table/editable-base-table.component.ts +0 -579
  222. package/src/lib/components/equation-builder/equation-builder.component.css +0 -39
  223. package/src/lib/components/equation-builder/equation-builder.component.html +0 -31
  224. package/src/lib/components/equation-builder/equation-builder.component.spec.ts +0 -23
  225. package/src/lib/components/equation-builder/equation-builder.component.ts +0 -119
  226. package/src/lib/components/item-line-editor/item-line-editor.component.html +0 -102
  227. package/src/lib/components/item-line-editor/item-line-editor.component.scss +0 -152
  228. package/src/lib/components/item-line-editor/item-line-editor.component.spec.ts +0 -23
  229. package/src/lib/components/item-line-editor/item-line-editor.component.ts +0 -306
  230. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.css +0 -19
  231. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.html +0 -38
  232. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.spec.ts +0 -23
  233. package/src/lib/components/multi-auto-complete/multi-auto-complete.component.ts +0 -315
  234. package/src/lib/components/paginator/paginator.component.css +0 -65
  235. package/src/lib/components/paginator/paginator.component.html +0 -30
  236. package/src/lib/components/paginator/paginator.component.ts +0 -87
  237. package/src/lib/components/report-details-dialog/report-details-dialog.component.css +0 -17
  238. package/src/lib/components/report-details-dialog/report-details-dialog.component.html +0 -16
  239. package/src/lib/components/report-details-dialog/report-details-dialog.component.spec.ts +0 -23
  240. package/src/lib/components/report-details-dialog/report-details-dialog.component.ts +0 -111
  241. package/src/lib/components/report-form/report-form.component.html +0 -92
  242. package/src/lib/components/report-form/report-form.component.scss +0 -51
  243. package/src/lib/components/report-form/report-form.component.spec.ts +0 -25
  244. package/src/lib/components/report-form/report-form.component.ts +0 -599
  245. package/src/lib/components/search-bar/search-bar.component.html +0 -51
  246. package/src/lib/components/search-bar/search-bar.component.scss +0 -63
  247. package/src/lib/components/search-bar/search-bar.component.spec.ts +0 -25
  248. package/src/lib/components/search-bar/search-bar.component.ts +0 -68
  249. package/src/lib/components/section-form-canvas/section-form-canvas.component.html +0 -43
  250. package/src/lib/components/section-form-canvas/section-form-canvas.component.scss +0 -81
  251. package/src/lib/components/section-form-canvas/section-form-canvas.component.spec.ts +0 -23
  252. package/src/lib/components/section-form-canvas/section-form-canvas.component.ts +0 -67
  253. package/src/lib/components/shared/action-button/action-button.component.html +0 -12
  254. package/src/lib/components/shared/action-button/action-button.component.scss +0 -45
  255. package/src/lib/components/shared/action-button/action-button.component.ts +0 -51
  256. package/src/lib/components/shared/action-card/action-card.component.html +0 -78
  257. package/src/lib/components/shared/action-card/action-card.component.scss +0 -238
  258. package/src/lib/components/shared/action-card/action-card.component.ts +0 -56
  259. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.css +0 -135
  260. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.html +0 -36
  261. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.spec.ts +0 -23
  262. package/src/lib/components/shared/attachment-uploader/attachment-uploader.component.ts +0 -71
  263. package/src/lib/components/shared-list/shared-list.component.css +0 -0
  264. package/src/lib/components/shared-list/shared-list.component.html +0 -17
  265. package/src/lib/components/shared-list/shared-list.component.spec.ts +0 -23
  266. package/src/lib/components/shared-list/shared-list.component.ts +0 -53
  267. package/src/lib/components/snackbar-static/snackbar-static.component.html +0 -20
  268. package/src/lib/components/snackbar-static/snackbar-static.component.scss +0 -135
  269. package/src/lib/components/snackbar-static/snackbar-static.component.ts +0 -26
  270. package/src/lib/components/title-bar/title-bar.component.css +0 -0
  271. package/src/lib/components/title-bar/title-bar.component.css.map +0 -1
  272. package/src/lib/components/title-bar/title-bar.component.html +0 -35
  273. package/src/lib/components/title-bar/title-bar.component.scss +0 -126
  274. package/src/lib/components/title-bar/title-bar.component.spec.ts +0 -23
  275. package/src/lib/components/title-bar/title-bar.component.ts +0 -126
  276. package/src/lib/services/backend-service.ts +0 -287
  277. package/src/lib/services/top-panel.ts +0 -17
  278. package/src/lib/services/trigger-form.service.ts +0 -11
  279. package/src/lib/share-module/shared-module.ts +0 -10
  280. package/src/lib/utils/base-utils.ts +0 -102
  281. package/src/lib/validators/date-range-validator.ts +0 -31
  282. package/src/lib/validators/match-list.validator.ts +0 -10
  283. package/src/lib/validators/multi-email-validator.ts +0 -15
  284. package/tsconfig.lib.json +0 -15
  285. package/tsconfig.lib.prod.json +0 -11
  286. package/tsconfig.spec.json +0 -15
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@unifylib/ui-lib" />
5
+ export * from './public-api';
@@ -0,0 +1,8 @@
1
+ export declare enum MATCH_TYPE {
2
+ LIKE = "like",
3
+ MATCH = "match"
4
+ }
5
+ export declare class SearchStrConfig {
6
+ searchStr: string;
7
+ matchType?: MATCH_TYPE;
8
+ }
@@ -1,23 +1,21 @@
1
- export interface ApiResponse {
2
- body: any;
3
- valid?: boolean;
4
- fieldMessages?: FieldMessage[];
5
- globalMessages?: GlobalMessage[];
6
- pagination?: Pagination;
7
- }
8
-
9
- export interface Pagination {
10
- pageNumber: number ;
11
- pageSize: number ;
12
- totalElements: number ;
13
- totalPages: number ;
14
- }
15
-
16
- export interface FieldMessage {
17
- message: string;
18
- fieldName: string;
19
- }
20
- export interface GlobalMessage {
21
- message: string;
22
- messageType: 'INFO'| 'WARNING' | 'ERROR';
23
- }
1
+ export interface ApiResponse {
2
+ body: any;
3
+ valid?: boolean;
4
+ fieldMessages?: FieldMessage[];
5
+ globalMessages?: GlobalMessage[];
6
+ pagination?: Pagination;
7
+ }
8
+ export interface Pagination {
9
+ pageNumber: number;
10
+ pageSize: number;
11
+ totalElements: number;
12
+ totalPages: number;
13
+ }
14
+ export interface FieldMessage {
15
+ message: string;
16
+ fieldName: string;
17
+ }
18
+ export interface GlobalMessage {
19
+ message: string;
20
+ messageType: 'INFO' | 'WARNING' | 'ERROR';
21
+ }
@@ -0,0 +1,7 @@
1
+ export declare class AuditLogEntry {
2
+ action: number;
3
+ createdOn: Date;
4
+ createdBy: string;
5
+ subject: any;
6
+ comment: string;
7
+ }
@@ -0,0 +1,15 @@
1
+ export declare class ButtonActionSettings {
2
+ constructor(buttonActionSettings: ButtonActionSettings);
3
+ label: string;
4
+ id: string;
5
+ action?: any;
6
+ key: number;
7
+ isPrimary?: boolean;
8
+ icon?: any;
9
+ showCommentDialog?: boolean;
10
+ comment?: any;
11
+ shareExternal?: boolean;
12
+ selectedId?: number;
13
+ commentRequired?: boolean;
14
+ color?: string;
15
+ }
@@ -0,0 +1,11 @@
1
+ export declare class ColumnDef {
2
+ order: number;
3
+ label: string;
4
+ fieldName: string;
5
+ datatype: string;
6
+ groupLabel: string;
7
+ width: number;
8
+ showSum: boolean;
9
+ showCount: boolean;
10
+ constructor(tableColumn: any, order: number, transLabel: string, lang?: string, groupLabel?: string);
11
+ }
@@ -0,0 +1,10 @@
1
+ export declare const NEW = 1;
2
+ export declare const SAVE = 2;
3
+ export declare const REJECT = 3;
4
+ export declare const APPROVE = 4;
5
+ export declare const SAVE_AND_COMPLETE = 5;
6
+ export declare class DoActionRequest {
7
+ actionId: number;
8
+ comment: string;
9
+ subject: any;
10
+ }
@@ -0,0 +1,6 @@
1
+ import { FieldInfo } from "./field-info";
2
+ export declare class FieldAction {
3
+ pageId: string;
4
+ property: any;
5
+ fieldInfo?: FieldInfo;
6
+ }
@@ -0,0 +1,7 @@
1
+ export declare class FieldFilter {
2
+ fieldName: string;
3
+ operator: string;
4
+ filterType: string;
5
+ fieldType: string;
6
+ valueObject: any;
7
+ }
@@ -0,0 +1,53 @@
1
+ import { ValidatorFn } from "@angular/forms";
2
+ import { Filter } from "./filter.model";
3
+ export declare class FieldInfo {
4
+ property: string;
5
+ targetProperty?: string;
6
+ row: number;
7
+ required: boolean;
8
+ type: 'text' | 'amount' | 'color-picker' | 'currency' | 'date' | 'number' | 'sequence' | 'list' | 'lookup' | 'multi-select' | 'password' | 'rich-text' | 'radio-button' | 'phone-number' | 'iban-text' | 'checkbox' | 'textarea' | 'button' | 'spacer' | 'attachment' | 'section-title' | 'chip-list' | 'time' | 'divider' | 'hyper-text' | 'stateType' | 'status' | 'year' | 'equation-builder';
9
+ textFormat?: 'json';
10
+ readonly?: boolean;
11
+ viewonly?: boolean;
12
+ label?: string;
13
+ currency?: string;
14
+ lookupApiPath?: string;
15
+ multi?: boolean;
16
+ supportedTypes?: string;
17
+ cascadedBy?: string;
18
+ cascadedByProperty?: string;
19
+ pathParams?: string;
20
+ listOptions?: any[];
21
+ operators?: any[];
22
+ fieldsApi?: string;
23
+ reportFilter?: string;
24
+ updateOnly?: boolean;
25
+ fieldSize?: number;
26
+ includeAllOption?: boolean;
27
+ defaultListOption?: any;
28
+ acceptNewItem?: boolean;
29
+ translate?: boolean;
30
+ validators?: ValidatorFn[];
31
+ placeholder?: any;
32
+ visible?: boolean;
33
+ pattern?: string;
34
+ disabled?: boolean;
35
+ advancedFilter?: boolean;
36
+ filterOperator?: 'GREATER_THAN_EQUAL' | 'GREATER_THAN' | 'LESS_THAN' | 'LESS_THAN_EQUAL' | 'EQUALS' | 'LIKE' | 'NOT_EQ' | 'IN';
37
+ workflowManaged?: boolean;
38
+ workflowCascadingField?: string;
39
+ attachmentType?: string;
40
+ lookupFilterList?: Filter[];
41
+ buttonType?: string;
42
+ hideFiles?: boolean;
43
+ behavioralName?: string;
44
+ flattenBySubAttribute?: string;
45
+ defaultValue?: any;
46
+ extraLookupsColumns?: string[];
47
+ displayColumn?: string;
48
+ searchAttribute?: string;
49
+ validationMessages?: any;
50
+ hideLabel?: boolean;
51
+ searchOperator?: "GREATER_THAN_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_EQUAL" | "EQUALS" | "LIKE" | "NOT_EQ" | "IN" | "NOT_NULL";
52
+ constructor(fieldInfo: FieldInfo);
53
+ }
@@ -0,0 +1,7 @@
1
+ export declare class FieldPredicate {
2
+ fieldName: string;
3
+ operator: string;
4
+ fieldType: string;
5
+ firstValue: string;
6
+ secondValue: string;
7
+ }
@@ -0,0 +1,15 @@
1
+ import { Filter } from "./filter.model";
2
+ import { MATCH_TYPE } from "./SearchStrConfig";
3
+ export declare class FilterRequest {
4
+ filters?: Filter[];
5
+ searchStr: string;
6
+ pageIndex: number;
7
+ pageSize: number;
8
+ sortKey: string;
9
+ sortDirection: 'ASC' | 'DESC';
10
+ apiUri: string;
11
+ columns: string[];
12
+ pendingPage: boolean;
13
+ matchType?: MATCH_TYPE;
14
+ constructor(pageSize?: number);
15
+ }
@@ -0,0 +1,22 @@
1
+ export declare class Filter {
2
+ id?: any;
3
+ key?: any;
4
+ label?: string;
5
+ fieldName?: string;
6
+ joinObjectName?: string;
7
+ valueObject?: any;
8
+ fieldType?: string;
9
+ objectFieldName?: string;
10
+ filterType?: 'ASSIGNED_TO_ME' | 'FILED_FILTER' | 'CLEAR_FILTERS' | 'CUSTOMER_ID' | 'VENDOR_ID' | 'INVOICE_CUSTOMER_ID' | 'INVOICE_VENDOR_ID' | 'DATE' | 'ASSIGNED_DEPARTMENT' | 'ASSIGNED_DEPARTMENT_MANAGER_STEPS';
11
+ operator?: 'GREATER_THAN_EQUAL' | 'GREATER_THAN' | 'LESS_THAN' | 'LESS_THAN_EQUAL' | 'EQUALS' | 'LIKE' | 'NOT_EQ' | 'IN' | 'NOT_NULL';
12
+ firstValue?: any;
13
+ secondValue?: string;
14
+ values?: string[];
15
+ autoSelect?: boolean;
16
+ constructor(filter: Filter);
17
+ }
18
+ export declare const HIDE_TERMINATED: Filter;
19
+ export declare const ASSIGNED_TO_ME_FILTER: Filter;
20
+ export declare const PENDING_STATUS_FILTER: Filter;
21
+ export declare const CLEAR_FILTERS: Filter;
22
+ export declare const ASSIGNED_DEPARTMENT_FILTER: Filter;
@@ -0,0 +1,21 @@
1
+ import { Filter } from "./filter.model";
2
+ export interface GetItemsList {
3
+ filters?: Filter[];
4
+ apiUri?: string;
5
+ pageNumber?: number;
6
+ pageSize?: number;
7
+ sortBy?: string;
8
+ sortDirection?: 'ASC' | 'DESC';
9
+ searchStr?: any;
10
+ status?: string;
11
+ columns?: any[];
12
+ }
13
+ export declare const INIT_GET_ITEMS_LIST: {
14
+ apiUri: string;
15
+ pageNumber: number;
16
+ pageSize: number;
17
+ sortBy: string;
18
+ sortDirection: "DESC";
19
+ filters: any[];
20
+ columns: any[];
21
+ };
@@ -0,0 +1,11 @@
1
+ export * from './button-action-settings';
2
+ export * from './table-column.interface';
3
+ export * from './field-info';
4
+ export * from './page-info';
5
+ export * from './report-request.model';
6
+ export * from './filter-request';
7
+ export * from './filter.model';
8
+ export * from './lookupItem';
9
+ export * from './snack-message.model';
10
+ export * from './table-page-user-action.interface';
11
+ export * from './do-action-request';
@@ -0,0 +1,6 @@
1
+ export declare class ItemsTotal {
2
+ subtotal: number;
3
+ discount: number;
4
+ grandTotal: number;
5
+ constructor(subtotal: number, discount: number, grandTotal: number);
6
+ }
@@ -0,0 +1,9 @@
1
+ export declare class LineItem {
2
+ gtinCode: string;
3
+ description: string;
4
+ unitPrice: number;
5
+ qty: number;
6
+ discount: number;
7
+ total: number;
8
+ constructor(code: string, description: string, unitPrice: number, qty: number, discount: number, total: number);
9
+ }
@@ -0,0 +1,13 @@
1
+ export declare class LookupItem {
2
+ id: number;
3
+ arabicName: string;
4
+ englishName: string;
5
+ defaultValue?: boolean;
6
+ constructor(lookup: LookupItem);
7
+ }
8
+ export declare const ALL_ITEM: {
9
+ id: number;
10
+ arabicName: string;
11
+ englishName: string;
12
+ defaultValue: boolean;
13
+ };
@@ -0,0 +1,52 @@
1
+ export interface PageInfo {
2
+ hasHint?: boolean;
3
+ id: string;
4
+ labelsSection: string;
5
+ hasAddButton: boolean;
6
+ apiUri?: string;
7
+ selfRouting?: boolean;
8
+ addNewRoutePath?: string;
9
+ editRoutePath?: string;
10
+ listRoutePath?: string;
11
+ hideTitle?: boolean;
12
+ saveLabel?: string;
13
+ pageHeight?: 'full' | 'match';
14
+ processId?: number;
15
+ draftSupported: boolean;
16
+ hasExtraTabs?: boolean;
17
+ attachmentEnabled?: boolean;
18
+ attachmentDefaultExternal?: boolean;
19
+ printAction?: boolean;
20
+ completedStatusFilterLabel?: string;
21
+ enableHideTerminated?: boolean;
22
+ embededTableOnly?: boolean;
23
+ hasCustomFields?: boolean;
24
+ hidePagination?: boolean;
25
+ hideExtractButton?: boolean;
26
+ hideReportsExtractButton?: boolean;
27
+ externalPropertyName?: string;
28
+ lazyLoadData?: boolean;
29
+ groupByProperty?: string;
30
+ groupByValue?: string[];
31
+ supportGroupingInExport?: boolean;
32
+ pageSize?: number;
33
+ hideAuditLog?: boolean;
34
+ stayOnPage?: boolean;
35
+ hideAdvancedFilter?: boolean;
36
+ }
37
+ export declare const EMPTY_PAGE_INFO: {
38
+ id: string;
39
+ labelsSection: string;
40
+ hasAddButton: boolean;
41
+ selfRouting: boolean;
42
+ draftSupported: boolean;
43
+ hasExtraTabs: boolean;
44
+ attachmentEnabled: boolean;
45
+ printAction: boolean;
46
+ hidePagination: boolean;
47
+ attachmentDefaultExternal: boolean;
48
+ supportGroupingInExport: boolean;
49
+ hideReportsExtractButton: boolean;
50
+ hideAuditLog: boolean;
51
+ stayOnPage: boolean;
52
+ };
@@ -0,0 +1,18 @@
1
+ import { ColumnDef } from "./column-def.model";
2
+ import { FieldPredicate } from "./field-predicate.model";
3
+ import { FilterRequest } from "./filter-request";
4
+ export declare class ReportRequest {
5
+ sessionId: string;
6
+ title: string;
7
+ prefLang: string;
8
+ columns: ColumnDef[];
9
+ filter: string;
10
+ reportType: 'pdf' | 'xlsx';
11
+ dataset: any[];
12
+ orientation: string;
13
+ searchStr?: string;
14
+ filtersList?: FieldPredicate[];
15
+ filterRequest?: FilterRequest;
16
+ reportCode?: string;
17
+ constructor(br: any);
18
+ }
@@ -0,0 +1,8 @@
1
+ export declare class ResponseEnvelop {
2
+ valid: boolean;
3
+ message: string[];
4
+ body: any;
5
+ pagesCount: number;
6
+ totalSize: number;
7
+ constructor(responseEnvelop: ResponseEnvelop);
8
+ }
@@ -0,0 +1,7 @@
1
+ export declare class SnackMessage {
2
+ message: string;
3
+ translate: boolean;
4
+ type: 'info' | 'success' | 'error' | 'warning';
5
+ translateParams: any;
6
+ constructor(message: string, translate?: boolean, type?: any, translateParams?: any);
7
+ }
@@ -0,0 +1,28 @@
1
+ export interface TableColumn<T> {
2
+ property: string;
3
+ type: 'text' | 'croppedText' | 'image' | 'netAmount' | 'workflowStatus' | 'onOff' | 'progress' | 'checkbox' | 'button' | 'date' | 'number' | 'icon' | 'bigdecimal' | 'builder' | 'localDateTime' | 'report-sequence' | 'listAction' | 'info' | 'stateType' | 'hyper-text' | 'year' | 'reportType' | 'status';
4
+ viewType?: string;
5
+ enableSorting: boolean;
6
+ visible?: boolean;
7
+ cssClasses?: string[];
8
+ reportVisible?: boolean | true;
9
+ reportProperty?: string;
10
+ reportType?: string;
11
+ showSum?: boolean;
12
+ showCount?: boolean;
13
+ translate?: boolean;
14
+ width?: number;
15
+ label?: string;
16
+ reportwidth?: number;
17
+ langDrivenName?: boolean;
18
+ additionalProperty?: string;
19
+ currency?: string;
20
+ orderByProperty?: string;
21
+ advancedFilter?: boolean;
22
+ enableQuickFilter?: boolean;
23
+ format?: string;
24
+ group?: string;
25
+ arraySubProperty?: string;
26
+ digitInfo?: string;
27
+ }
28
+ export declare const FRONT_END_COLUMN_TYPES: string[];
@@ -0,0 +1,14 @@
1
+ import { PageInfo } from "./page-info";
2
+ export interface TablePageUserAction {
3
+ type: 'add' | 'select' | 'extra';
4
+ id?: number;
5
+ item?: any;
6
+ actionKey?: string;
7
+ pageInfo?: PageInfo;
8
+ }
9
+ export declare const SELECT_RECORD_ACTION: TablePageUserAction;
10
+ export declare const EXTRA_ACTION: TablePageUserAction;
11
+ export declare const DRILL_DOWN_ACTION: TablePageUserAction;
12
+ export declare const JUNIOR_DOWN_ACTION: TablePageUserAction;
13
+ export declare const ADD_NEW_RECORD_ACTION: TablePageUserAction;
14
+ export declare const TABLE_RECORD_ACTION: TablePageUserAction;
@@ -0,0 +1,7 @@
1
+ export declare class WorkflowStep {
2
+ stepId?: number;
3
+ stepName: string;
4
+ stepNameAr: string;
5
+ isObsoleted: boolean;
6
+ description: string;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { WorkflowStep } from "./workflow-steps.model";
2
+ export declare class Workflow {
3
+ id: number;
4
+ corporateWorkflowId: number;
5
+ corporateId: number;
6
+ workflowProcessId: number;
7
+ workflowSteps: WorkflowStep[];
8
+ rejectionStrategy: 'TERMINATE' | 'STEP_BACK' | 'CREATE_STEP';
9
+ processName: string;
10
+ constructor(workflow: Workflow);
11
+ }
12
+ export declare const PROCESS_NAMES_MAP: Record<number, string>;
13
+ export declare const SEQ_PROCESS_NAMES_MAP: Record<number, string>;
@@ -0,0 +1,32 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from "@angular/material/dialog";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ActionCommentComponent implements OnInit {
5
+ dialogRef: MatDialogRef<ActionCommentComponent>;
6
+ data: any;
7
+ itemName: string;
8
+ titleKey: string;
9
+ subtitleKey: string;
10
+ reasonLabelKey: string;
11
+ placeholderKey: string;
12
+ warningKey: string;
13
+ cancelKey: string;
14
+ actionKey: string;
15
+ currentDirection: 'ltr' | 'rtl';
16
+ actionLabel: string;
17
+ isTermination: boolean;
18
+ comment: string;
19
+ external: boolean;
20
+ signingRequired: boolean;
21
+ tokenReference: string;
22
+ otp: string;
23
+ isSubmitted: boolean;
24
+ warningMsg: boolean;
25
+ constructor(dialogRef: MatDialogRef<ActionCommentComponent>, data: any);
26
+ onKeyUp(): void;
27
+ ngOnInit(): void;
28
+ commentAndClose(): false | "";
29
+ cancel(): void;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionCommentComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionCommentComponent, "app-action-comment", never, {}, {}, never, never, true, never>;
32
+ }
@@ -0,0 +1,19 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from "@angular/material/dialog";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ActionConfirmationComponent implements OnInit {
5
+ dialogRef: MatDialogRef<ActionConfirmationComponent>;
6
+ data: any;
7
+ acceptActionLabel: string;
8
+ rejectActionLabel: string;
9
+ subMsg: string;
10
+ titleMsg: string;
11
+ currentDirection: 'ltr' | 'rtl';
12
+ constructor(dialogRef: MatDialogRef<ActionConfirmationComponent>, data: any);
13
+ onKeyUp(): void;
14
+ ngOnInit(): void;
15
+ commentAndClose(): string;
16
+ cancel(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionConfirmationComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionConfirmationComponent, "app-action-confirmation", never, {}, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,93 @@
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 ActivityReportFormComponent implements OnInit {
16
+ private translateService;
17
+ backendService: BackendService;
18
+ private activatedRoute;
19
+ private injector;
20
+ private router;
21
+ private route;
22
+ dialog: MatDialog;
23
+ private directionality;
24
+ private fb;
25
+ showDetails: any;
26
+ showExtractButton: boolean;
27
+ columns: TableColumn<any>[];
28
+ private originalColumns;
29
+ actionRequestCallback: (actionRequest: TablePageUserAction) => TablePageUserAction;
30
+ enrichDrillDownReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
31
+ enrichHyperLinkReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
32
+ enrichJuniorReportRequest: (actionRequest: TablePageUserAction, reportRequest: ReportRequest) => TablePageUserAction;
33
+ userAction: EventEmitter<TablePageUserAction>;
34
+ activeLevel: number;
35
+ items: number[];
36
+ private filterRequest;
37
+ x: any;
38
+ isEditable: boolean;
39
+ fields: FieldInfo[];
40
+ pageInfo: PageInfo;
41
+ drillDownPageInfo: PageInfo;
42
+ drillDownColumns: TableColumn<any>[];
43
+ hideDrillDownButton: false;
44
+ juniorPageInfo: PageInfo;
45
+ juniorColumns: TableColumn<any>[];
46
+ columnsDefinition: TableColumn<any>[];
47
+ types: string[];
48
+ searchStr: string;
49
+ errors: FieldMessage[];
50
+ reloadData: boolean;
51
+ drillDownRequestStack: any[];
52
+ reportRequest: ReportRequest;
53
+ childReportRequest: ReportRequest;
54
+ juniorReportRequest: ReportRequest;
55
+ reportForm: FormGroup;
56
+ readyToSearch: boolean;
57
+ private pageSize;
58
+ private dialogReportRequest;
59
+ currentDirection: 'ltr' | 'rtl';
60
+ protected isComparisonReport: boolean;
61
+ constructor(translateService: TranslateService, backendService: BackendService, activatedRoute: ActivatedRoute, injector: Injector, router: Router, route: ActivatedRoute, dialog: MatDialog, directionality: Directionality, fb: FormBuilder);
62
+ ngOnInit(): void;
63
+ private initializeComparisonReport;
64
+ private setupForm;
65
+ private removeCheckboxFields;
66
+ private setupFilters;
67
+ private setupJuniorReportRequest;
68
+ isMatchHeight(): boolean;
69
+ doAction(type: string): void;
70
+ private getParamValue;
71
+ private getParamValueLabel;
72
+ getTitle(): string;
73
+ updateForm($event: FormGroup): void;
74
+ isValidForm(): boolean;
75
+ emitUserAction($event: TablePageUserAction): void;
76
+ emitHyperLinkAction($event: TablePageUserAction): void;
77
+ emitJuniorAction($event: TablePageUserAction): void;
78
+ drillDown(): void;
79
+ private doJuniorAction;
80
+ private doADrillDownAction;
81
+ private addOrUpdateFilter;
82
+ private doHyperLinkAction;
83
+ extractReport(reportType: any): void;
84
+ goUp(): void;
85
+ drillDownEnabled(): boolean;
86
+ drillDownLabel(): string;
87
+ getIsEmptyList(): boolean;
88
+ clear(): void;
89
+ isFormEmpty(): boolean;
90
+ shouldProcessEventItem(item: any): boolean;
91
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityReportFormComponent, never>;
92
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityReportFormComponent, "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>;
93
+ }
@@ -0,0 +1,20 @@
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
+ selectedValue: EventEmitter<any>;
14
+ filterFieldInformation: EventEmitter<any>;
15
+ constructor();
16
+ ngOnInit(): void;
17
+ formChanges($event: FormGroup): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldFilterComponent, never>;
19
+ 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; }; }, { "selectedValue": "selectedValue"; "filterFieldInformation": "filterFieldInformation"; }, never, never, true, never>;
20
+ }
@@ -0,0 +1,28 @@
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
+ columns: TableColumn<any>[];
7
+ isChecked: boolean;
8
+ filterFields: FieldInfo[];
9
+ pageInfo: PageInfo;
10
+ filter: FieldFilter;
11
+ filters: FieldFilter[];
12
+ private searchTimeout;
13
+ filterInformation: EventEmitter<FieldFilter[]>;
14
+ isEmpty: EventEmitter<boolean>;
15
+ constructor();
16
+ ngOnInit(): void;
17
+ ngOnDestroy(): void;
18
+ doSearch(): void;
19
+ private scheduleSearch;
20
+ formChanges($event: any, index?: number, fieldInfo?: FieldInfo): void;
21
+ typeMap(colType?: string): string;
22
+ isEditable(_index?: number): boolean;
23
+ deleteAll(): void;
24
+ switchToAdvanced(): void;
25
+ private createDefaultFieldFilter;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilterBuilderComponent, never>;
27
+ 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; }; }, { "filterInformation": "filterInformation"; "isEmpty": "isEmpty"; }, never, never, true, never>;
28
+ }