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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (545) hide show
  1. package/action-list/action-list.component.d.ts +1 -1
  2. package/analytics/analytics.service.d.ts +1 -1
  3. package/async-search-dropdown/async-dropdown.component.d.ts +3 -2
  4. package/button/button.component.d.ts +1 -1
  5. package/button/button.directive.d.ts +1 -1
  6. package/checkbox/checkbox.component.d.ts +1 -1
  7. package/chip/chip.component.d.ts +1 -1
  8. package/datepicker_v2/models/dp-config.model.d.ts +1 -1
  9. package/datepicker_v2/tz-datepicker.directive.d.ts +1 -1
  10. package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +1 -1
  11. package/daterangepicker_v2/models/drp-config.model.d.ts +1 -1
  12. package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +1 -1
  13. package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +1 -1
  14. package/drawer/drawer-body/drawer-body.component.d.ts +1 -1
  15. package/dropdown/calculate-container-height.directive.d.ts +1 -1
  16. package/dropdown/dropdown.component.d.ts +1 -1
  17. package/dropdown/dropdown.module.d.ts +1 -1
  18. package/dynamic-form/dynamic-form.component.d.ts +1 -1
  19. package/esm2022/action-list/action-list.component.mjs +363 -0
  20. package/{esm2020 → esm2022}/action-list/action-list.module.mjs +5 -5
  21. package/{esm2020 → esm2022}/analytics/analytics.module.mjs +5 -5
  22. package/esm2022/analytics/analytics.service.mjs +64 -0
  23. package/esm2022/async-search-dropdown/async-dropdown.component.mjs +536 -0
  24. package/{esm2020 → esm2022}/async-search-dropdown/async-dropdown.module.mjs +5 -5
  25. package/esm2022/button/button.component.mjs +88 -0
  26. package/esm2022/button/button.directive.mjs +61 -0
  27. package/{esm2020 → esm2022}/button/button.module.mjs +5 -5
  28. package/esm2022/checkbox/checkbox.component.mjs +124 -0
  29. package/{esm2020 → esm2022}/checkbox/checkbox.module.mjs +5 -5
  30. package/esm2022/chip/chip.component.mjs +82 -0
  31. package/{esm2020 → esm2022}/chip/chip.module.mjs +5 -5
  32. package/{esm2020 → esm2022}/datepicker_v2/datepicker.module.mjs +5 -5
  33. package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +183 -0
  34. package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +442 -0
  35. package/{esm2020/daterangepicker_v2 → esm2022/datepicker_v2}/utils/index.mjs +1 -1
  36. package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
  37. package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +165 -0
  38. package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +503 -0
  39. package/esm2022/daterangepicker_v2/utils/index.mjs +45 -0
  40. package/esm2022/drawer/drawer-body/drawer-body.component.mjs +59 -0
  41. package/{esm2020 → esm2022}/drawer/drawer-ref.mjs +4 -4
  42. package/{esm2020 → esm2022}/drawer/drawer.module.mjs +5 -5
  43. package/{esm2020 → esm2022}/drawer/drawer.service.mjs +5 -5
  44. package/esm2022/dropdown/calculate-container-height.directive.mjs +41 -0
  45. package/esm2022/dropdown/dropdown.component.mjs +464 -0
  46. package/{esm2020 → esm2022}/dropdown/dropdown.module.mjs +6 -6
  47. package/esm2022/dynamic-form/dynamic-form.component.mjs +1093 -0
  48. package/{esm2020 → esm2022}/dynamic-form/dynamic-form.module.mjs +13 -13
  49. package/esm2022/fab/fab.component.mjs +145 -0
  50. package/{esm2020 → esm2022}/fab/fab.module.mjs +5 -5
  51. package/esm2022/filter/filter-panel/filter-panel.component.mjs +396 -0
  52. package/{esm2020 → esm2022}/filter/filters.module.mjs +17 -17
  53. package/esm2022/filter/has-value.pipe.mjs +31 -0
  54. package/{esm2020 → esm2022}/input/directives/input/input.directive.mjs +6 -6
  55. package/{fesm2020/mis-crystal-design-system-input.mjs → esm2022/input/mis-input.component.mjs} +49 -109
  56. package/{esm2020 → esm2022}/input/mis-input.module.mjs +5 -5
  57. package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +89 -0
  58. package/{esm2020 → esm2022}/input-stepper/input-stepper.module.mjs +5 -5
  59. package/esm2022/loader/loader.component.mjs +25 -0
  60. package/{esm2020 → esm2022}/loader/loader.module.mjs +5 -5
  61. package/esm2022/menu/menu-close.directive.mjs +25 -0
  62. package/{esm2020 → esm2022}/menu/menu.directive.mjs +7 -7
  63. package/{esm2020 → esm2022}/menu/menu.module.mjs +5 -5
  64. package/esm2022/mobile-filter/mobile-filter.component.mjs +180 -0
  65. package/{esm2020 → esm2022}/mobile-filter/mobile-filter.module.mjs +5 -5
  66. package/{esm2020 → esm2022}/modal/modal.module.mjs +5 -5
  67. package/esm2022/modal/modal.service.mjs +70 -0
  68. package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +56 -0
  69. package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +489 -0
  70. package/{esm2020 → esm2022}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
  71. package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +516 -0
  72. package/{esm2020 → esm2022}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
  73. package/esm2022/phone-input/phone-input.component.mjs +72 -0
  74. package/{esm2020 → esm2022}/phone-input/phone-input.module.mjs +5 -5
  75. package/esm2022/radio-button/radio-button.component.mjs +57 -0
  76. package/{esm2020 → esm2022}/radio-button/radio-button.module.mjs +5 -5
  77. package/esm2022/ske-loader/ske-loader.component.mjs +54 -0
  78. package/{esm2020 → esm2022}/ske-loader/ske-loader.module.mjs +5 -5
  79. package/esm2022/slider/slider.component.mjs +46 -0
  80. package/{esm2020 → esm2022}/slider/slider.module.mjs +7 -7
  81. package/esm2022/snackbar/snackbar/snackbar.component.mjs +72 -0
  82. package/{esm2020 → esm2022}/snackbar/snackbar.module.mjs +5 -5
  83. package/esm2022/snackbar/snackbar.service.mjs +47 -0
  84. package/{esm2020 → esm2022}/specificdatepicker/specificdatepicker.module.mjs +5 -5
  85. package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +646 -0
  86. package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
  87. package/esm2022/specificdatepicker/utils/index.mjs +45 -0
  88. package/esm2022/star-rating/star-rating.component.mjs +113 -0
  89. package/{esm2020 → esm2022}/star-rating/star-rating.module.mjs +5 -5
  90. package/esm2022/switch/switch.component.mjs +56 -0
  91. package/{esm2020 → esm2022}/switch/switch.module.mjs +5 -5
  92. package/esm2022/table/custom-table-cell.directive.mjs +42 -0
  93. package/esm2022/table/filter/filter.component.mjs +177 -0
  94. package/esm2022/table/sub-table/sub-table.component.mjs +192 -0
  95. package/esm2022/table/table.component.mjs +486 -0
  96. package/{esm2020 → esm2022}/table/table.module.mjs +5 -5
  97. package/esm2022/timepicker/timepicker.component.mjs +374 -0
  98. package/esm2022/timepicker/timepicker.directive.mjs +69 -0
  99. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +5 -5
  100. package/esm2022/timerangepicker/timerangepicker.component.mjs +237 -0
  101. package/{esm2020 → esm2022}/timerangepicker/timerangepicker.module.mjs +5 -5
  102. package/esm2022/toast/toast.component.mjs +51 -0
  103. package/{esm2020 → esm2022}/toast/toast.data.service.mjs +8 -8
  104. package/{esm2020 → esm2022}/toast/toast.module.mjs +5 -5
  105. package/esm2022/toast/toast.service.mjs +91 -0
  106. package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +79 -0
  107. package/esm2022/tooltip/tooltip.directive.mjs +143 -0
  108. package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +5 -5
  109. package/esm2022/virtual-scroll/virtual-scroll.component.mjs +188 -0
  110. package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.module.mjs +7 -7
  111. package/esm2022/widgets/classes/async-widget.mjs +23 -0
  112. package/{esm2020 → esm2022}/widgets/classes/base-widget.mjs +1 -1
  113. package/esm2022/widgets/classes/sync-widget.mjs +20 -0
  114. package/{esm2020 → esm2022}/widgets/services/widget.service.mjs +5 -5
  115. package/{esm2020 → esm2022}/widgets/widgets.module.mjs +5 -5
  116. package/fab/fab.component.d.ts +4 -4
  117. package/{fesm2020 → fesm2022}/mis-crystal-design-system-action-list.mjs +106 -113
  118. package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -0
  119. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs +9 -9
  120. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs.map +1 -1
  121. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +561 -0
  122. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  123. package/fesm2022/mis-crystal-design-system-button.mjs +173 -0
  124. package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -0
  125. package/fesm2022/mis-crystal-design-system-checkbox.mjs +150 -0
  126. package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -0
  127. package/fesm2022/mis-crystal-design-system-chip.mjs +108 -0
  128. package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -0
  129. package/{fesm2020 → fesm2022}/mis-crystal-design-system-datepicker_v2.mjs +133 -140
  130. package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  131. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +737 -0
  132. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  133. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs +34 -33
  134. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs.map +1 -1
  135. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dropdown.mjs +177 -186
  136. package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -0
  137. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dynamic-form.mjs +441 -456
  138. package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  139. package/{fesm2020 → fesm2022}/mis-crystal-design-system-fab.mjs +48 -47
  140. package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -0
  141. package/{fesm2020 → fesm2022}/mis-crystal-design-system-filter.mjs +113 -120
  142. package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -0
  143. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs +35 -34
  144. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs.map +1 -1
  145. package/fesm2022/mis-crystal-design-system-input.mjs +146 -0
  146. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input.mjs.map +1 -1
  147. package/fesm2022/mis-crystal-design-system-loader.mjs +51 -0
  148. package/{fesm2020 → fesm2022}/mis-crystal-design-system-loader.mjs.map +1 -1
  149. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs +16 -16
  150. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs.map +1 -1
  151. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +205 -0
  152. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  153. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs +34 -33
  154. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs.map +1 -1
  155. package/{fesm2020 → fesm2022}/mis-crystal-design-system-multi-select-dropdown.mjs +107 -109
  156. package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  157. package/{fesm2020 → fesm2022}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +128 -129
  158. package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  159. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs +22 -21
  160. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs.map +1 -1
  161. package/fesm2022/mis-crystal-design-system-radio-button.mjs +83 -0
  162. package/{fesm2020 → fesm2022}/mis-crystal-design-system-radio-button.mjs.map +1 -1
  163. package/fesm2022/mis-crystal-design-system-ske-loader.mjs +77 -0
  164. package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  165. package/fesm2022/mis-crystal-design-system-slider.mjs +80 -0
  166. package/{fesm2020 → fesm2022}/mis-crystal-design-system-slider.mjs.map +1 -1
  167. package/{fesm2020 → fesm2022}/mis-crystal-design-system-snackbar.mjs +32 -32
  168. package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -0
  169. package/{fesm2020 → fesm2022}/mis-crystal-design-system-specificdatepicker.mjs +204 -204
  170. package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  171. package/{fesm2020 → fesm2022}/mis-crystal-design-system-star-rating.mjs +29 -28
  172. package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -0
  173. package/fesm2022/mis-crystal-design-system-switch.mjs +82 -0
  174. package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -0
  175. package/fesm2022/mis-crystal-design-system-table.mjs +913 -0
  176. package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -0
  177. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs +78 -74
  178. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs.map +1 -1
  179. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs +26 -25
  180. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
  181. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs +35 -34
  182. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs.map +1 -1
  183. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs +47 -47
  184. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs.map +1 -1
  185. package/{fesm2020 → fesm2022}/mis-crystal-design-system-virtual-scroll.mjs +50 -52
  186. package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  187. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs +4 -4
  188. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs.map +1 -1
  189. package/filter/filter-panel/filter-panel.component.d.ts +1 -1
  190. package/input/directives/input/input.directive.d.ts +1 -1
  191. package/input/mis-input.component.d.ts +1 -1
  192. package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
  193. package/loader/loader.component.d.ts +1 -1
  194. package/menu/menu-close.directive.d.ts +1 -1
  195. package/menu/menu.directive.d.ts +1 -1
  196. package/mobile-filter/mobile-filter.component.d.ts +1 -1
  197. package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
  198. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
  199. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
  200. package/package.json +125 -207
  201. package/phone-input/phone-input.component.d.ts +1 -1
  202. package/radio-button/radio-button.component.d.ts +1 -1
  203. package/ske-loader/ske-loader.component.d.ts +1 -1
  204. package/slider/slider.component.d.ts +1 -1
  205. package/snackbar/snackbar/snackbar.component.d.ts +1 -1
  206. package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
  207. package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
  208. package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
  209. package/star-rating/star-rating.component.d.ts +1 -1
  210. package/switch/switch.component.d.ts +1 -1
  211. package/table/custom-table-cell.directive.d.ts +1 -1
  212. package/table/filter/filter.component.d.ts +1 -1
  213. package/table/sub-table/sub-table.component.d.ts +1 -1
  214. package/table/table.component.d.ts +1 -1
  215. package/timepicker/timepicker.component.d.ts +1 -1
  216. package/timepicker/timepicker.directive.d.ts +1 -1
  217. package/timerangepicker/timerange.namespace.d.ts +1 -1
  218. package/timerangepicker/timerangepicker.component.d.ts +1 -1
  219. package/toast/toast.component.d.ts +1 -1
  220. package/toast/toast.service.d.ts +1 -1
  221. package/tooltip/models/tooltip.model.d.ts +1 -1
  222. package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
  223. package/tooltip/tooltip.directive.d.ts +1 -1
  224. package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
  225. package/widgets/interfaces/widgets.model.d.ts +1 -1
  226. package/button/button.directive.scss +0 -69
  227. package/drawer/drawer.scss +0 -20
  228. package/esm2020/action-list/action-list.component.mjs +0 -370
  229. package/esm2020/analytics/analytics.service.mjs +0 -64
  230. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +0 -525
  231. package/esm2020/button/button.component.mjs +0 -87
  232. package/esm2020/button/button.directive.mjs +0 -61
  233. package/esm2020/checkbox/checkbox.component.mjs +0 -124
  234. package/esm2020/chip/chip.component.mjs +0 -82
  235. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +0 -183
  236. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -449
  237. package/esm2020/datepicker_v2/utils/index.mjs +0 -45
  238. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -165
  239. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -502
  240. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +0 -58
  241. package/esm2020/dropdown/calculate-container-height.directive.mjs +0 -41
  242. package/esm2020/dropdown/dropdown.component.mjs +0 -472
  243. package/esm2020/dynamic-form/dynamic-form.component.mjs +0 -1108
  244. package/esm2020/fab/fab.component.mjs +0 -144
  245. package/esm2020/filter/filter-panel/filter-panel.component.mjs +0 -403
  246. package/esm2020/filter/has-value.pipe.mjs +0 -31
  247. package/esm2020/input/mis-input.component.mjs +0 -84
  248. package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +0 -88
  249. package/esm2020/loader/loader.component.mjs +0 -24
  250. package/esm2020/menu/menu-close.directive.mjs +0 -25
  251. package/esm2020/mobile-filter/mobile-filter.component.mjs +0 -181
  252. package/esm2020/modal/modal.service.mjs +0 -70
  253. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +0 -55
  254. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -491
  255. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -517
  256. package/esm2020/phone-input/phone-input.component.mjs +0 -71
  257. package/esm2020/radio-button/radio-button.component.mjs +0 -56
  258. package/esm2020/ske-loader/ske-loader.component.mjs +0 -53
  259. package/esm2020/slider/slider.component.mjs +0 -45
  260. package/esm2020/snackbar/snackbar/snackbar.component.mjs +0 -72
  261. package/esm2020/snackbar/snackbar.service.mjs +0 -47
  262. package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -646
  263. package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
  264. package/esm2020/specificdatepicker/utils/index.mjs +0 -45
  265. package/esm2020/star-rating/star-rating.component.mjs +0 -112
  266. package/esm2020/switch/switch.component.mjs +0 -55
  267. package/esm2020/table/custom-table-cell.directive.mjs +0 -42
  268. package/esm2020/table/filter/filter.component.mjs +0 -176
  269. package/esm2020/table/sub-table/sub-table.component.mjs +0 -193
  270. package/esm2020/table/table.component.mjs +0 -492
  271. package/esm2020/timepicker/timepicker.component.mjs +0 -370
  272. package/esm2020/timepicker/timepicker.directive.mjs +0 -69
  273. package/esm2020/timerangepicker/timerangepicker.component.mjs +0 -236
  274. package/esm2020/toast/toast.component.mjs +0 -50
  275. package/esm2020/toast/toast.service.mjs +0 -91
  276. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +0 -79
  277. package/esm2020/tooltip/tooltip.directive.mjs +0 -143
  278. package/esm2020/virtual-scroll/virtual-scroll.component.mjs +0 -190
  279. package/esm2020/widgets/classes/async-widget.mjs +0 -23
  280. package/esm2020/widgets/classes/sync-widget.mjs +0 -20
  281. package/fesm2015/mis-crystal-design-system-action-list.mjs +0 -446
  282. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +0 -1
  283. package/fesm2015/mis-crystal-design-system-analytics.mjs +0 -87
  284. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +0 -1
  285. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +0 -618
  286. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  287. package/fesm2015/mis-crystal-design-system-button.mjs +0 -189
  288. package/fesm2015/mis-crystal-design-system-button.mjs.map +0 -1
  289. package/fesm2015/mis-crystal-design-system-checkbox.mjs +0 -166
  290. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +0 -1
  291. package/fesm2015/mis-crystal-design-system-chip.mjs +0 -123
  292. package/fesm2015/mis-crystal-design-system-chip.mjs.map +0 -1
  293. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +0 -751
  294. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  295. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +0 -769
  296. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  297. package/fesm2015/mis-crystal-design-system-drawer.mjs +0 -185
  298. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +0 -1
  299. package/fesm2015/mis-crystal-design-system-dropdown.mjs +0 -616
  300. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +0 -1
  301. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +0 -1337
  302. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  303. package/fesm2015/mis-crystal-design-system-fab.mjs +0 -186
  304. package/fesm2015/mis-crystal-design-system-fab.mjs.map +0 -1
  305. package/fesm2015/mis-crystal-design-system-filter.mjs +0 -559
  306. package/fesm2015/mis-crystal-design-system-filter.mjs.map +0 -1
  307. package/fesm2015/mis-crystal-design-system-input-stepper.mjs +0 -124
  308. package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +0 -1
  309. package/fesm2015/mis-crystal-design-system-input.mjs +0 -165
  310. package/fesm2015/mis-crystal-design-system-input.mjs.map +0 -1
  311. package/fesm2015/mis-crystal-design-system-loader.mjs +0 -57
  312. package/fesm2015/mis-crystal-design-system-loader.mjs.map +0 -1
  313. package/fesm2015/mis-crystal-design-system-menu.mjs +0 -135
  314. package/fesm2015/mis-crystal-design-system-menu.mjs.map +0 -1
  315. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +0 -227
  316. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  317. package/fesm2015/mis-crystal-design-system-modal.mjs +0 -184
  318. package/fesm2015/mis-crystal-design-system-modal.mjs.map +0 -1
  319. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +0 -550
  320. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  321. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -559
  322. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  323. package/fesm2015/mis-crystal-design-system-phone-input.mjs +0 -107
  324. package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +0 -1
  325. package/fesm2015/mis-crystal-design-system-radio-button.mjs +0 -89
  326. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +0 -1
  327. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +0 -86
  328. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  329. package/fesm2015/mis-crystal-design-system-slider.mjs +0 -88
  330. package/fesm2015/mis-crystal-design-system-slider.mjs.map +0 -1
  331. package/fesm2015/mis-crystal-design-system-snackbar.mjs +0 -175
  332. package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +0 -1
  333. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +0 -970
  334. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  335. package/fesm2015/mis-crystal-design-system-star-rating.mjs +0 -145
  336. package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +0 -1
  337. package/fesm2015/mis-crystal-design-system-switch.mjs +0 -88
  338. package/fesm2015/mis-crystal-design-system-switch.mjs.map +0 -1
  339. package/fesm2015/mis-crystal-design-system-table.mjs +0 -1045
  340. package/fesm2015/mis-crystal-design-system-table.mjs.map +0 -1
  341. package/fesm2015/mis-crystal-design-system-timepicker.mjs +0 -484
  342. package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +0 -1
  343. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +0 -273
  344. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +0 -1
  345. package/fesm2015/mis-crystal-design-system-toast.mjs +0 -214
  346. package/fesm2015/mis-crystal-design-system-toast.mjs.map +0 -1
  347. package/fesm2015/mis-crystal-design-system-tooltip.mjs +0 -272
  348. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +0 -1
  349. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +0 -259
  350. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  351. package/fesm2015/mis-crystal-design-system-widgets.mjs +0 -131
  352. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +0 -1
  353. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +0 -1
  354. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +0 -550
  355. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  356. package/fesm2020/mis-crystal-design-system-button.mjs +0 -172
  357. package/fesm2020/mis-crystal-design-system-button.mjs.map +0 -1
  358. package/fesm2020/mis-crystal-design-system-checkbox.mjs +0 -150
  359. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +0 -1
  360. package/fesm2020/mis-crystal-design-system-chip.mjs +0 -108
  361. package/fesm2020/mis-crystal-design-system-chip.mjs.map +0 -1
  362. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  363. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +0 -736
  364. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  365. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +0 -1
  366. package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  367. package/fesm2020/mis-crystal-design-system-fab.mjs.map +0 -1
  368. package/fesm2020/mis-crystal-design-system-filter.mjs.map +0 -1
  369. package/fesm2020/mis-crystal-design-system-loader.mjs +0 -50
  370. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +0 -206
  371. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  372. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  373. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  374. package/fesm2020/mis-crystal-design-system-radio-button.mjs +0 -82
  375. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +0 -76
  376. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  377. package/fesm2020/mis-crystal-design-system-slider.mjs +0 -79
  378. package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +0 -1
  379. package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  380. package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +0 -1
  381. package/fesm2020/mis-crystal-design-system-styles.mjs +0 -4
  382. package/fesm2020/mis-crystal-design-system-styles.mjs.map +0 -1
  383. package/fesm2020/mis-crystal-design-system-switch.mjs +0 -81
  384. package/fesm2020/mis-crystal-design-system-switch.mjs.map +0 -1
  385. package/fesm2020/mis-crystal-design-system-table.mjs +0 -919
  386. package/fesm2020/mis-crystal-design-system-table.mjs.map +0 -1
  387. package/fesm2020/mis-crystal-design-system-utils.mjs +0 -24
  388. package/fesm2020/mis-crystal-design-system-utils.mjs.map +0 -1
  389. package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  390. package/fesm2020/mis-crystal-design-system.mjs +0 -24
  391. package/fesm2020/mis-crystal-design-system.mjs.map +0 -1
  392. package/input/mis-input.component.scss +0 -180
  393. package/modal/modal.scss +0 -9
  394. package/styles/fonts/icomoon.eot +0 -0
  395. package/styles/fonts/icomoon.svg +0 -315
  396. package/styles/fonts/icomoon.ttf +0 -0
  397. package/styles/fonts/icomoon.woff +0 -0
  398. package/styles/mis-borders-backgrounds.scss +0 -764
  399. package/styles/mis-color-constants.scss +0 -149
  400. package/styles/mis-flex.scss +0 -321
  401. package/styles/mis-fonts.scss +0 -124
  402. package/styles/mis-icons.scss +0 -1054
  403. package/styles/mis-mixins.scss +0 -46
  404. package/styles/mis-old-icon-styles.scss +0 -498
  405. package/styles/mis-spacing-sizing.scss +0 -2590
  406. package/styles/mis-typography.scss +0 -462
  407. /package/{esm2020 → esm2022}/action-list/index.mjs +0 -0
  408. /package/{esm2020 → esm2022}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
  409. /package/{esm2020 → esm2022}/action-list/public_api.mjs +0 -0
  410. /package/{esm2020 → esm2022}/analytics/index.mjs +0 -0
  411. /package/{esm2020 → esm2022}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
  412. /package/{esm2020 → esm2022}/analytics/public_api.mjs +0 -0
  413. /package/{esm2020 → esm2022}/async-search-dropdown/index.mjs +0 -0
  414. /package/{esm2020 → esm2022}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
  415. /package/{esm2020 → esm2022}/async-search-dropdown/public_api.mjs +0 -0
  416. /package/{esm2020 → esm2022}/button/index.mjs +0 -0
  417. /package/{esm2020 → esm2022}/button/mis-crystal-design-system-button.mjs +0 -0
  418. /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
  419. /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
  420. /package/{esm2020 → esm2022}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
  421. /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
  422. /package/{esm2020 → esm2022}/chip/index.mjs +0 -0
  423. /package/{esm2020 → esm2022}/chip/mis-crystal-design-system-chip.mjs +0 -0
  424. /package/{esm2020 → esm2022}/chip/public_api.mjs +0 -0
  425. /package/{esm2020 → esm2022}/datepicker_v2/datepicker-constants.mjs +0 -0
  426. /package/{esm2020 → esm2022}/datepicker_v2/index.mjs +0 -0
  427. /package/{esm2020 → esm2022}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
  428. /package/{esm2020 → esm2022}/datepicker_v2/models/dp-config.model.mjs +0 -0
  429. /package/{esm2020 → esm2022}/datepicker_v2/public_api.mjs +0 -0
  430. /package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
  431. /package/{esm2020 → esm2022}/daterangepicker_v2/index.mjs +0 -0
  432. /package/{esm2020 → esm2022}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
  433. /package/{esm2020 → esm2022}/daterangepicker_v2/models/drp-config.model.mjs +0 -0
  434. /package/{esm2020 → esm2022}/daterangepicker_v2/public_api.mjs +0 -0
  435. /package/{esm2020 → esm2022}/drawer/drawer-constants.mjs +0 -0
  436. /package/{esm2020 → esm2022}/drawer/index.mjs +0 -0
  437. /package/{esm2020 → esm2022}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
  438. /package/{esm2020 → esm2022}/drawer/public_api.mjs +0 -0
  439. /package/{esm2020 → esm2022}/dropdown/index.mjs +0 -0
  440. /package/{esm2020 → esm2022}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
  441. /package/{esm2020 → esm2022}/dropdown/public_api.mjs +0 -0
  442. /package/{esm2020 → esm2022}/dynamic-form/dynamic-form.namespace.mjs +0 -0
  443. /package/{esm2020 → esm2022}/dynamic-form/index.mjs +0 -0
  444. /package/{esm2020 → esm2022}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
  445. /package/{esm2020 → esm2022}/dynamic-form/public_api.mjs +0 -0
  446. /package/{esm2020 → esm2022}/fab/index.mjs +0 -0
  447. /package/{esm2020 → esm2022}/fab/mis-crystal-design-system-fab.mjs +0 -0
  448. /package/{esm2020 → esm2022}/fab/public_api.mjs +0 -0
  449. /package/{esm2020 → esm2022}/filter/animations/slideFromRight.mjs +0 -0
  450. /package/{esm2020 → esm2022}/filter/index.mjs +0 -0
  451. /package/{esm2020 → esm2022}/filter/mis-crystal-design-system-filter.mjs +0 -0
  452. /package/{esm2020 → esm2022}/filter/public_api.mjs +0 -0
  453. /package/{esm2020 → esm2022}/index.mjs +0 -0
  454. /package/{esm2020 → esm2022}/input/index.mjs +0 -0
  455. /package/{esm2020 → esm2022}/input/mis-crystal-design-system-input.mjs +0 -0
  456. /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
  457. /package/{esm2020 → esm2022}/input-stepper/index.mjs +0 -0
  458. /package/{esm2020 → esm2022}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
  459. /package/{esm2020 → esm2022}/input-stepper/public_api.mjs +0 -0
  460. /package/{esm2020 → esm2022}/loader/index.mjs +0 -0
  461. /package/{esm2020 → esm2022}/loader/mis-crystal-design-system-loader.mjs +0 -0
  462. /package/{esm2020 → esm2022}/loader/public_api.mjs +0 -0
  463. /package/{esm2020 → esm2022}/menu/index.mjs +0 -0
  464. /package/{esm2020 → esm2022}/menu/mis-crystal-design-system-menu.mjs +0 -0
  465. /package/{esm2020 → esm2022}/menu/public_api.mjs +0 -0
  466. /package/{esm2020 → esm2022}/mis-crystal-design-system.mjs +0 -0
  467. /package/{esm2020 → esm2022}/mobile-filter/index.mjs +0 -0
  468. /package/{esm2020 → esm2022}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
  469. /package/{esm2020 → esm2022}/mobile-filter/public_api.mjs +0 -0
  470. /package/{esm2020 → esm2022}/modal/index.mjs +0 -0
  471. /package/{esm2020 → esm2022}/modal/mis-crystal-design-system-modal.mjs +0 -0
  472. /package/{esm2020 → esm2022}/modal/modal-constants.mjs +0 -0
  473. /package/{esm2020 → esm2022}/modal/modal-ref.mjs +0 -0
  474. /package/{esm2020 → esm2022}/modal/public_api.mjs +0 -0
  475. /package/{esm2020 → esm2022}/multi-select-dropdown/index.mjs +0 -0
  476. /package/{esm2020 → esm2022}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
  477. /package/{esm2020 → esm2022}/multi-select-dropdown/public_api.mjs +0 -0
  478. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/index.mjs +0 -0
  479. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
  480. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/public_api.mjs +0 -0
  481. /package/{esm2020 → esm2022}/phone-input/index.mjs +0 -0
  482. /package/{esm2020 → esm2022}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
  483. /package/{esm2020 → esm2022}/phone-input/public_api.mjs +0 -0
  484. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  485. /package/{esm2020 → esm2022}/radio-button/index.mjs +0 -0
  486. /package/{esm2020 → esm2022}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
  487. /package/{esm2020 → esm2022}/radio-button/public_api.mjs +0 -0
  488. /package/{esm2020 → esm2022}/ske-loader/index.mjs +0 -0
  489. /package/{esm2020 → esm2022}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
  490. /package/{esm2020 → esm2022}/ske-loader/public_api.mjs +0 -0
  491. /package/{esm2020 → esm2022}/slider/index.mjs +0 -0
  492. /package/{esm2020 → esm2022}/slider/mis-crystal-design-system-slider.mjs +0 -0
  493. /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
  494. /package/{esm2020 → esm2022}/snackbar/index.mjs +0 -0
  495. /package/{esm2020 → esm2022}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
  496. /package/{esm2020 → esm2022}/snackbar/public_api.mjs +0 -0
  497. /package/{esm2020 → esm2022}/specificdatepicker/daterangepicker-constants.mjs +0 -0
  498. /package/{esm2020 → esm2022}/specificdatepicker/index.mjs +0 -0
  499. /package/{esm2020 → esm2022}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
  500. /package/{esm2020 → esm2022}/specificdatepicker/models/sdp-config.model.mjs +0 -0
  501. /package/{esm2020 → esm2022}/specificdatepicker/public_api.mjs +0 -0
  502. /package/{esm2020 → esm2022}/star-rating/index.mjs +0 -0
  503. /package/{esm2020 → esm2022}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
  504. /package/{esm2020 → esm2022}/star-rating/public_api.mjs +0 -0
  505. /package/{esm2020 → esm2022}/styles/index.mjs +0 -0
  506. /package/{esm2020 → esm2022}/styles/mis-crystal-design-system-styles.mjs +0 -0
  507. /package/{esm2020 → esm2022}/styles/public_api.mjs +0 -0
  508. /package/{esm2020 → esm2022}/switch/index.mjs +0 -0
  509. /package/{esm2020 → esm2022}/switch/mis-crystal-design-system-switch.mjs +0 -0
  510. /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
  511. /package/{esm2020 → esm2022}/table/index.mjs +0 -0
  512. /package/{esm2020 → esm2022}/table/mis-crystal-design-system-table.mjs +0 -0
  513. /package/{esm2020 → esm2022}/table/public_api.mjs +0 -0
  514. /package/{esm2020 → esm2022}/timepicker/index.mjs +0 -0
  515. /package/{esm2020 → esm2022}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
  516. /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
  517. /package/{esm2020 → esm2022}/timepicker/time.namespace.mjs +0 -0
  518. /package/{esm2020 → esm2022}/timerangepicker/index.mjs +0 -0
  519. /package/{esm2020 → esm2022}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
  520. /package/{esm2020 → esm2022}/timerangepicker/public_api.mjs +0 -0
  521. /package/{esm2020 → esm2022}/timerangepicker/timerange.namespace.mjs +0 -0
  522. /package/{esm2020 → esm2022}/toast/index.mjs +0 -0
  523. /package/{esm2020 → esm2022}/toast/mis-crystal-design-system-toast.mjs +0 -0
  524. /package/{esm2020 → esm2022}/toast/public_api.mjs +0 -0
  525. /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
  526. /package/{esm2020 → esm2022}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
  527. /package/{esm2020 → esm2022}/tooltip/models/tooltip.model.mjs +0 -0
  528. /package/{esm2020 → esm2022}/tooltip/public_api.mjs +0 -0
  529. /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
  530. /package/{esm2020 → esm2022}/utils/mis-crystal-design-system-utils.mjs +0 -0
  531. /package/{esm2020 → esm2022}/virtual-scroll/index.mjs +0 -0
  532. /package/{esm2020 → esm2022}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
  533. /package/{esm2020 → esm2022}/virtual-scroll/public_api.mjs +0 -0
  534. /package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
  535. /package/{esm2020 → esm2022}/widgets/classes/widget-group.mjs +0 -0
  536. /package/{esm2020 → esm2022}/widgets/index.mjs +0 -0
  537. /package/{esm2020 → esm2022}/widgets/interfaces/widgets.model.mjs +0 -0
  538. /package/{esm2020 → esm2022}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
  539. /package/{esm2020 → esm2022}/widgets/public_api.mjs +0 -0
  540. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs +0 -0
  541. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs.map +0 -0
  542. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs +0 -0
  543. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs.map +0 -0
  544. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs +0 -0
  545. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs.map +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"mis-crystal-design-system-analytics.mjs","sources":["../../../projects/mis-components/analytics/analytics.service.ts","../../../projects/mis-components/analytics/analytics.module.ts","../../../projects/mis-components/analytics/mis-crystal-design-system-analytics.ts"],"sourcesContent":["import { DOCUMENT } from \"@angular/common\";\nimport { Inject, Injectable, Renderer2 } from \"@angular/core\";\ndeclare const gtag: Function;\ntype TCustomParameters = { [key: string]: string | number | boolean };\ntype TPendingEvents = ([\"event\", string, string, string?, string?, TCustomParameters?] | [\"set\", string])[];\n\n@Injectable({\n providedIn: \"root\"\n})\nexport class AnalyticsService {\n private scriptLoaded = false;\n private pendingEvents: TPendingEvents = [];\n\n constructor(@Inject(DOCUMENT) private document: any) {}\n\n insertScript(measurementId: string, renderer: Renderer2): void {\n const loadScript = renderer.createElement(\"script\");\n loadScript.setAttribute(\"async\", true);\n loadScript.setAttribute(\"src\", `https://www.googletagmanager.com/gtag/js?id=${measurementId}`);\n\n const initScript = renderer.createElement(\"script\");\n initScript.innerText = `window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag(\\'js\\', new Date());gtag(\\'config\\', \\'${measurementId}\\');`;\n renderer.appendChild(this.document.head, loadScript);\n renderer.appendChild(this.document.head, initScript);\n this.handlePendingEvents(loadScript);\n }\n\n private handlePendingEvents(script: HTMLScriptElement): void {\n script.addEventListener(\"load\", () => {\n this.scriptLoaded = true;\n for (const eventDetails of this.pendingEvents) {\n if (eventDetails[0] === \"event\") {\n this.send(eventDetails[1], eventDetails[2], eventDetails[3], eventDetails[4]);\n } else if (eventDetails[0] === \"set\") {\n this.setIdentity(eventDetails[1]);\n }\n }\n });\n }\n\n send(\n eventAction: string, \n event_category: string, \n event_label?: string, \n event_value?: string, \n force = false, \n customParameters?: TCustomParameters\n ): void {\n if (!this.scriptLoaded && !force) {\n this.pendingEvents.push([\"event\", eventAction, event_category, event_label, event_value, customParameters]);\n return;\n }\n gtag?.(\"event\", eventAction, {\n event_category: event_category,\n event_label: event_label,\n event_value: event_value,\n ...customParameters\n });\n }\n\n setIdentity(identifier: string): void {\n if (!this.scriptLoaded) {\n this.pendingEvents.push([\"set\", identifier]);\n return;\n }\n gtag?.(\"set\", { user_id: identifier });\n }\n}\n","import { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { AnalyticsService } from \"./analytics.service\";\n\n@NgModule()\nexport class AnalyticsModule {\n static forRoot(): ModuleWithProviders<AnalyticsModule> {\n return {\n ngModule: AnalyticsModule,\n providers: [AnalyticsService]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"mis-crystal-design-system-analytics.mjs","sources":["../../../projects/mis-components/analytics/analytics.service.ts","../../../projects/mis-components/analytics/analytics.module.ts","../../../projects/mis-components/analytics/mis-crystal-design-system-analytics.ts"],"sourcesContent":["import { DOCUMENT } from \"@angular/common\";\nimport { Inject, Injectable, Renderer2 } from \"@angular/core\";\ndeclare const gtag: Function;\ntype TCustomParameters = { [key: string]: string | number | boolean };\ntype TPendingEvents = ([\"event\", string, string, string?, string?, TCustomParameters?] | [\"set\", string])[];\n\n@Injectable({\n providedIn: \"root\"\n})\nexport class AnalyticsService {\n private scriptLoaded = false;\n private pendingEvents: TPendingEvents = [];\n\n constructor(@Inject(DOCUMENT) private document: any) {}\n\n insertScript(measurementId: string, renderer: Renderer2): void {\n const loadScript = renderer.createElement(\"script\");\n loadScript.setAttribute(\"async\", true);\n loadScript.setAttribute(\"src\", `https://www.googletagmanager.com/gtag/js?id=${measurementId}`);\n\n const initScript = renderer.createElement(\"script\");\n initScript.innerText = `window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag(\\'js\\', new Date());gtag(\\'config\\', \\'${measurementId}\\');`;\n renderer.appendChild(this.document.head, loadScript);\n renderer.appendChild(this.document.head, initScript);\n this.handlePendingEvents(loadScript);\n }\n\n private handlePendingEvents(script: HTMLScriptElement): void {\n script.addEventListener(\"load\", () => {\n this.scriptLoaded = true;\n for (const eventDetails of this.pendingEvents) {\n if (eventDetails[0] === \"event\") {\n this.send(eventDetails[1], eventDetails[2], eventDetails[3], eventDetails[4]);\n } else if (eventDetails[0] === \"set\") {\n this.setIdentity(eventDetails[1]);\n }\n }\n });\n }\n\n send(\n eventAction: string, \n event_category: string, \n event_label?: string, \n event_value?: string, \n force = false, \n customParameters?: TCustomParameters\n ): void {\n if (!this.scriptLoaded && !force) {\n this.pendingEvents.push([\"event\", eventAction, event_category, event_label, event_value, customParameters]);\n return;\n }\n gtag?.(\"event\", eventAction, {\n event_category: event_category,\n event_label: event_label,\n event_value: event_value,\n ...customParameters\n });\n }\n\n setIdentity(identifier: string): void {\n if (!this.scriptLoaded) {\n this.pendingEvents.push([\"set\", identifier]);\n return;\n }\n gtag?.(\"set\", { user_id: identifier });\n }\n}\n","import { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { AnalyticsService } from \"./analytics.service\";\n\n@NgModule()\nexport class AnalyticsModule {\n static forRoot(): ModuleWithProviders<AnalyticsModule> {\n return {\n ngModule: AnalyticsModule,\n providers: [AnalyticsService]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"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"}
@@ -0,0 +1,561 @@
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, ViewChild, ContentChild, Output, HostListener, NgModule } from '@angular/core';
6
+ import * as i3 from '@angular/forms';
7
+ import { UntypedFormControl, ReactiveFormsModule, FormsModule } from '@angular/forms';
8
+ import { Subject, merge } from 'rxjs';
9
+ import { tap, debounceTime, distinctUntilChanged } from 'rxjs/operators';
10
+ import * as i2 from '@angular/common';
11
+ import { CommonModule } from '@angular/common';
12
+ import * as i4 from 'mis-crystal-design-system/loader';
13
+ import { LoaderModule } from 'mis-crystal-design-system/loader';
14
+ import * as i5 from '@angular/cdk/a11y';
15
+ import { A11yModule } from '@angular/cdk/a11y';
16
+
17
+ const _c0 = ["misCustomItem"];
18
+ const _c1 = ["asyncCustomLoader"];
19
+ const _c2 = ["ddBtn"];
20
+ const _c3 = ["input"];
21
+ const _c4 = ["dd"];
22
+ const _c5 = (a0, a1, a2) => ({ opened: a0, disabled: a1, readonly: a2 });
23
+ const _c6 = (a0, a1) => ({ "chip-md": a0, "chip-sm": a1 });
24
+ const _c7 = (a0, a1) => ({ "h6": a0, "h8-b": a1 });
25
+ const _c8 = () => ({ "margin-right": "4px" });
26
+ const _c9 = a0 => ({ "cursor": "pointer", "font-size": a0 });
27
+ const _c10 = (a0, a1) => ({ "ip-md": a0, "ip-sm": a1 });
28
+ const _c11 = (a0, a1) => ({ "max-height": a0, "width": a1 });
29
+ const _c12 = a0 => ({ "dd-list-pd": a0 });
30
+ const _c13 = a0 => ({ $implicit: a0 });
31
+ function AsyncDropdownComponent_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
32
+ const _r1 = i0.ɵɵgetCurrentView();
33
+ i0.ɵɵelementStart(0, "div", 15)(1, "span", 16);
34
+ i0.ɵɵtext(2);
35
+ i0.ɵɵelementEnd();
36
+ i0.ɵɵelementStart(3, "span", 17);
37
+ i0.ɵɵlistener("click", function AsyncDropdownComponent_div_2_div_1_Template_span_click_3_listener() { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.removeItem(item_r2)); })("keyup.enter", function AsyncDropdownComponent_div_2_div_1_Template_span_keyup_enter_3_listener() { const item_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.removeItem(item_r2)); });
38
+ i0.ɵɵelementEnd()();
39
+ } if (rf & 2) {
40
+ const item_r2 = ctx.$implicit;
41
+ const ctx_r2 = i0.ɵɵnextContext(2);
42
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(5, _c6, ctx_r2.size === "md", ctx_r2.size === "sm"));
43
+ i0.ɵɵadvance();
44
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(8, _c7, ctx_r2.size === "md", ctx_r2.size === "sm"))("ngStyle", i0.ɵɵpureFunction0(11, _c8));
45
+ i0.ɵɵadvance();
46
+ i0.ɵɵtextInterpolate(item_r2[ctx_r2.displayKey]);
47
+ i0.ɵɵadvance();
48
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c9, ctx_r2.size === "sm" ? "12px" : "14px"));
49
+ } }
50
+ function AsyncDropdownComponent_div_2_Template(rf, ctx) { if (rf & 1) {
51
+ i0.ɵɵelementStart(0, "div", 13);
52
+ i0.ɵɵtemplate(1, AsyncDropdownComponent_div_2_div_1_Template, 4, 14, "div", 14);
53
+ i0.ɵɵelementEnd();
54
+ } if (rf & 2) {
55
+ const ctx_r2 = i0.ɵɵnextContext();
56
+ i0.ɵɵadvance();
57
+ i0.ɵɵproperty("ngForOf", ctx_r2.selectedItems);
58
+ } }
59
+ function AsyncDropdownComponent_div_4_Template(rf, ctx) { if (rf & 1) {
60
+ i0.ɵɵelementStart(0, "div", 18);
61
+ i0.ɵɵelement(1, "img", 19);
62
+ i0.ɵɵelementEnd();
63
+ } if (rf & 2) {
64
+ const ctx_r2 = i0.ɵɵnextContext();
65
+ i0.ɵɵadvance();
66
+ i0.ɵɵproperty("src", ctx_r2.customPlaceholderIcon, i0.ɵɵsanitizeUrl);
67
+ } }
68
+ function AsyncDropdownComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
69
+ i0.ɵɵelement(0, "span", 20);
70
+ } }
71
+ function AsyncDropdownComponent_input_7_Template(rf, ctx) { if (rf & 1) {
72
+ const _r4 = i0.ɵɵgetCurrentView();
73
+ i0.ɵɵelementStart(0, "input", 21, 4);
74
+ i0.ɵɵlistener("focus", function AsyncDropdownComponent_input_7_Template_input_focus_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.defaultCall()); })("keyup.enter", function AsyncDropdownComponent_input_7_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.enablePopUpOnTab()); });
75
+ i0.ɵɵelementEnd();
76
+ } if (rf & 2) {
77
+ const ctx_r2 = i0.ɵɵnextContext();
78
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c10, ctx_r2.size === "md", ctx_r2.size === "sm"))("placeholder", ctx_r2.placeholder)("formControl", ctx_r2.searchInput);
79
+ } }
80
+ function AsyncDropdownComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
81
+ const _r5 = i0.ɵɵgetCurrentView();
82
+ i0.ɵɵelementStart(0, "input", 22, 4);
83
+ i0.ɵɵlistener("focus", function AsyncDropdownComponent_ng_template_8_Template_input_focus_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.defaultCall()); })("keyup.enter", function AsyncDropdownComponent_ng_template_8_Template_input_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.enablePopUpOnTab()); });
84
+ i0.ɵɵelementEnd();
85
+ } if (rf & 2) {
86
+ const ctx_r2 = i0.ɵɵnextContext();
87
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(3, _c10, ctx_r2.size === "md", ctx_r2.size === "sm"))("placeholder", ctx_r2.placeholder)("formControl", ctx_r2.searchInput);
88
+ } }
89
+ function AsyncDropdownComponent_div_10_Template(rf, ctx) { if (rf & 1) {
90
+ const _r6 = i0.ɵɵgetCurrentView();
91
+ i0.ɵɵelementStart(0, "div", 23);
92
+ i0.ɵɵlistener("click", function AsyncDropdownComponent_div_10_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.removeInputValue()); })("keyup.enter", function AsyncDropdownComponent_div_10_Template_div_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.removeInputValue()); });
93
+ i0.ɵɵelementEnd();
94
+ } }
95
+ function AsyncDropdownComponent_ng_template_11_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
96
+ i0.ɵɵelementContainer(0, 27);
97
+ } if (rf & 2) {
98
+ const ctx_r2 = i0.ɵɵnextContext(3);
99
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.customLoader);
100
+ } }
101
+ function AsyncDropdownComponent_ng_template_11_ng_container_1_ng_template_2_div_0_Template(rf, ctx) { if (rf & 1) {
102
+ i0.ɵɵelementStart(0, "div", 29);
103
+ i0.ɵɵelement(1, "mis-loader", 30);
104
+ i0.ɵɵelementEnd();
105
+ } if (rf & 2) {
106
+ i0.ɵɵadvance();
107
+ i0.ɵɵproperty("mobileView", true);
108
+ } }
109
+ function AsyncDropdownComponent_ng_template_11_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
110
+ i0.ɵɵtemplate(0, AsyncDropdownComponent_ng_template_11_ng_container_1_ng_template_2_div_0_Template, 2, 1, "div", 28);
111
+ } if (rf & 2) {
112
+ const ctx_r2 = i0.ɵɵnextContext(3);
113
+ i0.ɵɵproperty("ngIf", ctx_r2.loading && !ctx_r2.customLoader);
114
+ } }
115
+ function AsyncDropdownComponent_ng_template_11_ng_container_1_Template(rf, ctx) { if (rf & 1) {
116
+ i0.ɵɵelementContainerStart(0);
117
+ i0.ɵɵtemplate(1, AsyncDropdownComponent_ng_template_11_ng_container_1_ng_container_1_Template, 1, 1, "ng-container", 26)(2, AsyncDropdownComponent_ng_template_11_ng_container_1_ng_template_2_Template, 1, 1, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
118
+ i0.ɵɵelementContainerEnd();
119
+ } if (rf & 2) {
120
+ const defaultLoader_r7 = i0.ɵɵreference(3);
121
+ const ctx_r2 = i0.ɵɵnextContext(2);
122
+ i0.ɵɵadvance();
123
+ i0.ɵɵproperty("ngIf", ctx_r2.customLoader)("ngIfElse", defaultLoader_r7);
124
+ } }
125
+ function AsyncDropdownComponent_ng_template_11_ng_container_2_Template(rf, ctx) { if (rf & 1) {
126
+ i0.ɵɵelementContainerStart(0);
127
+ i0.ɵɵelementStart(1, "div", 29)(2, "p");
128
+ i0.ɵɵtext(3, "Unknown error has occurred, ");
129
+ i0.ɵɵelement(4, "br");
130
+ i0.ɵɵtext(5, " Please try again later.");
131
+ i0.ɵɵelementEnd()();
132
+ i0.ɵɵelementContainerEnd();
133
+ } }
134
+ function AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_div_3_Template(rf, ctx) { if (rf & 1) {
135
+ i0.ɵɵelementStart(0, "div", 35);
136
+ i0.ɵɵelementContainer(1, 36);
137
+ i0.ɵɵelementEnd();
138
+ } if (rf & 2) {
139
+ const item_r9 = i0.ɵɵnextContext().$implicit;
140
+ const ctx_r2 = i0.ɵɵnextContext(3);
141
+ i0.ɵɵproperty("tabindex", ctx_r2.openPopUpOnTab ? 0 : -1);
142
+ i0.ɵɵadvance();
143
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.customItem)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c13, item_r9));
144
+ } }
145
+ function AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_ng_template_4_Template(rf, ctx) { if (rf & 1) {
146
+ const _r10 = i0.ɵɵgetCurrentView();
147
+ i0.ɵɵelement(0, "div", 33);
148
+ i0.ɵɵelementStart(1, "div", 37);
149
+ i0.ɵɵlistener("click", function AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_ng_template_4_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r10); const item_r9 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.selectData(item_r9, false)); })("keyup.enter", function AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_ng_template_4_Template_div_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r10); const item_r9 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.selectData(item_r9, false)); });
150
+ i0.ɵɵelementStart(2, "div", 38)(3, "div", 39);
151
+ i0.ɵɵtext(4);
152
+ i0.ɵɵelementEnd();
153
+ i0.ɵɵelementStart(5, "div", 40);
154
+ i0.ɵɵtext(6);
155
+ i0.ɵɵelementEnd()()();
156
+ } if (rf & 2) {
157
+ const item_r9 = i0.ɵɵnextContext().$implicit;
158
+ const ctx_r2 = i0.ɵɵnextContext(3);
159
+ i0.ɵɵadvance();
160
+ i0.ɵɵproperty("tabindex", ctx_r2.openPopUpOnTab ? 0 : -1);
161
+ i0.ɵɵadvance(3);
162
+ i0.ɵɵtextInterpolate1(" ", item_r9[ctx_r2.displayKey], " ");
163
+ i0.ɵɵadvance(2);
164
+ i0.ɵɵtextInterpolate1(" ", item_r9[ctx_r2.secondaryDisplayKey], " ");
165
+ } }
166
+ function AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
167
+ const _r8 = i0.ɵɵgetCurrentView();
168
+ i0.ɵɵelementContainerStart(0);
169
+ i0.ɵɵelementStart(1, "div", 32);
170
+ i0.ɵɵlistener("click", function AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_Template_div_click_1_listener() { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.selectData(item_r9, false)); })("keyup.enter", function AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_Template_div_keyup_enter_1_listener() { const item_r9 = i0.ɵɵrestoreView(_r8).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.selectData(item_r9, false)); });
171
+ i0.ɵɵelement(2, "div", 33);
172
+ i0.ɵɵtemplate(3, AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_div_3_Template, 2, 5, "div", 34)(4, AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_ng_template_4_Template, 7, 3, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
173
+ i0.ɵɵelementEnd();
174
+ i0.ɵɵelementContainerEnd();
175
+ } if (rf & 2) {
176
+ const standardItem_r11 = i0.ɵɵreference(5);
177
+ const ctx_r2 = i0.ɵɵnextContext(3);
178
+ i0.ɵɵadvance(3);
179
+ i0.ɵɵproperty("ngIf", ctx_r2.customItem)("ngIfElse", standardItem_r11);
180
+ } }
181
+ function AsyncDropdownComponent_ng_template_11_div_3_Template(rf, ctx) { if (rf & 1) {
182
+ i0.ɵɵelementStart(0, "div");
183
+ i0.ɵɵtemplate(1, AsyncDropdownComponent_ng_template_11_div_3_ng_container_1_Template, 6, 2, "ng-container", 31);
184
+ i0.ɵɵelementEnd();
185
+ } if (rf & 2) {
186
+ const ctx_r2 = i0.ɵɵnextContext(2);
187
+ i0.ɵɵadvance();
188
+ i0.ɵɵproperty("ngForOf", ctx_r2.data);
189
+ } }
190
+ function AsyncDropdownComponent_ng_template_11_div_4_Template(rf, ctx) { if (rf & 1) {
191
+ i0.ɵɵelementStart(0, "div")(1, "div", 41);
192
+ i0.ɵɵtext(2, "No Data Available");
193
+ i0.ɵɵelementEnd()();
194
+ } }
195
+ function AsyncDropdownComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
196
+ i0.ɵɵelementStart(0, "div", 24);
197
+ i0.ɵɵtemplate(1, AsyncDropdownComponent_ng_template_11_ng_container_1_Template, 4, 2, "ng-container", 25)(2, AsyncDropdownComponent_ng_template_11_ng_container_2_Template, 6, 0, "ng-container", 25)(3, AsyncDropdownComponent_ng_template_11_div_3_Template, 2, 1, "div", 25)(4, AsyncDropdownComponent_ng_template_11_div_4_Template, 3, 0, "div", 25);
198
+ i0.ɵɵelementEnd();
199
+ } if (rf & 2) {
200
+ const ctx_r2 = i0.ɵɵnextContext();
201
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(7, _c11, ctx_r2.height, ctx_r2.dropdownListWidth))("ngClass", i0.ɵɵpureFunction1(10, _c12, ctx_r2.data.length === 0))("cdkTrapFocusAutoCapture", ctx_r2.openPopUpOnTab);
202
+ i0.ɵɵadvance();
203
+ i0.ɵɵproperty("ngIf", ctx_r2.loading);
204
+ i0.ɵɵadvance();
205
+ i0.ɵɵproperty("ngIf", ctx_r2.error);
206
+ i0.ɵɵadvance();
207
+ i0.ɵɵproperty("ngIf", !ctx_r2.loading && !ctx_r2.error && ctx_r2.data.length > 0);
208
+ i0.ɵɵadvance();
209
+ i0.ɵɵproperty("ngIf", !ctx_r2.loading && !ctx_r2.error && ctx_r2.data.length === 0 && ctx_r2.searchInput.value);
210
+ } }
211
+ class AsyncDropdownComponent {
212
+ constructor(overlay, viewContainerRef, _ngZone) {
213
+ this.overlay = overlay;
214
+ this.viewContainerRef = viewContainerRef;
215
+ this._ngZone = _ngZone;
216
+ this.size = 'md';
217
+ this.placeholder = "Select"; // placeholder for input
218
+ this.debounceTime = 400; // wait time till which API call is paused
219
+ this.minInputLength = 2; // min length after which API call is made
220
+ this.multi = false; // maintain a list or emit value
221
+ this.disableCopyPaste = false;
222
+ this.dropdownListPosition = "Left"; //dropdown position
223
+ this.customPlaceholderIcon = ""; // custom icon for placeholder instead of default search icon
224
+ // tslint:disable-next-line
225
+ this.onSelect = new EventEmitter(true); // emit selected values
226
+ this.searchInput = new UntypedFormControl();
227
+ this.data = [];
228
+ this.opened = false;
229
+ this.loading = false;
230
+ this.error = false;
231
+ this.openPopUpOnTab = false;
232
+ // tslint:disable-next-line
233
+ this.selections = new Map();
234
+ this.httpStreamTrigger = new Subject();
235
+ this.searchQueryChange = new EventEmitter();
236
+ this.clear = new EventEmitter(false);
237
+ this.itemSelected = new EventEmitter();
238
+ this.itemRemoved = new EventEmitter();
239
+ this.handleControlChanges = (values) => {
240
+ values.forEach(el => {
241
+ this.selectData(el, true);
242
+ });
243
+ // tslint:disable-next-line
244
+ };
245
+ }
246
+ ngOnInit() {
247
+ if (this.multi && !this.uniqueKey) {
248
+ throw new Error("[uniqueKey] required in multi mode.");
249
+ }
250
+ if (this.disabled) {
251
+ this.searchInput.disable();
252
+ }
253
+ const searchObservable = this.searchInput.valueChanges.pipe(tap((val) => this.searchQueryChange.emit(val)), debounceTime(this.debounceTime), distinctUntilChanged());
254
+ this.searchSubscription = merge(searchObservable, this.httpStreamTrigger)
255
+ .subscribe(res => {
256
+ this._ngZone.run(() => {
257
+ res = res?.trim() ?? '';
258
+ if (res?.length < this.minInputLength || !res?.length) {
259
+ this.closeDropdown();
260
+ return;
261
+ }
262
+ else if (res?.length > this.minInputLength && this.httpStream) {
263
+ this.loading = true;
264
+ this.error = false;
265
+ if (!this.overlayRef?.hasAttached())
266
+ this.openDropdown(this.dd, this.origin.nativeElement);
267
+ this.httpStream(res).subscribe(list => {
268
+ this.loading = false;
269
+ this.data = list;
270
+ if (!this.overlayRef?.hasAttached() && list.length > 0) {
271
+ this.openDropdown(this.dd, this.origin.nativeElement);
272
+ }
273
+ }, error => {
274
+ this.loading = false;
275
+ this.error = true;
276
+ });
277
+ }
278
+ });
279
+ });
280
+ if (this.control?.value) {
281
+ this.handleControlChanges(this.control.value);
282
+ }
283
+ this.controlSubscription = this.control?.valueChanges.subscribe(this.handleControlChanges);
284
+ }
285
+ refreshHttpStream(query) {
286
+ this.loading = true;
287
+ this.httpStreamTrigger.next(query);
288
+ }
289
+ ngOnChanges(changes) {
290
+ if (changes && changes?.searchValue?.currentValue) {
291
+ this.searchInput.patchValue(changes.searchValue.currentValue);
292
+ }
293
+ if (changes && changes.disabled) {
294
+ this.searchInput.enable();
295
+ if (this.disabled) {
296
+ this.searchInput.disable();
297
+ }
298
+ }
299
+ }
300
+ ngOnDestroy() {
301
+ this.searchSubscription?.unsubscribe();
302
+ this.defaultCallSubscription?.unsubscribe();
303
+ }
304
+ openDropdown(template, origin) {
305
+ const positionsBottom = [
306
+ new ConnectionPositionPair({ originX: "start", originY: "bottom" }, { overlayX: "start", overlayY: "top" }, 0, 4),
307
+ new ConnectionPositionPair({ originX: "end", originY: "bottom" }, { overlayX: "end", overlayY: "top" }, 0, 4)
308
+ ];
309
+ const positionsTop = [
310
+ new ConnectionPositionPair({ originX: "start", originY: "top" }, { overlayX: "start", overlayY: "bottom" }, 0, -4),
311
+ new ConnectionPositionPair({ originX: "end", originY: "top" }, { overlayX: "end", overlayY: "bottom" }, 0, -4)
312
+ ];
313
+ const positionStrategy = this.overlay
314
+ .position()
315
+ .flexibleConnectedTo(origin)
316
+ .withPositions([
317
+ ...(this.dropdownListPosition === "Right" ? positionsBottom.reverse() : positionsBottom),
318
+ ...(this.dropdownListPosition === "Right" ? positionsTop.reverse() : positionsTop)
319
+ ])
320
+ .withPush(true);
321
+ const configs = new OverlayConfig({
322
+ hasBackdrop: true,
323
+ backdropClass: "cdk-overlay-transparent-backdrop",
324
+ scrollStrategy: this.overlay.scrollStrategies.reposition(),
325
+ positionStrategy,
326
+ width: origin.clientWidth
327
+ });
328
+ this.overlayRef = this.overlay.create(configs);
329
+ if (this.dropdownListWidth)
330
+ this.overlayRef.updateSize({ width: this.dropdownListWidth });
331
+ this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));
332
+ this.overlayRef.backdropClick().subscribe(res => {
333
+ this.closeDropdown();
334
+ });
335
+ }
336
+ /**
337
+ * closes the dropdown
338
+ */
339
+ closeDropdown() {
340
+ this.opened = false;
341
+ this.openPopUpOnTab = false;
342
+ this.overlayRef?.detach();
343
+ this.data = [];
344
+ }
345
+ enablePopUpOnTab() {
346
+ this.openPopUpOnTab = true;
347
+ }
348
+ handleKeyDown(event) {
349
+ if (event.key === 'Escape') {
350
+ this.searchInput.patchValue("");
351
+ this.closeDropdown();
352
+ }
353
+ }
354
+ /**
355
+ *
356
+ * @param item item to select
357
+ * if item property disabled is set to true, selection will be disabled
358
+ * @param effectedFromOutside set to true if calling from parent component, if true will focus on search input
359
+ */
360
+ selectData(item, effectedFromOutside = true) {
361
+ if (item.disabled) {
362
+ return;
363
+ }
364
+ this.itemSelected.emit(item);
365
+ if (!this.multi) {
366
+ this.searchInput.patchValue(item[this.displayKey], { emitEvent: false });
367
+ this.setControlValue(item);
368
+ }
369
+ else {
370
+ if (!this.selections.has(item[this.uniqueKey])) {
371
+ this.selections.set(item[this.uniqueKey], item);
372
+ }
373
+ this.setControlValue(this.selectedItems);
374
+ if (!effectedFromOutside) {
375
+ setTimeout(() => {
376
+ this.input.nativeElement.focus();
377
+ this.input.nativeElement.scrollIntoView();
378
+ }, 10);
379
+ }
380
+ this.searchInput.patchValue("");
381
+ this.data = [];
382
+ }
383
+ this.closeDropdown();
384
+ }
385
+ /**
386
+ *
387
+ * @param item remove item from selected list
388
+ */
389
+ removeItem(item) {
390
+ this.itemRemoved.emit(item);
391
+ this.selections.delete(item[this.uniqueKey]);
392
+ this.setControlValue(this.selectedItems);
393
+ // tslint:disable-next-line
394
+ this.input["nativeElement"].focus();
395
+ }
396
+ setControlValue(value) {
397
+ this.onSelect.emit(value);
398
+ this.control?.patchValue(value, { emitEvent: false });
399
+ }
400
+ /**
401
+ * @returns list of selected items
402
+ */
403
+ get selectedItems() {
404
+ return Array.from(this.selections.values());
405
+ }
406
+ removeInputValue() {
407
+ this.searchInput.reset();
408
+ this.data = [];
409
+ this.clear.emit(true);
410
+ }
411
+ defaultCall() {
412
+ if (this.minInputLength === -1) {
413
+ this.loading = true;
414
+ this.defaultCallSubscription = this.httpStream(this.searchInput.value || '').subscribe(list => {
415
+ this.loading = false;
416
+ this.data = list;
417
+ if (!this.overlayRef?.hasAttached() && this.data?.length > 0) {
418
+ this.openDropdown(this.dd, this.origin.nativeElement);
419
+ }
420
+ }, error => {
421
+ this.loading = false;
422
+ this.error = true;
423
+ });
424
+ }
425
+ }
426
+ static { this.ɵfac = function AsyncDropdownComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AsyncDropdownComponent)(i0.ɵɵdirectiveInject(i1.Overlay), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
427
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AsyncDropdownComponent, selectors: [["mis-async-search-dropdown"]], contentQueries: function AsyncDropdownComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
428
+ i0.ɵɵcontentQuery(dirIndex, _c0, 5);
429
+ i0.ɵɵcontentQuery(dirIndex, _c1, 5);
430
+ } if (rf & 2) {
431
+ let _t;
432
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customItem = _t.first);
433
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customLoader = _t.first);
434
+ } }, viewQuery: function AsyncDropdownComponent_Query(rf, ctx) { if (rf & 1) {
435
+ i0.ɵɵviewQuery(_c2, 5);
436
+ i0.ɵɵviewQuery(_c3, 5);
437
+ i0.ɵɵviewQuery(_c4, 5);
438
+ } if (rf & 2) {
439
+ let _t;
440
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.origin = _t.first);
441
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.input = _t.first);
442
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dd = _t.first);
443
+ } }, hostBindings: function AsyncDropdownComponent_HostBindings(rf, ctx) { if (rf & 1) {
444
+ i0.ɵɵlistener("keydown", function AsyncDropdownComponent_keydown_HostBindingHandler($event) { return ctx.handleKeyDown($event); }, false, i0.ɵɵresolveDocument);
445
+ } }, inputs: { height: "height", width: "width", size: "size", httpStream: "httpStream", displayKey: "displayKey", secondaryDisplayKey: "secondaryDisplayKey", placeholder: "placeholder", debounceTime: "debounceTime", minInputLength: "minInputLength", multi: "multi", uniqueKey: "uniqueKey", control: "control", disabled: "disabled", readonly: "readonly", disableCopyPaste: "disableCopyPaste", dropdownListWidth: "dropdownListWidth", dropdownListPosition: "dropdownListPosition", customPlaceholderIcon: "customPlaceholderIcon", selections: "selections", searchValue: "searchValue" }, outputs: { onSelect: "onSelect", searchQueryChange: "searchQueryChange", clear: "clear", itemSelected: "itemSelected", itemRemoved: "itemRemoved" }, features: [i0.ɵɵNgOnChangesFeature], decls: 13, vars: 13, consts: [["ddBtn", ""], ["defaultSearchIcon", ""], ["enableCopyPaste", ""], ["dd", ""], ["input", ""], ["defaultLoader", ""], ["standardItem", ""], [1, "dd-wrapper", 3, "ngClass"], ["class", "selected-list", 4, "ngIf"], [1, "search-input"], ["class", "custom-icon", 4, "ngIf", "ngIfElse"], ["oncopy", "return false;", "onpaste", "return false", "oncut", "return false", "tabindex", "0", "type", "text", "class", "black-text h6", 3, "ngClass", "placeholder", "formControl", "focus", "keyup.enter", 4, "ngIf", "ngIfElse"], ["class", "icon-ic-navigation-cancel-24 croos-icon", "tabindex", "0", 3, "click", "keyup.enter", 4, "ngIf"], [1, "selected-list"], ["class", "chip", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "chip", 3, "ngClass"], [3, "ngClass", "ngStyle"], ["tabindex", "0", 1, "icon-ic-navigation-cancel-24", 2, "cursor", "pointer", 3, "click", "keyup.enter", "ngStyle"], [1, "custom-icon"], ["alt", "customIcon", 3, "src"], [1, "icon-ic-action-search-24"], ["oncopy", "return false;", "onpaste", "return false", "oncut", "return false", "tabindex", "0", "type", "text", 1, "black-text", "h6", 3, "focus", "keyup.enter", "ngClass", "placeholder", "formControl"], ["tabindex", "0", "type", "text", 1, "black-text", "h6", 3, "focus", "keyup.enter", "ngClass", "placeholder", "formControl"], ["tabindex", "0", 1, "icon-ic-navigation-cancel-24", "croos-icon", 3, "click", "keyup.enter"], ["tabindex", "0", "cdkTrapFocus", "", 1, "dd-list", 3, "ngStyle", "ngClass", "cdkTrapFocusAutoCapture"], [4, "ngIf"], [3, "ngTemplateOutlet", 4, "ngIf", "ngIfElse"], [3, "ngTemplateOutlet"], ["class", "status-container", 4, "ngIf"], [1, "status-container"], [3, "mobileView"], [4, "ngFor", "ngForOf"], [3, "click", "keyup.enter"], ["tabindex", "-1", "cdkFocusInitial", ""], [3, "tabindex", 4, "ngIf", "ngIfElse"], [3, "tabindex"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "item", 3, "click", "keyup.enter", "tabindex"], [1, "value"], [1, "primary"], [1, "secondary"], [1, "data-not-found"]], template: function AsyncDropdownComponent_Template(rf, ctx) { if (rf & 1) {
446
+ i0.ɵɵelementStart(0, "div", 7, 0);
447
+ i0.ɵɵtemplate(2, AsyncDropdownComponent_div_2_Template, 2, 1, "div", 8);
448
+ i0.ɵɵelementStart(3, "div", 9);
449
+ i0.ɵɵtemplate(4, AsyncDropdownComponent_div_4_Template, 2, 1, "div", 10)(5, AsyncDropdownComponent_ng_template_5_Template, 1, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(7, AsyncDropdownComponent_input_7_Template, 2, 6, "input", 11)(8, AsyncDropdownComponent_ng_template_8_Template, 2, 6, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(10, AsyncDropdownComponent_div_10_Template, 1, 0, "div", 12);
450
+ i0.ɵɵelementEnd()();
451
+ i0.ɵɵtemplate(11, AsyncDropdownComponent_ng_template_11_Template, 5, 12, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
452
+ } if (rf & 2) {
453
+ const defaultSearchIcon_r12 = i0.ɵɵreference(6);
454
+ const enableCopyPaste_r13 = i0.ɵɵreference(9);
455
+ i0.ɵɵstyleProp("width", ctx.width);
456
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(9, _c5, ctx.opened, ctx.disabled, ctx.readonly));
457
+ i0.ɵɵadvance(2);
458
+ i0.ɵɵproperty("ngIf", ctx.multi && ctx.selections.size > 0);
459
+ i0.ɵɵadvance(2);
460
+ i0.ɵɵproperty("ngIf", ctx.customPlaceholderIcon)("ngIfElse", defaultSearchIcon_r12);
461
+ i0.ɵɵadvance(3);
462
+ i0.ɵɵproperty("ngIf", ctx.disableCopyPaste)("ngIfElse", enableCopyPaste_r13);
463
+ i0.ɵɵadvance(3);
464
+ i0.ɵɵproperty("ngIf", ctx.searchInput == null ? null : ctx.searchInput.value == null ? null : ctx.searchInput.value.length);
465
+ } }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective, i4.LoaderComponent, i5.CdkTrapFocus], styles: [".dd-wrapper[_ngcontent-%COMP%]{background:#fff;border:1px solid #e0e0e0;box-sizing:border-box;border-radius:4px;display:block;cursor:pointer;outline:none}.dd-wrapper.opened[_ngcontent-%COMP%], .dd-wrapper[_ngcontent-%COMP%]:hover{background:#f5f5f5}.dd-wrapper[_ngcontent-%COMP%] .selected-list[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:4px;padding:8px 16px}.dd-wrapper[_ngcontent-%COMP%]:focus-within{border-color:#0937b2;background:#f5f5f5}.dd-wrapper.disabled[_ngcontent-%COMP%], .dd-wrapper.readonly[_ngcontent-%COMP%]{pointer-events:none}.search-input[_ngcontent-%COMP%]{position:relative;border-radius:8px}.search-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{box-sizing:border-box;outline:none;padding-left:40px;padding-right:24px;background-color:transparent;color:#181f33;border-radius:inherit;border:1px solid transparent;width:100%}.search-input[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .search-input[_ngcontent-%COMP%] .custom-icon[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);font-size:24px;line-height:24px;height:24px;left:8px}.search-input[_ngcontent-%COMP%] .croos-icon[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%);font-size:16px;width:24px;line-height:16px;height:16px;right:0}.dd-list[_ngcontent-%COMP%]{padding:8px 0;max-height:200px;background:#fff;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;border-radius:8px;min-width:100%;overflow-y:auto}.dd-list[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;border-radius:4px}.dd-list[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#fff;border-radius:4px}.dd-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#929dab;border-radius:4px}.dd-list[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#929dab}.dd-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding:8px 16px;cursor:pointer}.dd-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{color:#6a737d!important;pointer-events:none}.dd-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.dd-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .value[_ngcontent-%COMP%] .primary[_ngcontent-%COMP%], .dd-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .value[_ngcontent-%COMP%] .secondary[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.dd-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .reason[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#6a737d}.dd-list[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]:hover:not(.disabled){background:#f5f7fc}.dd-list[_ngcontent-%COMP%] .data-not-found[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;font-size:16px;padding:8px}.dd-list-pd[_ngcontent-%COMP%]{padding:unset}.chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;background:#e0e0e0;overflow-wrap:anywhere;cursor:default}.chip[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#181f33}.chip-md[_ngcontent-%COMP%]{border-radius:16px;padding:4px 12px}.chip-sm[_ngcontent-%COMP%]{border-radius:6px;padding:4px 8px;text-transform:uppercase}.ip-md[_ngcontent-%COMP%]{padding-top:8px;padding-bottom:8px}.ip-sm[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:3px}.status-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;height:128px}.status-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:center} #spinner{position:relative!important}"] }); }
466
+ }
467
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AsyncDropdownComponent, [{
468
+ type: Component,
469
+ args: [{ selector: "mis-async-search-dropdown", template: "<div class=\"dd-wrapper\" [ngClass]=\"{ opened: opened, disabled: disabled, readonly: readonly }\" [style.width]=\"width\" #ddBtn>\n <div class=\"selected-list\" *ngIf=\"multi && selections.size > 0\">\n <div class=\"chip\" [ngClass]=\"{'chip-md': size === 'md', 'chip-sm': size === 'sm'}\" *ngFor=\"let item of selectedItems\">\n <span [ngClass]=\"{'h6': size === 'md', 'h8-b': size === 'sm'}\" [ngStyle]=\"{ 'margin-right': '4px'}\">{{item[displayKey]}}</span>\n <span style=\"cursor: pointer;\" (click)=\"removeItem(item)\" tabindex=\"0\" (keyup.enter)=\"removeItem(item)\" [ngStyle]=\"{\n 'cursor': 'pointer',\n 'font-size': size === 'sm' ? '12px' : '14px'\n }\" class=\"icon-ic-navigation-cancel-24\"></span>\n </div>\n </div>\n <div class=\"search-input\">\n <div *ngIf=\"customPlaceholderIcon; else defaultSearchIcon\" class=\"custom-icon\">\n <img [src]=\"customPlaceholderIcon\" alt=\"customIcon\" />\n </div>\n <ng-template #defaultSearchIcon>\n <span class=\"icon-ic-action-search-24\"></span>\n </ng-template>\n <input *ngIf=\"disableCopyPaste; else enableCopyPaste\" [ngClass]=\"{'ip-md': size === 'md', 'ip-sm': size === 'sm'}\" oncopy=\"return false;\" onpaste=\"return false\" oncut=\"return false\" tabindex=\"0\" type=\"text\" class=\"black-text h6\" #input [placeholder]=\"placeholder\" [formControl]=\"searchInput\" (focus)=\"defaultCall()\" (keyup.enter)=\"enablePopUpOnTab()\"/>\n <ng-template #enableCopyPaste>\n <input [ngClass]=\"{'ip-md': size === 'md', 'ip-sm': size === 'sm'}\" tabindex=\"0\" type=\"text\" class=\"black-text h6\" #input [placeholder]=\"placeholder\" [formControl]=\"searchInput\" (focus)=\"defaultCall()\" (keyup.enter)=\"enablePopUpOnTab()\" />\n </ng-template>\n <div class=\"icon-ic-navigation-cancel-24 croos-icon\" *ngIf=\"searchInput?.value?.length\" tabindex=\"0\" (click)=\"removeInputValue()\" (keyup.enter)=\"removeInputValue()\"></div>\n </div>\n</div>\n\n<ng-template #dd>\n <div class=\"dd-list\" [ngStyle]=\"{'max-height':height, 'width': dropdownListWidth}\" [ngClass]=\"{'dd-list-pd':data.length === 0}\" tabindex=\"0\" cdkTrapFocus [cdkTrapFocusAutoCapture]=\"openPopUpOnTab\">\n <ng-container *ngIf=\"loading\">\n <ng-container\n *ngIf=\"customLoader; else defaultLoader\"\n [ngTemplateOutlet]=\"customLoader\"\n ></ng-container>\n <ng-template #defaultLoader>\n <div class=\"status-container\" *ngIf=\"loading && !customLoader\">\n <mis-loader [mobileView]=\"true\"></mis-loader>\n </div>\n </ng-template>\n </ng-container>\n <ng-container *ngIf=\"error\">\n <div class=\"status-container\">\n <p>Unknown error has occurred, <br> Please try again later.</p>\n </div>\n </ng-container>\n <div *ngIf=\"!loading && !error && data.length > 0\">\n <ng-container *ngFor=\"let item of data\">\n <div (click)=\"selectData(item, false)\" (keyup.enter)=\"selectData(item, false)\"> \n <div tabindex=\"-1\" cdkFocusInitial></div> \n <div\n [tabindex]=\"openPopUpOnTab ? 0 : -1\"\n *ngIf=\"customItem; else standardItem\"\n >\n <ng-container\n [ngTemplateOutlet]=\"customItem\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"\n ></ng-container>\n </div>\n <ng-template #standardItem>\n <div tabindex=\"-1\" cdkFocusInitial></div> \n <div class=\"item\" (click)=\"selectData(item, false)\" [tabindex]=\"openPopUpOnTab ? 0 : -1\" (keyup.enter)=\"selectData(item, false)\">\n <div class=\"value\">\n <div class=\"primary\">\n {{ item[displayKey] }}\n </div>\n <div class=\"secondary\">\n {{ item[secondaryDisplayKey] }}\n </div>\n </div>\n </div>\n </ng-template>\n </div>\n </ng-container>\n </div>\n <div *ngIf=\"!loading && !error && data.length === 0 && searchInput.value\">\n <div class=\"data-not-found\">No Data Available</div>\n </div>\n </div>\n</ng-template>\n", styles: [".dd-wrapper{background:#fff;border:1px solid #e0e0e0;box-sizing:border-box;border-radius:4px;display:block;cursor:pointer;outline:none}.dd-wrapper.opened,.dd-wrapper:hover{background:#f5f5f5}.dd-wrapper .selected-list{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:4px;padding:8px 16px}.dd-wrapper:focus-within{border-color:#0937b2;background:#f5f5f5}.dd-wrapper.disabled,.dd-wrapper.readonly{pointer-events:none}.search-input{position:relative;border-radius:8px}.search-input input{box-sizing:border-box;outline:none;padding-left:40px;padding-right:24px;background-color:transparent;color:#181f33;border-radius:inherit;border:1px solid transparent;width:100%}.search-input span,.search-input .custom-icon{position:absolute;top:50%;transform:translateY(-50%);font-size:24px;line-height:24px;height:24px;left:8px}.search-input .croos-icon{position:absolute;top:50%;transform:translateY(-50%);font-size:16px;width:24px;line-height:16px;height:16px;right:0}.dd-list{padding:8px 0;max-height:200px;background:#fff;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;border-radius:8px;min-width:100%;overflow-y:auto}.dd-list::-webkit-scrollbar{width:8px;border-radius:4px}.dd-list::-webkit-scrollbar-track{background:#fff;border-radius:4px}.dd-list::-webkit-scrollbar-thumb{background:#929dab;border-radius:4px}.dd-list::-webkit-scrollbar-thumb:hover{background:#929dab}.dd-list .item{padding:8px 16px;cursor:pointer}.dd-list .item .disabled{color:#6a737d!important;pointer-events:none}.dd-list .item .value{display:flex;justify-content:space-between;align-items:center}.dd-list .item .value .primary,.dd-list .item .value .secondary{font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.dd-list .item .reason{font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#6a737d}.dd-list .item:hover:not(.disabled){background:#f5f7fc}.dd-list .data-not-found{display:flex;justify-content:center;align-items:center;font-size:16px;padding:8px}.dd-list-pd{padding:unset}.chip{display:inline-flex;align-items:center;background:#e0e0e0;overflow-wrap:anywhere;cursor:default}.chip span{color:#181f33}.chip-md{border-radius:16px;padding:4px 12px}.chip-sm{border-radius:6px;padding:4px 8px;text-transform:uppercase}.ip-md{padding-top:8px;padding-bottom:8px}.ip-sm{padding-top:3px;padding-bottom:3px}.status-container{display:flex;justify-content:center;align-items:center;height:128px}.status-container p{text-align:center}::ng-deep #spinner{position:relative!important}\n"] }]
470
+ }], () => [{ type: i1.Overlay }, { type: i0.ViewContainerRef }, { type: i0.NgZone }], { height: [{
471
+ type: Input
472
+ }], width: [{
473
+ type: Input
474
+ }], size: [{
475
+ type: Input
476
+ }], httpStream: [{
477
+ type: Input
478
+ }], displayKey: [{
479
+ type: Input
480
+ }], secondaryDisplayKey: [{
481
+ type: Input
482
+ }], placeholder: [{
483
+ type: Input
484
+ }], debounceTime: [{
485
+ type: Input
486
+ }], minInputLength: [{
487
+ type: Input
488
+ }], multi: [{
489
+ type: Input
490
+ }], uniqueKey: [{
491
+ type: Input
492
+ }], control: [{
493
+ type: Input
494
+ }], disabled: [{
495
+ type: Input
496
+ }], readonly: [{
497
+ type: Input
498
+ }], disableCopyPaste: [{
499
+ type: Input
500
+ }], dropdownListWidth: [{
501
+ type: Input
502
+ }], dropdownListPosition: [{
503
+ type: Input
504
+ }], customPlaceholderIcon: [{
505
+ type: Input
506
+ }], origin: [{
507
+ type: ViewChild,
508
+ args: ["ddBtn", { static: false }]
509
+ }], input: [{
510
+ type: ViewChild,
511
+ args: ["input", { static: false }]
512
+ }], dd: [{
513
+ type: ViewChild,
514
+ args: ["dd", { static: false }]
515
+ }], customItem: [{
516
+ type: ContentChild,
517
+ args: ["misCustomItem", { static: false }]
518
+ }], customLoader: [{
519
+ type: ContentChild,
520
+ args: ["asyncCustomLoader", { static: false }]
521
+ }], onSelect: [{
522
+ type: Output
523
+ }], selections: [{
524
+ type: Input
525
+ }], searchValue: [{
526
+ type: Input
527
+ }], searchQueryChange: [{
528
+ type: Output
529
+ }], clear: [{
530
+ type: Output
531
+ }], itemSelected: [{
532
+ type: Output
533
+ }], itemRemoved: [{
534
+ type: Output
535
+ }], handleKeyDown: [{
536
+ type: HostListener,
537
+ args: ['document:keydown', ['$event']]
538
+ }] }); })();
539
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AsyncDropdownComponent, { className: "AsyncDropdownComponent" }); })();
540
+
541
+ class AsyncDropdownModule {
542
+ static { this.ɵfac = function AsyncDropdownModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AsyncDropdownModule)(); }; }
543
+ static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AsyncDropdownModule }); }
544
+ static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, OverlayModule, ReactiveFormsModule, FormsModule, LoaderModule, A11yModule] }); }
545
+ }
546
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AsyncDropdownModule, [{
547
+ type: NgModule,
548
+ args: [{
549
+ declarations: [AsyncDropdownComponent],
550
+ imports: [CommonModule, OverlayModule, ReactiveFormsModule, FormsModule, LoaderModule, A11yModule],
551
+ exports: [AsyncDropdownComponent]
552
+ }]
553
+ }], null, null); })();
554
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AsyncDropdownModule, { declarations: [AsyncDropdownComponent], imports: [CommonModule, OverlayModule, ReactiveFormsModule, FormsModule, LoaderModule, A11yModule], exports: [AsyncDropdownComponent] }); })();
555
+
556
+ /**
557
+ * Generated bundle index. Do not edit.
558
+ */
559
+
560
+ export { AsyncDropdownComponent, AsyncDropdownModule };
561
+ //# sourceMappingURL=mis-crystal-design-system-async-search-dropdown.mjs.map