mis-crystal-design-system 18.2.17 → 22.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (573) hide show
  1. package/fesm2022/mis-crystal-design-system-action-list.mjs +739 -408
  2. package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -1
  3. package/fesm2022/mis-crystal-design-system-analytics.mjs +100 -85
  4. package/fesm2022/mis-crystal-design-system-analytics.mjs.map +1 -1
  5. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +1004 -587
  6. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -1
  7. package/fesm2022/mis-crystal-design-system-button.mjs +387 -178
  8. package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -1
  9. package/fesm2022/mis-crystal-design-system-checkbox.mjs +290 -151
  10. package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -1
  11. package/fesm2022/mis-crystal-design-system-chip.mjs +276 -92
  12. package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -1
  13. package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs +1742 -1295
  14. package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -1
  15. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +2810 -2099
  16. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -1
  17. package/fesm2022/mis-crystal-design-system-drawer.mjs +238 -171
  18. package/fesm2022/mis-crystal-design-system-drawer.mjs.map +1 -1
  19. package/fesm2022/mis-crystal-design-system-dropdown.mjs +1210 -572
  20. package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -1
  21. package/fesm2022/mis-crystal-design-system-dynamic-form.mjs +1515 -1193
  22. package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
  23. package/fesm2022/mis-crystal-design-system-dynamic-theme.mjs +235 -310
  24. package/fesm2022/mis-crystal-design-system-dynamic-theme.mjs.map +1 -1
  25. package/fesm2022/mis-crystal-design-system-fab.mjs +312 -164
  26. package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -1
  27. package/fesm2022/mis-crystal-design-system-filter.mjs +893 -625
  28. package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -1
  29. package/fesm2022/mis-crystal-design-system-input-stepper.mjs +202 -104
  30. package/fesm2022/mis-crystal-design-system-input-stepper.mjs.map +1 -1
  31. package/fesm2022/mis-crystal-design-system-input.mjs +312 -166
  32. package/fesm2022/mis-crystal-design-system-input.mjs.map +1 -1
  33. package/fesm2022/mis-crystal-design-system-loader.mjs +154 -53
  34. package/fesm2022/mis-crystal-design-system-loader.mjs.map +1 -1
  35. package/fesm2022/mis-crystal-design-system-menu.mjs +216 -123
  36. package/fesm2022/mis-crystal-design-system-menu.mjs.map +1 -1
  37. package/fesm2022/mis-crystal-design-system-mis-slider.mjs +645 -348
  38. package/fesm2022/mis-crystal-design-system-mis-slider.mjs.map +1 -1
  39. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +472 -215
  40. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -1
  41. package/fesm2022/mis-crystal-design-system-modal.mjs +241 -172
  42. package/fesm2022/mis-crystal-design-system-modal.mjs.map +1 -1
  43. package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs +938 -501
  44. package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -1
  45. package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs +903 -501
  46. package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -1
  47. package/fesm2022/mis-crystal-design-system-phone-input.mjs +312 -82
  48. package/fesm2022/mis-crystal-design-system-phone-input.mjs.map +1 -1
  49. package/fesm2022/mis-crystal-design-system-radio-button.mjs +177 -70
  50. package/fesm2022/mis-crystal-design-system-radio-button.mjs.map +1 -1
  51. package/fesm2022/mis-crystal-design-system-ske-loader.mjs +168 -61
  52. package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -1
  53. package/fesm2022/mis-crystal-design-system-slider.mjs +139 -62
  54. package/fesm2022/mis-crystal-design-system-slider.mjs.map +1 -1
  55. package/fesm2022/mis-crystal-design-system-snackbar.mjs +222 -157
  56. package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -1
  57. package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs +1448 -935
  58. package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -1
  59. package/fesm2022/mis-crystal-design-system-star-rating.mjs +272 -120
  60. package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -1
  61. package/fesm2022/mis-crystal-design-system-styles.mjs +0 -4
  62. package/fesm2022/mis-crystal-design-system-switch.mjs +176 -77
  63. package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -1
  64. package/fesm2022/mis-crystal-design-system-table.mjs +3050 -1941
  65. package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -1
  66. package/fesm2022/mis-crystal-design-system-timepicker.mjs +792 -584
  67. package/fesm2022/mis-crystal-design-system-timepicker.mjs.map +1 -1
  68. package/fesm2022/mis-crystal-design-system-timerangepicker.mjs +578 -390
  69. package/fesm2022/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
  70. package/fesm2022/mis-crystal-design-system-toast.mjs +321 -254
  71. package/fesm2022/mis-crystal-design-system-toast.mjs.map +1 -1
  72. package/fesm2022/mis-crystal-design-system-tooltip.mjs +332 -249
  73. package/fesm2022/mis-crystal-design-system-tooltip.mjs.map +1 -1
  74. package/fesm2022/mis-crystal-design-system-utils.mjs +55 -21
  75. package/fesm2022/mis-crystal-design-system-utils.mjs.map +1 -1
  76. package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs +333 -221
  77. package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +1 -1
  78. package/fesm2022/mis-crystal-design-system-widgets.mjs +119 -128
  79. package/fesm2022/mis-crystal-design-system-widgets.mjs.map +1 -1
  80. package/fesm2022/mis-crystal-design-system.mjs +1 -24
  81. package/fesm2022/mis-crystal-design-system.mjs.map +1 -1
  82. package/package.json +55 -136
  83. package/types/mis-crystal-design-system-action-list.d.ts +119 -0
  84. package/types/mis-crystal-design-system-analytics.d.ts +23 -0
  85. package/types/mis-crystal-design-system-async-search-dropdown.d.ts +220 -0
  86. package/types/mis-crystal-design-system-button.d.ts +139 -0
  87. package/types/mis-crystal-design-system-checkbox.d.ts +70 -0
  88. package/types/mis-crystal-design-system-chip.d.ts +56 -0
  89. package/types/mis-crystal-design-system-datepicker_v2.d.ts +259 -0
  90. package/types/mis-crystal-design-system-daterangepicker_v2.d.ts +375 -0
  91. package/types/mis-crystal-design-system-drawer.d.ts +53 -0
  92. package/types/mis-crystal-design-system-dropdown.d.ts +229 -0
  93. package/types/mis-crystal-design-system-dynamic-form.d.ts +172 -0
  94. package/types/mis-crystal-design-system-dynamic-theme.d.ts +179 -0
  95. package/types/mis-crystal-design-system-fab.d.ts +61 -0
  96. package/types/mis-crystal-design-system-filter.d.ts +126 -0
  97. package/types/mis-crystal-design-system-input-stepper.d.ts +53 -0
  98. package/types/mis-crystal-design-system-input.d.ts +74 -0
  99. package/types/mis-crystal-design-system-loader.d.ts +50 -0
  100. package/types/mis-crystal-design-system-menu.d.ts +67 -0
  101. package/types/mis-crystal-design-system-mis-slider.d.ts +170 -0
  102. package/types/mis-crystal-design-system-mobile-filter.d.ts +81 -0
  103. package/types/mis-crystal-design-system-modal.d.ts +53 -0
  104. package/types/mis-crystal-design-system-multi-select-dropdown.d.ts +212 -0
  105. package/types/mis-crystal-design-system-nested-multi-select-dropdown.d.ts +189 -0
  106. package/types/mis-crystal-design-system-phone-input.d.ts +106 -0
  107. package/types/mis-crystal-design-system-radio-button.d.ts +65 -0
  108. package/types/mis-crystal-design-system-ske-loader.d.ts +46 -0
  109. package/types/mis-crystal-design-system-slider.d.ts +40 -0
  110. package/types/mis-crystal-design-system-snackbar.d.ts +43 -0
  111. package/types/mis-crystal-design-system-specificdatepicker.d.ts +250 -0
  112. package/types/mis-crystal-design-system-star-rating.d.ts +81 -0
  113. package/types/mis-crystal-design-system-styles.d.ts +1 -0
  114. package/types/mis-crystal-design-system-switch.d.ts +48 -0
  115. package/types/mis-crystal-design-system-table.d.ts +480 -0
  116. package/types/mis-crystal-design-system-timepicker.d.ts +185 -0
  117. package/types/mis-crystal-design-system-timerangepicker.d.ts +162 -0
  118. package/types/mis-crystal-design-system-toast.d.ts +87 -0
  119. package/types/mis-crystal-design-system-tooltip.d.ts +96 -0
  120. package/{utils/index.d.ts → types/mis-crystal-design-system-utils.d.ts} +5 -5
  121. package/types/mis-crystal-design-system-virtual-scroll.d.ts +60 -0
  122. package/types/mis-crystal-design-system-widgets.d.ts +53 -0
  123. package/{public-api.d.ts → types/mis-crystal-design-system.d.ts} +1 -1
  124. package/action-list/action-list.component.d.ts +0 -58
  125. package/action-list/action-list.module.d.ts +0 -13
  126. package/action-list/index.d.ts +0 -1
  127. package/action-list/public_api.d.ts +0 -2
  128. package/analytics/analytics.module.d.ts +0 -8
  129. package/analytics/analytics.service.d.ts +0 -18
  130. package/analytics/index.d.ts +0 -1
  131. package/analytics/public_api.d.ts +0 -2
  132. package/async-search-dropdown/async-dropdown.component.d.ts +0 -96
  133. package/async-search-dropdown/async-dropdown.module.d.ts +0 -12
  134. package/async-search-dropdown/index.d.ts +0 -1
  135. package/async-search-dropdown/public_api.d.ts +0 -2
  136. package/button/button.component.d.ts +0 -42
  137. package/button/button.directive.d.ts +0 -17
  138. package/button/button.module.d.ts +0 -11
  139. package/button/index.d.ts +0 -1
  140. package/button/public_api.d.ts +0 -3
  141. package/checkbox/checkbox.component.d.ts +0 -26
  142. package/checkbox/checkbox.module.d.ts +0 -11
  143. package/checkbox/index.d.ts +0 -1
  144. package/checkbox/public_api.d.ts +0 -2
  145. package/chip/chip.component.d.ts +0 -13
  146. package/chip/chip.module.d.ts +0 -10
  147. package/chip/index.d.ts +0 -1
  148. package/chip/public_api.d.ts +0 -2
  149. package/datepicker_v2/datepicker-constants.d.ts +0 -10
  150. package/datepicker_v2/datepicker.module.d.ts +0 -15
  151. package/datepicker_v2/index.d.ts +0 -1
  152. package/datepicker_v2/models/dp-config.model.d.ts +0 -38
  153. package/datepicker_v2/public_api.d.ts +0 -4
  154. package/datepicker_v2/tz-datepicker.directive.d.ts +0 -37
  155. package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +0 -99
  156. package/datepicker_v2/utils/index.d.ts +0 -2
  157. package/daterangepicker_v2/daterangepicker-constants.d.ts +0 -36
  158. package/daterangepicker_v2/daterangepicker.module.d.ts +0 -15
  159. package/daterangepicker_v2/index.d.ts +0 -1
  160. package/daterangepicker_v2/models/drp-config.model.d.ts +0 -64
  161. package/daterangepicker_v2/public_api.d.ts +0 -7
  162. package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +0 -34
  163. package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +0 -157
  164. package/daterangepicker_v2/tz-drp-mobile-container/tz-drp-mobile-container.component.d.ts +0 -13
  165. package/daterangepicker_v2/utils/index.d.ts +0 -2
  166. package/drawer/drawer-body/drawer-body.component.d.ts +0 -14
  167. package/drawer/drawer-constants.d.ts +0 -3
  168. package/drawer/drawer-ref.d.ts +0 -13
  169. package/drawer/drawer.module.d.ts +0 -13
  170. package/drawer/drawer.service.d.ts +0 -21
  171. package/drawer/index.d.ts +0 -1
  172. package/drawer/public_api.d.ts +0 -4
  173. package/dropdown/calculate-container-height.directive.d.ts +0 -11
  174. package/dropdown/dropdown.component.d.ts +0 -77
  175. package/dropdown/dropdown.module.d.ts +0 -16
  176. package/dropdown/index.d.ts +0 -1
  177. package/dropdown/public_api.d.ts +0 -2
  178. package/dynamic-form/dynamic-form.component.d.ts +0 -85
  179. package/dynamic-form/dynamic-form.module.d.ts +0 -17
  180. package/dynamic-form/dynamic-form.namespace.d.ts +0 -33
  181. package/dynamic-form/index.d.ts +0 -1
  182. package/dynamic-form/public_api.d.ts +0 -2
  183. package/dynamic-theme/branding.types.d.ts +0 -84
  184. package/dynamic-theme/dynamic-theme.module.d.ts +0 -9
  185. package/dynamic-theme/dynamic-theme.service.d.ts +0 -89
  186. package/dynamic-theme/index.d.ts +0 -1
  187. package/dynamic-theme/public_api.d.ts +0 -3
  188. package/esm2022/action-list/action-list.component.mjs +0 -386
  189. package/esm2022/action-list/action-list.module.mjs +0 -25
  190. package/esm2022/action-list/index.mjs +0 -2
  191. package/esm2022/action-list/mis-crystal-design-system-action-list.mjs +0 -5
  192. package/esm2022/action-list/public_api.mjs +0 -3
  193. package/esm2022/analytics/analytics.module.mjs +0 -18
  194. package/esm2022/analytics/analytics.service.mjs +0 -64
  195. package/esm2022/analytics/index.mjs +0 -2
  196. package/esm2022/analytics/mis-crystal-design-system-analytics.mjs +0 -5
  197. package/esm2022/analytics/public_api.mjs +0 -3
  198. package/esm2022/async-search-dropdown/async-dropdown.component.mjs +0 -571
  199. package/esm2022/async-search-dropdown/async-dropdown.module.mjs +0 -23
  200. package/esm2022/async-search-dropdown/index.mjs +0 -2
  201. package/esm2022/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -5
  202. package/esm2022/async-search-dropdown/public_api.mjs +0 -3
  203. package/esm2022/button/button.component.mjs +0 -101
  204. package/esm2022/button/button.directive.mjs +0 -57
  205. package/esm2022/button/button.module.mjs +0 -23
  206. package/esm2022/button/index.mjs +0 -2
  207. package/esm2022/button/mis-crystal-design-system-button.mjs +0 -5
  208. package/esm2022/button/public_api.mjs +0 -4
  209. package/esm2022/checkbox/checkbox.component.mjs +0 -129
  210. package/esm2022/checkbox/checkbox.module.mjs +0 -23
  211. package/esm2022/checkbox/index.mjs +0 -2
  212. package/esm2022/checkbox/mis-crystal-design-system-checkbox.mjs +0 -5
  213. package/esm2022/checkbox/public_api.mjs +0 -3
  214. package/esm2022/chip/chip.component.mjs +0 -69
  215. package/esm2022/chip/chip.module.mjs +0 -22
  216. package/esm2022/chip/index.mjs +0 -2
  217. package/esm2022/chip/mis-crystal-design-system-chip.mjs +0 -5
  218. package/esm2022/chip/public_api.mjs +0 -3
  219. package/esm2022/datepicker_v2/datepicker-constants.mjs +0 -11
  220. package/esm2022/datepicker_v2/datepicker.module.mjs +0 -27
  221. package/esm2022/datepicker_v2/index.mjs +0 -2
  222. package/esm2022/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -5
  223. package/esm2022/datepicker_v2/models/dp-config.model.mjs +0 -2
  224. package/esm2022/datepicker_v2/public_api.mjs +0 -4
  225. package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +0 -163
  226. package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -1065
  227. package/esm2022/datepicker_v2/utils/index.mjs +0 -46
  228. package/esm2022/daterangepicker_v2/daterangepicker-constants.mjs +0 -39
  229. package/esm2022/daterangepicker_v2/daterangepicker.module.mjs +0 -28
  230. package/esm2022/daterangepicker_v2/index.mjs +0 -2
  231. package/esm2022/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -5
  232. package/esm2022/daterangepicker_v2/models/drp-config.model.mjs +0 -2
  233. package/esm2022/daterangepicker_v2/public_api.mjs +0 -7
  234. package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -150
  235. package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -1616
  236. package/esm2022/daterangepicker_v2/tz-drp-mobile-container/tz-drp-mobile-container.component.mjs +0 -267
  237. package/esm2022/daterangepicker_v2/utils/index.mjs +0 -45
  238. package/esm2022/drawer/drawer-body/drawer-body.component.mjs +0 -60
  239. package/esm2022/drawer/drawer-constants.mjs +0 -4
  240. package/esm2022/drawer/drawer-ref.mjs +0 -28
  241. package/esm2022/drawer/drawer.module.mjs +0 -33
  242. package/esm2022/drawer/drawer.service.mjs +0 -56
  243. package/esm2022/drawer/index.mjs +0 -2
  244. package/esm2022/drawer/mis-crystal-design-system-drawer.mjs +0 -5
  245. package/esm2022/drawer/public_api.mjs +0 -5
  246. package/esm2022/dropdown/calculate-container-height.directive.mjs +0 -44
  247. package/esm2022/dropdown/dropdown.component.mjs +0 -509
  248. package/esm2022/dropdown/dropdown.module.mjs +0 -28
  249. package/esm2022/dropdown/index.mjs +0 -2
  250. package/esm2022/dropdown/mis-crystal-design-system-dropdown.mjs +0 -5
  251. package/esm2022/dropdown/public_api.mjs +0 -3
  252. package/esm2022/dynamic-form/dynamic-form.component.mjs +0 -1148
  253. package/esm2022/dynamic-form/dynamic-form.module.mjs +0 -56
  254. package/esm2022/dynamic-form/dynamic-form.namespace.mjs +0 -2
  255. package/esm2022/dynamic-form/index.mjs +0 -2
  256. package/esm2022/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -5
  257. package/esm2022/dynamic-form/public_api.mjs +0 -3
  258. package/esm2022/dynamic-theme/branding.types.mjs +0 -93
  259. package/esm2022/dynamic-theme/dynamic-theme.module.mjs +0 -25
  260. package/esm2022/dynamic-theme/dynamic-theme.service.mjs +0 -193
  261. package/esm2022/dynamic-theme/index.mjs +0 -2
  262. package/esm2022/dynamic-theme/mis-crystal-design-system-dynamic-theme.mjs +0 -5
  263. package/esm2022/dynamic-theme/public_api.mjs +0 -4
  264. package/esm2022/fab/fab.component.mjs +0 -141
  265. package/esm2022/fab/fab.module.mjs +0 -22
  266. package/esm2022/fab/index.mjs +0 -2
  267. package/esm2022/fab/mis-crystal-design-system-fab.mjs +0 -5
  268. package/esm2022/fab/public_api.mjs +0 -3
  269. package/esm2022/filter/animations/slideFromRight.mjs +0 -12
  270. package/esm2022/filter/filter-panel/filter-panel.component.mjs +0 -522
  271. package/esm2022/filter/filters.module.mjs +0 -66
  272. package/esm2022/filter/has-value.pipe.mjs +0 -31
  273. package/esm2022/filter/index.mjs +0 -2
  274. package/esm2022/filter/mis-crystal-design-system-filter.mjs +0 -5
  275. package/esm2022/filter/public_api.mjs +0 -4
  276. package/esm2022/index.mjs +0 -2
  277. package/esm2022/input/directives/input/input.directive.mjs +0 -46
  278. package/esm2022/input/index.mjs +0 -2
  279. package/esm2022/input/mis-crystal-design-system-input.mjs +0 -5
  280. package/esm2022/input/mis-input.component.mjs +0 -103
  281. package/esm2022/input/mis-input.module.mjs +0 -21
  282. package/esm2022/input/public_api.mjs +0 -4
  283. package/esm2022/input-stepper/index.mjs +0 -2
  284. package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +0 -82
  285. package/esm2022/input-stepper/input-stepper.module.mjs +0 -25
  286. package/esm2022/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -5
  287. package/esm2022/input-stepper/public_api.mjs +0 -3
  288. package/esm2022/loader/index.mjs +0 -2
  289. package/esm2022/loader/loader.component.mjs +0 -28
  290. package/esm2022/loader/loader.module.mjs +0 -22
  291. package/esm2022/loader/mis-crystal-design-system-loader.mjs +0 -5
  292. package/esm2022/loader/public_api.mjs +0 -3
  293. package/esm2022/menu/index.mjs +0 -2
  294. package/esm2022/menu/menu-close.directive.mjs +0 -25
  295. package/esm2022/menu/menu.directive.mjs +0 -77
  296. package/esm2022/menu/menu.module.mjs +0 -23
  297. package/esm2022/menu/mis-crystal-design-system-menu.mjs +0 -5
  298. package/esm2022/menu/public_api.mjs +0 -4
  299. package/esm2022/mis-crystal-design-system.mjs +0 -5
  300. package/esm2022/mis-slider/index.mjs +0 -2
  301. package/esm2022/mis-slider/mis-crystal-design-system-mis-slider.mjs +0 -5
  302. package/esm2022/mis-slider/mis-slider.component.mjs +0 -327
  303. package/esm2022/mis-slider/mis-slider.module.mjs +0 -23
  304. package/esm2022/mis-slider/public_api.mjs +0 -3
  305. package/esm2022/mobile-filter/index.mjs +0 -2
  306. package/esm2022/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -5
  307. package/esm2022/mobile-filter/mobile-filter.component.mjs +0 -193
  308. package/esm2022/mobile-filter/mobile-filter.module.mjs +0 -21
  309. package/esm2022/mobile-filter/public_api.mjs +0 -3
  310. package/esm2022/modal/index.mjs +0 -2
  311. package/esm2022/modal/mis-crystal-design-system-modal.mjs +0 -5
  312. package/esm2022/modal/modal-constants.mjs +0 -4
  313. package/esm2022/modal/modal-ref.mjs +0 -16
  314. package/esm2022/modal/modal.module.mjs +0 -33
  315. package/esm2022/modal/modal.service.mjs +0 -70
  316. package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +0 -58
  317. package/esm2022/modal/public_api.mjs +0 -5
  318. package/esm2022/multi-select-dropdown/index.mjs +0 -2
  319. package/esm2022/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -5
  320. package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -479
  321. package/esm2022/multi-select-dropdown/multi-select-dropdown.module.mjs +0 -26
  322. package/esm2022/multi-select-dropdown/public_api.mjs +0 -3
  323. package/esm2022/nested-multi-select-dropdown/index.mjs +0 -2
  324. package/esm2022/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -5
  325. package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -479
  326. package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +0 -26
  327. package/esm2022/nested-multi-select-dropdown/public_api.mjs +0 -3
  328. package/esm2022/phone-input/index.mjs +0 -2
  329. package/esm2022/phone-input/mis-crystal-design-system-phone-input.mjs +0 -5
  330. package/esm2022/phone-input/phone-input.component.mjs +0 -54
  331. package/esm2022/phone-input/phone-input.module.mjs +0 -27
  332. package/esm2022/phone-input/public_api.mjs +0 -3
  333. package/esm2022/public-api.mjs +0 -21
  334. package/esm2022/radio-button/index.mjs +0 -2
  335. package/esm2022/radio-button/mis-crystal-design-system-radio-button.mjs +0 -5
  336. package/esm2022/radio-button/public_api.mjs +0 -3
  337. package/esm2022/radio-button/radio-button.component.mjs +0 -45
  338. package/esm2022/radio-button/radio-button.module.mjs +0 -23
  339. package/esm2022/ske-loader/index.mjs +0 -2
  340. package/esm2022/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -5
  341. package/esm2022/ske-loader/public_api.mjs +0 -3
  342. package/esm2022/ske-loader/ske-loader.component.mjs +0 -40
  343. package/esm2022/ske-loader/ske-loader.module.mjs +0 -19
  344. package/esm2022/slider/index.mjs +0 -2
  345. package/esm2022/slider/mis-crystal-design-system-slider.mjs +0 -5
  346. package/esm2022/slider/public_api.mjs +0 -3
  347. package/esm2022/slider/slider.component.mjs +0 -36
  348. package/esm2022/slider/slider.module.mjs +0 -23
  349. package/esm2022/snackbar/index.mjs +0 -2
  350. package/esm2022/snackbar/mis-crystal-design-system-snackbar.mjs +0 -5
  351. package/esm2022/snackbar/public_api.mjs +0 -4
  352. package/esm2022/snackbar/snackbar/snackbar.component.mjs +0 -78
  353. package/esm2022/snackbar/snackbar.module.mjs +0 -36
  354. package/esm2022/snackbar/snackbar.service.mjs +0 -48
  355. package/esm2022/specificdatepicker/daterangepicker-constants.mjs +0 -5
  356. package/esm2022/specificdatepicker/index.mjs +0 -2
  357. package/esm2022/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -5
  358. package/esm2022/specificdatepicker/models/sdp-config.model.mjs +0 -2
  359. package/esm2022/specificdatepicker/public_api.mjs +0 -5
  360. package/esm2022/specificdatepicker/specificdatepicker.module.mjs +0 -27
  361. package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -699
  362. package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -179
  363. package/esm2022/specificdatepicker/utils/index.mjs +0 -45
  364. package/esm2022/star-rating/index.mjs +0 -2
  365. package/esm2022/star-rating/mis-crystal-design-system-star-rating.mjs +0 -5
  366. package/esm2022/star-rating/public_api.mjs +0 -3
  367. package/esm2022/star-rating/star-rating.component.mjs +0 -99
  368. package/esm2022/star-rating/star-rating.module.mjs +0 -19
  369. package/esm2022/styles/index.mjs +0 -2
  370. package/esm2022/styles/mis-crystal-design-system-styles.mjs +0 -5
  371. package/esm2022/styles/public_api.mjs +0 -2
  372. package/esm2022/switch/index.mjs +0 -2
  373. package/esm2022/switch/mis-crystal-design-system-switch.mjs +0 -5
  374. package/esm2022/switch/public_api.mjs +0 -3
  375. package/esm2022/switch/switch.component.mjs +0 -52
  376. package/esm2022/switch/switch.module.mjs +0 -23
  377. package/esm2022/table/actions-cell/actions-cell.component.mjs +0 -390
  378. package/esm2022/table/custom-table-cell.directive.mjs +0 -46
  379. package/esm2022/table/filter/filter.component.mjs +0 -195
  380. package/esm2022/table/index.mjs +0 -2
  381. package/esm2022/table/mis-crystal-design-system-table.mjs +0 -5
  382. package/esm2022/table/public_api.mjs +0 -8
  383. package/esm2022/table/sort-icons.directive.mjs +0 -166
  384. package/esm2022/table/sub-table/sub-table.component.mjs +0 -202
  385. package/esm2022/table/table.component.mjs +0 -917
  386. package/esm2022/table/table.module.mjs +0 -64
  387. package/esm2022/timepicker/index.mjs +0 -2
  388. package/esm2022/timepicker/mis-crystal-design-system-timepicker.mjs +0 -5
  389. package/esm2022/timepicker/public_api.mjs +0 -3
  390. package/esm2022/timepicker/time.namespace.mjs +0 -2
  391. package/esm2022/timepicker/timepicker.component.mjs +0 -499
  392. package/esm2022/timepicker/timepicker.directive.mjs +0 -70
  393. package/esm2022/timepicker/timepicker.module.mjs +0 -26
  394. package/esm2022/timerangepicker/index.mjs +0 -2
  395. package/esm2022/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -5
  396. package/esm2022/timerangepicker/public_api.mjs +0 -3
  397. package/esm2022/timerangepicker/timerange.namespace.mjs +0 -2
  398. package/esm2022/timerangepicker/timerangepicker.component.mjs +0 -365
  399. package/esm2022/timerangepicker/timerangepicker.module.mjs +0 -24
  400. package/esm2022/toast/index.mjs +0 -2
  401. package/esm2022/toast/mis-crystal-design-system-toast.mjs +0 -5
  402. package/esm2022/toast/public_api.mjs +0 -7
  403. package/esm2022/toast/toast.component.mjs +0 -107
  404. package/esm2022/toast/toast.constants.mjs +0 -7
  405. package/esm2022/toast/toast.data.service.mjs +0 -36
  406. package/esm2022/toast/toast.interface.mjs +0 -2
  407. package/esm2022/toast/toast.module.mjs +0 -33
  408. package/esm2022/toast/toast.service.mjs +0 -98
  409. package/esm2022/tooltip/index.mjs +0 -2
  410. package/esm2022/tooltip/mis-crystal-design-system-tooltip.mjs +0 -5
  411. package/esm2022/tooltip/models/tooltip.model.mjs +0 -2
  412. package/esm2022/tooltip/public_api.mjs +0 -4
  413. package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +0 -81
  414. package/esm2022/tooltip/tooltip.directive.mjs +0 -150
  415. package/esm2022/tooltip/tooltip.module.mjs +0 -24
  416. package/esm2022/utils/index.mjs +0 -17
  417. package/esm2022/utils/mis-crystal-design-system-utils.mjs +0 -5
  418. package/esm2022/virtual-scroll/index.mjs +0 -2
  419. package/esm2022/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -5
  420. package/esm2022/virtual-scroll/public_api.mjs +0 -4
  421. package/esm2022/virtual-scroll/virtual-scroll.component.mjs +0 -186
  422. package/esm2022/virtual-scroll/virtual-scroll.constants.mjs +0 -2
  423. package/esm2022/virtual-scroll/virtual-scroll.module.mjs +0 -34
  424. package/esm2022/widgets/classes/async-widget.mjs +0 -23
  425. package/esm2022/widgets/classes/base-widget.mjs +0 -32
  426. package/esm2022/widgets/classes/sync-widget.mjs +0 -20
  427. package/esm2022/widgets/classes/widget-group.mjs +0 -32
  428. package/esm2022/widgets/index.mjs +0 -2
  429. package/esm2022/widgets/interfaces/widgets.model.mjs +0 -2
  430. package/esm2022/widgets/mis-crystal-design-system-widgets.mjs +0 -5
  431. package/esm2022/widgets/public_api.mjs +0 -7
  432. package/esm2022/widgets/services/widget.service.mjs +0 -18
  433. package/esm2022/widgets/widgets.module.mjs +0 -18
  434. package/fab/fab.component.d.ts +0 -36
  435. package/fab/fab.module.d.ts +0 -10
  436. package/fab/index.d.ts +0 -1
  437. package/fab/public_api.d.ts +0 -2
  438. package/fesm2022/mis-crystal-design-system-styles.mjs.map +0 -1
  439. package/filter/animations/slideFromRight.d.ts +0 -1
  440. package/filter/filter-panel/filter-panel.component.d.ts +0 -72
  441. package/filter/filters.module.d.ts +0 -18
  442. package/filter/has-value.pipe.d.ts +0 -12
  443. package/filter/index.d.ts +0 -1
  444. package/filter/public_api.d.ts +0 -4
  445. package/index.d.ts +0 -1
  446. package/input/directives/input/input.directive.d.ts +0 -13
  447. package/input/index.d.ts +0 -1
  448. package/input/mis-input.component.d.ts +0 -19
  449. package/input/mis-input.module.d.ts +0 -10
  450. package/input/public_api.d.ts +0 -3
  451. package/input-stepper/index.d.ts +0 -1
  452. package/input-stepper/input-stepper/input-stepper.component.d.ts +0 -21
  453. package/input-stepper/input-stepper.module.d.ts +0 -8
  454. package/input-stepper/public_api.d.ts +0 -2
  455. package/loader/index.d.ts +0 -1
  456. package/loader/loader.component.d.ts +0 -13
  457. package/loader/loader.module.d.ts +0 -10
  458. package/loader/public_api.d.ts +0 -2
  459. package/menu/index.d.ts +0 -1
  460. package/menu/menu-close.directive.d.ts +0 -9
  461. package/menu/menu.directive.d.ts +0 -21
  462. package/menu/menu.module.d.ts +0 -11
  463. package/menu/public_api.d.ts +0 -3
  464. package/mis-slider/index.d.ts +0 -1
  465. package/mis-slider/mis-slider.component.d.ts +0 -64
  466. package/mis-slider/mis-slider.module.d.ts +0 -11
  467. package/mis-slider/public_api.d.ts +0 -2
  468. package/mobile-filter/index.d.ts +0 -1
  469. package/mobile-filter/mobile-filter.component.d.ts +0 -35
  470. package/mobile-filter/mobile-filter.module.d.ts +0 -10
  471. package/mobile-filter/public_api.d.ts +0 -2
  472. package/modal/index.d.ts +0 -1
  473. package/modal/modal-constants.d.ts +0 -3
  474. package/modal/modal-ref.d.ts +0 -9
  475. package/modal/modal.module.d.ts +0 -13
  476. package/modal/modal.service.d.ts +0 -25
  477. package/modal/module-wrapper/module-wrapper.component.d.ts +0 -11
  478. package/modal/public_api.d.ts +0 -4
  479. package/multi-select-dropdown/index.d.ts +0 -1
  480. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +0 -105
  481. package/multi-select-dropdown/multi-select-dropdown.module.d.ts +0 -14
  482. package/multi-select-dropdown/public_api.d.ts +0 -2
  483. package/nested-multi-select-dropdown/index.d.ts +0 -1
  484. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +0 -112
  485. package/nested-multi-select-dropdown/nested-multi-select-dropdown.module.d.ts +0 -14
  486. package/nested-multi-select-dropdown/public_api.d.ts +0 -2
  487. package/phone-input/index.d.ts +0 -1
  488. package/phone-input/phone-input.component.d.ts +0 -24
  489. package/phone-input/phone-input.module.d.ts +0 -14
  490. package/phone-input/public_api.d.ts +0 -2
  491. package/radio-button/index.d.ts +0 -1
  492. package/radio-button/public_api.d.ts +0 -2
  493. package/radio-button/radio-button.component.d.ts +0 -26
  494. package/radio-button/radio-button.module.d.ts +0 -11
  495. package/ske-loader/index.d.ts +0 -1
  496. package/ske-loader/public_api.d.ts +0 -2
  497. package/ske-loader/ske-loader.component.d.ts +0 -11
  498. package/ske-loader/ske-loader.module.d.ts +0 -8
  499. package/slider/index.d.ts +0 -1
  500. package/slider/public_api.d.ts +0 -2
  501. package/slider/slider.component.d.ts +0 -13
  502. package/slider/slider.module.d.ts +0 -8
  503. package/snackbar/index.d.ts +0 -1
  504. package/snackbar/public_api.d.ts +0 -3
  505. package/snackbar/snackbar/snackbar.component.d.ts +0 -11
  506. package/snackbar/snackbar.module.d.ts +0 -11
  507. package/snackbar/snackbar.service.d.ts +0 -22
  508. package/specificdatepicker/daterangepicker-constants.d.ts +0 -4
  509. package/specificdatepicker/index.d.ts +0 -1
  510. package/specificdatepicker/models/sdp-config.model.d.ts +0 -52
  511. package/specificdatepicker/public_api.d.ts +0 -4
  512. package/specificdatepicker/specificdatepicker.module.d.ts +0 -14
  513. package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +0 -63
  514. package/specificdatepicker/tz-specificdatepicker.directive.d.ts +0 -42
  515. package/specificdatepicker/utils/index.d.ts +0 -2
  516. package/star-rating/index.d.ts +0 -1
  517. package/star-rating/public_api.d.ts +0 -2
  518. package/star-rating/star-rating.component.d.ts +0 -29
  519. package/star-rating/star-rating.module.d.ts +0 -8
  520. package/styles/index.d.ts +0 -1
  521. package/styles/public_api.d.ts +0 -1
  522. package/switch/index.d.ts +0 -1
  523. package/switch/public_api.d.ts +0 -2
  524. package/switch/switch.component.d.ts +0 -14
  525. package/switch/switch.module.d.ts +0 -11
  526. package/table/actions-cell/actions-cell.component.d.ts +0 -45
  527. package/table/custom-table-cell.directive.d.ts +0 -16
  528. package/table/filter/filter.component.d.ts +0 -26
  529. package/table/index.d.ts +0 -1
  530. package/table/public_api.d.ts +0 -10
  531. package/table/sort-icons.directive.d.ts +0 -36
  532. package/table/sub-table/sub-table.component.d.ts +0 -46
  533. package/table/table.component.d.ts +0 -176
  534. package/table/table.module.d.ts +0 -20
  535. package/timepicker/index.d.ts +0 -1
  536. package/timepicker/public_api.d.ts +0 -2
  537. package/timepicker/time.namespace.d.ts +0 -5
  538. package/timepicker/timepicker.component.d.ts +0 -56
  539. package/timepicker/timepicker.directive.d.ts +0 -19
  540. package/timepicker/timepicker.module.d.ts +0 -14
  541. package/timerangepicker/index.d.ts +0 -1
  542. package/timerangepicker/public_api.d.ts +0 -3
  543. package/timerangepicker/timerange.namespace.d.ts +0 -13
  544. package/timerangepicker/timerangepicker.component.d.ts +0 -50
  545. package/timerangepicker/timerangepicker.module.d.ts +0 -12
  546. package/toast/index.d.ts +0 -1
  547. package/toast/public_api.d.ts +0 -6
  548. package/toast/toast.component.d.ts +0 -20
  549. package/toast/toast.constants.d.ts +0 -5
  550. package/toast/toast.data.service.d.ts +0 -12
  551. package/toast/toast.interface.d.ts +0 -6
  552. package/toast/toast.module.d.ts +0 -12
  553. package/toast/toast.service.d.ts +0 -39
  554. package/tooltip/index.d.ts +0 -1
  555. package/tooltip/models/tooltip.model.d.ts +0 -1
  556. package/tooltip/public_api.d.ts +0 -4
  557. package/tooltip/tooltip-container/tooltip.component.d.ts +0 -17
  558. package/tooltip/tooltip.directive.d.ts +0 -35
  559. package/tooltip/tooltip.module.d.ts +0 -12
  560. package/virtual-scroll/index.d.ts +0 -1
  561. package/virtual-scroll/public_api.d.ts +0 -3
  562. package/virtual-scroll/virtual-scroll.component.d.ts +0 -27
  563. package/virtual-scroll/virtual-scroll.constants.d.ts +0 -15
  564. package/virtual-scroll/virtual-scroll.module.d.ts +0 -12
  565. package/widgets/classes/async-widget.d.ts +0 -8
  566. package/widgets/classes/base-widget.d.ts +0 -14
  567. package/widgets/classes/sync-widget.d.ts +0 -8
  568. package/widgets/classes/widget-group.d.ts +0 -16
  569. package/widgets/index.d.ts +0 -1
  570. package/widgets/interfaces/widgets.model.d.ts +0 -13
  571. package/widgets/public_api.d.ts +0 -6
  572. package/widgets/services/widget.service.d.ts +0 -9
  573. package/widgets/widgets.module.d.ts +0 -7
@@ -1,414 +1,745 @@
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 { input, output, signal, effect, Component, ViewChild, NgModule } from '@angular/core';
6
- import * as i2 from '@angular/common';
7
- import { CommonModule } from '@angular/common';
8
- import * as i3 from 'mis-crystal-design-system/checkbox';
9
- import { CheckboxModule } from 'mis-crystal-design-system/checkbox';
10
- import { FormsModule } from '@angular/forms';
11
-
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 { ChangeDetectionStrategy, Component, NgModule, ViewChild, effect, input, output, signal } from "@angular/core";
6
+ import * as i2 from "@angular/common";
7
+ import { CommonModule } from "@angular/common";
8
+ import * as i3 from "mis-crystal-design-system/checkbox";
9
+ import { CheckboxModule } from "mis-crystal-design-system/checkbox";
10
+ import { FormsModule } from "@angular/forms";
12
11
  const _c0 = ["select"];
13
12
  const _c1 = ["popupContainer"];
14
13
  const _c2 = ["subPopupContainer"];
15
- const _c3 = (a0, a1) => ({ height: a0, width: a1 });
16
- const _c4 = a0 => ({ background: a0 });
17
- const _c5 = a0 => ({ transform: a0 });
18
- const _c6 = a0 => ({ "item-disabled": a0 });
19
- const _c7 = a0 => ({ width: a0 });
20
- function ActionListComponent_p_6_Template(rf, ctx) { if (rf & 1) {
21
- i0.ɵɵelementStart(0, "p", 12);
22
- i0.ɵɵtext(1);
23
- i0.ɵɵelementEnd();
24
- } if (rf & 2) {
25
- let tmp_5_0;
26
- const ctx_r1 = i0.ɵɵnextContext();
27
- i0.ɵɵadvance();
28
- i0.ɵɵtextInterpolate1("+", ((tmp_5_0 = ctx_r1.selectedItems()) == null ? null : tmp_5_0.length) - 1, "");
29
- } }
30
- function ActionListComponent_ng_template_9_div_2_div_5_Template(rf, ctx) { if (rf & 1) {
31
- i0.ɵɵelementStart(0, "div", 20);
32
- i0.ɵɵelement(1, "img", 21);
33
- i0.ɵɵelementEnd();
34
- } if (rf & 2) {
35
- const item_r4 = i0.ɵɵnextContext().$implicit;
36
- i0.ɵɵadvance();
37
- i0.ɵɵproperty("src", item_r4.icon, i0.ɵɵsanitizeUrl);
38
- } }
39
- function ActionListComponent_ng_template_9_div_2_Template(rf, ctx) { if (rf & 1) {
40
- const _r3 = i0.ɵɵgetCurrentView();
41
- i0.ɵɵelementStart(0, "div", 17, 4);
42
- i0.ɵɵlistener("mouseenter", function ActionListComponent_ng_template_9_div_2_Template_div_mouseenter_0_listener() { const item_r4 = i0.ɵɵrestoreView(_r3).$implicit; const singleItem_r5 = i0.ɵɵreference(1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onHover(item_r4, true, singleItem_r5)); });
43
- i0.ɵɵelementStart(2, "div", 18)(3, "span");
44
- i0.ɵɵtext(4);
45
- i0.ɵɵelementEnd()();
46
- i0.ɵɵtemplate(5, ActionListComponent_ng_template_9_div_2_div_5_Template, 2, 1, "div", 19);
47
- i0.ɵɵelementEnd();
48
- } if (rf & 2) {
49
- const item_r4 = ctx.$implicit;
50
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c6, item_r4 == null ? null : item_r4.disabled));
51
- i0.ɵɵadvance(2);
52
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c7, (item_r4 == null ? null : item_r4.icon) ? "90%" : "100%"));
53
- i0.ɵɵadvance(2);
54
- i0.ɵɵtextInterpolate(item_r4 == null ? null : item_r4.label);
55
- i0.ɵɵadvance();
56
- i0.ɵɵproperty("ngIf", item_r4 == null ? null : item_r4.icon);
57
- } }
58
- function ActionListComponent_ng_template_9_div_3_Template(rf, ctx) { if (rf & 1) {
59
- i0.ɵɵelementStart(0, "div", 22);
60
- i0.ɵɵtext(1);
61
- i0.ɵɵelementEnd();
62
- } if (rf & 2) {
63
- const ctx_r1 = i0.ɵɵnextContext(2);
64
- i0.ɵɵadvance();
65
- i0.ɵɵtextInterpolate1(" ", ctx_r1.noDataMessage() || "No results", " ");
66
- } }
67
- function ActionListComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
68
- i0.ɵɵelementStart(0, "div", 13)(1, "div", 14);
69
- i0.ɵɵtemplate(2, ActionListComponent_ng_template_9_div_2_Template, 6, 8, "div", 15)(3, ActionListComponent_ng_template_9_div_3_Template, 2, 1, "div", 16);
70
- i0.ɵɵelementEnd()();
71
- } if (rf & 2) {
72
- const ctx_r1 = i0.ɵɵnextContext();
73
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(3, _c3, ctx_r1.dropdownListHeight(), ctx_r1.dropdownListWidth()));
74
- i0.ɵɵadvance(2);
75
- i0.ɵɵproperty("ngForOf", ctx_r1.internalData());
76
- i0.ɵɵadvance();
77
- i0.ɵɵproperty("ngIf", ctx_r1.internalData().length === 0);
78
- } }
79
- function ActionListComponent_ng_template_11_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
80
- i0.ɵɵelementStart(0, "div", 26);
81
- i0.ɵɵelement(1, "mis-checkbox", 27);
82
- i0.ɵɵelementEnd();
83
- } if (rf & 2) {
84
- const item_r7 = i0.ɵɵnextContext().$implicit;
85
- i0.ɵɵadvance();
86
- i0.ɵɵproperty("disabled", item_r7.disabled)("checked", item_r7.checked);
87
- } }
88
- function ActionListComponent_ng_template_11_div_2_div_5_img_1_Template(rf, ctx) { if (rf & 1) {
89
- i0.ɵɵelement(0, "img", 21);
90
- } if (rf & 2) {
91
- const item_r7 = i0.ɵɵnextContext(2).$implicit;
92
- i0.ɵɵproperty("src", item_r7.icon, i0.ɵɵsanitizeUrl);
93
- } }
94
- function ActionListComponent_ng_template_11_div_2_div_5_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
95
- i0.ɵɵelementContainer(0);
96
- } }
97
- function ActionListComponent_ng_template_11_div_2_div_5_ng_container_2_Template(rf, ctx) { if (rf & 1) {
98
- i0.ɵɵelementContainerStart(0);
99
- i0.ɵɵtemplate(1, ActionListComponent_ng_template_11_div_2_div_5_ng_container_2_ng_container_1_Template, 1, 0, "ng-container", 30);
100
- i0.ɵɵelementContainerEnd();
101
- } if (rf & 2) {
102
- i0.ɵɵnextContext(4);
103
- const tickIcon_r8 = i0.ɵɵreference(14);
104
- i0.ɵɵadvance();
105
- i0.ɵɵproperty("ngTemplateOutlet", tickIcon_r8);
106
- } }
107
- function ActionListComponent_ng_template_11_div_2_div_5_Template(rf, ctx) { if (rf & 1) {
108
- i0.ɵɵelementStart(0, "div", 20);
109
- i0.ɵɵtemplate(1, ActionListComponent_ng_template_11_div_2_div_5_img_1_Template, 1, 1, "img", 28)(2, ActionListComponent_ng_template_11_div_2_div_5_ng_container_2_Template, 2, 1, "ng-container", 29);
110
- i0.ɵɵelementEnd();
111
- } if (rf & 2) {
112
- const item_r7 = i0.ɵɵnextContext().$implicit;
113
- i0.ɵɵadvance();
114
- i0.ɵɵproperty("ngIf", !item_r7.checked);
115
- i0.ɵɵadvance();
116
- i0.ɵɵproperty("ngIf", item_r7.type === "SINGLE" && item_r7.checked);
117
- } }
118
- function ActionListComponent_ng_template_11_div_2_Template(rf, ctx) { if (rf & 1) {
119
- const _r6 = i0.ɵɵgetCurrentView();
120
- i0.ɵɵelementStart(0, "div", 24);
121
- i0.ɵɵlistener("click", function ActionListComponent_ng_template_11_div_2_Template_div_click_0_listener() { const item_r7 = i0.ɵɵrestoreView(_r6).$implicit; const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(!item_r7.disabled && ctx_r1.selectItem(item_r7)); });
122
- i0.ɵɵtemplate(1, ActionListComponent_ng_template_11_div_2_div_1_Template, 2, 2, "div", 25);
123
- i0.ɵɵelementStart(2, "div", 18)(3, "span");
124
- i0.ɵɵtext(4);
125
- i0.ɵɵelementEnd()();
126
- i0.ɵɵtemplate(5, ActionListComponent_ng_template_11_div_2_div_5_Template, 3, 2, "div", 19);
127
- i0.ɵɵelementEnd();
128
- } if (rf & 2) {
129
- const item_r7 = ctx.$implicit;
130
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c6, item_r7.disabled));
131
- i0.ɵɵadvance();
132
- i0.ɵɵproperty("ngIf", item_r7.type === "MULTIPLE");
133
- i0.ɵɵadvance();
134
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c7, item_r7.icon ? "90%" : "100%"));
135
- i0.ɵɵadvance(2);
136
- i0.ɵɵtextInterpolate(item_r7.label);
137
- i0.ɵɵadvance();
138
- i0.ɵɵproperty("ngIf", item_r7.icon || item_r7.checked);
139
- } }
140
- function ActionListComponent_ng_template_11_div_3_Template(rf, ctx) { if (rf & 1) {
141
- i0.ɵɵelementStart(0, "div", 22);
142
- i0.ɵɵtext(1);
143
- i0.ɵɵelementEnd();
144
- } if (rf & 2) {
145
- const ctx_r1 = i0.ɵɵnextContext(2);
146
- i0.ɵɵadvance();
147
- i0.ɵɵtextInterpolate1(" ", ctx_r1.noDataMessage() || "No results", " ");
148
- } }
149
- function ActionListComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
150
- i0.ɵɵelementStart(0, "div", 13)(1, "div", 14);
151
- i0.ɵɵtemplate(2, ActionListComponent_ng_template_11_div_2_Template, 6, 9, "div", 23)(3, ActionListComponent_ng_template_11_div_3_Template, 2, 1, "div", 16);
152
- i0.ɵɵelementEnd()();
153
- } if (rf & 2) {
154
- const ctx_r1 = i0.ɵɵnextContext();
155
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(3, _c3, ctx_r1.dropdownListHeight(), ctx_r1.dropdownListWidth()));
156
- i0.ɵɵadvance(2);
157
- i0.ɵɵproperty("ngForOf", ctx_r1.subItems());
158
- i0.ɵɵadvance();
159
- i0.ɵɵproperty("ngIf", ctx_r1.internalData().length === 0);
160
- } }
161
- function ActionListComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) {
162
- i0.ɵɵnamespaceSVG();
163
- i0.ɵɵelementStart(0, "svg", 31);
164
- i0.ɵɵelement(1, "path", 32);
165
- i0.ɵɵelementEnd();
166
- } }
167
- class ActionListComponent {
168
- constructor(eRef, overlay, viewContainerRef) {
169
- this.eRef = eRef;
170
- this.overlay = overlay;
171
- this.viewContainerRef = viewContainerRef;
172
- // Signal-based inputs
173
- this.data = input([]);
174
- this.height = input("");
175
- this.width = input("");
176
- this.label = input("Select");
177
- this.dropdownListHeight = input("");
178
- this.dropdownListWidth = input("");
179
- this.dropdownListPosition = input("Left");
180
- this.searchEnabled = input(true);
181
- this.noDataMessage = input("No Data");
182
- // Signal-based output
183
- this.onChange = output();
184
- // Internal state signals
185
- this.isOpen = signal(false);
186
- this.subItems = signal([]);
187
- this.selectedItems = signal([]);
188
- // Internal writable signals for data that can be modified
189
- this.internalData = signal([]);
190
- this.internalLabel = signal("Select");
191
- // Effect to sync input data with internal data
192
- effect(() => {
193
- const inputData = this.data();
194
- this.internalData.set(inputData);
195
- }, { allowSignalWrites: true });
196
- // Effect to sync input label with internal label
197
- effect(() => {
198
- const inputLabel = this.label();
199
- this.internalLabel.set(inputLabel);
200
- }, { allowSignalWrites: true });
201
- // Effect to update selectedItems when data changes
202
- effect(() => {
203
- const dataValue = this.internalData();
204
- const selectedItems = [];
205
- dataValue?.forEach(q => q?.children?.forEach(w => {
206
- if (w.checked)
207
- selectedItems.push(w);
208
- }));
209
- this.selectedItems.set(selectedItems);
210
- }, { allowSignalWrites: true });
211
- // Effect to update label when selectedItems changes
212
- effect(() => {
213
- const selectedItems = this.selectedItems();
214
- if (selectedItems.length > 0) {
215
- this.internalLabel.set(selectedItems[0].label);
216
- }
217
- else {
218
- this.internalLabel.set(this.label());
219
- }
220
- }, { allowSignalWrites: true });
221
- }
222
- ngOnInit() { }
223
- filterByValue(array, string) {
224
- return array.filter(o => o.label.toLowerCase().includes(string.toLowerCase()));
225
- }
226
- toggleDropdown() {
227
- const currentIsOpen = this.isOpen();
228
- this.isOpen.set(!currentIsOpen);
229
- if (!currentIsOpen)
230
- this.openDropdown(this.popupContainer, this.selectElement.nativeElement, false);
231
- else
232
- this.onCancel();
233
- }
234
- openDropdown(template, origin, openRight) {
235
- const positionsBottom = [
236
- new ConnectionPositionPair({ originX: "start", originY: "bottom" }, { overlayX: "start", overlayY: "top" }, 0, 4),
237
- new ConnectionPositionPair({ originX: "end", originY: "bottom" }, { overlayX: "end", overlayY: "top" }, 0, 4)
238
- ];
239
- const positionsTop = [
240
- new ConnectionPositionPair({ originX: "start", originY: "top" }, { overlayX: "start", overlayY: "bottom" }, 0, -4),
241
- new ConnectionPositionPair({ originX: "end", originY: "top" }, { overlayX: "end", overlayY: "bottom" }, 0, -4)
242
- ];
243
- const positions = [
244
- ...(this.dropdownListPosition() === "Right" ? positionsBottom.reverse() : positionsBottom),
245
- ...(this.dropdownListPosition() === "Right" ? positionsTop.reverse() : positionsTop)
246
- ];
247
- const positionStrategy = this.overlay
248
- .position()
249
- .flexibleConnectedTo(origin)
250
- .withPositions(openRight ? [new ConnectionPositionPair({ originX: "end", originY: "top" }, { overlayX: "start", overlayY: "top" }, 8)] : positions)
251
- .withPush(true);
252
- const configs = new OverlayConfig({
253
- hasBackdrop: !openRight,
254
- backdropClass: "cdk-overlay-transparent-backdrop",
255
- scrollStrategy: this.overlay.scrollStrategies.reposition(),
256
- positionStrategy,
257
- width: origin.clientWidth || 140
258
- });
259
- if (openRight) {
260
- this.subOverlayRef = this.overlay.create(configs);
261
- const dropdownWidth = this.dropdownListWidth();
262
- const dropdownHeight = this.dropdownListHeight();
263
- if (dropdownWidth)
264
- this.subOverlayRef.updateSize({ width: dropdownWidth });
265
- if (dropdownHeight)
266
- this.subOverlayRef.updateSize({ height: dropdownHeight });
267
- this.subOverlayRef.attach(new TemplatePortal(template, this.viewContainerRef));
268
- this.subOverlayRef.backdropClick().subscribe(() => {
269
- this.onCancel();
270
- });
271
- return;
272
- }
273
- this.overlayRef = this.overlay.create(configs);
274
- const dropdownWidth = this.dropdownListWidth();
275
- const dropdownHeight = this.dropdownListHeight();
276
- if (dropdownWidth)
277
- this.overlayRef.updateSize({ width: dropdownWidth });
278
- if (dropdownHeight)
279
- this.overlayRef.updateSize({ height: dropdownHeight });
280
- this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));
281
- this.overlayRef.backdropClick().subscribe(() => {
282
- this.onCancel();
283
- });
284
- }
285
- selectItem(item) {
286
- const currentData = this.internalData();
287
- const currentSelectedItems = this.selectedItems();
288
- if (currentData.some(q => q.children?.some(w => w.value === item.value && w.checked))) {
289
- if (item.type === "MULTIPLE") {
290
- this.selectedItems.set(currentSelectedItems.filter(q => q.value !== item.value));
291
- }
292
- const updatedData = currentData.map(q => ({
293
- ...q,
294
- children: q?.children?.map(e => ({
295
- ...e,
296
- checked: e.checked && e.value !== item.value
297
- }))
298
- }));
299
- this.internalData.set(updatedData);
300
- }
301
- else {
302
- const updatedData = currentData.map(q => ({
303
- ...q,
304
- children: q?.children?.map(e => ({
305
- ...e,
306
- checked: (e.type === "MULTIPLE" && (e.checked || e.value === item.value)) || (e.type === "SINGLE" && e.value === item.value)
307
- }))
308
- }));
309
- this.internalData.set(updatedData);
310
- if (item.type === "MULTIPLE") {
311
- this.selectedItems.set([...currentSelectedItems, { ...item, checked: true }]);
312
- }
313
- }
314
- // Label will be automatically updated by the effect when selectedItems changes
315
- const newSubItems = this.internalData().find(q => q.children?.some(w => w.value === item.value))?.children || [];
316
- this.subItems.set(newSubItems);
317
- this.onChange.emit(this.internalData());
318
- if (item.type === "SINGLE")
319
- this.toggleDropdown();
320
- }
321
- onHover(item, isHovered, element) {
322
- if (isHovered) {
323
- const currentSubItems = this.subItems();
324
- currentSubItems.length > 0 && this.subOverlayRef?.detach();
325
- const newSubItems = this.internalData().find(q => q?.children?.some(w => w?.parentValue === item?.value))?.children || [];
326
- this.subItems.set(newSubItems);
327
- newSubItems.length > 0 && this.openDropdown(this.subPopupContainer, element?.nativeElement || element, true);
328
- }
329
- else {
330
- this.subItems.set([]);
331
- this.subOverlayRef?.detach();
332
- }
333
- }
334
- onCancel() {
335
- this.isOpen.set(false);
336
- this.overlayRef?.detach();
337
- this.subOverlayRef?.detach();
338
- }
339
- static { this.ɵfac = function ActionListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActionListComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Overlay), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); }; }
340
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ActionListComponent, selectors: [["mis-action-list"]], viewQuery: function ActionListComponent_Query(rf, ctx) { if (rf & 1) {
341
- i0.ɵɵviewQuery(_c0, 5);
342
- i0.ɵɵviewQuery(_c1, 5);
343
- i0.ɵɵviewQuery(_c2, 5);
344
- } if (rf & 2) {
345
- let _t;
346
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectElement = _t.first);
347
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popupContainer = _t.first);
348
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.subPopupContainer = _t.first);
349
- } }, inputs: { data: [1, "data"], height: [1, "height"], width: [1, "width"], label: [1, "label"], dropdownListHeight: [1, "dropdownListHeight"], dropdownListWidth: [1, "dropdownListWidth"], dropdownListPosition: [1, "dropdownListPosition"], searchEnabled: [1, "searchEnabled"], noDataMessage: [1, "noDataMessage"] }, outputs: { onChange: "onChange" }, decls: 15, vars: 12, consts: [["select", ""], ["popupContainer", ""], ["subPopupContainer", ""], ["tickIcon", ""], ["singleItem", ""], [1, "main-container", 3, "ngStyle"], ["tabindex", "0", 1, "dropdown", 3, "keyup.enter", "click", "ngStyle"], [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"], [1, "count"], [1, "popup-container", 3, "ngStyle"], [1, "items"], ["class", "item", "tabindex", "0", 3, "ngClass", "mouseenter", 4, "ngFor", "ngForOf"], ["class", "noData", 4, "ngIf"], ["tabindex", "0", 1, "item", 3, "mouseenter", "ngClass"], [1, "label", 3, "ngStyle"], ["class", "icon-container", 4, "ngIf"], [1, "icon-container"], ["alt", "no img", 1, "icon", 3, "src"], [1, "noData"], ["class", "item", "tabindex", "0", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], ["tabindex", "0", 1, "item", 3, "click", "ngClass"], ["class", "checkbox-container", 4, "ngIf"], [1, "checkbox-container"], [3, "disabled", "checked"], ["class", "icon", "alt", "no img", 3, "src", 4, "ngIf"], [4, "ngIf"], [4, "ngTemplateOutlet"], ["width", "20", "height", "20", "viewBox", "0 0 20 20", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M7.47697 14.8237L3.49922 10.5519C3.2776 10.3169 3.2776 9.93437 3.49922 9.69684L4.30273 8.84298C4.52434 8.60795 4.88462 8.60795 5.10623 8.84298L7.87929 11.8334L14.0607 5.17627C14.2823 4.94124 14.6426 4.94124 14.8642 5.17627L15.6677 6.03138C15.8894 6.26641 15.8894 6.65021 15.6677 6.88399L8.28048 14.8237C8.05886 15.0588 7.69859 15.0588 7.47697 14.8237Z", "fill", "#181F33"]], template: function ActionListComponent_Template(rf, ctx) { if (rf & 1) {
350
- const _r1 = i0.ɵɵgetCurrentView();
351
- i0.ɵɵelementStart(0, "div", 5)(1, "div", 6, 0);
352
- i0.ɵɵlistener("keyup.enter", function ActionListComponent_Template_div_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.toggleDropdown()); })("click", function ActionListComponent_Template_div_click_1_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.toggleDropdown()); });
353
- i0.ɵɵelementStart(3, "div", 7)(4, "p", 8);
354
- i0.ɵɵtext(5);
355
- i0.ɵɵelementEnd();
356
- i0.ɵɵtemplate(6, ActionListComponent_p_6_Template, 2, 1, "p", 9);
357
- i0.ɵɵelementEnd();
358
- i0.ɵɵnamespaceSVG();
359
- i0.ɵɵelementStart(7, "svg", 10);
360
- i0.ɵɵelement(8, "path", 11);
361
- i0.ɵɵelementEnd()()();
362
- i0.ɵɵtemplate(9, ActionListComponent_ng_template_9_Template, 4, 6, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(11, ActionListComponent_ng_template_11_Template, 4, 6, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(13, ActionListComponent_ng_template_13_Template, 2, 0, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
363
- } if (rf & 2) {
364
- let tmp_7_0;
365
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(5, _c3, ctx.height().length > 0 ? ctx.height() : "", ctx.width().length > 0 ? ctx.width() : ""));
366
- i0.ɵɵadvance();
367
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(8, _c4, ctx.isOpen() ? "#E6EBF7" : ""));
368
- i0.ɵɵadvance(4);
369
- i0.ɵɵtextInterpolate1(" ", ctx.internalLabel(), " ");
370
- i0.ɵɵadvance();
371
- i0.ɵɵproperty("ngIf", ((tmp_7_0 = ctx.selectedItems()) == null ? null : tmp_7_0.length) > 1);
372
- i0.ɵɵadvance();
373
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(10, _c5, ctx.isOpen() ? "rotate(180deg)" : "rotate(0deg)"));
374
- } }, dependencies: [i2.NgClass, i2.NgForOf, i2.NgIf, i2.NgTemplateOutlet, i2.NgStyle, i3.CheckboxComponent], styles: ["[_ngcontent-%COMP%]:root{--pmry-200: #99BAF7;--pmry-100: #CBDDFB;--pmry-500: #0937B2;--pmry-400: #3C68D0;--pmry-600: #062A99;--pmry-700: #041F80;--pmry-300: #638FE7;--pmry-800: #021567;--pmry-900: #010F55;--sec-d-purple: #40447F;--sec-maroon: #6B034E;--sec-mud-red: #B23600;--sec-orange: #ED711C;--sec-purple: #815FD5;--sec-teal: #10ADAE;--sec-yellow: #D4900C;--sec-green: #547F40;--sec-bright-green: #27D22E;--sec-dark-teal: #035F6B;--sec-chocolate: #7C2F33;--sec-rube-pink: #C13D6D;--sec-cerulean: #0087B2;--sem-error: #B00020;--sem-info: #0091FF;--sem-warning: #FF9D00;--sem-success: #38AF49;--grey-bg-1: #FAFAFA;--grey-bg: #F5F5F5;--grey-seperators: #E0E0E0;--grey-disabled: #C8CDD3;--grey-hover: #F5F7FC;--grey-pressed: #E6EBF7;--grey-row: #F5F7FC;--dec-light-yellow: #F4E7C3;--dec-light-purple: #DACFF9;--dec-light-green: #E4F5E9;--dec-light-green2: #F1FFF3;--dec-light-pink: #FAE1EA;--dec-: #F4CBC1;--dec-lt-orange: #FAEFED;--dec-light-blue: #CFECF9;--dec-row-selection: #F1FDF8;--dec-row-selection2: #F2FBFF;--dec-row-lines: #D3E1E9;--text-white: #FFFFFF;--text-muted: #6A737D;--text-black: #181F33;--MR-solid-blue2:#C8D5F6;--MR-solid-purple:#C9C3FB;--MR-solid-orange:#EEAC9F;--MR-solid-green:#ACDADA;--MR-solid-brown:#E8C8AF;--MR-solid-yellow:#FFEFC7;--MR-solid-blue:#BBE6FF;--MR-solid-pink:#FFC6F2;--tr-hover:#F0F3FA;--tr-pressed:#DAE1F3;--brand-primary: #0937B2;--brand-primary-light: #3C68D0;--brand-primary-dark: #062A99;--brand-primary-darker: #041F80;--brand-primary-lighter: #638FE7;--brand-primary-lightest: #CBDDFB;--brand-primary-hover: #F0F3FA;--brand-primary-active: #DAE1F3;--brand-secondary: #ED711C;--brand-secondary-light: #F09E65;--brand-secondary-dark: #B23600;--brand-secondary-lighter: #FFC6F2;--brand-accent: #10ADAE;--brand-accent-light: #16CBBC;--brand-accent-dark: #035F6B;--brand-accent-lighter: #ACDADA;--brand-success: #38AF49;--brand-success-light: #4CAF50;--brand-success-dark: #216531;--brand-success-lighter: #E4F5E9;--brand-success-lightest: #F1FFF3;--brand-error: #B00020;--brand-error-light: #F04E4E;--brand-error-dark: #A60060;--brand-error-lighter: #FAE1EA;--brand-error-lightest: #FDF2F2;--brand-warning: #FF9D00;--brand-warning-light: #D4900C;--brand-warning-dark: #624000;--brand-warning-lighter: #F4E7C3;--brand-warning-lightest: #FAEFED;--brand-info: #0091FF;--brand-info-light: #35A1FF;--brand-info-dark: #0087B2;--brand-info-lighter: #CFECF9;--text-primary: #181F33;--text-secondary: #6A737D;--text-tertiary: #929DAB;--text-disabled: #929DAB;--text-muted-secondary: #E5E5E5;--text-primary-87: rgba(24, 31, 51, .87);--text-primary-60: rgba(24, 31, 51, .6);--text-primary-38: rgba(24, 31, 51, .38);--text-primary-12: rgba(24, 31, 51, .12);--bg-primary: #FFFFFF;--bg-secondary: #FAFAFA;--bg-tertiary: #F5F5F5;--bg-overlay: rgba(0, 0, 0, .32);--bg-overlay-light: rgba(0, 0, 0, .12);--bg-overlay-lighter: rgba(0, 0, 0, .08);--bg-overlay-lightest: rgba(0, 0, 0, .04);--border-primary: #E0E0E0;--border-secondary: #D6DCE2;--border-tertiary: #C8CDD3;--border-light: #F1F4F8;--border-primary-12: rgba(0, 0, 0, .12);--border-primary-08: rgba(0, 0, 0, .08);--border-primary-06: rgba(0, 0, 0, .06);--shadow-primary: rgba(0, 0, 0, .12);--shadow-secondary: rgba(0, 0, 0, .08);--shadow-tertiary: rgba(0, 0, 0, .04);--shadow-light: rgba(0, 0, 0, .06);--status-available: #929DAB;--status-unavailable: #CCD3DA;--status-hotseat: #857BFF;--status-multiteam: #10ADAE;--status-selected: #10ADAE;--status-upcoming: #D4900C;--status-room: #38AF49;--status-room-booked: #B23600;--status-room-unavailable: #181F33;--team-color-1: #F8C52E;--team-color-2: #FA8E20;--team-color-3: #987CDD;--team-color-4: #16CBBC;--team-color-5: #E65010;--team-color-6: #A60060;--team-color-7: #ED323B;--team-color-8: #35A1FF;--team-color-9: #80D348}.main-container[_ngcontent-%COMP%]{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;height:32px;width:256px;font-family:Lato,sans-serif!important}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:inherit;border:1px solid var(--border-primary, #E0E0E0);border-radius:6px;background-color:var(--bg-primary, #FFFFFF);cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;padding:4px 12px}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]:hover, .main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]:focus-visible{background-color:var(--brand-primary-hover, #F0F3FA);outline:none}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--text-primary, #181F33)}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--text-primary, #181F33)}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .count[_ngcontent-%COMP%]{width:24px;height:24px;background-color:var(--border-primary, #E0E0E0);border-radius:50%;padding:2px 4px;margin:0 0 0 8px;font-style:normal;font-weight:400;box-sizing:border-box;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px;color:var(--text-primary, #181F33)}.main-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%]{width:100%;max-height:340px;padding-bottom:0;border:1px solid var(--border-primary, #E0E0E0);border-radius:8px;background-color:var(--bg-primary, #FFFFFF);box-shadow:0 12px 24px #0000001f;display:flex;flex-direction:column;overflow:hidden;justify-content:space-between}.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 var(--border-primary, #E0E0E0);box-sizing:border-box;border-radius:8px;outline:none;caret-color:var(--brand-primary, #0937B2);font-style:normal;font-weight:400;font-size:12px;line-height:18px;display:flex;align-items:center;letter-spacing:.2px;color:var(--text-primary, #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}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:0}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--text-tertiary, #929DAB);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:16px;line-height:20px;letter-spacing:.2px;color:var(--text-primary, #181F33)}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;height:auto;letter-spacing:.2px;color:var(--text-primary, #181F33)}.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:var(--brand-primary-hover, #F0F3FA);outline:none}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{width:100%;line-height:20px;font-size:16px;font-style:normal;font-weight:400;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%] .items[_ngcontent-%COMP%] .item-disabled[_ngcontent-%COMP%]{cursor:not-allowed}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item-disabled[_ngcontent-%COMP%]:hover, .popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item-disabled[_ngcontent-%COMP%]:focus-visible{background-color:transparent;outline:none}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item-disabled[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{color:var(--text-tertiary, #929DAB);-webkit-user-select:none;user-select:none}"] }); }
14
+ const _c3 = (a0, a1) => ({
15
+ height: a0,
16
+ width: a1
17
+ });
18
+ const _c4 = (a0) => ({ background: a0 });
19
+ const _c5 = (a0) => ({ transform: a0 });
20
+ const _c6 = (a0) => ({ "item-disabled": a0 });
21
+ const _c7 = (a0) => ({ width: a0 });
22
+ function ActionListComponent_Conditional_6_Template(rf, ctx) {
23
+ if (rf & 1) {
24
+ i0.ɵɵelementStart(0, "p", 9);
25
+ i0.ɵɵtext(1);
26
+ i0.ɵɵelementEnd();
27
+ }
28
+ if (rf & 2) {
29
+ const ctx_r0 = i0.ɵɵnextContext();
30
+ i0.ɵɵadvance();
31
+ i0.ɵɵtextInterpolate1("+", ctx_r0.selectedItems()?.length - 1);
32
+ }
375
33
  }
376
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionListComponent, [{
377
- type: Component,
378
- args: [{ selector: "mis-action-list", template: "<div\n class=\"main-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\">\n {{ internalLabel() }}\n </p>\n <p *ngIf=\"selectedItems()?.length > 1\" class=\"count\">+{{ selectedItems()?.length - 1 }}</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\n<ng-template #popupContainer>\n <div\n class=\"popup-container\"\n [ngStyle]=\"{\n height: dropdownListHeight(),\n width: dropdownListWidth()\n }\"\n >\n <div class=\"items\">\n <div\n #singleItem\n class=\"item\"\n tabindex=\"0\"\n [ngClass]=\"{ 'item-disabled': item?.disabled }\"\n (mouseenter)=\"onHover(item, true, singleItem)\"\n *ngFor=\"let item of internalData()\"\n >\n <div class=\"label\" [ngStyle]=\"{ width: item?.icon ? '90%' : '100%' }\">\n <span>{{ item?.label }}</span>\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 class=\"noData\" *ngIf=\"internalData().length === 0\">\n {{ noDataMessage() || \"No results\" }}\n </div>\n </div>\n </div>\n</ng-template>\n\n<ng-template #subPopupContainer>\n <div\n class=\"popup-container\"\n [ngStyle]=\"{\n height: dropdownListHeight(),\n width: dropdownListWidth()\n }\"\n >\n <div class=\"items\">\n <div\n class=\"item\"\n tabindex=\"0\"\n [ngClass]=\"{ 'item-disabled': item.disabled }\"\n (click)=\"!item.disabled && selectItem(item)\"\n *ngFor=\"let item of subItems()\"\n >\n <div class=\"checkbox-container\" *ngIf=\"item.type === 'MULTIPLE'\">\n <mis-checkbox [disabled]=\"item.disabled\" [checked]=\"item.checked\"></mis-checkbox>\n </div>\n <div class=\"label\" [ngStyle]=\"{ width: item.icon ? '90%' : '100%' }\">\n <span>{{ item.label }}</span>\n </div>\n <div class=\"icon-container\" *ngIf=\"item.icon || item.checked\">\n <img *ngIf=\"!item.checked\" class=\"icon\" [src]=\"item.icon\" alt=\"no img\" />\n <ng-container *ngIf=\"item.type === 'SINGLE' && item.checked\">\n <ng-container *ngTemplateOutlet=\"tickIcon\"></ng-container>\n </ng-container>\n </div>\n </div>\n <div class=\"noData\" *ngIf=\"internalData().length === 0\">\n {{ noDataMessage() || \"No results\" }}\n </div>\n </div>\n </div>\n</ng-template>\n<ng-template #tickIcon>\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M7.47697 14.8237L3.49922 10.5519C3.2776 10.3169 3.2776 9.93437 3.49922 9.69684L4.30273 8.84298C4.52434 8.60795 4.88462 8.60795 5.10623 8.84298L7.87929 11.8334L14.0607 5.17627C14.2823 4.94124 14.6426 4.94124 14.8642 5.17627L15.6677 6.03138C15.8894 6.26641 15.8894 6.65021 15.6677 6.88399L8.28048 14.8237C8.05886 15.0588 7.69859 15.0588 7.47697 14.8237Z\"\n fill=\"#181F33\"\n />\n </svg>\n</ng-template>\n", styles: [":root{--pmry-200: #99BAF7;--pmry-100: #CBDDFB;--pmry-500: #0937B2;--pmry-400: #3C68D0;--pmry-600: #062A99;--pmry-700: #041F80;--pmry-300: #638FE7;--pmry-800: #021567;--pmry-900: #010F55;--sec-d-purple: #40447F;--sec-maroon: #6B034E;--sec-mud-red: #B23600;--sec-orange: #ED711C;--sec-purple: #815FD5;--sec-teal: #10ADAE;--sec-yellow: #D4900C;--sec-green: #547F40;--sec-bright-green: #27D22E;--sec-dark-teal: #035F6B;--sec-chocolate: #7C2F33;--sec-rube-pink: #C13D6D;--sec-cerulean: #0087B2;--sem-error: #B00020;--sem-info: #0091FF;--sem-warning: #FF9D00;--sem-success: #38AF49;--grey-bg-1: #FAFAFA;--grey-bg: #F5F5F5;--grey-seperators: #E0E0E0;--grey-disabled: #C8CDD3;--grey-hover: #F5F7FC;--grey-pressed: #E6EBF7;--grey-row: #F5F7FC;--dec-light-yellow: #F4E7C3;--dec-light-purple: #DACFF9;--dec-light-green: #E4F5E9;--dec-light-green2: #F1FFF3;--dec-light-pink: #FAE1EA;--dec-: #F4CBC1;--dec-lt-orange: #FAEFED;--dec-light-blue: #CFECF9;--dec-row-selection: #F1FDF8;--dec-row-selection2: #F2FBFF;--dec-row-lines: #D3E1E9;--text-white: #FFFFFF;--text-muted: #6A737D;--text-black: #181F33;--MR-solid-blue2:#C8D5F6;--MR-solid-purple:#C9C3FB;--MR-solid-orange:#EEAC9F;--MR-solid-green:#ACDADA;--MR-solid-brown:#E8C8AF;--MR-solid-yellow:#FFEFC7;--MR-solid-blue:#BBE6FF;--MR-solid-pink:#FFC6F2;--tr-hover:#F0F3FA;--tr-pressed:#DAE1F3;--brand-primary: #0937B2;--brand-primary-light: #3C68D0;--brand-primary-dark: #062A99;--brand-primary-darker: #041F80;--brand-primary-lighter: #638FE7;--brand-primary-lightest: #CBDDFB;--brand-primary-hover: #F0F3FA;--brand-primary-active: #DAE1F3;--brand-secondary: #ED711C;--brand-secondary-light: #F09E65;--brand-secondary-dark: #B23600;--brand-secondary-lighter: #FFC6F2;--brand-accent: #10ADAE;--brand-accent-light: #16CBBC;--brand-accent-dark: #035F6B;--brand-accent-lighter: #ACDADA;--brand-success: #38AF49;--brand-success-light: #4CAF50;--brand-success-dark: #216531;--brand-success-lighter: #E4F5E9;--brand-success-lightest: #F1FFF3;--brand-error: #B00020;--brand-error-light: #F04E4E;--brand-error-dark: #A60060;--brand-error-lighter: #FAE1EA;--brand-error-lightest: #FDF2F2;--brand-warning: #FF9D00;--brand-warning-light: #D4900C;--brand-warning-dark: #624000;--brand-warning-lighter: #F4E7C3;--brand-warning-lightest: #FAEFED;--brand-info: #0091FF;--brand-info-light: #35A1FF;--brand-info-dark: #0087B2;--brand-info-lighter: #CFECF9;--text-primary: #181F33;--text-secondary: #6A737D;--text-tertiary: #929DAB;--text-disabled: #929DAB;--text-muted-secondary: #E5E5E5;--text-primary-87: rgba(24, 31, 51, .87);--text-primary-60: rgba(24, 31, 51, .6);--text-primary-38: rgba(24, 31, 51, .38);--text-primary-12: rgba(24, 31, 51, .12);--bg-primary: #FFFFFF;--bg-secondary: #FAFAFA;--bg-tertiary: #F5F5F5;--bg-overlay: rgba(0, 0, 0, .32);--bg-overlay-light: rgba(0, 0, 0, .12);--bg-overlay-lighter: rgba(0, 0, 0, .08);--bg-overlay-lightest: rgba(0, 0, 0, .04);--border-primary: #E0E0E0;--border-secondary: #D6DCE2;--border-tertiary: #C8CDD3;--border-light: #F1F4F8;--border-primary-12: rgba(0, 0, 0, .12);--border-primary-08: rgba(0, 0, 0, .08);--border-primary-06: rgba(0, 0, 0, .06);--shadow-primary: rgba(0, 0, 0, .12);--shadow-secondary: rgba(0, 0, 0, .08);--shadow-tertiary: rgba(0, 0, 0, .04);--shadow-light: rgba(0, 0, 0, .06);--status-available: #929DAB;--status-unavailable: #CCD3DA;--status-hotseat: #857BFF;--status-multiteam: #10ADAE;--status-selected: #10ADAE;--status-upcoming: #D4900C;--status-room: #38AF49;--status-room-booked: #B23600;--status-room-unavailable: #181F33;--team-color-1: #F8C52E;--team-color-2: #FA8E20;--team-color-3: #987CDD;--team-color-4: #16CBBC;--team-color-5: #E65010;--team-color-6: #A60060;--team-color-7: #ED323B;--team-color-8: #35A1FF;--team-color-9: #80D348}.main-container{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;height:32px;width:256px;font-family:Lato,sans-serif!important}.main-container .dropdown{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:inherit;border:1px solid var(--border-primary, #E0E0E0);border-radius:6px;background-color:var(--bg-primary, #FFFFFF);cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;padding:4px 12px}.main-container .dropdown:hover,.main-container .dropdown:focus-visible{background-color:var(--brand-primary-hover, #F0F3FA);outline:none}.main-container .dropdown .label{box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--text-primary, #181F33)}.main-container .dropdown .label .text{margin:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--text-primary, #181F33)}.main-container .dropdown .label .count{width:24px;height:24px;background-color:var(--border-primary, #E0E0E0);border-radius:50%;padding:2px 4px;margin:0 0 0 8px;font-style:normal;font-weight:400;box-sizing:border-box;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px;color:var(--text-primary, #181F33)}.main-container .dropdown .handle{width:24px;height:24px;transition:.3s;position:absolute;right:12px;border-radius:50%;overflow:hidden}.popup-container{width:100%;max-height:340px;padding-bottom:0;border:1px solid var(--border-primary, #E0E0E0);border-radius:8px;background-color:var(--bg-primary, #FFFFFF);box-shadow:0 12px 24px #0000001f;display:flex;flex-direction:column;overflow:hidden;justify-content:space-between}.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 var(--border-primary, #E0E0E0);box-sizing:border-box;border-radius:8px;outline:none;caret-color:var(--brand-primary, #0937B2);font-style:normal;font-weight:400;font-size:12px;line-height:18px;display:flex;align-items:center;letter-spacing:.2px;color:var(--text-primary, #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}.popup-container .items::-webkit-scrollbar{width:5px;height:0}.popup-container .items::-webkit-scrollbar-thumb{background:var(--text-tertiary, #929DAB);border-radius:10px}.popup-container .items .noData{display:flex;justify-content:center;align-items:center;font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--text-primary, #181F33)}.popup-container .items .item{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;height:auto;letter-spacing:.2px;color:var(--text-primary, #181F33)}.popup-container .items .item:hover,.popup-container .items .item:focus-visible{background-color:var(--brand-primary-hover, #F0F3FA);outline:none}.popup-container .items .item .label{width:100%;line-height:20px;font-size:16px;font-style:normal;font-weight:400;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 .items .item-disabled{cursor:not-allowed}.popup-container .items .item-disabled:hover,.popup-container .items .item-disabled:focus-visible{background-color:transparent;outline:none}.popup-container .items .item-disabled .label{color:var(--text-tertiary, #929DAB);-webkit-user-select:none;user-select:none}\n"] }]
379
- }], () => [{ type: i0.ElementRef }, { type: i1.Overlay }, { type: i0.ViewContainerRef }], { selectElement: [{
380
- type: ViewChild,
381
- args: ["select", { static: false }]
382
- }], popupContainer: [{
383
- type: ViewChild,
384
- args: ["popupContainer", { static: false }]
385
- }], subPopupContainer: [{
386
- type: ViewChild,
387
- args: ["subPopupContainer", { static: false }]
388
- }] }); })();
389
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionListComponent, { className: "ActionListComponent" }); })();
390
-
391
- class ActionListModule {
392
- static forRoot() {
393
- return { ngModule: ActionListModule, providers: [] };
394
- }
395
- static { this.ɵfac = function ActionListModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ActionListModule)(); }; }
396
- static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ActionListModule }); }
397
- static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule, OverlayModule, CheckboxModule] }); }
34
+ function ActionListComponent_ng_template_9_For_3_Conditional_5_Template(rf, ctx) {
35
+ if (rf & 1) {
36
+ i0.ɵɵelementStart(0, "div", 18);
37
+ i0.ɵɵelement(1, "img", 19);
38
+ i0.ɵɵelementEnd();
39
+ }
40
+ if (rf & 2) {
41
+ const item_r3 = i0.ɵɵnextContext().$implicit;
42
+ i0.ɵɵadvance();
43
+ i0.ɵɵproperty("src", item_r3.icon, i0.ɵɵsanitizeUrl);
44
+ }
398
45
  }
399
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionListModule, [{
400
- type: NgModule,
401
- args: [{
402
- declarations: [ActionListComponent],
403
- imports: [CommonModule, FormsModule, OverlayModule, CheckboxModule],
404
- exports: [ActionListComponent]
405
- }]
406
- }], null, null); })();
407
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ActionListModule, { declarations: [ActionListComponent], imports: [CommonModule, FormsModule, OverlayModule, CheckboxModule], exports: [ActionListComponent] }); })();
408
-
409
- /**
410
- * Generated bundle index. Do not edit.
411
- */
412
-
46
+ function ActionListComponent_ng_template_9_For_3_Template(rf, ctx) {
47
+ if (rf & 1) {
48
+ const _r2 = i0.ɵɵgetCurrentView();
49
+ i0.ɵɵelementStart(0, "div", 16, 4);
50
+ i0.ɵɵlistener("mouseenter", function ActionListComponent_ng_template_9_For_3_Template_div_mouseenter_0_listener() {
51
+ const item_r3 = i0.ɵɵrestoreView(_r2).$implicit;
52
+ const singleItem_r4 = i0.ɵɵreference(1);
53
+ const ctx_r0 = i0.ɵɵnextContext(2);
54
+ return i0.ɵɵresetView(ctx_r0.onHover(item_r3, true, singleItem_r4));
55
+ });
56
+ i0.ɵɵelementStart(2, "div", 17)(3, "span");
57
+ i0.ɵɵtext(4);
58
+ i0.ɵɵelementEnd()();
59
+ i0.ɵɵconditionalCreate(5, ActionListComponent_ng_template_9_For_3_Conditional_5_Template, 2, 1, "div", 18);
60
+ i0.ɵɵelementEnd();
61
+ }
62
+ if (rf & 2) {
63
+ const item_r3 = ctx.$implicit;
64
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c6, item_r3 == null ? null : item_r3.disabled));
65
+ i0.ɵɵadvance(2);
66
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c7, item_r3?.icon ? "90%" : "100%"));
67
+ i0.ɵɵadvance(2);
68
+ i0.ɵɵtextInterpolate(item_r3?.label);
69
+ i0.ɵɵadvance();
70
+ i0.ɵɵconditional(item_r3?.icon ? 5 : -1);
71
+ }
72
+ }
73
+ function ActionListComponent_ng_template_9_Conditional_4_Template(rf, ctx) {
74
+ if (rf & 1) {
75
+ i0.ɵɵelementStart(0, "div", 15);
76
+ i0.ɵɵtext(1);
77
+ i0.ɵɵelementEnd();
78
+ }
79
+ if (rf & 2) {
80
+ const ctx_r0 = i0.ɵɵnextContext(2);
81
+ i0.ɵɵadvance();
82
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.noDataMessage() || "No results", " ");
83
+ }
84
+ }
85
+ function ActionListComponent_ng_template_9_Template(rf, ctx) {
86
+ if (rf & 1) {
87
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 13);
88
+ i0.ɵɵrepeaterCreate(2, ActionListComponent_ng_template_9_For_3_Template, 6, 8, "div", 14, i0.ɵɵrepeaterTrackByIdentity);
89
+ i0.ɵɵconditionalCreate(4, ActionListComponent_ng_template_9_Conditional_4_Template, 2, 1, "div", 15);
90
+ i0.ɵɵelementEnd()();
91
+ }
92
+ if (rf & 2) {
93
+ const ctx_r0 = i0.ɵɵnextContext();
94
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(2, _c3, ctx_r0.dropdownListHeight(), ctx_r0.dropdownListWidth()));
95
+ i0.ɵɵadvance(2);
96
+ i0.ɵɵrepeater(ctx_r0.internalData());
97
+ i0.ɵɵadvance(2);
98
+ i0.ɵɵconditional(ctx_r0.internalData().length === 0 ? 4 : -1);
99
+ }
100
+ }
101
+ function ActionListComponent_ng_template_11_For_3_Conditional_1_Template(rf, ctx) {
102
+ if (rf & 1) {
103
+ i0.ɵɵelementStart(0, "div", 21);
104
+ i0.ɵɵelement(1, "mis-checkbox", 22);
105
+ i0.ɵɵelementEnd();
106
+ }
107
+ if (rf & 2) {
108
+ const item_r6 = i0.ɵɵnextContext().$implicit;
109
+ i0.ɵɵadvance();
110
+ i0.ɵɵproperty("disabled", item_r6.disabled)("checked", item_r6.checked);
111
+ }
112
+ }
113
+ function ActionListComponent_ng_template_11_For_3_Conditional_5_Conditional_1_Template(rf, ctx) {
114
+ if (rf & 1) i0.ɵɵelement(0, "img", 19);
115
+ if (rf & 2) {
116
+ const item_r6 = i0.ɵɵnextContext(2).$implicit;
117
+ i0.ɵɵproperty("src", item_r6.icon, i0.ɵɵsanitizeUrl);
118
+ }
119
+ }
120
+ function ActionListComponent_ng_template_11_For_3_Conditional_5_Conditional_2_ng_container_0_Template(rf, ctx) {
121
+ if (rf & 1) i0.ɵɵelementContainer(0);
122
+ }
123
+ function ActionListComponent_ng_template_11_For_3_Conditional_5_Conditional_2_Template(rf, ctx) {
124
+ if (rf & 1) i0.ɵɵtemplate(0, ActionListComponent_ng_template_11_For_3_Conditional_5_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 23);
125
+ if (rf & 2) {
126
+ i0.ɵɵnextContext(4);
127
+ const tickIcon_r7 = i0.ɵɵreference(14);
128
+ i0.ɵɵproperty("ngTemplateOutlet", tickIcon_r7);
129
+ }
130
+ }
131
+ function ActionListComponent_ng_template_11_For_3_Conditional_5_Template(rf, ctx) {
132
+ if (rf & 1) {
133
+ i0.ɵɵelementStart(0, "div", 18);
134
+ i0.ɵɵconditionalCreate(1, ActionListComponent_ng_template_11_For_3_Conditional_5_Conditional_1_Template, 1, 1, "img", 19);
135
+ i0.ɵɵconditionalCreate(2, ActionListComponent_ng_template_11_For_3_Conditional_5_Conditional_2_Template, 1, 1, "ng-container");
136
+ i0.ɵɵelementEnd();
137
+ }
138
+ if (rf & 2) {
139
+ const item_r6 = i0.ɵɵnextContext().$implicit;
140
+ i0.ɵɵadvance();
141
+ i0.ɵɵconditional(!item_r6.checked ? 1 : -1);
142
+ i0.ɵɵadvance();
143
+ i0.ɵɵconditional(item_r6.type === "SINGLE" && item_r6.checked ? 2 : -1);
144
+ }
145
+ }
146
+ function ActionListComponent_ng_template_11_For_3_Template(rf, ctx) {
147
+ if (rf & 1) {
148
+ const _r5 = i0.ɵɵgetCurrentView();
149
+ i0.ɵɵelementStart(0, "div", 20);
150
+ i0.ɵɵlistener("click", function ActionListComponent_ng_template_11_For_3_Template_div_click_0_listener() {
151
+ const item_r6 = i0.ɵɵrestoreView(_r5).$implicit;
152
+ const ctx_r0 = i0.ɵɵnextContext(2);
153
+ return i0.ɵɵresetView(!item_r6.disabled && ctx_r0.selectItem(item_r6));
154
+ });
155
+ i0.ɵɵconditionalCreate(1, ActionListComponent_ng_template_11_For_3_Conditional_1_Template, 2, 2, "div", 21);
156
+ i0.ɵɵelementStart(2, "div", 17)(3, "span");
157
+ i0.ɵɵtext(4);
158
+ i0.ɵɵelementEnd()();
159
+ i0.ɵɵconditionalCreate(5, ActionListComponent_ng_template_11_For_3_Conditional_5_Template, 3, 2, "div", 18);
160
+ i0.ɵɵelementEnd();
161
+ }
162
+ if (rf & 2) {
163
+ const item_r6 = ctx.$implicit;
164
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c6, item_r6.disabled));
165
+ i0.ɵɵadvance();
166
+ i0.ɵɵconditional(item_r6.type === "MULTIPLE" ? 1 : -1);
167
+ i0.ɵɵadvance();
168
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c7, item_r6.icon ? "90%" : "100%"));
169
+ i0.ɵɵadvance(2);
170
+ i0.ɵɵtextInterpolate(item_r6.label);
171
+ i0.ɵɵadvance();
172
+ i0.ɵɵconditional(item_r6.icon || item_r6.checked ? 5 : -1);
173
+ }
174
+ }
175
+ function ActionListComponent_ng_template_11_Conditional_4_Template(rf, ctx) {
176
+ if (rf & 1) {
177
+ i0.ɵɵelementStart(0, "div", 15);
178
+ i0.ɵɵtext(1);
179
+ i0.ɵɵelementEnd();
180
+ }
181
+ if (rf & 2) {
182
+ const ctx_r0 = i0.ɵɵnextContext(2);
183
+ i0.ɵɵadvance();
184
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.noDataMessage() || "No results", " ");
185
+ }
186
+ }
187
+ function ActionListComponent_ng_template_11_Template(rf, ctx) {
188
+ if (rf & 1) {
189
+ i0.ɵɵelementStart(0, "div", 12)(1, "div", 13);
190
+ i0.ɵɵrepeaterCreate(2, ActionListComponent_ng_template_11_For_3_Template, 6, 9, "div", 14, i0.ɵɵrepeaterTrackByIdentity);
191
+ i0.ɵɵconditionalCreate(4, ActionListComponent_ng_template_11_Conditional_4_Template, 2, 1, "div", 15);
192
+ i0.ɵɵelementEnd()();
193
+ }
194
+ if (rf & 2) {
195
+ const ctx_r0 = i0.ɵɵnextContext();
196
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(2, _c3, ctx_r0.dropdownListHeight(), ctx_r0.dropdownListWidth()));
197
+ i0.ɵɵadvance(2);
198
+ i0.ɵɵrepeater(ctx_r0.subItems());
199
+ i0.ɵɵadvance(2);
200
+ i0.ɵɵconditional(ctx_r0.internalData().length === 0 ? 4 : -1);
201
+ }
202
+ }
203
+ function ActionListComponent_ng_template_13_Template(rf, ctx) {
204
+ if (rf & 1) {
205
+ i0.ɵɵnamespaceSVG();
206
+ i0.ɵɵelementStart(0, "svg", 24);
207
+ i0.ɵɵelement(1, "path", 25);
208
+ i0.ɵɵelementEnd();
209
+ }
210
+ }
211
+ var ActionListComponent = class ActionListComponent {
212
+ constructor(eRef, overlay, viewContainerRef) {
213
+ this.eRef = eRef;
214
+ this.overlay = overlay;
215
+ this.viewContainerRef = viewContainerRef;
216
+ this.data = input([], ...ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []);
217
+ this.height = input("", ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
218
+ this.width = input("", ...ngDevMode ? [{ debugName: "width" }] : /* istanbul ignore next */ []);
219
+ this.label = input("Select", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
220
+ this.dropdownListHeight = input("", ...ngDevMode ? [{ debugName: "dropdownListHeight" }] : /* istanbul ignore next */ []);
221
+ this.dropdownListWidth = input("", ...ngDevMode ? [{ debugName: "dropdownListWidth" }] : /* istanbul ignore next */ []);
222
+ this.dropdownListPosition = input("Left", ...ngDevMode ? [{ debugName: "dropdownListPosition" }] : /* istanbul ignore next */ []);
223
+ this.searchEnabled = input(true, ...ngDevMode ? [{ debugName: "searchEnabled" }] : /* istanbul ignore next */ []);
224
+ this.noDataMessage = input("No Data", ...ngDevMode ? [{ debugName: "noDataMessage" }] : /* istanbul ignore next */ []);
225
+ this.onChange = output();
226
+ this.isOpen = signal(false, ...ngDevMode ? [{ debugName: "isOpen" }] : /* istanbul ignore next */ []);
227
+ this.subItems = signal([], ...ngDevMode ? [{ debugName: "subItems" }] : /* istanbul ignore next */ []);
228
+ this.selectedItems = signal([], ...ngDevMode ? [{ debugName: "selectedItems" }] : /* istanbul ignore next */ []);
229
+ this.internalData = signal([], ...ngDevMode ? [{ debugName: "internalData" }] : /* istanbul ignore next */ []);
230
+ this.internalLabel = signal("Select", ...ngDevMode ? [{ debugName: "internalLabel" }] : /* istanbul ignore next */ []);
231
+ effect(() => {
232
+ const inputData = this.data();
233
+ this.internalData.set(inputData);
234
+ });
235
+ effect(() => {
236
+ const inputLabel = this.label();
237
+ this.internalLabel.set(inputLabel);
238
+ });
239
+ effect(() => {
240
+ const dataValue = this.internalData();
241
+ const selectedItems = [];
242
+ dataValue?.forEach((q) => q?.children?.forEach((w) => {
243
+ if (w.checked) selectedItems.push(w);
244
+ }));
245
+ this.selectedItems.set(selectedItems);
246
+ });
247
+ effect(() => {
248
+ const selectedItems = this.selectedItems();
249
+ if (selectedItems.length > 0) this.internalLabel.set(selectedItems[0].label);
250
+ else this.internalLabel.set(this.label());
251
+ });
252
+ }
253
+ ngOnInit() {}
254
+ filterByValue(array, string) {
255
+ return array.filter((o) => o.label.toLowerCase().includes(string.toLowerCase()));
256
+ }
257
+ toggleDropdown() {
258
+ const currentIsOpen = this.isOpen();
259
+ this.isOpen.set(!currentIsOpen);
260
+ if (!currentIsOpen) this.openDropdown(this.popupContainer, this.selectElement.nativeElement, false);
261
+ else this.onCancel();
262
+ }
263
+ openDropdown(template, origin, openRight) {
264
+ const positionsBottom = [new ConnectionPositionPair({
265
+ originX: "start",
266
+ originY: "bottom"
267
+ }, {
268
+ overlayX: "start",
269
+ overlayY: "top"
270
+ }, 0, 4), new ConnectionPositionPair({
271
+ originX: "end",
272
+ originY: "bottom"
273
+ }, {
274
+ overlayX: "end",
275
+ overlayY: "top"
276
+ }, 0, 4)];
277
+ const positionsTop = [new ConnectionPositionPair({
278
+ originX: "start",
279
+ originY: "top"
280
+ }, {
281
+ overlayX: "start",
282
+ overlayY: "bottom"
283
+ }, 0, -4), new ConnectionPositionPair({
284
+ originX: "end",
285
+ originY: "top"
286
+ }, {
287
+ overlayX: "end",
288
+ overlayY: "bottom"
289
+ }, 0, -4)];
290
+ const positions = [...this.dropdownListPosition() === "Right" ? positionsBottom.reverse() : positionsBottom, ...this.dropdownListPosition() === "Right" ? positionsTop.reverse() : positionsTop];
291
+ const positionStrategy = this.overlay.position().flexibleConnectedTo(origin).withPositions(openRight ? [new ConnectionPositionPair({
292
+ originX: "end",
293
+ originY: "top"
294
+ }, {
295
+ overlayX: "start",
296
+ overlayY: "top"
297
+ }, 8)] : positions).withPush(true);
298
+ const configs = new OverlayConfig({
299
+ hasBackdrop: !openRight,
300
+ backdropClass: "cdk-overlay-transparent-backdrop",
301
+ scrollStrategy: this.overlay.scrollStrategies.reposition(),
302
+ positionStrategy,
303
+ width: origin.clientWidth || 140
304
+ });
305
+ if (openRight) {
306
+ this.subOverlayRef = this.overlay.create(configs);
307
+ const dropdownWidth = this.dropdownListWidth();
308
+ const dropdownHeight = this.dropdownListHeight();
309
+ if (dropdownWidth) this.subOverlayRef.updateSize({ width: dropdownWidth });
310
+ if (dropdownHeight) this.subOverlayRef.updateSize({ height: dropdownHeight });
311
+ this.subOverlayRef.attach(new TemplatePortal(template, this.viewContainerRef));
312
+ this.subOverlayRef.backdropClick().subscribe(() => {
313
+ this.onCancel();
314
+ });
315
+ return;
316
+ }
317
+ this.overlayRef = this.overlay.create(configs);
318
+ const dropdownWidth = this.dropdownListWidth();
319
+ const dropdownHeight = this.dropdownListHeight();
320
+ if (dropdownWidth) this.overlayRef.updateSize({ width: dropdownWidth });
321
+ if (dropdownHeight) this.overlayRef.updateSize({ height: dropdownHeight });
322
+ this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));
323
+ this.overlayRef.backdropClick().subscribe(() => {
324
+ this.onCancel();
325
+ });
326
+ }
327
+ selectItem(item) {
328
+ const currentData = this.internalData();
329
+ const currentSelectedItems = this.selectedItems();
330
+ if (currentData.some((q) => q.children?.some((w) => w.value === item.value && w.checked))) {
331
+ if (item.type === "MULTIPLE") this.selectedItems.set(currentSelectedItems.filter((q) => q.value !== item.value));
332
+ const updatedData = currentData.map((q) => ({
333
+ ...q,
334
+ children: q?.children?.map((e) => ({
335
+ ...e,
336
+ checked: e.checked && e.value !== item.value
337
+ }))
338
+ }));
339
+ this.internalData.set(updatedData);
340
+ } else {
341
+ const updatedData = currentData.map((q) => ({
342
+ ...q,
343
+ children: q?.children?.map((e) => ({
344
+ ...e,
345
+ checked: e.type === "MULTIPLE" && (e.checked || e.value === item.value) || e.type === "SINGLE" && e.value === item.value
346
+ }))
347
+ }));
348
+ this.internalData.set(updatedData);
349
+ if (item.type === "MULTIPLE") this.selectedItems.set([...currentSelectedItems, {
350
+ ...item,
351
+ checked: true
352
+ }]);
353
+ }
354
+ const newSubItems = this.internalData().find((q) => q.children?.some((w) => w.value === item.value))?.children || [];
355
+ this.subItems.set(newSubItems);
356
+ this.onChange.emit(this.internalData());
357
+ if (item.type === "SINGLE") this.toggleDropdown();
358
+ }
359
+ onHover(item, isHovered, element) {
360
+ if (isHovered) {
361
+ this.subItems().length > 0 && this.subOverlayRef?.detach();
362
+ const newSubItems = this.internalData().find((q) => q?.children?.some((w) => w?.parentValue === item?.value))?.children || [];
363
+ this.subItems.set(newSubItems);
364
+ newSubItems.length > 0 && this.openDropdown(this.subPopupContainer, element?.nativeElement || element, true);
365
+ } else {
366
+ this.subItems.set([]);
367
+ this.subOverlayRef?.detach();
368
+ }
369
+ }
370
+ onCancel() {
371
+ this.isOpen.set(false);
372
+ this.overlayRef?.detach();
373
+ this.subOverlayRef?.detach();
374
+ }
375
+ static {
376
+ this.ɵfac = function ActionListComponent_Factory(__ngFactoryType__) {
377
+ return new (__ngFactoryType__ || ActionListComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.Overlay), i0.ɵɵdirectiveInject(i0.ViewContainerRef));
378
+ };
379
+ }
380
+ static {
381
+ this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
382
+ type: ActionListComponent,
383
+ selectors: [["mis-action-list"]],
384
+ viewQuery: function ActionListComponent_Query(rf, ctx) {
385
+ if (rf & 1) i0.ɵɵviewQuery(_c0, 5)(_c1, 5)(_c2, 5);
386
+ if (rf & 2) {
387
+ let _t;
388
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.selectElement = _t.first);
389
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popupContainer = _t.first);
390
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.subPopupContainer = _t.first);
391
+ }
392
+ },
393
+ inputs: {
394
+ data: [1, "data"],
395
+ height: [1, "height"],
396
+ width: [1, "width"],
397
+ label: [1, "label"],
398
+ dropdownListHeight: [1, "dropdownListHeight"],
399
+ dropdownListWidth: [1, "dropdownListWidth"],
400
+ dropdownListPosition: [1, "dropdownListPosition"],
401
+ searchEnabled: [1, "searchEnabled"],
402
+ noDataMessage: [1, "noDataMessage"]
403
+ },
404
+ outputs: { onChange: "onChange" },
405
+ standalone: false,
406
+ decls: 15,
407
+ vars: 12,
408
+ consts: [
409
+ ["select", ""],
410
+ ["popupContainer", ""],
411
+ ["subPopupContainer", ""],
412
+ ["tickIcon", ""],
413
+ ["singleItem", ""],
414
+ [
415
+ 1,
416
+ "main-container",
417
+ 3,
418
+ "ngStyle"
419
+ ],
420
+ [
421
+ "tabindex",
422
+ "0",
423
+ 1,
424
+ "dropdown",
425
+ 3,
426
+ "keyup.enter",
427
+ "click",
428
+ "ngStyle"
429
+ ],
430
+ [1, "label"],
431
+ [1, "text"],
432
+ [1, "count"],
433
+ [
434
+ "width",
435
+ "20",
436
+ "height",
437
+ "20",
438
+ "viewBox",
439
+ "0 0 20 20",
440
+ "fill",
441
+ "none",
442
+ "xmlns",
443
+ "http://www.w3.org/2000/svg",
444
+ 1,
445
+ "handle",
446
+ 3,
447
+ "ngStyle"
448
+ ],
449
+ [
450
+ "fill-rule",
451
+ "evenodd",
452
+ "clip-rule",
453
+ "evenodd",
454
+ "d",
455
+ "M13.825 7.15845L10 10.9751L6.175 7.15845L5 8.33345L10 13.3334L15 8.33345L13.825 7.15845Z",
456
+ "fill",
457
+ "#181F33"
458
+ ],
459
+ [
460
+ 1,
461
+ "popup-container",
462
+ 3,
463
+ "ngStyle"
464
+ ],
465
+ [1, "items"],
466
+ [
467
+ "tabindex",
468
+ "0",
469
+ 1,
470
+ "item",
471
+ 3,
472
+ "ngClass"
473
+ ],
474
+ [1, "noData"],
475
+ [
476
+ "tabindex",
477
+ "0",
478
+ 1,
479
+ "item",
480
+ 3,
481
+ "mouseenter",
482
+ "ngClass"
483
+ ],
484
+ [
485
+ 1,
486
+ "label",
487
+ 3,
488
+ "ngStyle"
489
+ ],
490
+ [1, "icon-container"],
491
+ [
492
+ "alt",
493
+ "no img",
494
+ 1,
495
+ "icon",
496
+ 3,
497
+ "src"
498
+ ],
499
+ [
500
+ "tabindex",
501
+ "0",
502
+ 1,
503
+ "item",
504
+ 3,
505
+ "click",
506
+ "ngClass"
507
+ ],
508
+ [1, "checkbox-container"],
509
+ [
510
+ 3,
511
+ "disabled",
512
+ "checked"
513
+ ],
514
+ [4, "ngTemplateOutlet"],
515
+ [
516
+ "width",
517
+ "20",
518
+ "height",
519
+ "20",
520
+ "viewBox",
521
+ "0 0 20 20",
522
+ "fill",
523
+ "none",
524
+ "xmlns",
525
+ "http://www.w3.org/2000/svg"
526
+ ],
527
+ [
528
+ "fill-rule",
529
+ "evenodd",
530
+ "clip-rule",
531
+ "evenodd",
532
+ "d",
533
+ "M7.47697 14.8237L3.49922 10.5519C3.2776 10.3169 3.2776 9.93437 3.49922 9.69684L4.30273 8.84298C4.52434 8.60795 4.88462 8.60795 5.10623 8.84298L7.87929 11.8334L14.0607 5.17627C14.2823 4.94124 14.6426 4.94124 14.8642 5.17627L15.6677 6.03138C15.8894 6.26641 15.8894 6.65021 15.6677 6.88399L8.28048 14.8237C8.05886 15.0588 7.69859 15.0588 7.47697 14.8237Z",
534
+ "fill",
535
+ "#181F33"
536
+ ]
537
+ ],
538
+ template: function ActionListComponent_Template(rf, ctx) {
539
+ if (rf & 1) {
540
+ i0.ɵɵelementStart(0, "div", 5)(1, "div", 6, 0);
541
+ i0.ɵɵlistener("keyup.enter", function ActionListComponent_Template_div_keyup_enter_1_listener() {
542
+ return ctx.toggleDropdown();
543
+ })("click", function ActionListComponent_Template_div_click_1_listener() {
544
+ return ctx.toggleDropdown();
545
+ });
546
+ i0.ɵɵelementStart(3, "div", 7)(4, "p", 8);
547
+ i0.ɵɵtext(5);
548
+ i0.ɵɵelementEnd();
549
+ i0.ɵɵconditionalCreate(6, ActionListComponent_Conditional_6_Template, 2, 1, "p", 9);
550
+ i0.ɵɵelementEnd();
551
+ i0.ɵɵnamespaceSVG();
552
+ i0.ɵɵelementStart(7, "svg", 10);
553
+ i0.ɵɵelement(8, "path", 11);
554
+ i0.ɵɵelementEnd()()();
555
+ i0.ɵɵtemplate(9, ActionListComponent_ng_template_9_Template, 5, 5, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(11, ActionListComponent_ng_template_11_Template, 5, 5, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor)(13, ActionListComponent_ng_template_13_Template, 2, 0, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
556
+ }
557
+ if (rf & 2) {
558
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(5, _c3, ctx.height().length > 0 ? ctx.height() : "", ctx.width().length > 0 ? ctx.width() : ""));
559
+ i0.ɵɵadvance();
560
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(8, _c4, ctx.isOpen() ? "#E6EBF7" : ""));
561
+ i0.ɵɵadvance(4);
562
+ i0.ɵɵtextInterpolate1(" ", ctx.internalLabel(), " ");
563
+ i0.ɵɵadvance();
564
+ i0.ɵɵconditional(ctx.selectedItems()?.length > 1 ? 6 : -1);
565
+ i0.ɵɵadvance();
566
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(10, _c5, ctx.isOpen() ? "rotate(180deg)" : "rotate(0deg)"));
567
+ }
568
+ },
569
+ dependencies: [
570
+ i2.NgClass,
571
+ i2.NgTemplateOutlet,
572
+ i2.NgStyle,
573
+ i3.CheckboxComponent
574
+ ],
575
+ styles: ["[_ngcontent-%COMP%]:root{--%NS%pmry-200: #99BAF7;--%NS%pmry-100: #CBDDFB;--%NS%pmry-500: #0937B2;--%NS%pmry-400: #3C68D0;--%NS%pmry-600: #062A99;--%NS%pmry-700: #041F80;--%NS%pmry-300: #638FE7;--%NS%pmry-800: #021567;--%NS%pmry-900: #010F55;--%NS%sec-d-purple: #40447F;--%NS%sec-maroon: #6B034E;--%NS%sec-mud-red: #B23600;--%NS%sec-orange: #ED711C;--%NS%sec-purple: #815FD5;--%NS%sec-teal: #10ADAE;--%NS%sec-yellow: #D4900C;--%NS%sec-green: #547F40;--%NS%sec-bright-green: #27D22E;--%NS%sec-dark-teal: #035F6B;--%NS%sec-chocolate: #7C2F33;--%NS%sec-rube-pink: #C13D6D;--%NS%sec-cerulean: #0087B2;--%NS%sem-error: #B00020;--%NS%sem-info: #0091FF;--%NS%sem-warning: #FF9D00;--%NS%sem-success: #38AF49;--%NS%grey-bg-1: #FAFAFA;--%NS%grey-bg: #F5F5F5;--%NS%grey-seperators: #E0E0E0;--%NS%grey-disabled: #C8CDD3;--%NS%grey-hover: #F5F7FC;--%NS%grey-pressed: #E6EBF7;--%NS%grey-row: #F5F7FC;--%NS%dec-light-yellow: #F4E7C3;--%NS%dec-light-purple: #DACFF9;--%NS%dec-light-green: #E4F5E9;--%NS%dec-light-green2: #F1FFF3;--%NS%dec-light-pink: #FAE1EA;--%NS%dec-: #F4CBC1;--%NS%dec-lt-orange: #FAEFED;--%NS%dec-light-blue: #CFECF9;--%NS%dec-row-selection: #F1FDF8;--%NS%dec-row-selection2: #F2FBFF;--%NS%dec-row-lines: #D3E1E9;--%NS%text-white: #FFFFFF;--%NS%text-muted: #6A737D;--%NS%text-black: #181F33;--%NS%MR-solid-blue2:#C8D5F6;--%NS%MR-solid-purple:#C9C3FB;--%NS%MR-solid-orange:#EEAC9F;--%NS%MR-solid-green:#ACDADA;--%NS%MR-solid-brown:#E8C8AF;--%NS%MR-solid-yellow:#FFEFC7;--%NS%MR-solid-blue:#BBE6FF;--%NS%MR-solid-pink:#FFC6F2;--%NS%tr-hover:#F0F3FA;--%NS%tr-pressed:#DAE1F3;--%NS%brand-primary: #0937B2;--%NS%brand-primary-light: #3C68D0;--%NS%brand-primary-dark: #062A99;--%NS%brand-primary-darker: #041F80;--%NS%brand-primary-lighter: #638FE7;--%NS%brand-primary-lightest: #CBDDFB;--%NS%brand-primary-hover: #F0F3FA;--%NS%brand-primary-active: #DAE1F3;--%NS%brand-secondary: #ED711C;--%NS%brand-secondary-light: #F09E65;--%NS%brand-secondary-dark: #B23600;--%NS%brand-secondary-lighter: #FFC6F2;--%NS%brand-accent: #10ADAE;--%NS%brand-accent-light: #16CBBC;--%NS%brand-accent-dark: #035F6B;--%NS%brand-accent-lighter: #ACDADA;--%NS%brand-success: #38AF49;--%NS%brand-success-light: #4CAF50;--%NS%brand-success-dark: #216531;--%NS%brand-success-lighter: #E4F5E9;--%NS%brand-success-lightest: #F1FFF3;--%NS%brand-error: #B00020;--%NS%brand-error-light: #F04E4E;--%NS%brand-error-dark: #A60060;--%NS%brand-error-lighter: #FAE1EA;--%NS%brand-error-lightest: #FDF2F2;--%NS%brand-warning: #FF9D00;--%NS%brand-warning-light: #D4900C;--%NS%brand-warning-dark: #624000;--%NS%brand-warning-lighter: #F4E7C3;--%NS%brand-warning-lightest: #FAEFED;--%NS%brand-info: #0091FF;--%NS%brand-info-light: #35A1FF;--%NS%brand-info-dark: #0087B2;--%NS%brand-info-lighter: #CFECF9;--%NS%text-primary: #181F33;--%NS%text-secondary: #6A737D;--%NS%text-tertiary: #929DAB;--%NS%text-disabled: #929DAB;--%NS%text-muted-secondary: #E5E5E5;--%NS%text-primary-87: rgba(24, 31, 51, .87);--%NS%text-primary-60: rgba(24, 31, 51, .6);--%NS%text-primary-38: rgba(24, 31, 51, .38);--%NS%text-primary-12: rgba(24, 31, 51, .12);--%NS%bg-primary: #FFFFFF;--%NS%bg-secondary: #FAFAFA;--%NS%bg-tertiary: #F5F5F5;--%NS%bg-overlay: rgba(0, 0, 0, .32);--%NS%bg-overlay-light: rgba(0, 0, 0, .12);--%NS%bg-overlay-lighter: rgba(0, 0, 0, .08);--%NS%bg-overlay-lightest: rgba(0, 0, 0, .04);--%NS%border-primary: #E0E0E0;--%NS%border-secondary: #D6DCE2;--%NS%border-tertiary: #C8CDD3;--%NS%border-light: #F1F4F8;--%NS%border-primary-12: rgba(0, 0, 0, .12);--%NS%border-primary-08: rgba(0, 0, 0, .08);--%NS%border-primary-06: rgba(0, 0, 0, .06);--%NS%shadow-primary: rgba(0, 0, 0, .12);--%NS%shadow-secondary: rgba(0, 0, 0, .08);--%NS%shadow-tertiary: rgba(0, 0, 0, .04);--%NS%shadow-light: rgba(0, 0, 0, .06);--%NS%status-available: #929DAB;--%NS%status-unavailable: #CCD3DA;--%NS%status-hotseat: #857BFF;--%NS%status-multiteam: #10ADAE;--%NS%status-selected: #10ADAE;--%NS%status-upcoming: #D4900C;--%NS%status-room: #38AF49;--%NS%status-room-booked: #B23600;--%NS%status-room-unavailable: #181F33;--%NS%team-color-1: #F8C52E;--%NS%team-color-2: #FA8E20;--%NS%team-color-3: #987CDD;--%NS%team-color-4: #16CBBC;--%NS%team-color-5: #E65010;--%NS%team-color-6: #A60060;--%NS%team-color-7: #ED323B;--%NS%team-color-8: #35A1FF;--%NS%team-color-9: #80D348}.main-container[_ngcontent-%COMP%]{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;height:32px;width:256px;font-family:Lato,sans-serif!important}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:inherit;border:1px solid var(--%NS%border-primary, #E0E0E0);border-radius:6px;background-color:var(--%NS%bg-primary, #FFFFFF);cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;padding:4px 12px}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]:hover, .main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%]:focus-visible{background-color:var(--%NS%brand-primary-hover, #F0F3FA);outline:none}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--%NS%text-primary, #181F33)}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{margin:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--%NS%text-primary, #181F33)}.main-container[_ngcontent-%COMP%] .dropdown[_ngcontent-%COMP%] .label[_ngcontent-%COMP%] .count[_ngcontent-%COMP%]{width:24px;height:24px;background-color:var(--%NS%border-primary, #E0E0E0);border-radius:50%;padding:2px 4px;margin:0 0 0 8px;font-style:normal;font-weight:400;box-sizing:border-box;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px;color:var(--%NS%text-primary, #181F33)}.main-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%]{width:100%;max-height:340px;padding-bottom:0;border:1px solid var(--%NS%border-primary, #E0E0E0);border-radius:8px;background-color:var(--%NS%bg-primary, #FFFFFF);box-shadow:0 12px 24px #0000001f;display:flex;flex-direction:column;overflow:hidden;justify-content:space-between}.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 var(--%NS%border-primary, #E0E0E0);box-sizing:border-box;border-radius:8px;outline:none;caret-color:var(--%NS%brand-primary, #0937B2);font-style:normal;font-weight:400;font-size:12px;line-height:18px;display:flex;align-items:center;letter-spacing:.2px;color:var(--%NS%text-primary, #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}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:0}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--%NS%text-tertiary, #929DAB);border-radius:10px}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%]{overflow-y:scroll}.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:16px;line-height:20px;letter-spacing:.2px;color:var(--%NS%text-primary, #181F33)}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;height:auto;letter-spacing:.2px;color:var(--%NS%text-primary, #181F33)}.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:var(--%NS%brand-primary-hover, #F0F3FA);outline:none}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{width:100%;line-height:20px;font-size:16px;font-style:normal;font-weight:400;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%] .items[_ngcontent-%COMP%] .item-disabled[_ngcontent-%COMP%]{cursor:not-allowed}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item-disabled[_ngcontent-%COMP%]:hover, .popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item-disabled[_ngcontent-%COMP%]:focus-visible{background-color:transparent;outline:none}.popup-container[_ngcontent-%COMP%] .items[_ngcontent-%COMP%] .item-disabled[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{color:var(--%NS%text-tertiary, #929DAB);-webkit-user-select:none;user-select:none}"],
576
+ changeDetection: 1
577
+ });
578
+ }
579
+ };
580
+ (() => {
581
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionListComponent, [{
582
+ type: Component,
583
+ args: [{
584
+ selector: "mis-action-list",
585
+ changeDetection: ChangeDetectionStrategy.Eager,
586
+ standalone: false,
587
+ template: "<div\n class=\"main-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\">\n {{ internalLabel() }}\n </p>\n @if (selectedItems()?.length > 1) {\n <p class=\"count\">+{{ selectedItems()?.length - 1 }}</p>\n }\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\n<ng-template #popupContainer>\n <div\n class=\"popup-container\"\n [ngStyle]=\"{\n height: dropdownListHeight(),\n width: dropdownListWidth()\n }\"\n >\n <div class=\"items\">\n @for (item of internalData(); track item) {\n <div\n #singleItem\n class=\"item\"\n tabindex=\"0\"\n [ngClass]=\"{ 'item-disabled': $safeNavigationMigration(item?.disabled) }\"\n (mouseenter)=\"onHover(item, true, singleItem)\"\n >\n <div class=\"label\" [ngStyle]=\"{ width: item?.icon ? '90%' : '100%' }\">\n <span>{{ item?.label }}</span>\n </div>\n @if (item?.icon) {\n <div class=\"icon-container\">\n <img class=\"icon\" [src]=\"item.icon\" alt=\"no img\" />\n </div>\n }\n </div>\n }\n @if (internalData().length === 0) {\n <div class=\"noData\">\n {{ noDataMessage() || \"No results\" }}\n </div>\n }\n </div>\n </div>\n</ng-template>\n\n<ng-template #subPopupContainer>\n <div\n class=\"popup-container\"\n [ngStyle]=\"{\n height: dropdownListHeight(),\n width: dropdownListWidth()\n }\"\n >\n <div class=\"items\">\n @for (item of subItems(); track item) {\n <div\n class=\"item\"\n tabindex=\"0\"\n [ngClass]=\"{ 'item-disabled': item.disabled }\"\n (click)=\"!item.disabled && selectItem(item)\"\n >\n @if (item.type === 'MULTIPLE') {\n <div class=\"checkbox-container\">\n <mis-checkbox [disabled]=\"item.disabled\" [checked]=\"item.checked\"></mis-checkbox>\n </div>\n }\n <div class=\"label\" [ngStyle]=\"{ width: item.icon ? '90%' : '100%' }\">\n <span>{{ item.label }}</span>\n </div>\n @if (item.icon || item.checked) {\n <div class=\"icon-container\">\n @if (!item.checked) {\n <img class=\"icon\" [src]=\"item.icon\" alt=\"no img\" />\n }\n @if (item.type === 'SINGLE' && item.checked) {\n <ng-container *ngTemplateOutlet=\"tickIcon\"></ng-container>\n }\n </div>\n }\n </div>\n }\n @if (internalData().length === 0) {\n <div class=\"noData\">\n {{ noDataMessage() || \"No results\" }}\n </div>\n }\n </div>\n </div>\n</ng-template>\n<ng-template #tickIcon>\n <svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M7.47697 14.8237L3.49922 10.5519C3.2776 10.3169 3.2776 9.93437 3.49922 9.69684L4.30273 8.84298C4.52434 8.60795 4.88462 8.60795 5.10623 8.84298L7.87929 11.8334L14.0607 5.17627C14.2823 4.94124 14.6426 4.94124 14.8642 5.17627L15.6677 6.03138C15.8894 6.26641 15.8894 6.65021 15.6677 6.88399L8.28048 14.8237C8.05886 15.0588 7.69859 15.0588 7.47697 14.8237Z\"\n fill=\"#181F33\"\n />\n </svg>\n</ng-template>\n",
588
+ styles: [":root{--pmry-200: #99BAF7;--pmry-100: #CBDDFB;--pmry-500: #0937B2;--pmry-400: #3C68D0;--pmry-600: #062A99;--pmry-700: #041F80;--pmry-300: #638FE7;--pmry-800: #021567;--pmry-900: #010F55;--sec-d-purple: #40447F;--sec-maroon: #6B034E;--sec-mud-red: #B23600;--sec-orange: #ED711C;--sec-purple: #815FD5;--sec-teal: #10ADAE;--sec-yellow: #D4900C;--sec-green: #547F40;--sec-bright-green: #27D22E;--sec-dark-teal: #035F6B;--sec-chocolate: #7C2F33;--sec-rube-pink: #C13D6D;--sec-cerulean: #0087B2;--sem-error: #B00020;--sem-info: #0091FF;--sem-warning: #FF9D00;--sem-success: #38AF49;--grey-bg-1: #FAFAFA;--grey-bg: #F5F5F5;--grey-seperators: #E0E0E0;--grey-disabled: #C8CDD3;--grey-hover: #F5F7FC;--grey-pressed: #E6EBF7;--grey-row: #F5F7FC;--dec-light-yellow: #F4E7C3;--dec-light-purple: #DACFF9;--dec-light-green: #E4F5E9;--dec-light-green2: #F1FFF3;--dec-light-pink: #FAE1EA;--dec-: #F4CBC1;--dec-lt-orange: #FAEFED;--dec-light-blue: #CFECF9;--dec-row-selection: #F1FDF8;--dec-row-selection2: #F2FBFF;--dec-row-lines: #D3E1E9;--text-white: #FFFFFF;--text-muted: #6A737D;--text-black: #181F33;--MR-solid-blue2:#C8D5F6;--MR-solid-purple:#C9C3FB;--MR-solid-orange:#EEAC9F;--MR-solid-green:#ACDADA;--MR-solid-brown:#E8C8AF;--MR-solid-yellow:#FFEFC7;--MR-solid-blue:#BBE6FF;--MR-solid-pink:#FFC6F2;--tr-hover:#F0F3FA;--tr-pressed:#DAE1F3;--brand-primary: #0937B2;--brand-primary-light: #3C68D0;--brand-primary-dark: #062A99;--brand-primary-darker: #041F80;--brand-primary-lighter: #638FE7;--brand-primary-lightest: #CBDDFB;--brand-primary-hover: #F0F3FA;--brand-primary-active: #DAE1F3;--brand-secondary: #ED711C;--brand-secondary-light: #F09E65;--brand-secondary-dark: #B23600;--brand-secondary-lighter: #FFC6F2;--brand-accent: #10ADAE;--brand-accent-light: #16CBBC;--brand-accent-dark: #035F6B;--brand-accent-lighter: #ACDADA;--brand-success: #38AF49;--brand-success-light: #4CAF50;--brand-success-dark: #216531;--brand-success-lighter: #E4F5E9;--brand-success-lightest: #F1FFF3;--brand-error: #B00020;--brand-error-light: #F04E4E;--brand-error-dark: #A60060;--brand-error-lighter: #FAE1EA;--brand-error-lightest: #FDF2F2;--brand-warning: #FF9D00;--brand-warning-light: #D4900C;--brand-warning-dark: #624000;--brand-warning-lighter: #F4E7C3;--brand-warning-lightest: #FAEFED;--brand-info: #0091FF;--brand-info-light: #35A1FF;--brand-info-dark: #0087B2;--brand-info-lighter: #CFECF9;--text-primary: #181F33;--text-secondary: #6A737D;--text-tertiary: #929DAB;--text-disabled: #929DAB;--text-muted-secondary: #E5E5E5;--text-primary-87: rgba(24, 31, 51, .87);--text-primary-60: rgba(24, 31, 51, .6);--text-primary-38: rgba(24, 31, 51, .38);--text-primary-12: rgba(24, 31, 51, .12);--bg-primary: #FFFFFF;--bg-secondary: #FAFAFA;--bg-tertiary: #F5F5F5;--bg-overlay: rgba(0, 0, 0, .32);--bg-overlay-light: rgba(0, 0, 0, .12);--bg-overlay-lighter: rgba(0, 0, 0, .08);--bg-overlay-lightest: rgba(0, 0, 0, .04);--border-primary: #E0E0E0;--border-secondary: #D6DCE2;--border-tertiary: #C8CDD3;--border-light: #F1F4F8;--border-primary-12: rgba(0, 0, 0, .12);--border-primary-08: rgba(0, 0, 0, .08);--border-primary-06: rgba(0, 0, 0, .06);--shadow-primary: rgba(0, 0, 0, .12);--shadow-secondary: rgba(0, 0, 0, .08);--shadow-tertiary: rgba(0, 0, 0, .04);--shadow-light: rgba(0, 0, 0, .06);--status-available: #929DAB;--status-unavailable: #CCD3DA;--status-hotseat: #857BFF;--status-multiteam: #10ADAE;--status-selected: #10ADAE;--status-upcoming: #D4900C;--status-room: #38AF49;--status-room-booked: #B23600;--status-room-unavailable: #181F33;--team-color-1: #F8C52E;--team-color-2: #FA8E20;--team-color-3: #987CDD;--team-color-4: #16CBBC;--team-color-5: #E65010;--team-color-6: #A60060;--team-color-7: #ED323B;--team-color-8: #35A1FF;--team-color-9: #80D348}.main-container{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;height:32px;width:256px;font-family:Lato,sans-serif!important}.main-container .dropdown{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:inherit;border:1px solid var(--border-primary, #E0E0E0);border-radius:6px;background-color:var(--bg-primary, #FFFFFF);cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;padding:4px 12px}.main-container .dropdown:hover,.main-container .dropdown:focus-visible{background-color:var(--brand-primary-hover, #F0F3FA);outline:none}.main-container .dropdown .label{box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--text-primary, #181F33)}.main-container .dropdown .label .text{margin:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--text-primary, #181F33)}.main-container .dropdown .label .count{width:24px;height:24px;background-color:var(--border-primary, #E0E0E0);border-radius:50%;padding:2px 4px;margin:0 0 0 8px;font-style:normal;font-weight:400;box-sizing:border-box;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px;color:var(--text-primary, #181F33)}.main-container .dropdown .handle{width:24px;height:24px;transition:.3s;position:absolute;right:12px;border-radius:50%;overflow:hidden}.popup-container{width:100%;max-height:340px;padding-bottom:0;border:1px solid var(--border-primary, #E0E0E0);border-radius:8px;background-color:var(--bg-primary, #FFFFFF);box-shadow:0 12px 24px #0000001f;display:flex;flex-direction:column;overflow:hidden;justify-content:space-between}.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 var(--border-primary, #E0E0E0);box-sizing:border-box;border-radius:8px;outline:none;caret-color:var(--brand-primary, #0937B2);font-style:normal;font-weight:400;font-size:12px;line-height:18px;display:flex;align-items:center;letter-spacing:.2px;color:var(--text-primary, #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}.popup-container .items::-webkit-scrollbar{width:5px;height:0}.popup-container .items::-webkit-scrollbar-thumb{background:var(--text-tertiary, #929DAB);border-radius:10px}.popup-container .items{overflow-y:scroll}.popup-container .items .noData{display:flex;justify-content:center;align-items:center;font-style:normal;font-weight:400;font-size:16px;line-height:20px;letter-spacing:.2px;color:var(--text-primary, #181F33)}.popup-container .items .item{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;height:auto;letter-spacing:.2px;color:var(--text-primary, #181F33)}.popup-container .items .item:hover,.popup-container .items .item:focus-visible{background-color:var(--brand-primary-hover, #F0F3FA);outline:none}.popup-container .items .item .label{width:100%;line-height:20px;font-size:16px;font-style:normal;font-weight:400;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 .items .item-disabled{cursor:not-allowed}.popup-container .items .item-disabled:hover,.popup-container .items .item-disabled:focus-visible{background-color:transparent;outline:none}.popup-container .items .item-disabled .label{color:var(--text-tertiary, #929DAB);-webkit-user-select:none;user-select:none}\n"]
589
+ }]
590
+ }], () => [
591
+ { type: i0.ElementRef },
592
+ { type: i1.Overlay },
593
+ { type: i0.ViewContainerRef }
594
+ ], {
595
+ data: [{
596
+ type: i0.Input,
597
+ args: [{
598
+ isSignal: true,
599
+ alias: "data",
600
+ required: false
601
+ }]
602
+ }],
603
+ height: [{
604
+ type: i0.Input,
605
+ args: [{
606
+ isSignal: true,
607
+ alias: "height",
608
+ required: false
609
+ }]
610
+ }],
611
+ width: [{
612
+ type: i0.Input,
613
+ args: [{
614
+ isSignal: true,
615
+ alias: "width",
616
+ required: false
617
+ }]
618
+ }],
619
+ label: [{
620
+ type: i0.Input,
621
+ args: [{
622
+ isSignal: true,
623
+ alias: "label",
624
+ required: false
625
+ }]
626
+ }],
627
+ dropdownListHeight: [{
628
+ type: i0.Input,
629
+ args: [{
630
+ isSignal: true,
631
+ alias: "dropdownListHeight",
632
+ required: false
633
+ }]
634
+ }],
635
+ dropdownListWidth: [{
636
+ type: i0.Input,
637
+ args: [{
638
+ isSignal: true,
639
+ alias: "dropdownListWidth",
640
+ required: false
641
+ }]
642
+ }],
643
+ dropdownListPosition: [{
644
+ type: i0.Input,
645
+ args: [{
646
+ isSignal: true,
647
+ alias: "dropdownListPosition",
648
+ required: false
649
+ }]
650
+ }],
651
+ searchEnabled: [{
652
+ type: i0.Input,
653
+ args: [{
654
+ isSignal: true,
655
+ alias: "searchEnabled",
656
+ required: false
657
+ }]
658
+ }],
659
+ noDataMessage: [{
660
+ type: i0.Input,
661
+ args: [{
662
+ isSignal: true,
663
+ alias: "noDataMessage",
664
+ required: false
665
+ }]
666
+ }],
667
+ onChange: [{
668
+ type: i0.Output,
669
+ args: ["onChange"]
670
+ }],
671
+ selectElement: [{
672
+ type: ViewChild,
673
+ args: ["select", { static: false }]
674
+ }],
675
+ popupContainer: [{
676
+ type: ViewChild,
677
+ args: ["popupContainer", { static: false }]
678
+ }],
679
+ subPopupContainer: [{
680
+ type: ViewChild,
681
+ args: ["subPopupContainer", { static: false }]
682
+ }]
683
+ });
684
+ })();
685
+ (() => {
686
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ActionListComponent, {
687
+ className: "ActionListComponent",
688
+ filePath: "action-list.component.ts",
689
+ lineNumber: 12
690
+ });
691
+ })();
692
+ var ActionListModule = class ActionListModule {
693
+ static forRoot() {
694
+ return {
695
+ ngModule: ActionListModule,
696
+ providers: []
697
+ };
698
+ }
699
+ static {
700
+ this.ɵfac = function ActionListModule_Factory(__ngFactoryType__) {
701
+ return new (__ngFactoryType__ || ActionListModule)();
702
+ };
703
+ }
704
+ static {
705
+ this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ActionListModule });
706
+ }
707
+ static {
708
+ this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [
709
+ CommonModule,
710
+ FormsModule,
711
+ OverlayModule,
712
+ CheckboxModule
713
+ ] });
714
+ }
715
+ };
716
+ (() => {
717
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ActionListModule, [{
718
+ type: NgModule,
719
+ args: [{
720
+ declarations: [ActionListComponent],
721
+ imports: [
722
+ CommonModule,
723
+ FormsModule,
724
+ OverlayModule,
725
+ CheckboxModule
726
+ ],
727
+ exports: [ActionListComponent]
728
+ }]
729
+ }], null, null);
730
+ })();
731
+ (function() {
732
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ActionListModule, {
733
+ declarations: [ActionListComponent],
734
+ imports: [
735
+ CommonModule,
736
+ FormsModule,
737
+ OverlayModule,
738
+ CheckboxModule
739
+ ],
740
+ exports: [ActionListComponent]
741
+ });
742
+ })();
413
743
  export { ActionListComponent, ActionListModule };
414
- //# sourceMappingURL=mis-crystal-design-system-action-list.mjs.map
744
+
745
+ //# sourceMappingURL=mis-crystal-design-system-action-list.mjs.map