@unifylib/ui-lib 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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/package.json CHANGED
@@ -1,14 +1,27 @@
1
- {
2
- "name": "@unifylib/ui-lib",
3
- "version": "1.1.3",
4
- "peerDependencies": {
5
- "@angular/common": "^17.3.12",
6
- "@angular/core": "^17.3.12",
7
- "moment": "^2.30.1",
8
- "rxjs": "~7.8.0"
9
- },
10
- "dependencies": {
11
- "tslib": "^2.3.0"
12
- },
13
- "sideEffects": false
14
- }
1
+ {
2
+ "name": "@unifylib/ui-lib",
3
+ "version": "1.1.4",
4
+ "peerDependencies": {
5
+ "@angular/common": "^17.3.12",
6
+ "@angular/core": "^17.3.12",
7
+ "moment": "^2.30.1",
8
+ "rxjs": "~7.8.0"
9
+ },
10
+ "dependencies": {
11
+ "tslib": "^2.3.0"
12
+ },
13
+ "sideEffects": false,
14
+ "module": "fesm2022/unifylib-ui-lib.mjs",
15
+ "typings": "index.d.ts",
16
+ "exports": {
17
+ "./package.json": {
18
+ "default": "./package.json"
19
+ },
20
+ ".": {
21
+ "types": "./index.d.ts",
22
+ "esm2022": "./esm2022/unifylib-ui-lib.mjs",
23
+ "esm": "./esm2022/unifylib-ui-lib.mjs",
24
+ "default": "./fesm2022/unifylib-ui-lib.mjs"
25
+ }
26
+ }
27
+ }
@@ -1,29 +1,25 @@
1
- /*
2
- * Public API Surface of invoiceq-lib
3
- */
4
-
5
- export * from './lib/components/action-confirmation/action-confirmation.component'
6
- export * from './lib/components/base-table/base-table.component'
7
- export * from './lib/components/audit-log-list/audit-log.component'
8
- export * from './lib/components/editable-base-table/editable-base-table.component'
9
- export * from './lib/components/title-bar/title-bar.component'
10
- export * from './lib/components/shared-list/shared-list.component'
11
- export * from './lib/components/base-form-canvas/base-form-canvas.component'
12
- export * from './lib/components/section-form-canvas/section-form-canvas.component'
13
- export * from './lib/components/base-form/base-form.component'
14
- export * from './lib/components/audit-log-details-dialog/audit-log-details-dialog.component'
15
- export * from './lib/components/report-form/report-form.component'
16
- export * from './lib/components/activity-report-form/activity-report-form.component'
17
- export * from './lib/components/report-details-dialog/report-details-dialog.component'
18
- export * from './lib/base-model';
19
- export * from './lib/base-model/line-item.model';
20
- export * from './lib/base-model/items-total.model';
21
- export * from './lib/services';
22
- export * from './lib/validators';
23
- export * from './lib/components/base-input-dialog/base-input-dialog.component'
24
- export * from './lib/components/search-bar/search-bar.component'
25
- export * from './lib/components/snackbar-static/snackbar-static.component'
26
- export * from './lib/components/shared/action-card/action-card.component'
27
- export * from './lib/components/shared/action-button/action-button.component'
28
- export * from './lib/components/action-comment/action-comment.component'
29
- export * from './lib/components/item-line-editor/item-line-editor.component'
1
+ export * from './lib/components/action-confirmation/action-confirmation.component';
2
+ export * from './lib/components/base-table/base-table.component';
3
+ export * from './lib/components/audit-log-list/audit-log.component';
4
+ export * from './lib/components/editable-base-table/editable-base-table.component';
5
+ export * from './lib/components/title-bar/title-bar.component';
6
+ export * from './lib/components/shared-list/shared-list.component';
7
+ export * from './lib/components/base-form-canvas/base-form-canvas.component';
8
+ export * from './lib/components/section-form-canvas/section-form-canvas.component';
9
+ export * from './lib/components/base-form/base-form.component';
10
+ export * from './lib/components/audit-log-details-dialog/audit-log-details-dialog.component';
11
+ export * from './lib/components/report-form/report-form.component';
12
+ export * from './lib/components/activity-report-form/activity-report-form.component';
13
+ export * from './lib/components/report-details-dialog/report-details-dialog.component';
14
+ export * from './lib/base-model';
15
+ export * from './lib/base-model/line-item.model';
16
+ export * from './lib/base-model/items-total.model';
17
+ export * from './lib/services';
18
+ export * from './lib/validators';
19
+ export * from './lib/components/base-input-dialog/base-input-dialog.component';
20
+ export * from './lib/components/search-bar/search-bar.component';
21
+ export * from './lib/components/snackbar-static/snackbar-static.component';
22
+ export * from './lib/components/shared/action-card/action-card.component';
23
+ export * from './lib/components/shared/action-button/action-button.component';
24
+ export * from './lib/components/action-comment/action-comment.component';
25
+ export * from './lib/components/item-line-editor/item-line-editor.component';
package/ng-package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
3
- "dest": "../../../dist/iq/ui-lib",
4
- "lib": {
5
- "entryFile": "src/public-api.ts"
6
- }
7
- }
@@ -1,12 +0,0 @@
1
-
2
- export enum MATCH_TYPE {
3
- LIKE = 'like',
4
- MATCH = 'match'
5
- }
6
-
7
- export class SearchStrConfig {
8
- searchStr:string='';
9
- matchType?: MATCH_TYPE;
10
-
11
- }
12
-
@@ -1,7 +0,0 @@
1
- export class AuditLogEntry {
2
- action: number;
3
- createdOn:Date;
4
- createdBy:string;
5
- subject:any;
6
- comment:string;
7
- }
@@ -1,29 +0,0 @@
1
-
2
- export class ButtonActionSettings {
3
- constructor(buttonActionSettings: ButtonActionSettings) {
4
- this.key = buttonActionSettings.key;
5
- this.id = buttonActionSettings.id;
6
- this.action = buttonActionSettings.action;
7
- this.label = buttonActionSettings.label;
8
- this.color = buttonActionSettings.color;
9
- this.isPrimary = buttonActionSettings.isPrimary;
10
- this.icon = buttonActionSettings.icon;
11
- this.showCommentDialog = buttonActionSettings.showCommentDialog;
12
- this.comment = buttonActionSettings.comment;
13
- this.shareExternal = buttonActionSettings.shareExternal;
14
- this.commentRequired = buttonActionSettings.commentRequired || false;
15
- }
16
-
17
- label: string;
18
- id: string;
19
- action?: any;
20
- key: number;
21
- isPrimary?: boolean;
22
- icon?: any;
23
- showCommentDialog?:boolean;
24
- comment?: any;
25
- shareExternal?: boolean;
26
- selectedId?: number;
27
- commentRequired? : boolean;
28
- color?: string;
29
- }
@@ -1,34 +0,0 @@
1
- export class ColumnDef {
2
- order: number;
3
- label: string;
4
- fieldName: string;
5
- datatype: string;
6
- groupLabel: string;
7
- width: number;
8
- showSum: boolean=false;
9
- showCount: boolean=false;
10
-
11
- constructor(tableColumn: any, order: number, transLabel :string, lang?:string, groupLabel?:string) {
12
- this.order = order;
13
- this.label = transLabel;
14
- if (tableColumn.reportProperty) {
15
- this.fieldName = tableColumn.reportProperty;
16
- } else {
17
- this.fieldName = tableColumn.property.toString();
18
- }
19
-
20
- if (tableColumn.langDrivenName){
21
- this.fieldName = this.fieldName + "." + (lang === 'en'? "englishName": "arabicName");
22
- }
23
-
24
- if (tableColumn.reportType) {
25
- this.datatype = tableColumn.reportType;
26
- } else {
27
- this.datatype = tableColumn.type === 'number' ? 'long' : tableColumn.type;
28
- }
29
- this.width = tableColumn.reportwidth ? tableColumn.reportwidth : null;
30
- this.showSum = tableColumn.showSum;
31
- this.showCount = tableColumn.showCount;
32
- this.groupLabel = groupLabel;
33
- }
34
- }
@@ -1,11 +0,0 @@
1
- export const NEW =1;
2
- export const SAVE =2;
3
- export const REJECT =3;
4
- export const APPROVE =4;
5
- export const SAVE_AND_COMPLETE =5;
6
-
7
- export class DoActionRequest {
8
- actionId: number;
9
- comment: string;
10
- subject: any;
11
- }
@@ -1,9 +0,0 @@
1
- export class FeatureItem {
2
- constructor(featureItem?: FeatureItem) {
3
- this.text = featureItem?.text;
4
- this.textKey = featureItem?.textKey;
5
- }
6
-
7
- text?: string;
8
- textKey?: string;
9
- }
@@ -1,7 +0,0 @@
1
- import {FieldInfo} from "./field-info";
2
-
3
- export class FieldAction {
4
- pageId: string='';
5
- property: any;
6
- fieldInfo?: FieldInfo;
7
- }
@@ -1,7 +0,0 @@
1
- export class FieldFilter {
2
- fieldName: string;
3
- operator: string;
4
- filterType: string;
5
- fieldType: string;
6
- valueObject: any
7
- }
@@ -1,102 +0,0 @@
1
- import {ValidatorFn} from "@angular/forms";
2
- import {Filter} from "./filter.model";
3
-
4
- export class FieldInfo {
5
- property: string = "";
6
- targetProperty?: string = "";
7
- row: number;
8
- required: boolean = false;
9
- 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' = 'text';
10
- textFormat?: 'json';
11
- readonly?: boolean = false;
12
- viewonly?: boolean ;
13
- label?: string = '';
14
- currency?: string;
15
- lookupApiPath?: string;
16
- multi?:boolean;
17
- supportedTypes?:string;
18
- cascadedBy?: string;
19
- cascadedByProperty?: string;
20
- pathParams?: string;
21
- listOptions?: any[];
22
- operators?: any[];
23
- fieldsApi?: string;
24
- reportFilter?:string;
25
- updateOnly?: boolean;
26
- fieldSize ?: number ;
27
- includeAllOption?: boolean;
28
- defaultListOption?: any;
29
- acceptNewItem?: boolean;
30
- translate?: boolean = false;
31
- validators?: ValidatorFn[];
32
- placeholder?: any;
33
- visible?: boolean = true;
34
- pattern?: string;
35
- disabled?: boolean;
36
- advancedFilter?: boolean;
37
- filterOperator?: 'GREATER_THAN_EQUAL'|'GREATER_THAN'| 'LESS_THAN'|'LESS_THAN_EQUAL'| 'EQUALS'| 'LIKE'| 'NOT_EQ'| 'IN' ;
38
- workflowManaged?: boolean;
39
- workflowCascadingField?: string;
40
- attachmentType?: string;
41
- lookupFilterList?: Filter[];
42
- buttonType?: string;
43
- hideFiles?: boolean;
44
- behavioralName?: string;
45
- flattenBySubAttribute?: string;
46
- defaultValue?:any;
47
- extraLookupsColumns?: string[];
48
- displayColumn?: string;
49
- searchAttribute?:string;
50
- validationMessages?: any;
51
- hideLabel?:boolean;
52
- searchOperator?:"GREATER_THAN_EQUAL" | "GREATER_THAN" | "LESS_THAN" | "LESS_THAN_EQUAL" | "EQUALS" | "LIKE" | "NOT_EQ" | "IN" | "NOT_NULL";
53
-
54
-
55
- constructor(fieldInfo: FieldInfo) {
56
- this.property = fieldInfo.property;
57
- this.targetProperty = fieldInfo.targetProperty;
58
- this.required = fieldInfo.required;
59
- this.type = fieldInfo.type;
60
- this.readonly = fieldInfo.readonly;
61
- this.label = fieldInfo.label;
62
- this.fieldSize = fieldInfo.fieldSize;
63
- this.lookupApiPath = fieldInfo.lookupApiPath ? fieldInfo.lookupApiPath : fieldInfo.property;
64
- this.row = fieldInfo.row;
65
- this.supportedTypes = fieldInfo.supportedTypes;
66
- this.listOptions = fieldInfo.listOptions;
67
- this.pathParams = fieldInfo.pathParams;
68
- this.viewonly = fieldInfo.viewonly;
69
- this.multi = fieldInfo.multi;
70
- this.updateOnly = fieldInfo.updateOnly;
71
- this.includeAllOption = fieldInfo.includeAllOption;
72
- this.defaultListOption = fieldInfo.defaultListOption;
73
- this.acceptNewItem = fieldInfo.acceptNewItem;
74
- this.cascadedBy = fieldInfo.cascadedBy;
75
- this.cascadedByProperty = fieldInfo.cascadedByProperty ? fieldInfo.cascadedByProperty : fieldInfo.cascadedBy;
76
- this.currency = fieldInfo.currency;
77
- this.translate = fieldInfo.translate;
78
- this.advancedFilter = fieldInfo.advancedFilter;
79
- this.placeholder = fieldInfo.placeholder;
80
- this.validators = fieldInfo.validators;
81
- this.filterOperator = fieldInfo.filterOperator;
82
- this.pattern = fieldInfo.pattern;
83
- this.workflowManaged = fieldInfo.workflowManaged;
84
- this.workflowCascadingField = fieldInfo.workflowCascadingField;
85
- this.visible = fieldInfo.visible === undefined || fieldInfo.visible;
86
- this.attachmentType = fieldInfo.attachmentType;
87
- this.lookupFilterList = fieldInfo.lookupFilterList;
88
- this.extraLookupsColumns = fieldInfo.extraLookupsColumns;
89
- this.displayColumn = fieldInfo.displayColumn;
90
- this.textFormat = fieldInfo.textFormat;
91
- this.buttonType = fieldInfo.buttonType;
92
- this.hideFiles = fieldInfo.hideFiles;
93
- this.behavioralName = fieldInfo.behavioralName;
94
- this.flattenBySubAttribute = fieldInfo.flattenBySubAttribute;
95
- this.defaultValue = fieldInfo.defaultValue;
96
- this.searchAttribute = fieldInfo.searchAttribute || this.property;
97
- this.validationMessages = fieldInfo.validationMessages;
98
- this.hideLabel = fieldInfo.hideLabel;
99
- this.searchOperator = fieldInfo.searchOperator || 'EQUALS';
100
- }
101
-
102
- }
@@ -1,7 +0,0 @@
1
- export class FieldPredicate {
2
- fieldName: string='';
3
- operator: string='';
4
- fieldType: string='';
5
- firstValue: string='';
6
- secondValue: string='';
7
- }
@@ -1,27 +0,0 @@
1
- import {Filter} from "./filter.model";
2
- import {MATCH_TYPE} from "./SearchStrConfig";
3
-
4
- export class FilterRequest {
5
- filters?: Filter[];
6
- searchStr: string;
7
- pageIndex: number;
8
- pageSize: number;
9
- sortKey: string;
10
- sortDirection: 'ASC'|'DESC';
11
- apiUri: string;
12
- columns: string[];
13
- pendingPage: boolean;
14
- matchType?: MATCH_TYPE;
15
-
16
- constructor(pageSize: number = 10) {
17
- this.apiUri = '';
18
- this.searchStr = '';
19
- this.pageIndex = 0;
20
- this.pageSize = pageSize;
21
- this.sortKey = 'id';
22
- this.sortDirection = "DESC";
23
- this.columns = [];
24
- this.pendingPage = false;
25
- }
26
- }
27
-
@@ -1,49 +0,0 @@
1
- export 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'|
11
- 'INVOICE_VENDOR_ID' | 'DATE' | 'ASSIGNED_DEPARTMENT'| 'ASSIGNED_DEPARTMENT_MANAGER_STEPS';
12
- operator?: 'GREATER_THAN_EQUAL'|'GREATER_THAN'| 'LESS_THAN'|'LESS_THAN_EQUAL'| 'EQUALS'| 'LIKE'| 'NOT_EQ'| 'IN' | 'NOT_NULL';
13
- firstValue?: any;
14
- secondValue?: string;
15
- values?: string[];
16
- autoSelect?: boolean = false;
17
-
18
- constructor(filter : Filter) {
19
- this.id = filter.id;
20
- this.key = filter.key;
21
- this.label = filter.label;
22
- this.fieldName = filter.fieldName;
23
- this.joinObjectName = filter.joinObjectName;
24
- this.objectFieldName = filter.objectFieldName;
25
- this.valueObject = filter.valueObject;
26
- this.filterType = filter.filterType || 'FILED_FILTER';
27
- this.fieldType = filter.fieldType;
28
- this.operator = filter.operator || 'EQUALS';
29
- this.firstValue = filter.firstValue;
30
- this.secondValue = filter.secondValue;
31
- this.values = filter.values;
32
- this.autoSelect = filter.autoSelect;
33
- }
34
- }
35
-
36
- export const HIDE_TERMINATED: Filter = new Filter(
37
- {key: 2, label: 'hideTerminated', filterType: 'FILED_FILTER', fieldType: 'number' , fieldName: 'statusId', firstValue: '3' , operator: 'NOT_EQ' , autoSelect:true});
38
-
39
- export const ASSIGNED_TO_ME_FILTER: Filter = new Filter(
40
- {key: -1, label: 'Assigned to me', fieldName: 'stepId', filterType: 'ASSIGNED_TO_ME', autoSelect: true});
41
-
42
- export const PENDING_STATUS_FILTER: Filter = new Filter(
43
- {key: -2, label: 'Pending Items', fieldName: 'statusId', firstValue: '2', filterType: 'FILED_FILTER'});
44
-
45
- export const CLEAR_FILTERS: Filter = new Filter(
46
- {key: -3, label: 'clear', filterType:'CLEAR_FILTERS'});
47
-
48
- export const ASSIGNED_DEPARTMENT_FILTER : Filter = new Filter(
49
- {key: -4, label: 'ASSIGNED_DEPARTMENT', filterType:'ASSIGNED_DEPARTMENT'});
@@ -1,24 +0,0 @@
1
- import {Filter} from "./filter.model";
2
-
3
-
4
- export interface GetItemsList {
5
- filters? : Filter[];
6
- apiUri?: string;
7
- pageNumber?: number;
8
- pageSize?: number,
9
- sortBy?: string;
10
- sortDirection?: 'ASC' | 'DESC';
11
- searchStr?:any;
12
- status?: string;
13
- columns?: any[]
14
- }
15
-
16
- export const INIT_GET_ITEMS_LIST = {
17
- apiUri: '',
18
- pageNumber: 0,
19
- pageSize: 10,
20
- sortBy: 'id',
21
- sortDirection: "DESC" as const,
22
- filters: [],
23
- columns: []
24
- }
@@ -1,11 +0,0 @@
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'
@@ -1,12 +0,0 @@
1
- export class ItemsTotal {
2
- subtotal: number;
3
- discount: number;
4
- grandTotal: number;
5
-
6
-
7
- constructor(subtotal: number, discount: number, grandTotal: number) {
8
- this.subtotal = subtotal;
9
- this.discount = discount;
10
- this.grandTotal = grandTotal;
11
- }
12
- }
@@ -1,18 +0,0 @@
1
- export class LineItem {
2
- gtinCode: string;
3
- description: string;
4
- unitPrice: number;
5
- qty: number;
6
- discount: number;
7
- total: number;
8
-
9
-
10
- constructor(code: string, description: string, unitPrice: number, qty: number, discount: number, total: number) {
11
- this.gtinCode = code;
12
- this.description = description;
13
- this.unitPrice = unitPrice;
14
- this.qty = qty;
15
- this.discount = discount;
16
- this.total = total;
17
- }
18
- }
@@ -1,21 +0,0 @@
1
- export class LookupItem {
2
- id: number;
3
- arabicName: string;
4
- englishName: string;
5
- defaultValue?: boolean = false;
6
-
7
- constructor(lookup: LookupItem) {
8
- this.id = lookup.id;
9
- this.englishName = lookup.englishName;
10
- this.arabicName = lookup.arabicName;
11
- this.defaultValue = lookup.defaultValue;
12
- }
13
- }
14
-
15
- export const ALL_ITEM= {
16
- id: -100,
17
- arabicName:'Select All',
18
- englishName:'Select All',
19
- defaultValue: false
20
- }
21
-
@@ -1,9 +0,0 @@
1
- import {SnackMessageInterface} from "./snackmessage-interface";
2
-
3
- export class NullSnackMessage implements SnackMessageInterface {
4
- message = '';
5
- translate = false;
6
- type: 'info' | 'success' | 'error' | 'warning' = 'info';
7
- translateParams = {};
8
-
9
- }
@@ -1,54 +0,0 @@
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
-
38
- export const EMPTY_PAGE_INFO = {
39
- id: "",
40
- labelsSection: "",
41
- hasAddButton: false,
42
- selfRouting: true,
43
- draftSupported: false,
44
- hasExtraTabs: false,
45
- attachmentEnabled: false,
46
- printAction: false,
47
- hidePagination: false,
48
- attachmentDefaultExternal: false,
49
- supportGroupingInExport: false,
50
- hideReportsExtractButton: false,
51
- hideAuditLog: false,
52
- stayOnPage: true
53
-
54
- }
@@ -1,33 +0,0 @@
1
- import {ColumnDef} from "./column-def.model";
2
- import {FieldPredicate} from "./field-predicate.model";
3
- import {FilterRequest} from "./filter-request";
4
-
5
- export class ReportRequest {
6
- sessionId: string;
7
- title: string;
8
- prefLang: string;
9
- columns: ColumnDef[];
10
- filter: string;
11
- reportType: 'pdf' | 'xlsx'
12
- dataset: any[];
13
- orientation: string;
14
- searchStr?: string;
15
- filtersList?: FieldPredicate[];
16
- filterRequest?: FilterRequest;
17
- reportCode?: string;
18
- constructor(br : any) {
19
- this.sessionId = br.sessionId;
20
- this.title = br.title;
21
- this.prefLang = br.prefLang;
22
- this.searchStr = br.searchStr;
23
- this.filter = br.filter;
24
- this.columns = br.columns;
25
- this.reportType=br.reportType;
26
- this.dataset = br.dataset;
27
- this.orientation = br.orientation;
28
- this.filtersList = br.filtersList;
29
- this.filterRequest = br.filterRequest;
30
- this.reportCode = br.reportCode;
31
- }
32
-
33
- }
@@ -1,15 +0,0 @@
1
- export class ResponseEnvelop {
2
- valid: boolean;
3
- message: string[];
4
- body: any;
5
- pagesCount: number;
6
- totalSize: number;
7
-
8
- constructor(responseEnvelop:ResponseEnvelop) {
9
- this.valid = responseEnvelop.valid;
10
- this.message = responseEnvelop.message;
11
- this.body = responseEnvelop.body;
12
- this.pagesCount = responseEnvelop.pagesCount;
13
- this.totalSize = responseEnvelop.totalSize;
14
- }
15
- }
@@ -1,14 +0,0 @@
1
- export class SnackMessage {
2
- message: string='';
3
- translate: boolean=false;
4
- type: 'info' | 'success' | 'error' | 'warning';
5
- translateParams: any;
6
-
7
-
8
- constructor(message: string, translate=false , type?:any , translateParams: any = {}) {
9
- this.message = message;
10
- this.translate = translate;
11
- this.type = type;
12
- this.translateParams = translateParams;
13
- }
14
- }
@@ -1,7 +0,0 @@
1
- export interface SnackMessageInterface {
2
- message: string;
3
- translate: boolean;
4
- type: 'info' | 'success' | 'error' | 'warning';
5
- translateParams: any;
6
- }
7
-