mis-crystal-design-system 4.0.51 → 17.0.0

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