mis-crystal-design-system 14.0.75 → 17.0.1

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 (524) hide show
  1. package/action-list/action-list.component.d.ts +1 -1
  2. package/analytics/analytics.service.d.ts +1 -1
  3. package/async-search-dropdown/async-dropdown.component.d.ts +2 -2
  4. package/button/button.component.d.ts +1 -1
  5. package/button/button.directive.d.ts +1 -1
  6. package/checkbox/checkbox.component.d.ts +1 -1
  7. package/chip/chip.component.d.ts +1 -1
  8. package/datepicker_v2/models/dp-config.model.d.ts +1 -1
  9. package/datepicker_v2/tz-datepicker.directive.d.ts +1 -1
  10. package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +1 -1
  11. package/daterangepicker_v2/models/drp-config.model.d.ts +1 -1
  12. package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +1 -1
  13. package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +1 -1
  14. package/drawer/drawer-body/drawer-body.component.d.ts +1 -1
  15. package/dropdown/calculate-container-height.directive.d.ts +1 -1
  16. package/dropdown/dropdown.component.d.ts +1 -1
  17. package/dynamic-form/dynamic-form.component.d.ts +1 -1
  18. package/{esm2020 → esm2022}/action-list/action-list.component.mjs +103 -110
  19. package/{esm2020 → esm2022}/action-list/action-list.module.mjs +5 -5
  20. package/{esm2020 → esm2022}/analytics/analytics.module.mjs +5 -5
  21. package/{esm2020 → esm2022}/analytics/analytics.service.mjs +6 -6
  22. package/esm2022/async-search-dropdown/async-dropdown.component.mjs +518 -0
  23. package/{esm2020 → esm2022}/async-search-dropdown/async-dropdown.module.mjs +5 -5
  24. package/esm2022/button/button.component.mjs +88 -0
  25. package/{esm2020 → esm2022}/button/button.directive.mjs +7 -7
  26. package/{esm2020 → esm2022}/button/button.module.mjs +5 -5
  27. package/esm2022/checkbox/checkbox.component.mjs +124 -0
  28. package/{esm2020 → esm2022}/checkbox/checkbox.module.mjs +5 -5
  29. package/esm2022/chip/chip.component.mjs +82 -0
  30. package/{esm2020 → esm2022}/chip/chip.module.mjs +5 -5
  31. package/{esm2020 → esm2022}/datepicker_v2/datepicker.module.mjs +5 -5
  32. package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +183 -0
  33. package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +432 -0
  34. package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
  35. package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +156 -0
  36. package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +466 -0
  37. package/esm2022/drawer/drawer-body/drawer-body.component.mjs +59 -0
  38. package/{esm2020 → esm2022}/drawer/drawer-ref.mjs +4 -4
  39. package/{esm2020 → esm2022}/drawer/drawer.module.mjs +5 -5
  40. package/{esm2020 → esm2022}/drawer/drawer.service.mjs +5 -5
  41. package/{esm2020 → esm2022}/dropdown/calculate-container-height.directive.mjs +5 -5
  42. package/esm2022/dropdown/dropdown.component.mjs +464 -0
  43. package/{esm2020 → esm2022}/dropdown/dropdown.module.mjs +5 -5
  44. package/esm2022/dynamic-form/dynamic-form.component.mjs +1088 -0
  45. package/{esm2020 → esm2022}/dynamic-form/dynamic-form.module.mjs +13 -13
  46. package/esm2022/fab/fab.component.mjs +145 -0
  47. package/{esm2020 → esm2022}/fab/fab.module.mjs +5 -5
  48. package/esm2022/filter/filter-panel/filter-panel.component.mjs +396 -0
  49. package/{esm2020 → esm2022}/filter/filters.module.mjs +17 -17
  50. package/{esm2020 → esm2022}/filter/has-value.pipe.mjs +4 -4
  51. package/{esm2020 → esm2022}/input/directives/input/input.directive.mjs +6 -6
  52. package/{fesm2020/mis-crystal-design-system-input.mjs → esm2022/input/mis-input.component.mjs} +49 -109
  53. package/{esm2020 → esm2022}/input/mis-input.module.mjs +5 -5
  54. package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +75 -0
  55. package/{esm2020 → esm2022}/input-stepper/input-stepper.module.mjs +5 -5
  56. package/esm2022/loader/loader.component.mjs +25 -0
  57. package/{esm2020 → esm2022}/loader/loader.module.mjs +5 -5
  58. package/esm2022/menu/menu-close.directive.mjs +25 -0
  59. package/{esm2020 → esm2022}/menu/menu.directive.mjs +7 -7
  60. package/{esm2020 → esm2022}/menu/menu.module.mjs +5 -5
  61. package/esm2022/mobile-filter/mobile-filter.component.mjs +180 -0
  62. package/{esm2020 → esm2022}/mobile-filter/mobile-filter.module.mjs +5 -5
  63. package/{esm2020 → esm2022}/modal/modal.module.mjs +5 -5
  64. package/{esm2020 → esm2022}/modal/modal.service.mjs +5 -5
  65. package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +56 -0
  66. package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +489 -0
  67. package/{esm2020 → esm2022}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
  68. package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +516 -0
  69. package/{esm2020 → esm2022}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
  70. package/esm2022/phone-input/phone-input.component.mjs +72 -0
  71. package/{esm2020 → esm2022}/phone-input/phone-input.module.mjs +5 -5
  72. package/esm2022/radio-button/radio-button.component.mjs +57 -0
  73. package/{esm2020 → esm2022}/radio-button/radio-button.module.mjs +5 -5
  74. package/esm2022/ske-loader/ske-loader.component.mjs +54 -0
  75. package/{esm2020 → esm2022}/ske-loader/ske-loader.module.mjs +5 -5
  76. package/esm2022/slider/slider.component.mjs +46 -0
  77. package/{esm2020 → esm2022}/slider/slider.module.mjs +7 -7
  78. package/esm2022/snackbar/snackbar/snackbar.component.mjs +72 -0
  79. package/{esm2020 → esm2022}/snackbar/snackbar.module.mjs +5 -5
  80. package/{esm2020 → esm2022}/snackbar/snackbar.service.mjs +5 -5
  81. package/{esm2020 → esm2022}/specificdatepicker/specificdatepicker.module.mjs +5 -5
  82. package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +632 -0
  83. package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
  84. package/esm2022/star-rating/star-rating.component.mjs +113 -0
  85. package/{esm2020 → esm2022}/star-rating/star-rating.module.mjs +5 -5
  86. package/esm2022/switch/switch.component.mjs +56 -0
  87. package/{esm2020 → esm2022}/switch/switch.module.mjs +5 -5
  88. package/esm2022/table/custom-table-cell.directive.mjs +42 -0
  89. package/esm2022/table/filter/filter.component.mjs +177 -0
  90. package/esm2022/table/sub-table/sub-table.component.mjs +192 -0
  91. package/esm2022/table/table.component.mjs +485 -0
  92. package/{esm2020 → esm2022}/table/table.module.mjs +5 -5
  93. package/esm2022/timepicker/timepicker.component.mjs +347 -0
  94. package/{esm2020 → esm2022}/timepicker/timepicker.directive.mjs +11 -11
  95. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +5 -5
  96. package/{esm2020 → esm2022}/timerangepicker/timerangepicker.component.mjs +23 -22
  97. package/{esm2020 → esm2022}/timerangepicker/timerangepicker.module.mjs +5 -5
  98. package/esm2022/toast/toast.component.mjs +51 -0
  99. package/{esm2020 → esm2022}/toast/toast.data.service.mjs +8 -8
  100. package/{esm2020 → esm2022}/toast/toast.module.mjs +5 -5
  101. package/{esm2020 → esm2022}/toast/toast.service.mjs +5 -5
  102. package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +79 -0
  103. package/esm2022/tooltip/tooltip.directive.mjs +143 -0
  104. package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +5 -5
  105. package/esm2022/virtual-scroll/virtual-scroll.component.mjs +188 -0
  106. package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.module.mjs +7 -7
  107. package/{esm2020 → esm2022}/widgets/services/widget.service.mjs +5 -5
  108. package/{esm2020 → esm2022}/widgets/widgets.module.mjs +5 -5
  109. package/fab/fab.component.d.ts +4 -4
  110. package/{fesm2020 → fesm2022}/mis-crystal-design-system-action-list.mjs +107 -114
  111. package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -0
  112. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs +9 -9
  113. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs.map +1 -1
  114. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +543 -0
  115. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  116. package/fesm2022/mis-crystal-design-system-button.mjs +173 -0
  117. package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -0
  118. package/fesm2022/mis-crystal-design-system-checkbox.mjs +150 -0
  119. package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -0
  120. package/fesm2022/mis-crystal-design-system-chip.mjs +108 -0
  121. package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -0
  122. package/{fesm2020 → fesm2022}/mis-crystal-design-system-datepicker_v2.mjs +133 -140
  123. package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  124. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +690 -0
  125. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  126. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs +34 -33
  127. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs.map +1 -1
  128. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dropdown.mjs +177 -185
  129. package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -0
  130. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dynamic-form.mjs +442 -457
  131. package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  132. package/{fesm2020 → fesm2022}/mis-crystal-design-system-fab.mjs +49 -48
  133. package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -0
  134. package/{fesm2020 → fesm2022}/mis-crystal-design-system-filter.mjs +113 -120
  135. package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -0
  136. package/fesm2022/mis-crystal-design-system-input-stepper.mjs +104 -0
  137. package/fesm2022/mis-crystal-design-system-input-stepper.mjs.map +1 -0
  138. package/fesm2022/mis-crystal-design-system-input.mjs +146 -0
  139. package/fesm2022/mis-crystal-design-system-input.mjs.map +1 -0
  140. package/fesm2022/mis-crystal-design-system-loader.mjs +51 -0
  141. package/{fesm2020 → fesm2022}/mis-crystal-design-system-loader.mjs.map +1 -1
  142. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs +17 -17
  143. package/fesm2022/mis-crystal-design-system-menu.mjs.map +1 -0
  144. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +205 -0
  145. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  146. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs +34 -33
  147. package/{fesm2015 → fesm2022}/mis-crystal-design-system-modal.mjs.map +1 -1
  148. package/{fesm2020 → fesm2022}/mis-crystal-design-system-multi-select-dropdown.mjs +108 -110
  149. package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  150. package/{fesm2020 → fesm2022}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +129 -130
  151. package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  152. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs +22 -21
  153. package/fesm2022/mis-crystal-design-system-phone-input.mjs.map +1 -0
  154. package/fesm2022/mis-crystal-design-system-radio-button.mjs +83 -0
  155. package/{fesm2020 → fesm2022}/mis-crystal-design-system-radio-button.mjs.map +1 -1
  156. package/fesm2022/mis-crystal-design-system-ske-loader.mjs +77 -0
  157. package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  158. package/fesm2022/mis-crystal-design-system-slider.mjs +80 -0
  159. package/fesm2022/mis-crystal-design-system-slider.mjs.map +1 -0
  160. package/{fesm2020 → fesm2022}/mis-crystal-design-system-snackbar.mjs +33 -33
  161. package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -0
  162. package/{fesm2020 → fesm2022}/mis-crystal-design-system-specificdatepicker.mjs +205 -205
  163. package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  164. package/{fesm2020 → fesm2022}/mis-crystal-design-system-star-rating.mjs +30 -29
  165. package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -0
  166. package/fesm2022/mis-crystal-design-system-switch.mjs +82 -0
  167. package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -0
  168. package/fesm2022/mis-crystal-design-system-table.mjs +912 -0
  169. package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -0
  170. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs +79 -75
  171. package/fesm2022/mis-crystal-design-system-timepicker.mjs.map +1 -0
  172. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs +27 -26
  173. package/fesm2022/mis-crystal-design-system-timerangepicker.mjs.map +1 -0
  174. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs +35 -34
  175. package/fesm2022/mis-crystal-design-system-toast.mjs.map +1 -0
  176. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs +48 -48
  177. package/fesm2022/mis-crystal-design-system-tooltip.mjs.map +1 -0
  178. package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs.map +1 -1
  179. package/{fesm2020 → fesm2022}/mis-crystal-design-system-virtual-scroll.mjs +51 -53
  180. package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  181. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs +4 -4
  182. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs.map +1 -1
  183. package/filter/filter-panel/filter-panel.component.d.ts +1 -1
  184. package/input/directives/input/input.directive.d.ts +1 -1
  185. package/input/mis-input.component.d.ts +1 -1
  186. package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
  187. package/loader/loader.component.d.ts +1 -1
  188. package/menu/menu-close.directive.d.ts +1 -1
  189. package/menu/menu.directive.d.ts +1 -1
  190. package/mobile-filter/mobile-filter.component.d.ts +1 -1
  191. package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
  192. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
  193. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
  194. package/package.json +128 -210
  195. package/phone-input/phone-input.component.d.ts +1 -1
  196. package/radio-button/radio-button.component.d.ts +1 -1
  197. package/ske-loader/ske-loader.component.d.ts +1 -1
  198. package/slider/slider.component.d.ts +1 -1
  199. package/snackbar/snackbar/snackbar.component.d.ts +1 -1
  200. package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
  201. package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
  202. package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
  203. package/star-rating/star-rating.component.d.ts +1 -1
  204. package/styles/mis-old-icon-styles.scss +498 -0
  205. package/switch/switch.component.d.ts +1 -1
  206. package/table/custom-table-cell.directive.d.ts +1 -1
  207. package/table/filter/filter.component.d.ts +1 -1
  208. package/table/sub-table/sub-table.component.d.ts +1 -1
  209. package/table/table.component.d.ts +1 -1
  210. package/timepicker/timepicker.component.d.ts +1 -1
  211. package/timepicker/timepicker.directive.d.ts +1 -1
  212. package/timerangepicker/timerange.namespace.d.ts +1 -1
  213. package/timerangepicker/timerangepicker.component.d.ts +1 -1
  214. package/toast/toast.component.d.ts +1 -1
  215. package/toast/toast.service.d.ts +1 -1
  216. package/tooltip/models/tooltip.model.d.ts +1 -1
  217. package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
  218. package/tooltip/tooltip.directive.d.ts +1 -1
  219. package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
  220. package/widgets/interfaces/widgets.model.d.ts +1 -1
  221. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +0 -524
  222. package/esm2020/button/button.component.mjs +0 -87
  223. package/esm2020/checkbox/checkbox.component.mjs +0 -124
  224. package/esm2020/chip/chip.component.mjs +0 -82
  225. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +0 -183
  226. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -439
  227. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -156
  228. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -465
  229. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +0 -58
  230. package/esm2020/dropdown/dropdown.component.mjs +0 -472
  231. package/esm2020/dynamic-form/dynamic-form.component.mjs +0 -1103
  232. package/esm2020/fab/fab.component.mjs +0 -144
  233. package/esm2020/filter/filter-panel/filter-panel.component.mjs +0 -403
  234. package/esm2020/input/mis-input.component.mjs +0 -84
  235. package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +0 -74
  236. package/esm2020/loader/loader.component.mjs +0 -24
  237. package/esm2020/menu/menu-close.directive.mjs +0 -25
  238. package/esm2020/mobile-filter/mobile-filter.component.mjs +0 -181
  239. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +0 -55
  240. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -491
  241. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -517
  242. package/esm2020/phone-input/phone-input.component.mjs +0 -71
  243. package/esm2020/radio-button/radio-button.component.mjs +0 -56
  244. package/esm2020/ske-loader/ske-loader.component.mjs +0 -53
  245. package/esm2020/slider/slider.component.mjs +0 -45
  246. package/esm2020/snackbar/snackbar/snackbar.component.mjs +0 -72
  247. package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -632
  248. package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
  249. package/esm2020/star-rating/star-rating.component.mjs +0 -112
  250. package/esm2020/switch/switch.component.mjs +0 -55
  251. package/esm2020/table/custom-table-cell.directive.mjs +0 -42
  252. package/esm2020/table/filter/filter.component.mjs +0 -176
  253. package/esm2020/table/sub-table/sub-table.component.mjs +0 -193
  254. package/esm2020/table/table.component.mjs +0 -492
  255. package/esm2020/timepicker/timepicker.component.mjs +0 -343
  256. package/esm2020/toast/toast.component.mjs +0 -50
  257. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +0 -79
  258. package/esm2020/tooltip/tooltip.directive.mjs +0 -143
  259. package/esm2020/virtual-scroll/virtual-scroll.component.mjs +0 -190
  260. package/fesm2015/mis-crystal-design-system-action-list.mjs +0 -446
  261. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +0 -1
  262. package/fesm2015/mis-crystal-design-system-analytics.mjs +0 -87
  263. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +0 -1
  264. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +0 -617
  265. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  266. package/fesm2015/mis-crystal-design-system-button.mjs +0 -189
  267. package/fesm2015/mis-crystal-design-system-button.mjs.map +0 -1
  268. package/fesm2015/mis-crystal-design-system-checkbox.mjs +0 -166
  269. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +0 -1
  270. package/fesm2015/mis-crystal-design-system-chip.mjs +0 -123
  271. package/fesm2015/mis-crystal-design-system-chip.mjs.map +0 -1
  272. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +0 -741
  273. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  274. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +0 -729
  275. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  276. package/fesm2015/mis-crystal-design-system-drawer.mjs +0 -185
  277. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +0 -1
  278. package/fesm2015/mis-crystal-design-system-dropdown.mjs +0 -616
  279. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +0 -1
  280. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +0 -1331
  281. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  282. package/fesm2015/mis-crystal-design-system-fab.mjs +0 -186
  283. package/fesm2015/mis-crystal-design-system-fab.mjs.map +0 -1
  284. package/fesm2015/mis-crystal-design-system-filter.mjs +0 -560
  285. package/fesm2015/mis-crystal-design-system-filter.mjs.map +0 -1
  286. package/fesm2015/mis-crystal-design-system-input-stepper.mjs +0 -110
  287. package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +0 -1
  288. package/fesm2015/mis-crystal-design-system-input.mjs +0 -165
  289. package/fesm2015/mis-crystal-design-system-input.mjs.map +0 -1
  290. package/fesm2015/mis-crystal-design-system-loader.mjs +0 -57
  291. package/fesm2015/mis-crystal-design-system-loader.mjs.map +0 -1
  292. package/fesm2015/mis-crystal-design-system-menu.mjs +0 -135
  293. package/fesm2015/mis-crystal-design-system-menu.mjs.map +0 -1
  294. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +0 -227
  295. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  296. package/fesm2015/mis-crystal-design-system-modal.mjs +0 -184
  297. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +0 -550
  298. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  299. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -559
  300. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  301. package/fesm2015/mis-crystal-design-system-phone-input.mjs +0 -107
  302. package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +0 -1
  303. package/fesm2015/mis-crystal-design-system-radio-button.mjs +0 -89
  304. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +0 -1
  305. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +0 -86
  306. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  307. package/fesm2015/mis-crystal-design-system-slider.mjs +0 -88
  308. package/fesm2015/mis-crystal-design-system-slider.mjs.map +0 -1
  309. package/fesm2015/mis-crystal-design-system-snackbar.mjs +0 -175
  310. package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +0 -1
  311. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +0 -956
  312. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  313. package/fesm2015/mis-crystal-design-system-star-rating.mjs +0 -145
  314. package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +0 -1
  315. package/fesm2015/mis-crystal-design-system-switch.mjs +0 -88
  316. package/fesm2015/mis-crystal-design-system-switch.mjs.map +0 -1
  317. package/fesm2015/mis-crystal-design-system-table.mjs +0 -1045
  318. package/fesm2015/mis-crystal-design-system-table.mjs.map +0 -1
  319. package/fesm2015/mis-crystal-design-system-timepicker.mjs +0 -452
  320. package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +0 -1
  321. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +0 -270
  322. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +0 -1
  323. package/fesm2015/mis-crystal-design-system-toast.mjs +0 -214
  324. package/fesm2015/mis-crystal-design-system-toast.mjs.map +0 -1
  325. package/fesm2015/mis-crystal-design-system-tooltip.mjs +0 -272
  326. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +0 -1
  327. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +0 -259
  328. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  329. package/fesm2015/mis-crystal-design-system-widgets.mjs +0 -131
  330. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +0 -1
  331. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +0 -1
  332. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +0 -549
  333. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  334. package/fesm2020/mis-crystal-design-system-button.mjs +0 -172
  335. package/fesm2020/mis-crystal-design-system-button.mjs.map +0 -1
  336. package/fesm2020/mis-crystal-design-system-checkbox.mjs +0 -150
  337. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +0 -1
  338. package/fesm2020/mis-crystal-design-system-chip.mjs +0 -108
  339. package/fesm2020/mis-crystal-design-system-chip.mjs.map +0 -1
  340. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  341. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +0 -689
  342. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  343. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +0 -1
  344. package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  345. package/fesm2020/mis-crystal-design-system-fab.mjs.map +0 -1
  346. package/fesm2020/mis-crystal-design-system-filter.mjs.map +0 -1
  347. package/fesm2020/mis-crystal-design-system-input-stepper.mjs +0 -103
  348. package/fesm2020/mis-crystal-design-system-input-stepper.mjs.map +0 -1
  349. package/fesm2020/mis-crystal-design-system-input.mjs.map +0 -1
  350. package/fesm2020/mis-crystal-design-system-loader.mjs +0 -50
  351. package/fesm2020/mis-crystal-design-system-menu.mjs.map +0 -1
  352. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +0 -206
  353. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  354. package/fesm2020/mis-crystal-design-system-modal.mjs.map +0 -1
  355. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  356. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  357. package/fesm2020/mis-crystal-design-system-phone-input.mjs.map +0 -1
  358. package/fesm2020/mis-crystal-design-system-radio-button.mjs +0 -82
  359. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +0 -76
  360. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  361. package/fesm2020/mis-crystal-design-system-slider.mjs +0 -79
  362. package/fesm2020/mis-crystal-design-system-slider.mjs.map +0 -1
  363. package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +0 -1
  364. package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  365. package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +0 -1
  366. package/fesm2020/mis-crystal-design-system-styles.mjs +0 -4
  367. package/fesm2020/mis-crystal-design-system-styles.mjs.map +0 -1
  368. package/fesm2020/mis-crystal-design-system-switch.mjs +0 -81
  369. package/fesm2020/mis-crystal-design-system-switch.mjs.map +0 -1
  370. package/fesm2020/mis-crystal-design-system-table.mjs +0 -919
  371. package/fesm2020/mis-crystal-design-system-table.mjs.map +0 -1
  372. package/fesm2020/mis-crystal-design-system-timepicker.mjs.map +0 -1
  373. package/fesm2020/mis-crystal-design-system-timerangepicker.mjs.map +0 -1
  374. package/fesm2020/mis-crystal-design-system-toast.mjs.map +0 -1
  375. package/fesm2020/mis-crystal-design-system-tooltip.mjs.map +0 -1
  376. package/fesm2020/mis-crystal-design-system-utils.mjs +0 -24
  377. package/fesm2020/mis-crystal-design-system-utils.mjs.map +0 -1
  378. package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  379. package/fesm2020/mis-crystal-design-system.mjs +0 -24
  380. package/fesm2020/mis-crystal-design-system.mjs.map +0 -1
  381. /package/{esm2020 → esm2022}/action-list/index.mjs +0 -0
  382. /package/{esm2020 → esm2022}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
  383. /package/{esm2020 → esm2022}/action-list/public_api.mjs +0 -0
  384. /package/{esm2020 → esm2022}/analytics/index.mjs +0 -0
  385. /package/{esm2020 → esm2022}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
  386. /package/{esm2020 → esm2022}/analytics/public_api.mjs +0 -0
  387. /package/{esm2020 → esm2022}/async-search-dropdown/index.mjs +0 -0
  388. /package/{esm2020 → esm2022}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
  389. /package/{esm2020 → esm2022}/async-search-dropdown/public_api.mjs +0 -0
  390. /package/{esm2020 → esm2022}/button/index.mjs +0 -0
  391. /package/{esm2020 → esm2022}/button/mis-crystal-design-system-button.mjs +0 -0
  392. /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
  393. /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
  394. /package/{esm2020 → esm2022}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
  395. /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
  396. /package/{esm2020 → esm2022}/chip/index.mjs +0 -0
  397. /package/{esm2020 → esm2022}/chip/mis-crystal-design-system-chip.mjs +0 -0
  398. /package/{esm2020 → esm2022}/chip/public_api.mjs +0 -0
  399. /package/{esm2020 → esm2022}/datepicker_v2/datepicker-constants.mjs +0 -0
  400. /package/{esm2020 → esm2022}/datepicker_v2/index.mjs +0 -0
  401. /package/{esm2020 → esm2022}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
  402. /package/{esm2020 → esm2022}/datepicker_v2/models/dp-config.model.mjs +0 -0
  403. /package/{esm2020 → esm2022}/datepicker_v2/public_api.mjs +0 -0
  404. /package/{esm2020 → esm2022}/datepicker_v2/utils/index.mjs +0 -0
  405. /package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
  406. /package/{esm2020 → esm2022}/daterangepicker_v2/index.mjs +0 -0
  407. /package/{esm2020 → esm2022}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
  408. /package/{esm2020 → esm2022}/daterangepicker_v2/models/drp-config.model.mjs +0 -0
  409. /package/{esm2020 → esm2022}/daterangepicker_v2/public_api.mjs +0 -0
  410. /package/{esm2020 → esm2022}/daterangepicker_v2/utils/index.mjs +0 -0
  411. /package/{esm2020 → esm2022}/drawer/drawer-constants.mjs +0 -0
  412. /package/{esm2020 → esm2022}/drawer/index.mjs +0 -0
  413. /package/{esm2020 → esm2022}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
  414. /package/{esm2020 → esm2022}/drawer/public_api.mjs +0 -0
  415. /package/{esm2020 → esm2022}/dropdown/index.mjs +0 -0
  416. /package/{esm2020 → esm2022}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
  417. /package/{esm2020 → esm2022}/dropdown/public_api.mjs +0 -0
  418. /package/{esm2020 → esm2022}/dynamic-form/dynamic-form.namespace.mjs +0 -0
  419. /package/{esm2020 → esm2022}/dynamic-form/index.mjs +0 -0
  420. /package/{esm2020 → esm2022}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
  421. /package/{esm2020 → esm2022}/dynamic-form/public_api.mjs +0 -0
  422. /package/{esm2020 → esm2022}/fab/index.mjs +0 -0
  423. /package/{esm2020 → esm2022}/fab/mis-crystal-design-system-fab.mjs +0 -0
  424. /package/{esm2020 → esm2022}/fab/public_api.mjs +0 -0
  425. /package/{esm2020 → esm2022}/filter/animations/slideFromRight.mjs +0 -0
  426. /package/{esm2020 → esm2022}/filter/index.mjs +0 -0
  427. /package/{esm2020 → esm2022}/filter/mis-crystal-design-system-filter.mjs +0 -0
  428. /package/{esm2020 → esm2022}/filter/public_api.mjs +0 -0
  429. /package/{esm2020 → esm2022}/index.mjs +0 -0
  430. /package/{esm2020 → esm2022}/input/index.mjs +0 -0
  431. /package/{esm2020 → esm2022}/input/mis-crystal-design-system-input.mjs +0 -0
  432. /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
  433. /package/{esm2020 → esm2022}/input-stepper/index.mjs +0 -0
  434. /package/{esm2020 → esm2022}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
  435. /package/{esm2020 → esm2022}/input-stepper/public_api.mjs +0 -0
  436. /package/{esm2020 → esm2022}/loader/index.mjs +0 -0
  437. /package/{esm2020 → esm2022}/loader/mis-crystal-design-system-loader.mjs +0 -0
  438. /package/{esm2020 → esm2022}/loader/public_api.mjs +0 -0
  439. /package/{esm2020 → esm2022}/menu/index.mjs +0 -0
  440. /package/{esm2020 → esm2022}/menu/mis-crystal-design-system-menu.mjs +0 -0
  441. /package/{esm2020 → esm2022}/menu/public_api.mjs +0 -0
  442. /package/{esm2020 → esm2022}/mis-crystal-design-system.mjs +0 -0
  443. /package/{esm2020 → esm2022}/mobile-filter/index.mjs +0 -0
  444. /package/{esm2020 → esm2022}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
  445. /package/{esm2020 → esm2022}/mobile-filter/public_api.mjs +0 -0
  446. /package/{esm2020 → esm2022}/modal/index.mjs +0 -0
  447. /package/{esm2020 → esm2022}/modal/mis-crystal-design-system-modal.mjs +0 -0
  448. /package/{esm2020 → esm2022}/modal/modal-constants.mjs +0 -0
  449. /package/{esm2020 → esm2022}/modal/modal-ref.mjs +0 -0
  450. /package/{esm2020 → esm2022}/modal/public_api.mjs +0 -0
  451. /package/{esm2020 → esm2022}/multi-select-dropdown/index.mjs +0 -0
  452. /package/{esm2020 → esm2022}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
  453. /package/{esm2020 → esm2022}/multi-select-dropdown/public_api.mjs +0 -0
  454. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/index.mjs +0 -0
  455. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
  456. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/public_api.mjs +0 -0
  457. /package/{esm2020 → esm2022}/phone-input/index.mjs +0 -0
  458. /package/{esm2020 → esm2022}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
  459. /package/{esm2020 → esm2022}/phone-input/public_api.mjs +0 -0
  460. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  461. /package/{esm2020 → esm2022}/radio-button/index.mjs +0 -0
  462. /package/{esm2020 → esm2022}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
  463. /package/{esm2020 → esm2022}/radio-button/public_api.mjs +0 -0
  464. /package/{esm2020 → esm2022}/ske-loader/index.mjs +0 -0
  465. /package/{esm2020 → esm2022}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
  466. /package/{esm2020 → esm2022}/ske-loader/public_api.mjs +0 -0
  467. /package/{esm2020 → esm2022}/slider/index.mjs +0 -0
  468. /package/{esm2020 → esm2022}/slider/mis-crystal-design-system-slider.mjs +0 -0
  469. /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
  470. /package/{esm2020 → esm2022}/snackbar/index.mjs +0 -0
  471. /package/{esm2020 → esm2022}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
  472. /package/{esm2020 → esm2022}/snackbar/public_api.mjs +0 -0
  473. /package/{esm2020 → esm2022}/specificdatepicker/daterangepicker-constants.mjs +0 -0
  474. /package/{esm2020 → esm2022}/specificdatepicker/index.mjs +0 -0
  475. /package/{esm2020 → esm2022}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
  476. /package/{esm2020 → esm2022}/specificdatepicker/models/sdp-config.model.mjs +0 -0
  477. /package/{esm2020 → esm2022}/specificdatepicker/public_api.mjs +0 -0
  478. /package/{esm2020 → esm2022}/specificdatepicker/utils/index.mjs +0 -0
  479. /package/{esm2020 → esm2022}/star-rating/index.mjs +0 -0
  480. /package/{esm2020 → esm2022}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
  481. /package/{esm2020 → esm2022}/star-rating/public_api.mjs +0 -0
  482. /package/{esm2020 → esm2022}/styles/index.mjs +0 -0
  483. /package/{esm2020 → esm2022}/styles/mis-crystal-design-system-styles.mjs +0 -0
  484. /package/{esm2020 → esm2022}/styles/public_api.mjs +0 -0
  485. /package/{esm2020 → esm2022}/switch/index.mjs +0 -0
  486. /package/{esm2020 → esm2022}/switch/mis-crystal-design-system-switch.mjs +0 -0
  487. /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
  488. /package/{esm2020 → esm2022}/table/index.mjs +0 -0
  489. /package/{esm2020 → esm2022}/table/mis-crystal-design-system-table.mjs +0 -0
  490. /package/{esm2020 → esm2022}/table/public_api.mjs +0 -0
  491. /package/{esm2020 → esm2022}/timepicker/index.mjs +0 -0
  492. /package/{esm2020 → esm2022}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
  493. /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
  494. /package/{esm2020 → esm2022}/timepicker/time.namespace.mjs +0 -0
  495. /package/{esm2020 → esm2022}/timerangepicker/index.mjs +0 -0
  496. /package/{esm2020 → esm2022}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
  497. /package/{esm2020 → esm2022}/timerangepicker/public_api.mjs +0 -0
  498. /package/{esm2020 → esm2022}/timerangepicker/timerange.namespace.mjs +0 -0
  499. /package/{esm2020 → esm2022}/toast/index.mjs +0 -0
  500. /package/{esm2020 → esm2022}/toast/mis-crystal-design-system-toast.mjs +0 -0
  501. /package/{esm2020 → esm2022}/toast/public_api.mjs +0 -0
  502. /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
  503. /package/{esm2020 → esm2022}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
  504. /package/{esm2020 → esm2022}/tooltip/models/tooltip.model.mjs +0 -0
  505. /package/{esm2020 → esm2022}/tooltip/public_api.mjs +0 -0
  506. /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
  507. /package/{esm2020 → esm2022}/utils/mis-crystal-design-system-utils.mjs +0 -0
  508. /package/{esm2020 → esm2022}/virtual-scroll/index.mjs +0 -0
  509. /package/{esm2020 → esm2022}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
  510. /package/{esm2020 → esm2022}/virtual-scroll/public_api.mjs +0 -0
  511. /package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
  512. /package/{esm2020 → esm2022}/widgets/classes/async-widget.mjs +0 -0
  513. /package/{esm2020 → esm2022}/widgets/classes/base-widget.mjs +0 -0
  514. /package/{esm2020 → esm2022}/widgets/classes/sync-widget.mjs +0 -0
  515. /package/{esm2020 → esm2022}/widgets/classes/widget-group.mjs +0 -0
  516. /package/{esm2020 → esm2022}/widgets/index.mjs +0 -0
  517. /package/{esm2020 → esm2022}/widgets/interfaces/widgets.model.mjs +0 -0
  518. /package/{esm2020 → esm2022}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
  519. /package/{esm2020 → esm2022}/widgets/public_api.mjs +0 -0
  520. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs +0 -0
  521. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs.map +0 -0
  522. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs +0 -0
  523. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs +0 -0
  524. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs.map +0 -0
@@ -1,560 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe, EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
3
- import * as i2 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i4 from '@angular/forms';
6
- import { FormGroup, FormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
7
- import * as i3 from 'mis-crystal-design-system/button';
8
- import { ButtonModule } from 'mis-crystal-design-system/button';
9
- import { RadioButtonModule } from 'mis-crystal-design-system/radio-button';
10
- import * as i7 from 'mis-crystal-design-system/input';
11
- import { MisInputModule } from 'mis-crystal-design-system/input';
12
- import * as i10 from 'mis-crystal-design-system/checkbox';
13
- import { CheckboxModule } from 'mis-crystal-design-system/checkbox';
14
- import * as i5 from 'mis-crystal-design-system/multi-select-dropdown';
15
- import { MultiSelectDropdownModule } from 'mis-crystal-design-system/multi-select-dropdown';
16
- import * as i8 from 'mis-crystal-design-system/datepicker_v2';
17
- import { DatepickerModuleV2 } from 'mis-crystal-design-system/datepicker_v2';
18
- import * as i9 from 'mis-crystal-design-system/daterangepicker_v2';
19
- import { DateRangepickerModuleV2 } from 'mis-crystal-design-system/daterangepicker_v2';
20
- import { trigger, transition, style, animate } from '@angular/animations';
21
- import * as i6 from 'mis-crystal-design-system/dropdown';
22
- import { DropdownModule } from 'mis-crystal-design-system/dropdown';
23
-
24
- const slideFromRight = trigger('slideFromRight', [
25
- transition(':enter', [
26
- style({ transform: 'translateX(100%)' }),
27
- animate('200ms cubic-bezier(0.4, 0.0, 0.2, 1)', style({ transform: 'translateX(0)' }))
28
- ]),
29
- transition(':leave', [
30
- style({ transform: 'translateX(0)' }),
31
- animate('200ms cubic-bezier(0.4, 0.0, 0.2, 1)', style({ transform: 'translateX(100%)' }))
32
- ])
33
- ]);
34
-
35
- /**
36
- * HasValuePipe
37
- * This pipe is use to check given value should not null or undefined
38
- * Its also check object, Its hould not be empty
39
- */
40
- class HasValuePipe {
41
- transform(value) {
42
- if (Array.isArray(value) && value.length === 0) {
43
- return false;
44
- }
45
- /* This was evaluating dateObject as false*/
46
- if (value instanceof Date) {
47
- return true;
48
- }
49
- if (typeof value === 'object' && value !== null) {
50
- return Object.keys(value).length >= 1;
51
- }
52
- return value !== null && value !== undefined && value !== '';
53
- }
54
- }
55
- HasValuePipe.ɵfac = function HasValuePipe_Factory(t) { return new (t || HasValuePipe)(); };
56
- HasValuePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "hasValue", type: HasValuePipe, pure: true });
57
- (function () {
58
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HasValuePipe, [{
59
- type: Pipe,
60
- args: [{
61
- name: 'hasValue',
62
- }]
63
- }], null, null);
64
- })();
65
-
66
- function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_3_Template(rf, ctx) {
67
- if (rf & 1) {
68
- const _r16 = i0.ɵɵgetCurrentView();
69
- i0.ɵɵelementContainerStart(0);
70
- i0.ɵɵelementStart(1, "div", 17)(2, "mis-multi-select-dropdown", 18);
71
- i0.ɵɵlistener("onChange", function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_3_Template_mis_multi_select_dropdown_onChange_2_listener($event) { i0.ɵɵrestoreView(_r16); const filter_r2 = i0.ɵɵnextContext(2).$implicit; const ctx_r14 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r14.handleSelect($event, filter_r2.key, filter_r2)); });
72
- i0.ɵɵelementEnd()();
73
- i0.ɵɵelementContainerEnd();
74
- }
75
- if (rf & 2) {
76
- const filter_r2 = i0.ɵɵnextContext(2).$implicit;
77
- const ctx_r5 = i0.ɵɵnextContext(2);
78
- i0.ɵɵadvance(2);
79
- i0.ɵɵproperty("label", filter_r2.placeholder || "Select")("selectedItems", ctx_r5.filterForm.get(filter_r2.key).value)("data", filter_r2.options)("searchEnabled", true)("showSelectedCount", true)("enableSelectAll", true)("hideApplyButton", false);
80
- }
81
- }
82
- function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_4_Template(rf, ctx) {
83
- if (rf & 1) {
84
- const _r20 = i0.ɵɵgetCurrentView();
85
- i0.ɵɵelementContainerStart(0);
86
- i0.ɵɵelementStart(1, "div", 17)(2, "mis-dropdown", 19);
87
- i0.ɵɵlistener("onChange", function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_4_Template_mis_dropdown_onChange_2_listener($event) { i0.ɵɵrestoreView(_r20); const filter_r2 = i0.ɵɵnextContext(2).$implicit; const ctx_r18 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r18.handleSelect($event, filter_r2.key, filter_r2)); });
88
- i0.ɵɵelementEnd()();
89
- i0.ɵɵelementContainerEnd();
90
- }
91
- if (rf & 2) {
92
- const filter_r2 = i0.ɵɵnextContext(2).$implicit;
93
- const ctx_r6 = i0.ɵɵnextContext(2);
94
- i0.ɵɵadvance(2);
95
- i0.ɵɵproperty("data", filter_r2.options)("searchEnabled", true)("selectedItem", ctx_r6.filterForm.get(filter_r2.key).value);
96
- }
97
- }
98
- function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_5_div_2_Template(rf, ctx) {
99
- if (rf & 1) {
100
- const _r26 = i0.ɵɵgetCurrentView();
101
- i0.ɵɵelementStart(0, "div", 22)(1, "mis-checkbox", 23);
102
- i0.ɵɵlistener("valueChange", function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_5_div_2_Template_mis_checkbox_valueChange_1_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r26); const option_r23 = restoredCtx.$implicit; const filter_r2 = i0.ɵɵnextContext(3).$implicit; const ctx_r24 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r24.handleCheckbox($event, filter_r2.key, option_r23.value, filter_r2)); });
103
- i0.ɵɵelementEnd();
104
- i0.ɵɵelementStart(2, "span", 24);
105
- i0.ɵɵtext(3);
106
- i0.ɵɵelementEnd()();
107
- }
108
- if (rf & 2) {
109
- const option_r23 = ctx.$implicit;
110
- const filter_r2 = i0.ɵɵnextContext(3).$implicit;
111
- const ctx_r22 = i0.ɵɵnextContext(2);
112
- i0.ɵɵadvance(1);
113
- i0.ɵɵproperty("type", "Default")("checked", ctx_r22.filterForm.get(filter_r2.key).value == null ? null : ctx_r22.filterForm.get(filter_r2.key).value.includes(option_r23.value));
114
- i0.ɵɵadvance(2);
115
- i0.ɵɵtextInterpolate(option_r23.label);
116
- }
117
- }
118
- function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_5_Template(rf, ctx) {
119
- if (rf & 1) {
120
- i0.ɵɵelementContainerStart(0);
121
- i0.ɵɵelementStart(1, "div", 20);
122
- i0.ɵɵtemplate(2, FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_5_div_2_Template, 4, 3, "div", 21);
123
- i0.ɵɵelementEnd();
124
- i0.ɵɵelementContainerEnd();
125
- }
126
- if (rf & 2) {
127
- const filter_r2 = i0.ɵɵnextContext(2).$implicit;
128
- i0.ɵɵadvance(2);
129
- i0.ɵɵproperty("ngForOf", filter_r2.options);
130
- }
131
- }
132
- function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_6_Template(rf, ctx) {
133
- if (rf & 1) {
134
- const _r31 = i0.ɵɵgetCurrentView();
135
- i0.ɵɵelementContainerStart(0);
136
- i0.ɵɵtext(1);
137
- i0.ɵɵelementStart(2, "mis-input", 25)(3, "input", 26);
138
- i0.ɵɵlistener("dateChange", function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_6_Template_input_dateChange_3_listener($event) { i0.ɵɵrestoreView(_r31); const filter_r2 = i0.ɵɵnextContext(2).$implicit; const ctx_r29 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r29.onDateChange($event, filter_r2.key, filter_r2)); });
139
- i0.ɵɵelementEnd()();
140
- i0.ɵɵelementContainerEnd();
141
- }
142
- if (rf & 2) {
143
- const filter_r2 = i0.ɵɵnextContext(2).$implicit;
144
- const ctx_r8 = i0.ɵɵnextContext(2);
145
- i0.ɵɵadvance(1);
146
- i0.ɵɵtextInterpolate1(" ", filter_r2.placeholder, " ");
147
- i0.ɵɵadvance(2);
148
- i0.ɵɵproperty("dpConfig", filter_r2.datepickerConfig)("placeholder", ctx_r8.filterForm.get(filter_r2.key).value ? ctx_r8.filterForm.get(filter_r2.key).value : filter_r2.placeholder || "Select")("value", ctx_r8.filterForm.get(filter_r2.key).value ? ctx_r8.filterForm.get(filter_r2.key).value : filter_r2.placeholder || "Select")("selectedDate", ctx_r8.filterForm.get(filter_r2.key).value)("positionX", "end")("offsetX", -10);
149
- }
150
- }
151
- function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_7_Template(rf, ctx) {
152
- if (rf & 1) {
153
- const _r35 = i0.ɵɵgetCurrentView();
154
- i0.ɵɵelementContainerStart(0);
155
- i0.ɵɵelementStart(1, "mis-input", 25)(2, "input", 27);
156
- i0.ɵɵlistener("dateChange", function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_7_Template_input_dateChange_2_listener($event) { i0.ɵɵrestoreView(_r35); const filter_r2 = i0.ɵɵnextContext(2).$implicit; const ctx_r33 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r33.onDateChange($event, filter_r2.key, filter_r2)); });
157
- i0.ɵɵelementEnd()();
158
- i0.ɵɵelementContainerEnd();
159
- }
160
- if (rf & 2) {
161
- const filter_r2 = i0.ɵɵnextContext(2).$implicit;
162
- const ctx_r9 = i0.ɵɵnextContext(2);
163
- i0.ɵɵadvance(2);
164
- i0.ɵɵproperty("placeholder", !ctx_r9.dateRangeSelectedDates.startDate && !ctx_r9.dateRangeSelectedDates.endDate ? filter_r2.placeholder || "Select" : ctx_r9.dateRangeSelectedDates.startDate + " - " + ctx_r9.dateRangeSelectedDates.endDate)("value", !ctx_r9.dateRangeSelectedDates.startDate && !ctx_r9.dateRangeSelectedDates.endDate ? filter_r2.placeholder || "Select" : ctx_r9.dateRangeSelectedDates.startDate + " - " + ctx_r9.dateRangeSelectedDates.endDate)("positionX", "start")("positionY", "top")("selectedDates", ctx_r9.dateRangeSelectedDates)("dpConfig", filter_r2.dateRangePickerConfig);
165
- }
166
- }
167
- function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_8_Template(rf, ctx) {
168
- if (rf & 1) {
169
- i0.ɵɵelementContainerStart(0);
170
- i0.ɵɵelementStart(1, "mis-input", 25);
171
- i0.ɵɵelement(2, "input", 28);
172
- i0.ɵɵelementEnd();
173
- i0.ɵɵelementContainerEnd();
174
- }
175
- if (rf & 2) {
176
- const filter_r2 = i0.ɵɵnextContext(2).$implicit;
177
- i0.ɵɵadvance(2);
178
- i0.ɵɵproperty("placeholder", filter_r2.placeholder || "Type here")("formControlName", filter_r2.key);
179
- }
180
- }
181
- function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_9_Template(rf, ctx) {
182
- if (rf & 1) {
183
- i0.ɵɵelementContainerStart(0);
184
- i0.ɵɵelementStart(1, "mis-input", 25);
185
- i0.ɵɵelement(2, "input", 29);
186
- i0.ɵɵelementEnd();
187
- i0.ɵɵelementContainerEnd();
188
- }
189
- if (rf & 2) {
190
- const filter_r2 = i0.ɵɵnextContext(2).$implicit;
191
- i0.ɵɵadvance(2);
192
- i0.ɵɵproperty("placeholder", filter_r2.placeholder || "Type here")("formControlName", filter_r2.key);
193
- }
194
- }
195
- function FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_10_Template(rf, ctx) {
196
- if (rf & 1) {
197
- i0.ɵɵelementContainerStart(0);
198
- i0.ɵɵelementStart(1, "div", 30)(2, "div", 31)(3, "span");
199
- i0.ɵɵtext(4);
200
- i0.ɵɵelementEnd();
201
- i0.ɵɵelement(5, "input", 32);
202
- i0.ɵɵelementEnd();
203
- i0.ɵɵelementStart(6, "div", 31)(7, "span");
204
- i0.ɵɵtext(8);
205
- i0.ɵɵelementEnd();
206
- i0.ɵɵelement(9, "input", 33);
207
- i0.ɵɵelementEnd()();
208
- i0.ɵɵelementContainerEnd();
209
- }
210
- if (rf & 2) {
211
- const filter_r2 = i0.ɵɵnextContext(2).$implicit;
212
- const ctx_r12 = i0.ɵɵnextContext(2);
213
- let tmp_5_0;
214
- let tmp_5_1;
215
- i0.ɵɵadvance(1);
216
- i0.ɵɵproperty("formGroup", ctx_r12.filterForm.get(filter_r2.key));
217
- i0.ɵɵadvance(3);
218
- i0.ɵɵtextInterpolate((filter_r2 == null ? null : filter_r2.options == null ? null : filter_r2.options[0] == null ? null : filter_r2.options[0].label) || "Min");
219
- i0.ɵɵadvance(1);
220
- i0.ɵɵproperty("placeholder", filter_r2.placeholder || "Type here");
221
- i0.ɵɵadvance(3);
222
- i0.ɵɵtextInterpolate((filter_r2 == null ? null : filter_r2.options == null ? null : filter_r2.options[1] == null ? null : filter_r2.options[1].label) || "Max");
223
- i0.ɵɵadvance(1);
224
- i0.ɵɵproperty("placeholder", filter_r2.placeholder || "Type here")("min", (ctx_r12.filterForm.get == null ? null : (tmp_5_0 = ctx_r12.filterForm.get(filter_r2.key)) == null ? null : (tmp_5_1 = tmp_5_0.get("min")) == null ? null : tmp_5_1.value) || 0);
225
- }
226
- }
227
- function FilterPanelComponent_div_0_ng_container_9_div_1_div_11_Template(rf, ctx) {
228
- if (rf & 1) {
229
- i0.ɵɵelement(0, "div", 34);
230
- }
231
- }
232
- function FilterPanelComponent_div_0_ng_container_9_div_1_Template(rf, ctx) {
233
- if (rf & 1) {
234
- i0.ɵɵelementStart(0, "div", 13)(1, "span", 14);
235
- i0.ɵɵtext(2);
236
- i0.ɵɵelementEnd();
237
- i0.ɵɵtemplate(3, FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_3_Template, 3, 7, "ng-container", 15);
238
- i0.ɵɵtemplate(4, FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_4_Template, 3, 3, "ng-container", 15);
239
- i0.ɵɵtemplate(5, FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_5_Template, 3, 1, "ng-container", 15);
240
- i0.ɵɵtemplate(6, FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_6_Template, 4, 7, "ng-container", 15);
241
- i0.ɵɵtemplate(7, FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_7_Template, 3, 6, "ng-container", 15);
242
- i0.ɵɵtemplate(8, FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_8_Template, 3, 2, "ng-container", 15);
243
- i0.ɵɵtemplate(9, FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_9_Template, 3, 2, "ng-container", 15);
244
- i0.ɵɵtemplate(10, FilterPanelComponent_div_0_ng_container_9_div_1_ng_container_10_Template, 10, 6, "ng-container", 15);
245
- i0.ɵɵtemplate(11, FilterPanelComponent_div_0_ng_container_9_div_1_div_11_Template, 1, 0, "div", 16);
246
- i0.ɵɵelementEnd();
247
- }
248
- if (rf & 2) {
249
- const ctx_r40 = i0.ɵɵnextContext();
250
- const filter_r2 = ctx_r40.$implicit;
251
- const last_r3 = ctx_r40.last;
252
- i0.ɵɵadvance(2);
253
- i0.ɵɵtextInterpolate(filter_r2.title);
254
- i0.ɵɵadvance(1);
255
- i0.ɵɵproperty("ngIf", filter_r2.type === "multiSelect");
256
- i0.ɵɵadvance(1);
257
- i0.ɵɵproperty("ngIf", filter_r2.type === "select");
258
- i0.ɵɵadvance(1);
259
- i0.ɵɵproperty("ngIf", filter_r2.type === "checkbox");
260
- i0.ɵɵadvance(1);
261
- i0.ɵɵproperty("ngIf", filter_r2.type === "datePicker");
262
- i0.ɵɵadvance(1);
263
- i0.ɵɵproperty("ngIf", filter_r2.type === "dateRangePicker");
264
- i0.ɵɵadvance(1);
265
- i0.ɵɵproperty("ngIf", filter_r2.type === "text");
266
- i0.ɵɵadvance(1);
267
- i0.ɵɵproperty("ngIf", filter_r2.type === "number");
268
- i0.ɵɵadvance(1);
269
- i0.ɵɵproperty("ngIf", filter_r2.type === "range");
270
- i0.ɵɵadvance(1);
271
- i0.ɵɵproperty("ngIf", !last_r3);
272
- }
273
- }
274
- function FilterPanelComponent_div_0_ng_container_9_Template(rf, ctx) {
275
- if (rf & 1) {
276
- i0.ɵɵelementContainerStart(0);
277
- i0.ɵɵtemplate(1, FilterPanelComponent_div_0_ng_container_9_div_1_Template, 12, 10, "div", 12);
278
- i0.ɵɵelementContainerEnd();
279
- }
280
- if (rf & 2) {
281
- const filter_r2 = ctx.$implicit;
282
- i0.ɵɵadvance(1);
283
- i0.ɵɵproperty("ngIf", !filter_r2.hidden);
284
- }
285
- }
286
- function FilterPanelComponent_div_0_Template(rf, ctx) {
287
- if (rf & 1) {
288
- const _r42 = i0.ɵɵgetCurrentView();
289
- i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "span");
290
- i0.ɵɵtext(3, "Filters");
291
- i0.ɵɵelementEnd();
292
- i0.ɵɵnamespaceSVG();
293
- i0.ɵɵelementStart(4, "svg", 3);
294
- i0.ɵɵlistener("click", function FilterPanelComponent_div_0_Template__svg_svg_click_4_listener() { i0.ɵɵrestoreView(_r42); const ctx_r41 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r41.closePanel()); });
295
- i0.ɵɵelementStart(5, "g", 4);
296
- i0.ɵɵelement(6, "path", 5);
297
- i0.ɵɵelementEnd()()();
298
- i0.ɵɵnamespaceHTML();
299
- i0.ɵɵelement(7, "div", 6);
300
- i0.ɵɵelementStart(8, "div", 7);
301
- i0.ɵɵtemplate(9, FilterPanelComponent_div_0_ng_container_9_Template, 2, 1, "ng-container", 8);
302
- i0.ɵɵelementEnd();
303
- i0.ɵɵelementStart(10, "div", 9)(11, "mis-button", 10);
304
- i0.ɵɵlistener("click", function FilterPanelComponent_div_0_Template_mis_button_click_11_listener() { i0.ɵɵrestoreView(_r42); const ctx_r43 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r43.resetFilters()); });
305
- i0.ɵɵelementEnd();
306
- i0.ɵɵelementStart(12, "mis-button", 11);
307
- i0.ɵɵlistener("click", function FilterPanelComponent_div_0_Template_mis_button_click_12_listener() { i0.ɵɵrestoreView(_r42); const ctx_r44 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r44.applyFilters()); });
308
- i0.ɵɵelementEnd()()();
309
- }
310
- if (rf & 2) {
311
- const ctx_r0 = i0.ɵɵnextContext();
312
- i0.ɵɵproperty("@slideFromRight", undefined);
313
- i0.ɵɵadvance(8);
314
- i0.ɵɵproperty("formGroup", ctx_r0.filterForm);
315
- i0.ɵɵadvance(1);
316
- i0.ɵɵproperty("ngForOf", ctx_r0.config);
317
- i0.ɵɵadvance(2);
318
- i0.ɵɵproperty("name", "Clear All")("size", "Small")("type", "Text");
319
- i0.ɵɵadvance(1);
320
- i0.ɵɵproperty("name", "Apply")("size", "Small")("type", "Solid")("disabled", ctx_r0.filterForm.invalid);
321
- }
322
- }
323
- class FilterPanelComponent {
324
- constructor(hasValue) {
325
- this.hasValue = hasValue;
326
- this.onClose = new EventEmitter();
327
- this.onApply = new EventEmitter();
328
- this.config = [];
329
- this.filterForm = new FormGroup([]);
330
- this.dateRangeSelectedDates = {
331
- startDate: '',
332
- endDate: '',
333
- };
334
- }
335
- ngOnInit() {
336
- this.initializeFormControls();
337
- }
338
- ngOnChanges(changes) {
339
- var _a;
340
- if (!((_a = changes.config) === null || _a === void 0 ? void 0 : _a.firstChange)) {
341
- this.handleConfigChange();
342
- }
343
- }
344
- handleConfigChange() {
345
- this.config = this.config.filter(filter => !filter.hidden);
346
- }
347
- initializeFormControls() {
348
- this.config.forEach((filter) => {
349
- let control;
350
- if (filter.type === 'range') {
351
- control = new FormGroup({
352
- min: new FormControl(null),
353
- max: new FormControl(null),
354
- }, {
355
- validators: (group) => {
356
- const min = group.get('min').value;
357
- const max = group.get('max').value;
358
- if (min !== null && max !== null && min > max) {
359
- return { rangeError: 'Min value should be less than max value' };
360
- }
361
- return null;
362
- }
363
- });
364
- }
365
- else if (filter.type === 'multiSelect' || filter.type === 'checkbox') {
366
- control = new FormControl([]);
367
- }
368
- else if (filter.type === 'select') {
369
- control = new FormControl('');
370
- }
371
- else {
372
- control = new FormControl(null);
373
- }
374
- if (this.hasValue.transform(filter.defaultValue)) {
375
- control.setValue(filter.defaultValue);
376
- }
377
- this.filterForm.addControl(filter.key, control);
378
- });
379
- }
380
- closePanel() {
381
- if (this.lastAppliedData) {
382
- this.filterForm.setValue(this.lastAppliedData);
383
- }
384
- else {
385
- this.clearFormValues();
386
- }
387
- this.onClose.emit();
388
- }
389
- updateSelectedShifts() {
390
- if (this.show) {
391
- const selectedShifts = [...this.filterForm.get('shiftTime').value];
392
- const currentShifts = this.config.find((filter) => filter.key === 'shiftTime').options;
393
- selectedShifts.forEach((shift) => {
394
- if (!currentShifts.find((currentShift) => currentShift.value === shift.value)) {
395
- selectedShifts.splice(selectedShifts.indexOf(shift), 1);
396
- }
397
- });
398
- this.filterForm.get('shiftTime').setValue(selectedShifts);
399
- }
400
- }
401
- filterCount() {
402
- let count = 0;
403
- this.config.forEach((filter) => {
404
- if (this.hasValue.transform(this.filterForm.get(filter.key).value)) {
405
- if (filter.type === 'range' && this.filterForm.get(filter.key).value.min == null && this.filterForm.get(filter.key).value.max == null) {
406
- return;
407
- }
408
- count++;
409
- }
410
- });
411
- return count;
412
- }
413
- applyFilters() {
414
- if (this.filterForm.invalid) {
415
- this.filterForm.markAllAsTouched();
416
- return;
417
- }
418
- this.lastAppliedData = Object.assign({}, this.filterForm.value);
419
- this.onApply.emit({
420
- filterData: this.filterForm.value,
421
- filterCount: this.filterCount()
422
- });
423
- this.show = false;
424
- this.closePanel();
425
- }
426
- handleSelect(event, filterKey, filter) {
427
- this.filterForm.get(filterKey).setValue(event);
428
- if (filter.onChange) {
429
- filter.onChange(event, this.config);
430
- }
431
- }
432
- onDateChange(event, filterKey, filter) {
433
- this.filterForm.get(filterKey).setValue(event);
434
- if (typeof event === 'object') {
435
- this.dateRangeSelectedDates = {
436
- startDate: event.startDate,
437
- endDate: event.endDate,
438
- };
439
- }
440
- else {
441
- console.log(this.filterForm.get(filterKey).value);
442
- }
443
- }
444
- handleCheckbox(event, filterKey, checkboxValue, filter) {
445
- if (event.value) {
446
- this.filterForm.get(filterKey).setValue([...this.filterForm.get(filterKey).value, checkboxValue]);
447
- }
448
- else {
449
- const filterValue = this.filterForm.get(filterKey).value;
450
- this.filterForm.get(filterKey).setValue(filterValue.filter((value) => value !== checkboxValue));
451
- }
452
- if (filter.onChange) {
453
- filter.onChange(event, this.config, this.filterForm.value);
454
- }
455
- }
456
- clearFormValues() {
457
- const resetValues = {};
458
- this.config.forEach((filter) => {
459
- let defaultValue = null;
460
- if (filter.type === 'multiSelect' || filter.type === 'checkbox') {
461
- defaultValue = [];
462
- }
463
- if (filter.type === 'range') {
464
- defaultValue = { min: null, max: null };
465
- }
466
- resetValues[filter.key] = defaultValue;
467
- });
468
- this.filterForm.patchValue(resetValues);
469
- }
470
- resetFilters() {
471
- this.clearFormValues();
472
- this.applyFilters();
473
- }
474
- }
475
- FilterPanelComponent.ɵfac = function FilterPanelComponent_Factory(t) { return new (t || FilterPanelComponent)(i0.ɵɵdirectiveInject(HasValuePipe)); };
476
- FilterPanelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FilterPanelComponent, selectors: [["mis-filter-panel"]], inputs: { show: "show", config: "config" }, outputs: { onClose: "onClose", onApply: "onApply" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "filter-panel-container", 4, "ngIf"], [1, "filter-panel-container"], [1, "panel-header"], ["width", "25", "height", "25", "viewBox", "0 0 25 25", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", 1, "close-icon", 3, "click"], ["id", "ic-navigation-cancel-24"], ["id", "Union", "fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M8.60468 6.64355C8.09036 6.12923 7.25649 6.12923 6.74218 6.64355C6.22787 7.15786 6.22787 7.99173 6.74218 8.50604L10.4938 12.2576L6.7431 16.0083C6.22879 16.5226 6.22879 17.3564 6.7431 17.8708C7.25742 18.3851 8.09129 18.3851 8.6056 17.8708L12.3562 14.1201L16.1068 17.8707C16.6211 18.385 17.455 18.385 17.9693 17.8707C18.4836 17.3564 18.4836 16.5225 17.9693 16.0082L14.2187 12.2576L17.9702 8.50613C18.4845 7.99181 18.4845 7.15794 17.9702 6.64363C17.4559 6.12932 16.622 6.12932 16.1077 6.64363L12.3562 10.3951L8.60468 6.64355Z", "fill", "#181F33"], [1, "horizontal-divider", "first"], [1, "filters", 3, "formGroup"], [4, "ngFor", "ngForOf"], [1, "actions"], [3, "name", "size", "type", "click"], [3, "name", "size", "type", "disabled", "click"], ["class", "filter", 4, "ngIf"], [1, "filter"], [1, "filter-title"], [4, "ngIf"], ["class", "horizontal-divider", 4, "ngIf"], [1, "multiselect-filter"], ["width", "100%", "height", "44px", 1, "no-padding", 3, "label", "selectedItems", "data", "searchEnabled", "showSelectedCount", "enableSelectAll", "hideApplyButton", "onChange"], ["width", "100%", "height", "44px", 3, "data", "searchEnabled", "selectedItem", "onChange"], [1, "checkbox-row"], ["class", "checkbox-container", 4, "ngFor", "ngForOf"], [1, "checkbox-container"], [3, "type", "checked", "valueChange"], [1, "checkbox-label"], ["type", "rounded"], ["misTzDp", "", "misInput", "", "type", "text", "readonly", "", 1, "mis-input", 3, "dpConfig", "placeholder", "value", "selectedDate", "positionX", "offsetX", "dateChange"], ["misTzDrp", "", "misInput", "", "type", "text", "readonly", "", 1, "mis-input", 3, "placeholder", "value", "positionX", "positionY", "selectedDates", "dpConfig", "dateChange"], ["misInput", "", "type", "text", 1, "input", 3, "placeholder", "formControlName"], ["misInput", "", "type", "number", 1, "input", 3, "placeholder", "formControlName"], [1, "range-container", 3, "formGroup"], [1, "range-inner-container"], ["misInput", "", "type", "number", "formControlName", "min", 1, "input", 3, "placeholder"], ["misInput", "", "type", "number", "formControlName", "max", 1, "input", 3, "placeholder", "min"], [1, "horizontal-divider"]], template: function FilterPanelComponent_Template(rf, ctx) {
477
- if (rf & 1) {
478
- i0.ɵɵtemplate(0, FilterPanelComponent_div_0_Template, 13, 10, "div", 0);
479
- }
480
- if (rf & 2) {
481
- i0.ɵɵproperty("ngIf", ctx.show);
482
- }
483
- }, dependencies: [i2.NgForOf, i2.NgIf, i3.ButtonComponent, i4.DefaultValueAccessor, i4.NumberValueAccessor, i4.NgControlStatus, i4.NgControlStatusGroup, i4.MinValidator, i4.FormGroupDirective, i4.FormControlName, i5.MultiSelectDropdownComponent, i6.DropdownComponent, i7.MisInputComponent, i7.MisInputDirective, i8.TzDatepickerDirective, i9.TzDaterangepickerDirective, i10.CheckboxComponent], styles: [".filter-panel-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;max-width:100%;min-width:20rem;position:absolute;right:0;background:white;top:0;z-index:999;box-shadow:0 0 5px #000000a6;transition:all .3s ease}.filter-panel-container[_ngcontent-%COMP%] .panel-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-weight:700;margin:0 1rem;flex-basis:5%}.filter-panel-container[_ngcontent-%COMP%] .panel-header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1.25rem}.filter-panel-container[_ngcontent-%COMP%] .panel-header[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{cursor:pointer;border-radius:50%;transform:scale(1.4);padding:.3rem;transition:all .3s ease}.filter-panel-container[_ngcontent-%COMP%] .panel-header[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]:hover{background:#F5F5F5}.filter-panel-container[_ngcontent-%COMP%] .panel-header[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]:active{background:#E0E0E0}.filter-panel-container[_ngcontent-%COMP%] .mat-divider.horizontal[_ngcontent-%COMP%]{margin:1rem}.filters[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;row-gap:.5rem;overflow:auto;padding:0 1rem}.filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%]{display:flex;flex-direction:column}.filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .filter-title[_ngcontent-%COMP%]{color:#6a737d;font-size:.875rem;font-weight:700;line-height:20px;letter-spacing:.25px}.filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .checkbox-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:.8rem 0}.filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .checkbox-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:.5rem}.filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .checkbox-row[_ngcontent-%COMP%] .checkbox-label[_ngcontent-%COMP%]{display:block;width:8rem}.filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .checkbox-row[_ngcontent-%COMP%] .mat-checkbox-inner-container{width:20px;height:20px}.filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .checkbox-row[_ngcontent-%COMP%] .mat-checkbox-frame{border-radius:5px}.filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .multiselect-filter[_ngcontent-%COMP%], .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] mis-input[_ngcontent-%COMP%]{padding:.7rem 0}.horizontal-divider[_ngcontent-%COMP%]{display:block;width:100%;height:1px;margin:.5rem 0;background:#E0E0E0}.first[_ngcontent-%COMP%]{margin-top:0}.actions[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:end;align-items:center;gap:1rem;border-top:1px solid #E0E0E0;flex-basis:4%;padding:.5rem}.actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-weight:700;border-radius:.5rem;width:6rem}.no-padding[_ngcontent-%COMP%] .container{padding:0!important}.range-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:.8rem 0}.range-container[_ngcontent-%COMP%] .range-inner-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.range-container[_ngcontent-%COMP%] .range-inner-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{height:2.2rem;outline:none;border-radius:.375rem;border:1px solid #e0e0e0;width:8rem;padding:0 .5rem}.range-container[_ngcontent-%COMP%] .range-inner-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-bottom:.2rem}input.ng-invalid.ng-touched[_ngcontent-%COMP%]{border:1px solid red;background-color:#ffe6e6}"], data: { animation: [slideFromRight] } });
484
- (function () {
485
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterPanelComponent, [{
486
- type: Component,
487
- args: [{ selector: 'mis-filter-panel', animations: [slideFromRight], template: "<div class=\"filter-panel-container\" *ngIf=\"show\" @slideFromRight> \n <div class=\"panel-header\">\n <span>Filters</span>\n <svg class=\"close-icon\" (click)=\"closePanel()\" width=\"25\" height=\"25\" viewBox=\"0 0 25 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g id=\"ic-navigation-cancel-24\">\n <path id=\"Union\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8.60468 6.64355C8.09036 6.12923 7.25649 6.12923 6.74218 6.64355C6.22787 7.15786 6.22787 7.99173 6.74218 8.50604L10.4938 12.2576L6.7431 16.0083C6.22879 16.5226 6.22879 17.3564 6.7431 17.8708C7.25742 18.3851 8.09129 18.3851 8.6056 17.8708L12.3562 14.1201L16.1068 17.8707C16.6211 18.385 17.455 18.385 17.9693 17.8707C18.4836 17.3564 18.4836 16.5225 17.9693 16.0082L14.2187 12.2576L17.9702 8.50613C18.4845 7.99181 18.4845 7.15794 17.9702 6.64363C17.4559 6.12932 16.622 6.12932 16.1077 6.64363L12.3562 10.3951L8.60468 6.64355Z\" fill=\"#181F33\"/>\n </g>\n </svg> \n </div>\n \n <div class=\"horizontal-divider first\"></div>\n \n <div class=\"filters\" [formGroup]=\"filterForm\">\n <ng-container *ngFor=\"let filter of config; let last = last\">\n <div class=\"filter\" *ngIf=\"!filter.hidden\">\n <span class=\"filter-title\">{{filter.title}}</span>\n\n <ng-container *ngIf=\"filter.type === 'multiSelect'\">\n <div class=\"multiselect-filter\">\n <mis-multi-select-dropdown class=\"no-padding\" [label]=\"filter.placeholder || 'Select'\" [selectedItems]=\"filterForm.get(filter.key).value\" (onChange)=\"handleSelect($event, filter.key, filter)\" [data]=\"filter.options\" [searchEnabled]=\"true\"\n [showSelectedCount]=\"true\" [enableSelectAll]=\"true\"\n [hideApplyButton]=\"false\" width=\"100%\" height=\"44px\"></mis-multi-select-dropdown>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'select'\">\n <div class=\"multiselect-filter\">\n <mis-dropdown [data]=\"filter.options\" [searchEnabled]=\"true\" width=\"100%\" height=\"44px\"\n (onChange)=\"handleSelect($event, filter.key, filter)\" [selectedItem]=\"filterForm.get(filter.key).value\">\n </mis-dropdown>\n </div>\n </ng-container>\n \n <ng-container *ngIf=\"filter.type === 'checkbox'\">\n <div class=\"checkbox-row\">\n <div *ngFor=\"let option of filter.options\" class=\"checkbox-container\">\n <mis-checkbox [type]=\"'Default'\" [checked]=\"filterForm.get(filter.key).value?.includes(option.value)\" (valueChange)=\"handleCheckbox($event, filter.key, option.value, filter)\"></mis-checkbox>\n <span class=\"checkbox-label\">{{option.label}}</span>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'datePicker'\">\n {{filter.placeholder}}\n <mis-input type=\"rounded\">\n <input misTzDp misInput type=\"text\" readonly class=\"mis-input\" [dpConfig]=\"filter.datepickerConfig\" [placeholder]=\"filterForm.get(filter.key).value ? filterForm.get(filter.key).value : (filter.placeholder || 'Select')\" [value]=\"filterForm.get(filter.key).value ? filterForm.get(filter.key).value : (filter.placeholder || 'Select')\" (dateChange)=\"onDateChange($event, filter.key, filter)\" [selectedDate]=\"filterForm.get(filter.key).value\" [positionX]=\"'end'\" [offsetX]=\"-10\">\n </mis-input>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'dateRangePicker'\">\n <mis-input type=\"rounded\">\n <input misTzDrp misInput type=\"text\" class=\"mis-input\" readonly\n [placeholder]=\"(!dateRangeSelectedDates.startDate && !dateRangeSelectedDates.endDate) ? (filter.placeholder || 'Select') : dateRangeSelectedDates.startDate + ' - ' + dateRangeSelectedDates.endDate\"\n [value]=\"(!dateRangeSelectedDates.startDate && !dateRangeSelectedDates.endDate) ? (filter.placeholder || 'Select') : dateRangeSelectedDates.startDate + ' - ' + dateRangeSelectedDates.endDate\" [positionX]=\"'start'\"\n [positionY]=\"'top'\" [selectedDates]=\"dateRangeSelectedDates\" (dateChange)=\"onDateChange($event, filter.key, filter)\"\n [dpConfig]=\"filter.dateRangePickerConfig\" />\n </mis-input> \n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'text'\">\n <mis-input type=\"rounded\">\n <input misInput type=\"text\" class=\"input\" [placeholder]=\"filter.placeholder || 'Type here'\" [formControlName]=\"filter.key\">\n </mis-input>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'number'\">\n <mis-input type=\"rounded\">\n <input misInput type=\"number\" class=\"input\" [placeholder]=\"filter.placeholder || 'Type here'\" [formControlName]=\"filter.key\">\n </mis-input>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'range'\">\n <div class=\"range-container\" [formGroup]=\"filterForm.get(filter.key)\">\n <div class=\"range-inner-container\">\n <span>{{ filter?.options?.[0]?.label || 'Min' }}</span>\n <input \n misInput \n type=\"number\" \n class=\"input\" \n [placeholder]=\"filter.placeholder || 'Type here'\" \n formControlName=\"min\" \n />\n </div>\n <div class=\"range-inner-container\">\n <span>{{ filter?.options?.[1]?.label || 'Max' }}</span>\n <input \n misInput \n type=\"number\" \n class=\"input\" \n [placeholder]=\"filter.placeholder || 'Type here'\" \n formControlName=\"max\"\n [min]=\"filterForm.get?.(filter.key)?.get('min')?.value || 0\"\n />\n </div>\n </div>\n </ng-container>\n \n\n <div class=\"horizontal-divider\" *ngIf=\"!last\"></div>\n </div> \n </ng-container>\n </div>\n\n <div class=\"actions\">\n <mis-button [name]=\"'Clear All'\" [size]=\"'Small'\" [type]=\"'Text'\" (click)=\"resetFilters()\"></mis-button>\n <mis-button [name]=\"'Apply'\" [size]=\"'Small'\" [type]=\"'Solid'\" (click)=\"applyFilters()\" [disabled]=\"filterForm.invalid\"></mis-button>\n </div>\n</div> \n", styles: [".filter-panel-container{display:flex;flex-direction:column;height:100%;max-width:100%;min-width:20rem;position:absolute;right:0;background:white;top:0;z-index:999;box-shadow:0 0 5px #000000a6;transition:all .3s ease}.filter-panel-container .panel-header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;font-weight:700;margin:0 1rem;flex-basis:5%}.filter-panel-container .panel-header span{font-size:1.25rem}.filter-panel-container .panel-header .close-icon{cursor:pointer;border-radius:50%;transform:scale(1.4);padding:.3rem;transition:all .3s ease}.filter-panel-container .panel-header .close-icon:hover{background:#F5F5F5}.filter-panel-container .panel-header .close-icon:active{background:#E0E0E0}.filter-panel-container .mat-divider.horizontal{margin:1rem}.filters{display:flex;flex-direction:column;flex:1;row-gap:.5rem;overflow:auto;padding:0 1rem}.filters .filter{display:flex;flex-direction:column}.filters .filter .filter-title{color:#6a737d;font-size:.875rem;font-weight:700;line-height:20px;letter-spacing:.25px}.filters .filter .checkbox-row{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:.8rem 0}.filters .filter .checkbox-row .checkbox-container{display:flex;flex-direction:row;align-items:center;gap:.5rem}.filters .filter .checkbox-row .checkbox-label{display:block;width:8rem}.filters .filter .checkbox-row ::ng-deep .mat-checkbox-inner-container{width:20px;height:20px}.filters .filter .checkbox-row ::ng-deep .mat-checkbox-frame{border-radius:5px}.filters .filter .multiselect-filter,.filters .filter mis-input{padding:.7rem 0}.horizontal-divider{display:block;width:100%;height:1px;margin:.5rem 0;background:#E0E0E0}.first{margin-top:0}.actions{display:flex;flex-direction:row;justify-content:end;align-items:center;gap:1rem;border-top:1px solid #E0E0E0;flex-basis:4%;padding:.5rem}.actions button{font-weight:700;border-radius:.5rem;width:6rem}.no-padding ::ng-deep .container{padding:0!important}.range-container{display:flex;justify-content:space-between;padding:.8rem 0}.range-container .range-inner-container{display:flex;flex-direction:column}.range-container .range-inner-container input{height:2.2rem;outline:none;border-radius:.375rem;border:1px solid #e0e0e0;width:8rem;padding:0 .5rem}.range-container .range-inner-container span{margin-bottom:.2rem}input.ng-invalid.ng-touched{border:1px solid red;background-color:#ffe6e6}\n"] }]
488
- }], function () { return [{ type: HasValuePipe }]; }, { show: [{
489
- type: Input
490
- }], onClose: [{
491
- type: Output
492
- }], onApply: [{
493
- type: Output
494
- }], config: [{
495
- type: Input
496
- }] });
497
- })();
498
-
499
- class FiltersModule {
500
- }
501
- FiltersModule.ɵfac = function FiltersModule_Factory(t) { return new (t || FiltersModule)(); };
502
- FiltersModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FiltersModule });
503
- FiltersModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
504
- HasValuePipe
505
- ], imports: [CommonModule,
506
- ButtonModule,
507
- FormsModule,
508
- ReactiveFormsModule,
509
- MultiSelectDropdownModule,
510
- DropdownModule,
511
- RadioButtonModule,
512
- MisInputModule,
513
- DatepickerModuleV2,
514
- DateRangepickerModuleV2,
515
- CheckboxModule] });
516
- (function () {
517
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FiltersModule, [{
518
- type: NgModule,
519
- args: [{
520
- imports: [
521
- CommonModule,
522
- ButtonModule,
523
- FormsModule,
524
- ReactiveFormsModule,
525
- MultiSelectDropdownModule,
526
- DropdownModule,
527
- RadioButtonModule,
528
- MisInputModule,
529
- DatepickerModuleV2,
530
- DateRangepickerModuleV2,
531
- CheckboxModule
532
- ],
533
- declarations: [FilterPanelComponent, HasValuePipe],
534
- providers: [
535
- HasValuePipe
536
- ],
537
- exports: [FilterPanelComponent]
538
- }]
539
- }], null, null);
540
- })();
541
- (function () {
542
- (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FiltersModule, { declarations: [FilterPanelComponent, HasValuePipe], imports: [CommonModule,
543
- ButtonModule,
544
- FormsModule,
545
- ReactiveFormsModule,
546
- MultiSelectDropdownModule,
547
- DropdownModule,
548
- RadioButtonModule,
549
- MisInputModule,
550
- DatepickerModuleV2,
551
- DateRangepickerModuleV2,
552
- CheckboxModule], exports: [FilterPanelComponent] });
553
- })();
554
-
555
- /**
556
- * Generated bundle index. Do not edit.
557
- */
558
-
559
- export { FilterPanelComponent, FiltersModule, HasValuePipe };
560
- //# sourceMappingURL=mis-crystal-design-system-filter.mjs.map