mis-crystal-design-system 4.0.51 → 14.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (901) hide show
  1. package/action-list/action-list.component.d.ts +3 -0
  2. package/action-list/action-list.module.d.ts +9 -0
  3. package/analytics/analytics.module.d.ts +4 -0
  4. package/analytics/analytics.service.d.ts +3 -0
  5. package/async-search-dropdown/async-dropdown.component.d.ts +5 -2
  6. package/async-search-dropdown/async-dropdown.module.d.ts +9 -0
  7. package/button/button.component.d.ts +3 -0
  8. package/button/button.directive.d.ts +3 -0
  9. package/button/button.module.d.ts +7 -0
  10. package/checkbox/checkbox.component.d.ts +3 -0
  11. package/checkbox/checkbox.module.d.ts +7 -0
  12. package/chip/chip.component.d.ts +3 -0
  13. package/chip/chip.module.d.ts +6 -0
  14. package/datepicker_v2/datepicker.module.d.ts +10 -0
  15. package/datepicker_v2/public_api.d.ts +1 -0
  16. package/datepicker_v2/tz-datepicker.directive.d.ts +3 -0
  17. package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +3 -0
  18. package/daterangepicker_v2/daterangepicker.module.d.ts +10 -0
  19. package/daterangepicker_v2/public_api.d.ts +1 -0
  20. package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +3 -0
  21. package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +3 -0
  22. package/drawer/drawer-body/drawer-body.component.d.ts +3 -1
  23. package/drawer/drawer.module.d.ts +8 -0
  24. package/drawer/drawer.service.d.ts +3 -0
  25. package/dropdown/calculate-container-height.directive.d.ts +3 -0
  26. package/dropdown/dropdown.component.d.ts +3 -0
  27. package/dropdown/dropdown.module.d.ts +11 -0
  28. package/dynamic-form/dynamic-form.component.d.ts +11 -8
  29. package/dynamic-form/dynamic-form.module.d.ts +13 -0
  30. package/esm2020/action-list/action-list.component.mjs +370 -0
  31. package/esm2020/action-list/action-list.module.mjs +25 -0
  32. package/esm2020/analytics/analytics.module.mjs +18 -0
  33. package/esm2020/analytics/analytics.service.mjs +63 -0
  34. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +473 -0
  35. package/esm2020/async-search-dropdown/async-dropdown.module.mjs +22 -0
  36. package/esm2020/button/button.component.mjs +87 -0
  37. package/esm2020/button/button.directive.mjs +61 -0
  38. package/esm2020/button/button.module.mjs +23 -0
  39. package/esm2020/checkbox/checkbox.component.mjs +124 -0
  40. package/esm2020/checkbox/checkbox.module.mjs +23 -0
  41. package/esm2020/chip/chip.component.mjs +82 -0
  42. package/esm2020/chip/chip.module.mjs +22 -0
  43. package/esm2020/datepicker_v2/datepicker.module.mjs +24 -0
  44. package/esm2020/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +5 -0
  45. package/esm2020/datepicker_v2/public_api.mjs +4 -0
  46. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +164 -0
  47. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +245 -0
  48. package/esm2020/daterangepicker_v2/daterangepicker.module.mjs +25 -0
  49. package/esm2020/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +5 -0
  50. package/esm2020/daterangepicker_v2/public_api.mjs +4 -0
  51. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +135 -0
  52. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +364 -0
  53. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +58 -0
  54. package/esm2020/drawer/drawer.module.mjs +33 -0
  55. package/esm2020/drawer/drawer.service.mjs +56 -0
  56. package/esm2020/drawer/mis-crystal-design-system-drawer.mjs +5 -0
  57. package/esm2020/dropdown/calculate-container-height.directive.mjs +41 -0
  58. package/esm2020/dropdown/dropdown.component.mjs +410 -0
  59. package/esm2020/dropdown/dropdown.module.mjs +27 -0
  60. package/esm2020/dropdown/mis-crystal-design-system-dropdown.mjs +5 -0
  61. package/esm2020/dynamic-form/dynamic-form.component.mjs +712 -0
  62. package/esm2020/dynamic-form/dynamic-form.module.mjs +56 -0
  63. package/esm2020/fab/fab.component.mjs +144 -0
  64. package/esm2020/fab/fab.module.mjs +22 -0
  65. package/esm2020/input/directives/input/input.directive.mjs +40 -0
  66. package/esm2020/input/mis-input.component.mjs +84 -0
  67. package/esm2020/input/mis-input.module.mjs +21 -0
  68. package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +74 -0
  69. package/esm2020/input-stepper/input-stepper.module.mjs +25 -0
  70. package/esm2020/loader/loader.component.mjs +24 -0
  71. package/esm2020/loader/loader.module.mjs +22 -0
  72. package/esm2020/menu/menu-close.directive.mjs +25 -0
  73. package/esm2020/menu/menu.directive.mjs +77 -0
  74. package/esm2020/menu/menu.module.mjs +23 -0
  75. package/esm2020/mobile-filter/mobile-filter.component.mjs +179 -0
  76. package/esm2020/mobile-filter/mobile-filter.module.mjs +21 -0
  77. package/esm2020/modal/mis-crystal-design-system-modal.mjs +5 -0
  78. package/esm2020/modal/modal.module.mjs +33 -0
  79. package/esm2020/modal/modal.service.mjs +70 -0
  80. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +55 -0
  81. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +483 -0
  82. package/esm2020/multi-select-dropdown/multi-select-dropdown.module.mjs +26 -0
  83. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +510 -0
  84. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +26 -0
  85. package/esm2020/phone-input/phone-input.component.mjs +115 -0
  86. package/esm2020/phone-input/phone-input.module.mjs +27 -0
  87. package/esm2020/radio-button/radio-button.component.mjs +56 -0
  88. package/esm2020/radio-button/radio-button.module.mjs +23 -0
  89. package/esm2020/ske-loader/ske-loader.component.mjs +53 -0
  90. package/esm2020/ske-loader/ske-loader.module.mjs +19 -0
  91. package/esm2020/slider/slider.component.mjs +45 -0
  92. package/esm2020/slider/slider.module.mjs +30 -0
  93. package/esm2020/snackbar/snackbar/snackbar.component.mjs +72 -0
  94. package/esm2020/snackbar/snackbar.module.mjs +36 -0
  95. package/esm2020/snackbar/snackbar.service.mjs +47 -0
  96. package/esm2020/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +5 -0
  97. package/esm2020/specificdatepicker/public_api.mjs +4 -0
  98. package/esm2020/specificdatepicker/specificdatepicker.module.mjs +27 -0
  99. package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +619 -0
  100. package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
  101. package/esm2020/star-rating/star-rating.component.mjs +112 -0
  102. package/esm2020/star-rating/star-rating.module.mjs +19 -0
  103. package/esm2020/switch/switch.component.mjs +55 -0
  104. package/esm2020/switch/switch.module.mjs +23 -0
  105. package/esm2020/table/custom-table-cell.directive.mjs +42 -0
  106. package/esm2020/table/filter/filter.component.mjs +168 -0
  107. package/esm2020/table/mis-crystal-design-system-table.mjs +5 -0
  108. package/esm2020/table/public_api.mjs +6 -0
  109. package/esm2020/table/sub-table/sub-table.component.mjs +193 -0
  110. package/esm2020/table/table.component.mjs +476 -0
  111. package/esm2020/table/table.module.mjs +27 -0
  112. package/esm2020/timepicker/mis-crystal-design-system-timepicker.mjs +5 -0
  113. package/esm2020/timepicker/timepicker.component.mjs +339 -0
  114. package/esm2020/timepicker/timepicker.directive.mjs +65 -0
  115. package/esm2020/timepicker/timepicker.module.mjs +26 -0
  116. package/esm2020/timerangepicker/timerangepicker.component.mjs +227 -0
  117. package/esm2020/timerangepicker/timerangepicker.module.mjs +24 -0
  118. package/esm2020/toast/toast.component.mjs +50 -0
  119. package/{esm2015/toast/toast.data.service.js → esm2020/toast/toast.data.service.mjs} +8 -7
  120. package/esm2020/toast/toast.module.mjs +33 -0
  121. package/esm2020/toast/toast.service.mjs +91 -0
  122. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +78 -0
  123. package/esm2020/tooltip/tooltip.directive.mjs +137 -0
  124. package/esm2020/tooltip/tooltip.module.mjs +24 -0
  125. package/esm2020/virtual-scroll/virtual-scroll.component.mjs +190 -0
  126. package/esm2020/virtual-scroll/virtual-scroll.module.mjs +34 -0
  127. package/{esm2015/widgets/classes/base-widget.js → esm2020/widgets/classes/base-widget.mjs} +2 -2
  128. package/esm2020/widgets/classes/widget-group.mjs +32 -0
  129. package/esm2020/widgets/services/widget.service.mjs +18 -0
  130. package/esm2020/widgets/widgets.module.mjs +18 -0
  131. package/fab/fab.component.d.ts +3 -0
  132. package/fab/fab.module.d.ts +6 -0
  133. package/fesm2015/mis-crystal-design-system-action-list.mjs +446 -0
  134. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +1 -0
  135. package/fesm2015/{mis-crystal-design-system-analytics.js → mis-crystal-design-system-analytics.mjs} +26 -14
  136. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +1 -0
  137. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +563 -0
  138. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  139. package/fesm2015/mis-crystal-design-system-button.mjs +189 -0
  140. package/fesm2015/mis-crystal-design-system-button.mjs.map +1 -0
  141. package/fesm2015/mis-crystal-design-system-checkbox.mjs +166 -0
  142. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +1 -0
  143. package/fesm2015/mis-crystal-design-system-chip.mjs +123 -0
  144. package/fesm2015/mis-crystal-design-system-chip.mjs.map +1 -0
  145. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +501 -0
  146. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  147. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +599 -0
  148. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  149. package/fesm2015/mis-crystal-design-system-drawer.mjs +185 -0
  150. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +1 -0
  151. package/fesm2015/mis-crystal-design-system-dropdown.mjs +536 -0
  152. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +1 -0
  153. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +867 -0
  154. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  155. package/fesm2015/mis-crystal-design-system-fab.mjs +186 -0
  156. package/fesm2015/mis-crystal-design-system-fab.mjs.map +1 -0
  157. package/fesm2015/mis-crystal-design-system-input-stepper.mjs +110 -0
  158. package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +1 -0
  159. package/fesm2015/mis-crystal-design-system-input.mjs +165 -0
  160. package/fesm2015/mis-crystal-design-system-input.mjs.map +1 -0
  161. package/fesm2015/mis-crystal-design-system-loader.mjs +57 -0
  162. package/fesm2015/mis-crystal-design-system-loader.mjs.map +1 -0
  163. package/fesm2015/mis-crystal-design-system-menu.mjs +135 -0
  164. package/fesm2015/mis-crystal-design-system-menu.mjs.map +1 -0
  165. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +225 -0
  166. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  167. package/fesm2015/mis-crystal-design-system-modal.mjs +184 -0
  168. package/fesm2015/mis-crystal-design-system-modal.mjs.map +1 -0
  169. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +542 -0
  170. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  171. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +552 -0
  172. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  173. package/fesm2015/mis-crystal-design-system-phone-input.mjs +151 -0
  174. package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +1 -0
  175. package/fesm2015/mis-crystal-design-system-radio-button.mjs +89 -0
  176. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +1 -0
  177. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +86 -0
  178. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  179. package/fesm2015/mis-crystal-design-system-slider.mjs +88 -0
  180. package/fesm2015/mis-crystal-design-system-slider.mjs.map +1 -0
  181. package/fesm2015/mis-crystal-design-system-snackbar.mjs +175 -0
  182. package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +1 -0
  183. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +942 -0
  184. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  185. package/fesm2015/mis-crystal-design-system-star-rating.mjs +145 -0
  186. package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +1 -0
  187. package/fesm2015/mis-crystal-design-system-styles.mjs +4 -0
  188. package/fesm2015/mis-crystal-design-system-styles.mjs.map +1 -0
  189. package/fesm2015/mis-crystal-design-system-switch.mjs +88 -0
  190. package/fesm2015/mis-crystal-design-system-switch.mjs.map +1 -0
  191. package/fesm2015/mis-crystal-design-system-table.mjs +1017 -0
  192. package/fesm2015/mis-crystal-design-system-table.mjs.map +1 -0
  193. package/fesm2015/mis-crystal-design-system-timepicker.mjs +448 -0
  194. package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +1 -0
  195. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +264 -0
  196. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +1 -0
  197. package/fesm2015/mis-crystal-design-system-toast.mjs +214 -0
  198. package/fesm2015/mis-crystal-design-system-toast.mjs.map +1 -0
  199. package/fesm2015/mis-crystal-design-system-tooltip.mjs +265 -0
  200. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +1 -0
  201. package/fesm2015/{mis-crystal-design-system-utils.js → mis-crystal-design-system-utils.mjs} +1 -1
  202. package/fesm2015/mis-crystal-design-system-utils.mjs.map +1 -0
  203. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +259 -0
  204. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  205. package/fesm2015/{mis-crystal-design-system-widgets.js → mis-crystal-design-system-widgets.mjs} +16 -8
  206. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +1 -0
  207. package/fesm2015/{mis-crystal-design-system.js → mis-crystal-design-system.mjs} +1 -1
  208. package/fesm2015/mis-crystal-design-system.mjs.map +1 -0
  209. package/fesm2020/mis-crystal-design-system-action-list.mjs +398 -0
  210. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +1 -0
  211. package/fesm2020/mis-crystal-design-system-analytics.mjs +85 -0
  212. package/fesm2020/mis-crystal-design-system-analytics.mjs.map +1 -0
  213. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +497 -0
  214. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  215. package/fesm2020/mis-crystal-design-system-button.mjs +172 -0
  216. package/fesm2020/mis-crystal-design-system-button.mjs.map +1 -0
  217. package/fesm2020/mis-crystal-design-system-checkbox.mjs +150 -0
  218. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +1 -0
  219. package/fesm2020/mis-crystal-design-system-chip.mjs +108 -0
  220. package/fesm2020/mis-crystal-design-system-chip.mjs.map +1 -0
  221. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs +477 -0
  222. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  223. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +567 -0
  224. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  225. package/{fesm2015/mis-crystal-design-system-drawer.js → fesm2020/mis-crystal-design-system-drawer.mjs} +55 -36
  226. package/fesm2020/mis-crystal-design-system-drawer.mjs.map +1 -0
  227. package/fesm2020/mis-crystal-design-system-dropdown.mjs +477 -0
  228. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +1 -0
  229. package/fesm2020/mis-crystal-design-system-dynamic-form.mjs +770 -0
  230. package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  231. package/fesm2020/mis-crystal-design-system-fab.mjs +170 -0
  232. package/fesm2020/mis-crystal-design-system-fab.mjs.map +1 -0
  233. package/fesm2020/mis-crystal-design-system-input-stepper.mjs +103 -0
  234. package/fesm2020/mis-crystal-design-system-input-stepper.mjs.map +1 -0
  235. package/fesm2020/mis-crystal-design-system-input.mjs +145 -0
  236. package/fesm2020/mis-crystal-design-system-input.mjs.map +1 -0
  237. package/fesm2020/mis-crystal-design-system-loader.mjs +50 -0
  238. package/fesm2020/mis-crystal-design-system-loader.mjs.map +1 -0
  239. package/fesm2020/mis-crystal-design-system-menu.mjs +124 -0
  240. package/fesm2020/mis-crystal-design-system-menu.mjs.map +1 -0
  241. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +204 -0
  242. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  243. package/fesm2020/mis-crystal-design-system-modal.mjs +172 -0
  244. package/fesm2020/mis-crystal-design-system-modal.mjs.map +1 -0
  245. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs +512 -0
  246. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  247. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs +539 -0
  248. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  249. package/fesm2020/mis-crystal-design-system-phone-input.mjs +144 -0
  250. package/fesm2020/mis-crystal-design-system-phone-input.mjs.map +1 -0
  251. package/fesm2020/mis-crystal-design-system-radio-button.mjs +82 -0
  252. package/fesm2020/mis-crystal-design-system-radio-button.mjs.map +1 -0
  253. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +76 -0
  254. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  255. package/fesm2020/mis-crystal-design-system-slider.mjs +79 -0
  256. package/fesm2020/mis-crystal-design-system-slider.mjs.map +1 -0
  257. package/fesm2020/mis-crystal-design-system-snackbar.mjs +155 -0
  258. package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +1 -0
  259. package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs +884 -0
  260. package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  261. package/fesm2020/mis-crystal-design-system-star-rating.mjs +135 -0
  262. package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +1 -0
  263. package/fesm2020/mis-crystal-design-system-styles.mjs +4 -0
  264. package/fesm2020/mis-crystal-design-system-styles.mjs.map +1 -0
  265. package/fesm2020/mis-crystal-design-system-switch.mjs +81 -0
  266. package/fesm2020/mis-crystal-design-system-switch.mjs.map +1 -0
  267. package/fesm2020/mis-crystal-design-system-table.mjs +895 -0
  268. package/fesm2020/mis-crystal-design-system-table.mjs.map +1 -0
  269. package/fesm2020/mis-crystal-design-system-timepicker.mjs +425 -0
  270. package/fesm2020/mis-crystal-design-system-timepicker.mjs.map +1 -0
  271. package/{fesm2015/mis-crystal-design-system-timerangepicker.js → fesm2020/mis-crystal-design-system-timerangepicker.mjs} +73 -36
  272. package/fesm2020/mis-crystal-design-system-timerangepicker.mjs.map +1 -0
  273. package/fesm2020/mis-crystal-design-system-toast.mjs +198 -0
  274. package/fesm2020/mis-crystal-design-system-toast.mjs.map +1 -0
  275. package/fesm2020/mis-crystal-design-system-tooltip.mjs +238 -0
  276. package/fesm2020/mis-crystal-design-system-tooltip.mjs.map +1 -0
  277. package/fesm2020/mis-crystal-design-system-utils.mjs +24 -0
  278. package/fesm2020/mis-crystal-design-system-utils.mjs.map +1 -0
  279. package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs +229 -0
  280. package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  281. package/fesm2020/mis-crystal-design-system-widgets.mjs +129 -0
  282. package/fesm2020/mis-crystal-design-system-widgets.mjs.map +1 -0
  283. package/fesm2020/mis-crystal-design-system.mjs +24 -0
  284. package/fesm2020/mis-crystal-design-system.mjs.map +1 -0
  285. package/input/directives/input/input.directive.d.ts +3 -0
  286. package/input/mis-input.component.d.ts +3 -0
  287. package/input/mis-input.module.d.ts +8 -0
  288. package/input-stepper/input-stepper/input-stepper.component.d.ts +3 -0
  289. package/input-stepper/input-stepper.module.d.ts +6 -0
  290. package/loader/loader.component.d.ts +3 -0
  291. package/loader/loader.module.d.ts +6 -0
  292. package/menu/menu-close.directive.d.ts +3 -0
  293. package/menu/menu.directive.d.ts +3 -0
  294. package/menu/menu.module.d.ts +9 -1
  295. package/mobile-filter/mobile-filter.component.d.ts +3 -0
  296. package/mobile-filter/mobile-filter.module.d.ts +8 -0
  297. package/modal/modal.module.d.ts +8 -0
  298. package/modal/modal.service.d.ts +3 -0
  299. package/modal/module-wrapper/module-wrapper.component.d.ts +3 -0
  300. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +4 -0
  301. package/multi-select-dropdown/multi-select-dropdown.module.d.ts +10 -0
  302. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +3 -0
  303. package/nested-multi-select-dropdown/nested-multi-select-dropdown.module.d.ts +10 -0
  304. package/package.json +320 -9
  305. package/phone-input/phone-input.component.d.ts +5 -2
  306. package/phone-input/phone-input.module.d.ts +10 -0
  307. package/radio-button/radio-button.component.d.ts +3 -0
  308. package/radio-button/radio-button.module.d.ts +7 -0
  309. package/ske-loader/ske-loader.component.d.ts +3 -0
  310. package/ske-loader/ske-loader.module.d.ts +6 -0
  311. package/slider/slider.component.d.ts +6 -3
  312. package/slider/slider.module.d.ts +7 -0
  313. package/snackbar/snackbar/snackbar.component.d.ts +3 -0
  314. package/snackbar/snackbar.module.d.ts +6 -0
  315. package/snackbar/snackbar.service.d.ts +5 -2
  316. package/specificdatepicker/public_api.d.ts +1 -0
  317. package/specificdatepicker/specificdatepicker.module.d.ts +12 -0
  318. package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +5 -2
  319. package/specificdatepicker/tz-specificdatepicker.directive.d.ts +3 -0
  320. package/star-rating/star-rating.component.d.ts +3 -0
  321. package/star-rating/star-rating.module.d.ts +6 -0
  322. package/switch/switch.component.d.ts +3 -0
  323. package/switch/switch.module.d.ts +7 -0
  324. package/table/custom-table-cell.directive.d.ts +3 -0
  325. package/table/filter/filter.component.d.ts +3 -0
  326. package/table/public_api.d.ts +1 -0
  327. package/table/sub-table/sub-table.component.d.ts +3 -0
  328. package/table/table.component.d.ts +3 -0
  329. package/table/table.module.d.ts +11 -0
  330. package/timepicker/timepicker.component.d.ts +3 -0
  331. package/timepicker/timepicker.directive.d.ts +3 -0
  332. package/timepicker/timepicker.module.d.ts +10 -0
  333. package/timerangepicker/timerangepicker.component.d.ts +3 -0
  334. package/timerangepicker/timerangepicker.module.d.ts +8 -0
  335. package/toast/toast.component.d.ts +3 -0
  336. package/toast/toast.data.service.d.ts +3 -0
  337. package/toast/toast.module.d.ts +7 -0
  338. package/toast/toast.service.d.ts +3 -0
  339. package/tooltip/tooltip-container/tooltip.component.d.ts +3 -0
  340. package/tooltip/tooltip.directive.d.ts +3 -0
  341. package/tooltip/tooltip.module.d.ts +8 -0
  342. package/virtual-scroll/virtual-scroll.component.d.ts +3 -0
  343. package/virtual-scroll/virtual-scroll.module.d.ts +8 -0
  344. package/widgets/services/widget.service.d.ts +3 -0
  345. package/widgets/widgets.module.d.ts +5 -0
  346. package/action-list/mis-crystal-design-system-action-list.d.ts +0 -4
  347. package/action-list/mis-crystal-design-system-action-list.metadata.json +0 -1
  348. package/action-list/package.json +0 -11
  349. package/analytics/mis-crystal-design-system-analytics.d.ts +0 -4
  350. package/analytics/mis-crystal-design-system-analytics.metadata.json +0 -1
  351. package/analytics/package.json +0 -11
  352. package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.d.ts +0 -4
  353. package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.metadata.json +0 -1
  354. package/async-search-dropdown/package.json +0 -11
  355. package/bundles/mis-crystal-design-system-action-list.umd.js +0 -509
  356. package/bundles/mis-crystal-design-system-action-list.umd.js.map +0 -1
  357. package/bundles/mis-crystal-design-system-action-list.umd.min.js +0 -16
  358. package/bundles/mis-crystal-design-system-action-list.umd.min.js.map +0 -1
  359. package/bundles/mis-crystal-design-system-analytics.umd.js +0 -422
  360. package/bundles/mis-crystal-design-system-analytics.umd.js.map +0 -1
  361. package/bundles/mis-crystal-design-system-analytics.umd.min.js +0 -16
  362. package/bundles/mis-crystal-design-system-analytics.umd.min.js.map +0 -1
  363. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js +0 -279
  364. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js.map +0 -1
  365. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js +0 -2
  366. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js.map +0 -1
  367. package/bundles/mis-crystal-design-system-button.umd.js +0 -134
  368. package/bundles/mis-crystal-design-system-button.umd.js.map +0 -1
  369. package/bundles/mis-crystal-design-system-button.umd.min.js +0 -2
  370. package/bundles/mis-crystal-design-system-button.umd.min.js.map +0 -1
  371. package/bundles/mis-crystal-design-system-checkbox.umd.js +0 -127
  372. package/bundles/mis-crystal-design-system-checkbox.umd.js.map +0 -1
  373. package/bundles/mis-crystal-design-system-checkbox.umd.min.js +0 -2
  374. package/bundles/mis-crystal-design-system-checkbox.umd.min.js.map +0 -1
  375. package/bundles/mis-crystal-design-system-chip.umd.js +0 -64
  376. package/bundles/mis-crystal-design-system-chip.umd.js.map +0 -1
  377. package/bundles/mis-crystal-design-system-chip.umd.min.js +0 -2
  378. package/bundles/mis-crystal-design-system-chip.umd.min.js.map +0 -1
  379. package/bundles/mis-crystal-design-system-datepicker_v2.umd.js +0 -706
  380. package/bundles/mis-crystal-design-system-datepicker_v2.umd.js.map +0 -1
  381. package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js +0 -16
  382. package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js.map +0 -1
  383. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js +0 -464
  384. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js.map +0 -1
  385. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js +0 -2
  386. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js.map +0 -1
  387. package/bundles/mis-crystal-design-system-drawer.umd.js +0 -169
  388. package/bundles/mis-crystal-design-system-drawer.umd.js.map +0 -1
  389. package/bundles/mis-crystal-design-system-drawer.umd.min.js +0 -2
  390. package/bundles/mis-crystal-design-system-drawer.umd.min.js.map +0 -1
  391. package/bundles/mis-crystal-design-system-dropdown.umd.js +0 -558
  392. package/bundles/mis-crystal-design-system-dropdown.umd.js.map +0 -1
  393. package/bundles/mis-crystal-design-system-dropdown.umd.min.js +0 -16
  394. package/bundles/mis-crystal-design-system-dropdown.umd.min.js.map +0 -1
  395. package/bundles/mis-crystal-design-system-dynamic-form.umd.js +0 -740
  396. package/bundles/mis-crystal-design-system-dynamic-form.umd.js.map +0 -1
  397. package/bundles/mis-crystal-design-system-dynamic-form.umd.min.js +0 -16
  398. package/bundles/mis-crystal-design-system-dynamic-form.umd.min.js.map +0 -1
  399. package/bundles/mis-crystal-design-system-fab.umd.js +0 -95
  400. package/bundles/mis-crystal-design-system-fab.umd.js.map +0 -1
  401. package/bundles/mis-crystal-design-system-fab.umd.min.js +0 -2
  402. package/bundles/mis-crystal-design-system-fab.umd.min.js.map +0 -1
  403. package/bundles/mis-crystal-design-system-input-stepper.umd.js +0 -85
  404. package/bundles/mis-crystal-design-system-input-stepper.umd.js.map +0 -1
  405. package/bundles/mis-crystal-design-system-input-stepper.umd.min.js +0 -2
  406. package/bundles/mis-crystal-design-system-input-stepper.umd.min.js.map +0 -1
  407. package/bundles/mis-crystal-design-system-input.umd.js +0 -116
  408. package/bundles/mis-crystal-design-system-input.umd.js.map +0 -1
  409. package/bundles/mis-crystal-design-system-input.umd.min.js +0 -2
  410. package/bundles/mis-crystal-design-system-input.umd.min.js.map +0 -1
  411. package/bundles/mis-crystal-design-system-loader.umd.js +0 -53
  412. package/bundles/mis-crystal-design-system-loader.umd.js.map +0 -1
  413. package/bundles/mis-crystal-design-system-loader.umd.min.js +0 -2
  414. package/bundles/mis-crystal-design-system-loader.umd.min.js.map +0 -1
  415. package/bundles/mis-crystal-design-system-menu.umd.js +0 -119
  416. package/bundles/mis-crystal-design-system-menu.umd.js.map +0 -1
  417. package/bundles/mis-crystal-design-system-menu.umd.min.js +0 -2
  418. package/bundles/mis-crystal-design-system-menu.umd.min.js.map +0 -1
  419. package/bundles/mis-crystal-design-system-mobile-filter.umd.js +0 -89
  420. package/bundles/mis-crystal-design-system-mobile-filter.umd.js.map +0 -1
  421. package/bundles/mis-crystal-design-system-mobile-filter.umd.min.js +0 -2
  422. package/bundles/mis-crystal-design-system-mobile-filter.umd.min.js.map +0 -1
  423. package/bundles/mis-crystal-design-system-modal.umd.js +0 -161
  424. package/bundles/mis-crystal-design-system-modal.umd.js.map +0 -1
  425. package/bundles/mis-crystal-design-system-modal.umd.min.js +0 -2
  426. package/bundles/mis-crystal-design-system-modal.umd.min.js.map +0 -1
  427. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js +0 -623
  428. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js.map +0 -1
  429. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js +0 -16
  430. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js.map +0 -1
  431. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js +0 -636
  432. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js.map +0 -1
  433. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js +0 -16
  434. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js.map +0 -1
  435. package/bundles/mis-crystal-design-system-phone-input.umd.js +0 -117
  436. package/bundles/mis-crystal-design-system-phone-input.umd.js.map +0 -1
  437. package/bundles/mis-crystal-design-system-phone-input.umd.min.js +0 -2
  438. package/bundles/mis-crystal-design-system-phone-input.umd.min.js.map +0 -1
  439. package/bundles/mis-crystal-design-system-radio-button.umd.js +0 -77
  440. package/bundles/mis-crystal-design-system-radio-button.umd.js.map +0 -1
  441. package/bundles/mis-crystal-design-system-radio-button.umd.min.js +0 -2
  442. package/bundles/mis-crystal-design-system-radio-button.umd.min.js.map +0 -1
  443. package/bundles/mis-crystal-design-system-ske-loader.umd.js +0 -65
  444. package/bundles/mis-crystal-design-system-ske-loader.umd.js.map +0 -1
  445. package/bundles/mis-crystal-design-system-ske-loader.umd.min.js +0 -2
  446. package/bundles/mis-crystal-design-system-ske-loader.umd.min.js.map +0 -1
  447. package/bundles/mis-crystal-design-system-slider.umd.js +0 -73
  448. package/bundles/mis-crystal-design-system-slider.umd.js.map +0 -1
  449. package/bundles/mis-crystal-design-system-slider.umd.min.js +0 -2
  450. package/bundles/mis-crystal-design-system-slider.umd.min.js.map +0 -1
  451. package/bundles/mis-crystal-design-system-snackbar.umd.js +0 -114
  452. package/bundles/mis-crystal-design-system-snackbar.umd.js.map +0 -1
  453. package/bundles/mis-crystal-design-system-snackbar.umd.min.js +0 -2
  454. package/bundles/mis-crystal-design-system-snackbar.umd.min.js.map +0 -1
  455. package/bundles/mis-crystal-design-system-specificdatepicker.umd.js +0 -977
  456. package/bundles/mis-crystal-design-system-specificdatepicker.umd.js.map +0 -1
  457. package/bundles/mis-crystal-design-system-specificdatepicker.umd.min.js +0 -16
  458. package/bundles/mis-crystal-design-system-specificdatepicker.umd.min.js.map +0 -1
  459. package/bundles/mis-crystal-design-system-star-rating.umd.js +0 -112
  460. package/bundles/mis-crystal-design-system-star-rating.umd.js.map +0 -1
  461. package/bundles/mis-crystal-design-system-star-rating.umd.min.js +0 -2
  462. package/bundles/mis-crystal-design-system-star-rating.umd.min.js.map +0 -1
  463. package/bundles/mis-crystal-design-system-styles.umd.js +0 -11
  464. package/bundles/mis-crystal-design-system-styles.umd.js.map +0 -1
  465. package/bundles/mis-crystal-design-system-styles.umd.min.js +0 -2
  466. package/bundles/mis-crystal-design-system-styles.umd.min.js.map +0 -1
  467. package/bundles/mis-crystal-design-system-switch.umd.js +0 -79
  468. package/bundles/mis-crystal-design-system-switch.umd.js.map +0 -1
  469. package/bundles/mis-crystal-design-system-switch.umd.min.js +0 -2
  470. package/bundles/mis-crystal-design-system-switch.umd.min.js.map +0 -1
  471. package/bundles/mis-crystal-design-system-table.umd.js +0 -784
  472. package/bundles/mis-crystal-design-system-table.umd.js.map +0 -1
  473. package/bundles/mis-crystal-design-system-table.umd.min.js +0 -16
  474. package/bundles/mis-crystal-design-system-table.umd.min.js.map +0 -1
  475. package/bundles/mis-crystal-design-system-timepicker.umd.js +0 -688
  476. package/bundles/mis-crystal-design-system-timepicker.umd.js.map +0 -1
  477. package/bundles/mis-crystal-design-system-timepicker.umd.min.js +0 -16
  478. package/bundles/mis-crystal-design-system-timepicker.umd.min.js.map +0 -1
  479. package/bundles/mis-crystal-design-system-timerangepicker.umd.js +0 -248
  480. package/bundles/mis-crystal-design-system-timerangepicker.umd.js.map +0 -1
  481. package/bundles/mis-crystal-design-system-timerangepicker.umd.min.js +0 -2
  482. package/bundles/mis-crystal-design-system-timerangepicker.umd.min.js.map +0 -1
  483. package/bundles/mis-crystal-design-system-toast.umd.js +0 -202
  484. package/bundles/mis-crystal-design-system-toast.umd.js.map +0 -1
  485. package/bundles/mis-crystal-design-system-toast.umd.min.js +0 -2
  486. package/bundles/mis-crystal-design-system-toast.umd.min.js.map +0 -1
  487. package/bundles/mis-crystal-design-system-tooltip.umd.js +0 -214
  488. package/bundles/mis-crystal-design-system-tooltip.umd.js.map +0 -1
  489. package/bundles/mis-crystal-design-system-tooltip.umd.min.js +0 -2
  490. package/bundles/mis-crystal-design-system-tooltip.umd.min.js.map +0 -1
  491. package/bundles/mis-crystal-design-system-utils.umd.js +0 -33
  492. package/bundles/mis-crystal-design-system-utils.umd.js.map +0 -1
  493. package/bundles/mis-crystal-design-system-utils.umd.min.js +0 -2
  494. package/bundles/mis-crystal-design-system-utils.umd.min.js.map +0 -1
  495. package/bundles/mis-crystal-design-system-virtual-scroll.umd.js +0 -471
  496. package/bundles/mis-crystal-design-system-virtual-scroll.umd.js.map +0 -1
  497. package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js +0 -16
  498. package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js.map +0 -1
  499. package/bundles/mis-crystal-design-system-widgets.umd.js +0 -478
  500. package/bundles/mis-crystal-design-system-widgets.umd.js.map +0 -1
  501. package/bundles/mis-crystal-design-system-widgets.umd.min.js +0 -16
  502. package/bundles/mis-crystal-design-system-widgets.umd.min.js.map +0 -1
  503. package/bundles/mis-crystal-design-system.umd.js +0 -31
  504. package/bundles/mis-crystal-design-system.umd.js.map +0 -1
  505. package/bundles/mis-crystal-design-system.umd.min.js +0 -2
  506. package/bundles/mis-crystal-design-system.umd.min.js.map +0 -1
  507. package/button/mis-crystal-design-system-button.d.ts +0 -4
  508. package/button/mis-crystal-design-system-button.metadata.json +0 -1
  509. package/button/package.json +0 -11
  510. package/checkbox/mis-crystal-design-system-checkbox.d.ts +0 -4
  511. package/checkbox/mis-crystal-design-system-checkbox.metadata.json +0 -1
  512. package/checkbox/package.json +0 -11
  513. package/chip/mis-crystal-design-system-chip.d.ts +0 -4
  514. package/chip/mis-crystal-design-system-chip.metadata.json +0 -1
  515. package/chip/package.json +0 -11
  516. package/datepicker_v2/mis-crystal-design-system-datepicker_v2.d.ts +0 -7
  517. package/datepicker_v2/mis-crystal-design-system-datepicker_v2.metadata.json +0 -1
  518. package/datepicker_v2/package.json +0 -11
  519. package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.d.ts +0 -7
  520. package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.metadata.json +0 -1
  521. package/daterangepicker_v2/package.json +0 -11
  522. package/drawer/mis-crystal-design-system-drawer.d.ts +0 -5
  523. package/drawer/mis-crystal-design-system-drawer.metadata.json +0 -1
  524. package/drawer/package.json +0 -11
  525. package/dropdown/mis-crystal-design-system-dropdown.d.ts +0 -5
  526. package/dropdown/mis-crystal-design-system-dropdown.metadata.json +0 -1
  527. package/dropdown/package.json +0 -11
  528. package/dynamic-form/mis-crystal-design-system-dynamic-form.d.ts +0 -4
  529. package/dynamic-form/mis-crystal-design-system-dynamic-form.metadata.json +0 -1
  530. package/dynamic-form/package.json +0 -11
  531. package/esm2015/action-list/action-list.component.js +0 -161
  532. package/esm2015/action-list/action-list.module.js +0 -19
  533. package/esm2015/analytics/analytics.module.js +0 -14
  534. package/esm2015/analytics/analytics.service.js +0 -62
  535. package/esm2015/async-search-dropdown/async-dropdown.component.js +0 -243
  536. package/esm2015/async-search-dropdown/async-dropdown.module.js +0 -16
  537. package/esm2015/button/button.component.js +0 -43
  538. package/esm2015/button/button.directive.js +0 -57
  539. package/esm2015/button/button.module.js +0 -17
  540. package/esm2015/checkbox/checkbox.component.js +0 -79
  541. package/esm2015/checkbox/checkbox.module.js +0 -17
  542. package/esm2015/chip/chip.component.js +0 -31
  543. package/esm2015/chip/chip.module.js +0 -16
  544. package/esm2015/datepicker_v2/datepicker.module.js +0 -18
  545. package/esm2015/datepicker_v2/mis-crystal-design-system-datepicker_v2.js +0 -7
  546. package/esm2015/datepicker_v2/public_api.js +0 -3
  547. package/esm2015/datepicker_v2/tz-datepicker.directive.js +0 -144
  548. package/esm2015/datepicker_v2/tz-dp-container/tz-dp-container.component.js +0 -149
  549. package/esm2015/daterangepicker_v2/daterangepicker.module.js +0 -18
  550. package/esm2015/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.js +0 -7
  551. package/esm2015/daterangepicker_v2/public_api.js +0 -3
  552. package/esm2015/daterangepicker_v2/tz-daterangepicker.directive.js +0 -123
  553. package/esm2015/daterangepicker_v2/tz-drp-container/tz-drp-container.component.js +0 -226
  554. package/esm2015/drawer/drawer-body/drawer-body.component.js +0 -41
  555. package/esm2015/drawer/drawer.module.js +0 -28
  556. package/esm2015/drawer/drawer.service.js +0 -59
  557. package/esm2015/drawer/mis-crystal-design-system-drawer.js +0 -6
  558. package/esm2015/dropdown/calculate-container-height.directive.js +0 -40
  559. package/esm2015/dropdown/dropdown.component.js +0 -169
  560. package/esm2015/dropdown/dropdown.module.js +0 -21
  561. package/esm2015/dropdown/mis-crystal-design-system-dropdown.js +0 -6
  562. package/esm2015/dynamic-form/dynamic-form.component.js +0 -308
  563. package/esm2015/dynamic-form/dynamic-form.module.js +0 -34
  564. package/esm2015/fab/fab.component.js +0 -63
  565. package/esm2015/fab/fab.module.js +0 -16
  566. package/esm2015/input/directives/input/input.directive.js +0 -38
  567. package/esm2015/input/mis-input.component.js +0 -45
  568. package/esm2015/input/mis-input.module.js +0 -15
  569. package/esm2015/input-stepper/input-stepper/input-stepper.component.js +0 -49
  570. package/esm2015/input-stepper/input-stepper.module.js +0 -19
  571. package/esm2015/loader/loader.component.js +0 -20
  572. package/esm2015/loader/loader.module.js +0 -16
  573. package/esm2015/menu/menu-close.directive.js +0 -18
  574. package/esm2015/menu/menu.directive.js +0 -70
  575. package/esm2015/menu/menu.module.js +0 -17
  576. package/esm2015/mobile-filter/mobile-filter.component.js +0 -54
  577. package/esm2015/mobile-filter/mobile-filter.module.js +0 -15
  578. package/esm2015/modal/mis-crystal-design-system-modal.js +0 -6
  579. package/esm2015/modal/modal.module.js +0 -28
  580. package/esm2015/modal/modal.service.js +0 -72
  581. package/esm2015/modal/module-wrapper/module-wrapper.component.js +0 -33
  582. package/esm2015/multi-select-dropdown/multi-select-dropdown.component.js +0 -269
  583. package/esm2015/multi-select-dropdown/multi-select-dropdown.module.js +0 -20
  584. package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.component.js +0 -265
  585. package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.module.js +0 -20
  586. package/esm2015/phone-input/phone-input.component.js +0 -85
  587. package/esm2015/phone-input/phone-input.module.js +0 -21
  588. package/esm2015/radio-button/radio-button.component.js +0 -45
  589. package/esm2015/radio-button/radio-button.module.js +0 -17
  590. package/esm2015/ske-loader/ske-loader.component.js +0 -31
  591. package/esm2015/ske-loader/ske-loader.module.js +0 -13
  592. package/esm2015/slider/slider.component.js +0 -38
  593. package/esm2015/slider/slider.module.js +0 -20
  594. package/esm2015/snackbar/snackbar/snackbar.component.js +0 -22
  595. package/esm2015/snackbar/snackbar.module.js +0 -31
  596. package/esm2015/snackbar/snackbar.service.js +0 -48
  597. package/esm2015/specificdatepicker/mis-crystal-design-system-specificdatepicker.js +0 -7
  598. package/esm2015/specificdatepicker/public_api.js +0 -3
  599. package/esm2015/specificdatepicker/specificdatepicker.module.js +0 -20
  600. package/esm2015/specificdatepicker/tz-sdp-container/tz-sdp-container.component.js +0 -356
  601. package/esm2015/specificdatepicker/tz-specificdatepicker.directive.js +0 -179
  602. package/esm2015/star-rating/star-rating.component.js +0 -78
  603. package/esm2015/star-rating/star-rating.module.js +0 -13
  604. package/esm2015/switch/switch.component.js +0 -39
  605. package/esm2015/switch/switch.module.js +0 -17
  606. package/esm2015/table/custom-table-cell.directive.js +0 -42
  607. package/esm2015/table/filter/filter.component.js +0 -75
  608. package/esm2015/table/mis-crystal-design-system-table.js +0 -6
  609. package/esm2015/table/public_api.js +0 -5
  610. package/esm2015/table/sub-table/sub-table.component.js +0 -69
  611. package/esm2015/table/table.component.js +0 -200
  612. package/esm2015/table/table.module.js +0 -21
  613. package/esm2015/timepicker/mis-crystal-design-system-timepicker.js +0 -6
  614. package/esm2015/timepicker/timepicker.component.js +0 -248
  615. package/esm2015/timepicker/timepicker.directive.js +0 -62
  616. package/esm2015/timepicker/timepicker.module.js +0 -20
  617. package/esm2015/timerangepicker/timerangepicker.component.js +0 -194
  618. package/esm2015/timerangepicker/timerangepicker.module.js +0 -18
  619. package/esm2015/toast/toast.component.js +0 -28
  620. package/esm2015/toast/toast.module.js +0 -28
  621. package/esm2015/toast/toast.service.js +0 -96
  622. package/esm2015/tooltip/tooltip-container/tooltip.component.js +0 -35
  623. package/esm2015/tooltip/tooltip.directive.js +0 -128
  624. package/esm2015/tooltip/tooltip.module.js +0 -19
  625. package/esm2015/virtual-scroll/virtual-scroll.component.js +0 -111
  626. package/esm2015/virtual-scroll/virtual-scroll.module.js +0 -24
  627. package/esm2015/widgets/classes/widget-group.js +0 -32
  628. package/esm2015/widgets/services/widget.service.js +0 -16
  629. package/esm2015/widgets/widgets.module.js +0 -12
  630. package/fab/mis-crystal-design-system-fab.d.ts +0 -4
  631. package/fab/mis-crystal-design-system-fab.metadata.json +0 -1
  632. package/fab/package.json +0 -11
  633. package/fesm2015/mis-crystal-design-system-action-list.js +0 -184
  634. package/fesm2015/mis-crystal-design-system-action-list.js.map +0 -1
  635. package/fesm2015/mis-crystal-design-system-analytics.js.map +0 -1
  636. package/fesm2015/mis-crystal-design-system-async-search-dropdown.js +0 -262
  637. package/fesm2015/mis-crystal-design-system-async-search-dropdown.js.map +0 -1
  638. package/fesm2015/mis-crystal-design-system-button.js +0 -120
  639. package/fesm2015/mis-crystal-design-system-button.js.map +0 -1
  640. package/fesm2015/mis-crystal-design-system-checkbox.js +0 -100
  641. package/fesm2015/mis-crystal-design-system-checkbox.js.map +0 -1
  642. package/fesm2015/mis-crystal-design-system-chip.js +0 -52
  643. package/fesm2015/mis-crystal-design-system-chip.js.map +0 -1
  644. package/fesm2015/mis-crystal-design-system-datepicker_v2.js +0 -357
  645. package/fesm2015/mis-crystal-design-system-datepicker_v2.js.map +0 -1
  646. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js +0 -413
  647. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js.map +0 -1
  648. package/fesm2015/mis-crystal-design-system-drawer.js.map +0 -1
  649. package/fesm2015/mis-crystal-design-system-dropdown.js +0 -232
  650. package/fesm2015/mis-crystal-design-system-dropdown.js.map +0 -1
  651. package/fesm2015/mis-crystal-design-system-dynamic-form.js +0 -346
  652. package/fesm2015/mis-crystal-design-system-dynamic-form.js.map +0 -1
  653. package/fesm2015/mis-crystal-design-system-fab.js +0 -84
  654. package/fesm2015/mis-crystal-design-system-fab.js.map +0 -1
  655. package/fesm2015/mis-crystal-design-system-input-stepper.js +0 -73
  656. package/fesm2015/mis-crystal-design-system-input-stepper.js.map +0 -1
  657. package/fesm2015/mis-crystal-design-system-input.js +0 -99
  658. package/fesm2015/mis-crystal-design-system-input.js.map +0 -1
  659. package/fesm2015/mis-crystal-design-system-loader.js +0 -41
  660. package/fesm2015/mis-crystal-design-system-loader.js.map +0 -1
  661. package/fesm2015/mis-crystal-design-system-menu.js +0 -106
  662. package/fesm2015/mis-crystal-design-system-menu.js.map +0 -1
  663. package/fesm2015/mis-crystal-design-system-mobile-filter.js +0 -74
  664. package/fesm2015/mis-crystal-design-system-mobile-filter.js.map +0 -1
  665. package/fesm2015/mis-crystal-design-system-modal.js +0 -147
  666. package/fesm2015/mis-crystal-design-system-modal.js.map +0 -1
  667. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js +0 -293
  668. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js.map +0 -1
  669. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js +0 -289
  670. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js.map +0 -1
  671. package/fesm2015/mis-crystal-design-system-phone-input.js +0 -109
  672. package/fesm2015/mis-crystal-design-system-phone-input.js.map +0 -1
  673. package/fesm2015/mis-crystal-design-system-radio-button.js +0 -66
  674. package/fesm2015/mis-crystal-design-system-radio-button.js.map +0 -1
  675. package/fesm2015/mis-crystal-design-system-ske-loader.js +0 -49
  676. package/fesm2015/mis-crystal-design-system-ske-loader.js.map +0 -1
  677. package/fesm2015/mis-crystal-design-system-slider.js +0 -62
  678. package/fesm2015/mis-crystal-design-system-slider.js.map +0 -1
  679. package/fesm2015/mis-crystal-design-system-snackbar.js +0 -101
  680. package/fesm2015/mis-crystal-design-system-snackbar.js.map +0 -1
  681. package/fesm2015/mis-crystal-design-system-specificdatepicker.js +0 -599
  682. package/fesm2015/mis-crystal-design-system-specificdatepicker.js.map +0 -1
  683. package/fesm2015/mis-crystal-design-system-star-rating.js +0 -96
  684. package/fesm2015/mis-crystal-design-system-star-rating.js.map +0 -1
  685. package/fesm2015/mis-crystal-design-system-styles.js +0 -4
  686. package/fesm2015/mis-crystal-design-system-styles.js.map +0 -1
  687. package/fesm2015/mis-crystal-design-system-switch.js +0 -60
  688. package/fesm2015/mis-crystal-design-system-switch.js.map +0 -1
  689. package/fesm2015/mis-crystal-design-system-table.js +0 -406
  690. package/fesm2015/mis-crystal-design-system-table.js.map +0 -1
  691. package/fesm2015/mis-crystal-design-system-timepicker.js +0 -330
  692. package/fesm2015/mis-crystal-design-system-timepicker.js.map +0 -1
  693. package/fesm2015/mis-crystal-design-system-timerangepicker.js.map +0 -1
  694. package/fesm2015/mis-crystal-design-system-toast.js +0 -174
  695. package/fesm2015/mis-crystal-design-system-toast.js.map +0 -1
  696. package/fesm2015/mis-crystal-design-system-tooltip.js +0 -183
  697. package/fesm2015/mis-crystal-design-system-tooltip.js.map +0 -1
  698. package/fesm2015/mis-crystal-design-system-utils.js.map +0 -1
  699. package/fesm2015/mis-crystal-design-system-virtual-scroll.js +0 -141
  700. package/fesm2015/mis-crystal-design-system-virtual-scroll.js.map +0 -1
  701. package/fesm2015/mis-crystal-design-system-widgets.js.map +0 -1
  702. package/fesm2015/mis-crystal-design-system.js.map +0 -1
  703. package/input/mis-crystal-design-system-input.d.ts +0 -4
  704. package/input/mis-crystal-design-system-input.metadata.json +0 -1
  705. package/input/package.json +0 -11
  706. package/input-stepper/mis-crystal-design-system-input-stepper.d.ts +0 -4
  707. package/input-stepper/mis-crystal-design-system-input-stepper.metadata.json +0 -1
  708. package/input-stepper/package.json +0 -11
  709. package/loader/mis-crystal-design-system-loader.d.ts +0 -4
  710. package/loader/mis-crystal-design-system-loader.metadata.json +0 -1
  711. package/loader/package.json +0 -11
  712. package/menu/mis-crystal-design-system-menu.d.ts +0 -4
  713. package/menu/mis-crystal-design-system-menu.metadata.json +0 -1
  714. package/menu/package.json +0 -11
  715. package/mis-crystal-design-system.d.ts +0 -4
  716. package/mis-crystal-design-system.metadata.json +0 -1
  717. package/mobile-filter/mis-crystal-design-system-mobile-filter.d.ts +0 -4
  718. package/mobile-filter/mis-crystal-design-system-mobile-filter.metadata.json +0 -1
  719. package/mobile-filter/package.json +0 -11
  720. package/modal/mis-crystal-design-system-modal.d.ts +0 -5
  721. package/modal/mis-crystal-design-system-modal.metadata.json +0 -1
  722. package/modal/package.json +0 -11
  723. package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.d.ts +0 -4
  724. package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.metadata.json +0 -1
  725. package/multi-select-dropdown/package.json +0 -11
  726. package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.d.ts +0 -4
  727. package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.metadata.json +0 -1
  728. package/nested-multi-select-dropdown/package.json +0 -11
  729. package/phone-input/mis-crystal-design-system-phone-input.d.ts +0 -4
  730. package/phone-input/mis-crystal-design-system-phone-input.metadata.json +0 -1
  731. package/phone-input/package.json +0 -11
  732. package/radio-button/mis-crystal-design-system-radio-button.d.ts +0 -4
  733. package/radio-button/mis-crystal-design-system-radio-button.metadata.json +0 -1
  734. package/radio-button/package.json +0 -11
  735. package/ske-loader/mis-crystal-design-system-ske-loader.d.ts +0 -4
  736. package/ske-loader/mis-crystal-design-system-ske-loader.metadata.json +0 -1
  737. package/ske-loader/package.json +0 -11
  738. package/slider/mis-crystal-design-system-slider.d.ts +0 -4
  739. package/slider/mis-crystal-design-system-slider.metadata.json +0 -1
  740. package/slider/package.json +0 -11
  741. package/snackbar/mis-crystal-design-system-snackbar.d.ts +0 -4
  742. package/snackbar/mis-crystal-design-system-snackbar.metadata.json +0 -1
  743. package/snackbar/package.json +0 -11
  744. package/specificdatepicker/mis-crystal-design-system-specificdatepicker.d.ts +0 -7
  745. package/specificdatepicker/mis-crystal-design-system-specificdatepicker.metadata.json +0 -1
  746. package/specificdatepicker/package.json +0 -11
  747. package/star-rating/mis-crystal-design-system-star-rating.d.ts +0 -4
  748. package/star-rating/mis-crystal-design-system-star-rating.metadata.json +0 -1
  749. package/star-rating/package.json +0 -11
  750. package/styles/mis-crystal-design-system-styles.d.ts +0 -4
  751. package/styles/mis-crystal-design-system-styles.metadata.json +0 -1
  752. package/styles/package.json +0 -11
  753. package/switch/mis-crystal-design-system-switch.d.ts +0 -4
  754. package/switch/mis-crystal-design-system-switch.metadata.json +0 -1
  755. package/switch/package.json +0 -11
  756. package/table/mis-crystal-design-system-table.d.ts +0 -5
  757. package/table/mis-crystal-design-system-table.metadata.json +0 -1
  758. package/table/package.json +0 -11
  759. package/timepicker/mis-crystal-design-system-timepicker.d.ts +0 -5
  760. package/timepicker/mis-crystal-design-system-timepicker.metadata.json +0 -1
  761. package/timepicker/package.json +0 -11
  762. package/timerangepicker/mis-crystal-design-system-timerangepicker.d.ts +0 -4
  763. package/timerangepicker/mis-crystal-design-system-timerangepicker.metadata.json +0 -1
  764. package/timerangepicker/package.json +0 -11
  765. package/toast/mis-crystal-design-system-toast.d.ts +0 -4
  766. package/toast/mis-crystal-design-system-toast.metadata.json +0 -1
  767. package/toast/package.json +0 -11
  768. package/tooltip/mis-crystal-design-system-tooltip.d.ts +0 -4
  769. package/tooltip/mis-crystal-design-system-tooltip.metadata.json +0 -1
  770. package/tooltip/package.json +0 -11
  771. package/utils/mis-crystal-design-system-utils.d.ts +0 -4
  772. package/utils/mis-crystal-design-system-utils.metadata.json +0 -1
  773. package/utils/package.json +0 -11
  774. package/virtual-scroll/mis-crystal-design-system-virtual-scroll.d.ts +0 -4
  775. package/virtual-scroll/mis-crystal-design-system-virtual-scroll.metadata.json +0 -1
  776. package/virtual-scroll/package.json +0 -11
  777. package/widgets/mis-crystal-design-system-widgets.d.ts +0 -4
  778. package/widgets/mis-crystal-design-system-widgets.metadata.json +0 -1
  779. package/widgets/package.json +0 -11
  780. /package/{esm2015/action-list/index.js → esm2020/action-list/index.mjs} +0 -0
  781. /package/{esm2015/action-list/mis-crystal-design-system-action-list.js → esm2020/action-list/mis-crystal-design-system-action-list.mjs} +0 -0
  782. /package/{esm2015/action-list/public_api.js → esm2020/action-list/public_api.mjs} +0 -0
  783. /package/{esm2015/analytics/index.js → esm2020/analytics/index.mjs} +0 -0
  784. /package/{esm2015/analytics/mis-crystal-design-system-analytics.js → esm2020/analytics/mis-crystal-design-system-analytics.mjs} +0 -0
  785. /package/{esm2015/analytics/public_api.js → esm2020/analytics/public_api.mjs} +0 -0
  786. /package/{esm2015/async-search-dropdown/index.js → esm2020/async-search-dropdown/index.mjs} +0 -0
  787. /package/{esm2015/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.js → esm2020/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs} +0 -0
  788. /package/{esm2015/async-search-dropdown/public_api.js → esm2020/async-search-dropdown/public_api.mjs} +0 -0
  789. /package/{esm2015/button/index.js → esm2020/button/index.mjs} +0 -0
  790. /package/{esm2015/button/mis-crystal-design-system-button.js → esm2020/button/mis-crystal-design-system-button.mjs} +0 -0
  791. /package/{esm2015/button/public_api.js → esm2020/button/public_api.mjs} +0 -0
  792. /package/{esm2015/checkbox/index.js → esm2020/checkbox/index.mjs} +0 -0
  793. /package/{esm2015/checkbox/mis-crystal-design-system-checkbox.js → esm2020/checkbox/mis-crystal-design-system-checkbox.mjs} +0 -0
  794. /package/{esm2015/checkbox/public_api.js → esm2020/checkbox/public_api.mjs} +0 -0
  795. /package/{esm2015/chip/index.js → esm2020/chip/index.mjs} +0 -0
  796. /package/{esm2015/chip/mis-crystal-design-system-chip.js → esm2020/chip/mis-crystal-design-system-chip.mjs} +0 -0
  797. /package/{esm2015/chip/public_api.js → esm2020/chip/public_api.mjs} +0 -0
  798. /package/{esm2015/datepicker_v2/datepicker-constants.js → esm2020/datepicker_v2/datepicker-constants.mjs} +0 -0
  799. /package/{esm2015/datepicker_v2/index.js → esm2020/datepicker_v2/index.mjs} +0 -0
  800. /package/{esm2015/datepicker_v2/models/dp-config.model.js → esm2020/datepicker_v2/models/dp-config.model.mjs} +0 -0
  801. /package/{esm2015/datepicker_v2/utils/index.js → esm2020/datepicker_v2/utils/index.mjs} +0 -0
  802. /package/{esm2015/daterangepicker_v2/daterangepicker-constants.js → esm2020/daterangepicker_v2/daterangepicker-constants.mjs} +0 -0
  803. /package/{esm2015/daterangepicker_v2/index.js → esm2020/daterangepicker_v2/index.mjs} +0 -0
  804. /package/{esm2015/daterangepicker_v2/models/drp-config.model.js → esm2020/daterangepicker_v2/models/drp-config.model.mjs} +0 -0
  805. /package/{esm2015/daterangepicker_v2/utils/index.js → esm2020/daterangepicker_v2/utils/index.mjs} +0 -0
  806. /package/{esm2015/drawer/drawer-constants.js → esm2020/drawer/drawer-constants.mjs} +0 -0
  807. /package/{esm2015/drawer/drawer-ref.js → esm2020/drawer/drawer-ref.mjs} +0 -0
  808. /package/{esm2015/drawer/index.js → esm2020/drawer/index.mjs} +0 -0
  809. /package/{esm2015/drawer/public_api.js → esm2020/drawer/public_api.mjs} +0 -0
  810. /package/{esm2015/dropdown/index.js → esm2020/dropdown/index.mjs} +0 -0
  811. /package/{esm2015/dropdown/public_api.js → esm2020/dropdown/public_api.mjs} +0 -0
  812. /package/{esm2015/dynamic-form/dynamic-form.namespace.js → esm2020/dynamic-form/dynamic-form.namespace.mjs} +0 -0
  813. /package/{esm2015/dynamic-form/index.js → esm2020/dynamic-form/index.mjs} +0 -0
  814. /package/{esm2015/dynamic-form/mis-crystal-design-system-dynamic-form.js → esm2020/dynamic-form/mis-crystal-design-system-dynamic-form.mjs} +0 -0
  815. /package/{esm2015/dynamic-form/public_api.js → esm2020/dynamic-form/public_api.mjs} +0 -0
  816. /package/{esm2015/fab/index.js → esm2020/fab/index.mjs} +0 -0
  817. /package/{esm2015/fab/mis-crystal-design-system-fab.js → esm2020/fab/mis-crystal-design-system-fab.mjs} +0 -0
  818. /package/{esm2015/fab/public_api.js → esm2020/fab/public_api.mjs} +0 -0
  819. /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  820. /package/{esm2015/input/index.js → esm2020/input/index.mjs} +0 -0
  821. /package/{esm2015/input/mis-crystal-design-system-input.js → esm2020/input/mis-crystal-design-system-input.mjs} +0 -0
  822. /package/{esm2015/input/public_api.js → esm2020/input/public_api.mjs} +0 -0
  823. /package/{esm2015/input-stepper/index.js → esm2020/input-stepper/index.mjs} +0 -0
  824. /package/{esm2015/input-stepper/mis-crystal-design-system-input-stepper.js → esm2020/input-stepper/mis-crystal-design-system-input-stepper.mjs} +0 -0
  825. /package/{esm2015/input-stepper/public_api.js → esm2020/input-stepper/public_api.mjs} +0 -0
  826. /package/{esm2015/loader/index.js → esm2020/loader/index.mjs} +0 -0
  827. /package/{esm2015/loader/mis-crystal-design-system-loader.js → esm2020/loader/mis-crystal-design-system-loader.mjs} +0 -0
  828. /package/{esm2015/loader/public_api.js → esm2020/loader/public_api.mjs} +0 -0
  829. /package/{esm2015/menu/index.js → esm2020/menu/index.mjs} +0 -0
  830. /package/{esm2015/menu/mis-crystal-design-system-menu.js → esm2020/menu/mis-crystal-design-system-menu.mjs} +0 -0
  831. /package/{esm2015/menu/public_api.js → esm2020/menu/public_api.mjs} +0 -0
  832. /package/{esm2015/mis-crystal-design-system.js → esm2020/mis-crystal-design-system.mjs} +0 -0
  833. /package/{esm2015/mobile-filter/index.js → esm2020/mobile-filter/index.mjs} +0 -0
  834. /package/{esm2015/mobile-filter/mis-crystal-design-system-mobile-filter.js → esm2020/mobile-filter/mis-crystal-design-system-mobile-filter.mjs} +0 -0
  835. /package/{esm2015/mobile-filter/public_api.js → esm2020/mobile-filter/public_api.mjs} +0 -0
  836. /package/{esm2015/modal/index.js → esm2020/modal/index.mjs} +0 -0
  837. /package/{esm2015/modal/modal-constants.js → esm2020/modal/modal-constants.mjs} +0 -0
  838. /package/{esm2015/modal/modal-ref.js → esm2020/modal/modal-ref.mjs} +0 -0
  839. /package/{esm2015/modal/public_api.js → esm2020/modal/public_api.mjs} +0 -0
  840. /package/{esm2015/multi-select-dropdown/index.js → esm2020/multi-select-dropdown/index.mjs} +0 -0
  841. /package/{esm2015/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.js → esm2020/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs} +0 -0
  842. /package/{esm2015/multi-select-dropdown/public_api.js → esm2020/multi-select-dropdown/public_api.mjs} +0 -0
  843. /package/{esm2015/nested-multi-select-dropdown/index.js → esm2020/nested-multi-select-dropdown/index.mjs} +0 -0
  844. /package/{esm2015/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.js → esm2020/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs} +0 -0
  845. /package/{esm2015/nested-multi-select-dropdown/public_api.js → esm2020/nested-multi-select-dropdown/public_api.mjs} +0 -0
  846. /package/{esm2015/phone-input/index.js → esm2020/phone-input/index.mjs} +0 -0
  847. /package/{esm2015/phone-input/mis-crystal-design-system-phone-input.js → esm2020/phone-input/mis-crystal-design-system-phone-input.mjs} +0 -0
  848. /package/{esm2015/phone-input/public_api.js → esm2020/phone-input/public_api.mjs} +0 -0
  849. /package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  850. /package/{esm2015/radio-button/index.js → esm2020/radio-button/index.mjs} +0 -0
  851. /package/{esm2015/radio-button/mis-crystal-design-system-radio-button.js → esm2020/radio-button/mis-crystal-design-system-radio-button.mjs} +0 -0
  852. /package/{esm2015/radio-button/public_api.js → esm2020/radio-button/public_api.mjs} +0 -0
  853. /package/{esm2015/ske-loader/index.js → esm2020/ske-loader/index.mjs} +0 -0
  854. /package/{esm2015/ske-loader/mis-crystal-design-system-ske-loader.js → esm2020/ske-loader/mis-crystal-design-system-ske-loader.mjs} +0 -0
  855. /package/{esm2015/ske-loader/public_api.js → esm2020/ske-loader/public_api.mjs} +0 -0
  856. /package/{esm2015/slider/index.js → esm2020/slider/index.mjs} +0 -0
  857. /package/{esm2015/slider/mis-crystal-design-system-slider.js → esm2020/slider/mis-crystal-design-system-slider.mjs} +0 -0
  858. /package/{esm2015/slider/public_api.js → esm2020/slider/public_api.mjs} +0 -0
  859. /package/{esm2015/snackbar/index.js → esm2020/snackbar/index.mjs} +0 -0
  860. /package/{esm2015/snackbar/mis-crystal-design-system-snackbar.js → esm2020/snackbar/mis-crystal-design-system-snackbar.mjs} +0 -0
  861. /package/{esm2015/snackbar/public_api.js → esm2020/snackbar/public_api.mjs} +0 -0
  862. /package/{esm2015/specificdatepicker/daterangepicker-constants.js → esm2020/specificdatepicker/daterangepicker-constants.mjs} +0 -0
  863. /package/{esm2015/specificdatepicker/index.js → esm2020/specificdatepicker/index.mjs} +0 -0
  864. /package/{esm2015/specificdatepicker/models/sdp-config.model.js → esm2020/specificdatepicker/models/sdp-config.model.mjs} +0 -0
  865. /package/{esm2015/specificdatepicker/utils/index.js → esm2020/specificdatepicker/utils/index.mjs} +0 -0
  866. /package/{esm2015/star-rating/index.js → esm2020/star-rating/index.mjs} +0 -0
  867. /package/{esm2015/star-rating/mis-crystal-design-system-star-rating.js → esm2020/star-rating/mis-crystal-design-system-star-rating.mjs} +0 -0
  868. /package/{esm2015/star-rating/public_api.js → esm2020/star-rating/public_api.mjs} +0 -0
  869. /package/{esm2015/styles/index.js → esm2020/styles/index.mjs} +0 -0
  870. /package/{esm2015/styles/mis-crystal-design-system-styles.js → esm2020/styles/mis-crystal-design-system-styles.mjs} +0 -0
  871. /package/{esm2015/styles/public_api.js → esm2020/styles/public_api.mjs} +0 -0
  872. /package/{esm2015/switch/index.js → esm2020/switch/index.mjs} +0 -0
  873. /package/{esm2015/switch/mis-crystal-design-system-switch.js → esm2020/switch/mis-crystal-design-system-switch.mjs} +0 -0
  874. /package/{esm2015/switch/public_api.js → esm2020/switch/public_api.mjs} +0 -0
  875. /package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
  876. /package/{esm2015/timepicker/index.js → esm2020/timepicker/index.mjs} +0 -0
  877. /package/{esm2015/timepicker/public_api.js → esm2020/timepicker/public_api.mjs} +0 -0
  878. /package/{esm2015/timepicker/time.namespace.js → esm2020/timepicker/time.namespace.mjs} +0 -0
  879. /package/{esm2015/timerangepicker/index.js → esm2020/timerangepicker/index.mjs} +0 -0
  880. /package/{esm2015/timerangepicker/mis-crystal-design-system-timerangepicker.js → esm2020/timerangepicker/mis-crystal-design-system-timerangepicker.mjs} +0 -0
  881. /package/{esm2015/timerangepicker/public_api.js → esm2020/timerangepicker/public_api.mjs} +0 -0
  882. /package/{esm2015/timerangepicker/timerange.namespace.js → esm2020/timerangepicker/timerange.namespace.mjs} +0 -0
  883. /package/{esm2015/toast/index.js → esm2020/toast/index.mjs} +0 -0
  884. /package/{esm2015/toast/mis-crystal-design-system-toast.js → esm2020/toast/mis-crystal-design-system-toast.mjs} +0 -0
  885. /package/{esm2015/toast/public_api.js → esm2020/toast/public_api.mjs} +0 -0
  886. /package/{esm2015/tooltip/index.js → esm2020/tooltip/index.mjs} +0 -0
  887. /package/{esm2015/tooltip/mis-crystal-design-system-tooltip.js → esm2020/tooltip/mis-crystal-design-system-tooltip.mjs} +0 -0
  888. /package/{esm2015/tooltip/models/tooltip.model.js → esm2020/tooltip/models/tooltip.model.mjs} +0 -0
  889. /package/{esm2015/tooltip/public_api.js → esm2020/tooltip/public_api.mjs} +0 -0
  890. /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
  891. /package/{esm2015/utils/mis-crystal-design-system-utils.js → esm2020/utils/mis-crystal-design-system-utils.mjs} +0 -0
  892. /package/{esm2015/virtual-scroll/index.js → esm2020/virtual-scroll/index.mjs} +0 -0
  893. /package/{esm2015/virtual-scroll/mis-crystal-design-system-virtual-scroll.js → esm2020/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs} +0 -0
  894. /package/{esm2015/virtual-scroll/public_api.js → esm2020/virtual-scroll/public_api.mjs} +0 -0
  895. /package/{esm2015/virtual-scroll/virtual-scroll.constants.js → esm2020/virtual-scroll/virtual-scroll.constants.mjs} +0 -0
  896. /package/{esm2015/widgets/classes/async-widget.js → esm2020/widgets/classes/async-widget.mjs} +0 -0
  897. /package/{esm2015/widgets/classes/sync-widget.js → esm2020/widgets/classes/sync-widget.mjs} +0 -0
  898. /package/{esm2015/widgets/index.js → esm2020/widgets/index.mjs} +0 -0
  899. /package/{esm2015/widgets/interfaces/widgets.model.js → esm2020/widgets/interfaces/widgets.model.mjs} +0 -0
  900. /package/{esm2015/widgets/mis-crystal-design-system-widgets.js → esm2020/widgets/mis-crystal-design-system-widgets.mjs} +0 -0
  901. /package/{esm2015/widgets/public_api.js → esm2020/widgets/public_api.mjs} +0 -0
@@ -0,0 +1,225 @@
1
+ import * as i1 from '@angular/common';
2
+ import { CommonModule } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
5
+ import * as i2 from 'mis-crystal-design-system/button';
6
+ import { ButtonModule } from 'mis-crystal-design-system/button';
7
+ import * as i3 from 'mis-crystal-design-system/checkbox';
8
+ import { CheckboxModule } from 'mis-crystal-design-system/checkbox';
9
+
10
+ function MobileFilterComponent_ng_container_7_span_4_Template(rf, ctx) {
11
+ if (rf & 1) {
12
+ i0.ɵɵelementStart(0, "span", 16);
13
+ i0.ɵɵtext(1);
14
+ i0.ɵɵelementEnd();
15
+ }
16
+ if (rf & 2) {
17
+ const filter_r2 = i0.ɵɵnextContext().$implicit;
18
+ const ctx_r3 = i0.ɵɵnextContext();
19
+ i0.ɵɵadvance(1);
20
+ i0.ɵɵtextInterpolate(ctx_r3.localFilterOptions[filter_r2.key]["noOfSelectedItems"]);
21
+ }
22
+ }
23
+ function MobileFilterComponent_ng_container_7_div_5_Template(rf, ctx) {
24
+ if (rf & 1) {
25
+ i0.ɵɵelement(0, "div", 17);
26
+ }
27
+ }
28
+ const _c0 = function (a0) { return { "color": a0 }; };
29
+ function MobileFilterComponent_ng_container_7_Template(rf, ctx) {
30
+ if (rf & 1) {
31
+ const _r7 = i0.ɵɵgetCurrentView();
32
+ i0.ɵɵelementContainerStart(0);
33
+ i0.ɵɵelementStart(1, "div", 12);
34
+ i0.ɵɵlistener("click", function MobileFilterComponent_ng_container_7_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r7); const filter_r2 = restoredCtx.$implicit; const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.currentSelectedItem = filter_r2.key); });
35
+ i0.ɵɵelementStart(2, "span", 13);
36
+ i0.ɵɵtext(3);
37
+ i0.ɵɵelementEnd();
38
+ i0.ɵɵtemplate(4, MobileFilterComponent_ng_container_7_span_4_Template, 2, 1, "span", 14);
39
+ i0.ɵɵtemplate(5, MobileFilterComponent_ng_container_7_div_5_Template, 1, 0, "div", 15);
40
+ i0.ɵɵelementEnd();
41
+ i0.ɵɵelementContainerEnd();
42
+ }
43
+ if (rf & 2) {
44
+ const filter_r2 = ctx.$implicit;
45
+ const ctx_r0 = i0.ɵɵnextContext();
46
+ i0.ɵɵadvance(2);
47
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(4, _c0, filter_r2.key === ctx_r0.currentSelectedItem ? "#0937B2" : "#181F33"));
48
+ i0.ɵɵadvance(1);
49
+ i0.ɵɵtextInterpolate(ctx_r0.localFilterOptions[filter_r2.key] == null ? null : ctx_r0.localFilterOptions[filter_r2.key].name);
50
+ i0.ɵɵadvance(1);
51
+ i0.ɵɵproperty("ngIf", ctx_r0.localFilterOptions[filter_r2.key]["multiSelect"] && ctx_r0.localFilterOptions[filter_r2.key]["noOfSelectedItems"] > 0);
52
+ i0.ɵɵadvance(1);
53
+ i0.ɵɵproperty("ngIf", filter_r2.key === ctx_r0.currentSelectedItem);
54
+ }
55
+ }
56
+ function MobileFilterComponent_ng_container_14_mis_checkbox_2_Template(rf, ctx) {
57
+ if (rf & 1) {
58
+ i0.ɵɵelement(0, "mis-checkbox", 22);
59
+ }
60
+ if (rf & 2) {
61
+ const option_r8 = i0.ɵɵnextContext().$implicit;
62
+ i0.ɵɵproperty("checked", option_r8.selected);
63
+ }
64
+ }
65
+ function MobileFilterComponent_ng_container_14_input_3_Template(rf, ctx) {
66
+ if (rf & 1) {
67
+ i0.ɵɵelement(0, "input", 23);
68
+ }
69
+ if (rf & 2) {
70
+ const option_r8 = i0.ɵɵnextContext().$implicit;
71
+ i0.ɵɵproperty("checked", option_r8.selected);
72
+ }
73
+ }
74
+ function MobileFilterComponent_ng_container_14_Template(rf, ctx) {
75
+ if (rf & 1) {
76
+ const _r15 = i0.ɵɵgetCurrentView();
77
+ i0.ɵɵelementContainerStart(0);
78
+ i0.ɵɵelementStart(1, "div", 18);
79
+ i0.ɵɵlistener("click", function MobileFilterComponent_ng_container_14_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r15); const option_r8 = restoredCtx.$implicit; const ctx_r14 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r14.toggleFilter(option_r8.value, option_r8.selected)); });
80
+ i0.ɵɵtemplate(2, MobileFilterComponent_ng_container_14_mis_checkbox_2_Template, 1, 1, "mis-checkbox", 19);
81
+ i0.ɵɵtemplate(3, MobileFilterComponent_ng_container_14_input_3_Template, 1, 1, "input", 20);
82
+ i0.ɵɵelementStart(4, "span", 21);
83
+ i0.ɵɵtext(5);
84
+ i0.ɵɵelementEnd()();
85
+ i0.ɵɵelementContainerEnd();
86
+ }
87
+ if (rf & 2) {
88
+ const option_r8 = ctx.$implicit;
89
+ const ctx_r1 = i0.ɵɵnextContext();
90
+ i0.ɵɵadvance(2);
91
+ i0.ɵɵproperty("ngIf", ctx_r1.localFilterOptions[ctx_r1.currentSelectedItem].multiSelect);
92
+ i0.ɵɵadvance(1);
93
+ i0.ɵɵproperty("ngIf", !ctx_r1.localFilterOptions[ctx_r1.currentSelectedItem].multiSelect);
94
+ i0.ɵɵadvance(1);
95
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(4, _c0, option_r8.selected ? "#181F33" : "#6A737D"));
96
+ i0.ɵɵadvance(1);
97
+ i0.ɵɵtextInterpolate(option_r8.label);
98
+ }
99
+ }
100
+ class MobileFilterComponent {
101
+ constructor() {
102
+ this.currentSelectedItem = 'Sort';
103
+ this.backIcon = '';
104
+ this.headerName = 'Filters';
105
+ this.applyBtnName = 'Apply';
106
+ this.clearBtnName = 'Clear Filters';
107
+ this.closeFilters = new EventEmitter();
108
+ this.clearFilters = new EventEmitter();
109
+ this.applyFilters = new EventEmitter();
110
+ }
111
+ set filterOptions(options) {
112
+ this.localFilterOptions = options;
113
+ }
114
+ ;
115
+ ngOnInit() {
116
+ }
117
+ originalOrder() {
118
+ return 0;
119
+ }
120
+ toggleFilter(data, isSelectedItem) {
121
+ const isMultiSelect = this.localFilterOptions[this.currentSelectedItem].multiSelect;
122
+ this.localFilterOptions[this.currentSelectedItem].noOfSelectedItems = 0;
123
+ this.localFilterOptions[this.currentSelectedItem].options = this.localFilterOptions[this.currentSelectedItem].options.map(option => {
124
+ const isSelectedValue = option.value === data;
125
+ (isMultiSelect && option.selected) && (this.localFilterOptions[this.currentSelectedItem].noOfSelectedItems += 1);
126
+ return Object.assign(Object.assign({}, option), { selected: isSelectedValue ? (isMultiSelect ? !option.selected : true) : (isMultiSelect ? option.selected : false) });
127
+ });
128
+ // changing number of selected items for multiselect filters
129
+ const noOfSelectedItems = this.localFilterOptions[this.currentSelectedItem].noOfSelectedItems;
130
+ isMultiSelect ? this.localFilterOptions[this.currentSelectedItem].noOfSelectedItems = isSelectedItem ? noOfSelectedItems - 1 : noOfSelectedItems + 1 : null;
131
+ }
132
+ }
133
+ MobileFilterComponent.ɵfac = function MobileFilterComponent_Factory(t) { return new (t || MobileFilterComponent)(); };
134
+ MobileFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MobileFilterComponent, selectors: [["mis-mobile-filter"]], inputs: { currentSelectedItem: "currentSelectedItem", filterOptions: "filterOptions", backIcon: "backIcon", headerName: "headerName", applyBtnName: "applyBtnName", clearBtnName: "clearBtnName" }, outputs: { closeFilters: "closeFilters", clearFilters: "clearFilters", applyFilters: "applyFilters" }, decls: 20, vars: 10, consts: [[1, "filters-container"], [1, "head", "display-flex"], ["alt", "", 3, "src", "click"], [1, "body", "display-flex"], [1, "filters"], [4, "ngFor", "ngForOf"], [1, "filter-options-container"], [1, "filter-options-title"], [1, "filter-options"], [1, "footer", "display-flex"], ["mis-button", "", "size", "md", "type", "text", 3, "click"], ["mis-button", "", "size", "md", "type", "primary", 3, "click"], [1, "filter", "display-flex", 3, "click"], [1, "filterName", 3, "ngStyle"], ["class", "selectedNumber", 4, "ngIf"], ["class", "highlightor", 4, "ngIf"], [1, "selectedNumber"], [1, "highlightor"], [1, "filter-option", "display-flex", 3, "click"], [3, "checked", 4, "ngIf"], ["type", "radio", 3, "checked", 4, "ngIf"], [3, "ngStyle"], [3, "checked"], ["type", "radio", 3, "checked"]], template: function MobileFilterComponent_Template(rf, ctx) {
135
+ if (rf & 1) {
136
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "img", 2);
137
+ i0.ɵɵlistener("click", function MobileFilterComponent_Template_img_click_2_listener() { return ctx.closeFilters.emit(); });
138
+ i0.ɵɵelementEnd();
139
+ i0.ɵɵelementStart(3, "span");
140
+ i0.ɵɵtext(4);
141
+ i0.ɵɵelementEnd()();
142
+ i0.ɵɵelementStart(5, "div", 3)(6, "div", 4);
143
+ i0.ɵɵtemplate(7, MobileFilterComponent_ng_container_7_Template, 6, 6, "ng-container", 5);
144
+ i0.ɵɵpipe(8, "keyvalue");
145
+ i0.ɵɵelementEnd();
146
+ i0.ɵɵelementStart(9, "div", 6)(10, "div", 7)(11, "span");
147
+ i0.ɵɵtext(12);
148
+ i0.ɵɵelementEnd()();
149
+ i0.ɵɵelementStart(13, "div", 8);
150
+ i0.ɵɵtemplate(14, MobileFilterComponent_ng_container_14_Template, 6, 6, "ng-container", 5);
151
+ i0.ɵɵelementEnd()()();
152
+ i0.ɵɵelementStart(15, "div", 9)(16, "button", 10);
153
+ i0.ɵɵlistener("click", function MobileFilterComponent_Template_button_click_16_listener() { return ctx.clearFilters.emit(); });
154
+ i0.ɵɵtext(17);
155
+ i0.ɵɵelementEnd();
156
+ i0.ɵɵelementStart(18, "button", 11);
157
+ i0.ɵɵlistener("click", function MobileFilterComponent_Template_button_click_18_listener() { return ctx.applyFilters.emit(ctx.localFilterOptions); });
158
+ i0.ɵɵtext(19);
159
+ i0.ɵɵelementEnd()()();
160
+ }
161
+ if (rf & 2) {
162
+ i0.ɵɵadvance(2);
163
+ i0.ɵɵproperty("src", ctx.backIcon, i0.ɵɵsanitizeUrl);
164
+ i0.ɵɵadvance(2);
165
+ i0.ɵɵtextInterpolate(ctx.headerName);
166
+ i0.ɵɵadvance(3);
167
+ i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind2(8, 7, ctx.localFilterOptions, ctx.originalOrder));
168
+ i0.ɵɵadvance(5);
169
+ i0.ɵɵtextInterpolate(ctx.localFilterOptions[ctx.currentSelectedItem] == null ? null : ctx.localFilterOptions[ctx.currentSelectedItem].name);
170
+ i0.ɵɵadvance(2);
171
+ i0.ɵɵproperty("ngForOf", ctx.localFilterOptions[ctx.currentSelectedItem] == null ? null : ctx.localFilterOptions[ctx.currentSelectedItem].options);
172
+ i0.ɵɵadvance(3);
173
+ i0.ɵɵtextInterpolate1(" ", ctx.clearBtnName, " ");
174
+ i0.ɵɵadvance(2);
175
+ i0.ɵɵtextInterpolate1(" ", ctx.applyBtnName, " ");
176
+ }
177
+ }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgStyle, i2.ButtonDirective, i3.CheckboxComponent, i1.KeyValuePipe], styles: [".display-flex[_ngcontent-%COMP%]{display:flex}.filters-container[_ngcontent-%COMP%]{position:absolute;inset:0;background-color:#fff;cursor:default}.filters-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:Lato}.filters-container[_ngcontent-%COMP%] .head[_ngcontent-%COMP%]{height:56px;border-bottom:1px solid #E0E0E0;justify-content:flex-start;align-items:center;padding:0 16px;gap:12px}.filters-container[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{cursor:pointer}.filters-container[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:700;font-size:17px;line-height:24px;letter-spacing:.2px}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{height:calc(100vh - 129px)}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filters[_ngcontent-%COMP%]{width:120px;border-right:1px solid #E0E0E0;flex-shrink:0}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%]{height:56px;padding:0 16px;border-bottom:1px solid #E0E0E0;align-items:center;font-size:15px;justify-content:space-between;position:relative}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .filterName[_ngcontent-%COMP%]{color:#6a737d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .selectedNumber[_ngcontent-%COMP%]{background-color:#f5f5f5;height:24px;width:auto;font-size:14px;min-width:24px;border-radius:50%;text-align:center;line-height:24px;padding:0 8px}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filters[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%] .highlightor[_ngcontent-%COMP%]{position:absolute;left:0;height:100%;width:4px;background-color:#0937b2}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filter-options-container[_ngcontent-%COMP%]{padding:16px 16px 0 12px;width:calc(100% - 56px);overflow-x:hidden}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filter-options-container[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{color:#181f33}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filter-options-container[_ngcontent-%COMP%] .filter-options-title[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;line-height:16px;letter-spacing:.25px}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filter-options-container[_ngcontent-%COMP%] .filter-options-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#6a737d}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filter-options-container[_ngcontent-%COMP%] .filter-options[_ngcontent-%COMP%]{margin-top:16px;overflow-y:scroll;height:calc(100% - 32px)}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filter-options-container[_ngcontent-%COMP%] .filter-options[_ngcontent-%COMP%] .filter-option[_ngcontent-%COMP%]{height:48px;border-bottom:1px solid #E0E0E0;align-items:center;padding-left:16px;gap:13px;font-size:15px}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filter-options-container[_ngcontent-%COMP%] .filter-options[_ngcontent-%COMP%] .filter-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filters-container[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] .filter-options-container[_ngcontent-%COMP%] .filter-options[_ngcontent-%COMP%] .filter-option[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{accent-color:#0937B2;width:20px;height:20px}.filters-container[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%]{height:73px;border-top:1px solid #E0E0E0;padding:0 16px;align-items:center;justify-content:space-between}.filters-container[_ngcontent-%COMP%] .footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:160px}"] });
178
+ (function () {
179
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MobileFilterComponent, [{
180
+ type: Component,
181
+ args: [{ selector: 'mis-mobile-filter', template: "<div class=\"filters-container\">\n <div class=\"head display-flex\">\n <img (click)=\"closeFilters.emit();\" [src]=\"backIcon\" alt=\"\">\n <span>{{headerName}}</span>\n </div>\n <div class=\"body display-flex\">\n <div class=\"filters\">\n <ng-container *ngFor=\"let filter of localFilterOptions | keyvalue : originalOrder\">\n <div class=\"filter display-flex\" (click)=\"currentSelectedItem = filter.key\">\n <span class=\"filterName\" [ngStyle]=\"{'color': filter.key === currentSelectedItem ? '#0937B2' : '#181F33'}\">{{ localFilterOptions[filter.key]?.name }}</span>\n <span class=\"selectedNumber\" *ngIf=\"localFilterOptions[filter.key]['multiSelect'] && localFilterOptions[filter.key]['noOfSelectedItems'] > 0\">{{ localFilterOptions[filter.key]['noOfSelectedItems'] }}</span>\n <div class=\"highlightor\" *ngIf=\"filter.key === currentSelectedItem\"></div>\n </div>\n </ng-container>\n </div>\n <div class=\"filter-options-container\">\n <div class=\"filter-options-title\">\n <span>{{ localFilterOptions[currentSelectedItem]?.name }}</span>\n </div>\n <div class=\"filter-options\">\n <ng-container *ngFor=\"let option of localFilterOptions[currentSelectedItem]?.options; let i = index\">\n <div class=\"filter-option display-flex\" (click)=\"toggleFilter(option.value, option.selected)\" >\n <mis-checkbox *ngIf=\"localFilterOptions[currentSelectedItem].multiSelect\" [checked]=\"option.selected\"></mis-checkbox>\n <input type=\"radio\" *ngIf=\"!localFilterOptions[currentSelectedItem].multiSelect\" [checked]=\"option.selected\">\n <span [ngStyle]=\"{'color': option.selected ? '#181F33' : '#6A737D'}\">{{ option.label }}</span>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n <div class=\"footer display-flex\">\n <button\n mis-button\n size=\"md\"\n type=\"text\"\n (click)=\"clearFilters.emit()\">\n {{clearBtnName}}\n </button>\n <button\n mis-button\n size=\"md\"\n type=\"primary\"\n (click)=\"applyFilters.emit(localFilterOptions)\"\n >\n {{applyBtnName}}\n </button>\n </div>\n</div>\n", styles: [".display-flex{display:flex}.filters-container{position:absolute;inset:0;background-color:#fff;cursor:default}.filters-container *{font-family:Lato}.filters-container .head{height:56px;border-bottom:1px solid #E0E0E0;justify-content:flex-start;align-items:center;padding:0 16px;gap:12px}.filters-container .head img{cursor:pointer}.filters-container .head span{font-weight:700;font-size:17px;line-height:24px;letter-spacing:.2px}.filters-container .body{height:calc(100vh - 129px)}.filters-container .body .filters{width:120px;border-right:1px solid #E0E0E0;flex-shrink:0}.filters-container .body .filters .filter{height:56px;padding:0 16px;border-bottom:1px solid #E0E0E0;align-items:center;font-size:15px;justify-content:space-between;position:relative}.filters-container .body .filters .filter .filterName{color:#6a737d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filters-container .body .filters .filter .selectedNumber{background-color:#f5f5f5;height:24px;width:auto;font-size:14px;min-width:24px;border-radius:50%;text-align:center;line-height:24px;padding:0 8px}.filters-container .body .filters .filter .highlightor{position:absolute;left:0;height:100%;width:4px;background-color:#0937b2}.filters-container .body .filter-options-container{padding:16px 16px 0 12px;width:calc(100% - 56px);overflow-x:hidden}.filters-container .body .filter-options-container *{color:#181f33}.filters-container .body .filter-options-container .filter-options-title{text-transform:uppercase;font-size:12px;line-height:16px;letter-spacing:.25px}.filters-container .body .filter-options-container .filter-options-title span{color:#6a737d}.filters-container .body .filter-options-container .filter-options{margin-top:16px;overflow-y:scroll;height:calc(100% - 32px)}.filters-container .body .filter-options-container .filter-options .filter-option{height:48px;border-bottom:1px solid #E0E0E0;align-items:center;padding-left:16px;gap:13px;font-size:15px}.filters-container .body .filter-options-container .filter-options .filter-option span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.filters-container .body .filter-options-container .filter-options .filter-option input[type=radio]{accent-color:#0937B2;width:20px;height:20px}.filters-container .footer{height:73px;border-top:1px solid #E0E0E0;padding:0 16px;align-items:center;justify-content:space-between}.filters-container .footer button{width:160px}\n"] }]
182
+ }], function () { return []; }, { currentSelectedItem: [{
183
+ type: Input
184
+ }], filterOptions: [{
185
+ type: Input
186
+ }], backIcon: [{
187
+ type: Input
188
+ }], headerName: [{
189
+ type: Input
190
+ }], applyBtnName: [{
191
+ type: Input
192
+ }], clearBtnName: [{
193
+ type: Input
194
+ }], closeFilters: [{
195
+ type: Output
196
+ }], clearFilters: [{
197
+ type: Output
198
+ }], applyFilters: [{
199
+ type: Output
200
+ }] });
201
+ })();
202
+
203
+ class MobileFilterModule {
204
+ }
205
+ MobileFilterModule.ɵfac = function MobileFilterModule_Factory(t) { return new (t || MobileFilterModule)(); };
206
+ MobileFilterModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MobileFilterModule });
207
+ MobileFilterModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, ButtonModule, CheckboxModule] });
208
+ (function () {
209
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MobileFilterModule, [{
210
+ type: NgModule,
211
+ args: [{
212
+ declarations: [MobileFilterComponent],
213
+ imports: [CommonModule, ButtonModule, CheckboxModule],
214
+ exports: [MobileFilterComponent]
215
+ }]
216
+ }], null, null);
217
+ })();
218
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MobileFilterModule, { declarations: [MobileFilterComponent], imports: [CommonModule, ButtonModule, CheckboxModule], exports: [MobileFilterComponent] }); })();
219
+
220
+ /**
221
+ * Generated bundle index. Do not edit.
222
+ */
223
+
224
+ export { MobileFilterComponent, MobileFilterModule };
225
+ //# sourceMappingURL=mis-crystal-design-system-mobile-filter.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mis-crystal-design-system-mobile-filter.mjs","sources":["../../../projects/mis-components/mobile-filter/mobile-filter.component.html","../../../projects/mis-components/mobile-filter/mobile-filter.component.ts","../../../projects/mis-components/mobile-filter/mobile-filter.module.ts","../../../projects/mis-components/mobile-filter/mis-crystal-design-system-mobile-filter.ts"],"sourcesContent":["<div class=\"filters-container\">\n <div class=\"head display-flex\">\n <img (click)=\"closeFilters.emit();\" [src]=\"backIcon\" alt=\"\">\n <span>{{headerName}}</span>\n </div>\n <div class=\"body display-flex\">\n <div class=\"filters\">\n <ng-container *ngFor=\"let filter of localFilterOptions | keyvalue : originalOrder\">\n <div class=\"filter display-flex\" (click)=\"currentSelectedItem = filter.key\">\n <span class=\"filterName\" [ngStyle]=\"{'color': filter.key === currentSelectedItem ? '#0937B2' : '#181F33'}\">{{ localFilterOptions[filter.key]?.name }}</span>\n <span class=\"selectedNumber\" *ngIf=\"localFilterOptions[filter.key]['multiSelect'] && localFilterOptions[filter.key]['noOfSelectedItems'] > 0\">{{ localFilterOptions[filter.key]['noOfSelectedItems'] }}</span>\n <div class=\"highlightor\" *ngIf=\"filter.key === currentSelectedItem\"></div>\n </div>\n </ng-container>\n </div>\n <div class=\"filter-options-container\">\n <div class=\"filter-options-title\">\n <span>{{ localFilterOptions[currentSelectedItem]?.name }}</span>\n </div>\n <div class=\"filter-options\">\n <ng-container *ngFor=\"let option of localFilterOptions[currentSelectedItem]?.options; let i = index\">\n <div class=\"filter-option display-flex\" (click)=\"toggleFilter(option.value, option.selected)\" >\n <mis-checkbox *ngIf=\"localFilterOptions[currentSelectedItem].multiSelect\" [checked]=\"option.selected\"></mis-checkbox>\n <input type=\"radio\" *ngIf=\"!localFilterOptions[currentSelectedItem].multiSelect\" [checked]=\"option.selected\">\n <span [ngStyle]=\"{'color': option.selected ? '#181F33' : '#6A737D'}\">{{ option.label }}</span>\n </div>\n </ng-container>\n </div>\n </div>\n </div>\n <div class=\"footer display-flex\">\n <button\n mis-button\n size=\"md\"\n type=\"text\"\n (click)=\"clearFilters.emit()\">\n {{clearBtnName}}\n </button>\n <button\n mis-button\n size=\"md\"\n type=\"primary\"\n (click)=\"applyFilters.emit(localFilterOptions)\"\n >\n {{applyBtnName}}\n </button>\n </div>\n</div>\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\n@Component({\n selector: 'mis-mobile-filter',\n templateUrl: './mobile-filter.component.html',\n styleUrls: ['./mobile-filter.component.scss']\n})\nexport class MobileFilterComponent implements OnInit {\n\n localFilterOptions: IFilterOptions;\n @Input() currentSelectedItem: string = 'Sort';\n\n @Input() set filterOptions(options) {\n this.localFilterOptions = options;\n };\n\n @Input() backIcon: string = '';\n\n @Input() headerName: string = 'Filters';\n @Input() applyBtnName: string = 'Apply';\n @Input() clearBtnName: string = 'Clear Filters';\n\n @Output() closeFilters = new EventEmitter();\n @Output() clearFilters = new EventEmitter();\n @Output() applyFilters = new EventEmitter<IFilterOptions>();\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n originalOrder() { // used in template for keyvalue pipe sorting\n return 0;\n }\n\n toggleFilter(data, isSelectedItem) {\n const isMultiSelect = this.localFilterOptions[this.currentSelectedItem].multiSelect;\n this.localFilterOptions[this.currentSelectedItem].noOfSelectedItems = 0;\n this.localFilterOptions[this.currentSelectedItem].options = this.localFilterOptions[this.currentSelectedItem].options.map(option => {\n const isSelectedValue = option.value === data;\n (isMultiSelect && option.selected) && (this.localFilterOptions[this.currentSelectedItem].noOfSelectedItems +=1);\n return {\n ...option,\n selected: isSelectedValue ? (isMultiSelect ? !option.selected : true) : (isMultiSelect ? option.selected : false)\n }\n });\n\n // changing number of selected items for multiselect filters\n const noOfSelectedItems = this.localFilterOptions[this.currentSelectedItem].noOfSelectedItems;\n isMultiSelect ? this.localFilterOptions[this.currentSelectedItem].noOfSelectedItems = isSelectedItem ? noOfSelectedItems - 1 : noOfSelectedItems + 1 : null;\n \n }\n}\n\nexport interface IFilterOptions {\n [filterName: string]: {\n name: string;\n options: {label: string, value: string, selected: boolean, capacities?: number[], amenities?: string[]}[], // capacities & amenities are for floor\n multiSelect: boolean,\n noOfSelectedItems?: number\n }\n}\n","import { CommonModule } from \"@angular/common\";\nimport { NgModule } from \"@angular/core\";\nimport { MobileFilterComponent } from \"./mobile-filter.component\";\nimport { ButtonModule } from \"mis-crystal-design-system/button\";\nimport { CheckboxModule } from \"mis-crystal-design-system/checkbox\";\n\n@NgModule({\n declarations: [MobileFilterComponent],\n imports: [CommonModule, ButtonModule, CheckboxModule],\n exports: [MobileFilterComponent]\n})\nexport class MobileFilterModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;QAUoB,EAA8I,CAAA,cAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,CAAA;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,o+EAAA,EAAA,MAAA,EAAA,CAAA,s3EAAA,CAAA,EAAA,CAAA;0CAOpB,mBAAmB,EAAA,CAAA;sBAA3B,KAAK;gBAEO,aAAa,EAAA,CAAA;sBAAzB,KAAK;gBAIG,QAAQ,EAAA,CAAA;sBAAhB,KAAK;gBAEG,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,YAAY,EAAA,CAAA;sBAApB,KAAK;gBACG,YAAY,EAAA,CAAA;sBAApB,KAAK;gBAEI,YAAY,EAAA,CAAA;sBAArB,MAAM;gBACG,YAAY,EAAA,CAAA;sBAArB,MAAM;gBACG,YAAY,EAAA,CAAA;sBAArB,MAAM;;;;MCbI,kBAAkB,CAAA;;oFAAlB,kBAAkB,GAAA,CAAA,EAAA,CAAA;oEAAlB,kBAAkB,EAAA,CAAA,CAAA;wEAHnB,YAAY,EAAE,YAAY,EAAE,cAAc,CAAA,EAAA,CAAA,CAAA;;4EAGzC,kBAAkB,EAAA,CAAA;kBAL9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,cAAc,CAAC;oBACrD,OAAO,EAAE,CAAC,qBAAqB,CAAC;iBACjC,CAAA;;;wFACY,kBAAkB,EAAA,EAAA,YAAA,EAAA,CAJd,qBAAqB,CAC1B,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,YAAY,EAAE,cAAc,CAAA,EAAA,OAAA,EAAA,CAC1C,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACTjC;;AAEG;;;;"}
@@ -0,0 +1,184 @@
1
+ import * as i1$1 from '@angular/cdk/overlay';
2
+ import { OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
3
+ import * as i1 from '@angular/cdk/portal';
4
+ import { ComponentPortal, PortalInjector, PortalModule } from '@angular/cdk/portal';
5
+ import * as i0 from '@angular/core';
6
+ import { InjectionToken, ViewContainerRef, Component, ViewChild, Injectable, NgModule } from '@angular/core';
7
+ import { Subject } from 'rxjs';
8
+ import { trigger, transition, style, animate } from '@angular/animations';
9
+ import { CommonModule } from '@angular/common';
10
+
11
+ /** @format */
12
+ const MODAL_DATA_VAR = new InjectionToken("MISModalDataInjectionToken");
13
+
14
+ /** @format */
15
+ class ModalRef {
16
+ constructor(overlay) {
17
+ this.overlay = overlay;
18
+ this.afterClosed$ = new Subject();
19
+ this.afterClosed = this.afterClosed$.asObservable();
20
+ }
21
+ close(data) {
22
+ this.overlay.detach();
23
+ this.overlay.dispose();
24
+ this.afterClosed$.next(data);
25
+ this.afterClosed$.complete();
26
+ }
27
+ }
28
+
29
+ const _c0 = ["place"];
30
+ function ModuleWrapperComponent_ng_template_2_Template(rf, ctx) { }
31
+ class ModuleWrapperComponent {
32
+ constructor() { }
33
+ bindComponent(type, injector) {
34
+ this.initComponent(type, injector);
35
+ }
36
+ initComponent(type, injector) {
37
+ this.modalPortal = new ComponentPortal(type, this.place, injector);
38
+ }
39
+ }
40
+ ModuleWrapperComponent.ɵfac = function ModuleWrapperComponent_Factory(t) { return new (t || ModuleWrapperComponent)(); };
41
+ ModuleWrapperComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModuleWrapperComponent, selectors: [["mis-module-wrapper"]], viewQuery: function ModuleWrapperComponent_Query(rf, ctx) {
42
+ if (rf & 1) {
43
+ i0.ɵɵviewQuery(_c0, 5, ViewContainerRef);
44
+ }
45
+ if (rf & 2) {
46
+ let _t;
47
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.place = _t.first);
48
+ }
49
+ }, decls: 3, vars: 2, consts: [[1, "mis-modal-body"], ["place", ""], [3, "cdkPortalOutlet"]], template: function ModuleWrapperComponent_Template(rf, ctx) {
50
+ if (rf & 1) {
51
+ i0.ɵɵelementStart(0, "div", 0, 1);
52
+ i0.ɵɵtemplate(2, ModuleWrapperComponent_ng_template_2_Template, 0, 0, "ng-template", 2);
53
+ i0.ɵɵelementEnd();
54
+ }
55
+ if (rf & 2) {
56
+ i0.ɵɵproperty("@slideInOut", undefined);
57
+ i0.ɵɵadvance(2);
58
+ i0.ɵɵproperty("cdkPortalOutlet", ctx.modalPortal);
59
+ }
60
+ }, dependencies: [i1.CdkPortalOutlet], styles: [".mis-modal-body[_ngcontent-%COMP%]{display:block;width:100%;height:100%;background-color:transparent;border-radius:12px;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;overflow:hidden}"], data: { animation: [
61
+ trigger("slideInOut", [
62
+ transition(":enter", [
63
+ style({ transform: "translateY(-30%)", opacity: 0 }),
64
+ animate("200ms ease-out", style({ transform: "translatey(0%)", opacity: 1 }))
65
+ ]),
66
+ transition(":leave", [animate("200ms ease-out", style({ transform: "translatey(-30%)", opacity: 0 }))])
67
+ ])
68
+ ] } });
69
+ (function () {
70
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModuleWrapperComponent, [{
71
+ type: Component,
72
+ args: [{ selector: "mis-module-wrapper", animations: [
73
+ trigger("slideInOut", [
74
+ transition(":enter", [
75
+ style({ transform: "translateY(-30%)", opacity: 0 }),
76
+ animate("200ms ease-out", style({ transform: "translatey(0%)", opacity: 1 }))
77
+ ]),
78
+ transition(":leave", [animate("200ms ease-out", style({ transform: "translatey(-30%)", opacity: 0 }))])
79
+ ])
80
+ ], template: "<div class=\"mis-modal-body\" #place @slideInOut>\n <ng-template [cdkPortalOutlet]=\"modalPortal\"></ng-template>\n</div>\n", styles: [".mis-modal-body{display:block;width:100%;height:100%;background-color:transparent;border-radius:12px;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;overflow:hidden}\n"] }]
81
+ }], function () { return []; }, { place: [{
82
+ type: ViewChild,
83
+ args: ["place", { static: false, read: ViewContainerRef }]
84
+ }] });
85
+ })();
86
+
87
+ class ModalService {
88
+ constructor(overlay, injector) {
89
+ this.overlay = overlay;
90
+ this.injector = injector;
91
+ }
92
+ show(component, data, options) {
93
+ const positionStrategy = this.calculatePosition(options);
94
+ const { width, height } = options || {};
95
+ const config = new OverlayConfig({
96
+ hasBackdrop: true,
97
+ positionStrategy,
98
+ scrollStrategy: this.overlay.scrollStrategies.noop(),
99
+ width: width,
100
+ height,
101
+ panelClass: "mis-modal",
102
+ backdropClass: "mis-modal-overlay"
103
+ });
104
+ const overlayRef = this.overlay.create(config);
105
+ const modalRef = new ModalRef(overlayRef);
106
+ const injector = this.createInjector(modalRef, this.injector, data);
107
+ const portal = new ComponentPortal(ModuleWrapperComponent, null);
108
+ this.componentInstance = overlayRef.attach(portal);
109
+ if (options === null || options === void 0 ? void 0 : options.closeOnBackdropClick) {
110
+ overlayRef.backdropClick().subscribe(() => modalRef.close());
111
+ }
112
+ this.componentInstance.instance.bindComponent(component, injector);
113
+ return modalRef;
114
+ }
115
+ createInjector(ref, inj, data) {
116
+ const injectorTokens = new WeakMap();
117
+ injectorTokens.set(ModalRef, ref);
118
+ injectorTokens.set(MODAL_DATA_VAR, data);
119
+ return new PortalInjector(inj, injectorTokens);
120
+ }
121
+ calculatePosition(options) {
122
+ const position = this.overlay.position().global().centerHorizontally().centerVertically();
123
+ if (options && screen.width > 600) {
124
+ if (options.top) {
125
+ position.top(options.top);
126
+ }
127
+ if (options.left) {
128
+ position.left(options.left);
129
+ }
130
+ if (options.right) {
131
+ position.right(options.right);
132
+ }
133
+ if (options.bottom) {
134
+ position.bottom(options.bottom);
135
+ }
136
+ }
137
+ return position;
138
+ }
139
+ }
140
+ ModalService.ɵfac = function ModalService_Factory(t) { return new (t || ModalService)(i0.ɵɵinject(i1$1.Overlay), i0.ɵɵinject(i0.Injector)); };
141
+ ModalService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ModalService, factory: ModalService.ɵfac, providedIn: "root" });
142
+ (function () {
143
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalService, [{
144
+ type: Injectable,
145
+ args: [{
146
+ providedIn: "root"
147
+ }]
148
+ }], function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }]; }, null);
149
+ })();
150
+
151
+ class ModalModule {
152
+ static forRoot() {
153
+ return {
154
+ ngModule: ModalModule,
155
+ providers: [ModalService]
156
+ };
157
+ }
158
+ static forChild() {
159
+ return {
160
+ ngModule: ModalModule,
161
+ providers: [ModalService]
162
+ };
163
+ }
164
+ }
165
+ ModalModule.ɵfac = function ModalModule_Factory(t) { return new (t || ModalModule)(); };
166
+ ModalModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ModalModule });
167
+ ModalModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, OverlayModule, PortalModule] });
168
+ (function () {
169
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalModule, [{
170
+ type: NgModule,
171
+ args: [{
172
+ declarations: [ModuleWrapperComponent],
173
+ imports: [CommonModule, OverlayModule, PortalModule]
174
+ }]
175
+ }], null, null);
176
+ })();
177
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ModalModule, { declarations: [ModuleWrapperComponent], imports: [CommonModule, OverlayModule, PortalModule] }); })();
178
+
179
+ /**
180
+ * Generated bundle index. Do not edit.
181
+ */
182
+
183
+ export { MODAL_DATA_VAR, ModalModule, ModalRef, ModalService };
184
+ //# sourceMappingURL=mis-crystal-design-system-modal.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mis-crystal-design-system-modal.mjs","sources":["../../../projects/mis-components/modal/modal-constants.ts","../../../projects/mis-components/modal/modal-ref.ts","../../../projects/mis-components/modal/module-wrapper/module-wrapper.component.ts","../../../projects/mis-components/modal/module-wrapper/module-wrapper.component.html","../../../projects/mis-components/modal/modal.service.ts","../../../projects/mis-components/modal/modal.module.ts","../../../projects/mis-components/modal/mis-crystal-design-system-modal.ts"],"sourcesContent":["/** @format */\n\nimport { InjectionToken } from \"@angular/core\";\n\nexport const MODAL_DATA_VAR = new InjectionToken<any>(\"MISModalDataInjectionToken\");\n","/** @format */\n\nimport { OverlayRef } from \"@angular/cdk/overlay\";\nimport { Injectable } from \"@angular/core\";\nimport { Subject } from \"rxjs\";\n\nexport class ModalRef {\n private afterClosed$ = new Subject<unknown>();\n afterClosed = this.afterClosed$.asObservable();\n\n constructor(public overlay: OverlayRef) {}\n\n close(data?: unknown): void {\n this.overlay.detach();\n this.overlay.dispose();\n this.afterClosed$.next(data);\n this.afterClosed$.complete();\n }\n}\n","import { trigger, transition, style, animate } from \"@angular/animations\";\nimport { ComponentPortal, PortalInjector } from \"@angular/cdk/portal\";\nimport { Component, Injector, OnInit, ViewChild, ViewContainerRef } from \"@angular/core\";\nimport { ModalRef } from \"../modal-ref\";\n\n@Component({\n selector: \"mis-module-wrapper\",\n templateUrl: \"./module-wrapper.component.html\",\n styleUrls: [\"./module-wrapper.component.scss\"],\n animations: [\n trigger(\"slideInOut\", [\n transition(\":enter\", [\n style({ transform: \"translateY(-30%)\", opacity: 0 }),\n animate(\"200ms ease-out\", style({ transform: \"translatey(0%)\", opacity: 1 }))\n ]),\n transition(\":leave\", [animate(\"200ms ease-out\", style({ transform: \"translatey(-30%)\", opacity: 0 }))])\n ])\n ]\n})\nexport class ModuleWrapperComponent {\n modalPortal: ComponentPortal<any>;\n constructor() {}\n\n @ViewChild(\"place\", { static: false, read: ViewContainerRef }) place: ViewContainerRef;\n\n bindComponent(type: any, injector: PortalInjector) {\n this.initComponent(type, injector);\n }\n\n private initComponent(type: any, injector: PortalInjector) {\n this.modalPortal = new ComponentPortal(type, this.place, injector);\n }\n}\n","<div class=\"mis-modal-body\" #place @slideInOut>\n <ng-template [cdkPortalOutlet]=\"modalPortal\"></ng-template>\n</div>\n","import { ComponentType, Overlay, OverlayConfig } from \"@angular/cdk/overlay\";\nimport { ComponentPortal, PortalInjector } from \"@angular/cdk/portal\";\nimport { ComponentRef, Injectable, Injector } from \"@angular/core\";\nimport { MODAL_DATA_VAR } from \"./modal-constants\";\nimport { ModalRef } from \"./modal-ref\";\nimport { ModuleWrapperComponent } from \"./module-wrapper/module-wrapper.component\";\n\ninterface IModalOptions {\n width?: string;\n height?: string;\n top?: string;\n right?: string;\n bottom?: string;\n left?: string;\n closeOnBackdropClick?: boolean;\n}\n@Injectable({\n providedIn: \"root\"\n})\nexport class ModalService {\n private componentInstance: ComponentRef<ModuleWrapperComponent>;\n\n constructor(private overlay: Overlay, private injector: Injector) {}\n\n show<T, D>(component: ComponentType<T>, data?: D, options?: IModalOptions): ModalRef {\n const positionStrategy = this.calculatePosition(options);\n const { width, height } = options || {};\n const config = new OverlayConfig({\n hasBackdrop: true,\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.noop(),\n width: width,\n height,\n panelClass: \"mis-modal\",\n backdropClass: \"mis-modal-overlay\"\n });\n const overlayRef = this.overlay.create(config);\n const modalRef = new ModalRef(overlayRef);\n const injector = this.createInjector(modalRef, this.injector, data);\n const portal = new ComponentPortal(ModuleWrapperComponent, null);\n this.componentInstance = overlayRef.attach(portal);\n if (options?.closeOnBackdropClick) {\n overlayRef.backdropClick().subscribe(() => modalRef.close());\n }\n this.componentInstance.instance.bindComponent(component, injector);\n return modalRef;\n }\n private createInjector<D>(ref: ModalRef, inj: Injector, data?: D): PortalInjector {\n const injectorTokens = new WeakMap();\n injectorTokens.set(ModalRef, ref);\n injectorTokens.set(MODAL_DATA_VAR, data);\n return new PortalInjector(inj, injectorTokens);\n }\n\n private calculatePosition(options: IModalOptions) {\n const position = this.overlay.position().global().centerHorizontally().centerVertically();\n if (options && screen.width > 600) {\n if (options.top) {\n position.top(options.top);\n }\n if (options.left) {\n position.left(options.left);\n }\n if (options.right) {\n position.right(options.right);\n }\n if (options.bottom) {\n position.bottom(options.bottom);\n }\n }\n return position;\n }\n}\n","import { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { PortalModule } from \"@angular/cdk/portal\";\nimport { ModuleWrapperComponent } from \"./module-wrapper/module-wrapper.component\";\nimport { ModalService } from \"./modal.service\";\n\n@NgModule({\n declarations: [ModuleWrapperComponent],\n imports: [CommonModule, OverlayModule, PortalModule]\n})\nexport class ModalModule {\n static forRoot(): ModuleWithProviders<ModalModule> {\n return {\n ngModule: ModalModule,\n providers: [ModalService]\n };\n }\n\n static forChild(): ModuleWithProviders<ModalModule> {\n return {\n ngModule: ModalModule,\n providers: [ModalService]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAAA;MAIa,cAAc,GAAG,IAAI,cAAc,CAAM,4BAA4B;;ACJlF;MAMa,QAAQ,CAAA;AAInB,IAAA,WAAA,CAAmB,OAAmB,EAAA;AAAnB,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAY;AAH9B,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,OAAO,EAAW,CAAC;QAC9C,IAAA,CAAA,WAAW,GAAG,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;KAEL;AAE1C,IAAA,KAAK,CAAC,IAAc,EAAA;AAClB,QAAA,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;AACtB,QAAA,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;AACvB,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC7B,QAAA,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KAC9B;AACF;;;;MCCY,sBAAsB,CAAA;AAEjC,IAAA,WAAA,GAAA,GAAgB;IAIhB,aAAa,CAAC,IAAS,EAAE,QAAwB,EAAA;AAC/C,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;KACpC;IAEO,aAAa,CAAC,IAAS,EAAE,QAAwB,EAAA;AACvD,QAAA,IAAI,CA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