mis-crystal-design-system 18.0.5 → 18.0.6

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 (526) hide show
  1. package/action-list/action-list.component.d.ts +1 -1
  2. package/analytics/analytics.service.d.ts +1 -1
  3. package/async-search-dropdown/async-dropdown.component.d.ts +3 -2
  4. package/button/button.component.d.ts +1 -1
  5. package/button/button.directive.d.ts +1 -1
  6. package/checkbox/checkbox.component.d.ts +1 -1
  7. package/chip/chip.component.d.ts +1 -1
  8. package/datepicker_v2/models/dp-config.model.d.ts +1 -1
  9. package/datepicker_v2/tz-datepicker.directive.d.ts +1 -1
  10. package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +1 -1
  11. package/daterangepicker_v2/models/drp-config.model.d.ts +1 -1
  12. package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +1 -1
  13. package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +1 -1
  14. package/drawer/drawer-body/drawer-body.component.d.ts +1 -1
  15. package/dropdown/calculate-container-height.directive.d.ts +1 -1
  16. package/dropdown/dropdown.component.d.ts +1 -1
  17. package/dynamic-form/dynamic-form.component.d.ts +1 -1
  18. package/esm2022/action-list/action-list.component.mjs +363 -0
  19. package/{esm2020 → esm2022}/action-list/action-list.module.mjs +5 -5
  20. package/{esm2020 → esm2022}/analytics/analytics.module.mjs +5 -5
  21. package/esm2022/analytics/analytics.service.mjs +64 -0
  22. package/esm2022/async-search-dropdown/async-dropdown.component.mjs +536 -0
  23. package/{esm2020 → esm2022}/async-search-dropdown/async-dropdown.module.mjs +5 -5
  24. package/esm2022/button/button.component.mjs +88 -0
  25. package/esm2022/button/button.directive.mjs +61 -0
  26. package/{esm2020 → esm2022}/button/button.module.mjs +5 -5
  27. package/esm2022/checkbox/checkbox.component.mjs +124 -0
  28. package/{esm2020 → esm2022}/checkbox/checkbox.module.mjs +5 -5
  29. package/esm2022/chip/chip.component.mjs +82 -0
  30. package/{esm2020 → esm2022}/chip/chip.module.mjs +5 -5
  31. package/{esm2020 → esm2022}/datepicker_v2/datepicker.module.mjs +5 -5
  32. package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +183 -0
  33. package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +442 -0
  34. package/{esm2020/daterangepicker_v2 → esm2022/datepicker_v2}/utils/index.mjs +1 -1
  35. package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
  36. package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +165 -0
  37. package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +503 -0
  38. package/esm2022/daterangepicker_v2/utils/index.mjs +45 -0
  39. package/esm2022/drawer/drawer-body/drawer-body.component.mjs +59 -0
  40. package/{esm2020 → esm2022}/drawer/drawer-ref.mjs +4 -4
  41. package/{esm2020 → esm2022}/drawer/drawer.module.mjs +5 -5
  42. package/{esm2020 → esm2022}/drawer/drawer.service.mjs +5 -5
  43. package/esm2022/dropdown/calculate-container-height.directive.mjs +41 -0
  44. package/esm2022/dropdown/dropdown.component.mjs +464 -0
  45. package/{esm2020 → esm2022}/dropdown/dropdown.module.mjs +5 -5
  46. package/esm2022/dynamic-form/dynamic-form.component.mjs +1093 -0
  47. package/{esm2020 → esm2022}/dynamic-form/dynamic-form.module.mjs +13 -13
  48. package/esm2022/fab/fab.component.mjs +145 -0
  49. package/{esm2020 → esm2022}/fab/fab.module.mjs +5 -5
  50. package/esm2022/filter/filter-panel/filter-panel.component.mjs +396 -0
  51. package/{esm2020 → esm2022}/filter/filters.module.mjs +17 -17
  52. package/esm2022/filter/has-value.pipe.mjs +31 -0
  53. package/{esm2020 → esm2022}/input/directives/input/input.directive.mjs +6 -6
  54. package/{fesm2020/mis-crystal-design-system-input.mjs → esm2022/input/mis-input.component.mjs} +49 -109
  55. package/{esm2020 → esm2022}/input/mis-input.module.mjs +5 -5
  56. package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +89 -0
  57. package/{esm2020 → esm2022}/input-stepper/input-stepper.module.mjs +5 -5
  58. package/esm2022/loader/loader.component.mjs +25 -0
  59. package/{esm2020 → esm2022}/loader/loader.module.mjs +5 -5
  60. package/esm2022/menu/menu-close.directive.mjs +25 -0
  61. package/{esm2020 → esm2022}/menu/menu.directive.mjs +7 -7
  62. package/{esm2020 → esm2022}/menu/menu.module.mjs +5 -5
  63. package/esm2022/mobile-filter/mobile-filter.component.mjs +180 -0
  64. package/{esm2020 → esm2022}/mobile-filter/mobile-filter.module.mjs +5 -5
  65. package/{esm2020 → esm2022}/modal/modal.module.mjs +5 -5
  66. package/esm2022/modal/modal.service.mjs +70 -0
  67. package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +56 -0
  68. package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +489 -0
  69. package/{esm2020 → esm2022}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
  70. package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +516 -0
  71. package/{esm2020 → esm2022}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
  72. package/esm2022/phone-input/phone-input.component.mjs +72 -0
  73. package/{esm2020 → esm2022}/phone-input/phone-input.module.mjs +5 -5
  74. package/esm2022/radio-button/radio-button.component.mjs +57 -0
  75. package/{esm2020 → esm2022}/radio-button/radio-button.module.mjs +5 -5
  76. package/esm2022/ske-loader/ske-loader.component.mjs +54 -0
  77. package/{esm2020 → esm2022}/ske-loader/ske-loader.module.mjs +5 -5
  78. package/esm2022/slider/slider.component.mjs +46 -0
  79. package/{esm2020 → esm2022}/slider/slider.module.mjs +7 -7
  80. package/esm2022/snackbar/snackbar/snackbar.component.mjs +72 -0
  81. package/{esm2020 → esm2022}/snackbar/snackbar.module.mjs +5 -5
  82. package/esm2022/snackbar/snackbar.service.mjs +47 -0
  83. package/{esm2020 → esm2022}/specificdatepicker/specificdatepicker.module.mjs +5 -5
  84. package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +646 -0
  85. package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
  86. package/esm2022/specificdatepicker/utils/index.mjs +45 -0
  87. package/esm2022/star-rating/star-rating.component.mjs +113 -0
  88. package/{esm2020 → esm2022}/star-rating/star-rating.module.mjs +5 -5
  89. package/esm2022/switch/switch.component.mjs +56 -0
  90. package/{esm2020 → esm2022}/switch/switch.module.mjs +5 -5
  91. package/esm2022/table/custom-table-cell.directive.mjs +42 -0
  92. package/esm2022/table/filter/filter.component.mjs +177 -0
  93. package/esm2022/table/sub-table/sub-table.component.mjs +192 -0
  94. package/esm2022/table/table.component.mjs +485 -0
  95. package/{esm2020 → esm2022}/table/table.module.mjs +5 -5
  96. package/esm2022/timepicker/timepicker.component.mjs +374 -0
  97. package/esm2022/timepicker/timepicker.directive.mjs +69 -0
  98. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +5 -5
  99. package/esm2022/timerangepicker/timerangepicker.component.mjs +237 -0
  100. package/{esm2020 → esm2022}/timerangepicker/timerangepicker.module.mjs +5 -5
  101. package/esm2022/toast/toast.component.mjs +51 -0
  102. package/{esm2020 → esm2022}/toast/toast.data.service.mjs +8 -8
  103. package/{esm2020 → esm2022}/toast/toast.module.mjs +5 -5
  104. package/esm2022/toast/toast.service.mjs +91 -0
  105. package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +79 -0
  106. package/esm2022/tooltip/tooltip.directive.mjs +143 -0
  107. package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +5 -5
  108. package/esm2022/virtual-scroll/virtual-scroll.component.mjs +188 -0
  109. package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.module.mjs +7 -7
  110. package/esm2022/widgets/classes/async-widget.mjs +23 -0
  111. package/{esm2020 → esm2022}/widgets/classes/base-widget.mjs +1 -1
  112. package/esm2022/widgets/classes/sync-widget.mjs +20 -0
  113. package/{esm2020 → esm2022}/widgets/services/widget.service.mjs +5 -5
  114. package/{esm2020 → esm2022}/widgets/widgets.module.mjs +5 -5
  115. package/fab/fab.component.d.ts +4 -4
  116. package/{fesm2020 → fesm2022}/mis-crystal-design-system-action-list.mjs +106 -113
  117. package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -0
  118. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs +9 -9
  119. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs.map +1 -1
  120. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +561 -0
  121. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  122. package/fesm2022/mis-crystal-design-system-button.mjs +173 -0
  123. package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -0
  124. package/fesm2022/mis-crystal-design-system-checkbox.mjs +150 -0
  125. package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -0
  126. package/fesm2022/mis-crystal-design-system-chip.mjs +108 -0
  127. package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -0
  128. package/{fesm2020 → fesm2022}/mis-crystal-design-system-datepicker_v2.mjs +133 -140
  129. package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  130. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +737 -0
  131. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  132. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs +34 -33
  133. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs.map +1 -1
  134. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dropdown.mjs +176 -184
  135. package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -0
  136. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dynamic-form.mjs +441 -456
  137. package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  138. package/{fesm2020 → fesm2022}/mis-crystal-design-system-fab.mjs +48 -47
  139. package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -0
  140. package/{fesm2020 → fesm2022}/mis-crystal-design-system-filter.mjs +113 -120
  141. package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -0
  142. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs +35 -34
  143. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs.map +1 -1
  144. package/fesm2022/mis-crystal-design-system-input.mjs +146 -0
  145. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input.mjs.map +1 -1
  146. package/fesm2022/mis-crystal-design-system-loader.mjs +51 -0
  147. package/{fesm2020 → fesm2022}/mis-crystal-design-system-loader.mjs.map +1 -1
  148. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs +16 -16
  149. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs.map +1 -1
  150. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +205 -0
  151. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  152. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs +34 -33
  153. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs.map +1 -1
  154. package/{fesm2020 → fesm2022}/mis-crystal-design-system-multi-select-dropdown.mjs +107 -109
  155. package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  156. package/{fesm2020 → fesm2022}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +128 -129
  157. package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  158. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs +22 -21
  159. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs.map +1 -1
  160. package/fesm2022/mis-crystal-design-system-radio-button.mjs +83 -0
  161. package/{fesm2020 → fesm2022}/mis-crystal-design-system-radio-button.mjs.map +1 -1
  162. package/fesm2022/mis-crystal-design-system-ske-loader.mjs +77 -0
  163. package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  164. package/fesm2022/mis-crystal-design-system-slider.mjs +80 -0
  165. package/{fesm2020 → fesm2022}/mis-crystal-design-system-slider.mjs.map +1 -1
  166. package/{fesm2020 → fesm2022}/mis-crystal-design-system-snackbar.mjs +32 -32
  167. package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -0
  168. package/{fesm2020 → fesm2022}/mis-crystal-design-system-specificdatepicker.mjs +204 -204
  169. package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  170. package/{fesm2020 → fesm2022}/mis-crystal-design-system-star-rating.mjs +29 -28
  171. package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -0
  172. package/fesm2022/mis-crystal-design-system-switch.mjs +82 -0
  173. package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -0
  174. package/{fesm2020 → fesm2022}/mis-crystal-design-system-table.mjs +314 -321
  175. package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -0
  176. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs +78 -74
  177. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs.map +1 -1
  178. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs +26 -25
  179. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
  180. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs +35 -34
  181. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs.map +1 -1
  182. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs +47 -47
  183. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs.map +1 -1
  184. package/{fesm2020 → fesm2022}/mis-crystal-design-system-virtual-scroll.mjs +50 -52
  185. package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  186. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs +4 -4
  187. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs.map +1 -1
  188. package/filter/filter-panel/filter-panel.component.d.ts +1 -1
  189. package/input/directives/input/input.directive.d.ts +1 -1
  190. package/input/mis-input.component.d.ts +1 -1
  191. package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
  192. package/loader/loader.component.d.ts +1 -1
  193. package/menu/menu-close.directive.d.ts +1 -1
  194. package/menu/menu.directive.d.ts +1 -1
  195. package/mobile-filter/mobile-filter.component.d.ts +1 -1
  196. package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
  197. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
  198. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
  199. package/package.json +125 -207
  200. package/phone-input/phone-input.component.d.ts +1 -1
  201. package/radio-button/radio-button.component.d.ts +1 -1
  202. package/ske-loader/ske-loader.component.d.ts +1 -1
  203. package/slider/slider.component.d.ts +1 -1
  204. package/snackbar/snackbar/snackbar.component.d.ts +1 -1
  205. package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
  206. package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
  207. package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
  208. package/star-rating/star-rating.component.d.ts +1 -1
  209. package/switch/switch.component.d.ts +1 -1
  210. package/table/custom-table-cell.directive.d.ts +1 -1
  211. package/table/filter/filter.component.d.ts +1 -1
  212. package/table/sub-table/sub-table.component.d.ts +1 -1
  213. package/table/table.component.d.ts +1 -1
  214. package/timepicker/timepicker.component.d.ts +1 -1
  215. package/timepicker/timepicker.directive.d.ts +1 -1
  216. package/timerangepicker/timerange.namespace.d.ts +1 -1
  217. package/timerangepicker/timerangepicker.component.d.ts +1 -1
  218. package/toast/toast.component.d.ts +1 -1
  219. package/toast/toast.service.d.ts +1 -1
  220. package/tooltip/models/tooltip.model.d.ts +1 -1
  221. package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
  222. package/tooltip/tooltip.directive.d.ts +1 -1
  223. package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
  224. package/widgets/interfaces/widgets.model.d.ts +1 -1
  225. package/esm2020/action-list/action-list.component.mjs +0 -370
  226. package/esm2020/analytics/analytics.service.mjs +0 -64
  227. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +0 -525
  228. package/esm2020/button/button.component.mjs +0 -87
  229. package/esm2020/button/button.directive.mjs +0 -61
  230. package/esm2020/checkbox/checkbox.component.mjs +0 -124
  231. package/esm2020/chip/chip.component.mjs +0 -82
  232. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +0 -183
  233. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -449
  234. package/esm2020/datepicker_v2/utils/index.mjs +0 -45
  235. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -165
  236. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -502
  237. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +0 -58
  238. package/esm2020/dropdown/calculate-container-height.directive.mjs +0 -41
  239. package/esm2020/dropdown/dropdown.component.mjs +0 -472
  240. package/esm2020/dynamic-form/dynamic-form.component.mjs +0 -1108
  241. package/esm2020/fab/fab.component.mjs +0 -144
  242. package/esm2020/filter/filter-panel/filter-panel.component.mjs +0 -403
  243. package/esm2020/filter/has-value.pipe.mjs +0 -31
  244. package/esm2020/input/mis-input.component.mjs +0 -84
  245. package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +0 -88
  246. package/esm2020/loader/loader.component.mjs +0 -24
  247. package/esm2020/menu/menu-close.directive.mjs +0 -25
  248. package/esm2020/mobile-filter/mobile-filter.component.mjs +0 -181
  249. package/esm2020/modal/modal.service.mjs +0 -70
  250. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +0 -55
  251. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -491
  252. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -517
  253. package/esm2020/phone-input/phone-input.component.mjs +0 -71
  254. package/esm2020/radio-button/radio-button.component.mjs +0 -56
  255. package/esm2020/ske-loader/ske-loader.component.mjs +0 -53
  256. package/esm2020/slider/slider.component.mjs +0 -45
  257. package/esm2020/snackbar/snackbar/snackbar.component.mjs +0 -72
  258. package/esm2020/snackbar/snackbar.service.mjs +0 -47
  259. package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -646
  260. package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
  261. package/esm2020/specificdatepicker/utils/index.mjs +0 -45
  262. package/esm2020/star-rating/star-rating.component.mjs +0 -112
  263. package/esm2020/switch/switch.component.mjs +0 -55
  264. package/esm2020/table/custom-table-cell.directive.mjs +0 -42
  265. package/esm2020/table/filter/filter.component.mjs +0 -176
  266. package/esm2020/table/sub-table/sub-table.component.mjs +0 -193
  267. package/esm2020/table/table.component.mjs +0 -492
  268. package/esm2020/timepicker/timepicker.component.mjs +0 -370
  269. package/esm2020/timepicker/timepicker.directive.mjs +0 -69
  270. package/esm2020/timerangepicker/timerangepicker.component.mjs +0 -236
  271. package/esm2020/toast/toast.component.mjs +0 -50
  272. package/esm2020/toast/toast.service.mjs +0 -91
  273. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +0 -79
  274. package/esm2020/tooltip/tooltip.directive.mjs +0 -143
  275. package/esm2020/virtual-scroll/virtual-scroll.component.mjs +0 -190
  276. package/esm2020/widgets/classes/async-widget.mjs +0 -23
  277. package/esm2020/widgets/classes/sync-widget.mjs +0 -20
  278. package/fesm2015/mis-crystal-design-system-action-list.mjs +0 -446
  279. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +0 -1
  280. package/fesm2015/mis-crystal-design-system-analytics.mjs +0 -87
  281. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +0 -1
  282. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +0 -618
  283. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  284. package/fesm2015/mis-crystal-design-system-button.mjs +0 -189
  285. package/fesm2015/mis-crystal-design-system-button.mjs.map +0 -1
  286. package/fesm2015/mis-crystal-design-system-checkbox.mjs +0 -166
  287. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +0 -1
  288. package/fesm2015/mis-crystal-design-system-chip.mjs +0 -123
  289. package/fesm2015/mis-crystal-design-system-chip.mjs.map +0 -1
  290. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +0 -751
  291. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  292. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +0 -769
  293. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  294. package/fesm2015/mis-crystal-design-system-drawer.mjs +0 -185
  295. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +0 -1
  296. package/fesm2015/mis-crystal-design-system-dropdown.mjs +0 -616
  297. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +0 -1
  298. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +0 -1337
  299. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  300. package/fesm2015/mis-crystal-design-system-fab.mjs +0 -186
  301. package/fesm2015/mis-crystal-design-system-fab.mjs.map +0 -1
  302. package/fesm2015/mis-crystal-design-system-filter.mjs +0 -559
  303. package/fesm2015/mis-crystal-design-system-filter.mjs.map +0 -1
  304. package/fesm2015/mis-crystal-design-system-input-stepper.mjs +0 -124
  305. package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +0 -1
  306. package/fesm2015/mis-crystal-design-system-input.mjs +0 -165
  307. package/fesm2015/mis-crystal-design-system-input.mjs.map +0 -1
  308. package/fesm2015/mis-crystal-design-system-loader.mjs +0 -57
  309. package/fesm2015/mis-crystal-design-system-loader.mjs.map +0 -1
  310. package/fesm2015/mis-crystal-design-system-menu.mjs +0 -135
  311. package/fesm2015/mis-crystal-design-system-menu.mjs.map +0 -1
  312. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +0 -227
  313. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  314. package/fesm2015/mis-crystal-design-system-modal.mjs +0 -184
  315. package/fesm2015/mis-crystal-design-system-modal.mjs.map +0 -1
  316. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +0 -550
  317. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  318. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -559
  319. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  320. package/fesm2015/mis-crystal-design-system-phone-input.mjs +0 -107
  321. package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +0 -1
  322. package/fesm2015/mis-crystal-design-system-radio-button.mjs +0 -89
  323. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +0 -1
  324. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +0 -86
  325. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  326. package/fesm2015/mis-crystal-design-system-slider.mjs +0 -88
  327. package/fesm2015/mis-crystal-design-system-slider.mjs.map +0 -1
  328. package/fesm2015/mis-crystal-design-system-snackbar.mjs +0 -175
  329. package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +0 -1
  330. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +0 -970
  331. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  332. package/fesm2015/mis-crystal-design-system-star-rating.mjs +0 -145
  333. package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +0 -1
  334. package/fesm2015/mis-crystal-design-system-switch.mjs +0 -88
  335. package/fesm2015/mis-crystal-design-system-switch.mjs.map +0 -1
  336. package/fesm2015/mis-crystal-design-system-table.mjs +0 -1045
  337. package/fesm2015/mis-crystal-design-system-table.mjs.map +0 -1
  338. package/fesm2015/mis-crystal-design-system-timepicker.mjs +0 -484
  339. package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +0 -1
  340. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +0 -273
  341. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +0 -1
  342. package/fesm2015/mis-crystal-design-system-toast.mjs +0 -214
  343. package/fesm2015/mis-crystal-design-system-toast.mjs.map +0 -1
  344. package/fesm2015/mis-crystal-design-system-tooltip.mjs +0 -272
  345. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +0 -1
  346. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +0 -259
  347. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  348. package/fesm2015/mis-crystal-design-system-widgets.mjs +0 -131
  349. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +0 -1
  350. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +0 -1
  351. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +0 -550
  352. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  353. package/fesm2020/mis-crystal-design-system-button.mjs +0 -172
  354. package/fesm2020/mis-crystal-design-system-button.mjs.map +0 -1
  355. package/fesm2020/mis-crystal-design-system-checkbox.mjs +0 -150
  356. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +0 -1
  357. package/fesm2020/mis-crystal-design-system-chip.mjs +0 -108
  358. package/fesm2020/mis-crystal-design-system-chip.mjs.map +0 -1
  359. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  360. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +0 -736
  361. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  362. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +0 -1
  363. package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  364. package/fesm2020/mis-crystal-design-system-fab.mjs.map +0 -1
  365. package/fesm2020/mis-crystal-design-system-filter.mjs.map +0 -1
  366. package/fesm2020/mis-crystal-design-system-loader.mjs +0 -50
  367. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +0 -206
  368. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  369. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  370. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  371. package/fesm2020/mis-crystal-design-system-radio-button.mjs +0 -82
  372. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +0 -76
  373. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  374. package/fesm2020/mis-crystal-design-system-slider.mjs +0 -79
  375. package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +0 -1
  376. package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  377. package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +0 -1
  378. package/fesm2020/mis-crystal-design-system-styles.mjs +0 -4
  379. package/fesm2020/mis-crystal-design-system-styles.mjs.map +0 -1
  380. package/fesm2020/mis-crystal-design-system-switch.mjs +0 -81
  381. package/fesm2020/mis-crystal-design-system-switch.mjs.map +0 -1
  382. package/fesm2020/mis-crystal-design-system-table.mjs.map +0 -1
  383. package/fesm2020/mis-crystal-design-system-utils.mjs +0 -24
  384. package/fesm2020/mis-crystal-design-system-utils.mjs.map +0 -1
  385. package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  386. package/fesm2020/mis-crystal-design-system.mjs +0 -24
  387. package/fesm2020/mis-crystal-design-system.mjs.map +0 -1
  388. /package/{esm2020 → esm2022}/action-list/index.mjs +0 -0
  389. /package/{esm2020 → esm2022}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
  390. /package/{esm2020 → esm2022}/action-list/public_api.mjs +0 -0
  391. /package/{esm2020 → esm2022}/analytics/index.mjs +0 -0
  392. /package/{esm2020 → esm2022}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
  393. /package/{esm2020 → esm2022}/analytics/public_api.mjs +0 -0
  394. /package/{esm2020 → esm2022}/async-search-dropdown/index.mjs +0 -0
  395. /package/{esm2020 → esm2022}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
  396. /package/{esm2020 → esm2022}/async-search-dropdown/public_api.mjs +0 -0
  397. /package/{esm2020 → esm2022}/button/index.mjs +0 -0
  398. /package/{esm2020 → esm2022}/button/mis-crystal-design-system-button.mjs +0 -0
  399. /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
  400. /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
  401. /package/{esm2020 → esm2022}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
  402. /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
  403. /package/{esm2020 → esm2022}/chip/index.mjs +0 -0
  404. /package/{esm2020 → esm2022}/chip/mis-crystal-design-system-chip.mjs +0 -0
  405. /package/{esm2020 → esm2022}/chip/public_api.mjs +0 -0
  406. /package/{esm2020 → esm2022}/datepicker_v2/datepicker-constants.mjs +0 -0
  407. /package/{esm2020 → esm2022}/datepicker_v2/index.mjs +0 -0
  408. /package/{esm2020 → esm2022}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
  409. /package/{esm2020 → esm2022}/datepicker_v2/models/dp-config.model.mjs +0 -0
  410. /package/{esm2020 → esm2022}/datepicker_v2/public_api.mjs +0 -0
  411. /package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
  412. /package/{esm2020 → esm2022}/daterangepicker_v2/index.mjs +0 -0
  413. /package/{esm2020 → esm2022}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
  414. /package/{esm2020 → esm2022}/daterangepicker_v2/models/drp-config.model.mjs +0 -0
  415. /package/{esm2020 → esm2022}/daterangepicker_v2/public_api.mjs +0 -0
  416. /package/{esm2020 → esm2022}/drawer/drawer-constants.mjs +0 -0
  417. /package/{esm2020 → esm2022}/drawer/index.mjs +0 -0
  418. /package/{esm2020 → esm2022}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
  419. /package/{esm2020 → esm2022}/drawer/public_api.mjs +0 -0
  420. /package/{esm2020 → esm2022}/dropdown/index.mjs +0 -0
  421. /package/{esm2020 → esm2022}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
  422. /package/{esm2020 → esm2022}/dropdown/public_api.mjs +0 -0
  423. /package/{esm2020 → esm2022}/dynamic-form/dynamic-form.namespace.mjs +0 -0
  424. /package/{esm2020 → esm2022}/dynamic-form/index.mjs +0 -0
  425. /package/{esm2020 → esm2022}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
  426. /package/{esm2020 → esm2022}/dynamic-form/public_api.mjs +0 -0
  427. /package/{esm2020 → esm2022}/fab/index.mjs +0 -0
  428. /package/{esm2020 → esm2022}/fab/mis-crystal-design-system-fab.mjs +0 -0
  429. /package/{esm2020 → esm2022}/fab/public_api.mjs +0 -0
  430. /package/{esm2020 → esm2022}/filter/animations/slideFromRight.mjs +0 -0
  431. /package/{esm2020 → esm2022}/filter/index.mjs +0 -0
  432. /package/{esm2020 → esm2022}/filter/mis-crystal-design-system-filter.mjs +0 -0
  433. /package/{esm2020 → esm2022}/filter/public_api.mjs +0 -0
  434. /package/{esm2020 → esm2022}/index.mjs +0 -0
  435. /package/{esm2020 → esm2022}/input/index.mjs +0 -0
  436. /package/{esm2020 → esm2022}/input/mis-crystal-design-system-input.mjs +0 -0
  437. /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
  438. /package/{esm2020 → esm2022}/input-stepper/index.mjs +0 -0
  439. /package/{esm2020 → esm2022}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
  440. /package/{esm2020 → esm2022}/input-stepper/public_api.mjs +0 -0
  441. /package/{esm2020 → esm2022}/loader/index.mjs +0 -0
  442. /package/{esm2020 → esm2022}/loader/mis-crystal-design-system-loader.mjs +0 -0
  443. /package/{esm2020 → esm2022}/loader/public_api.mjs +0 -0
  444. /package/{esm2020 → esm2022}/menu/index.mjs +0 -0
  445. /package/{esm2020 → esm2022}/menu/mis-crystal-design-system-menu.mjs +0 -0
  446. /package/{esm2020 → esm2022}/menu/public_api.mjs +0 -0
  447. /package/{esm2020 → esm2022}/mis-crystal-design-system.mjs +0 -0
  448. /package/{esm2020 → esm2022}/mobile-filter/index.mjs +0 -0
  449. /package/{esm2020 → esm2022}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
  450. /package/{esm2020 → esm2022}/mobile-filter/public_api.mjs +0 -0
  451. /package/{esm2020 → esm2022}/modal/index.mjs +0 -0
  452. /package/{esm2020 → esm2022}/modal/mis-crystal-design-system-modal.mjs +0 -0
  453. /package/{esm2020 → esm2022}/modal/modal-constants.mjs +0 -0
  454. /package/{esm2020 → esm2022}/modal/modal-ref.mjs +0 -0
  455. /package/{esm2020 → esm2022}/modal/public_api.mjs +0 -0
  456. /package/{esm2020 → esm2022}/multi-select-dropdown/index.mjs +0 -0
  457. /package/{esm2020 → esm2022}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
  458. /package/{esm2020 → esm2022}/multi-select-dropdown/public_api.mjs +0 -0
  459. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/index.mjs +0 -0
  460. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
  461. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/public_api.mjs +0 -0
  462. /package/{esm2020 → esm2022}/phone-input/index.mjs +0 -0
  463. /package/{esm2020 → esm2022}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
  464. /package/{esm2020 → esm2022}/phone-input/public_api.mjs +0 -0
  465. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  466. /package/{esm2020 → esm2022}/radio-button/index.mjs +0 -0
  467. /package/{esm2020 → esm2022}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
  468. /package/{esm2020 → esm2022}/radio-button/public_api.mjs +0 -0
  469. /package/{esm2020 → esm2022}/ske-loader/index.mjs +0 -0
  470. /package/{esm2020 → esm2022}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
  471. /package/{esm2020 → esm2022}/ske-loader/public_api.mjs +0 -0
  472. /package/{esm2020 → esm2022}/slider/index.mjs +0 -0
  473. /package/{esm2020 → esm2022}/slider/mis-crystal-design-system-slider.mjs +0 -0
  474. /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
  475. /package/{esm2020 → esm2022}/snackbar/index.mjs +0 -0
  476. /package/{esm2020 → esm2022}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
  477. /package/{esm2020 → esm2022}/snackbar/public_api.mjs +0 -0
  478. /package/{esm2020 → esm2022}/specificdatepicker/daterangepicker-constants.mjs +0 -0
  479. /package/{esm2020 → esm2022}/specificdatepicker/index.mjs +0 -0
  480. /package/{esm2020 → esm2022}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
  481. /package/{esm2020 → esm2022}/specificdatepicker/models/sdp-config.model.mjs +0 -0
  482. /package/{esm2020 → esm2022}/specificdatepicker/public_api.mjs +0 -0
  483. /package/{esm2020 → esm2022}/star-rating/index.mjs +0 -0
  484. /package/{esm2020 → esm2022}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
  485. /package/{esm2020 → esm2022}/star-rating/public_api.mjs +0 -0
  486. /package/{esm2020 → esm2022}/styles/index.mjs +0 -0
  487. /package/{esm2020 → esm2022}/styles/mis-crystal-design-system-styles.mjs +0 -0
  488. /package/{esm2020 → esm2022}/styles/public_api.mjs +0 -0
  489. /package/{esm2020 → esm2022}/switch/index.mjs +0 -0
  490. /package/{esm2020 → esm2022}/switch/mis-crystal-design-system-switch.mjs +0 -0
  491. /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
  492. /package/{esm2020 → esm2022}/table/index.mjs +0 -0
  493. /package/{esm2020 → esm2022}/table/mis-crystal-design-system-table.mjs +0 -0
  494. /package/{esm2020 → esm2022}/table/public_api.mjs +0 -0
  495. /package/{esm2020 → esm2022}/timepicker/index.mjs +0 -0
  496. /package/{esm2020 → esm2022}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
  497. /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
  498. /package/{esm2020 → esm2022}/timepicker/time.namespace.mjs +0 -0
  499. /package/{esm2020 → esm2022}/timerangepicker/index.mjs +0 -0
  500. /package/{esm2020 → esm2022}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
  501. /package/{esm2020 → esm2022}/timerangepicker/public_api.mjs +0 -0
  502. /package/{esm2020 → esm2022}/timerangepicker/timerange.namespace.mjs +0 -0
  503. /package/{esm2020 → esm2022}/toast/index.mjs +0 -0
  504. /package/{esm2020 → esm2022}/toast/mis-crystal-design-system-toast.mjs +0 -0
  505. /package/{esm2020 → esm2022}/toast/public_api.mjs +0 -0
  506. /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
  507. /package/{esm2020 → esm2022}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
  508. /package/{esm2020 → esm2022}/tooltip/models/tooltip.model.mjs +0 -0
  509. /package/{esm2020 → esm2022}/tooltip/public_api.mjs +0 -0
  510. /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
  511. /package/{esm2020 → esm2022}/utils/mis-crystal-design-system-utils.mjs +0 -0
  512. /package/{esm2020 → esm2022}/virtual-scroll/index.mjs +0 -0
  513. /package/{esm2020 → esm2022}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
  514. /package/{esm2020 → esm2022}/virtual-scroll/public_api.mjs +0 -0
  515. /package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
  516. /package/{esm2020 → esm2022}/widgets/classes/widget-group.mjs +0 -0
  517. /package/{esm2020 → esm2022}/widgets/index.mjs +0 -0
  518. /package/{esm2020 → esm2022}/widgets/interfaces/widgets.model.mjs +0 -0
  519. /package/{esm2020 → esm2022}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
  520. /package/{esm2020 → esm2022}/widgets/public_api.mjs +0 -0
  521. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs +0 -0
  522. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs.map +0 -0
  523. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs +0 -0
  524. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs.map +0 -0
  525. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs +0 -0
  526. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs.map +0 -0
@@ -1,1045 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Directive, Input, Component, ViewChild, EventEmitter, Output, ViewChildren, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i2 from '@angular/cdk/scrolling';
6
- import { ScrollingModule } from '@angular/cdk/scrolling';
7
- import * as i2$1 from 'mis-crystal-design-system/checkbox';
8
- import { CheckboxModule } from 'mis-crystal-design-system/checkbox';
9
-
10
- class CustomTableCellDirective {
11
- constructor(viewContainerRef, componentFactoryResolver) {
12
- this.viewContainerRef = viewContainerRef;
13
- this.componentFactoryResolver = componentFactoryResolver;
14
- }
15
- set customComponent(value) {
16
- this.component = value;
17
- this.createComponent();
18
- }
19
- set data(value) {
20
- this.cellData = value;
21
- if (this.ref) {
22
- this.ref.instance.data = this.cellData;
23
- }
24
- }
25
- createComponent() {
26
- if (this.component) {
27
- const cmpFactoryResolver = this.componentFactoryResolver.resolveComponentFactory(this.component);
28
- this.viewContainerRef.clear();
29
- this.ref = this.viewContainerRef.createComponent(cmpFactoryResolver);
30
- this.setData();
31
- }
32
- }
33
- setData() {
34
- this.ref.instance.data = this.cellData;
35
- }
36
- }
37
- CustomTableCellDirective.ɵfac = function CustomTableCellDirective_Factory(t) { return new (t || CustomTableCellDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
38
- CustomTableCellDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CustomTableCellDirective, selectors: [["", "customTableCell", ""]], inputs: { customComponent: "customComponent", data: "data" } });
39
- (function () {
40
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomTableCellDirective, [{
41
- type: Directive,
42
- args: [{
43
- selector: "[customTableCell]"
44
- }]
45
- }], function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, { customComponent: [{
46
- type: Input
47
- }], data: [{
48
- type: Input
49
- }] });
50
- })();
51
-
52
- const _c0$2 = ["table"];
53
- function SubTableComponent_div_3_div_1_p_1_Template(rf, ctx) {
54
- if (rf & 1) {
55
- i0.ɵɵelementStart(0, "p", 11);
56
- i0.ɵɵtext(1);
57
- i0.ɵɵelementEnd();
58
- }
59
- if (rf & 2) {
60
- const colHeader_r4 = i0.ɵɵnextContext().$implicit;
61
- i0.ɵɵadvance(1);
62
- i0.ɵɵtextInterpolate1(" ", (colHeader_r4 == null ? null : colHeader_r4.data) || " ", " ");
63
- }
64
- }
65
- function SubTableComponent_div_3_div_1_2_ng_template_0_Template(rf, ctx) { }
66
- function SubTableComponent_div_3_div_1_2_Template(rf, ctx) {
67
- if (rf & 1) {
68
- i0.ɵɵtemplate(0, SubTableComponent_div_3_div_1_2_ng_template_0_Template, 0, 0, "ng-template", 12);
69
- }
70
- if (rf & 2) {
71
- const colHeader_r4 = i0.ɵɵnextContext().$implicit;
72
- i0.ɵɵproperty("customComponent", colHeader_r4 == null ? null : colHeader_r4.componentRef)("data", colHeader_r4.data);
73
- }
74
- }
75
- const _c1$2 = function (a0, a1, a2) { return { width: a0, cursor: a1, "justify-content": a2 }; };
76
- function SubTableComponent_div_3_div_1_Template(rf, ctx) {
77
- if (rf & 1) {
78
- const _r11 = i0.ɵɵgetCurrentView();
79
- i0.ɵɵelementStart(0, "div", 8);
80
- i0.ɵɵlistener("click", function SubTableComponent_div_3_div_1_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r11); const colHeader_r4 = restoredCtx.$implicit; return i0.ɵɵresetView((colHeader_r4 == null ? null : colHeader_r4.action) ? colHeader_r4 == null ? null : colHeader_r4.action(colHeader_r4) : null); });
81
- i0.ɵɵtemplate(1, SubTableComponent_div_3_div_1_p_1_Template, 2, 1, "p", 9);
82
- i0.ɵɵtemplate(2, SubTableComponent_div_3_div_1_2_Template, 1, 2, null, 10);
83
- i0.ɵɵelementEnd();
84
- }
85
- if (rf & 2) {
86
- const colHeader_r4 = ctx.$implicit;
87
- i0.ɵɵstyleMap(colHeader_r4 == null ? null : colHeader_r4.style);
88
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(5, _c1$2, (colHeader_r4 == null ? null : colHeader_r4.style == null ? null : colHeader_r4.style.width) || "", colHeader_r4.action ? "pointer" : "default", (colHeader_r4 == null ? null : colHeader_r4.style == null ? null : colHeader_r4.style.justifyContent) ? colHeader_r4 == null ? null : colHeader_r4.style == null ? null : colHeader_r4.style.justifyContent : colHeader_r4.type === "number" ? "flex-end" : "space-between"));
89
- i0.ɵɵadvance(1);
90
- i0.ɵɵproperty("ngIf", (colHeader_r4 == null ? null : colHeader_r4.type) !== "custom");
91
- i0.ɵɵadvance(1);
92
- i0.ɵɵproperty("ngIf", (colHeader_r4 == null ? null : colHeader_r4.type) === "custom");
93
- }
94
- }
95
- const _c2$2 = function (a0, a1, a2) { return { height: a0, "border-top": a1, "border-bottom": a2 }; };
96
- function SubTableComponent_div_3_Template(rf, ctx) {
97
- if (rf & 1) {
98
- i0.ɵɵelementStart(0, "div", 6);
99
- i0.ɵɵtemplate(1, SubTableComponent_div_3_div_1_Template, 3, 9, "div", 7);
100
- i0.ɵɵelementEnd();
101
- }
102
- if (rf & 2) {
103
- const ctx_r1 = i0.ɵɵnextContext();
104
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(2, _c2$2, ctx_r1.getColHeadersRowHeight(), ctx_r1.getColHeadersRowBorderTop(), ctx_r1.getColHeadersRowBorderBottom()));
105
- i0.ɵɵadvance(1);
106
- i0.ɵɵproperty("ngForOf", ctx_r1.config == null ? null : ctx_r1.config.colHeaderConfig);
107
- }
108
- }
109
- const _c3$1 = function (a0) { return { color: a0 }; };
110
- function SubTableComponent_div_6_div_2_p_2_Template(rf, ctx) {
111
- if (rf & 1) {
112
- i0.ɵɵelementStart(0, "p", 19);
113
- i0.ɵɵtext(1);
114
- i0.ɵɵelementEnd();
115
- }
116
- if (rf & 2) {
117
- const ctx_r19 = i0.ɵɵnextContext();
118
- const i_r16 = ctx_r19.index;
119
- const col_r15 = ctx_r19.$implicit;
120
- const ctx_r17 = i0.ɵɵnextContext(2);
121
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c3$1, (ctx_r17.config == null ? null : ctx_r17.config.colConfig[i_r16] == null ? null : ctx_r17.config.colConfig[i_r16].style == null ? null : ctx_r17.config.colConfig[i_r16].style.color) ? ctx_r17.config == null ? null : ctx_r17.config.colConfig[i_r16] == null ? null : ctx_r17.config.colConfig[i_r16].style == null ? null : ctx_r17.config.colConfig[i_r16].style.color : ""));
122
- i0.ɵɵadvance(1);
123
- i0.ɵɵtextInterpolate1(" ", col_r15, " ");
124
- }
125
- }
126
- function SubTableComponent_div_6_div_2_3_ng_template_0_Template(rf, ctx) { }
127
- function SubTableComponent_div_6_div_2_3_Template(rf, ctx) {
128
- if (rf & 1) {
129
- i0.ɵɵtemplate(0, SubTableComponent_div_6_div_2_3_ng_template_0_Template, 0, 0, "ng-template", 12);
130
- }
131
- if (rf & 2) {
132
- const ctx_r21 = i0.ɵɵnextContext();
133
- const i_r16 = ctx_r21.index;
134
- const col_r15 = ctx_r21.$implicit;
135
- const ctx_r18 = i0.ɵɵnextContext(2);
136
- i0.ɵɵproperty("customComponent", ctx_r18.config.colConfig[i_r16].componentRef)("data", col_r15);
137
- }
138
- }
139
- const _c4$1 = function (a0) { return { width: a0 }; };
140
- const _c5$1 = function (a1, a2) { return { width: "100%", cursor: a1, "justify-content": a2 }; };
141
- function SubTableComponent_div_6_div_2_Template(rf, ctx) {
142
- if (rf & 1) {
143
- const _r23 = i0.ɵɵgetCurrentView();
144
- i0.ɵɵelementStart(0, "div", 16);
145
- i0.ɵɵlistener("click", function SubTableComponent_div_6_div_2_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r23); const i_r16 = restoredCtx.index; const col_r15 = restoredCtx.$implicit; const ctx_r22 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r22.config == null ? null : ctx_r22.config.colConfig[i_r16] == null ? null : ctx_r22.config.colConfig[i_r16].action) ? ctx_r22.config == null ? null : ctx_r22.config.colConfig[i_r16] == null ? null : ctx_r22.config.colConfig[i_r16].action(col_r15) : null); });
146
- i0.ɵɵelementStart(1, "div", 17);
147
- i0.ɵɵtemplate(2, SubTableComponent_div_6_div_2_p_2_Template, 2, 4, "p", 18);
148
- i0.ɵɵtemplate(3, SubTableComponent_div_6_div_2_3_Template, 1, 2, null, 10);
149
- i0.ɵɵelementEnd()();
150
- }
151
- if (rf & 2) {
152
- const i_r16 = ctx.index;
153
- const ctx_r14 = i0.ɵɵnextContext(2);
154
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c4$1, (ctx_r14.config == null ? null : ctx_r14.config.colConfig[i_r16] == null ? null : ctx_r14.config.colConfig[i_r16].style == null ? null : ctx_r14.config.colConfig[i_r16].style.width) || (ctx_r14.config == null ? null : ctx_r14.config.colHeaderConfig[i_r16] == null ? null : ctx_r14.config.colHeaderConfig[i_r16].style == null ? null : ctx_r14.config.colHeaderConfig[i_r16].style.width) || ""));
155
- i0.ɵɵadvance(1);
156
- i0.ɵɵstyleMap(ctx_r14.config.colConfig[i_r16] == null ? null : ctx_r14.config.colConfig[i_r16].style);
157
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(8, _c5$1, ctx_r14.config.colConfig[i_r16].action ? "pointer" : "default", (ctx_r14.config.colConfig[i_r16] == null ? null : ctx_r14.config.colConfig[i_r16].style == null ? null : ctx_r14.config.colConfig[i_r16].style.justifyContent) ? ctx_r14.config.colConfig[i_r16] == null ? null : ctx_r14.config.colConfig[i_r16].style == null ? null : ctx_r14.config.colConfig[i_r16].style.justifyContent : ctx_r14.config.colConfig[i_r16].type === "number" ? "flex-end" : "space-between"));
158
- i0.ɵɵadvance(1);
159
- i0.ɵɵproperty("ngIf", ctx_r14.config.colConfig[i_r16].type !== "custom");
160
- i0.ɵɵadvance(1);
161
- i0.ɵɵproperty("ngIf", ctx_r14.config.colConfig[i_r16].type === "custom");
162
- }
163
- }
164
- const _c6$1 = function (a0) { return { backgroundColor: a0 }; };
165
- function SubTableComponent_div_6_Template(rf, ctx) {
166
- if (rf & 1) {
167
- i0.ɵɵelementStart(0, "div", 13)(1, "div", 14);
168
- i0.ɵɵtemplate(2, SubTableComponent_div_6_div_2_Template, 4, 11, "div", 15);
169
- i0.ɵɵelementEnd()();
170
- }
171
- if (rf & 2) {
172
- const row_r12 = ctx.$implicit;
173
- const i_r13 = ctx.index;
174
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c6$1, i_r13 % 2 === 0 ? "#FAFAFA" : null));
175
- i0.ɵɵadvance(2);
176
- i0.ɵɵproperty("ngForOf", row_r12);
177
- }
178
- }
179
- const _c7$1 = function (a0, a1) { return { height: a0, width: a1 }; };
180
- class SubTableComponent {
181
- constructor(renderer) {
182
- this.renderer = renderer;
183
- this.selectedPage = 1;
184
- this.pages = [];
185
- this.tableData = [];
186
- }
187
- ngOnInit() { }
188
- ngAfterViewInit() {
189
- if (this.config.paginationConfig) {
190
- let height = this.table.nativeElement.offsetHeight;
191
- this.renderer.setStyle(this.table.nativeElement, "height", height - 56 + "px");
192
- }
193
- }
194
- // Main container related functions
195
- getContainerHeight() {
196
- if (this.config.height)
197
- return this.config.height;
198
- else
199
- return "";
200
- }
201
- getContainerWidth() {
202
- if (this.config.width)
203
- return this.config.width;
204
- else
205
- return "";
206
- }
207
- // Column Headers related functions
208
- getColHeadersRowHeight() {
209
- if (this.config.colHeadersRowConfig && this.config.colHeadersRowConfig.height) {
210
- return this.config.colHeadersRowConfig.height;
211
- }
212
- else
213
- return "44px";
214
- }
215
- getColHeadersRowBorderTop() {
216
- var _a, _b;
217
- if (this.config.colHeadersRowConfig && ((_a = this.config.colHeadersRowConfig.style) === null || _a === void 0 ? void 0 : _a.borderTop)) {
218
- return (_b = this.config.colHeadersRowConfig.style) === null || _b === void 0 ? void 0 : _b.borderTop;
219
- }
220
- else
221
- return "";
222
- }
223
- getColHeadersRowBorderBottom() {
224
- var _a, _b;
225
- if (this.config.colHeadersRowConfig && ((_a = this.config.colHeadersRowConfig.style) === null || _a === void 0 ? void 0 : _a.borderBottom)) {
226
- return (_b = this.config.colHeadersRowConfig.style) === null || _b === void 0 ? void 0 : _b.borderBottom;
227
- }
228
- else
229
- return "1px solid #E0E0E0";
230
- }
231
- }
232
- SubTableComponent.ɵfac = function SubTableComponent_Factory(t) { return new (t || SubTableComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
233
- SubTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubTableComponent, selectors: [["sub-table"]], viewQuery: function SubTableComponent_Query(rf, ctx) {
234
- if (rf & 1) {
235
- i0.ɵɵviewQuery(_c0$2, 5);
236
- }
237
- if (rf & 2) {
238
- let _t;
239
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
240
- }
241
- }, inputs: { config: "config", tableData: "tableData" }, decls: 7, vars: 12, consts: [["id", "main-container", 3, "ngStyle"], ["id", "table-container"], ["table", ""], ["id", "col-headers-container", 3, "ngStyle", 4, "ngIf"], ["itemSize", "50", "id", "data-container", 3, "minBufferPx", "maxBufferPx"], ["class", "row-wrapper", 3, "ngStyle", 4, "cdkVirtualFor", "cdkVirtualForOf"], ["id", "col-headers-container", 3, "ngStyle"], ["class", "col-header", 3, "style", "ngStyle", "click", 4, "ngFor", "ngForOf"], [1, "col-header", 3, "ngStyle", "click"], ["class", "col-header-text", 4, "ngIf"], [4, "ngIf"], [1, "col-header-text"], ["customTableCell", "", 3, "customComponent", "data"], [1, "row-wrapper", 3, "ngStyle"], [1, "t-row"], ["class", "t-col-container", 3, "ngStyle", "click", 4, "ngFor", "ngForOf"], [1, "t-col-container", 3, "ngStyle", "click"], [1, "t-col", 3, "ngStyle"], ["class", "t-col-text", 3, "ngStyle", 4, "ngIf"], [1, "t-col-text", 3, "ngStyle"]], template: function SubTableComponent_Template(rf, ctx) {
242
- if (rf & 1) {
243
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1, 2);
244
- i0.ɵɵtemplate(3, SubTableComponent_div_3_Template, 2, 6, "div", 3);
245
- i0.ɵɵelementStart(4, "div")(5, "cdk-virtual-scroll-viewport", 4);
246
- i0.ɵɵtemplate(6, SubTableComponent_div_6_Template, 3, 4, "div", 5);
247
- i0.ɵɵelementEnd()()()();
248
- }
249
- if (rf & 2) {
250
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(9, _c7$1, ctx.getContainerHeight(), ctx.getContainerWidth()));
251
- i0.ɵɵadvance(3);
252
- i0.ɵɵproperty("ngIf", !!ctx.config.showHeader);
253
- i0.ɵɵadvance(2);
254
- i0.ɵɵstyleProp("overflow", "overlay")("height", ctx.config.dataContainerMaxHeight || "400px");
255
- i0.ɵɵproperty("minBufferPx", ctx.config.dataContainerMaxHeight || "400")("maxBufferPx", ctx.config.dataContainerMaxHeight + 200 || "600");
256
- i0.ɵɵadvance(1);
257
- i0.ɵɵproperty("cdkVirtualForOf", ctx.tableData);
258
- }
259
- }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgStyle, i2.CdkFixedSizeVirtualScroll, i2.CdkVirtualForOf, i2.CdkVirtualScrollViewport, CustomTableCellDirective], styles: ["#main-container[_ngcontent-%COMP%]{font-family:Lato,sans-serif}#table-container[_ngcontent-%COMP%]{height:inherit}#col-headers-container[_ngcontent-%COMP%]{display:flex;background-color:#fff;height:36px;border-bottom:1px solid #e0e0e0}#data-container[_ngcontent-%COMP%]{overflow:scroll;width:100%}#data-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}#data-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4}.col-header[_ngcontent-%COMP%]{height:100%;width:160px;display:flex;align-items:center;padding:0 16px}.col-header-text[_ngcontent-%COMP%]{font-style:normal;font-weight:700;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.25px;margin:0}.t-row[_ngcontent-%COMP%]{display:flex;align-items:center;height:36px;width:100%;border-bottom:1px solid #e0e0e0}.t-row[_ngcontent-%COMP%]:hover{background-color:#f1fdf8}.t-col-container[_ngcontent-%COMP%]{padding:0 16px;height:100%}.t-col[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}.t-col-text[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:flex;align-items:center;letter-spacing:.2px;margin:0}"] });
260
- (function () {
261
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubTableComponent, [{
262
- type: Component,
263
- args: [{ selector: "sub-table", template: "<div\n id=\"main-container\"\n [ngStyle]=\"{\n height: getContainerHeight(),\n width: getContainerWidth()\n }\"\n>\n <div id=\"table-container\" #table>\n <div\n id=\"col-headers-container\"\n *ngIf=\"!!config.showHeader\"\n [ngStyle]=\"{\n height: getColHeadersRowHeight(),\n 'border-top': getColHeadersRowBorderTop(),\n 'border-bottom': getColHeadersRowBorderBottom()\n }\"\n >\n <div\n class=\"col-header\"\n (click)=\"colHeader?.action ? colHeader?.action(colHeader) : null\"\n *ngFor=\"let colHeader of config?.colHeaderConfig\"\n [style]=\"colHeader?.style\"\n [ngStyle]=\"{\n width: colHeader?.style?.width || '',\n cursor: colHeader.action ? 'pointer' : 'default',\n 'justify-content': colHeader?.style?.justifyContent\n ? colHeader?.style?.justifyContent\n : colHeader.type === 'number'\n ? 'flex-end'\n : 'space-between'\n }\"\n >\n <p *ngIf=\"colHeader?.type !== 'custom'\" class=\"col-header-text\">\n {{ colHeader?.data || \" \" }}\n </p>\n <ng-template\n *ngIf=\"colHeader?.type === 'custom'\"\n customTableCell\n [customComponent]=\"colHeader?.componentRef\"\n [data]=\"colHeader.data\"\n ></ng-template>\n </div>\n </div>\n <div>\n <cdk-virtual-scroll-viewport\n [minBufferPx]=\"config.dataContainerMaxHeight || '400'\"\n [maxBufferPx]=\"config.dataContainerMaxHeight + 200 || '600'\"\n [style.overflow]=\"'overlay'\"\n [style.height]=\"config.dataContainerMaxHeight || '400px'\"\n itemSize=\"50\"\n id=\"data-container\"\n >\n <div\n class=\"row-wrapper\"\n *cdkVirtualFor=\"let row of tableData; let i = index\"\n [ngStyle]=\"{\n backgroundColor: i % 2 === 0 ? '#FAFAFA' : null\n }\"\n >\n <div class=\"t-row\">\n <div\n (click)=\"config?.colConfig[i]?.action ? config?.colConfig[i]?.action(col) : null\"\n *ngFor=\"let col of row; let i = index\"\n [ngStyle]=\"{\n width: config?.colConfig[i]?.style?.width || config?.colHeaderConfig[i]?.style?.width || ''\n }\"\n class=\"t-col-container\"\n >\n <div\n class=\"t-col\"\n [style]=\"config.colConfig[i]?.style\"\n [ngStyle]=\"{\n width: '100%',\n cursor: config.colConfig[i].action ? 'pointer' : 'default',\n 'justify-content': config.colConfig[i]?.style?.justifyContent\n ? config.colConfig[i]?.style?.justifyContent\n : config.colConfig[i].type === 'number'\n ? 'flex-end'\n : 'space-between'\n }\"\n >\n <p\n *ngIf=\"config.colConfig[i].type !== 'custom'\"\n [ngStyle]=\"{\n color: config?.colConfig[i]?.style?.color ? config?.colConfig[i]?.style?.color : ''\n }\"\n class=\"t-col-text\"\n >\n {{ col }}\n </p>\n <ng-template\n *ngIf=\"config.colConfig[i].type === 'custom'\"\n [customComponent]=\"config.colConfig[i].componentRef\"\n [data]=\"col\"\n customTableCell\n ></ng-template>\n </div>\n </div>\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n </div>\n </div>\n</div>\n", styles: ["#main-container{font-family:Lato,sans-serif}#table-container{height:inherit}#col-headers-container{display:flex;background-color:#fff;height:36px;border-bottom:1px solid #e0e0e0}#data-container{overflow:scroll;width:100%}#data-container::-webkit-scrollbar{width:8px}#data-container::-webkit-scrollbar-thumb{background:#9aa7b4}.col-header{height:100%;width:160px;display:flex;align-items:center;padding:0 16px}.col-header-text{font-style:normal;font-weight:700;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.25px;margin:0}.t-row{display:flex;align-items:center;height:36px;width:100%;border-bottom:1px solid #e0e0e0}.t-row:hover{background-color:#f1fdf8}.t-col-container{padding:0 16px;height:100%}.t-col{display:flex;align-items:center;height:100%}.t-col-text{font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:flex;align-items:center;letter-spacing:.2px;margin:0}\n"] }]
264
- }], function () { return [{ type: i0.Renderer2 }]; }, { config: [{
265
- type: Input
266
- }], tableData: [{
267
- type: Input
268
- }], table: [{
269
- type: ViewChild,
270
- args: ["table"]
271
- }] });
272
- })();
273
-
274
- const _c0$1 = ["mainContainer"];
275
- function TableFilterComponent_div_8_Template(rf, ctx) {
276
- if (rf & 1) {
277
- const _r7 = i0.ɵɵgetCurrentView();
278
- i0.ɵɵelementStart(0, "div")(1, "div", 15)(2, "mis-checkbox", 16);
279
- i0.ɵɵlistener("valueChange", function TableFilterComponent_div_8_Template_mis_checkbox_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.updateFilter($event)); });
280
- i0.ɵɵelementEnd();
281
- i0.ɵɵelementStart(3, "span", 17);
282
- i0.ɵɵtext(4);
283
- i0.ɵɵelementEnd()()();
284
- }
285
- if (rf & 2) {
286
- const filter_r5 = ctx.$implicit;
287
- i0.ɵɵadvance(2);
288
- i0.ɵɵproperty("checked", true)("name", filter_r5.value);
289
- i0.ɵɵadvance(2);
290
- i0.ɵɵtextInterpolate(filter_r5.name);
291
- }
292
- }
293
- const _c1$1 = function () { return { "margin": "16px 0px" }; };
294
- function TableFilterComponent_div_9_Template(rf, ctx) {
295
- if (rf & 1) {
296
- i0.ɵɵelement(0, "div", 11);
297
- }
298
- if (rf & 2) {
299
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1, _c1$1));
300
- }
301
- }
302
- function TableFilterComponent_div_11_div_1_Template(rf, ctx) {
303
- if (rf & 1) {
304
- const _r11 = i0.ɵɵgetCurrentView();
305
- i0.ɵɵelementStart(0, "div", 15)(1, "mis-checkbox", 16);
306
- i0.ɵɵlistener("valueChange", function TableFilterComponent_div_11_div_1_Template_mis_checkbox_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.updateFilter($event)); });
307
- i0.ɵɵelementEnd();
308
- i0.ɵɵelementStart(2, "span", 17);
309
- i0.ɵɵtext(3);
310
- i0.ɵɵelementEnd()();
311
- }
312
- if (rf & 2) {
313
- const filter_r8 = i0.ɵɵnextContext().$implicit;
314
- i0.ɵɵadvance(1);
315
- i0.ɵɵproperty("checked", false)("name", filter_r8.value);
316
- i0.ɵɵadvance(2);
317
- i0.ɵɵtextInterpolate(filter_r8.name);
318
- }
319
- }
320
- function TableFilterComponent_div_11_Template(rf, ctx) {
321
- if (rf & 1) {
322
- i0.ɵɵelementStart(0, "div");
323
- i0.ɵɵtemplate(1, TableFilterComponent_div_11_div_1_Template, 4, 3, "div", 18);
324
- i0.ɵɵelementEnd();
325
- }
326
- if (rf & 2) {
327
- const filter_r8 = ctx.$implicit;
328
- i0.ɵɵadvance(1);
329
- i0.ɵɵproperty("ngIf", !filter_r8.checked);
330
- }
331
- }
332
- function TableFilterComponent_div_12_Template(rf, ctx) {
333
- if (rf & 1) {
334
- i0.ɵɵelementStart(0, "div", 19)(1, "span", 17);
335
- i0.ɵɵtext(2, "No matches found");
336
- i0.ɵɵelementEnd()();
337
- }
338
- }
339
- const _c2$1 = function () { return { "margin-right": "8px" }; };
340
- class TableFilterComponent {
341
- constructor() {
342
- this.filtersData = [];
343
- this.containerStyles = {};
344
- this.filtersApplied = new EventEmitter();
345
- this.filtersMap = {};
346
- this.searchValue = "";
347
- this.mySort = (a, b) => {
348
- if (a.name < b.name)
349
- return -1;
350
- else if (b.name < a.name)
351
- return 1;
352
- else
353
- return 0;
354
- };
355
- }
356
- ngOnInit() {
357
- this.filtersData.forEach(filter => {
358
- this.filtersMap[filter.value] = filter;
359
- });
360
- }
361
- resetFilters() {
362
- this.filtersData.forEach(filter => {
363
- this.filtersMap[filter.value].checked = false;
364
- });
365
- this.filtersApplied.emit([]);
366
- }
367
- applyFilters() {
368
- let list = Object.values(this.filtersMap)
369
- .filter((filter) => filter.checked)
370
- .map((filter) => {
371
- return {
372
- name: filter.name,
373
- value: filter.value
374
- };
375
- });
376
- this.filtersApplied.emit(list);
377
- }
378
- updateSearchValue(event) {
379
- this.searchValue = event.target.value;
380
- }
381
- updateFilter(data) {
382
- if (this.filtersMap[data.name]) {
383
- this.filtersMap[data.name].checked = !this.filtersMap[data.name].checked;
384
- }
385
- }
386
- getFiltersBasedOnSearchValue() {
387
- let list = Object.values(this.filtersMap);
388
- list = list.filter((filter) => {
389
- return filter.name.match(new RegExp(this.searchValue, "i"));
390
- });
391
- return list.sort(this.mySort);
392
- }
393
- getCheckedFilters() {
394
- let list = Object.values(this.filtersMap);
395
- list = list.filter((filter) => filter.checked).sort(this.mySort);
396
- return list;
397
- }
398
- }
399
- TableFilterComponent.ɵfac = function TableFilterComponent_Factory(t) { return new (t || TableFilterComponent)(); };
400
- TableFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableFilterComponent, selectors: [["mis-table-filter"]], viewQuery: function TableFilterComponent_Query(rf, ctx) {
401
- if (rf & 1) {
402
- i0.ɵɵviewQuery(_c0$1, 5);
403
- }
404
- if (rf & 2) {
405
- let _t;
406
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
407
- }
408
- }, inputs: { filtersData: "filtersData", containerStyles: "containerStyles" }, outputs: { filtersApplied: "filtersApplied" }, decls: 19, vars: 9, consts: [["id", "main-container", 3, "ngStyle"], ["mainContainer", ""], ["id", "search-bar-container"], ["type", "text", "placeholder", "Search", 3, "keyup"], ["id", "search-icon", "width", "18", "height", "18", "viewBox", "0 0 18 18", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M1.21496 8.14563C1.21496 4.3179 4.33709 1.21165 8.19249 1.21165C12.0479 1.21165 15.17 4.3179 15.17 8.14563C15.17 9.69308 14.6598 11.1226 13.797 12.2767L12.3684 13.7013C11.2043 14.5668 9.75891 15.0796 8.19249 15.0796C4.33709 15.0796 1.21496 11.9734 1.21496 8.14563ZM12.9419 14.7835C11.602 15.7329 9.96259 16.2913 8.19249 16.2913C3.66965 16.2913 -0.00012207 12.6461 -0.00012207 8.14563C-0.00012207 3.64512 3.66965 0 8.19249 0C12.7153 0 16.3851 3.64512 16.3851 8.14563C16.3851 9.93713 15.8036 11.5931 14.8183 12.9375L16.836 14.4048C17.6704 14.912 18.7553 15.6543 17.2453 17.215C15.7352 18.7756 15.0098 17.6663 14.499 16.8364L12.9419 14.7835Z", "fill", "#6A737D"], ["id", "filters-main-container"], [1, "filters-sub-container"], [4, "ngFor", "ngForOf"], ["class", "separator", 3, "ngStyle", 4, "ngIf"], ["id", "no-results-container", 4, "ngIf"], [1, "separator", 3, "ngStyle"], ["id", "buttons-container"], ["id", "reset-btn", 3, "ngStyle", "click"], ["id", "apply-btn", 3, "click"], [1, "filter"], [3, "checked", "name", "valueChange"], [1, "filter-text"], ["class", "filter", 4, "ngIf"], ["id", "no-results-container"]], template: function TableFilterComponent_Template(rf, ctx) {
409
- if (rf & 1) {
410
- i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2)(3, "input", 3);
411
- i0.ɵɵlistener("keyup", function TableFilterComponent_Template_input_keyup_3_listener($event) { return ctx.updateSearchValue($event); });
412
- i0.ɵɵelementEnd();
413
- i0.ɵɵnamespaceSVG();
414
- i0.ɵɵelementStart(4, "svg", 4);
415
- i0.ɵɵelement(5, "path", 5);
416
- i0.ɵɵelementEnd()();
417
- i0.ɵɵnamespaceHTML();
418
- i0.ɵɵelementStart(6, "div", 6)(7, "div", 7);
419
- i0.ɵɵtemplate(8, TableFilterComponent_div_8_Template, 5, 3, "div", 8);
420
- i0.ɵɵelementEnd();
421
- i0.ɵɵtemplate(9, TableFilterComponent_div_9_Template, 1, 2, "div", 9);
422
- i0.ɵɵelementStart(10, "div", 7);
423
- i0.ɵɵtemplate(11, TableFilterComponent_div_11_Template, 2, 1, "div", 8);
424
- i0.ɵɵtemplate(12, TableFilterComponent_div_12_Template, 3, 0, "div", 10);
425
- i0.ɵɵelementEnd();
426
- i0.ɵɵelement(13, "div", 11);
427
- i0.ɵɵelementStart(14, "div", 12)(15, "button", 13);
428
- i0.ɵɵlistener("click", function TableFilterComponent_Template_button_click_15_listener() { return ctx.resetFilters(); });
429
- i0.ɵɵtext(16, "Reset");
430
- i0.ɵɵelementEnd();
431
- i0.ɵɵelementStart(17, "button", 14);
432
- i0.ɵɵlistener("click", function TableFilterComponent_Template_button_click_17_listener() { return ctx.applyFilters(); });
433
- i0.ɵɵtext(18, "Apply");
434
- i0.ɵɵelementEnd()()()();
435
- }
436
- if (rf & 2) {
437
- i0.ɵɵproperty("ngStyle", ctx.containerStyles);
438
- i0.ɵɵadvance(8);
439
- i0.ɵɵproperty("ngForOf", ctx.getCheckedFilters());
440
- i0.ɵɵadvance(1);
441
- i0.ɵɵproperty("ngIf", ctx.getCheckedFilters().length && ctx.getCheckedFilters().length < ctx.filtersData.length);
442
- i0.ɵɵadvance(2);
443
- i0.ɵɵproperty("ngForOf", ctx.getFiltersBasedOnSearchValue());
444
- i0.ɵɵadvance(1);
445
- i0.ɵɵproperty("ngIf", ctx.getFiltersBasedOnSearchValue().length < 1);
446
- i0.ɵɵadvance(1);
447
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(7, _c1$1));
448
- i0.ɵɵadvance(2);
449
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(8, _c2$1));
450
- }
451
- }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgStyle, i2$1.CheckboxComponent], styles: ["#main-container[_ngcontent-%COMP%]{position:absolute;background:#ffffff;z-index:2;right:calc(50% - 128px);width:256px;padding:16px;font-family:Lato,sans-serif;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;border-radius:8px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4}#search-bar-container[_ngcontent-%COMP%]{width:100%;position:relative;margin-bottom:8px}input[_ngcontent-%COMP%]{width:100%;padding:12px 12px 12px 42px;border:solid 1px black;border-radius:4px;height:48px;box-shadow:none;outline:none;font-style:normal;font-weight:400;font-size:15px;line-height:20px;letter-spacing:.1px;color:#181f33}input[_ngcontent-%COMP%]:focus{border:solid 1px #0937b2}#search-icon[_ngcontent-%COMP%]{position:absolute;top:15px;left:12px}.filters-sub-container[_ngcontent-%COMP%]{max-height:144px;overflow-y:auto}.filter[_ngcontent-%COMP%]{height:36px;display:flex;justify-content:flex-start;align-items:center}.filter-text[_ngcontent-%COMP%]{font-size:14px;line-height:20px;padding-left:8px;letter-spacing:.2px;color:#181f33;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#no-results-container[_ngcontent-%COMP%]{height:36px;display:flex;justify-content:center;align-items:center}.separator[_ngcontent-%COMP%]{border:1px solid #e0e0e0}#buttons-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}button[_ngcontent-%COMP%]{width:calc(50% - 4px);border:none;box-shadow:none;outline:none;font-size:16px;line-height:24px;text-align:center;letter-spacing:.2px;padding:10px 30px;background:none;border-radius:8px}#apply-btn[_ngcontent-%COMP%]{background:#0937b2;color:#fff}#reset-btn[_ngcontent-%COMP%]{background:#ffffff;color:#0937b2}"] });
452
- (function () {
453
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableFilterComponent, [{
454
- type: Component,
455
- args: [{ selector: "mis-table-filter", template: "<div id=\"main-container\" #mainContainer [ngStyle]=\"containerStyles\">\n <div id=\"search-bar-container\">\n <input (keyup)=\"updateSearchValue($event)\" type=\"text\" placeholder=\"Search\" />\n <svg id=\"search-icon\" width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M1.21496 8.14563C1.21496 4.3179 4.33709 1.21165 8.19249 1.21165C12.0479 1.21165 15.17 4.3179 15.17 8.14563C15.17 9.69308 14.6598 11.1226 13.797 12.2767L12.3684 13.7013C11.2043 14.5668 9.75891 15.0796 8.19249 15.0796C4.33709 15.0796 1.21496 11.9734 1.21496 8.14563ZM12.9419 14.7835C11.602 15.7329 9.96259 16.2913 8.19249 16.2913C3.66965 16.2913 -0.00012207 12.6461 -0.00012207 8.14563C-0.00012207 3.64512 3.66965 0 8.19249 0C12.7153 0 16.3851 3.64512 16.3851 8.14563C16.3851 9.93713 15.8036 11.5931 14.8183 12.9375L16.836 14.4048C17.6704 14.912 18.7553 15.6543 17.2453 17.215C15.7352 18.7756 15.0098 17.6663 14.499 16.8364L12.9419 14.7835Z\"\n fill=\"#6A737D\"\n />\n </svg>\n </div>\n <div id=\"filters-main-container\">\n <div class=\"filters-sub-container\">\n <div *ngFor=\"let filter of getCheckedFilters()\">\n <div class=\"filter\">\n <mis-checkbox [checked]=\"true\" [name]=\"filter.value\" (valueChange)=\"updateFilter($event)\"></mis-checkbox>\n <span class=\"filter-text\">{{ filter.name }}</span>\n </div>\n </div>\n </div>\n <div class=\"separator\" [ngStyle]=\"{ 'margin': '16px 0px' }\" *ngIf=\"getCheckedFilters().length && getCheckedFilters().length < filtersData.length\"></div>\n <div class=\"filters-sub-container\">\n <div *ngFor=\"let filter of getFiltersBasedOnSearchValue()\">\n <div class=\"filter\" *ngIf=\"!filter.checked\">\n <mis-checkbox [checked]=\"false\" [name]=\"filter.value\" (valueChange)=\"updateFilter($event)\"></mis-checkbox>\n <span class=\"filter-text\">{{ filter.name }}</span>\n </div>\n </div>\n <div id=\"no-results-container\" *ngIf=\"getFiltersBasedOnSearchValue().length < 1\">\n <span class=\"filter-text\">No matches found</span>\n </div>\n </div>\n <div class=\"separator\" [ngStyle]=\"{ 'margin': '16px 0px' }\"></div>\n <div id=\"buttons-container\">\n <button id=\"reset-btn\" [ngStyle]=\"{ 'margin-right': '8px' }\" (click)=\"resetFilters()\">Reset</button>\n <button id=\"apply-btn\" (click)=\"applyFilters()\">Apply</button>\n </div>\n </div>\n</div>\n", styles: ["#main-container{position:absolute;background:#ffffff;z-index:2;right:calc(50% - 128px);width:256px;padding:16px;font-family:Lato,sans-serif;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;border-radius:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#9aa7b4}#search-bar-container{width:100%;position:relative;margin-bottom:8px}input{width:100%;padding:12px 12px 12px 42px;border:solid 1px black;border-radius:4px;height:48px;box-shadow:none;outline:none;font-style:normal;font-weight:400;font-size:15px;line-height:20px;letter-spacing:.1px;color:#181f33}input:focus{border:solid 1px #0937b2}#search-icon{position:absolute;top:15px;left:12px}.filters-sub-container{max-height:144px;overflow-y:auto}.filter{height:36px;display:flex;justify-content:flex-start;align-items:center}.filter-text{font-size:14px;line-height:20px;padding-left:8px;letter-spacing:.2px;color:#181f33;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#no-results-container{height:36px;display:flex;justify-content:center;align-items:center}.separator{border:1px solid #e0e0e0}#buttons-container{display:flex;justify-content:center;align-items:center}button{width:calc(50% - 4px);border:none;box-shadow:none;outline:none;font-size:16px;line-height:24px;text-align:center;letter-spacing:.2px;padding:10px 30px;background:none;border-radius:8px}#apply-btn{background:#0937b2;color:#fff}#reset-btn{background:#ffffff;color:#0937b2}\n"] }]
456
- }], function () { return []; }, { filtersData: [{
457
- type: Input
458
- }], containerStyles: [{
459
- type: Input
460
- }], filtersApplied: [{
461
- type: Output
462
- }], container: [{
463
- type: ViewChild,
464
- args: ["mainContainer"]
465
- }] });
466
- })();
467
-
468
- const _c0 = ["filter"];
469
- const _c1 = ["table"];
470
- const _c2 = ["colHeaderRef"];
471
- function TableComponent_mis_table_filter_1_Template(rf, ctx) {
472
- if (rf & 1) {
473
- const _r7 = i0.ɵɵgetCurrentView();
474
- i0.ɵɵelementStart(0, "mis-table-filter", 9, 10);
475
- i0.ɵɵlistener("filtersApplied", function TableComponent_mis_table_filter_1_Template_mis_table_filter_filtersApplied_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.updateAppliedFilters($event)); });
476
- i0.ɵɵelementEnd();
477
- }
478
- if (rf & 2) {
479
- const ctx_r0 = i0.ɵɵnextContext();
480
- i0.ɵɵproperty("containerStyles", ctx_r0.filterContainerStyles)("filtersData", ctx_r0.filterData);
481
- }
482
- }
483
- function TableComponent_div_5_p_2_Template(rf, ctx) {
484
- if (rf & 1) {
485
- i0.ɵɵelementStart(0, "p", 16);
486
- i0.ɵɵtext(1);
487
- i0.ɵɵelementEnd();
488
- }
489
- if (rf & 2) {
490
- const colHeader_r8 = i0.ɵɵnextContext().$implicit;
491
- i0.ɵɵadvance(1);
492
- i0.ɵɵtextInterpolate1(" ", (colHeader_r8 == null ? null : colHeader_r8.data) || " ", " ");
493
- }
494
- }
495
- function TableComponent_div_5_span_3_span_1_Template(rf, ctx) {
496
- if (rf & 1) {
497
- i0.ɵɵelement(0, "span", 21);
498
- }
499
- }
500
- function TableComponent_div_5_span_3_Template(rf, ctx) {
501
- if (rf & 1) {
502
- const _r16 = i0.ɵɵgetCurrentView();
503
- i0.ɵɵelementStart(0, "span", 17);
504
- i0.ɵɵlistener("click", function TableComponent_div_5_span_3_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r16); const colHeader_r8 = i0.ɵɵnextContext().$implicit; const ctx_r15 = i0.ɵɵnextContext(); ctx_r15.filterData = colHeader_r8.filters; ctx_r15.toggleFilter(colHeader_r8.data); return i0.ɵɵresetView($event.stopPropagation()); });
505
- i0.ɵɵtemplate(1, TableComponent_div_5_span_3_span_1_Template, 1, 0, "span", 18);
506
- i0.ɵɵnamespaceSVG();
507
- i0.ɵɵelementStart(2, "svg", 19);
508
- i0.ɵɵelement(3, "path", 20);
509
- i0.ɵɵelementEnd()();
510
- }
511
- if (rf & 2) {
512
- const colHeader_r8 = i0.ɵɵnextContext().$implicit;
513
- const ctx_r11 = i0.ɵɵnextContext();
514
- i0.ɵɵadvance(1);
515
- i0.ɵɵproperty("ngIf", (ctx_r11.appliedFilters[colHeader_r8.data] == null ? null : ctx_r11.appliedFilters[colHeader_r8.data].length) > 0);
516
- }
517
- }
518
- function TableComponent_div_5_4_ng_template_0_Template(rf, ctx) { }
519
- function TableComponent_div_5_4_Template(rf, ctx) {
520
- if (rf & 1) {
521
- i0.ɵɵtemplate(0, TableComponent_div_5_4_ng_template_0_Template, 0, 0, "ng-template", 22);
522
- }
523
- if (rf & 2) {
524
- const colHeader_r8 = i0.ɵɵnextContext().$implicit;
525
- i0.ɵɵproperty("customComponent", colHeader_r8 == null ? null : colHeader_r8.componentRef)("data", colHeader_r8.data);
526
- }
527
- }
528
- const _c3 = function (a0, a1, a2) { return { width: a0, cursor: a1, "justify-content": a2 }; };
529
- function TableComponent_div_5_Template(rf, ctx) {
530
- if (rf & 1) {
531
- const _r22 = i0.ɵɵgetCurrentView();
532
- i0.ɵɵelementStart(0, "div", 11, 12);
533
- i0.ɵɵlistener("click", function TableComponent_div_5_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r22); const colHeader_r8 = restoredCtx.$implicit; return i0.ɵɵresetView((colHeader_r8 == null ? null : colHeader_r8.action) ? colHeader_r8 == null ? null : colHeader_r8.action(colHeader_r8) : null); });
534
- i0.ɵɵtemplate(2, TableComponent_div_5_p_2_Template, 2, 1, "p", 13);
535
- i0.ɵɵtemplate(3, TableComponent_div_5_span_3_Template, 4, 1, "span", 14);
536
- i0.ɵɵtemplate(4, TableComponent_div_5_4_Template, 1, 2, null, 15);
537
- i0.ɵɵelementEnd();
538
- }
539
- if (rf & 2) {
540
- const colHeader_r8 = ctx.$implicit;
541
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(4, _c3, (colHeader_r8 == null ? null : colHeader_r8.style == null ? null : colHeader_r8.style.width) || "", colHeader_r8.action ? "pointer" : "default", (colHeader_r8 == null ? null : colHeader_r8.style == null ? null : colHeader_r8.style.justifyContent) ? colHeader_r8 == null ? null : colHeader_r8.style == null ? null : colHeader_r8.style.justifyContent : colHeader_r8.type === "number" ? "flex-end" : "space-between"));
542
- i0.ɵɵadvance(2);
543
- i0.ɵɵproperty("ngIf", (colHeader_r8 == null ? null : colHeader_r8.type) !== "custom");
544
- i0.ɵɵadvance(1);
545
- i0.ɵɵproperty("ngIf", (colHeader_r8 == null ? null : colHeader_r8.type) !== "custom" && (colHeader_r8 == null ? null : colHeader_r8.filters) && (colHeader_r8 == null ? null : colHeader_r8.filters == null ? null : colHeader_r8.filters.length) > 0);
546
- i0.ɵɵadvance(1);
547
- i0.ɵɵproperty("ngIf", (colHeader_r8 == null ? null : colHeader_r8.type) === "custom");
548
- }
549
- }
550
- const _c4 = function (a0) { return { color: a0 }; };
551
- function TableComponent_div_7_div_2_p_2_Template(rf, ctx) {
552
- if (rf & 1) {
553
- i0.ɵɵelementStart(0, "p", 30);
554
- i0.ɵɵtext(1);
555
- i0.ɵɵelementEnd();
556
- }
557
- if (rf & 2) {
558
- const ctx_r31 = i0.ɵɵnextContext();
559
- const i_r28 = ctx_r31.index;
560
- const col_r27 = ctx_r31.$implicit;
561
- const ctx_r29 = i0.ɵɵnextContext(2);
562
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c4, (ctx_r29.config == null ? null : ctx_r29.config.colConfig[i_r28] == null ? null : ctx_r29.config.colConfig[i_r28].style == null ? null : ctx_r29.config.colConfig[i_r28].style.color) ? ctx_r29.config == null ? null : ctx_r29.config.colConfig[i_r28] == null ? null : ctx_r29.config.colConfig[i_r28].style == null ? null : ctx_r29.config.colConfig[i_r28].style.color : ""));
563
- i0.ɵɵadvance(1);
564
- i0.ɵɵtextInterpolate1(" ", col_r27, " ");
565
- }
566
- }
567
- function TableComponent_div_7_div_2_3_ng_template_0_Template(rf, ctx) { }
568
- function TableComponent_div_7_div_2_3_Template(rf, ctx) {
569
- if (rf & 1) {
570
- i0.ɵɵtemplate(0, TableComponent_div_7_div_2_3_ng_template_0_Template, 0, 0, "ng-template", 22);
571
- }
572
- if (rf & 2) {
573
- const ctx_r33 = i0.ɵɵnextContext();
574
- const i_r28 = ctx_r33.index;
575
- const col_r27 = ctx_r33.$implicit;
576
- const ctx_r30 = i0.ɵɵnextContext(2);
577
- i0.ɵɵproperty("customComponent", ctx_r30.config.colConfig[i_r28].componentRef)("data", col_r27);
578
- }
579
- }
580
- const _c5 = function (a0) { return { width: a0 }; };
581
- const _c6 = function (a0) { return { "t-col-container-hover": a0 }; };
582
- const _c7 = function (a1, a2) { return { width: "100%", cursor: a1, "justify-content": a2 }; };
583
- function TableComponent_div_7_div_2_Template(rf, ctx) {
584
- if (rf & 1) {
585
- const _r35 = i0.ɵɵgetCurrentView();
586
- i0.ɵɵelementStart(0, "div", 27);
587
- i0.ɵɵlistener("click", function TableComponent_div_7_div_2_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r35); const i_r28 = restoredCtx.index; const col_r27 = restoredCtx.$implicit; const ctx_r34 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r34.config == null ? null : ctx_r34.config.colConfig[i_r28] == null ? null : ctx_r34.config.colConfig[i_r28].action) ? ctx_r34.config == null ? null : ctx_r34.config.colConfig[i_r28] == null ? null : ctx_r34.config.colConfig[i_r28].action(col_r27) : null); });
588
- i0.ɵɵelementStart(1, "div", 28);
589
- i0.ɵɵtemplate(2, TableComponent_div_7_div_2_p_2_Template, 2, 4, "p", 29);
590
- i0.ɵɵtemplate(3, TableComponent_div_7_div_2_3_Template, 1, 2, null, 15);
591
- i0.ɵɵelementEnd()();
592
- }
593
- if (rf & 2) {
594
- const i_r28 = ctx.index;
595
- const ctx_r25 = i0.ɵɵnextContext(2);
596
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c5, (ctx_r25.config == null ? null : ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].style == null ? null : ctx_r25.config.colConfig[i_r28].style.width) || (ctx_r25.config == null ? null : ctx_r25.config.colHeaderConfig[i_r28] == null ? null : ctx_r25.config.colHeaderConfig[i_r28].style == null ? null : ctx_r25.config.colHeaderConfig[i_r28].style.width) || ""))("ngClass", i0.ɵɵpureFunction1(9, _c6, ctx_r25.config.cellHover));
597
- i0.ɵɵadvance(1);
598
- i0.ɵɵstyleMap(ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].style);
599
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(11, _c7, (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].action) ? "pointer" : "default", (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].style == null ? null : ctx_r25.config.colConfig[i_r28].style.justifyContent) ? ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].style == null ? null : ctx_r25.config.colConfig[i_r28].style.justifyContent : (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].type) === "number" ? "flex-end" : "space-between"));
600
- i0.ɵɵadvance(1);
601
- i0.ɵɵproperty("ngIf", (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].type) !== "custom");
602
- i0.ɵɵadvance(1);
603
- i0.ɵɵproperty("ngIf", (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].type) === "custom");
604
- }
605
- }
606
- const _c8 = function () { return { display: "flex", justifyContent: "center", alignItems: "center", padding: "16px" }; };
607
- function TableComponent_div_7_div_3_ng_container_1_Template(rf, ctx) {
608
- if (rf & 1) {
609
- i0.ɵɵelementContainerStart(0);
610
- i0.ɵɵelementStart(1, "div", 32);
611
- i0.ɵɵtext(2, " Loading... ");
612
- i0.ɵɵelementEnd();
613
- i0.ɵɵelementContainerEnd();
614
- }
615
- if (rf & 2) {
616
- i0.ɵɵadvance(1);
617
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1, _c8));
618
- }
619
- }
620
- function TableComponent_div_7_div_3_ng_container_2_Template(rf, ctx) {
621
- if (rf & 1) {
622
- i0.ɵɵelementContainerStart(0);
623
- i0.ɵɵelementStart(1, "div", 32);
624
- i0.ɵɵtext(2, " No Data Available... ");
625
- i0.ɵɵelementEnd();
626
- i0.ɵɵelementContainerEnd();
627
- }
628
- if (rf & 2) {
629
- i0.ɵɵadvance(1);
630
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1, _c8));
631
- }
632
- }
633
- function TableComponent_div_7_div_3_ng_container_3_Template(rf, ctx) {
634
- if (rf & 1) {
635
- i0.ɵɵelementContainerStart(0);
636
- i0.ɵɵelement(1, "sub-table", 33);
637
- i0.ɵɵelementContainerEnd();
638
- }
639
- if (rf & 2) {
640
- const ctx_r38 = i0.ɵɵnextContext(3);
641
- i0.ɵɵadvance(1);
642
- i0.ɵɵproperty("config", ctx_r38.subTableconfig)("tableData", ctx_r38.subTableData);
643
- }
644
- }
645
- function TableComponent_div_7_div_3_Template(rf, ctx) {
646
- if (rf & 1) {
647
- i0.ɵɵelementStart(0, "div", 31);
648
- i0.ɵɵtemplate(1, TableComponent_div_7_div_3_ng_container_1_Template, 3, 2, "ng-container", 15);
649
- i0.ɵɵtemplate(2, TableComponent_div_7_div_3_ng_container_2_Template, 3, 2, "ng-container", 15);
650
- i0.ɵɵtemplate(3, TableComponent_div_7_div_3_ng_container_3_Template, 2, 2, "ng-container", 15);
651
- i0.ɵɵelementEnd();
652
- }
653
- if (rf & 2) {
654
- const ctx_r26 = i0.ɵɵnextContext(2);
655
- i0.ɵɵadvance(1);
656
- i0.ɵɵproperty("ngIf", ctx_r26.subTableDataLoading);
657
- i0.ɵɵadvance(1);
658
- i0.ɵɵproperty("ngIf", !ctx_r26.subTableDataLoading && ctx_r26.subTableData.length === 0);
659
- i0.ɵɵadvance(1);
660
- i0.ɵɵproperty("ngIf", !ctx_r26.subTableDataLoading && ctx_r26.subTableData.length > 0);
661
- }
662
- }
663
- const _c9 = function (a0, a1) { return { "t-row-hover": a0, "active-row": a1 }; };
664
- const _c10 = function (a0) { return { "min-height": a0 }; };
665
- function TableComponent_div_7_Template(rf, ctx) {
666
- if (rf & 1) {
667
- const _r40 = i0.ɵɵgetCurrentView();
668
- i0.ɵɵelementStart(0, "div", 23)(1, "div", 24);
669
- i0.ɵɵlistener("click", function TableComponent_div_7_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r40); const i_r24 = restoredCtx.index; const ctx_r39 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r39.selectRow(i_r24)); });
670
- i0.ɵɵtemplate(2, TableComponent_div_7_div_2_Template, 4, 14, "div", 25);
671
- i0.ɵɵelementEnd();
672
- i0.ɵɵtemplate(3, TableComponent_div_7_div_3_Template, 4, 3, "div", 26);
673
- i0.ɵɵelementEnd();
674
- }
675
- if (rf & 2) {
676
- const row_r23 = ctx.$implicit;
677
- const i_r24 = ctx.index;
678
- const ctx_r3 = i0.ɵɵnextContext();
679
- i0.ɵɵadvance(1);
680
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c9, ctx_r3.config.cellHover, i_r24 === ctx_r3.activeRowIndex))("ngStyle", i0.ɵɵpureFunction1(7, _c10, (ctx_r3.config == null ? null : ctx_r3.config.rowConfig == null ? null : ctx_r3.config.rowConfig.height) ? ctx_r3.config.rowConfig.height : "44px"));
681
- i0.ɵɵadvance(1);
682
- i0.ɵɵproperty("ngForOf", row_r23);
683
- i0.ɵɵadvance(1);
684
- i0.ɵɵproperty("ngIf", (ctx_r3.config == null ? null : ctx_r3.config.canExpand) && ctx_r3.expandedIndex === i_r24);
685
- }
686
- }
687
- const _c11 = function (a0) { return { "page-active": a0 }; };
688
- function TableComponent_div_8_div_7_span_1_Template(rf, ctx) {
689
- if (rf & 1) {
690
- const _r47 = i0.ɵɵgetCurrentView();
691
- i0.ɵɵelementStart(0, "span", 44);
692
- i0.ɵɵlistener("click", function TableComponent_div_8_div_7_span_1_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r47); const pageNumber_r42 = i0.ɵɵnextContext().$implicit; const ctx_r45 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r45.updateSelectedPage(pageNumber_r42)); });
693
- i0.ɵɵtext(1);
694
- i0.ɵɵelementEnd();
695
- }
696
- if (rf & 2) {
697
- const pageNumber_r42 = i0.ɵɵnextContext().$implicit;
698
- const ctx_r43 = i0.ɵɵnextContext(2);
699
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c11, pageNumber_r42 == (ctx_r43.config.paginationConfig == null ? null : ctx_r43.config.paginationConfig.selectedPage)));
700
- i0.ɵɵadvance(1);
701
- i0.ɵɵtextInterpolate(pageNumber_r42);
702
- }
703
- }
704
- const _c12 = function () { return { display: "flex" }; };
705
- const _c13 = function () { return { "margin-right": "4px" }; };
706
- function TableComponent_div_8_div_7_span_2_Template(rf, ctx) {
707
- if (rf & 1) {
708
- i0.ɵɵelementStart(0, "span", 45)(1, "div", 32);
709
- i0.ɵɵelement(2, "span", 46)(3, "span", 46)(4, "span", 47);
710
- i0.ɵɵelementEnd()();
711
- }
712
- if (rf & 2) {
713
- i0.ɵɵadvance(1);
714
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(3, _c12));
715
- i0.ɵɵadvance(1);
716
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(4, _c13));
717
- i0.ɵɵadvance(1);
718
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(5, _c13));
719
- }
720
- }
721
- function TableComponent_div_8_div_7_Template(rf, ctx) {
722
- if (rf & 1) {
723
- i0.ɵɵnamespaceSVG();
724
- i0.ɵɵnamespaceHTML();
725
- i0.ɵɵelementStart(0, "div");
726
- i0.ɵɵtemplate(1, TableComponent_div_8_div_7_span_1_Template, 2, 4, "span", 42);
727
- i0.ɵɵtemplate(2, TableComponent_div_8_div_7_span_2_Template, 5, 6, "span", 43);
728
- i0.ɵɵelementEnd();
729
- }
730
- if (rf & 2) {
731
- const pageNumber_r42 = ctx.$implicit;
732
- i0.ɵɵadvance(1);
733
- i0.ɵɵproperty("ngIf", pageNumber_r42 != 0);
734
- i0.ɵɵadvance(1);
735
- i0.ɵɵproperty("ngIf", pageNumber_r42 == 0);
736
- }
737
- }
738
- function TableComponent_div_8_Template(rf, ctx) {
739
- if (rf & 1) {
740
- const _r50 = i0.ɵɵgetCurrentView();
741
- i0.ɵɵelementStart(0, "div", 34)(1, "p", 35);
742
- i0.ɵɵtext(2);
743
- i0.ɵɵelementEnd();
744
- i0.ɵɵelementStart(3, "div", 36)(4, "span", 37);
745
- i0.ɵɵlistener("click", function TableComponent_div_8_Template_span_click_4_listener() { i0.ɵɵrestoreView(_r50); const ctx_r49 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r49.updateSelectedPage((ctx_r49.config.paginationConfig == null ? null : ctx_r49.config.paginationConfig.selectedPage) - 1)); });
746
- i0.ɵɵnamespaceSVG();
747
- i0.ɵɵelementStart(5, "svg", 38);
748
- i0.ɵɵelement(6, "path", 39);
749
- i0.ɵɵelementEnd()();
750
- i0.ɵɵtemplate(7, TableComponent_div_8_div_7_Template, 3, 2, "div", 40);
751
- i0.ɵɵnamespaceHTML();
752
- i0.ɵɵelementStart(8, "span", 37);
753
- i0.ɵɵlistener("click", function TableComponent_div_8_Template_span_click_8_listener() { i0.ɵɵrestoreView(_r50); const ctx_r51 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r51.updateSelectedPage((ctx_r51.config.paginationConfig == null ? null : ctx_r51.config.paginationConfig.selectedPage) + 1)); });
754
- i0.ɵɵnamespaceSVG();
755
- i0.ɵɵelementStart(9, "svg", 38);
756
- i0.ɵɵelement(10, "path", 41);
757
- i0.ɵɵelementEnd()()()();
758
- }
759
- if (rf & 2) {
760
- const ctx_r4 = i0.ɵɵnextContext();
761
- i0.ɵɵadvance(2);
762
- i0.ɵɵtextInterpolate3(" Showing ", ((ctx_r4.config.paginationConfig == null ? null : ctx_r4.config.paginationConfig.selectedPage) - 1) * ctx_r4.config.paginationConfig.rowsPerPage + 1, "-", ((ctx_r4.config.paginationConfig == null ? null : ctx_r4.config.paginationConfig.selectedPage) - 1) * ctx_r4.config.paginationConfig.rowsPerPage + ctx_r4.tableLength, " of ", ctx_r4.config.paginationConfig.totalNoOfRows, " items ");
763
- i0.ɵɵadvance(5);
764
- i0.ɵɵproperty("ngForOf", ctx_r4.pages);
765
- }
766
- }
767
- const _c14 = function (a0, a1, a2) { return { height: a0, width: a1, "overflow-x": a2 }; };
768
- const _c15 = function (a0, a1, a2) { return { "no-scrollbar": a0, scrollbar: a1, "scroll-horizontally": a2 }; };
769
- class TableComponent {
770
- constructor(renderer) {
771
- this.renderer = renderer;
772
- // Initialize with -1 to indicate no row is colored at the beginning
773
- this.activeRowIndex = 0;
774
- // Filter related variables
775
- this.showFilter = false;
776
- this.filterName = "";
777
- this.filterData = [];
778
- this.filterContainerStyles = {};
779
- this.appliedFilters = {};
780
- this.filtersUpdated = new EventEmitter();
781
- // Pagination related variables
782
- this.pages = [];
783
- this.pageSelected = new EventEmitter();
784
- this.tableData = [];
785
- this.subTableData = [];
786
- }
787
- // Function to handle row click
788
- selectRow(index) {
789
- this.activeRowIndex = index; // Set the selected index to the clicked row's index
790
- !!this.config.rowConfig.action && this.config.rowConfig.action(index);
791
- }
792
- ngOnInit() {
793
- this.tableLength = !!this.tableData ? this.tableData.length : 0;
794
- this.initializeFilters();
795
- if (this.config.paginationConfig) {
796
- this.initializePagination();
797
- }
798
- if (this.config.canScrollHorizontally === undefined) {
799
- this.config.canScrollHorizontally = false;
800
- }
801
- document.addEventListener("click", event => {
802
- if (this.filter) {
803
- let isCheckBoxClicked = true;
804
- let targetElement = event.target;
805
- if (targetElement.className === "checkmark") {
806
- isCheckBoxClicked = true;
807
- this.showFilter = true;
808
- }
809
- let isClickInsideElement = this.filter.container.nativeElement.contains(event.target);
810
- if (!isClickInsideElement && !isCheckBoxClicked) {
811
- this.toggleFilter(this.filterName);
812
- }
813
- }
814
- });
815
- }
816
- ngAfterViewInit() {
817
- if (this.config.paginationConfig) {
818
- let height = this.config.height;
819
- this.renderer.setStyle(this.table.nativeElement, "height", height - 56 + "px");
820
- }
821
- }
822
- ngOnChanges() {
823
- this.tableLength = !!this.tableData ? this.tableData.length : 0;
824
- this.activeRowIndex = this.config.activeRowIndex || 0;
825
- }
826
- // Filter related functions
827
- initializeFilters() {
828
- var _a;
829
- for (let colHeader of (_a = this.config) === null || _a === void 0 ? void 0 : _a.colHeaderConfig) {
830
- if (colHeader.filters) {
831
- let filters = [];
832
- for (let filter of colHeader.filters) {
833
- if (filter.checked) {
834
- filters.push({
835
- name: filter.name,
836
- value: filter.value
837
- });
838
- }
839
- }
840
- if (filters.length > 0)
841
- this.appliedFilters[colHeader.data] = filters;
842
- }
843
- }
844
- }
845
- toggleFilter(filterName) {
846
- if (!this.showFilter) {
847
- this.filterName = filterName;
848
- this.showFilter = true;
849
- let offSet = 0;
850
- let colHeadersReversed = this.colHeaders.toArray().reverse();
851
- for (let header of colHeadersReversed) {
852
- if (header.nativeElement.innerText === filterName)
853
- break;
854
- offSet += header.nativeElement.offsetWidth;
855
- }
856
- this.filterContainerStyles = {
857
- top: "44px",
858
- right: offSet > 0 ? offSet - 116 + "px" : "12px"
859
- };
860
- }
861
- else {
862
- this.filterName = "";
863
- this.filterData = [];
864
- this.showFilter = false;
865
- }
866
- }
867
- updateAppliedFilters(appliedFilters) {
868
- if (appliedFilters.length == 0) {
869
- delete this.appliedFilters[this.filterName];
870
- }
871
- else {
872
- this.appliedFilters[this.filterName] = appliedFilters;
873
- }
874
- this.filtersUpdated.emit(Object.assign({}, this.appliedFilters));
875
- this.toggleFilter(this.filterName);
876
- }
877
- // Pagination related functions
878
- initializePagination() {
879
- if (this.config.paginationConfig) {
880
- let len = this.config.paginationConfig.noOfPages;
881
- if (len <= 7) {
882
- for (let i = 1; i <= len; i++) {
883
- this.pages.push(i);
884
- }
885
- }
886
- else {
887
- this.pages = [1, 2, 3, 4, 0, len];
888
- }
889
- }
890
- }
891
- updateSelectedPage(pageNumber) {
892
- var _a;
893
- if (pageNumber < 1 || pageNumber > this.config.paginationConfig.noOfPages)
894
- return;
895
- this.config.paginationConfig.selectedPage = pageNumber;
896
- let len = this.config.paginationConfig.noOfPages;
897
- if (len > 7) {
898
- if (pageNumber - 2 <= 1) {
899
- this.pages = [1, 2, 3, 4, 0, len];
900
- }
901
- else if (pageNumber - 2 > 1 && pageNumber + 2 < len) {
902
- this.pages = [1, 0, pageNumber - 1, pageNumber, pageNumber + 1, 0, len];
903
- }
904
- else if (pageNumber + 2 >= len) {
905
- this.pages = [1, 0, len - 3, len - 2, len - 1, len];
906
- }
907
- }
908
- this.pageSelected.emit((_a = this.config.paginationConfig) === null || _a === void 0 ? void 0 : _a.selectedPage);
909
- }
910
- // Main container related functions
911
- getContainerHeight() {
912
- var _a;
913
- if ((_a = this.config) === null || _a === void 0 ? void 0 : _a.height)
914
- return this.config.height;
915
- else
916
- return "";
917
- }
918
- getContainerWidth() {
919
- var _a;
920
- if ((_a = this.config) === null || _a === void 0 ? void 0 : _a.width)
921
- return this.config.width;
922
- else
923
- return "";
924
- }
925
- // Column Headers related functions
926
- getColHeadersRowStyles() {
927
- var _a, _b, _c, _d;
928
- const { colHeadersRowConfig } = this.config;
929
- const minHeight = (colHeadersRowConfig === null || colHeadersRowConfig === void 0 ? void 0 : colHeadersRowConfig.height) || "44px";
930
- const borderTop = ((_a = colHeadersRowConfig === null || colHeadersRowConfig === void 0 ? void 0 : colHeadersRowConfig.style) === null || _a === void 0 ? void 0 : _a.borderTop) || "";
931
- const borderBottom = ((_b = colHeadersRowConfig === null || colHeadersRowConfig === void 0 ? void 0 : colHeadersRowConfig.style) === null || _b === void 0 ? void 0 : _b.borderBottom) || "1px solid #E0E0E0";
932
- const backgroundColor = ((_c = colHeadersRowConfig === null || colHeadersRowConfig === void 0 ? void 0 : colHeadersRowConfig.style) === null || _c === void 0 ? void 0 : _c.backgroundColor) || "#FFFFFF";
933
- const fontSize = ((_d = colHeadersRowConfig === null || colHeadersRowConfig === void 0 ? void 0 : colHeadersRowConfig.style) === null || _d === void 0 ? void 0 : _d.fontSize) || "14px";
934
- return {
935
- 'min-height': minHeight,
936
- 'border-top': borderTop,
937
- 'border-bottom': borderBottom,
938
- 'background-color': backgroundColor,
939
- 'font-size': fontSize
940
- };
941
- }
942
- }
943
- TableComponent.ɵfac = function TableComponent_Factory(t) { return new (t || TableComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
944
- TableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableComponent, selectors: [["mis-table"]], viewQuery: function TableComponent_Query(rf, ctx) {
945
- if (rf & 1) {
946
- i0.ɵɵviewQuery(_c0, 5);
947
- i0.ɵɵviewQuery(_c1, 5);
948
- i0.ɵɵviewQuery(_c2, 5);
949
- }
950
- if (rf & 2) {
951
- let _t;
952
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filter = _t.first);
953
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
954
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.colHeaders = _t);
955
- }
956
- }, inputs: { config: ["tableConfig", "config"], subTableconfig: "subTableconfig", tableDataLoading: "tableDataLoading", expandedIndex: "expandedIndex", tableData: "tableData", subTableData: "subTableData", subTableDataLoading: "subTableDataLoading" }, outputs: { filtersUpdated: "filtersUpdated", pageSelected: "pageSelected" }, features: [i0.ɵɵNgOnChangesFeature], decls: 9, vars: 15, consts: [["id", "main-container", 3, "ngStyle"], [3, "containerStyles", "filtersData", "filtersApplied", 4, "ngIf"], ["id", "table-container", 3, "ngClass"], ["table", ""], ["id", "col-headers-container", 3, "ngStyle"], ["class", "col-header", 3, "ngStyle", "click", 4, "ngFor", "ngForOf"], ["id", "data-container"], ["class", "row-wrapper", 4, "ngFor", "ngForOf"], ["id", "pagination-container", 4, "ngIf"], [3, "containerStyles", "filtersData", "filtersApplied"], ["filter", ""], [1, "col-header", 3, "ngStyle", "click"], ["colHeaderRef", ""], ["class", "col-header-text", 4, "ngIf"], ["class", "filter-icon", 3, "click", 4, "ngIf"], [4, "ngIf"], [1, "col-header-text"], [1, "filter-icon", 3, "click"], ["id", "filter-active", 4, "ngIf"], ["fill", "none", "height", "10", "viewBox", "0 0 13 10", "width", "13", "xmlns", "http://www.w3.org/2000/svg"], ["clip-rule", "evenodd", "d", "M4.97546 10H7.64213V8H4.97546V10ZM0.308472 0V2H12.3085V0H0.308472ZM2.30847 6H10.3085V4H2.30847V6Z", "fill", "#181F33", "fill-rule", "evenodd"], ["id", "filter-active"], ["customTableCell", "", 3, "customComponent", "data"], [1, "row-wrapper"], [1, "t-row", 3, "ngClass", "ngStyle", "click"], ["class", "t-col-container", 3, "ngStyle", "ngClass", "click", 4, "ngFor", "ngForOf"], ["class", "sub-row", 4, "ngIf"], [1, "t-col-container", 3, "ngStyle", "ngClass", "click"], [1, "t-col", 3, "ngStyle"], ["class", "t-col-text", 3, "ngStyle", 4, "ngIf"], [1, "t-col-text", 3, "ngStyle"], [1, "sub-row"], [3, "ngStyle"], [3, "config", "tableData"], ["id", "pagination-container"], ["id", "pagination-text"], ["id", "pages-container"], [1, "page", 3, "click"], ["fill", "none", "height", "10", "viewBox", "0 0 7 10", "width", "7", "xmlns", "http://www.w3.org/2000/svg"], ["clip-rule", "evenodd", "d", "M0.857405 5.56295C0.855794 5.56139 0.854188 5.55982 0.852588 5.55824C0.695955 5.40408 0.617641 5.20203 0.617647 4.99998C0.617641 4.79793 0.695955 4.59588 0.852588 4.44172C0.854188 4.44014 0.855794 4.43858 0.857404 4.43702L5.13066 0.231231C5.44392 -0.0770771 5.9518 -0.0770771 6.26506 0.231231C6.57831 0.53954 6.57831 1.03941 6.26506 1.34772L2.5542 4.99998L6.26506 8.65225C6.57831 8.96055 6.57831 9.46042 6.26506 9.76873C5.9518 10.077 5.44392 10.077 5.13066 9.76873L0.857405 5.56295Z", "fill", "#181F33", "fill-rule", "evenodd"], [4, "ngFor", "ngForOf"], ["clip-rule", "evenodd", "d", "M6.1426 5.56295C6.14421 5.56139 6.14581 5.55982 6.14741 5.55824C6.30405 5.40408 6.38236 5.20203 6.38236 4.99998C6.38236 4.79793 6.30405 4.59588 6.14741 4.44172C6.14581 4.44014 6.14421 4.43858 6.1426 4.43702L1.86934 0.231231C1.55608 -0.0770771 1.0482 -0.0770771 0.734942 0.231231C0.421688 0.53954 0.421688 1.03941 0.734942 1.34772L4.4458 4.99998L0.734941 8.65225C0.421686 8.96055 0.421686 9.46042 0.734941 9.76873C1.0482 10.077 1.55608 10.077 1.86934 9.76873L6.1426 5.56295Z", "fill", "#181F33", "fill-rule", "evenodd"], ["class", "page", 3, "ngClass", "click", 4, "ngIf"], ["class", "page-seperator", 4, "ngIf"], [1, "page", 3, "ngClass", "click"], [1, "page-seperator"], [1, "dot", 3, "ngStyle"], [1, "dot"]], template: function TableComponent_Template(rf, ctx) {
957
- if (rf & 1) {
958
- i0.ɵɵelementStart(0, "div", 0);
959
- i0.ɵɵtemplate(1, TableComponent_mis_table_filter_1_Template, 2, 2, "mis-table-filter", 1);
960
- i0.ɵɵelementStart(2, "div", 2, 3)(4, "div", 4);
961
- i0.ɵɵtemplate(5, TableComponent_div_5_Template, 5, 8, "div", 5);
962
- i0.ɵɵelementEnd();
963
- i0.ɵɵelementStart(6, "div", 6);
964
- i0.ɵɵtemplate(7, TableComponent_div_7_Template, 4, 9, "div", 7);
965
- i0.ɵɵelementEnd()();
966
- i0.ɵɵtemplate(8, TableComponent_div_8_Template, 11, 4, "div", 8);
967
- i0.ɵɵelementEnd();
968
- }
969
- if (rf & 2) {
970
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(7, _c14, ctx.getContainerHeight(), ctx.getContainerWidth(), ctx.config.canScrollHorizontally ? "auto" : "unset"));
971
- i0.ɵɵadvance(1);
972
- i0.ɵɵproperty("ngIf", ctx.showFilter);
973
- i0.ɵɵadvance(1);
974
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(11, _c15, ctx.expandedIndex < 0, !(ctx.expandedIndex < 0), ctx.config.canScrollHorizontally));
975
- i0.ɵɵadvance(2);
976
- i0.ɵɵproperty("ngStyle", ctx.getColHeadersRowStyles());
977
- i0.ɵɵadvance(1);
978
- i0.ɵɵproperty("ngForOf", ctx.config == null ? null : ctx.config.colHeaderConfig);
979
- i0.ɵɵadvance(2);
980
- i0.ɵɵproperty("ngForOf", ctx.tableData);
981
- i0.ɵɵadvance(1);
982
- i0.ɵɵproperty("ngIf", (ctx.config == null ? null : ctx.config.paginationConfig) && (ctx.tableLength >= ctx.config.paginationConfig.rowsPerPage || (ctx.config.paginationConfig == null ? null : ctx.config.paginationConfig.selectedPage) !== 1));
983
- }
984
- }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgStyle, SubTableComponent, TableFilterComponent, CustomTableCellDirective], styles: ["#main-container[_ngcontent-%COMP%]{font-family:Lato,sans-serif;position:relative}.no-scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar{width:0}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px;border-radius:15px}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:15px}#table-container[_ngcontent-%COMP%]{height:inherit;overflow-y:auto}.scroll-horizontally[_ngcontent-%COMP%]{height:inherit;width:fit-content;overflow-y:unset!important;overflow-x:visible}#col-headers-container[_ngcontent-%COMP%]{display:flex;align-items:center;position:sticky;background-color:#fff;width:100%;z-index:1;min-height:44px;border-bottom:1px solid #e0e0e0;top:0;left:0;right:0}.col-header[_ngcontent-%COMP%]{padding:0 16px;display:flex;align-items:center;height:100%}.col-header-text[_ngcontent-%COMP%]{font-style:normal;font-weight:700;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}.filter-icon[_ngcontent-%COMP%]{margin-left:8px;padding:0 8px;position:relative;cursor:pointer}#filter-active[_ngcontent-%COMP%]{height:8px;width:8px;background:#16cbbc;border-radius:50%;position:absolute;top:4px;right:4px}.sub-row[_ngcontent-%COMP%]{height:auto;border-bottom:none}.loader[_ngcontent-%COMP%] .mat-progress-spinner circle, .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#0937b2}.t-row[_ngcontent-%COMP%]{display:flex;min-height:44px;background-color:#fff;width:100%;border-bottom:1px solid #e0e0e0}.t-row[_ngcontent-%COMP%]:hover{background-color:#e7eefd}.active-row[_ngcontent-%COMP%]{background-color:#e6f6fd}.t-col-container[_ngcontent-%COMP%]{padding:0 16px;overflow-wrap:anywhere}.t-row-hover[_ngcontent-%COMP%]:hover{background-color:#0000}.t-col-container-hover[_ngcontent-%COMP%]:hover{background-color:#e6ebf7}.t-col-container-hover[_ngcontent-%COMP%]:first-child{border-left:1px solid #e0e0e0}.t-col-container-hover[_ngcontent-%COMP%]{border-right:1px solid #e0e0e0}.t-col[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}.t-col-text[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}#pagination-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;height:56px}#pagination-text[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:12px;line-height:18px;letter-spacing:.4px;color:#6a737d;margin:0 96px 0 0}#pages-container[_ngcontent-%COMP%]{display:flex;margin-right:32px}.page[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:1px solid #6a737d;box-sizing:border-box;border-radius:4px;width:32px;height:32px;font-size:14px;line-height:20px;letter-spacing:.2px;color:#6a737d;margin-right:8px;cursor:pointer}.page-seperator[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:32px;height:32px;margin-right:8px}.dot[_ngcontent-%COMP%]{height:3px;width:3px;border-radius:50%;background:#6a737d}.page-active[_ngcontent-%COMP%]{color:#0937b2;border:1px solid #0937b2}"] });
985
- (function () {
986
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
987
- type: Component,
988
- args: [{ selector: "mis-table", template: "<div\n [ngStyle]=\"{\n height: getContainerHeight(),\n width: getContainerWidth(),\n 'overflow-x': config.canScrollHorizontally ? 'auto' : 'unset'\n }\"\n id=\"main-container\"\n>\n <mis-table-filter\n #filter\n (filtersApplied)=\"updateAppliedFilters($event)\"\n *ngIf=\"showFilter\"\n [containerStyles]=\"filterContainerStyles\"\n [filtersData]=\"filterData\"\n ></mis-table-filter>\n <div\n #table\n id=\"table-container\"\n [ngClass]=\"{ 'no-scrollbar': expandedIndex < 0, scrollbar: !(expandedIndex < 0), 'scroll-horizontally': config.canScrollHorizontally }\"\n >\n <div\n [ngStyle]=\"getColHeadersRowStyles()\"\n id=\"col-headers-container\"\n >\n <div\n #colHeaderRef\n (click)=\"colHeader?.action ? colHeader?.action(colHeader) : null\"\n *ngFor=\"let colHeader of config?.colHeaderConfig\"\n class=\"col-header\"\n [ngStyle]=\"{\n width: colHeader?.style?.width || '',\n cursor: colHeader.action ? 'pointer' : 'default',\n 'justify-content': colHeader?.style?.justifyContent\n ? colHeader?.style?.justifyContent\n : colHeader.type === 'number'\n ? 'flex-end'\n : 'space-between'\n }\"\n >\n <p *ngIf=\"colHeader?.type !== 'custom'\" class=\"col-header-text\">\n {{ colHeader?.data || \" \" }}\n </p>\n <span\n (click)=\"filterData = colHeader.filters; toggleFilter(colHeader.data); $event.stopPropagation()\"\n *ngIf=\"colHeader?.type !== 'custom' && colHeader?.filters && colHeader?.filters?.length > 0\"\n class=\"filter-icon\"\n >\n <span *ngIf=\"appliedFilters[colHeader.data]?.length > 0\" id=\"filter-active\"></span>\n <svg fill=\"none\" height=\"10\" viewBox=\"0 0 13 10\" width=\"13\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n clip-rule=\"evenodd\"\n d=\"M4.97546 10H7.64213V8H4.97546V10ZM0.308472 0V2H12.3085V0H0.308472ZM2.30847 6H10.3085V4H2.30847V6Z\"\n fill=\"#181F33\"\n fill-rule=\"evenodd\"\n />\n </svg>\n </span>\n <ng-template\n *ngIf=\"colHeader?.type === 'custom'\"\n [customComponent]=\"colHeader?.componentRef\"\n [data]=\"colHeader.data\"\n customTableCell\n ></ng-template>\n </div>\n </div>\n <div id=\"data-container\">\n <div class=\"row-wrapper\" *ngFor=\"let row of tableData; let i = index\">\n <div\n class=\"t-row\"\n [ngClass]=\"{ 't-row-hover': config.cellHover, 'active-row': i === activeRowIndex }\"\n [ngStyle]=\"{ 'min-height': config?.rowConfig?.height ? config.rowConfig.height : '44px' }\"\n (click)=\"selectRow(i)\"\n >\n <div\n (click)=\"config?.colConfig[i]?.action ? config?.colConfig[i]?.action(col) : null\"\n *ngFor=\"let col of row; let i = index\"\n [ngStyle]=\"{\n width: config?.colConfig[i]?.style?.width || config?.colHeaderConfig[i]?.style?.width || ''\n }\"\n class=\"t-col-container\"\n [ngClass]=\"{ 't-col-container-hover': config.cellHover }\"\n >\n <div\n class=\"t-col\"\n [style]=\"config.colConfig[i]?.style\"\n [ngStyle]=\"{\n width: '100%',\n cursor: config.colConfig[i]?.action ? 'pointer' : 'default',\n 'justify-content': config.colConfig[i]?.style?.justifyContent\n ? config.colConfig[i]?.style?.justifyContent\n : config.colConfig[i]?.type === 'number'\n ? 'flex-end'\n : 'space-between'\n }\"\n >\n <p\n *ngIf=\"config.colConfig[i]?.type !== 'custom'\"\n [ngStyle]=\"{\n color: config?.colConfig[i]?.style?.color ? config?.colConfig[i]?.style?.color : ''\n }\"\n class=\"t-col-text\"\n >\n {{ col }}\n </p>\n <ng-template\n *ngIf=\"config.colConfig[i]?.type === 'custom'\"\n [customComponent]=\"config.colConfig[i].componentRef\"\n [data]=\"col\"\n customTableCell\n ></ng-template>\n </div>\n </div>\n </div>\n <div *ngIf=\"config?.canExpand && expandedIndex === i\" class=\"sub-row\">\n <ng-container *ngIf=\"subTableDataLoading\">\n <div [ngStyle]=\"{\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n padding: '16px'\n }\">\n Loading...\n </div>\n </ng-container>\n \n <ng-container *ngIf=\"!subTableDataLoading && subTableData.length === 0\">\n <div [ngStyle]=\"{\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n padding: '16px'\n }\">\n No Data Available...\n </div>\n </ng-container>\n \n <ng-container *ngIf=\"!subTableDataLoading && subTableData.length > 0\">\n <sub-table [config]=\"subTableconfig\" [tableData]=\"subTableData\"></sub-table>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"config?.paginationConfig && (tableLength >= config.paginationConfig.rowsPerPage || config.paginationConfig?.selectedPage !== 1)\"\n id=\"pagination-container\"\n >\n <p id=\"pagination-text\">\n Showing\n {{ (config.paginationConfig?.selectedPage - 1) * config.paginationConfig.rowsPerPage + 1 }}-{{\n (config.paginationConfig?.selectedPage - 1) * config.paginationConfig.rowsPerPage + tableLength\n }}\n of {{ config.paginationConfig.totalNoOfRows }} items\n </p>\n <div id=\"pages-container\">\n <span (click)=\"updateSelectedPage(config.paginationConfig?.selectedPage - 1)\" class=\"page\">\n <svg fill=\"none\" height=\"10\" viewBox=\"0 0 7 10\" width=\"7\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n clip-rule=\"evenodd\"\n d=\"M0.857405 5.56295C0.855794 5.56139 0.854188 5.55982 0.852588 5.55824C0.695955 5.40408 0.617641 5.20203 0.617647 4.99998C0.617641 4.79793 0.695955 4.59588 0.852588 4.44172C0.854188 4.44014 0.855794 4.43858 0.857404 4.43702L5.13066 0.231231C5.44392 -0.0770771 5.9518 -0.0770771 6.26506 0.231231C6.57831 0.53954 6.57831 1.03941 6.26506 1.34772L2.5542 4.99998L6.26506 8.65225C6.57831 8.96055 6.57831 9.46042 6.26506 9.76873C5.9518 10.077 5.44392 10.077 5.13066 9.76873L0.857405 5.56295Z\"\n fill=\"#181F33\"\n fill-rule=\"evenodd\"\n />\n </svg>\n </span>\n <div *ngFor=\"let pageNumber of pages\">\n <span\n (click)=\"updateSelectedPage(pageNumber)\"\n *ngIf=\"pageNumber != 0\"\n [ngClass]=\"{ 'page-active': pageNumber == config.paginationConfig?.selectedPage }\"\n class=\"page\"\n >{{ pageNumber }}</span\n >\n <span *ngIf=\"pageNumber == 0\" class=\"page-seperator\">\n <div [ngStyle]=\"{ display: 'flex' }\">\n <span class=\"dot\" [ngStyle]=\"{ 'margin-right': '4px' }\"></span>\n <span class=\"dot\" [ngStyle]=\"{ 'margin-right': '4px' }\"></span>\n <span class=\"dot\"></span>\n </div> \n </span>\n </div>\n <span (click)=\"updateSelectedPage(config.paginationConfig?.selectedPage + 1)\" class=\"page\">\n <svg fill=\"none\" height=\"10\" viewBox=\"0 0 7 10\" width=\"7\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n clip-rule=\"evenodd\"\n d=\"M6.1426 5.56295C6.14421 5.56139 6.14581 5.55982 6.14741 5.55824C6.30405 5.40408 6.38236 5.20203 6.38236 4.99998C6.38236 4.79793 6.30405 4.59588 6.14741 4.44172C6.14581 4.44014 6.14421 4.43858 6.1426 4.43702L1.86934 0.231231C1.55608 -0.0770771 1.0482 -0.0770771 0.734942 0.231231C0.421688 0.53954 0.421688 1.03941 0.734942 1.34772L4.4458 4.99998L0.734941 8.65225C0.421686 8.96055 0.421686 9.46042 0.734941 9.76873C1.0482 10.077 1.55608 10.077 1.86934 9.76873L6.1426 5.56295Z\"\n fill=\"#181F33\"\n fill-rule=\"evenodd\"\n />\n </svg>\n </span>\n </div>\n </div>\n</div>\n", styles: ["#main-container{font-family:Lato,sans-serif;position:relative}.no-scrollbar::-webkit-scrollbar{width:0}.scrollbar::-webkit-scrollbar{width:8px;height:8px;border-radius:15px}.scrollbar::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:15px}#table-container{height:inherit;overflow-y:auto}.scroll-horizontally{height:inherit;width:fit-content;overflow-y:unset!important;overflow-x:visible}#col-headers-container{display:flex;align-items:center;position:sticky;background-color:#fff;width:100%;z-index:1;min-height:44px;border-bottom:1px solid #e0e0e0;top:0;left:0;right:0}.col-header{padding:0 16px;display:flex;align-items:center;height:100%}.col-header-text{font-style:normal;font-weight:700;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}.filter-icon{margin-left:8px;padding:0 8px;position:relative;cursor:pointer}#filter-active{height:8px;width:8px;background:#16cbbc;border-radius:50%;position:absolute;top:4px;right:4px}.sub-row{height:auto;border-bottom:none}.loader ::ng-deep .mat-progress-spinner circle,.mat-spinner circle{stroke:#0937b2}.t-row{display:flex;min-height:44px;background-color:#fff;width:100%;border-bottom:1px solid #e0e0e0}.t-row:hover{background-color:#e7eefd}.active-row{background-color:#e6f6fd}.t-col-container{padding:0 16px;overflow-wrap:anywhere}.t-row-hover:hover{background-color:#0000}.t-col-container-hover:hover{background-color:#e6ebf7}.t-col-container-hover:first-child{border-left:1px solid #e0e0e0}.t-col-container-hover{border-right:1px solid #e0e0e0}.t-col{display:flex;align-items:center;height:100%}.t-col-text{font-style:normal;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}#pagination-container{display:flex;justify-content:flex-end;align-items:center;height:56px}#pagination-text{font-style:normal;font-weight:400;font-size:12px;line-height:18px;letter-spacing:.4px;color:#6a737d;margin:0 96px 0 0}#pages-container{display:flex;margin-right:32px}.page{display:flex;justify-content:center;align-items:center;border:1px solid #6a737d;box-sizing:border-box;border-radius:4px;width:32px;height:32px;font-size:14px;line-height:20px;letter-spacing:.2px;color:#6a737d;margin-right:8px;cursor:pointer}.page-seperator{display:flex;justify-content:center;align-items:center;width:32px;height:32px;margin-right:8px}.dot{height:3px;width:3px;border-radius:50%;background:#6a737d}.page-active{color:#0937b2;border:1px solid #0937b2}\n"] }]
989
- }], function () { return [{ type: i0.Renderer2 }]; }, { filtersUpdated: [{
990
- type: Output
991
- }], filter: [{
992
- type: ViewChild,
993
- args: ["filter"]
994
- }], colHeaders: [{
995
- type: ViewChildren,
996
- args: ["colHeaderRef"]
997
- }], pageSelected: [{
998
- type: Output
999
- }], config: [{
1000
- type: Input,
1001
- args: ["tableConfig"]
1002
- }], subTableconfig: [{
1003
- type: Input
1004
- }], tableDataLoading: [{
1005
- type: Input
1006
- }], expandedIndex: [{
1007
- type: Input
1008
- }], tableData: [{
1009
- type: Input
1010
- }], subTableData: [{
1011
- type: Input
1012
- }], subTableDataLoading: [{
1013
- type: Input
1014
- }], table: [{
1015
- type: ViewChild,
1016
- args: ["table"]
1017
- }] });
1018
- })();
1019
-
1020
- class TableModule {
1021
- static forRoot() {
1022
- return { ngModule: TableModule, providers: [] };
1023
- }
1024
- }
1025
- TableModule.ɵfac = function TableModule_Factory(t) { return new (t || TableModule)(); };
1026
- TableModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TableModule });
1027
- TableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, CheckboxModule, ScrollingModule] });
1028
- (function () {
1029
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableModule, [{
1030
- type: NgModule,
1031
- args: [{
1032
- declarations: [TableComponent, SubTableComponent, TableFilterComponent, CustomTableCellDirective],
1033
- imports: [CommonModule, CheckboxModule, ScrollingModule],
1034
- exports: [TableComponent, SubTableComponent, TableFilterComponent, CustomTableCellDirective]
1035
- }]
1036
- }], null, null);
1037
- })();
1038
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TableModule, { declarations: [TableComponent, SubTableComponent, TableFilterComponent, CustomTableCellDirective], imports: [CommonModule, CheckboxModule, ScrollingModule], exports: [TableComponent, SubTableComponent, TableFilterComponent, CustomTableCellDirective] }); })();
1039
-
1040
- /**
1041
- * Generated bundle index. Do not edit.
1042
- */
1043
-
1044
- export { CustomTableCellDirective, SubTableComponent, TableComponent, TableFilterComponent, TableModule };
1045
- //# sourceMappingURL=mis-crystal-design-system-table.mjs.map