mis-crystal-design-system 18.0.5 → 18.0.7-test

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 (545) 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/dropdown/dropdown.module.d.ts +1 -1
  18. package/dynamic-form/dynamic-form.component.d.ts +1 -1
  19. package/esm2022/action-list/action-list.component.mjs +363 -0
  20. package/{esm2020 → esm2022}/action-list/action-list.module.mjs +5 -5
  21. package/{esm2020 → esm2022}/analytics/analytics.module.mjs +5 -5
  22. package/esm2022/analytics/analytics.service.mjs +64 -0
  23. package/esm2022/async-search-dropdown/async-dropdown.component.mjs +536 -0
  24. package/{esm2020 → esm2022}/async-search-dropdown/async-dropdown.module.mjs +5 -5
  25. package/esm2022/button/button.component.mjs +88 -0
  26. package/esm2022/button/button.directive.mjs +61 -0
  27. package/{esm2020 → esm2022}/button/button.module.mjs +5 -5
  28. package/esm2022/checkbox/checkbox.component.mjs +124 -0
  29. package/{esm2020 → esm2022}/checkbox/checkbox.module.mjs +5 -5
  30. package/esm2022/chip/chip.component.mjs +82 -0
  31. package/{esm2020 → esm2022}/chip/chip.module.mjs +5 -5
  32. package/{esm2020 → esm2022}/datepicker_v2/datepicker.module.mjs +5 -5
  33. package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +183 -0
  34. package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +442 -0
  35. package/{esm2020/daterangepicker_v2 → esm2022/datepicker_v2}/utils/index.mjs +1 -1
  36. package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
  37. package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +165 -0
  38. package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +503 -0
  39. package/esm2022/daterangepicker_v2/utils/index.mjs +45 -0
  40. package/esm2022/drawer/drawer-body/drawer-body.component.mjs +59 -0
  41. package/{esm2020 → esm2022}/drawer/drawer-ref.mjs +4 -4
  42. package/{esm2020 → esm2022}/drawer/drawer.module.mjs +5 -5
  43. package/{esm2020 → esm2022}/drawer/drawer.service.mjs +5 -5
  44. package/esm2022/dropdown/calculate-container-height.directive.mjs +41 -0
  45. package/esm2022/dropdown/dropdown.component.mjs +464 -0
  46. package/{esm2020 → esm2022}/dropdown/dropdown.module.mjs +6 -6
  47. package/esm2022/dynamic-form/dynamic-form.component.mjs +1093 -0
  48. package/{esm2020 → esm2022}/dynamic-form/dynamic-form.module.mjs +13 -13
  49. package/esm2022/fab/fab.component.mjs +145 -0
  50. package/{esm2020 → esm2022}/fab/fab.module.mjs +5 -5
  51. package/esm2022/filter/filter-panel/filter-panel.component.mjs +396 -0
  52. package/{esm2020 → esm2022}/filter/filters.module.mjs +17 -17
  53. package/esm2022/filter/has-value.pipe.mjs +31 -0
  54. package/{esm2020 → esm2022}/input/directives/input/input.directive.mjs +6 -6
  55. package/{fesm2020/mis-crystal-design-system-input.mjs → esm2022/input/mis-input.component.mjs} +49 -109
  56. package/{esm2020 → esm2022}/input/mis-input.module.mjs +5 -5
  57. package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +89 -0
  58. package/{esm2020 → esm2022}/input-stepper/input-stepper.module.mjs +5 -5
  59. package/esm2022/loader/loader.component.mjs +25 -0
  60. package/{esm2020 → esm2022}/loader/loader.module.mjs +5 -5
  61. package/esm2022/menu/menu-close.directive.mjs +25 -0
  62. package/{esm2020 → esm2022}/menu/menu.directive.mjs +7 -7
  63. package/{esm2020 → esm2022}/menu/menu.module.mjs +5 -5
  64. package/esm2022/mobile-filter/mobile-filter.component.mjs +180 -0
  65. package/{esm2020 → esm2022}/mobile-filter/mobile-filter.module.mjs +5 -5
  66. package/{esm2020 → esm2022}/modal/modal.module.mjs +5 -5
  67. package/esm2022/modal/modal.service.mjs +70 -0
  68. package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +56 -0
  69. package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +489 -0
  70. package/{esm2020 → esm2022}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
  71. package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +516 -0
  72. package/{esm2020 → esm2022}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
  73. package/esm2022/phone-input/phone-input.component.mjs +72 -0
  74. package/{esm2020 → esm2022}/phone-input/phone-input.module.mjs +5 -5
  75. package/esm2022/radio-button/radio-button.component.mjs +57 -0
  76. package/{esm2020 → esm2022}/radio-button/radio-button.module.mjs +5 -5
  77. package/esm2022/ske-loader/ske-loader.component.mjs +54 -0
  78. package/{esm2020 → esm2022}/ske-loader/ske-loader.module.mjs +5 -5
  79. package/esm2022/slider/slider.component.mjs +46 -0
  80. package/{esm2020 → esm2022}/slider/slider.module.mjs +7 -7
  81. package/esm2022/snackbar/snackbar/snackbar.component.mjs +72 -0
  82. package/{esm2020 → esm2022}/snackbar/snackbar.module.mjs +5 -5
  83. package/esm2022/snackbar/snackbar.service.mjs +47 -0
  84. package/{esm2020 → esm2022}/specificdatepicker/specificdatepicker.module.mjs +5 -5
  85. package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +646 -0
  86. package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
  87. package/esm2022/specificdatepicker/utils/index.mjs +45 -0
  88. package/esm2022/star-rating/star-rating.component.mjs +113 -0
  89. package/{esm2020 → esm2022}/star-rating/star-rating.module.mjs +5 -5
  90. package/esm2022/switch/switch.component.mjs +56 -0
  91. package/{esm2020 → esm2022}/switch/switch.module.mjs +5 -5
  92. package/esm2022/table/custom-table-cell.directive.mjs +42 -0
  93. package/esm2022/table/filter/filter.component.mjs +177 -0
  94. package/esm2022/table/sub-table/sub-table.component.mjs +192 -0
  95. package/esm2022/table/table.component.mjs +486 -0
  96. package/{esm2020 → esm2022}/table/table.module.mjs +5 -5
  97. package/esm2022/timepicker/timepicker.component.mjs +374 -0
  98. package/esm2022/timepicker/timepicker.directive.mjs +69 -0
  99. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +5 -5
  100. package/esm2022/timerangepicker/timerangepicker.component.mjs +237 -0
  101. package/{esm2020 → esm2022}/timerangepicker/timerangepicker.module.mjs +5 -5
  102. package/esm2022/toast/toast.component.mjs +51 -0
  103. package/{esm2020 → esm2022}/toast/toast.data.service.mjs +8 -8
  104. package/{esm2020 → esm2022}/toast/toast.module.mjs +5 -5
  105. package/esm2022/toast/toast.service.mjs +91 -0
  106. package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +79 -0
  107. package/esm2022/tooltip/tooltip.directive.mjs +143 -0
  108. package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +5 -5
  109. package/esm2022/virtual-scroll/virtual-scroll.component.mjs +188 -0
  110. package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.module.mjs +7 -7
  111. package/esm2022/widgets/classes/async-widget.mjs +23 -0
  112. package/{esm2020 → esm2022}/widgets/classes/base-widget.mjs +1 -1
  113. package/esm2022/widgets/classes/sync-widget.mjs +20 -0
  114. package/{esm2020 → esm2022}/widgets/services/widget.service.mjs +5 -5
  115. package/{esm2020 → esm2022}/widgets/widgets.module.mjs +5 -5
  116. package/fab/fab.component.d.ts +4 -4
  117. package/{fesm2020 → fesm2022}/mis-crystal-design-system-action-list.mjs +106 -113
  118. package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -0
  119. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs +9 -9
  120. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs.map +1 -1
  121. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +561 -0
  122. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  123. package/fesm2022/mis-crystal-design-system-button.mjs +173 -0
  124. package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -0
  125. package/fesm2022/mis-crystal-design-system-checkbox.mjs +150 -0
  126. package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -0
  127. package/fesm2022/mis-crystal-design-system-chip.mjs +108 -0
  128. package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -0
  129. package/{fesm2020 → fesm2022}/mis-crystal-design-system-datepicker_v2.mjs +133 -140
  130. package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  131. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +737 -0
  132. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  133. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs +34 -33
  134. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs.map +1 -1
  135. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dropdown.mjs +177 -186
  136. package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -0
  137. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dynamic-form.mjs +441 -456
  138. package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  139. package/{fesm2020 → fesm2022}/mis-crystal-design-system-fab.mjs +48 -47
  140. package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -0
  141. package/{fesm2020 → fesm2022}/mis-crystal-design-system-filter.mjs +113 -120
  142. package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -0
  143. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs +35 -34
  144. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs.map +1 -1
  145. package/fesm2022/mis-crystal-design-system-input.mjs +146 -0
  146. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input.mjs.map +1 -1
  147. package/fesm2022/mis-crystal-design-system-loader.mjs +51 -0
  148. package/{fesm2020 → fesm2022}/mis-crystal-design-system-loader.mjs.map +1 -1
  149. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs +16 -16
  150. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs.map +1 -1
  151. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +205 -0
  152. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  153. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs +34 -33
  154. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs.map +1 -1
  155. package/{fesm2020 → fesm2022}/mis-crystal-design-system-multi-select-dropdown.mjs +107 -109
  156. package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  157. package/{fesm2020 → fesm2022}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +128 -129
  158. package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  159. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs +22 -21
  160. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs.map +1 -1
  161. package/fesm2022/mis-crystal-design-system-radio-button.mjs +83 -0
  162. package/{fesm2020 → fesm2022}/mis-crystal-design-system-radio-button.mjs.map +1 -1
  163. package/fesm2022/mis-crystal-design-system-ske-loader.mjs +77 -0
  164. package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  165. package/fesm2022/mis-crystal-design-system-slider.mjs +80 -0
  166. package/{fesm2020 → fesm2022}/mis-crystal-design-system-slider.mjs.map +1 -1
  167. package/{fesm2020 → fesm2022}/mis-crystal-design-system-snackbar.mjs +32 -32
  168. package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -0
  169. package/{fesm2020 → fesm2022}/mis-crystal-design-system-specificdatepicker.mjs +204 -204
  170. package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  171. package/{fesm2020 → fesm2022}/mis-crystal-design-system-star-rating.mjs +29 -28
  172. package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -0
  173. package/fesm2022/mis-crystal-design-system-switch.mjs +82 -0
  174. package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -0
  175. package/fesm2022/mis-crystal-design-system-table.mjs +913 -0
  176. package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -0
  177. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs +78 -74
  178. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs.map +1 -1
  179. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs +26 -25
  180. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
  181. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs +35 -34
  182. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs.map +1 -1
  183. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs +47 -47
  184. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs.map +1 -1
  185. package/{fesm2020 → fesm2022}/mis-crystal-design-system-virtual-scroll.mjs +50 -52
  186. package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  187. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs +4 -4
  188. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs.map +1 -1
  189. package/filter/filter-panel/filter-panel.component.d.ts +1 -1
  190. package/input/directives/input/input.directive.d.ts +1 -1
  191. package/input/mis-input.component.d.ts +1 -1
  192. package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
  193. package/loader/loader.component.d.ts +1 -1
  194. package/menu/menu-close.directive.d.ts +1 -1
  195. package/menu/menu.directive.d.ts +1 -1
  196. package/mobile-filter/mobile-filter.component.d.ts +1 -1
  197. package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
  198. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
  199. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
  200. package/package.json +125 -207
  201. package/phone-input/phone-input.component.d.ts +1 -1
  202. package/radio-button/radio-button.component.d.ts +1 -1
  203. package/ske-loader/ske-loader.component.d.ts +1 -1
  204. package/slider/slider.component.d.ts +1 -1
  205. package/snackbar/snackbar/snackbar.component.d.ts +1 -1
  206. package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
  207. package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
  208. package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
  209. package/star-rating/star-rating.component.d.ts +1 -1
  210. package/switch/switch.component.d.ts +1 -1
  211. package/table/custom-table-cell.directive.d.ts +1 -1
  212. package/table/filter/filter.component.d.ts +1 -1
  213. package/table/sub-table/sub-table.component.d.ts +1 -1
  214. package/table/table.component.d.ts +1 -1
  215. package/timepicker/timepicker.component.d.ts +1 -1
  216. package/timepicker/timepicker.directive.d.ts +1 -1
  217. package/timerangepicker/timerange.namespace.d.ts +1 -1
  218. package/timerangepicker/timerangepicker.component.d.ts +1 -1
  219. package/toast/toast.component.d.ts +1 -1
  220. package/toast/toast.service.d.ts +1 -1
  221. package/tooltip/models/tooltip.model.d.ts +1 -1
  222. package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
  223. package/tooltip/tooltip.directive.d.ts +1 -1
  224. package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
  225. package/widgets/interfaces/widgets.model.d.ts +1 -1
  226. package/button/button.directive.scss +0 -69
  227. package/drawer/drawer.scss +0 -20
  228. package/esm2020/action-list/action-list.component.mjs +0 -370
  229. package/esm2020/analytics/analytics.service.mjs +0 -64
  230. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +0 -525
  231. package/esm2020/button/button.component.mjs +0 -87
  232. package/esm2020/button/button.directive.mjs +0 -61
  233. package/esm2020/checkbox/checkbox.component.mjs +0 -124
  234. package/esm2020/chip/chip.component.mjs +0 -82
  235. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +0 -183
  236. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -449
  237. package/esm2020/datepicker_v2/utils/index.mjs +0 -45
  238. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -165
  239. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -502
  240. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +0 -58
  241. package/esm2020/dropdown/calculate-container-height.directive.mjs +0 -41
  242. package/esm2020/dropdown/dropdown.component.mjs +0 -472
  243. package/esm2020/dynamic-form/dynamic-form.component.mjs +0 -1108
  244. package/esm2020/fab/fab.component.mjs +0 -144
  245. package/esm2020/filter/filter-panel/filter-panel.component.mjs +0 -403
  246. package/esm2020/filter/has-value.pipe.mjs +0 -31
  247. package/esm2020/input/mis-input.component.mjs +0 -84
  248. package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +0 -88
  249. package/esm2020/loader/loader.component.mjs +0 -24
  250. package/esm2020/menu/menu-close.directive.mjs +0 -25
  251. package/esm2020/mobile-filter/mobile-filter.component.mjs +0 -181
  252. package/esm2020/modal/modal.service.mjs +0 -70
  253. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +0 -55
  254. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -491
  255. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -517
  256. package/esm2020/phone-input/phone-input.component.mjs +0 -71
  257. package/esm2020/radio-button/radio-button.component.mjs +0 -56
  258. package/esm2020/ske-loader/ske-loader.component.mjs +0 -53
  259. package/esm2020/slider/slider.component.mjs +0 -45
  260. package/esm2020/snackbar/snackbar/snackbar.component.mjs +0 -72
  261. package/esm2020/snackbar/snackbar.service.mjs +0 -47
  262. package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -646
  263. package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
  264. package/esm2020/specificdatepicker/utils/index.mjs +0 -45
  265. package/esm2020/star-rating/star-rating.component.mjs +0 -112
  266. package/esm2020/switch/switch.component.mjs +0 -55
  267. package/esm2020/table/custom-table-cell.directive.mjs +0 -42
  268. package/esm2020/table/filter/filter.component.mjs +0 -176
  269. package/esm2020/table/sub-table/sub-table.component.mjs +0 -193
  270. package/esm2020/table/table.component.mjs +0 -492
  271. package/esm2020/timepicker/timepicker.component.mjs +0 -370
  272. package/esm2020/timepicker/timepicker.directive.mjs +0 -69
  273. package/esm2020/timerangepicker/timerangepicker.component.mjs +0 -236
  274. package/esm2020/toast/toast.component.mjs +0 -50
  275. package/esm2020/toast/toast.service.mjs +0 -91
  276. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +0 -79
  277. package/esm2020/tooltip/tooltip.directive.mjs +0 -143
  278. package/esm2020/virtual-scroll/virtual-scroll.component.mjs +0 -190
  279. package/esm2020/widgets/classes/async-widget.mjs +0 -23
  280. package/esm2020/widgets/classes/sync-widget.mjs +0 -20
  281. package/fesm2015/mis-crystal-design-system-action-list.mjs +0 -446
  282. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +0 -1
  283. package/fesm2015/mis-crystal-design-system-analytics.mjs +0 -87
  284. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +0 -1
  285. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +0 -618
  286. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  287. package/fesm2015/mis-crystal-design-system-button.mjs +0 -189
  288. package/fesm2015/mis-crystal-design-system-button.mjs.map +0 -1
  289. package/fesm2015/mis-crystal-design-system-checkbox.mjs +0 -166
  290. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +0 -1
  291. package/fesm2015/mis-crystal-design-system-chip.mjs +0 -123
  292. package/fesm2015/mis-crystal-design-system-chip.mjs.map +0 -1
  293. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +0 -751
  294. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  295. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +0 -769
  296. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  297. package/fesm2015/mis-crystal-design-system-drawer.mjs +0 -185
  298. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +0 -1
  299. package/fesm2015/mis-crystal-design-system-dropdown.mjs +0 -616
  300. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +0 -1
  301. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +0 -1337
  302. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  303. package/fesm2015/mis-crystal-design-system-fab.mjs +0 -186
  304. package/fesm2015/mis-crystal-design-system-fab.mjs.map +0 -1
  305. package/fesm2015/mis-crystal-design-system-filter.mjs +0 -559
  306. package/fesm2015/mis-crystal-design-system-filter.mjs.map +0 -1
  307. package/fesm2015/mis-crystal-design-system-input-stepper.mjs +0 -124
  308. package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +0 -1
  309. package/fesm2015/mis-crystal-design-system-input.mjs +0 -165
  310. package/fesm2015/mis-crystal-design-system-input.mjs.map +0 -1
  311. package/fesm2015/mis-crystal-design-system-loader.mjs +0 -57
  312. package/fesm2015/mis-crystal-design-system-loader.mjs.map +0 -1
  313. package/fesm2015/mis-crystal-design-system-menu.mjs +0 -135
  314. package/fesm2015/mis-crystal-design-system-menu.mjs.map +0 -1
  315. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +0 -227
  316. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  317. package/fesm2015/mis-crystal-design-system-modal.mjs +0 -184
  318. package/fesm2015/mis-crystal-design-system-modal.mjs.map +0 -1
  319. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +0 -550
  320. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  321. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -559
  322. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  323. package/fesm2015/mis-crystal-design-system-phone-input.mjs +0 -107
  324. package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +0 -1
  325. package/fesm2015/mis-crystal-design-system-radio-button.mjs +0 -89
  326. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +0 -1
  327. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +0 -86
  328. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  329. package/fesm2015/mis-crystal-design-system-slider.mjs +0 -88
  330. package/fesm2015/mis-crystal-design-system-slider.mjs.map +0 -1
  331. package/fesm2015/mis-crystal-design-system-snackbar.mjs +0 -175
  332. package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +0 -1
  333. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +0 -970
  334. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  335. package/fesm2015/mis-crystal-design-system-star-rating.mjs +0 -145
  336. package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +0 -1
  337. package/fesm2015/mis-crystal-design-system-switch.mjs +0 -88
  338. package/fesm2015/mis-crystal-design-system-switch.mjs.map +0 -1
  339. package/fesm2015/mis-crystal-design-system-table.mjs +0 -1045
  340. package/fesm2015/mis-crystal-design-system-table.mjs.map +0 -1
  341. package/fesm2015/mis-crystal-design-system-timepicker.mjs +0 -484
  342. package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +0 -1
  343. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +0 -273
  344. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +0 -1
  345. package/fesm2015/mis-crystal-design-system-toast.mjs +0 -214
  346. package/fesm2015/mis-crystal-design-system-toast.mjs.map +0 -1
  347. package/fesm2015/mis-crystal-design-system-tooltip.mjs +0 -272
  348. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +0 -1
  349. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +0 -259
  350. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  351. package/fesm2015/mis-crystal-design-system-widgets.mjs +0 -131
  352. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +0 -1
  353. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +0 -1
  354. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +0 -550
  355. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  356. package/fesm2020/mis-crystal-design-system-button.mjs +0 -172
  357. package/fesm2020/mis-crystal-design-system-button.mjs.map +0 -1
  358. package/fesm2020/mis-crystal-design-system-checkbox.mjs +0 -150
  359. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +0 -1
  360. package/fesm2020/mis-crystal-design-system-chip.mjs +0 -108
  361. package/fesm2020/mis-crystal-design-system-chip.mjs.map +0 -1
  362. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  363. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +0 -736
  364. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  365. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +0 -1
  366. package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  367. package/fesm2020/mis-crystal-design-system-fab.mjs.map +0 -1
  368. package/fesm2020/mis-crystal-design-system-filter.mjs.map +0 -1
  369. package/fesm2020/mis-crystal-design-system-loader.mjs +0 -50
  370. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +0 -206
  371. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  372. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  373. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  374. package/fesm2020/mis-crystal-design-system-radio-button.mjs +0 -82
  375. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +0 -76
  376. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  377. package/fesm2020/mis-crystal-design-system-slider.mjs +0 -79
  378. package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +0 -1
  379. package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  380. package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +0 -1
  381. package/fesm2020/mis-crystal-design-system-styles.mjs +0 -4
  382. package/fesm2020/mis-crystal-design-system-styles.mjs.map +0 -1
  383. package/fesm2020/mis-crystal-design-system-switch.mjs +0 -81
  384. package/fesm2020/mis-crystal-design-system-switch.mjs.map +0 -1
  385. package/fesm2020/mis-crystal-design-system-table.mjs +0 -919
  386. package/fesm2020/mis-crystal-design-system-table.mjs.map +0 -1
  387. package/fesm2020/mis-crystal-design-system-utils.mjs +0 -24
  388. package/fesm2020/mis-crystal-design-system-utils.mjs.map +0 -1
  389. package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  390. package/fesm2020/mis-crystal-design-system.mjs +0 -24
  391. package/fesm2020/mis-crystal-design-system.mjs.map +0 -1
  392. package/input/mis-input.component.scss +0 -180
  393. package/modal/modal.scss +0 -9
  394. package/styles/fonts/icomoon.eot +0 -0
  395. package/styles/fonts/icomoon.svg +0 -315
  396. package/styles/fonts/icomoon.ttf +0 -0
  397. package/styles/fonts/icomoon.woff +0 -0
  398. package/styles/mis-borders-backgrounds.scss +0 -764
  399. package/styles/mis-color-constants.scss +0 -149
  400. package/styles/mis-flex.scss +0 -321
  401. package/styles/mis-fonts.scss +0 -124
  402. package/styles/mis-icons.scss +0 -1054
  403. package/styles/mis-mixins.scss +0 -46
  404. package/styles/mis-old-icon-styles.scss +0 -498
  405. package/styles/mis-spacing-sizing.scss +0 -2590
  406. package/styles/mis-typography.scss +0 -462
  407. /package/{esm2020 → esm2022}/action-list/index.mjs +0 -0
  408. /package/{esm2020 → esm2022}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
  409. /package/{esm2020 → esm2022}/action-list/public_api.mjs +0 -0
  410. /package/{esm2020 → esm2022}/analytics/index.mjs +0 -0
  411. /package/{esm2020 → esm2022}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
  412. /package/{esm2020 → esm2022}/analytics/public_api.mjs +0 -0
  413. /package/{esm2020 → esm2022}/async-search-dropdown/index.mjs +0 -0
  414. /package/{esm2020 → esm2022}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
  415. /package/{esm2020 → esm2022}/async-search-dropdown/public_api.mjs +0 -0
  416. /package/{esm2020 → esm2022}/button/index.mjs +0 -0
  417. /package/{esm2020 → esm2022}/button/mis-crystal-design-system-button.mjs +0 -0
  418. /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
  419. /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
  420. /package/{esm2020 → esm2022}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
  421. /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
  422. /package/{esm2020 → esm2022}/chip/index.mjs +0 -0
  423. /package/{esm2020 → esm2022}/chip/mis-crystal-design-system-chip.mjs +0 -0
  424. /package/{esm2020 → esm2022}/chip/public_api.mjs +0 -0
  425. /package/{esm2020 → esm2022}/datepicker_v2/datepicker-constants.mjs +0 -0
  426. /package/{esm2020 → esm2022}/datepicker_v2/index.mjs +0 -0
  427. /package/{esm2020 → esm2022}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
  428. /package/{esm2020 → esm2022}/datepicker_v2/models/dp-config.model.mjs +0 -0
  429. /package/{esm2020 → esm2022}/datepicker_v2/public_api.mjs +0 -0
  430. /package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
  431. /package/{esm2020 → esm2022}/daterangepicker_v2/index.mjs +0 -0
  432. /package/{esm2020 → esm2022}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
  433. /package/{esm2020 → esm2022}/daterangepicker_v2/models/drp-config.model.mjs +0 -0
  434. /package/{esm2020 → esm2022}/daterangepicker_v2/public_api.mjs +0 -0
  435. /package/{esm2020 → esm2022}/drawer/drawer-constants.mjs +0 -0
  436. /package/{esm2020 → esm2022}/drawer/index.mjs +0 -0
  437. /package/{esm2020 → esm2022}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
  438. /package/{esm2020 → esm2022}/drawer/public_api.mjs +0 -0
  439. /package/{esm2020 → esm2022}/dropdown/index.mjs +0 -0
  440. /package/{esm2020 → esm2022}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
  441. /package/{esm2020 → esm2022}/dropdown/public_api.mjs +0 -0
  442. /package/{esm2020 → esm2022}/dynamic-form/dynamic-form.namespace.mjs +0 -0
  443. /package/{esm2020 → esm2022}/dynamic-form/index.mjs +0 -0
  444. /package/{esm2020 → esm2022}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
  445. /package/{esm2020 → esm2022}/dynamic-form/public_api.mjs +0 -0
  446. /package/{esm2020 → esm2022}/fab/index.mjs +0 -0
  447. /package/{esm2020 → esm2022}/fab/mis-crystal-design-system-fab.mjs +0 -0
  448. /package/{esm2020 → esm2022}/fab/public_api.mjs +0 -0
  449. /package/{esm2020 → esm2022}/filter/animations/slideFromRight.mjs +0 -0
  450. /package/{esm2020 → esm2022}/filter/index.mjs +0 -0
  451. /package/{esm2020 → esm2022}/filter/mis-crystal-design-system-filter.mjs +0 -0
  452. /package/{esm2020 → esm2022}/filter/public_api.mjs +0 -0
  453. /package/{esm2020 → esm2022}/index.mjs +0 -0
  454. /package/{esm2020 → esm2022}/input/index.mjs +0 -0
  455. /package/{esm2020 → esm2022}/input/mis-crystal-design-system-input.mjs +0 -0
  456. /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
  457. /package/{esm2020 → esm2022}/input-stepper/index.mjs +0 -0
  458. /package/{esm2020 → esm2022}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
  459. /package/{esm2020 → esm2022}/input-stepper/public_api.mjs +0 -0
  460. /package/{esm2020 → esm2022}/loader/index.mjs +0 -0
  461. /package/{esm2020 → esm2022}/loader/mis-crystal-design-system-loader.mjs +0 -0
  462. /package/{esm2020 → esm2022}/loader/public_api.mjs +0 -0
  463. /package/{esm2020 → esm2022}/menu/index.mjs +0 -0
  464. /package/{esm2020 → esm2022}/menu/mis-crystal-design-system-menu.mjs +0 -0
  465. /package/{esm2020 → esm2022}/menu/public_api.mjs +0 -0
  466. /package/{esm2020 → esm2022}/mis-crystal-design-system.mjs +0 -0
  467. /package/{esm2020 → esm2022}/mobile-filter/index.mjs +0 -0
  468. /package/{esm2020 → esm2022}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
  469. /package/{esm2020 → esm2022}/mobile-filter/public_api.mjs +0 -0
  470. /package/{esm2020 → esm2022}/modal/index.mjs +0 -0
  471. /package/{esm2020 → esm2022}/modal/mis-crystal-design-system-modal.mjs +0 -0
  472. /package/{esm2020 → esm2022}/modal/modal-constants.mjs +0 -0
  473. /package/{esm2020 → esm2022}/modal/modal-ref.mjs +0 -0
  474. /package/{esm2020 → esm2022}/modal/public_api.mjs +0 -0
  475. /package/{esm2020 → esm2022}/multi-select-dropdown/index.mjs +0 -0
  476. /package/{esm2020 → esm2022}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
  477. /package/{esm2020 → esm2022}/multi-select-dropdown/public_api.mjs +0 -0
  478. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/index.mjs +0 -0
  479. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
  480. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/public_api.mjs +0 -0
  481. /package/{esm2020 → esm2022}/phone-input/index.mjs +0 -0
  482. /package/{esm2020 → esm2022}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
  483. /package/{esm2020 → esm2022}/phone-input/public_api.mjs +0 -0
  484. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  485. /package/{esm2020 → esm2022}/radio-button/index.mjs +0 -0
  486. /package/{esm2020 → esm2022}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
  487. /package/{esm2020 → esm2022}/radio-button/public_api.mjs +0 -0
  488. /package/{esm2020 → esm2022}/ske-loader/index.mjs +0 -0
  489. /package/{esm2020 → esm2022}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
  490. /package/{esm2020 → esm2022}/ske-loader/public_api.mjs +0 -0
  491. /package/{esm2020 → esm2022}/slider/index.mjs +0 -0
  492. /package/{esm2020 → esm2022}/slider/mis-crystal-design-system-slider.mjs +0 -0
  493. /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
  494. /package/{esm2020 → esm2022}/snackbar/index.mjs +0 -0
  495. /package/{esm2020 → esm2022}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
  496. /package/{esm2020 → esm2022}/snackbar/public_api.mjs +0 -0
  497. /package/{esm2020 → esm2022}/specificdatepicker/daterangepicker-constants.mjs +0 -0
  498. /package/{esm2020 → esm2022}/specificdatepicker/index.mjs +0 -0
  499. /package/{esm2020 → esm2022}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
  500. /package/{esm2020 → esm2022}/specificdatepicker/models/sdp-config.model.mjs +0 -0
  501. /package/{esm2020 → esm2022}/specificdatepicker/public_api.mjs +0 -0
  502. /package/{esm2020 → esm2022}/star-rating/index.mjs +0 -0
  503. /package/{esm2020 → esm2022}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
  504. /package/{esm2020 → esm2022}/star-rating/public_api.mjs +0 -0
  505. /package/{esm2020 → esm2022}/styles/index.mjs +0 -0
  506. /package/{esm2020 → esm2022}/styles/mis-crystal-design-system-styles.mjs +0 -0
  507. /package/{esm2020 → esm2022}/styles/public_api.mjs +0 -0
  508. /package/{esm2020 → esm2022}/switch/index.mjs +0 -0
  509. /package/{esm2020 → esm2022}/switch/mis-crystal-design-system-switch.mjs +0 -0
  510. /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
  511. /package/{esm2020 → esm2022}/table/index.mjs +0 -0
  512. /package/{esm2020 → esm2022}/table/mis-crystal-design-system-table.mjs +0 -0
  513. /package/{esm2020 → esm2022}/table/public_api.mjs +0 -0
  514. /package/{esm2020 → esm2022}/timepicker/index.mjs +0 -0
  515. /package/{esm2020 → esm2022}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
  516. /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
  517. /package/{esm2020 → esm2022}/timepicker/time.namespace.mjs +0 -0
  518. /package/{esm2020 → esm2022}/timerangepicker/index.mjs +0 -0
  519. /package/{esm2020 → esm2022}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
  520. /package/{esm2020 → esm2022}/timerangepicker/public_api.mjs +0 -0
  521. /package/{esm2020 → esm2022}/timerangepicker/timerange.namespace.mjs +0 -0
  522. /package/{esm2020 → esm2022}/toast/index.mjs +0 -0
  523. /package/{esm2020 → esm2022}/toast/mis-crystal-design-system-toast.mjs +0 -0
  524. /package/{esm2020 → esm2022}/toast/public_api.mjs +0 -0
  525. /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
  526. /package/{esm2020 → esm2022}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
  527. /package/{esm2020 → esm2022}/tooltip/models/tooltip.model.mjs +0 -0
  528. /package/{esm2020 → esm2022}/tooltip/public_api.mjs +0 -0
  529. /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
  530. /package/{esm2020 → esm2022}/utils/mis-crystal-design-system-utils.mjs +0 -0
  531. /package/{esm2020 → esm2022}/virtual-scroll/index.mjs +0 -0
  532. /package/{esm2020 → esm2022}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
  533. /package/{esm2020 → esm2022}/virtual-scroll/public_api.mjs +0 -0
  534. /package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
  535. /package/{esm2020 → esm2022}/widgets/classes/widget-group.mjs +0 -0
  536. /package/{esm2020 → esm2022}/widgets/index.mjs +0 -0
  537. /package/{esm2020 → esm2022}/widgets/interfaces/widgets.model.mjs +0 -0
  538. /package/{esm2020 → esm2022}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
  539. /package/{esm2020 → esm2022}/widgets/public_api.mjs +0 -0
  540. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs +0 -0
  541. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs.map +0 -0
  542. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs +0 -0
  543. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs.map +0 -0
  544. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs +0 -0
  545. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs.map +0 -0
@@ -0,0 +1,913 @@
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
+ set customComponent(value) {
12
+ this.component = value;
13
+ this.createComponent();
14
+ }
15
+ set data(value) {
16
+ this.cellData = value;
17
+ if (this.ref) {
18
+ this.ref.instance.data = this.cellData;
19
+ }
20
+ }
21
+ constructor(viewContainerRef, componentFactoryResolver) {
22
+ this.viewContainerRef = viewContainerRef;
23
+ this.componentFactoryResolver = componentFactoryResolver;
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
+ static { this.ɵfac = function CustomTableCellDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomTableCellDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); }; }
37
+ static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CustomTableCellDirective, selectors: [["", "customTableCell", ""]], inputs: { customComponent: "customComponent", data: "data" } }); }
38
+ }
39
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomTableCellDirective, [{
40
+ type: Directive,
41
+ args: [{
42
+ selector: "[customTableCell]"
43
+ }]
44
+ }], () => [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }], { customComponent: [{
45
+ type: Input
46
+ }], data: [{
47
+ type: Input
48
+ }] }); })();
49
+
50
+ const _c0$2 = ["table"];
51
+ const _c1$2 = (a0, a1) => ({ height: a0, width: a1 });
52
+ const _c2$2 = (a0, a1, a2) => ({ height: a0, "border-top": a1, "border-bottom": a2 });
53
+ const _c3$1 = (a0, a1, a2) => ({ width: a0, cursor: a1, "justify-content": a2 });
54
+ const _c4$1 = a0 => ({ backgroundColor: a0 });
55
+ const _c5$1 = a0 => ({ width: a0 });
56
+ const _c6$1 = (a0, a1) => ({ width: "100%", cursor: a0, "justify-content": a1 });
57
+ const _c7$1 = a0 => ({ color: a0 });
58
+ function SubTableComponent_div_3_div_1_p_1_Template(rf, ctx) { if (rf & 1) {
59
+ i0.ɵɵelementStart(0, "p", 11);
60
+ i0.ɵɵtext(1);
61
+ i0.ɵɵelementEnd();
62
+ } if (rf & 2) {
63
+ const colHeader_r2 = i0.ɵɵnextContext().$implicit;
64
+ i0.ɵɵadvance();
65
+ i0.ɵɵtextInterpolate1(" ", (colHeader_r2 == null ? null : colHeader_r2.data) || " ", " ");
66
+ } }
67
+ function SubTableComponent_div_3_div_1_2_ng_template_0_Template(rf, ctx) { }
68
+ function SubTableComponent_div_3_div_1_2_Template(rf, ctx) { if (rf & 1) {
69
+ i0.ɵɵtemplate(0, SubTableComponent_div_3_div_1_2_ng_template_0_Template, 0, 0, "ng-template", 12);
70
+ } if (rf & 2) {
71
+ const colHeader_r2 = i0.ɵɵnextContext().$implicit;
72
+ i0.ɵɵproperty("customComponent", colHeader_r2 == null ? null : colHeader_r2.componentRef)("data", colHeader_r2.data);
73
+ } }
74
+ function SubTableComponent_div_3_div_1_Template(rf, ctx) { if (rf & 1) {
75
+ const _r1 = i0.ɵɵgetCurrentView();
76
+ i0.ɵɵelementStart(0, "div", 8);
77
+ i0.ɵɵlistener("click", function SubTableComponent_div_3_div_1_Template_div_click_0_listener() { const colHeader_r2 = i0.ɵɵrestoreView(_r1).$implicit; return i0.ɵɵresetView((colHeader_r2 == null ? null : colHeader_r2.action) ? colHeader_r2 == null ? null : colHeader_r2.action(colHeader_r2) : null); });
78
+ i0.ɵɵtemplate(1, SubTableComponent_div_3_div_1_p_1_Template, 2, 1, "p", 9)(2, SubTableComponent_div_3_div_1_2_Template, 1, 2, null, 10);
79
+ i0.ɵɵelementEnd();
80
+ } if (rf & 2) {
81
+ const colHeader_r2 = ctx.$implicit;
82
+ i0.ɵɵstyleMap(colHeader_r2 == null ? null : colHeader_r2.style);
83
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(5, _c3$1, (colHeader_r2 == null ? null : colHeader_r2.style == null ? null : colHeader_r2.style.width) || "", colHeader_r2.action ? "pointer" : "default", (colHeader_r2 == null ? null : colHeader_r2.style == null ? null : colHeader_r2.style.justifyContent) ? colHeader_r2 == null ? null : colHeader_r2.style == null ? null : colHeader_r2.style.justifyContent : colHeader_r2.type === "number" ? "flex-end" : "space-between"));
84
+ i0.ɵɵadvance();
85
+ i0.ɵɵproperty("ngIf", (colHeader_r2 == null ? null : colHeader_r2.type) !== "custom");
86
+ i0.ɵɵadvance();
87
+ i0.ɵɵproperty("ngIf", (colHeader_r2 == null ? null : colHeader_r2.type) === "custom");
88
+ } }
89
+ function SubTableComponent_div_3_Template(rf, ctx) { if (rf & 1) {
90
+ i0.ɵɵelementStart(0, "div", 6);
91
+ i0.ɵɵtemplate(1, SubTableComponent_div_3_div_1_Template, 3, 9, "div", 7);
92
+ i0.ɵɵelementEnd();
93
+ } if (rf & 2) {
94
+ const ctx_r2 = i0.ɵɵnextContext();
95
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(2, _c2$2, ctx_r2.getColHeadersRowHeight(), ctx_r2.getColHeadersRowBorderTop(), ctx_r2.getColHeadersRowBorderBottom()));
96
+ i0.ɵɵadvance();
97
+ i0.ɵɵproperty("ngForOf", ctx_r2.config == null ? null : ctx_r2.config.colHeaderConfig);
98
+ } }
99
+ function SubTableComponent_div_6_div_2_p_2_Template(rf, ctx) { if (rf & 1) {
100
+ i0.ɵɵelementStart(0, "p", 19);
101
+ i0.ɵɵtext(1);
102
+ i0.ɵɵelementEnd();
103
+ } if (rf & 2) {
104
+ const ctx_r7 = i0.ɵɵnextContext();
105
+ const col_r6 = ctx_r7.$implicit;
106
+ const i_r7 = ctx_r7.index;
107
+ const ctx_r2 = i0.ɵɵnextContext(2);
108
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c7$1, (ctx_r2.config == null ? null : ctx_r2.config.colConfig[i_r7] == null ? null : ctx_r2.config.colConfig[i_r7].style == null ? null : ctx_r2.config.colConfig[i_r7].style.color) ? ctx_r2.config == null ? null : ctx_r2.config.colConfig[i_r7] == null ? null : ctx_r2.config.colConfig[i_r7].style == null ? null : ctx_r2.config.colConfig[i_r7].style.color : ""));
109
+ i0.ɵɵadvance();
110
+ i0.ɵɵtextInterpolate1(" ", col_r6, " ");
111
+ } }
112
+ function SubTableComponent_div_6_div_2_3_ng_template_0_Template(rf, ctx) { }
113
+ function SubTableComponent_div_6_div_2_3_Template(rf, ctx) { if (rf & 1) {
114
+ i0.ɵɵtemplate(0, SubTableComponent_div_6_div_2_3_ng_template_0_Template, 0, 0, "ng-template", 12);
115
+ } if (rf & 2) {
116
+ const ctx_r7 = i0.ɵɵnextContext();
117
+ const col_r6 = ctx_r7.$implicit;
118
+ const i_r7 = ctx_r7.index;
119
+ const ctx_r2 = i0.ɵɵnextContext(2);
120
+ i0.ɵɵproperty("customComponent", ctx_r2.config.colConfig[i_r7].componentRef)("data", col_r6);
121
+ } }
122
+ function SubTableComponent_div_6_div_2_Template(rf, ctx) { if (rf & 1) {
123
+ const _r4 = i0.ɵɵgetCurrentView();
124
+ i0.ɵɵelementStart(0, "div", 16);
125
+ i0.ɵɵlistener("click", function SubTableComponent_div_6_div_2_Template_div_click_0_listener() { const ctx_r4 = i0.ɵɵrestoreView(_r4); const col_r6 = ctx_r4.$implicit; const i_r7 = ctx_r4.index; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r2.config == null ? null : ctx_r2.config.colConfig[i_r7] == null ? null : ctx_r2.config.colConfig[i_r7].action) ? ctx_r2.config == null ? null : ctx_r2.config.colConfig[i_r7] == null ? null : ctx_r2.config.colConfig[i_r7].action(col_r6) : null); });
126
+ i0.ɵɵelementStart(1, "div", 17);
127
+ i0.ɵɵtemplate(2, SubTableComponent_div_6_div_2_p_2_Template, 2, 4, "p", 18)(3, SubTableComponent_div_6_div_2_3_Template, 1, 2, null, 10);
128
+ i0.ɵɵelementEnd()();
129
+ } if (rf & 2) {
130
+ const i_r7 = ctx.index;
131
+ const ctx_r2 = i0.ɵɵnextContext(2);
132
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c5$1, (ctx_r2.config == null ? null : ctx_r2.config.colConfig[i_r7] == null ? null : ctx_r2.config.colConfig[i_r7].style == null ? null : ctx_r2.config.colConfig[i_r7].style.width) || (ctx_r2.config == null ? null : ctx_r2.config.colHeaderConfig[i_r7] == null ? null : ctx_r2.config.colHeaderConfig[i_r7].style == null ? null : ctx_r2.config.colHeaderConfig[i_r7].style.width) || ""));
133
+ i0.ɵɵadvance();
134
+ i0.ɵɵstyleMap(ctx_r2.config.colConfig[i_r7] == null ? null : ctx_r2.config.colConfig[i_r7].style);
135
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(8, _c6$1, ctx_r2.config.colConfig[i_r7].action ? "pointer" : "default", (ctx_r2.config.colConfig[i_r7] == null ? null : ctx_r2.config.colConfig[i_r7].style == null ? null : ctx_r2.config.colConfig[i_r7].style.justifyContent) ? ctx_r2.config.colConfig[i_r7] == null ? null : ctx_r2.config.colConfig[i_r7].style == null ? null : ctx_r2.config.colConfig[i_r7].style.justifyContent : ctx_r2.config.colConfig[i_r7].type === "number" ? "flex-end" : "space-between"));
136
+ i0.ɵɵadvance();
137
+ i0.ɵɵproperty("ngIf", ctx_r2.config.colConfig[i_r7].type !== "custom");
138
+ i0.ɵɵadvance();
139
+ i0.ɵɵproperty("ngIf", ctx_r2.config.colConfig[i_r7].type === "custom");
140
+ } }
141
+ function SubTableComponent_div_6_Template(rf, ctx) { if (rf & 1) {
142
+ i0.ɵɵelementStart(0, "div", 13)(1, "div", 14);
143
+ i0.ɵɵtemplate(2, SubTableComponent_div_6_div_2_Template, 4, 11, "div", 15);
144
+ i0.ɵɵelementEnd()();
145
+ } if (rf & 2) {
146
+ const row_r9 = ctx.$implicit;
147
+ const i_r10 = ctx.index;
148
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c4$1, i_r10 % 2 === 0 ? "#FAFAFA" : null));
149
+ i0.ɵɵadvance(2);
150
+ i0.ɵɵproperty("ngForOf", row_r9);
151
+ } }
152
+ class SubTableComponent {
153
+ constructor(renderer) {
154
+ this.renderer = renderer;
155
+ this.selectedPage = 1;
156
+ this.pages = [];
157
+ this.tableData = [];
158
+ }
159
+ ngOnInit() { }
160
+ ngAfterViewInit() {
161
+ if (this.config.paginationConfig) {
162
+ let height = this.table.nativeElement.offsetHeight;
163
+ this.renderer.setStyle(this.table.nativeElement, "height", height - 56 + "px");
164
+ }
165
+ }
166
+ // Main container related functions
167
+ getContainerHeight() {
168
+ if (this.config.height)
169
+ return this.config.height;
170
+ else
171
+ return "";
172
+ }
173
+ getContainerWidth() {
174
+ if (this.config.width)
175
+ return this.config.width;
176
+ else
177
+ return "";
178
+ }
179
+ // Column Headers related functions
180
+ getColHeadersRowHeight() {
181
+ if (this.config.colHeadersRowConfig && this.config.colHeadersRowConfig.height) {
182
+ return this.config.colHeadersRowConfig.height;
183
+ }
184
+ else
185
+ return "44px";
186
+ }
187
+ getColHeadersRowBorderTop() {
188
+ if (this.config.colHeadersRowConfig && this.config.colHeadersRowConfig.style?.borderTop) {
189
+ return this.config.colHeadersRowConfig.style?.borderTop;
190
+ }
191
+ else
192
+ return "";
193
+ }
194
+ getColHeadersRowBorderBottom() {
195
+ if (this.config.colHeadersRowConfig && this.config.colHeadersRowConfig.style?.borderBottom) {
196
+ return this.config.colHeadersRowConfig.style?.borderBottom;
197
+ }
198
+ else
199
+ return "1px solid #E0E0E0";
200
+ }
201
+ static { this.ɵfac = function SubTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SubTableComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
202
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubTableComponent, selectors: [["sub-table"]], viewQuery: function SubTableComponent_Query(rf, ctx) { if (rf & 1) {
203
+ i0.ɵɵviewQuery(_c0$2, 5);
204
+ } if (rf & 2) {
205
+ let _t;
206
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
207
+ } }, inputs: { config: "config", tableData: "tableData" }, decls: 7, vars: 12, consts: [["table", ""], ["id", "main-container", 3, "ngStyle"], ["id", "table-container"], ["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, "click", "ngStyle"], ["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, "click", "ngStyle"], [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) { if (rf & 1) {
208
+ i0.ɵɵelementStart(0, "div", 1)(1, "div", 2, 0);
209
+ i0.ɵɵtemplate(3, SubTableComponent_div_3_Template, 2, 6, "div", 3);
210
+ i0.ɵɵelementStart(4, "div")(5, "cdk-virtual-scroll-viewport", 4);
211
+ i0.ɵɵtemplate(6, SubTableComponent_div_6_Template, 3, 4, "div", 5);
212
+ i0.ɵɵelementEnd()()()();
213
+ } if (rf & 2) {
214
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(9, _c1$2, ctx.getContainerHeight(), ctx.getContainerWidth()));
215
+ i0.ɵɵadvance(3);
216
+ i0.ɵɵproperty("ngIf", !!ctx.config.showHeader);
217
+ i0.ɵɵadvance(2);
218
+ i0.ɵɵstyleProp("overflow", "overlay")("height", ctx.config.dataContainerMaxHeight || "400px");
219
+ i0.ɵɵproperty("minBufferPx", ctx.config.dataContainerMaxHeight || "400")("maxBufferPx", ctx.config.dataContainerMaxHeight + 200 || "600");
220
+ i0.ɵɵadvance();
221
+ i0.ɵɵproperty("cdkVirtualForOf", ctx.tableData);
222
+ } }, 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}"] }); }
223
+ }
224
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubTableComponent, [{
225
+ type: Component,
226
+ 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"] }]
227
+ }], () => [{ type: i0.Renderer2 }], { config: [{
228
+ type: Input
229
+ }], tableData: [{
230
+ type: Input
231
+ }], table: [{
232
+ type: ViewChild,
233
+ args: ["table"]
234
+ }] }); })();
235
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubTableComponent, { className: "SubTableComponent" }); })();
236
+
237
+ const _c0$1 = ["mainContainer"];
238
+ const _c1$1 = () => ({ "margin": "16px 0px" });
239
+ const _c2$1 = () => ({ "margin-right": "8px" });
240
+ function TableFilterComponent_div_8_Template(rf, ctx) { if (rf & 1) {
241
+ const _r2 = i0.ɵɵgetCurrentView();
242
+ i0.ɵɵelementStart(0, "div")(1, "div", 15)(2, "mis-checkbox", 16);
243
+ i0.ɵɵlistener("valueChange", function TableFilterComponent_div_8_Template_mis_checkbox_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.updateFilter($event)); });
244
+ i0.ɵɵelementEnd();
245
+ i0.ɵɵelementStart(3, "span", 17);
246
+ i0.ɵɵtext(4);
247
+ i0.ɵɵelementEnd()()();
248
+ } if (rf & 2) {
249
+ const filter_r4 = ctx.$implicit;
250
+ i0.ɵɵadvance(2);
251
+ i0.ɵɵproperty("checked", true)("name", filter_r4.value);
252
+ i0.ɵɵadvance(2);
253
+ i0.ɵɵtextInterpolate(filter_r4.name);
254
+ } }
255
+ function TableFilterComponent_div_9_Template(rf, ctx) { if (rf & 1) {
256
+ i0.ɵɵelement(0, "div", 11);
257
+ } if (rf & 2) {
258
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1, _c1$1));
259
+ } }
260
+ function TableFilterComponent_div_11_div_1_Template(rf, ctx) { if (rf & 1) {
261
+ const _r5 = i0.ɵɵgetCurrentView();
262
+ i0.ɵɵelementStart(0, "div", 15)(1, "mis-checkbox", 16);
263
+ i0.ɵɵlistener("valueChange", function TableFilterComponent_div_11_div_1_Template_mis_checkbox_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.updateFilter($event)); });
264
+ i0.ɵɵelementEnd();
265
+ i0.ɵɵelementStart(2, "span", 17);
266
+ i0.ɵɵtext(3);
267
+ i0.ɵɵelementEnd()();
268
+ } if (rf & 2) {
269
+ const filter_r6 = i0.ɵɵnextContext().$implicit;
270
+ i0.ɵɵadvance();
271
+ i0.ɵɵproperty("checked", false)("name", filter_r6.value);
272
+ i0.ɵɵadvance(2);
273
+ i0.ɵɵtextInterpolate(filter_r6.name);
274
+ } }
275
+ function TableFilterComponent_div_11_Template(rf, ctx) { if (rf & 1) {
276
+ i0.ɵɵelementStart(0, "div");
277
+ i0.ɵɵtemplate(1, TableFilterComponent_div_11_div_1_Template, 4, 3, "div", 18);
278
+ i0.ɵɵelementEnd();
279
+ } if (rf & 2) {
280
+ const filter_r6 = ctx.$implicit;
281
+ i0.ɵɵadvance();
282
+ i0.ɵɵproperty("ngIf", !filter_r6.checked);
283
+ } }
284
+ function TableFilterComponent_div_12_Template(rf, ctx) { if (rf & 1) {
285
+ i0.ɵɵelementStart(0, "div", 19)(1, "span", 17);
286
+ i0.ɵɵtext(2, "No matches found");
287
+ i0.ɵɵelementEnd()();
288
+ } }
289
+ class TableFilterComponent {
290
+ constructor() {
291
+ this.filtersData = [];
292
+ this.containerStyles = {};
293
+ this.filtersApplied = new EventEmitter();
294
+ this.filtersMap = {};
295
+ this.searchValue = "";
296
+ this.mySort = (a, b) => {
297
+ if (a.name < b.name)
298
+ return -1;
299
+ else if (b.name < a.name)
300
+ return 1;
301
+ else
302
+ return 0;
303
+ };
304
+ }
305
+ ngOnInit() {
306
+ this.filtersData.forEach(filter => {
307
+ this.filtersMap[filter.value] = filter;
308
+ });
309
+ }
310
+ resetFilters() {
311
+ this.filtersData.forEach(filter => {
312
+ this.filtersMap[filter.value].checked = false;
313
+ });
314
+ this.filtersApplied.emit([]);
315
+ }
316
+ applyFilters() {
317
+ let list = Object.values(this.filtersMap)
318
+ .filter((filter) => filter.checked)
319
+ .map((filter) => {
320
+ return {
321
+ name: filter.name,
322
+ value: filter.value
323
+ };
324
+ });
325
+ this.filtersApplied.emit(list);
326
+ }
327
+ updateSearchValue(event) {
328
+ this.searchValue = event.target.value;
329
+ }
330
+ updateFilter(data) {
331
+ if (this.filtersMap[data.name]) {
332
+ this.filtersMap[data.name].checked = !this.filtersMap[data.name].checked;
333
+ }
334
+ }
335
+ getFiltersBasedOnSearchValue() {
336
+ let list = Object.values(this.filtersMap);
337
+ list = list.filter((filter) => {
338
+ return filter.name.match(new RegExp(this.searchValue, "i"));
339
+ });
340
+ return list.sort(this.mySort);
341
+ }
342
+ getCheckedFilters() {
343
+ let list = Object.values(this.filtersMap);
344
+ list = list.filter((filter) => filter.checked).sort(this.mySort);
345
+ return list;
346
+ }
347
+ static { this.ɵfac = function TableFilterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableFilterComponent)(); }; }
348
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableFilterComponent, selectors: [["mis-table-filter"]], viewQuery: function TableFilterComponent_Query(rf, ctx) { if (rf & 1) {
349
+ i0.ɵɵviewQuery(_c0$1, 5);
350
+ } if (rf & 2) {
351
+ let _t;
352
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
353
+ } }, inputs: { filtersData: "filtersData", containerStyles: "containerStyles" }, outputs: { filtersApplied: "filtersApplied" }, decls: 19, vars: 9, consts: [["mainContainer", ""], ["id", "main-container", 3, "ngStyle"], ["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, "click", "ngStyle"], ["id", "apply-btn", 3, "click"], [1, "filter"], [3, "valueChange", "checked", "name"], [1, "filter-text"], ["class", "filter", 4, "ngIf"], ["id", "no-results-container"]], template: function TableFilterComponent_Template(rf, ctx) { if (rf & 1) {
354
+ const _r1 = i0.ɵɵgetCurrentView();
355
+ i0.ɵɵelementStart(0, "div", 1, 0)(2, "div", 2)(3, "input", 3);
356
+ i0.ɵɵlistener("keyup", function TableFilterComponent_Template_input_keyup_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.updateSearchValue($event)); });
357
+ i0.ɵɵelementEnd();
358
+ i0.ɵɵnamespaceSVG();
359
+ i0.ɵɵelementStart(4, "svg", 4);
360
+ i0.ɵɵelement(5, "path", 5);
361
+ i0.ɵɵelementEnd()();
362
+ i0.ɵɵnamespaceHTML();
363
+ i0.ɵɵelementStart(6, "div", 6)(7, "div", 7);
364
+ i0.ɵɵtemplate(8, TableFilterComponent_div_8_Template, 5, 3, "div", 8);
365
+ i0.ɵɵelementEnd();
366
+ i0.ɵɵtemplate(9, TableFilterComponent_div_9_Template, 1, 2, "div", 9);
367
+ i0.ɵɵelementStart(10, "div", 7);
368
+ i0.ɵɵtemplate(11, TableFilterComponent_div_11_Template, 2, 1, "div", 8)(12, TableFilterComponent_div_12_Template, 3, 0, "div", 10);
369
+ i0.ɵɵelementEnd();
370
+ i0.ɵɵelement(13, "div", 11);
371
+ i0.ɵɵelementStart(14, "div", 12)(15, "button", 13);
372
+ i0.ɵɵlistener("click", function TableFilterComponent_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.resetFilters()); });
373
+ i0.ɵɵtext(16, "Reset");
374
+ i0.ɵɵelementEnd();
375
+ i0.ɵɵelementStart(17, "button", 14);
376
+ i0.ɵɵlistener("click", function TableFilterComponent_Template_button_click_17_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.applyFilters()); });
377
+ i0.ɵɵtext(18, "Apply");
378
+ i0.ɵɵelementEnd()()()();
379
+ } if (rf & 2) {
380
+ i0.ɵɵproperty("ngStyle", ctx.containerStyles);
381
+ i0.ɵɵadvance(8);
382
+ i0.ɵɵproperty("ngForOf", ctx.getCheckedFilters());
383
+ i0.ɵɵadvance();
384
+ i0.ɵɵproperty("ngIf", ctx.getCheckedFilters().length && ctx.getCheckedFilters().length < ctx.filtersData.length);
385
+ i0.ɵɵadvance(2);
386
+ i0.ɵɵproperty("ngForOf", ctx.getFiltersBasedOnSearchValue());
387
+ i0.ɵɵadvance();
388
+ i0.ɵɵproperty("ngIf", ctx.getFiltersBasedOnSearchValue().length < 1);
389
+ i0.ɵɵadvance();
390
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(7, _c1$1));
391
+ i0.ɵɵadvance(2);
392
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(8, _c2$1));
393
+ } }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgStyle, i2$1.CheckboxComponent], styles: ["#main-container[_ngcontent-%COMP%]{position:absolute;background:#fff;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:#fff;color:#0937b2}"] }); }
394
+ }
395
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableFilterComponent, [{
396
+ type: Component,
397
+ 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:#fff;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:#fff;color:#0937b2}\n"] }]
398
+ }], () => [], { filtersData: [{
399
+ type: Input
400
+ }], containerStyles: [{
401
+ type: Input
402
+ }], filtersApplied: [{
403
+ type: Output
404
+ }], container: [{
405
+ type: ViewChild,
406
+ args: ["mainContainer"]
407
+ }] }); })();
408
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableFilterComponent, { className: "TableFilterComponent" }); })();
409
+
410
+ const _c0 = ["filter"];
411
+ const _c1 = ["table"];
412
+ const _c2 = ["colHeaderRef"];
413
+ const _c3 = (a0, a1, a2) => ({ height: a0, width: a1, "overflow-x": a2 });
414
+ const _c4 = (a0, a1, a2) => ({ "no-scrollbar": a0, scrollbar: a1, "scroll-horizontally": a2 });
415
+ const _c5 = (a0, a1, a2) => ({ width: a0, cursor: a1, "justify-content": a2 });
416
+ const _c6 = (a0, a1) => ({ "t-row-hover": a0, "active-row": a1 });
417
+ const _c7 = a0 => ({ "min-height": a0 });
418
+ const _c8 = a0 => ({ width: a0 });
419
+ const _c9 = a0 => ({ "t-col-container-hover": a0 });
420
+ const _c10 = (a0, a1) => ({ width: "100%", cursor: a0, "justify-content": a1 });
421
+ const _c11 = a0 => ({ color: a0 });
422
+ const _c12 = a0 => ({ "text-ellipsis": a0 });
423
+ const _c13 = () => ({ display: "flex", justifyContent: "center", alignItems: "center", padding: "16px" });
424
+ const _c14 = a0 => ({ "page-active": a0 });
425
+ const _c15 = () => ({ display: "flex" });
426
+ const _c16 = () => ({ "margin-right": "4px" });
427
+ function TableComponent_mis_table_filter_1_Template(rf, ctx) { if (rf & 1) {
428
+ const _r1 = i0.ɵɵgetCurrentView();
429
+ i0.ɵɵelementStart(0, "mis-table-filter", 11, 1);
430
+ i0.ɵɵlistener("filtersApplied", function TableComponent_mis_table_filter_1_Template_mis_table_filter_filtersApplied_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.updateAppliedFilters($event)); });
431
+ i0.ɵɵelementEnd();
432
+ } if (rf & 2) {
433
+ const ctx_r1 = i0.ɵɵnextContext();
434
+ i0.ɵɵproperty("containerStyles", ctx_r1.filterContainerStyles)("filtersData", ctx_r1.filterData);
435
+ } }
436
+ function TableComponent_div_5_p_2_Template(rf, ctx) { if (rf & 1) {
437
+ i0.ɵɵelementStart(0, "p", 16);
438
+ i0.ɵɵtext(1);
439
+ i0.ɵɵelementEnd();
440
+ } if (rf & 2) {
441
+ const colHeader_r4 = i0.ɵɵnextContext().$implicit;
442
+ i0.ɵɵadvance();
443
+ i0.ɵɵtextInterpolate1(" ", (colHeader_r4 == null ? null : colHeader_r4.data) || " ", " ");
444
+ } }
445
+ function TableComponent_div_5_span_3_span_1_Template(rf, ctx) { if (rf & 1) {
446
+ i0.ɵɵelement(0, "span", 21);
447
+ } }
448
+ function TableComponent_div_5_span_3_Template(rf, ctx) { if (rf & 1) {
449
+ const _r5 = i0.ɵɵgetCurrentView();
450
+ i0.ɵɵelementStart(0, "span", 17);
451
+ i0.ɵɵlistener("click", function TableComponent_div_5_span_3_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const colHeader_r4 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(); ctx_r1.filterData = colHeader_r4.filters; ctx_r1.toggleFilter(colHeader_r4.data); return i0.ɵɵresetView($event.stopPropagation()); });
452
+ i0.ɵɵtemplate(1, TableComponent_div_5_span_3_span_1_Template, 1, 0, "span", 18);
453
+ i0.ɵɵnamespaceSVG();
454
+ i0.ɵɵelementStart(2, "svg", 19);
455
+ i0.ɵɵelement(3, "path", 20);
456
+ i0.ɵɵelementEnd()();
457
+ } if (rf & 2) {
458
+ const colHeader_r4 = i0.ɵɵnextContext().$implicit;
459
+ const ctx_r1 = i0.ɵɵnextContext();
460
+ i0.ɵɵadvance();
461
+ i0.ɵɵproperty("ngIf", (ctx_r1.appliedFilters[colHeader_r4.data] == null ? null : ctx_r1.appliedFilters[colHeader_r4.data].length) > 0);
462
+ } }
463
+ function TableComponent_div_5_4_ng_template_0_Template(rf, ctx) { }
464
+ function TableComponent_div_5_4_Template(rf, ctx) { if (rf & 1) {
465
+ i0.ɵɵtemplate(0, TableComponent_div_5_4_ng_template_0_Template, 0, 0, "ng-template", 22);
466
+ } if (rf & 2) {
467
+ const colHeader_r4 = i0.ɵɵnextContext().$implicit;
468
+ i0.ɵɵproperty("customComponent", colHeader_r4 == null ? null : colHeader_r4.componentRef)("data", colHeader_r4.data);
469
+ } }
470
+ function TableComponent_div_5_Template(rf, ctx) { if (rf & 1) {
471
+ const _r3 = i0.ɵɵgetCurrentView();
472
+ i0.ɵɵelementStart(0, "div", 12, 2);
473
+ i0.ɵɵlistener("click", function TableComponent_div_5_Template_div_click_0_listener() { const colHeader_r4 = i0.ɵɵrestoreView(_r3).$implicit; return i0.ɵɵresetView((colHeader_r4 == null ? null : colHeader_r4.action) ? colHeader_r4 == null ? null : colHeader_r4.action(colHeader_r4) : null); });
474
+ i0.ɵɵtemplate(2, TableComponent_div_5_p_2_Template, 2, 1, "p", 13)(3, TableComponent_div_5_span_3_Template, 4, 1, "span", 14)(4, TableComponent_div_5_4_Template, 1, 2, null, 15);
475
+ i0.ɵɵelementEnd();
476
+ } if (rf & 2) {
477
+ const colHeader_r4 = ctx.$implicit;
478
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(4, _c5, (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"));
479
+ i0.ɵɵadvance(2);
480
+ i0.ɵɵproperty("ngIf", (colHeader_r4 == null ? null : colHeader_r4.type) !== "custom");
481
+ i0.ɵɵadvance();
482
+ i0.ɵɵproperty("ngIf", (colHeader_r4 == null ? null : colHeader_r4.type) !== "custom" && (colHeader_r4 == null ? null : colHeader_r4.filters) && (colHeader_r4 == null ? null : colHeader_r4.filters == null ? null : colHeader_r4.filters.length) > 0);
483
+ i0.ɵɵadvance();
484
+ i0.ɵɵproperty("ngIf", (colHeader_r4 == null ? null : colHeader_r4.type) === "custom");
485
+ } }
486
+ function TableComponent_div_7_div_2_p_2_Template(rf, ctx) { if (rf & 1) {
487
+ i0.ɵɵelementStart(0, "p", 30);
488
+ i0.ɵɵtext(1);
489
+ i0.ɵɵelementEnd();
490
+ } if (rf & 2) {
491
+ const ctx_r11 = i0.ɵɵnextContext();
492
+ const col_r10 = ctx_r11.$implicit;
493
+ const i_r11 = ctx_r11.index;
494
+ const ctx_r1 = i0.ɵɵnextContext(2);
495
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(3, _c11, (ctx_r1.config == null ? null : ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].style == null ? null : ctx_r1.config.colConfig[i_r11].style.color) ? ctx_r1.config == null ? null : ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].style == null ? null : ctx_r1.config.colConfig[i_r11].style.color : ""))("ngClass", i0.ɵɵpureFunction1(5, _c12, !!(ctx_r1.config == null ? null : ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].style == null ? null : ctx_r1.config.colConfig[i_r11].style.textEllipsis)));
496
+ i0.ɵɵadvance();
497
+ i0.ɵɵtextInterpolate1(" ", col_r10, " ");
498
+ } }
499
+ function TableComponent_div_7_div_2_3_ng_template_0_Template(rf, ctx) { }
500
+ function TableComponent_div_7_div_2_3_Template(rf, ctx) { if (rf & 1) {
501
+ i0.ɵɵtemplate(0, TableComponent_div_7_div_2_3_ng_template_0_Template, 0, 0, "ng-template", 22);
502
+ } if (rf & 2) {
503
+ const ctx_r11 = i0.ɵɵnextContext();
504
+ const col_r10 = ctx_r11.$implicit;
505
+ const i_r11 = ctx_r11.index;
506
+ const ctx_r1 = i0.ɵɵnextContext(2);
507
+ i0.ɵɵproperty("customComponent", ctx_r1.config.colConfig[i_r11].componentRef)("data", col_r10);
508
+ } }
509
+ function TableComponent_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
510
+ const _r8 = i0.ɵɵgetCurrentView();
511
+ i0.ɵɵelementStart(0, "div", 27);
512
+ i0.ɵɵlistener("click", function TableComponent_div_7_div_2_Template_div_click_0_listener() { const ctx_r8 = i0.ɵɵrestoreView(_r8); const col_r10 = ctx_r8.$implicit; const i_r11 = ctx_r8.index; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r1.config == null ? null : ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].action) ? ctx_r1.config == null ? null : ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].action(col_r10) : null); });
513
+ i0.ɵɵelementStart(1, "div", 28);
514
+ i0.ɵɵtemplate(2, TableComponent_div_7_div_2_p_2_Template, 2, 7, "p", 29)(3, TableComponent_div_7_div_2_3_Template, 1, 2, null, 15);
515
+ i0.ɵɵelementEnd()();
516
+ } if (rf & 2) {
517
+ const i_r11 = ctx.index;
518
+ const ctx_r1 = i0.ɵɵnextContext(2);
519
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c8, (ctx_r1.config == null ? null : ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].style == null ? null : ctx_r1.config.colConfig[i_r11].style.width) || (ctx_r1.config == null ? null : ctx_r1.config.colHeaderConfig[i_r11] == null ? null : ctx_r1.config.colHeaderConfig[i_r11].style == null ? null : ctx_r1.config.colHeaderConfig[i_r11].style.width) || ""))("ngClass", i0.ɵɵpureFunction1(9, _c9, ctx_r1.config.cellHover));
520
+ i0.ɵɵadvance();
521
+ i0.ɵɵstyleMap(ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].style);
522
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(11, _c10, (ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].action) ? "pointer" : "default", (ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].style == null ? null : ctx_r1.config.colConfig[i_r11].style.justifyContent) ? ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].style == null ? null : ctx_r1.config.colConfig[i_r11].style.justifyContent : (ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].type) === "number" ? "flex-end" : "space-between"));
523
+ i0.ɵɵadvance();
524
+ i0.ɵɵproperty("ngIf", (ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].type) !== "custom");
525
+ i0.ɵɵadvance();
526
+ i0.ɵɵproperty("ngIf", (ctx_r1.config.colConfig[i_r11] == null ? null : ctx_r1.config.colConfig[i_r11].type) === "custom");
527
+ } }
528
+ function TableComponent_div_7_div_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
529
+ i0.ɵɵelementContainerStart(0);
530
+ i0.ɵɵelementStart(1, "div", 32);
531
+ i0.ɵɵtext(2, " Loading... ");
532
+ i0.ɵɵelementEnd();
533
+ i0.ɵɵelementContainerEnd();
534
+ } if (rf & 2) {
535
+ i0.ɵɵadvance();
536
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1, _c13));
537
+ } }
538
+ function TableComponent_div_7_div_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
539
+ i0.ɵɵelementContainerStart(0);
540
+ i0.ɵɵelementStart(1, "div", 32);
541
+ i0.ɵɵtext(2, " No Data Available... ");
542
+ i0.ɵɵelementEnd();
543
+ i0.ɵɵelementContainerEnd();
544
+ } if (rf & 2) {
545
+ i0.ɵɵadvance();
546
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1, _c13));
547
+ } }
548
+ function TableComponent_div_7_div_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
549
+ i0.ɵɵelementContainerStart(0);
550
+ i0.ɵɵelement(1, "sub-table", 33);
551
+ i0.ɵɵelementContainerEnd();
552
+ } if (rf & 2) {
553
+ const ctx_r1 = i0.ɵɵnextContext(3);
554
+ i0.ɵɵadvance();
555
+ i0.ɵɵproperty("config", ctx_r1.subTableconfig)("tableData", ctx_r1.subTableData);
556
+ } }
557
+ function TableComponent_div_7_div_3_Template(rf, ctx) { if (rf & 1) {
558
+ i0.ɵɵelementStart(0, "div", 31);
559
+ i0.ɵɵtemplate(1, TableComponent_div_7_div_3_ng_container_1_Template, 3, 2, "ng-container", 15)(2, TableComponent_div_7_div_3_ng_container_2_Template, 3, 2, "ng-container", 15)(3, TableComponent_div_7_div_3_ng_container_3_Template, 2, 2, "ng-container", 15);
560
+ i0.ɵɵelementEnd();
561
+ } if (rf & 2) {
562
+ const ctx_r1 = i0.ɵɵnextContext(2);
563
+ i0.ɵɵadvance();
564
+ i0.ɵɵproperty("ngIf", ctx_r1.subTableDataLoading);
565
+ i0.ɵɵadvance();
566
+ i0.ɵɵproperty("ngIf", !ctx_r1.subTableDataLoading && ctx_r1.subTableData.length === 0);
567
+ i0.ɵɵadvance();
568
+ i0.ɵɵproperty("ngIf", !ctx_r1.subTableDataLoading && ctx_r1.subTableData.length > 0);
569
+ } }
570
+ function TableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
571
+ const _r6 = i0.ɵɵgetCurrentView();
572
+ i0.ɵɵelementStart(0, "div", 23)(1, "div", 24);
573
+ i0.ɵɵlistener("click", function TableComponent_div_7_Template_div_click_1_listener() { const i_r7 = i0.ɵɵrestoreView(_r6).index; const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.selectRow(i_r7)); });
574
+ i0.ɵɵtemplate(2, TableComponent_div_7_div_2_Template, 4, 14, "div", 25);
575
+ i0.ɵɵelementEnd();
576
+ i0.ɵɵtemplate(3, TableComponent_div_7_div_3_Template, 4, 3, "div", 26);
577
+ i0.ɵɵelementEnd();
578
+ } if (rf & 2) {
579
+ const row_r13 = ctx.$implicit;
580
+ const i_r7 = ctx.index;
581
+ const ctx_r1 = i0.ɵɵnextContext();
582
+ i0.ɵɵadvance();
583
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c6, ctx_r1.config.cellHover, i_r7 === ctx_r1.activeRowIndex))("ngStyle", i0.ɵɵpureFunction1(7, _c7, (ctx_r1.config == null ? null : ctx_r1.config.rowConfig == null ? null : ctx_r1.config.rowConfig.height) ? ctx_r1.config.rowConfig.height : "44px"));
584
+ i0.ɵɵadvance();
585
+ i0.ɵɵproperty("ngForOf", row_r13);
586
+ i0.ɵɵadvance();
587
+ i0.ɵɵproperty("ngIf", (ctx_r1.config == null ? null : ctx_r1.config.canExpand) && ctx_r1.expandedIndex === i_r7);
588
+ } }
589
+ function TableComponent_div_8_div_7_span_1_Template(rf, ctx) { if (rf & 1) {
590
+ const _r15 = i0.ɵɵgetCurrentView();
591
+ i0.ɵɵelementStart(0, "span", 44);
592
+ i0.ɵɵlistener("click", function TableComponent_div_8_div_7_span_1_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r15); const pageNumber_r16 = i0.ɵɵnextContext().$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.updateSelectedPage(pageNumber_r16)); });
593
+ i0.ɵɵtext(1);
594
+ i0.ɵɵelementEnd();
595
+ } if (rf & 2) {
596
+ const pageNumber_r16 = i0.ɵɵnextContext().$implicit;
597
+ const ctx_r1 = i0.ɵɵnextContext(2);
598
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c14, pageNumber_r16 == (ctx_r1.config.paginationConfig == null ? null : ctx_r1.config.paginationConfig.selectedPage)));
599
+ i0.ɵɵadvance();
600
+ i0.ɵɵtextInterpolate(pageNumber_r16);
601
+ } }
602
+ function TableComponent_div_8_div_7_span_2_Template(rf, ctx) { if (rf & 1) {
603
+ i0.ɵɵelementStart(0, "span", 45)(1, "div", 32);
604
+ i0.ɵɵelement(2, "span", 46)(3, "span", 46)(4, "span", 47);
605
+ i0.ɵɵelementEnd()();
606
+ } if (rf & 2) {
607
+ i0.ɵɵadvance();
608
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(3, _c15));
609
+ i0.ɵɵadvance();
610
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(4, _c16));
611
+ i0.ɵɵadvance();
612
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(5, _c16));
613
+ } }
614
+ function TableComponent_div_8_div_7_Template(rf, ctx) { if (rf & 1) {
615
+ i0.ɵɵelementStart(0, "div");
616
+ i0.ɵɵtemplate(1, TableComponent_div_8_div_7_span_1_Template, 2, 4, "span", 42)(2, TableComponent_div_8_div_7_span_2_Template, 5, 6, "span", 43);
617
+ i0.ɵɵelementEnd();
618
+ } if (rf & 2) {
619
+ const pageNumber_r16 = ctx.$implicit;
620
+ i0.ɵɵadvance();
621
+ i0.ɵɵproperty("ngIf", pageNumber_r16 != 0);
622
+ i0.ɵɵadvance();
623
+ i0.ɵɵproperty("ngIf", pageNumber_r16 == 0);
624
+ } }
625
+ function TableComponent_div_8_Template(rf, ctx) { if (rf & 1) {
626
+ const _r14 = i0.ɵɵgetCurrentView();
627
+ i0.ɵɵelementStart(0, "div", 34)(1, "p", 35);
628
+ i0.ɵɵtext(2);
629
+ i0.ɵɵelementEnd();
630
+ i0.ɵɵelementStart(3, "div", 36)(4, "span", 37);
631
+ i0.ɵɵlistener("click", function TableComponent_div_8_Template_span_click_4_listener() { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.updateSelectedPage((ctx_r1.config.paginationConfig == null ? null : ctx_r1.config.paginationConfig.selectedPage) - 1)); });
632
+ i0.ɵɵnamespaceSVG();
633
+ i0.ɵɵelementStart(5, "svg", 38);
634
+ i0.ɵɵelement(6, "path", 39);
635
+ i0.ɵɵelementEnd()();
636
+ i0.ɵɵtemplate(7, TableComponent_div_8_div_7_Template, 3, 2, "div", 40);
637
+ i0.ɵɵnamespaceHTML();
638
+ i0.ɵɵelementStart(8, "span", 37);
639
+ i0.ɵɵlistener("click", function TableComponent_div_8_Template_span_click_8_listener() { i0.ɵɵrestoreView(_r14); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.updateSelectedPage((ctx_r1.config.paginationConfig == null ? null : ctx_r1.config.paginationConfig.selectedPage) + 1)); });
640
+ i0.ɵɵnamespaceSVG();
641
+ i0.ɵɵelementStart(9, "svg", 38);
642
+ i0.ɵɵelement(10, "path", 41);
643
+ i0.ɵɵelementEnd()()()();
644
+ } if (rf & 2) {
645
+ const ctx_r1 = i0.ɵɵnextContext();
646
+ i0.ɵɵadvance(2);
647
+ i0.ɵɵtextInterpolate3(" Showing ", ((ctx_r1.config.paginationConfig == null ? null : ctx_r1.config.paginationConfig.selectedPage) - 1) * ctx_r1.config.paginationConfig.rowsPerPage + 1, "-", ((ctx_r1.config.paginationConfig == null ? null : ctx_r1.config.paginationConfig.selectedPage) - 1) * ctx_r1.config.paginationConfig.rowsPerPage + ctx_r1.tableLength, " of ", ctx_r1.config.paginationConfig.totalNoOfRows, " items ");
648
+ i0.ɵɵadvance(5);
649
+ i0.ɵɵproperty("ngForOf", ctx_r1.pages);
650
+ } }
651
+ class TableComponent {
652
+ constructor(renderer) {
653
+ this.renderer = renderer;
654
+ // Initialize with -1 to indicate no row is colored at the beginning
655
+ this.activeRowIndex = 0;
656
+ // Filter related variables
657
+ this.showFilter = false;
658
+ this.filterName = "";
659
+ this.filterData = [];
660
+ this.filterContainerStyles = {};
661
+ this.appliedFilters = {};
662
+ this.filtersUpdated = new EventEmitter();
663
+ // Pagination related variables
664
+ this.pages = [];
665
+ this.pageSelected = new EventEmitter();
666
+ this.tableData = [];
667
+ this.subTableData = [];
668
+ }
669
+ // Function to handle row click
670
+ selectRow(index) {
671
+ this.activeRowIndex = index; // Set the selected index to the clicked row's index
672
+ !!this.config.rowConfig.action && this.config.rowConfig.action(index);
673
+ }
674
+ ngOnInit() {
675
+ this.tableLength = !!this.tableData ? this.tableData.length : 0;
676
+ this.initializeFilters();
677
+ if (this.config.paginationConfig) {
678
+ this.initializePagination();
679
+ }
680
+ if (this.config.canScrollHorizontally === undefined) {
681
+ this.config.canScrollHorizontally = false;
682
+ }
683
+ document.addEventListener("click", event => {
684
+ if (this.filter) {
685
+ let isCheckBoxClicked = true;
686
+ let targetElement = event.target;
687
+ if (targetElement.className === "checkmark") {
688
+ isCheckBoxClicked = true;
689
+ this.showFilter = true;
690
+ }
691
+ let isClickInsideElement = this.filter.container.nativeElement.contains(event.target);
692
+ if (!isClickInsideElement && !isCheckBoxClicked) {
693
+ this.toggleFilter(this.filterName);
694
+ }
695
+ }
696
+ });
697
+ }
698
+ ngAfterViewInit() {
699
+ if (this.config.paginationConfig) {
700
+ let height = this.config.height;
701
+ this.renderer.setStyle(this.table.nativeElement, "height", height - 56 + "px");
702
+ }
703
+ }
704
+ ngOnChanges() {
705
+ this.tableLength = !!this.tableData ? this.tableData.length : 0;
706
+ this.activeRowIndex = this.config.activeRowIndex || 0;
707
+ }
708
+ // Filter related functions
709
+ initializeFilters() {
710
+ for (let colHeader of this.config?.colHeaderConfig) {
711
+ if (colHeader.filters) {
712
+ let filters = [];
713
+ for (let filter of colHeader.filters) {
714
+ if (filter.checked) {
715
+ filters.push({
716
+ name: filter.name,
717
+ value: filter.value
718
+ });
719
+ }
720
+ }
721
+ if (filters.length > 0)
722
+ this.appliedFilters[colHeader.data] = filters;
723
+ }
724
+ }
725
+ }
726
+ toggleFilter(filterName) {
727
+ if (!this.showFilter) {
728
+ this.filterName = filterName;
729
+ this.showFilter = true;
730
+ let offSet = 0;
731
+ let colHeadersReversed = this.colHeaders.toArray().reverse();
732
+ for (let header of colHeadersReversed) {
733
+ if (header.nativeElement.innerText === filterName)
734
+ break;
735
+ offSet += header.nativeElement.offsetWidth;
736
+ }
737
+ this.filterContainerStyles = {
738
+ top: "44px",
739
+ right: offSet > 0 ? offSet - 116 + "px" : "12px"
740
+ };
741
+ }
742
+ else {
743
+ this.filterName = "";
744
+ this.filterData = [];
745
+ this.showFilter = false;
746
+ }
747
+ }
748
+ updateAppliedFilters(appliedFilters) {
749
+ if (appliedFilters.length == 0) {
750
+ delete this.appliedFilters[this.filterName];
751
+ }
752
+ else {
753
+ this.appliedFilters[this.filterName] = appliedFilters;
754
+ }
755
+ this.filtersUpdated.emit({ ...this.appliedFilters });
756
+ this.toggleFilter(this.filterName);
757
+ }
758
+ // Pagination related functions
759
+ initializePagination() {
760
+ if (this.config.paginationConfig) {
761
+ let len = this.config.paginationConfig.noOfPages;
762
+ if (len <= 7) {
763
+ for (let i = 1; i <= len; i++) {
764
+ this.pages.push(i);
765
+ }
766
+ }
767
+ else {
768
+ this.pages = [1, 2, 3, 4, 0, len];
769
+ }
770
+ }
771
+ }
772
+ updateSelectedPage(pageNumber) {
773
+ if (pageNumber < 1 || pageNumber > this.config.paginationConfig.noOfPages)
774
+ return;
775
+ this.config.paginationConfig.selectedPage = pageNumber;
776
+ let len = this.config.paginationConfig.noOfPages;
777
+ if (len > 7) {
778
+ if (pageNumber - 2 <= 1) {
779
+ this.pages = [1, 2, 3, 4, 0, len];
780
+ }
781
+ else if (pageNumber - 2 > 1 && pageNumber + 2 < len) {
782
+ this.pages = [1, 0, pageNumber - 1, pageNumber, pageNumber + 1, 0, len];
783
+ }
784
+ else if (pageNumber + 2 >= len) {
785
+ this.pages = [1, 0, len - 3, len - 2, len - 1, len];
786
+ }
787
+ }
788
+ this.pageSelected.emit(this.config.paginationConfig?.selectedPage);
789
+ }
790
+ // Main container related functions
791
+ getContainerHeight() {
792
+ if (this.config?.height)
793
+ return this.config.height;
794
+ else
795
+ return "";
796
+ }
797
+ getContainerWidth() {
798
+ if (this.config?.width)
799
+ return this.config.width;
800
+ else
801
+ return "";
802
+ }
803
+ // Column Headers related functions
804
+ getColHeadersRowStyles() {
805
+ const { colHeadersRowConfig } = this.config;
806
+ const minHeight = colHeadersRowConfig?.height || "44px";
807
+ const borderTop = colHeadersRowConfig?.style?.borderTop || "";
808
+ const borderBottom = colHeadersRowConfig?.style?.borderBottom || "1px solid #E0E0E0";
809
+ const backgroundColor = colHeadersRowConfig?.style?.backgroundColor || "#FFFFFF";
810
+ const fontSize = colHeadersRowConfig?.style?.fontSize || "14px";
811
+ return {
812
+ 'min-height': minHeight,
813
+ 'border-top': borderTop,
814
+ 'border-bottom': borderBottom,
815
+ 'background-color': backgroundColor,
816
+ 'font-size': fontSize
817
+ };
818
+ }
819
+ static { this.ɵfac = function TableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
820
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableComponent, selectors: [["mis-table"]], viewQuery: function TableComponent_Query(rf, ctx) { if (rf & 1) {
821
+ i0.ɵɵviewQuery(_c0, 5);
822
+ i0.ɵɵviewQuery(_c1, 5);
823
+ i0.ɵɵviewQuery(_c2, 5);
824
+ } if (rf & 2) {
825
+ let _t;
826
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filter = _t.first);
827
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
828
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.colHeaders = _t);
829
+ } }, inputs: { config: [0, "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: [["table", ""], ["filter", ""], ["colHeaderRef", ""], ["id", "main-container", 3, "ngStyle"], [3, "containerStyles", "filtersData", "filtersApplied", 4, "ngIf"], ["id", "table-container", 3, "ngClass"], ["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, "filtersApplied", "containerStyles", "filtersData"], [1, "col-header", 3, "click", "ngStyle"], ["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, "click", "ngClass", "ngStyle"], ["class", "t-col-container", 3, "ngStyle", "ngClass", "click", 4, "ngFor", "ngForOf"], ["class", "sub-row", 4, "ngIf"], [1, "t-col-container", 3, "click", "ngStyle", "ngClass"], [1, "t-col", 3, "ngStyle"], ["class", "t-col-text", 3, "ngStyle", "ngClass", 4, "ngIf"], [1, "t-col-text", 3, "ngStyle", "ngClass"], [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, "click", "ngClass"], [1, "page-seperator"], [1, "dot", 3, "ngStyle"], [1, "dot"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
830
+ i0.ɵɵelementStart(0, "div", 3);
831
+ i0.ɵɵtemplate(1, TableComponent_mis_table_filter_1_Template, 2, 2, "mis-table-filter", 4);
832
+ i0.ɵɵelementStart(2, "div", 5, 0)(4, "div", 6);
833
+ i0.ɵɵtemplate(5, TableComponent_div_5_Template, 5, 8, "div", 7);
834
+ i0.ɵɵelementEnd();
835
+ i0.ɵɵelementStart(6, "div", 8);
836
+ i0.ɵɵtemplate(7, TableComponent_div_7_Template, 4, 9, "div", 9);
837
+ i0.ɵɵelementEnd()();
838
+ i0.ɵɵtemplate(8, TableComponent_div_8_Template, 11, 4, "div", 10);
839
+ i0.ɵɵelementEnd();
840
+ } if (rf & 2) {
841
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(7, _c3, ctx.getContainerHeight(), ctx.getContainerWidth(), ctx.config.canScrollHorizontally ? "auto" : "unset"));
842
+ i0.ɵɵadvance();
843
+ i0.ɵɵproperty("ngIf", ctx.showFilter);
844
+ i0.ɵɵadvance();
845
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(11, _c4, ctx.expandedIndex < 0, !(ctx.expandedIndex < 0), ctx.config.canScrollHorizontally));
846
+ i0.ɵɵadvance(2);
847
+ i0.ɵɵproperty("ngStyle", ctx.getColHeadersRowStyles());
848
+ i0.ɵɵadvance();
849
+ i0.ɵɵproperty("ngForOf", ctx.config == null ? null : ctx.config.colHeaderConfig);
850
+ i0.ɵɵadvance(2);
851
+ i0.ɵɵproperty("ngForOf", ctx.tableData);
852
+ i0.ɵɵadvance();
853
+ 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));
854
+ } }, 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}.text-ellipsis[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}#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}"] }); }
855
+ }
856
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
857
+ type: Component,
858
+ 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 [ngClass]=\"{'text-ellipsis': !!config?.colConfig[i]?.style?.textEllipsis}\"\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}.text-ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}#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"] }]
859
+ }], () => [{ type: i0.Renderer2 }], { filtersUpdated: [{
860
+ type: Output
861
+ }], filter: [{
862
+ type: ViewChild,
863
+ args: ["filter"]
864
+ }], colHeaders: [{
865
+ type: ViewChildren,
866
+ args: ["colHeaderRef"]
867
+ }], pageSelected: [{
868
+ type: Output
869
+ }], config: [{
870
+ type: Input,
871
+ args: ["tableConfig"]
872
+ }], subTableconfig: [{
873
+ type: Input
874
+ }], tableDataLoading: [{
875
+ type: Input
876
+ }], expandedIndex: [{
877
+ type: Input
878
+ }], tableData: [{
879
+ type: Input
880
+ }], subTableData: [{
881
+ type: Input
882
+ }], subTableDataLoading: [{
883
+ type: Input
884
+ }], table: [{
885
+ type: ViewChild,
886
+ args: ["table"]
887
+ }] }); })();
888
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableComponent, { className: "TableComponent" }); })();
889
+
890
+ class TableModule {
891
+ static forRoot() {
892
+ return { ngModule: TableModule, providers: [] };
893
+ }
894
+ static { this.ɵfac = function TableModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableModule)(); }; }
895
+ static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TableModule }); }
896
+ static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, CheckboxModule, ScrollingModule] }); }
897
+ }
898
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableModule, [{
899
+ type: NgModule,
900
+ args: [{
901
+ declarations: [TableComponent, SubTableComponent, TableFilterComponent, CustomTableCellDirective],
902
+ imports: [CommonModule, CheckboxModule, ScrollingModule],
903
+ exports: [TableComponent, SubTableComponent, TableFilterComponent, CustomTableCellDirective]
904
+ }]
905
+ }], null, null); })();
906
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TableModule, { declarations: [TableComponent, SubTableComponent, TableFilterComponent, CustomTableCellDirective], imports: [CommonModule, CheckboxModule, ScrollingModule], exports: [TableComponent, SubTableComponent, TableFilterComponent, CustomTableCellDirective] }); })();
907
+
908
+ /**
909
+ * Generated bundle index. Do not edit.
910
+ */
911
+
912
+ export { CustomTableCellDirective, SubTableComponent, TableComponent, TableFilterComponent, TableModule };
913
+ //# sourceMappingURL=mis-crystal-design-system-table.mjs.map