mis-crystal-design-system 18.0.5 → 18.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (526) hide show
  1. package/action-list/action-list.component.d.ts +1 -1
  2. package/analytics/analytics.service.d.ts +1 -1
  3. package/async-search-dropdown/async-dropdown.component.d.ts +3 -2
  4. package/button/button.component.d.ts +1 -1
  5. package/button/button.directive.d.ts +1 -1
  6. package/checkbox/checkbox.component.d.ts +1 -1
  7. package/chip/chip.component.d.ts +1 -1
  8. package/datepicker_v2/models/dp-config.model.d.ts +1 -1
  9. package/datepicker_v2/tz-datepicker.directive.d.ts +1 -1
  10. package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +1 -1
  11. package/daterangepicker_v2/models/drp-config.model.d.ts +1 -1
  12. package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +1 -1
  13. package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +1 -1
  14. package/drawer/drawer-body/drawer-body.component.d.ts +1 -1
  15. package/dropdown/calculate-container-height.directive.d.ts +1 -1
  16. package/dropdown/dropdown.component.d.ts +1 -1
  17. package/dynamic-form/dynamic-form.component.d.ts +1 -1
  18. package/esm2022/action-list/action-list.component.mjs +363 -0
  19. package/{esm2020 → esm2022}/action-list/action-list.module.mjs +5 -5
  20. package/{esm2020 → esm2022}/analytics/analytics.module.mjs +5 -5
  21. package/esm2022/analytics/analytics.service.mjs +64 -0
  22. package/esm2022/async-search-dropdown/async-dropdown.component.mjs +536 -0
  23. package/{esm2020 → esm2022}/async-search-dropdown/async-dropdown.module.mjs +5 -5
  24. package/esm2022/button/button.component.mjs +88 -0
  25. package/esm2022/button/button.directive.mjs +61 -0
  26. package/{esm2020 → esm2022}/button/button.module.mjs +5 -5
  27. package/esm2022/checkbox/checkbox.component.mjs +124 -0
  28. package/{esm2020 → esm2022}/checkbox/checkbox.module.mjs +5 -5
  29. package/esm2022/chip/chip.component.mjs +82 -0
  30. package/{esm2020 → esm2022}/chip/chip.module.mjs +5 -5
  31. package/{esm2020 → esm2022}/datepicker_v2/datepicker.module.mjs +5 -5
  32. package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +183 -0
  33. package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +442 -0
  34. package/{esm2020/daterangepicker_v2 → esm2022/datepicker_v2}/utils/index.mjs +1 -1
  35. package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
  36. package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +165 -0
  37. package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +503 -0
  38. package/esm2022/daterangepicker_v2/utils/index.mjs +45 -0
  39. package/esm2022/drawer/drawer-body/drawer-body.component.mjs +59 -0
  40. package/{esm2020 → esm2022}/drawer/drawer-ref.mjs +4 -4
  41. package/{esm2020 → esm2022}/drawer/drawer.module.mjs +5 -5
  42. package/{esm2020 → esm2022}/drawer/drawer.service.mjs +5 -5
  43. package/esm2022/dropdown/calculate-container-height.directive.mjs +41 -0
  44. package/esm2022/dropdown/dropdown.component.mjs +464 -0
  45. package/{esm2020 → esm2022}/dropdown/dropdown.module.mjs +5 -5
  46. package/esm2022/dynamic-form/dynamic-form.component.mjs +1093 -0
  47. package/{esm2020 → esm2022}/dynamic-form/dynamic-form.module.mjs +13 -13
  48. package/esm2022/fab/fab.component.mjs +145 -0
  49. package/{esm2020 → esm2022}/fab/fab.module.mjs +5 -5
  50. package/esm2022/filter/filter-panel/filter-panel.component.mjs +396 -0
  51. package/{esm2020 → esm2022}/filter/filters.module.mjs +17 -17
  52. package/esm2022/filter/has-value.pipe.mjs +31 -0
  53. package/{esm2020 → esm2022}/input/directives/input/input.directive.mjs +6 -6
  54. package/{fesm2020/mis-crystal-design-system-input.mjs → esm2022/input/mis-input.component.mjs} +49 -109
  55. package/{esm2020 → esm2022}/input/mis-input.module.mjs +5 -5
  56. package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +89 -0
  57. package/{esm2020 → esm2022}/input-stepper/input-stepper.module.mjs +5 -5
  58. package/esm2022/loader/loader.component.mjs +25 -0
  59. package/{esm2020 → esm2022}/loader/loader.module.mjs +5 -5
  60. package/esm2022/menu/menu-close.directive.mjs +25 -0
  61. package/{esm2020 → esm2022}/menu/menu.directive.mjs +7 -7
  62. package/{esm2020 → esm2022}/menu/menu.module.mjs +5 -5
  63. package/esm2022/mobile-filter/mobile-filter.component.mjs +180 -0
  64. package/{esm2020 → esm2022}/mobile-filter/mobile-filter.module.mjs +5 -5
  65. package/{esm2020 → esm2022}/modal/modal.module.mjs +5 -5
  66. package/esm2022/modal/modal.service.mjs +70 -0
  67. package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +56 -0
  68. package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +489 -0
  69. package/{esm2020 → esm2022}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
  70. package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +516 -0
  71. package/{esm2020 → esm2022}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
  72. package/esm2022/phone-input/phone-input.component.mjs +72 -0
  73. package/{esm2020 → esm2022}/phone-input/phone-input.module.mjs +5 -5
  74. package/esm2022/radio-button/radio-button.component.mjs +57 -0
  75. package/{esm2020 → esm2022}/radio-button/radio-button.module.mjs +5 -5
  76. package/esm2022/ske-loader/ske-loader.component.mjs +54 -0
  77. package/{esm2020 → esm2022}/ske-loader/ske-loader.module.mjs +5 -5
  78. package/esm2022/slider/slider.component.mjs +46 -0
  79. package/{esm2020 → esm2022}/slider/slider.module.mjs +7 -7
  80. package/esm2022/snackbar/snackbar/snackbar.component.mjs +72 -0
  81. package/{esm2020 → esm2022}/snackbar/snackbar.module.mjs +5 -5
  82. package/esm2022/snackbar/snackbar.service.mjs +47 -0
  83. package/{esm2020 → esm2022}/specificdatepicker/specificdatepicker.module.mjs +5 -5
  84. package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +646 -0
  85. package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
  86. package/esm2022/specificdatepicker/utils/index.mjs +45 -0
  87. package/esm2022/star-rating/star-rating.component.mjs +113 -0
  88. package/{esm2020 → esm2022}/star-rating/star-rating.module.mjs +5 -5
  89. package/esm2022/switch/switch.component.mjs +56 -0
  90. package/{esm2020 → esm2022}/switch/switch.module.mjs +5 -5
  91. package/esm2022/table/custom-table-cell.directive.mjs +42 -0
  92. package/esm2022/table/filter/filter.component.mjs +177 -0
  93. package/esm2022/table/sub-table/sub-table.component.mjs +192 -0
  94. package/esm2022/table/table.component.mjs +485 -0
  95. package/{esm2020 → esm2022}/table/table.module.mjs +5 -5
  96. package/esm2022/timepicker/timepicker.component.mjs +374 -0
  97. package/esm2022/timepicker/timepicker.directive.mjs +69 -0
  98. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +5 -5
  99. package/esm2022/timerangepicker/timerangepicker.component.mjs +237 -0
  100. package/{esm2020 → esm2022}/timerangepicker/timerangepicker.module.mjs +5 -5
  101. package/esm2022/toast/toast.component.mjs +51 -0
  102. package/{esm2020 → esm2022}/toast/toast.data.service.mjs +8 -8
  103. package/{esm2020 → esm2022}/toast/toast.module.mjs +5 -5
  104. package/esm2022/toast/toast.service.mjs +91 -0
  105. package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +79 -0
  106. package/esm2022/tooltip/tooltip.directive.mjs +143 -0
  107. package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +5 -5
  108. package/esm2022/virtual-scroll/virtual-scroll.component.mjs +188 -0
  109. package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.module.mjs +7 -7
  110. package/esm2022/widgets/classes/async-widget.mjs +23 -0
  111. package/{esm2020 → esm2022}/widgets/classes/base-widget.mjs +1 -1
  112. package/esm2022/widgets/classes/sync-widget.mjs +20 -0
  113. package/{esm2020 → esm2022}/widgets/services/widget.service.mjs +5 -5
  114. package/{esm2020 → esm2022}/widgets/widgets.module.mjs +5 -5
  115. package/fab/fab.component.d.ts +4 -4
  116. package/{fesm2020 → fesm2022}/mis-crystal-design-system-action-list.mjs +106 -113
  117. package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -0
  118. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs +9 -9
  119. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs.map +1 -1
  120. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +561 -0
  121. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  122. package/fesm2022/mis-crystal-design-system-button.mjs +173 -0
  123. package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -0
  124. package/fesm2022/mis-crystal-design-system-checkbox.mjs +150 -0
  125. package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -0
  126. package/fesm2022/mis-crystal-design-system-chip.mjs +108 -0
  127. package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -0
  128. package/{fesm2020 → fesm2022}/mis-crystal-design-system-datepicker_v2.mjs +133 -140
  129. package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  130. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +737 -0
  131. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  132. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs +34 -33
  133. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs.map +1 -1
  134. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dropdown.mjs +176 -184
  135. package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -0
  136. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dynamic-form.mjs +441 -456
  137. package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  138. package/{fesm2020 → fesm2022}/mis-crystal-design-system-fab.mjs +48 -47
  139. package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -0
  140. package/{fesm2020 → fesm2022}/mis-crystal-design-system-filter.mjs +113 -120
  141. package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -0
  142. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs +35 -34
  143. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs.map +1 -1
  144. package/fesm2022/mis-crystal-design-system-input.mjs +146 -0
  145. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input.mjs.map +1 -1
  146. package/fesm2022/mis-crystal-design-system-loader.mjs +51 -0
  147. package/{fesm2020 → fesm2022}/mis-crystal-design-system-loader.mjs.map +1 -1
  148. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs +16 -16
  149. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs.map +1 -1
  150. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +205 -0
  151. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  152. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs +34 -33
  153. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs.map +1 -1
  154. package/{fesm2020 → fesm2022}/mis-crystal-design-system-multi-select-dropdown.mjs +107 -109
  155. package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  156. package/{fesm2020 → fesm2022}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +128 -129
  157. package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  158. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs +22 -21
  159. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs.map +1 -1
  160. package/fesm2022/mis-crystal-design-system-radio-button.mjs +83 -0
  161. package/{fesm2020 → fesm2022}/mis-crystal-design-system-radio-button.mjs.map +1 -1
  162. package/fesm2022/mis-crystal-design-system-ske-loader.mjs +77 -0
  163. package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  164. package/fesm2022/mis-crystal-design-system-slider.mjs +80 -0
  165. package/{fesm2020 → fesm2022}/mis-crystal-design-system-slider.mjs.map +1 -1
  166. package/{fesm2020 → fesm2022}/mis-crystal-design-system-snackbar.mjs +32 -32
  167. package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -0
  168. package/{fesm2020 → fesm2022}/mis-crystal-design-system-specificdatepicker.mjs +204 -204
  169. package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  170. package/{fesm2020 → fesm2022}/mis-crystal-design-system-star-rating.mjs +29 -28
  171. package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -0
  172. package/fesm2022/mis-crystal-design-system-switch.mjs +82 -0
  173. package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -0
  174. package/{fesm2020 → fesm2022}/mis-crystal-design-system-table.mjs +314 -321
  175. package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -0
  176. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs +78 -74
  177. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs.map +1 -1
  178. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs +26 -25
  179. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
  180. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs +35 -34
  181. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs.map +1 -1
  182. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs +47 -47
  183. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs.map +1 -1
  184. package/{fesm2020 → fesm2022}/mis-crystal-design-system-virtual-scroll.mjs +50 -52
  185. package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  186. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs +4 -4
  187. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs.map +1 -1
  188. package/filter/filter-panel/filter-panel.component.d.ts +1 -1
  189. package/input/directives/input/input.directive.d.ts +1 -1
  190. package/input/mis-input.component.d.ts +1 -1
  191. package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
  192. package/loader/loader.component.d.ts +1 -1
  193. package/menu/menu-close.directive.d.ts +1 -1
  194. package/menu/menu.directive.d.ts +1 -1
  195. package/mobile-filter/mobile-filter.component.d.ts +1 -1
  196. package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
  197. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
  198. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
  199. package/package.json +125 -207
  200. package/phone-input/phone-input.component.d.ts +1 -1
  201. package/radio-button/radio-button.component.d.ts +1 -1
  202. package/ske-loader/ske-loader.component.d.ts +1 -1
  203. package/slider/slider.component.d.ts +1 -1
  204. package/snackbar/snackbar/snackbar.component.d.ts +1 -1
  205. package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
  206. package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
  207. package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
  208. package/star-rating/star-rating.component.d.ts +1 -1
  209. package/switch/switch.component.d.ts +1 -1
  210. package/table/custom-table-cell.directive.d.ts +1 -1
  211. package/table/filter/filter.component.d.ts +1 -1
  212. package/table/sub-table/sub-table.component.d.ts +1 -1
  213. package/table/table.component.d.ts +1 -1
  214. package/timepicker/timepicker.component.d.ts +1 -1
  215. package/timepicker/timepicker.directive.d.ts +1 -1
  216. package/timerangepicker/timerange.namespace.d.ts +1 -1
  217. package/timerangepicker/timerangepicker.component.d.ts +1 -1
  218. package/toast/toast.component.d.ts +1 -1
  219. package/toast/toast.service.d.ts +1 -1
  220. package/tooltip/models/tooltip.model.d.ts +1 -1
  221. package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
  222. package/tooltip/tooltip.directive.d.ts +1 -1
  223. package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
  224. package/widgets/interfaces/widgets.model.d.ts +1 -1
  225. package/esm2020/action-list/action-list.component.mjs +0 -370
  226. package/esm2020/analytics/analytics.service.mjs +0 -64
  227. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +0 -525
  228. package/esm2020/button/button.component.mjs +0 -87
  229. package/esm2020/button/button.directive.mjs +0 -61
  230. package/esm2020/checkbox/checkbox.component.mjs +0 -124
  231. package/esm2020/chip/chip.component.mjs +0 -82
  232. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +0 -183
  233. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -449
  234. package/esm2020/datepicker_v2/utils/index.mjs +0 -45
  235. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -165
  236. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -502
  237. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +0 -58
  238. package/esm2020/dropdown/calculate-container-height.directive.mjs +0 -41
  239. package/esm2020/dropdown/dropdown.component.mjs +0 -472
  240. package/esm2020/dynamic-form/dynamic-form.component.mjs +0 -1108
  241. package/esm2020/fab/fab.component.mjs +0 -144
  242. package/esm2020/filter/filter-panel/filter-panel.component.mjs +0 -403
  243. package/esm2020/filter/has-value.pipe.mjs +0 -31
  244. package/esm2020/input/mis-input.component.mjs +0 -84
  245. package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +0 -88
  246. package/esm2020/loader/loader.component.mjs +0 -24
  247. package/esm2020/menu/menu-close.directive.mjs +0 -25
  248. package/esm2020/mobile-filter/mobile-filter.component.mjs +0 -181
  249. package/esm2020/modal/modal.service.mjs +0 -70
  250. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +0 -55
  251. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -491
  252. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -517
  253. package/esm2020/phone-input/phone-input.component.mjs +0 -71
  254. package/esm2020/radio-button/radio-button.component.mjs +0 -56
  255. package/esm2020/ske-loader/ske-loader.component.mjs +0 -53
  256. package/esm2020/slider/slider.component.mjs +0 -45
  257. package/esm2020/snackbar/snackbar/snackbar.component.mjs +0 -72
  258. package/esm2020/snackbar/snackbar.service.mjs +0 -47
  259. package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -646
  260. package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
  261. package/esm2020/specificdatepicker/utils/index.mjs +0 -45
  262. package/esm2020/star-rating/star-rating.component.mjs +0 -112
  263. package/esm2020/switch/switch.component.mjs +0 -55
  264. package/esm2020/table/custom-table-cell.directive.mjs +0 -42
  265. package/esm2020/table/filter/filter.component.mjs +0 -176
  266. package/esm2020/table/sub-table/sub-table.component.mjs +0 -193
  267. package/esm2020/table/table.component.mjs +0 -492
  268. package/esm2020/timepicker/timepicker.component.mjs +0 -370
  269. package/esm2020/timepicker/timepicker.directive.mjs +0 -69
  270. package/esm2020/timerangepicker/timerangepicker.component.mjs +0 -236
  271. package/esm2020/toast/toast.component.mjs +0 -50
  272. package/esm2020/toast/toast.service.mjs +0 -91
  273. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +0 -79
  274. package/esm2020/tooltip/tooltip.directive.mjs +0 -143
  275. package/esm2020/virtual-scroll/virtual-scroll.component.mjs +0 -190
  276. package/esm2020/widgets/classes/async-widget.mjs +0 -23
  277. package/esm2020/widgets/classes/sync-widget.mjs +0 -20
  278. package/fesm2015/mis-crystal-design-system-action-list.mjs +0 -446
  279. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +0 -1
  280. package/fesm2015/mis-crystal-design-system-analytics.mjs +0 -87
  281. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +0 -1
  282. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +0 -618
  283. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  284. package/fesm2015/mis-crystal-design-system-button.mjs +0 -189
  285. package/fesm2015/mis-crystal-design-system-button.mjs.map +0 -1
  286. package/fesm2015/mis-crystal-design-system-checkbox.mjs +0 -166
  287. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +0 -1
  288. package/fesm2015/mis-crystal-design-system-chip.mjs +0 -123
  289. package/fesm2015/mis-crystal-design-system-chip.mjs.map +0 -1
  290. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +0 -751
  291. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  292. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +0 -769
  293. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  294. package/fesm2015/mis-crystal-design-system-drawer.mjs +0 -185
  295. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +0 -1
  296. package/fesm2015/mis-crystal-design-system-dropdown.mjs +0 -616
  297. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +0 -1
  298. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +0 -1337
  299. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  300. package/fesm2015/mis-crystal-design-system-fab.mjs +0 -186
  301. package/fesm2015/mis-crystal-design-system-fab.mjs.map +0 -1
  302. package/fesm2015/mis-crystal-design-system-filter.mjs +0 -559
  303. package/fesm2015/mis-crystal-design-system-filter.mjs.map +0 -1
  304. package/fesm2015/mis-crystal-design-system-input-stepper.mjs +0 -124
  305. package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +0 -1
  306. package/fesm2015/mis-crystal-design-system-input.mjs +0 -165
  307. package/fesm2015/mis-crystal-design-system-input.mjs.map +0 -1
  308. package/fesm2015/mis-crystal-design-system-loader.mjs +0 -57
  309. package/fesm2015/mis-crystal-design-system-loader.mjs.map +0 -1
  310. package/fesm2015/mis-crystal-design-system-menu.mjs +0 -135
  311. package/fesm2015/mis-crystal-design-system-menu.mjs.map +0 -1
  312. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +0 -227
  313. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  314. package/fesm2015/mis-crystal-design-system-modal.mjs +0 -184
  315. package/fesm2015/mis-crystal-design-system-modal.mjs.map +0 -1
  316. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +0 -550
  317. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  318. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -559
  319. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  320. package/fesm2015/mis-crystal-design-system-phone-input.mjs +0 -107
  321. package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +0 -1
  322. package/fesm2015/mis-crystal-design-system-radio-button.mjs +0 -89
  323. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +0 -1
  324. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +0 -86
  325. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  326. package/fesm2015/mis-crystal-design-system-slider.mjs +0 -88
  327. package/fesm2015/mis-crystal-design-system-slider.mjs.map +0 -1
  328. package/fesm2015/mis-crystal-design-system-snackbar.mjs +0 -175
  329. package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +0 -1
  330. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +0 -970
  331. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  332. package/fesm2015/mis-crystal-design-system-star-rating.mjs +0 -145
  333. package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +0 -1
  334. package/fesm2015/mis-crystal-design-system-switch.mjs +0 -88
  335. package/fesm2015/mis-crystal-design-system-switch.mjs.map +0 -1
  336. package/fesm2015/mis-crystal-design-system-table.mjs +0 -1045
  337. package/fesm2015/mis-crystal-design-system-table.mjs.map +0 -1
  338. package/fesm2015/mis-crystal-design-system-timepicker.mjs +0 -484
  339. package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +0 -1
  340. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +0 -273
  341. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +0 -1
  342. package/fesm2015/mis-crystal-design-system-toast.mjs +0 -214
  343. package/fesm2015/mis-crystal-design-system-toast.mjs.map +0 -1
  344. package/fesm2015/mis-crystal-design-system-tooltip.mjs +0 -272
  345. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +0 -1
  346. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +0 -259
  347. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  348. package/fesm2015/mis-crystal-design-system-widgets.mjs +0 -131
  349. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +0 -1
  350. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +0 -1
  351. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +0 -550
  352. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  353. package/fesm2020/mis-crystal-design-system-button.mjs +0 -172
  354. package/fesm2020/mis-crystal-design-system-button.mjs.map +0 -1
  355. package/fesm2020/mis-crystal-design-system-checkbox.mjs +0 -150
  356. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +0 -1
  357. package/fesm2020/mis-crystal-design-system-chip.mjs +0 -108
  358. package/fesm2020/mis-crystal-design-system-chip.mjs.map +0 -1
  359. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  360. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +0 -736
  361. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  362. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +0 -1
  363. package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  364. package/fesm2020/mis-crystal-design-system-fab.mjs.map +0 -1
  365. package/fesm2020/mis-crystal-design-system-filter.mjs.map +0 -1
  366. package/fesm2020/mis-crystal-design-system-loader.mjs +0 -50
  367. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +0 -206
  368. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  369. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  370. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  371. package/fesm2020/mis-crystal-design-system-radio-button.mjs +0 -82
  372. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +0 -76
  373. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  374. package/fesm2020/mis-crystal-design-system-slider.mjs +0 -79
  375. package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +0 -1
  376. package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  377. package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +0 -1
  378. package/fesm2020/mis-crystal-design-system-styles.mjs +0 -4
  379. package/fesm2020/mis-crystal-design-system-styles.mjs.map +0 -1
  380. package/fesm2020/mis-crystal-design-system-switch.mjs +0 -81
  381. package/fesm2020/mis-crystal-design-system-switch.mjs.map +0 -1
  382. package/fesm2020/mis-crystal-design-system-table.mjs.map +0 -1
  383. package/fesm2020/mis-crystal-design-system-utils.mjs +0 -24
  384. package/fesm2020/mis-crystal-design-system-utils.mjs.map +0 -1
  385. package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  386. package/fesm2020/mis-crystal-design-system.mjs +0 -24
  387. package/fesm2020/mis-crystal-design-system.mjs.map +0 -1
  388. /package/{esm2020 → esm2022}/action-list/index.mjs +0 -0
  389. /package/{esm2020 → esm2022}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
  390. /package/{esm2020 → esm2022}/action-list/public_api.mjs +0 -0
  391. /package/{esm2020 → esm2022}/analytics/index.mjs +0 -0
  392. /package/{esm2020 → esm2022}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
  393. /package/{esm2020 → esm2022}/analytics/public_api.mjs +0 -0
  394. /package/{esm2020 → esm2022}/async-search-dropdown/index.mjs +0 -0
  395. /package/{esm2020 → esm2022}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
  396. /package/{esm2020 → esm2022}/async-search-dropdown/public_api.mjs +0 -0
  397. /package/{esm2020 → esm2022}/button/index.mjs +0 -0
  398. /package/{esm2020 → esm2022}/button/mis-crystal-design-system-button.mjs +0 -0
  399. /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
  400. /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
  401. /package/{esm2020 → esm2022}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
  402. /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
  403. /package/{esm2020 → esm2022}/chip/index.mjs +0 -0
  404. /package/{esm2020 → esm2022}/chip/mis-crystal-design-system-chip.mjs +0 -0
  405. /package/{esm2020 → esm2022}/chip/public_api.mjs +0 -0
  406. /package/{esm2020 → esm2022}/datepicker_v2/datepicker-constants.mjs +0 -0
  407. /package/{esm2020 → esm2022}/datepicker_v2/index.mjs +0 -0
  408. /package/{esm2020 → esm2022}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
  409. /package/{esm2020 → esm2022}/datepicker_v2/models/dp-config.model.mjs +0 -0
  410. /package/{esm2020 → esm2022}/datepicker_v2/public_api.mjs +0 -0
  411. /package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
  412. /package/{esm2020 → esm2022}/daterangepicker_v2/index.mjs +0 -0
  413. /package/{esm2020 → esm2022}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
  414. /package/{esm2020 → esm2022}/daterangepicker_v2/models/drp-config.model.mjs +0 -0
  415. /package/{esm2020 → esm2022}/daterangepicker_v2/public_api.mjs +0 -0
  416. /package/{esm2020 → esm2022}/drawer/drawer-constants.mjs +0 -0
  417. /package/{esm2020 → esm2022}/drawer/index.mjs +0 -0
  418. /package/{esm2020 → esm2022}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
  419. /package/{esm2020 → esm2022}/drawer/public_api.mjs +0 -0
  420. /package/{esm2020 → esm2022}/dropdown/index.mjs +0 -0
  421. /package/{esm2020 → esm2022}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
  422. /package/{esm2020 → esm2022}/dropdown/public_api.mjs +0 -0
  423. /package/{esm2020 → esm2022}/dynamic-form/dynamic-form.namespace.mjs +0 -0
  424. /package/{esm2020 → esm2022}/dynamic-form/index.mjs +0 -0
  425. /package/{esm2020 → esm2022}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
  426. /package/{esm2020 → esm2022}/dynamic-form/public_api.mjs +0 -0
  427. /package/{esm2020 → esm2022}/fab/index.mjs +0 -0
  428. /package/{esm2020 → esm2022}/fab/mis-crystal-design-system-fab.mjs +0 -0
  429. /package/{esm2020 → esm2022}/fab/public_api.mjs +0 -0
  430. /package/{esm2020 → esm2022}/filter/animations/slideFromRight.mjs +0 -0
  431. /package/{esm2020 → esm2022}/filter/index.mjs +0 -0
  432. /package/{esm2020 → esm2022}/filter/mis-crystal-design-system-filter.mjs +0 -0
  433. /package/{esm2020 → esm2022}/filter/public_api.mjs +0 -0
  434. /package/{esm2020 → esm2022}/index.mjs +0 -0
  435. /package/{esm2020 → esm2022}/input/index.mjs +0 -0
  436. /package/{esm2020 → esm2022}/input/mis-crystal-design-system-input.mjs +0 -0
  437. /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
  438. /package/{esm2020 → esm2022}/input-stepper/index.mjs +0 -0
  439. /package/{esm2020 → esm2022}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
  440. /package/{esm2020 → esm2022}/input-stepper/public_api.mjs +0 -0
  441. /package/{esm2020 → esm2022}/loader/index.mjs +0 -0
  442. /package/{esm2020 → esm2022}/loader/mis-crystal-design-system-loader.mjs +0 -0
  443. /package/{esm2020 → esm2022}/loader/public_api.mjs +0 -0
  444. /package/{esm2020 → esm2022}/menu/index.mjs +0 -0
  445. /package/{esm2020 → esm2022}/menu/mis-crystal-design-system-menu.mjs +0 -0
  446. /package/{esm2020 → esm2022}/menu/public_api.mjs +0 -0
  447. /package/{esm2020 → esm2022}/mis-crystal-design-system.mjs +0 -0
  448. /package/{esm2020 → esm2022}/mobile-filter/index.mjs +0 -0
  449. /package/{esm2020 → esm2022}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
  450. /package/{esm2020 → esm2022}/mobile-filter/public_api.mjs +0 -0
  451. /package/{esm2020 → esm2022}/modal/index.mjs +0 -0
  452. /package/{esm2020 → esm2022}/modal/mis-crystal-design-system-modal.mjs +0 -0
  453. /package/{esm2020 → esm2022}/modal/modal-constants.mjs +0 -0
  454. /package/{esm2020 → esm2022}/modal/modal-ref.mjs +0 -0
  455. /package/{esm2020 → esm2022}/modal/public_api.mjs +0 -0
  456. /package/{esm2020 → esm2022}/multi-select-dropdown/index.mjs +0 -0
  457. /package/{esm2020 → esm2022}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
  458. /package/{esm2020 → esm2022}/multi-select-dropdown/public_api.mjs +0 -0
  459. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/index.mjs +0 -0
  460. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
  461. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/public_api.mjs +0 -0
  462. /package/{esm2020 → esm2022}/phone-input/index.mjs +0 -0
  463. /package/{esm2020 → esm2022}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
  464. /package/{esm2020 → esm2022}/phone-input/public_api.mjs +0 -0
  465. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  466. /package/{esm2020 → esm2022}/radio-button/index.mjs +0 -0
  467. /package/{esm2020 → esm2022}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
  468. /package/{esm2020 → esm2022}/radio-button/public_api.mjs +0 -0
  469. /package/{esm2020 → esm2022}/ske-loader/index.mjs +0 -0
  470. /package/{esm2020 → esm2022}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
  471. /package/{esm2020 → esm2022}/ske-loader/public_api.mjs +0 -0
  472. /package/{esm2020 → esm2022}/slider/index.mjs +0 -0
  473. /package/{esm2020 → esm2022}/slider/mis-crystal-design-system-slider.mjs +0 -0
  474. /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
  475. /package/{esm2020 → esm2022}/snackbar/index.mjs +0 -0
  476. /package/{esm2020 → esm2022}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
  477. /package/{esm2020 → esm2022}/snackbar/public_api.mjs +0 -0
  478. /package/{esm2020 → esm2022}/specificdatepicker/daterangepicker-constants.mjs +0 -0
  479. /package/{esm2020 → esm2022}/specificdatepicker/index.mjs +0 -0
  480. /package/{esm2020 → esm2022}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
  481. /package/{esm2020 → esm2022}/specificdatepicker/models/sdp-config.model.mjs +0 -0
  482. /package/{esm2020 → esm2022}/specificdatepicker/public_api.mjs +0 -0
  483. /package/{esm2020 → esm2022}/star-rating/index.mjs +0 -0
  484. /package/{esm2020 → esm2022}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
  485. /package/{esm2020 → esm2022}/star-rating/public_api.mjs +0 -0
  486. /package/{esm2020 → esm2022}/styles/index.mjs +0 -0
  487. /package/{esm2020 → esm2022}/styles/mis-crystal-design-system-styles.mjs +0 -0
  488. /package/{esm2020 → esm2022}/styles/public_api.mjs +0 -0
  489. /package/{esm2020 → esm2022}/switch/index.mjs +0 -0
  490. /package/{esm2020 → esm2022}/switch/mis-crystal-design-system-switch.mjs +0 -0
  491. /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
  492. /package/{esm2020 → esm2022}/table/index.mjs +0 -0
  493. /package/{esm2020 → esm2022}/table/mis-crystal-design-system-table.mjs +0 -0
  494. /package/{esm2020 → esm2022}/table/public_api.mjs +0 -0
  495. /package/{esm2020 → esm2022}/timepicker/index.mjs +0 -0
  496. /package/{esm2020 → esm2022}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
  497. /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
  498. /package/{esm2020 → esm2022}/timepicker/time.namespace.mjs +0 -0
  499. /package/{esm2020 → esm2022}/timerangepicker/index.mjs +0 -0
  500. /package/{esm2020 → esm2022}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
  501. /package/{esm2020 → esm2022}/timerangepicker/public_api.mjs +0 -0
  502. /package/{esm2020 → esm2022}/timerangepicker/timerange.namespace.mjs +0 -0
  503. /package/{esm2020 → esm2022}/toast/index.mjs +0 -0
  504. /package/{esm2020 → esm2022}/toast/mis-crystal-design-system-toast.mjs +0 -0
  505. /package/{esm2020 → esm2022}/toast/public_api.mjs +0 -0
  506. /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
  507. /package/{esm2020 → esm2022}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
  508. /package/{esm2020 → esm2022}/tooltip/models/tooltip.model.mjs +0 -0
  509. /package/{esm2020 → esm2022}/tooltip/public_api.mjs +0 -0
  510. /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
  511. /package/{esm2020 → esm2022}/utils/mis-crystal-design-system-utils.mjs +0 -0
  512. /package/{esm2020 → esm2022}/virtual-scroll/index.mjs +0 -0
  513. /package/{esm2020 → esm2022}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
  514. /package/{esm2020 → esm2022}/virtual-scroll/public_api.mjs +0 -0
  515. /package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
  516. /package/{esm2020 → esm2022}/widgets/classes/widget-group.mjs +0 -0
  517. /package/{esm2020 → esm2022}/widgets/index.mjs +0 -0
  518. /package/{esm2020 → esm2022}/widgets/interfaces/widgets.model.mjs +0 -0
  519. /package/{esm2020 → esm2022}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
  520. /package/{esm2020 → esm2022}/widgets/public_api.mjs +0 -0
  521. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs +0 -0
  522. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs.map +0 -0
  523. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs +0 -0
  524. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs.map +0 -0
  525. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs +0 -0
  526. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs.map +0 -0
@@ -1,559 +0,0 @@
1
- import * as i1 from '@angular/cdk/overlay';
2
- import { ConnectionPositionPair, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
3
- import { TemplatePortal } from '@angular/cdk/portal';
4
- import * as i0 from '@angular/core';
5
- import { EventEmitter, Component, Input, Output, ViewChild, NgModule } from '@angular/core';
6
- import * as i2 from '@angular/common';
7
- import { CommonModule } from '@angular/common';
8
- import * as i3 from '@angular/forms';
9
- import { FormsModule } from '@angular/forms';
10
- import * as i4 from 'mis-crystal-design-system/checkbox';
11
- import { CheckboxModule } from 'mis-crystal-design-system/checkbox';
12
- import * as i5 from 'mis-crystal-design-system/button';
13
- import { ButtonModule } from 'mis-crystal-design-system/button';
14
-
15
- const _c0 = ["select"];
16
- const _c1 = ["popupContainer"];
17
- function NestedMultiSelectDropdownComponent_p_6_Template(rf, ctx) {
18
- if (rf & 1) {
19
- i0.ɵɵelementStart(0, "p", 9);
20
- i0.ɵɵtext(1);
21
- i0.ɵɵelementEnd();
22
- }
23
- if (rf & 2) {
24
- const ctx_r1 = i0.ɵɵnextContext();
25
- i0.ɵɵadvance(1);
26
- i0.ɵɵtextInterpolate1(" ", ctx_r1.selectedCount, " ");
27
- }
28
- }
29
- function NestedMultiSelectDropdownComponent_ng_template_9_div_1__svg_svg_1_Template(rf, ctx) {
30
- if (rf & 1) {
31
- i0.ɵɵnamespaceSVG();
32
- i0.ɵɵelementStart(0, "svg", 20);
33
- i0.ɵɵelement(1, "path", 21);
34
- i0.ɵɵelementEnd();
35
- }
36
- }
37
- function NestedMultiSelectDropdownComponent_ng_template_9_div_1__svg_svg_3_Template(rf, ctx) {
38
- if (rf & 1) {
39
- const _r11 = i0.ɵɵgetCurrentView();
40
- i0.ɵɵnamespaceSVG();
41
- i0.ɵɵelementStart(0, "svg", 22);
42
- i0.ɵɵlistener("click", function NestedMultiSelectDropdownComponent_ng_template_9_div_1__svg_svg_3_Template__svg_svg_click_0_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r10.searchInputCanceled($event)); });
43
- i0.ɵɵelement(1, "path", 23);
44
- i0.ɵɵelementEnd();
45
- }
46
- }
47
- const _c2 = function (a0, a1, a2) { return { paddingLeft: a0, border: a1, paddingRight: a2 }; };
48
- function NestedMultiSelectDropdownComponent_ng_template_9_div_1_Template(rf, ctx) {
49
- if (rf & 1) {
50
- const _r13 = i0.ɵɵgetCurrentView();
51
- i0.ɵɵelementStart(0, "div", 16);
52
- i0.ɵɵtemplate(1, NestedMultiSelectDropdownComponent_ng_template_9_div_1__svg_svg_1_Template, 2, 0, "svg", 17);
53
- i0.ɵɵelementStart(2, "input", 18);
54
- i0.ɵɵlistener("ngModelChange", function NestedMultiSelectDropdownComponent_ng_template_9_div_1_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r13); const ctx_r12 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r12.searchInputOnChange($event)); })("focus", function NestedMultiSelectDropdownComponent_ng_template_9_div_1_Template_input_focus_2_listener() { i0.ɵɵrestoreView(_r13); const ctx_r14 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r14.searchInputFocused(true)); });
55
- i0.ɵɵelementEnd();
56
- i0.ɵɵtemplate(3, NestedMultiSelectDropdownComponent_ng_template_9_div_1__svg_svg_3_Template, 2, 0, "svg", 19);
57
- i0.ɵɵelementEnd();
58
- }
59
- if (rf & 2) {
60
- const ctx_r4 = i0.ɵɵnextContext(2);
61
- i0.ɵɵadvance(1);
62
- i0.ɵɵproperty("ngIf", !ctx_r4.isSearchInputFocused);
63
- i0.ɵɵadvance(1);
64
- i0.ɵɵproperty("ngModel", ctx_r4.searchInput)("ngStyle", i0.ɵɵpureFunction3(5, _c2, ctx_r4.isSearchInputFocused ? "12px" : "45px", ctx_r4.isSearchInputFocused ? "1px solid #0937B2" : "1px solid #e0e0e0", ctx_r4.isSearchInputFocused ? "45px" : "10px"))("placeholder", ctx_r4.isSearchInputFocused ? "" : "Search Keyword");
65
- i0.ɵɵadvance(1);
66
- i0.ɵɵproperty("ngIf", ctx_r4.isSearchInputFocused);
67
- }
68
- }
69
- function NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_7_Template(rf, ctx) {
70
- if (rf & 1) {
71
- i0.ɵɵelementStart(0, "div", 31);
72
- i0.ɵɵelement(1, "img", 32);
73
- i0.ɵɵelementEnd();
74
- }
75
- if (rf & 2) {
76
- const item_r15 = i0.ɵɵnextContext().$implicit;
77
- i0.ɵɵadvance(1);
78
- i0.ɵɵproperty("src", item_r15.icon, i0.ɵɵsanitizeUrl);
79
- }
80
- }
81
- function NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_8_div_1_div_6_Template(rf, ctx) {
82
- if (rf & 1) {
83
- i0.ɵɵelementStart(0, "div", 31);
84
- i0.ɵɵelement(1, "img", 32);
85
- i0.ɵɵelementEnd();
86
- }
87
- if (rf & 2) {
88
- const cItem_r20 = i0.ɵɵnextContext().$implicit;
89
- i0.ɵɵadvance(1);
90
- i0.ɵɵproperty("src", cItem_r20.icon, i0.ɵɵsanitizeUrl);
91
- }
92
- }
93
- function NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_8_div_1_Template(rf, ctx) {
94
- if (rf & 1) {
95
- const _r25 = i0.ɵɵgetCurrentView();
96
- i0.ɵɵelementStart(0, "div", 35);
97
- i0.ɵɵlistener("keyup.enter", function NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_8_div_1_Template_div_keyup_enter_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r25); const cItem_r20 = restoredCtx.$implicit; const item_r15 = i0.ɵɵnextContext(2).$implicit; const ctx_r23 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r23.toggleSelectedItems($event, item_r15, cItem_r20)); })("click", function NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_8_div_1_Template_div_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r25); const cItem_r20 = restoredCtx.$implicit; const item_r15 = i0.ɵɵnextContext(2).$implicit; const ctx_r26 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r26.toggleSelectedItems($event, item_r15, cItem_r20)); });
98
- i0.ɵɵelementStart(1, "div", 26)(2, "div", 27);
99
- i0.ɵɵelement(3, "mis-checkbox", 28);
100
- i0.ɵɵelementEnd();
101
- i0.ɵɵelementStart(4, "p", 3);
102
- i0.ɵɵtext(5);
103
- i0.ɵɵelementEnd()();
104
- i0.ɵɵtemplate(6, NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_8_div_1_div_6_Template, 2, 1, "div", 29);
105
- i0.ɵɵelementEnd();
106
- }
107
- if (rf & 2) {
108
- const cItem_r20 = ctx.$implicit;
109
- i0.ɵɵadvance(3);
110
- i0.ɵɵproperty("checked", cItem_r20.checked);
111
- i0.ɵɵadvance(2);
112
- i0.ɵɵtextInterpolate1(" ", cItem_r20.label, " ");
113
- i0.ɵɵadvance(1);
114
- i0.ɵɵproperty("ngIf", cItem_r20.icon);
115
- }
116
- }
117
- const _c3 = function () { return { "padding-right": "0" }; };
118
- function NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_8_Template(rf, ctx) {
119
- if (rf & 1) {
120
- i0.ɵɵelementStart(0, "div", 33);
121
- i0.ɵɵtemplate(1, NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_8_div_1_Template, 7, 3, "div", 34);
122
- i0.ɵɵelementEnd();
123
- }
124
- if (rf & 2) {
125
- const item_r15 = i0.ɵɵnextContext().$implicit;
126
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(2, _c3));
127
- i0.ɵɵadvance(1);
128
- i0.ɵɵproperty("ngForOf", item_r15 == null ? null : item_r15.children);
129
- }
130
- }
131
- function NestedMultiSelectDropdownComponent_ng_template_9_div_3_Template(rf, ctx) {
132
- if (rf & 1) {
133
- const _r30 = i0.ɵɵgetCurrentView();
134
- i0.ɵɵelementStart(0, "div", 24);
135
- i0.ɵɵlistener("keyup.enter", function NestedMultiSelectDropdownComponent_ng_template_9_div_3_Template_div_keyup_enter_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r30); const item_r15 = restoredCtx.$implicit; const ctx_r29 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r29.toggleSelectedItems($event, item_r15)); })("click", function NestedMultiSelectDropdownComponent_ng_template_9_div_3_Template_div_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r30); const item_r15 = restoredCtx.$implicit; const ctx_r31 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r31.toggleSelectedItems($event, item_r15)); });
136
- i0.ɵɵelementStart(1, "div", 25)(2, "div", 26)(3, "div", 27);
137
- i0.ɵɵelement(4, "mis-checkbox", 28);
138
- i0.ɵɵelementEnd();
139
- i0.ɵɵelementStart(5, "p", 3);
140
- i0.ɵɵtext(6);
141
- i0.ɵɵelementEnd()();
142
- i0.ɵɵtemplate(7, NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_7_Template, 2, 1, "div", 29);
143
- i0.ɵɵelementEnd();
144
- i0.ɵɵtemplate(8, NestedMultiSelectDropdownComponent_ng_template_9_div_3_div_8_Template, 2, 3, "div", 30);
145
- i0.ɵɵelementEnd();
146
- }
147
- if (rf & 2) {
148
- const item_r15 = ctx.$implicit;
149
- i0.ɵɵadvance(4);
150
- i0.ɵɵproperty("checked", item_r15.checked);
151
- i0.ɵɵadvance(2);
152
- i0.ɵɵtextInterpolate1(" ", item_r15.label, " ");
153
- i0.ɵɵadvance(1);
154
- i0.ɵɵproperty("ngIf", item_r15.icon);
155
- i0.ɵɵadvance(1);
156
- i0.ɵɵproperty("ngIf", (item_r15 == null ? null : item_r15.children == null ? null : item_r15.children.length) > 0);
157
- }
158
- }
159
- function NestedMultiSelectDropdownComponent_ng_template_9_div_4_Template(rf, ctx) {
160
- if (rf & 1) {
161
- i0.ɵɵelementStart(0, "div", 36);
162
- i0.ɵɵtext(1);
163
- i0.ɵɵelementEnd();
164
- }
165
- if (rf & 2) {
166
- const ctx_r6 = i0.ɵɵnextContext(2);
167
- i0.ɵɵadvance(1);
168
- i0.ɵɵtextInterpolate1(" ", ctx_r6.searchInput === "" ? ctx_r6.noDataMessage : "No results", " ");
169
- }
170
- }
171
- const _c4 = function () { return { "width": "calc(50% - 4px)" }; };
172
- function NestedMultiSelectDropdownComponent_ng_template_9_div_5_Template(rf, ctx) {
173
- if (rf & 1) {
174
- const _r33 = i0.ɵɵgetCurrentView();
175
- i0.ɵɵelementStart(0, "div", 37)(1, "div", 38)(2, "mis-button", 39);
176
- i0.ɵɵlistener("click", function NestedMultiSelectDropdownComponent_ng_template_9_div_5_Template_mis_button_click_2_listener() { i0.ɵɵrestoreView(_r33); const ctx_r32 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r32.onReset()); });
177
- i0.ɵɵelementEnd()();
178
- i0.ɵɵelementStart(3, "div", 38)(4, "mis-button", 39);
179
- i0.ɵɵlistener("click", function NestedMultiSelectDropdownComponent_ng_template_9_div_5_Template_mis_button_click_4_listener() { i0.ɵɵrestoreView(_r33); const ctx_r34 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r34.applyFilters()); });
180
- i0.ɵɵelementEnd()()();
181
- }
182
- if (rf & 2) {
183
- i0.ɵɵadvance(1);
184
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(8, _c4));
185
- i0.ɵɵadvance(1);
186
- i0.ɵɵproperty("name", "Reset")("type", "Text")("width", "100%");
187
- i0.ɵɵadvance(1);
188
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(9, _c4));
189
- i0.ɵɵadvance(1);
190
- i0.ɵɵproperty("name", "Apply")("type", "Solid")("width", "100%");
191
- }
192
- }
193
- const _c5 = function (a0, a1) { return { height: a0, width: a1 }; };
194
- const _c6 = function (a0, a1) { return { "position-left": a0, "position-right": a1 }; };
195
- function NestedMultiSelectDropdownComponent_ng_template_9_Template(rf, ctx) {
196
- if (rf & 1) {
197
- i0.ɵɵnamespaceSVG();
198
- i0.ɵɵnamespaceHTML();
199
- i0.ɵɵelementStart(0, "div", 10);
200
- i0.ɵɵtemplate(1, NestedMultiSelectDropdownComponent_ng_template_9_div_1_Template, 4, 9, "div", 11);
201
- i0.ɵɵelementStart(2, "div", 12);
202
- i0.ɵɵtemplate(3, NestedMultiSelectDropdownComponent_ng_template_9_div_3_Template, 9, 4, "div", 13);
203
- i0.ɵɵtemplate(4, NestedMultiSelectDropdownComponent_ng_template_9_div_4_Template, 2, 1, "div", 14);
204
- i0.ɵɵelementEnd();
205
- i0.ɵɵtemplate(5, NestedMultiSelectDropdownComponent_ng_template_9_div_5_Template, 5, 10, "div", 15);
206
- i0.ɵɵelementEnd();
207
- }
208
- if (rf & 2) {
209
- const ctx_r3 = i0.ɵɵnextContext();
210
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(6, _c5, ctx_r3.dropdownListHeight, ctx_r3.dropdownListWidth))("ngClass", i0.ɵɵpureFunction2(9, _c6, ctx_r3.dropdownListPosition === "Left", ctx_r3.dropdownListPosition === "Right"));
211
- i0.ɵɵadvance(1);
212
- i0.ɵɵproperty("ngIf", ctx_r3.searchEnabled);
213
- i0.ɵɵadvance(2);
214
- i0.ɵɵproperty("ngForOf", ctx_r3.searchInput ? ctx_r3.searchData : ctx_r3.localData);
215
- i0.ɵɵadvance(1);
216
- i0.ɵɵproperty("ngIf", (ctx_r3.searchInput ? ctx_r3.searchData : ctx_r3.localData).length === 0);
217
- i0.ɵɵadvance(1);
218
- i0.ɵɵproperty("ngIf", ctx_r3.localData.length !== 0);
219
- }
220
- }
221
- const _c7 = function (a0) { return { background: a0 }; };
222
- const _c8 = function (a0) { return { transform: a0 }; };
223
- class NestedMultiSelectDropdownComponent {
224
- constructor(eRef, overlay, viewContainerRef) {
225
- this.eRef = eRef;
226
- this.overlay = overlay;
227
- this.viewContainerRef = viewContainerRef;
228
- this.searchInput = "";
229
- this.isOpen = false;
230
- this.localSelectedItems = [];
231
- this.localData = [];
232
- this.searchData = [];
233
- this.selectedCount = 0;
234
- this.label = "Select";
235
- this.height = "";
236
- this.width = "";
237
- this.dropdownListHeight = "";
238
- this.dropdownListWidth = "";
239
- this.dropdownListPosition = "Left";
240
- this.searchEnabled = true;
241
- this.showSelectedCount = false;
242
- this.noDataMessage = "No Data";
243
- this.onChange = new EventEmitter();
244
- this.isSearchInputFocused = false;
245
- }
246
- set data(values) {
247
- // tslint:disable-next-line:no-shadowed-variable
248
- this.localData = values.map(item => {
249
- return Object.assign(Object.assign({}, item), { checked: false, children: item.children.map(a => {
250
- return Object.assign(Object.assign({}, a), { checked: false });
251
- }) });
252
- });
253
- }
254
- set selectedItems(values) {
255
- this.handlerSetLocalSelectedItems(values);
256
- }
257
- ngOnInit() { }
258
- handlerSetLocalSelectedItems(values) {
259
- this.localSelectedItems = values;
260
- }
261
- searchInputFocused(isFocused) {
262
- this.isSearchInputFocused = isFocused;
263
- }
264
- searchInputCanceled(event) {
265
- event.stopPropagation();
266
- this.searchInput = "";
267
- this.isSearchInputFocused = false;
268
- }
269
- toggleDropdown() {
270
- this.isOpen = !this.isOpen;
271
- if (this.isOpen) {
272
- this.handlerSetLocalSelectedItems(this.localSelectedItems);
273
- this.localData = this.formatValues(this.localData);
274
- }
275
- if (this.isOpen)
276
- this.openDropdown(this.popupContainer, this.selectElement.nativeElement);
277
- else
278
- this.onCancel();
279
- }
280
- openDropdown(template, origin) {
281
- const positionsBottom = [
282
- new ConnectionPositionPair({ originX: "start", originY: "bottom" }, { overlayX: "start", overlayY: "top" }, 0, 4),
283
- new ConnectionPositionPair({ originX: "end", originY: "bottom" }, { overlayX: "end", overlayY: "top" }, 0, 4)
284
- ];
285
- const positionsTop = [
286
- new ConnectionPositionPair({ originX: "start", originY: "top" }, { overlayX: "start", overlayY: "bottom" }, 0, -4),
287
- new ConnectionPositionPair({ originX: "end", originY: "top" }, { overlayX: "end", overlayY: "bottom" }, 0, -4)
288
- ];
289
- const positionStrategy = this.overlay
290
- .position()
291
- .flexibleConnectedTo(origin)
292
- .withPositions([
293
- ...(this.dropdownListPosition === "Right" ? positionsBottom.reverse() : positionsBottom),
294
- ...(this.dropdownListPosition === "Right" ? positionsTop.reverse() : positionsTop)
295
- ])
296
- .withPush(true);
297
- const configs = new OverlayConfig({
298
- hasBackdrop: true,
299
- backdropClass: "cdk-overlay-transparent-backdrop",
300
- scrollStrategy: this.overlay.scrollStrategies.reposition(),
301
- positionStrategy,
302
- width: origin.clientWidth
303
- });
304
- this.overlayRef = this.overlay.create(configs);
305
- if (this.dropdownListWidth)
306
- this.overlayRef.updateSize({ width: this.dropdownListWidth });
307
- if (this.dropdownListHeight)
308
- this.overlayRef.updateSize({ height: this.dropdownListHeight });
309
- this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));
310
- this.overlayRef.backdropClick().subscribe(res => {
311
- this.onCancel();
312
- });
313
- }
314
- // tslint:disable-next-line:variable-name
315
- filterByValue(array, string) {
316
- return array
317
- .filter(o => { var _a; return o.label.toLowerCase().includes(string.toLowerCase()) || ((_a = o.children) === null || _a === void 0 ? void 0 : _a.some(g => { var _a; return (_a = g === null || g === void 0 ? void 0 : g.label) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(string.toLowerCase()); })); })
318
- .map(v => {
319
- var _a;
320
- return Object.assign(Object.assign({}, v), { children: (_a = v === null || v === void 0 ? void 0 : v.children) === null || _a === void 0 ? void 0 : _a.filter(l => { var _a; return (_a = l === null || l === void 0 ? void 0 : l.label) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(string.toLowerCase()); }) });
321
- });
322
- }
323
- searchInputOnChange(newValue) {
324
- this.searchInput = newValue;
325
- if (newValue) {
326
- this.searchData = this.filterByValue(this.localData, newValue);
327
- }
328
- else {
329
- this.searchData = [];
330
- this.searchInput = "";
331
- }
332
- }
333
- formatValues(array) {
334
- const checkedValues = array
335
- .filter(a => a.checked)
336
- .sort((a, b) => (a.label > b.label ? 1 : b.label > a.label ? -1 : 0));
337
- const unCheckedValues = array
338
- .filter(a => !a.checked)
339
- .sort((a, b) => (a.label > b.label ? 1 : b.label > a.label ? -1 : 0));
340
- return [...checkedValues, ...unCheckedValues];
341
- }
342
- // tslint:disable-next-line:no-shadowed-variable
343
- toggleSelectedItems(event, item, cItem) {
344
- event.stopPropagation();
345
- if (!cItem) {
346
- if (item.checked) {
347
- this.localData = [
348
- ...this.localData.map(a => {
349
- if (a.value === item.value) {
350
- return Object.assign(Object.assign({}, a), { checked: false,
351
- // tslint:disable-next-line:no-shadowed-variable
352
- children: item.children.map(a => {
353
- return Object.assign(Object.assign({}, a), { checked: false });
354
- }) });
355
- }
356
- return a;
357
- })
358
- ];
359
- }
360
- else {
361
- this.localData = [
362
- ...this.localData.map(a => {
363
- if (a.value === item.value) {
364
- return Object.assign(Object.assign({}, a), { checked: true,
365
- // tslint:disable-next-line:no-shadowed-variable
366
- children: item.children.map(a => {
367
- return Object.assign(Object.assign({}, a), { checked: true });
368
- }) });
369
- }
370
- return a;
371
- })
372
- ];
373
- }
374
- }
375
- else {
376
- if (cItem.checked) {
377
- this.localData = [
378
- ...this.localData.map(a => {
379
- if (a.value === item.value) {
380
- // tslint:disable-next-line:no-shadowed-variable
381
- const children = a === null || a === void 0 ? void 0 : a.children.map(a => {
382
- if ((cItem === null || cItem === void 0 ? void 0 : cItem.value) === (a === null || a === void 0 ? void 0 : a.value)) {
383
- return Object.assign(Object.assign({}, a), { checked: false });
384
- }
385
- return a;
386
- });
387
- return Object.assign(Object.assign({}, a), { checked: children.every(q => q.checked),
388
- // tslint:disable-next-line:no-shadowed-variable
389
- children });
390
- }
391
- return a;
392
- })
393
- ];
394
- }
395
- else {
396
- this.localData = [
397
- ...this.localData.map(a => {
398
- if (a.value === item.value) {
399
- // tslint:disable-next-line:no-shadowed-variable
400
- const children = a === null || a === void 0 ? void 0 : a.children.map(a => {
401
- if ((cItem === null || cItem === void 0 ? void 0 : cItem.value) === (a === null || a === void 0 ? void 0 : a.value)) {
402
- return Object.assign(Object.assign({}, a), { checked: true });
403
- }
404
- return a;
405
- });
406
- return Object.assign(Object.assign({}, a), { checked: children.every(q => q.checked),
407
- // tslint:disable-next-line:no-shadowed-variable
408
- children });
409
- }
410
- return a;
411
- })
412
- ];
413
- }
414
- }
415
- if (this.searchEnabled) {
416
- this.searchInputOnChange(this.searchInput);
417
- }
418
- }
419
- applyFilters() {
420
- let localCount = 0;
421
- this.localData.forEach(a => {
422
- var _a;
423
- return (_a = a === null || a === void 0 ? void 0 : a.children) === null || _a === void 0 ? void 0 : _a.forEach(b => {
424
- if (b.checked) {
425
- localCount += 1;
426
- }
427
- });
428
- });
429
- this.selectedCount = localCount;
430
- const w = this.localData
431
- .filter(r => { var _a; return !(!r.checked && !((_a = r === null || r === void 0 ? void 0 : r.children) === null || _a === void 0 ? void 0 : _a.some(f => f === null || f === void 0 ? void 0 : f.checked))); })
432
- .map(a => {
433
- var _a;
434
- return Object.assign(Object.assign({}, a), { children: (_a = a === null || a === void 0 ? void 0 : a.children) === null || _a === void 0 ? void 0 : _a.filter(s => s.checked) });
435
- });
436
- this.onChange.emit(w);
437
- this.onCancel();
438
- }
439
- onReset() {
440
- this.isSearchInputFocused = false;
441
- for (let item of this.localData) {
442
- for (let child of item.children) {
443
- child.checked = false;
444
- }
445
- item.checked = false;
446
- }
447
- this.onChange.emit([]);
448
- this.isOpen = false;
449
- this.searchInput = "";
450
- }
451
- onCancel() {
452
- var _a;
453
- this.isSearchInputFocused = false;
454
- this.isOpen = false;
455
- (_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
456
- this.searchInput = "";
457
- }
458
- }
459
- NestedMultiSelectDropdownComponent.ɵfac = function NestedMultiSelectDropdownComponent_Factory(t) { return new (t || NestedMultiSelectDropdownComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Overlay), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
460
- NestedMultiSelectDropdownComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: NestedMultiSelectDropdownComponent, selectors: [["mis-nested-multi-select-dropdown"]], viewQuery: function NestedMultiSelectDropdownComponent_Query(rf, ctx) {
461
- if (rf & 1) {
462
- i0.ɵɵviewQuery(_c0, 5);
463
- i0.ɵɵviewQuery(_c1, 5);
464
- }
465
- if (rf & 2) {
466
- let _t;
467
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectElement = _t.first);
468
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popupContainer = _t.first);
469
- }
470
- }, inputs: { data: "data", label: "label", height: "height", width: "width", dropdownListHeight: "dropdownListHeight", dropdownListWidth: "dropdownListWidth", dropdownListPosition: "dropdownListPosition", searchEnabled: "searchEnabled", showSelectedCount: "showSelectedCount", noDataMessage: "noDataMessage", selectedItems: "selectedItems" }, outputs: { onChange: "onChange" }, decls: 11, vars: 12, consts: [[1, "container", 3, "ngStyle"], ["tabindex", "0", 1, "dropdown", 3, "ngStyle", "keyup.enter", "click"], ["select", ""], [1, "label"], [1, "text"], ["class", "count", 4, "ngIf"], ["width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", 1, "handle", 3, "ngStyle"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M13.825 7.15845L10 10.9751L6.175 7.15845L5 8.33345L10 13.3334L15 8.33345L13.825 7.15845Z", "fill", "#181F33"], ["popupContainer", ""], [1, "count"], [1, "popup-container", 3, "ngStyle", "ngClass"], ["class", "search-container", 4, "ngIf"], [1, "items"], ["tabindex", "0", 3, "keyup.enter", "click", 4, "ngFor", "ngForOf"], ["class", "noData", 4, "ngIf"], ["class", "actions-container", 4, "ngIf"], [1, "search-container"], ["class", "search-icon", "width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", 4, "ngIf"], [1, "search-input", 3, "ngModel", "ngStyle", "placeholder", "ngModelChange", "focus"], ["class", "cancel-icon", "width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", 3, "click", 4, "ngIf"], ["width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", 1, "search-icon"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M4.21508 11.1456C4.21508 7.3179 7.33722 4.21165 11.1926 4.21165C15.048 4.21165 18.1702 7.3179 18.1702 11.1456C18.1702 12.6931 17.6599 14.1226 16.7972 15.2767L15.3685 16.7013C14.2044 17.5668 12.759 18.0796 11.1926 18.0796C7.33722 18.0796 4.21508 14.9734 4.21508 11.1456ZM15.9421 17.7835C14.6021 18.7329 12.9627 19.2913 11.1926 19.2913C6.66977 19.2913 3 15.6461 3 11.1456C3 6.64512 6.66977 3 11.1926 3C15.7155 3 19.3852 6.64512 19.3852 11.1456C19.3852 12.9371 18.8037 14.5931 17.8184 15.9375L19.8361 17.4048C20.6705 17.912 21.7554 18.6543 20.2454 20.215C18.7353 21.7756 18.0099 20.6663 17.4991 19.8364L15.9421 17.7835Z", "fill", "#6A737D"], ["width", "24", "height", "24", "viewBox", "0 0 24 24", "fill", "none", "xmlns", "http://www.w3.org/2000/svg", 1, "cancel-icon", 3, "click"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M8.87446 7.32144C8.44588 6.89285 7.751 6.89285 7.32242 7.32144C6.89383 7.75002 6.89383 8.4449 7.32242 8.87349L10.4488 11.9999L7.32357 15.1252C6.89498 15.5538 6.89498 16.2486 7.32357 16.6772C7.75215 17.1058 8.44703 17.1058 8.87561 16.6772L12.0009 13.552L15.1261 16.6772C15.5547 17.1058 16.2496 17.1058 16.6781 16.6772C17.1067 16.2486 17.1067 15.5537 16.6781 15.1251L13.5529 11.9999L16.6793 8.87354C17.1079 8.44496 17.1079 7.75008 16.6793 7.3215C16.2507 6.89291 15.5558 6.89291 15.1273 7.3215L12.0009 10.4479L8.87446 7.32144Z", "fill", "#6A737D"], ["tabindex", "0", 3, "keyup.enter", "click"], [1, "item"], [1, "checkbox-container-wrapper"], [1, "checkbox-container"], [3, "checked"], ["class", "icon-container", 4, "ngIf"], ["class", "items sub", 3, "ngStyle", 4, "ngIf"], [1, "icon-container"], ["alt", "no img", 1, "icon", 3, "src"], [1, "items", "sub", 3, "ngStyle"], ["class", "item", "tabindex", "0", 3, "keyup.enter", "click", 4, "ngFor", "ngForOf"], ["tabindex", "0", 1, "item", 3, "keyup.enter", "click"], [1, "noData"], [1, "actions-container"], [3, "ngStyle"], [3, "name", "type", "width", "click"]], template: function NestedMultiSelectDropdownComponent_Template(rf, ctx) {
471
- if (rf & 1) {
472
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1, 2);
473
- i0.ɵɵlistener("keyup.enter", function NestedMultiSelectDropdownComponent_Template_div_keyup_enter_1_listener() { return ctx.toggleDropdown(); })("click", function NestedMultiSelectDropdownComponent_Template_div_click_1_listener() { return ctx.toggleDropdown(); });
474
- i0.ɵɵelementStart(3, "div", 3)(4, "p", 4);
475
- i0.ɵɵtext(5);
476
- i0.ɵɵelementEnd();
477
- i0.ɵɵtemplate(6, NestedMultiSelectDropdownComponent_p_6_Template, 2, 1, "p", 5);
478
- i0.ɵɵelementEnd();
479
- i0.ɵɵnamespaceSVG();
480
- i0.ɵɵelementStart(7, "svg", 6);
481
- i0.ɵɵelement(8, "path", 7);
482
- i0.ɵɵelementEnd()()();
483
- i0.ɵɵtemplate(9, NestedMultiSelectDropdownComponent_ng_template_9_Template, 6, 12, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
484
- }
485
- if (rf & 2) {
486
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(5, _c5, ctx.height.length > 0 ? ctx.height : "", ctx.width.length > 0 ? ctx.width : ""));
487
- i0.ɵɵadvance(1);
488
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(8, _c7, ctx.isOpen ? "#E6EBF7" : ""));
489
- i0.ɵɵadvance(4);
490
- i0.ɵɵtextInterpolate(ctx.label);
491
- i0.ɵɵadvance(1);
492
- i0.ɵɵproperty("ngIf", ctx.showSelectedCount && ctx.selectedCount > 0);
493
- i0.ɵɵadvance(1);
494
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(10, _c8, ctx.isOpen ? "rotate(180deg)" : "rotate(0deg)"));
495
- }
496
- }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgStyle, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel, i4.CheckboxComponent, i5.ButtonComponent], styles: ["[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4}.container[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;align-items:center;height:32px;width:256px;flex-wrap:wrap;font-family:Lato,sans-serif}.container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{height:inherit;border:1px solid #e0e0e0;border-radius:6px;background-color:#fff;cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 12px;overflow:hidden}.container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]:hover, .container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]:focus-visible{background-color:#f5f7fc;outline:none}.container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .count[_ngcontent-%COMP%]{background-color:#e0e0e0;border-radius:50%;padding:2px 7px;margin:0 0 0 8px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px;color:#181f33}.container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .handle[_ngcontent-%COMP%]{width:24px;height:24px;transition:.3s;position:absolute;right:12px;border-radius:50%;overflow:hidden}.popup-container[_ngcontent-%COMP%]{position:absolute;top:4px;width:100%;max-height:340px;padding-bottom:0;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;box-shadow:0 12px 24px #0000001f;overflow-x:hidden;display:flex;flex-direction:column;justify-content:space-between;z-index:100}.popup-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:0;height:0}.popup-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%]{position:relative;box-sizing:border-box;padding:8px}.popup-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%] .search-icon[_ngcontent-%COMP%]{position:absolute;width:24px;height:24px;top:50%;transform:translateY(-50%);left:18px;z-index:1}.popup-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%] .search-input[_ngcontent-%COMP%]{height:40px;width:100%;padding:12px;border:1px solid #e0e0e0;box-sizing:border-box;border-radius:8px;outline:none;caret-color:#0937b2;font-style:normal;font-weight:400;font-size:12px;line-height:18px;display:flex;align-items:center;letter-spacing:.2px;color:#181f33}.popup-container[_ngcontent-%COMP%] .search-container[_ngcontent-%COMP%] .cancel-icon[_ngcontent-%COMP%]{position:absolute;cursor:pointer;width:24px;height:24px;top:50%;transform:translateY(-50%);right:18px;z-index:1}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]{padding:8px 0 8px 8px;overflow-y:scroll;height:100%}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:0}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:10px}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .noData[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;padding:8px 12px;border-radius:6px;height:auto}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]:hover, .popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]:focus-visible{background-color:#f5f7fc;outline:none}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .checkbox-container-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:90%}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .checkbox-container-wrapper[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{display:block;position:relative;cursor:pointer;font-size:22px;-webkit-user-select:none;user-select:none}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .checkbox-container-wrapper[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .checkbox-container-wrapper[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .checkbox-container-wrapper[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{position:absolute;top:-8px;left:0;height:15px;width:15px;border-radius:4px;background-color:#0079f1;border:1px solid rgb(106,115,125)}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .checkbox-container-wrapper[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{content:\"\";position:absolute;display:none;left:5px;top:2px;width:3px;height:6px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .checkbox-container-wrapper[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{margin:0 0 0 8px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33;text-overflow:ellipsis;overflow:hidden}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%]{width:10%;display:flex;justify-content:flex-end}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .icon-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:20px;height:20px}.popup-container[_ngcontent-%COMP%] .actions-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;bottom:0;align-items:center;position:sticky;padding:16px;background-color:#fff;border-top:1px solid #e0e0e0}.popup-container[_ngcontent-%COMP%] .actions-container[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%]{cursor:pointer;padding:10px 32px;text-align:center;font-size:16px;line-height:24px;border-radius:8px}.popup-container[_ngcontent-%COMP%] .actions-container[_ngcontent-%COMP%] .cancel[_ngcontent-%COMP%]:hover{background:rgba(9,55,178,.04)}.popup-container[_ngcontent-%COMP%] .actions-container[_ngcontent-%COMP%] .apply[_ngcontent-%COMP%]{cursor:pointer;padding:10px 32px;text-align:center;color:#fff;font-size:16px;line-height:24px;background:#0937b2;border-radius:8px}"] });
497
- (function () {
498
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NestedMultiSelectDropdownComponent, [{
499
- type: Component,
500
- args: [{ selector: "mis-nested-multi-select-dropdown", template: "<div\n class=\"container\"\n [ngStyle]=\"{\n height: height.length > 0 ? height : '',\n width: width.length > 0 ? width : ''\n }\"\n>\n <div\n class=\"dropdown\"\n #select\n tabindex=\"0\"\n (keyup.enter)=\"toggleDropdown()\"\n (click)=\"toggleDropdown()\"\n [ngStyle]=\"{ background: isOpen ? '#E6EBF7' : '' }\"\n >\n <div class=\"label\">\n <p class=\"text\">{{ label }}</p>\n <p *ngIf=\"showSelectedCount && selectedCount > 0\" class=\"count\">\n {{ selectedCount }}\n </p>\n </div>\n <svg\n class=\"handle\"\n [ngStyle]=\"{ transform: isOpen ? 'rotate(180deg)' : 'rotate(0deg)' }\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.825 7.15845L10 10.9751L6.175 7.15845L5 8.33345L10 13.3334L15 8.33345L13.825 7.15845Z\"\n fill=\"#181F33\"\n />\n </svg>\n </div>\n</div>\n<ng-template #popupContainer>\n <div\n class=\"popup-container\"\n [ngStyle]=\"{\n height: dropdownListHeight,\n width: dropdownListWidth\n }\"\n [ngClass]=\"{\n 'position-left': dropdownListPosition === 'Left',\n 'position-right': dropdownListPosition === 'Right'\n }\"\n >\n <div *ngIf=\"searchEnabled\" class=\"search-container\">\n <svg\n *ngIf=\"!isSearchInputFocused\"\n class=\"search-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M4.21508 11.1456C4.21508 7.3179 7.33722 4.21165 11.1926 4.21165C15.048 4.21165 18.1702 7.3179 18.1702 11.1456C18.1702 12.6931 17.6599 14.1226 16.7972 15.2767L15.3685 16.7013C14.2044 17.5668 12.759 18.0796 11.1926 18.0796C7.33722 18.0796 4.21508 14.9734 4.21508 11.1456ZM15.9421 17.7835C14.6021 18.7329 12.9627 19.2913 11.1926 19.2913C6.66977 19.2913 3 15.6461 3 11.1456C3 6.64512 6.66977 3 11.1926 3C15.7155 3 19.3852 6.64512 19.3852 11.1456C19.3852 12.9371 18.8037 14.5931 17.8184 15.9375L19.8361 17.4048C20.6705 17.912 21.7554 18.6543 20.2454 20.215C18.7353 21.7756 18.0099 20.6663 17.4991 19.8364L15.9421 17.7835Z\"\n fill=\"#6A737D\"\n />\n </svg>\n <input\n [ngModel]=\"searchInput\"\n [ngStyle]=\"{\n paddingLeft: isSearchInputFocused ? '12px' : '45px',\n border: isSearchInputFocused ? '1px solid #0937B2' : '1px solid #e0e0e0',\n paddingRight: isSearchInputFocused ? '45px' : '10px'\n }\"\n (ngModelChange)=\"searchInputOnChange($event)\"\n [placeholder]=\"isSearchInputFocused ? '' : 'Search Keyword'\"\n (focus)=\"searchInputFocused(true)\"\n class=\"search-input\"\n />\n <svg\n *ngIf=\"isSearchInputFocused\"\n class=\"cancel-icon\"\n (click)=\"searchInputCanceled($event)\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.87446 7.32144C8.44588 6.89285 7.751 6.89285 7.32242 7.32144C6.89383 7.75002 6.89383 8.4449 7.32242 8.87349L10.4488 11.9999L7.32357 15.1252C6.89498 15.5538 6.89498 16.2486 7.32357 16.6772C7.75215 17.1058 8.44703 17.1058 8.87561 16.6772L12.0009 13.552L15.1261 16.6772C15.5547 17.1058 16.2496 17.1058 16.6781 16.6772C17.1067 16.2486 17.1067 15.5537 16.6781 15.1251L13.5529 11.9999L16.6793 8.87354C17.1079 8.44496 17.1079 7.75008 16.6793 7.3215C16.2507 6.89291 15.5558 6.89291 15.1273 7.3215L12.0009 10.4479L8.87446 7.32144Z\"\n fill=\"#6A737D\"\n />\n </svg>\n </div>\n <div class=\"items\">\n <div\n tabindex=\"0\"\n (keyup.enter)=\"toggleSelectedItems($event, item)\"\n (click)=\"toggleSelectedItems($event, item)\"\n *ngFor=\"let item of searchInput ? searchData : localData\"\n >\n <div class=\"item\">\n <div class=\"checkbox-container-wrapper\">\n <div class=\"checkbox-container\">\n <mis-checkbox [checked]=\"item.checked\"></mis-checkbox>\n </div>\n <p class=\"label\">\n {{ item.label }}\n </p>\n </div>\n <div class=\"icon-container\" *ngIf=\"item.icon\">\n <img class=\"icon\" [src]=\"item.icon\" alt=\"no img\" />\n </div>\n </div>\n <div *ngIf=\"item?.children?.length > 0\" class=\"items sub\" [ngStyle]=\"{'padding-right': '0'}\">\n <div\n class=\"item\"\n tabindex=\"0\"\n (keyup.enter)=\"toggleSelectedItems($event, item, cItem)\"\n (click)=\"toggleSelectedItems($event, item, cItem)\"\n *ngFor=\"let cItem of item?.children\"\n >\n <div class=\"checkbox-container-wrapper\">\n <div class=\"checkbox-container\">\n <mis-checkbox [checked]=\"cItem.checked\"></mis-checkbox>\n </div>\n <p class=\"label\">\n {{ cItem.label }}\n </p>\n </div>\n <div class=\"icon-container\" *ngIf=\"cItem.icon\">\n <img class=\"icon\" [src]=\"cItem.icon\" alt=\"no img\" />\n </div>\n </div>\n </div>\n </div>\n <div class=\"noData\" *ngIf=\"(searchInput ? searchData : localData).length === 0\">\n {{ searchInput === \"\" ? noDataMessage : \"No results\" }}\n </div>\n </div>\n <div *ngIf=\"localData.length !== 0\" class=\"actions-container\">\n <div [ngStyle]=\"{'width': 'calc(50% - 4px)'}\">\n <mis-button [name]=\"'Reset'\" [type]=\"'Text'\" [width]=\"'100%'\" (click)=\"onReset()\"></mis-button>\n </div>\n <div [ngStyle]=\"{'width': 'calc(50% - 4px)'}\">\n <mis-button [name]=\"'Apply'\" [type]=\"'Solid'\" [width]=\"'100%'\" (click)=\"applyFilters()\"></mis-button>\n </div> \n </div>\n </div>\n</ng-template>\n", styles: ["::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background:#9aa7b4}.container{position:relative;display:flex;justify-content:center;align-items:center;height:32px;width:256px;flex-wrap:wrap;font-family:Lato,sans-serif}.container .dropdown{height:inherit;border:1px solid #e0e0e0;border-radius:6px;background-color:#fff;cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 12px;overflow:hidden}.container .dropdown:hover,.container .dropdown:focus-visible{background-color:#f5f7fc;outline:none}.container .dropdown .label{display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.container .dropdown .label .text{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.container .dropdown .label .count{background-color:#e0e0e0;border-radius:50%;padding:2px 7px;margin:0 0 0 8px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px;color:#181f33}.container .dropdown .handle{width:24px;height:24px;transition:.3s;position:absolute;right:12px;border-radius:50%;overflow:hidden}.popup-container{position:absolute;top:4px;width:100%;max-height:340px;padding-bottom:0;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;box-shadow:0 12px 24px #0000001f;overflow-x:hidden;display:flex;flex-direction:column;justify-content:space-between;z-index:100}.popup-container::-webkit-scrollbar{width:0;height:0}.popup-container .search-container{position:relative;box-sizing:border-box;padding:8px}.popup-container .search-container .search-icon{position:absolute;width:24px;height:24px;top:50%;transform:translateY(-50%);left:18px;z-index:1}.popup-container .search-container .search-input{height:40px;width:100%;padding:12px;border:1px solid #e0e0e0;box-sizing:border-box;border-radius:8px;outline:none;caret-color:#0937b2;font-style:normal;font-weight:400;font-size:12px;line-height:18px;display:flex;align-items:center;letter-spacing:.2px;color:#181f33}.popup-container .search-container .cancel-icon{position:absolute;cursor:pointer;width:24px;height:24px;top:50%;transform:translateY(-50%);right:18px;z-index:1}.popup-container .items{padding:8px 0 8px 8px;overflow-y:scroll;height:100%}.popup-container .items::-webkit-scrollbar{width:5px;height:0}.popup-container .items::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:10px}.popup-container .items .noData{display:flex;justify-content:center;align-items:center;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.popup-container .items .item{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;padding:8px 12px;border-radius:6px;height:auto}.popup-container .items .item:hover,.popup-container .items .item:focus-visible{background-color:#f5f7fc;outline:none}.popup-container .items .item .checkbox-container-wrapper{display:flex;justify-content:flex-start;align-items:center;width:90%}.popup-container .items .item .checkbox-container-wrapper .checkbox-container{display:block;position:relative;cursor:pointer;font-size:22px;-webkit-user-select:none;user-select:none}.popup-container .items .item .checkbox-container-wrapper .checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.popup-container .items .item .checkbox-container-wrapper .checkbox-container input:checked~.checkmark:after{display:block}.popup-container .items .item .checkbox-container-wrapper .checkbox-container .checkmark{position:absolute;top:-8px;left:0;height:15px;width:15px;border-radius:4px;background-color:#0079f1;border:1px solid rgb(106,115,125)}.popup-container .items .item .checkbox-container-wrapper .checkbox-container .checkmark:after{content:\"\";position:absolute;display:none;left:5px;top:2px;width:3px;height:6px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.popup-container .items .item .checkbox-container-wrapper .label{margin:0 0 0 8px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33;text-overflow:ellipsis;overflow:hidden}.popup-container .items .item .icon-container{width:10%;display:flex;justify-content:flex-end}.popup-container .items .item .icon-container .icon{width:20px;height:20px}.popup-container .actions-container{display:flex;justify-content:space-between;bottom:0;align-items:center;position:sticky;padding:16px;background-color:#fff;border-top:1px solid #e0e0e0}.popup-container .actions-container .cancel{cursor:pointer;padding:10px 32px;text-align:center;font-size:16px;line-height:24px;border-radius:8px}.popup-container .actions-container .cancel:hover{background:rgba(9,55,178,.04)}.popup-container .actions-container .apply{cursor:pointer;padding:10px 32px;text-align:center;color:#fff;font-size:16px;line-height:24px;background:#0937b2;border-radius:8px}\n"] }]
501
- }], function () { return [{ type: i0.ElementRef }, { type: i1.Overlay }, { type: i0.ViewContainerRef }]; }, { data: [{
502
- type: Input
503
- }], label: [{
504
- type: Input
505
- }], height: [{
506
- type: Input
507
- }], width: [{
508
- type: Input
509
- }], dropdownListHeight: [{
510
- type: Input
511
- }], dropdownListWidth: [{
512
- type: Input
513
- }], dropdownListPosition: [{
514
- type: Input
515
- }], searchEnabled: [{
516
- type: Input
517
- }], showSelectedCount: [{
518
- type: Input
519
- }], noDataMessage: [{
520
- type: Input
521
- }], selectedItems: [{
522
- type: Input
523
- }], onChange: [{
524
- type: Output
525
- }], selectElement: [{
526
- type: ViewChild,
527
- args: ["select", { static: false }]
528
- }], popupContainer: [{
529
- type: ViewChild,
530
- args: ["popupContainer", { static: false }]
531
- }] });
532
- })();
533
-
534
- class NestedMultiSelectDropdownModule {
535
- static forRoot() {
536
- return { ngModule: NestedMultiSelectDropdownModule, providers: [] };
537
- }
538
- }
539
- NestedMultiSelectDropdownModule.ɵfac = function NestedMultiSelectDropdownModule_Factory(t) { return new (t || NestedMultiSelectDropdownModule)(); };
540
- NestedMultiSelectDropdownModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NestedMultiSelectDropdownModule });
541
- NestedMultiSelectDropdownModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule, OverlayModule, CheckboxModule, ButtonModule] });
542
- (function () {
543
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NestedMultiSelectDropdownModule, [{
544
- type: NgModule,
545
- args: [{
546
- declarations: [NestedMultiSelectDropdownComponent],
547
- imports: [CommonModule, FormsModule, OverlayModule, CheckboxModule, ButtonModule],
548
- exports: [NestedMultiSelectDropdownComponent]
549
- }]
550
- }], null, null);
551
- })();
552
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NestedMultiSelectDropdownModule, { declarations: [NestedMultiSelectDropdownComponent], imports: [CommonModule, FormsModule, OverlayModule, CheckboxModule, ButtonModule], exports: [NestedMultiSelectDropdownComponent] }); })();
553
-
554
- /**
555
- * Generated bundle index. Do not edit.
556
- */
557
-
558
- export { NestedMultiSelectDropdownComponent, NestedMultiSelectDropdownModule };
559
- //# sourceMappingURL=mis-crystal-design-system-nested-multi-select-dropdown.mjs.map