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 @@
1
+ {"version":3,"file":"mis-crystal-design-system-toast.mjs","sources":["../../../projects/mis-components/toast/toast.data.service.ts","../../../projects/mis-components/toast/toast.component.html","../../../projects/mis-components/toast/toast.component.ts","../../../projects/mis-components/toast/toast.service.ts","../../../projects/mis-components/toast/toast.module.ts","../../../projects/mis-components/toast/mis-crystal-design-system-toast.ts"],"sourcesContent":["import { Injectable } from \"@angular/core\";\n\n@Injectable({\n providedIn: \"root\"\n})\nexport class ToastDataService {\n private messageMap: Map<number, string> = new Map();\n get messages(): string[] {\n return Array.from(this.messageMap.values()).reverse();\n }\n\n constructor() {}\n\n updateMessage(msg: string): number {\n const id = new Date().getTime();\n this.messageMap.set(id, msg);\n return id;\n }\n\n removeMessage(id: number): void {\n this.messageMap.delete(id);\n }\n\n hasMessage(): boolean {\n return this.messageMap.size > 0;\n }\n}\n","<div class=\"toast-container\">\n <div *ngFor=\"let msg of data.messages\" @fadeInOut>\n <div class=\"toast-wrapper\">\n <div class=\"msg\">{{ msg }}</div>\n </div>\n </div>\n</div>\n","import { animate, style, transition, trigger } from \"@angular/animations\";\nimport { Component } from \"@angular/core\";\nimport { ToastDataService } from \"./toast.data.service\";\n\n@Component({\n selector: \"mis-teams-toast\",\n templateUrl: \"./toast.component.html\",\n styleUrls: [\"./toast.component.scss\"],\n animations: [\n trigger(\"fadeInOut\", [\n transition(\":enter\", [\n style({ opacity: \"0\", transform: \"translateY(-50%)\", height: \"0\" }),\n animate(\"300ms ease-in\", style({ opacity: \"1\", transform: \"translateY(0)\", height: \"*\" }))\n ]),\n transition(\":leave\", [animate(\"300ms ease-in\", style({ opacity: \"0\", transform: \"translateY(50%)\" }))])\n ])\n ]\n})\nexport class ToastComponent {\n constructor(public data: ToastDataService) {}\n}\n","import { Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { ComponentPortal } from \"@angular/cdk/portal\";\nimport { Injectable } from \"@angular/core\";\nimport { ToastComponent } from \"./toast.component\";\nimport { ToastDataService } from \"./toast.data.service\";\n\ntype Operations = \"created\" | \"updated\" | \"deleted\" | \"create\" | \"update\" | \"delete\";\n\n@Injectable({\n providedIn: \"root\"\n})\nexport class ToastService {\n constructor(private overlay: Overlay, private data: ToastDataService) {\n this.userProfilePortal = new ComponentPortal(ToastComponent);\n }\n private toastWrapperRef: OverlayRef;\n private messagePromises: Promise<void>[] = [];\n private userProfilePortal: ComponentPortal<ToastComponent>;\n\n messageBuilder = {\n error: {\n simple: \"Something went wrong. Please try again later.\",\n 400: \"Bad Request! We are working to fix this.\",\n 401: \"UNAUTHORISED\",\n 403: \"Sorry for the interruption but seems like your session has expired. Please login again and continue\",\n 404: \"Unable to find resource. Please try again later\"\n },\n item: (item: string) => {\n return {\n action: (act: Operations = \"updated\") => {\n const success = `Successfully ${act} ${item}.`;\n const failure = `Failed to ${act} ${item}.`;\n return {\n success,\n failure\n };\n }\n };\n },\n short: (act: Operations = \"updated\") => {\n const success = `Successfully ${act}.`;\n const failure = `Failed to ${act}.`;\n return {\n success,\n failure\n };\n },\n simple: (...args: string[]) => args.join(\" \"),\n simplest: \"Done!\"\n };\n\n displayMsg(msg: string, timeout = 3000): void {\n const positionStrategy = this.overlay.position().global().centerHorizontally();\n\n if (window?.innerWidth < 600) {\n positionStrategy.bottom(\"48px\");\n } else {\n positionStrategy.top(\"80px\");\n }\n const config = new OverlayConfig({\n hasBackdrop: false,\n positionStrategy\n });\n if (!this.toastWrapperRef?.hasAttached()) {\n this.toastWrapperRef = this.overlay.create(config);\n this.toastWrapperRef.attach(this.userProfilePortal);\n }\n const messageId = this.data.updateMessage(msg);\n this.messagePromises.push(\n new Promise((resolve, reject) => {\n setTimeout(() => {\n resolve(this.data.removeMessage(messageId));\n if (!this.data.hasMessage()) {\n this.closeToastOverlay();\n }\n // adding 300ms for entry animation\n }, timeout + 300);\n })\n );\n Promise.race(this.messagePromises).then(() => {});\n }\n\n // tslint:disable-next-line\n private closeToastOverlay(): any {\n return setTimeout(() => {\n this.messagePromises = [];\n this.toastWrapperRef?.detach();\n // adding 300ms for exit animation\n }, 300);\n }\n}\n","import { OverlayModule } from \"@angular/cdk/overlay\";\nimport { CommonModule } from \"@angular/common\";\nimport { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { ToastComponent } from \"./toast.component\";\nimport { ToastDataService } from \"./toast.data.service\";\nimport { ToastService } from \"./toast.service\";\n\n@NgModule({\n declarations: [ToastComponent],\n imports: [CommonModule, OverlayModule]\n})\nexport class ToastModule {\n static forRoot(): ModuleWithProviders<ToastModule> {\n return {\n ngModule: ToastModule,\n providers: [ToastDataService, ToastService]\n };\n }\n\n static forChild(): ModuleWithProviders<ToastModule> {\n return {\n ngModule: ToastModule,\n providers: [ToastDataService, ToastService]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.ToastDataService","i2.ToastDataService"],"mappings":";;;;;;;;;MAKa,gBAAgB,CAAA;AAM3B,IAAA,WAAA,GAAA;AALQ,QAAA,IAAA,CAAA,UAAU,GAAwB,IAAI,GAAG,EAAE,CAAC;KAKpC;AAJhB,IAAA,IAAI,QAAQ,GAAA;AACV,QAAA,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;KACvD;AAID,IAAA,aAAa,CAAC,GAAW,EAAA;QACvB,MAAM,EAAE,GAAG,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,CAAC;QAChC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,EAAE,GAAG,CAAC,CA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A,EAAA,CAAA,cAAc,CACnB,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACTzC;;AAEG;;;;"}
@@ -0,0 +1,265 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ViewChild, Directive, Input, HostListener, NgModule } from '@angular/core';
3
+ import * as i1$1 from '@angular/cdk/overlay';
4
+ import { OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
5
+ import { take } from 'rxjs/operators';
6
+ import { ComponentPortal } from '@angular/cdk/portal';
7
+ import * as i1 from '@angular/common';
8
+ import { CommonModule } from '@angular/common';
9
+ import { genPositionPairs } from 'mis-crystal-design-system/utils';
10
+
11
+ const _c0 = ["container"];
12
+ function ToolTipComponent_div_0_div_3_ng_container_1_Template(rf, ctx) {
13
+ if (rf & 1) {
14
+ i0.ɵɵelementContainer(0);
15
+ }
16
+ }
17
+ function ToolTipComponent_div_0_div_3_Template(rf, ctx) {
18
+ if (rf & 1) {
19
+ i0.ɵɵelementStart(0, "div");
20
+ i0.ɵɵtemplate(1, ToolTipComponent_div_0_div_3_ng_container_1_Template, 1, 0, "ng-container", 7);
21
+ i0.ɵɵelementEnd();
22
+ }
23
+ if (rf & 2) {
24
+ const ctx_r2 = i0.ɵɵnextContext(2);
25
+ i0.ɵɵadvance(1);
26
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.tooltipTemplate);
27
+ }
28
+ }
29
+ const _c1 = function (a0) { return { "text-align": a0 }; };
30
+ function ToolTipComponent_div_0_ng_template_4_Template(rf, ctx) {
31
+ if (rf & 1) {
32
+ i0.ɵɵelement(0, "div", 8);
33
+ }
34
+ if (rf & 2) {
35
+ const ctx_r4 = i0.ɵɵnextContext(2);
36
+ i0.ɵɵproperty("innerHTML", ctx_r4.toolTipText, i0.ɵɵsanitizeHtml)("ngStyle", i0.ɵɵpureFunction1(2, _c1, ctx_r4.toolTipTextAlignment ? ctx_r4.toolTipTextAlignment : ""));
37
+ }
38
+ }
39
+ const _c2 = function (a0, a1, a2, a3) { return { "arrow-left": a0, "arrow-right": a1, "arrow-top": a2, "arrow-bottom": a3 }; };
40
+ function ToolTipComponent_div_0_Template(rf, ctx) {
41
+ if (rf & 1) {
42
+ i0.ɵɵelementStart(0, "div", 1, 2)(2, "div", 3);
43
+ i0.ɵɵtemplate(3, ToolTipComponent_div_0_div_3_Template, 2, 1, "div", 4);
44
+ i0.ɵɵtemplate(4, ToolTipComponent_div_0_ng_template_4_Template, 1, 4, "ng-template", null, 5, i0.ɵɵtemplateRefExtractor);
45
+ i0.ɵɵelement(6, "span", 6);
46
+ i0.ɵɵelementEnd()();
47
+ }
48
+ if (rf & 2) {
49
+ const _r3 = i0.ɵɵreference(5);
50
+ const ctx_r0 = i0.ɵɵnextContext();
51
+ i0.ɵɵadvance(3);
52
+ i0.ɵɵproperty("ngIf", ctx_r0.tooltipTemplate)("ngIfElse", _r3);
53
+ i0.ɵɵadvance(3);
54
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(3, _c2, ctx_r0.toolTipPosition === "left", ctx_r0.toolTipPosition === "right", ctx_r0.toolTipPosition === "top", ctx_r0.toolTipPosition === "bottom"));
55
+ }
56
+ }
57
+ class ToolTipComponent {
58
+ constructor() {
59
+ this.toolTipText = "";
60
+ this.toolTipPosition = "bottom";
61
+ this.toolTipTextAlignment = "";
62
+ }
63
+ ngOnInit() { }
64
+ ngAfterViewInit() {
65
+ var _a;
66
+ if (!((_a = this.container) === null || _a === void 0 ? void 0 : _a.nativeElement))
67
+ return;
68
+ if (this.toolTipPosition === "top" || this.toolTipPosition === "bottom") {
69
+ const eleWidth = this.container.nativeElement.getBoundingClientRect();
70
+ this.container.nativeElement.style.left = eleWidth.width / -2 + "px";
71
+ return;
72
+ }
73
+ if (this.toolTipPosition === "left") {
74
+ const eleWidth = this.container.nativeElement.getBoundingClientRect();
75
+ this.container.nativeElement.style.left = -eleWidth.width + "px";
76
+ }
77
+ }
78
+ }
79
+ ToolTipComponent.ɵfac = function ToolTipComponent_Factory(t) { return new (t || ToolTipComponent)(); };
80
+ ToolTipComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ToolTipComponent, selectors: [["mis-tooltip"]], viewQuery: function ToolTipComponent_Query(rf, ctx) {
81
+ if (rf & 1) {
82
+ i0.ɵɵviewQuery(_c0, 5);
83
+ }
84
+ if (rf & 2) {
85
+ let _t;
86
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
87
+ }
88
+ }, decls: 1, vars: 1, consts: [["id", "tooltip-container", 4, "ngIf"], ["id", "tooltip-container"], ["container", ""], ["id", "tooltip"], [4, "ngIf", "ngIfElse"], ["tooltipText", ""], ["id", "arrow", 3, "ngClass"], [4, "ngTemplateOutlet"], ["id", "tooltip-text", 3, "innerHTML", "ngStyle"]], template: function ToolTipComponent_Template(rf, ctx) {
89
+ if (rf & 1) {
90
+ i0.ɵɵtemplate(0, ToolTipComponent_div_0_Template, 7, 8, "div", 0);
91
+ }
92
+ if (rf & 2) {
93
+ i0.ɵɵproperty("ngIf", ctx.toolTipText.length > 0 || ctx.tooltipTemplate);
94
+ }
95
+ }, dependencies: [i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle], styles: ["#tooltip-container[_ngcontent-%COMP%]{position:absolute;z-index:1}#tooltip[_ngcontent-%COMP%]{position:relative;display:block;padding:8px 12px;border-radius:8px;color:#fff;background:#181f33;font-family:Lato,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px}#tooltip-text[_ngcontent-%COMP%]{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#arrow[_ngcontent-%COMP%]{position:absolute;height:12px;width:12px;background:#181f33;z-index:1}.arrow-top[_ngcontent-%COMP%]{left:50%;bottom:-6px;transform:translate(-50%) rotate(-45deg);-webkit-transform:translateX(-50%) rotate(-45deg)}.arrow-bottom[_ngcontent-%COMP%]{left:50%;top:-6px;transform:translate(-50%) rotate(-45deg);-webkit-transform:translateX(-50%) rotate(-45deg)}.arrow-left[_ngcontent-%COMP%]{top:50%;right:-6px;transform:translateY(-50%) rotate(-45deg);-webkit-transform:translateY(-50%) rotate(-45deg)}.arrow-right[_ngcontent-%COMP%]{top:50%;left:-6px;transform:translateY(-50%) rotate(-45deg);-webkit-transform:translateY(-50%) rotate(-45deg)}"] });
96
+ (function () {
97
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToolTipComponent, [{
98
+ type: Component,
99
+ args: [{ selector: "mis-tooltip", template: "<div id=\"tooltip-container\" *ngIf=\"toolTipText.length > 0 || tooltipTemplate\" #container>\n <div id=\"tooltip\">\n <div *ngIf=\"tooltipTemplate; else tooltipText\">\n <ng-container *ngTemplateOutlet=\"tooltipTemplate\"></ng-container>\n </div>\n\n <ng-template #tooltipText>\n <div id=\"tooltip-text\" [innerHTML]=\"toolTipText\" \n [ngStyle]=\"{'text-align' : toolTipTextAlignment ? toolTipTextAlignment : '' }\"></div>\n </ng-template>\n\n <span\n id=\"arrow\"\n [ngClass]=\"{\n 'arrow-left': toolTipPosition === 'left',\n 'arrow-right': toolTipPosition === 'right',\n 'arrow-top': toolTipPosition === 'top',\n 'arrow-bottom': toolTipPosition === 'bottom'\n }\"\n ></span>\n </div>\n</div>\n", styles: ["#tooltip-container{position:absolute;z-index:1}#tooltip{position:relative;display:block;padding:8px 12px;border-radius:8px;color:#fff;background:#181f33;font-family:Lato,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px}#tooltip-text{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#arrow{position:absolute;height:12px;width:12px;background:#181f33;z-index:1}.arrow-top{left:50%;bottom:-6px;transform:translate(-50%) rotate(-45deg);-webkit-transform:translateX(-50%) rotate(-45deg)}.arrow-bottom{left:50%;top:-6px;transform:translate(-50%) rotate(-45deg);-webkit-transform:translateX(-50%) rotate(-45deg)}.arrow-left{top:50%;right:-6px;transform:translateY(-50%) rotate(-45deg);-webkit-transform:translateY(-50%) rotate(-45deg)}.arrow-right{top:50%;left:-6px;transform:translateY(-50%) rotate(-45deg);-webkit-transform:translateY(-50%) rotate(-45deg)}\n"] }]
100
+ }], function () { return []; }, { container: [{
101
+ type: ViewChild,
102
+ args: ["container"]
103
+ }] });
104
+ })();
105
+
106
+ class ToolTipDirective {
107
+ constructor(element, overlay, viewContainerRef) {
108
+ this.element = element;
109
+ this.overlay = overlay;
110
+ this.viewContainerRef = viewContainerRef;
111
+ this.isToolTipDisplayed = false;
112
+ this.toolTipText = "";
113
+ this.toolTipTextAlignment = "";
114
+ this.toolTipPosition = "bottom";
115
+ this.showOnHover = true;
116
+ }
117
+ set showToolTip(value) {
118
+ this.isToolTipDisplayed = value;
119
+ if (value)
120
+ this.displayToolTip();
121
+ else
122
+ this.hideToolTip();
123
+ }
124
+ set text(value) {
125
+ this.toolTipText = value;
126
+ }
127
+ set position(value) {
128
+ this.toolTipPosition = value;
129
+ }
130
+ set alignText(value) {
131
+ this.toolTipTextAlignment = value;
132
+ }
133
+ set tooltipTemplate(value) {
134
+ this.templateRef = value;
135
+ }
136
+ onMouseEnter() {
137
+ if (this.showOnHover)
138
+ this.displayToolTip();
139
+ }
140
+ onMouseLeave() {
141
+ if (this.showOnHover)
142
+ this.hideToolTip();
143
+ }
144
+ ngOnInit() { }
145
+ ngAfterViewInit() {
146
+ if (this.isToolTipDisplayed)
147
+ this.displayToolTip();
148
+ else
149
+ this.hideToolTip();
150
+ }
151
+ displayToolTip() {
152
+ const positionStrategy = this.overlay
153
+ .position()
154
+ .flexibleConnectedTo(this.element)
155
+ .withPositions(genPositionPairs({
156
+ positionX: "center",
157
+ positionY: this.toolTipPosition === "top" ? "top" : "center",
158
+ offsetX: this.positionTooltip("OFFSET_X"),
159
+ offsetY: this.positionTooltip("OFFSET_Y")
160
+ }, false))
161
+ .withPush(true);
162
+ const config = new OverlayConfig({
163
+ hasBackdrop: false,
164
+ positionStrategy,
165
+ scrollStrategy: this.overlay.scrollStrategies.reposition()
166
+ });
167
+ this.overlayRef = this.overlay.create(config);
168
+ const tempRef = new ComponentPortal(ToolTipComponent, this.viewContainerRef);
169
+ const tooltipRef = this.overlayRef.attach(tempRef);
170
+ tooltipRef.instance.tooltipTemplate = this.templateRef;
171
+ tooltipRef.instance.toolTipText = this.toolTipText;
172
+ tooltipRef.instance.toolTipPosition = this.toolTipPosition;
173
+ tooltipRef.instance.toolTipTextAlignment = this.toolTipTextAlignment;
174
+ this.overlayRef
175
+ .backdropClick()
176
+ .pipe(take(1))
177
+ .subscribe(() => {
178
+ this.hideToolTip();
179
+ });
180
+ }
181
+ positionTooltip(type) {
182
+ if (type === "OFFSET_X") {
183
+ return this.toolTipPosition === "right"
184
+ ? this.element.nativeElement.offsetWidth / 2 + 8
185
+ : this.toolTipPosition === "left"
186
+ ? (this.element.nativeElement.offsetWidth / 2 + 8) * -1
187
+ : this.toolTipPosition === "top" || this.toolTipPosition === "bottom"
188
+ ? 0
189
+ : 8;
190
+ }
191
+ if (type !== "OFFSET_Y")
192
+ return;
193
+ return this.toolTipPosition === "right" || this.toolTipPosition === "left"
194
+ ? -18
195
+ : this.toolTipPosition === "top"
196
+ ? -44
197
+ : this.toolTipPosition === "bottom"
198
+ ? this.element.nativeElement.offsetHeight / 2 + 8
199
+ : 8;
200
+ }
201
+ hideToolTip() {
202
+ var _a, _b;
203
+ (_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
204
+ (_b = this.overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
205
+ }
206
+ }
207
+ ToolTipDirective.ɵfac = function ToolTipDirective_Factory(t) { return new (t || ToolTipDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$1.Overlay), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
208
+ ToolTipDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ToolTipDirective, selectors: [["", "misToolTip", ""]], hostBindings: function ToolTipDirective_HostBindings(rf, ctx) {
209
+ if (rf & 1) {
210
+ i0.ɵɵlistener("mouseenter", function ToolTipDirective_mouseenter_HostBindingHandler() { return ctx.onMouseEnter(); })("mouseleave", function ToolTipDirective_mouseleave_HostBindingHandler() { return ctx.onMouseLeave(); });
211
+ }
212
+ }, inputs: { showOnHover: "showOnHover", showToolTip: "showToolTip", text: "text", position: "position", alignText: "alignText", tooltipTemplate: "tooltipTemplate" } });
213
+ (function () {
214
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToolTipDirective, [{
215
+ type: Directive,
216
+ args: [{
217
+ selector: "[misToolTip]"
218
+ }]
219
+ }], function () { return [{ type: i0.ElementRef }, { type: i1$1.Overlay }, { type: i0.ViewContainerRef }]; }, { showOnHover: [{
220
+ type: Input
221
+ }], showToolTip: [{
222
+ type: Input
223
+ }], text: [{
224
+ type: Input
225
+ }], position: [{
226
+ type: Input
227
+ }], alignText: [{
228
+ type: Input
229
+ }], tooltipTemplate: [{
230
+ type: Input
231
+ }], onMouseEnter: [{
232
+ type: HostListener,
233
+ args: ["mouseenter"]
234
+ }], onMouseLeave: [{
235
+ type: HostListener,
236
+ args: ["mouseleave"]
237
+ }] });
238
+ })();
239
+
240
+ class ToolTipModule {
241
+ static forRoot() {
242
+ return { ngModule: ToolTipModule, providers: [] };
243
+ }
244
+ }
245
+ ToolTipModule.ɵfac = function ToolTipModule_Factory(t) { return new (t || ToolTipModule)(); };
246
+ ToolTipModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: ToolTipModule });
247
+ ToolTipModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, OverlayModule] });
248
+ (function () {
249
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ToolTipModule, [{
250
+ type: NgModule,
251
+ args: [{
252
+ declarations: [ToolTipDirective, ToolTipComponent],
253
+ imports: [CommonModule, OverlayModule],
254
+ exports: [ToolTipDirective, ToolTipComponent]
255
+ }]
256
+ }], null, null);
257
+ })();
258
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(ToolTipModule, { declarations: [ToolTipDirective, ToolTipComponent], imports: [CommonModule, OverlayModule], exports: [ToolTipDirective, ToolTipComponent] }); })();
259
+
260
+ /**
261
+ * Generated bundle index. Do not edit.
262
+ */
263
+
264
+ export { ToolTipComponent, ToolTipDirective, ToolTipModule };
265
+ //# sourceMappingURL=mis-crystal-design-system-tooltip.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mis-crystal-design-system-tooltip.mjs","sources":["../../../projects/mis-components/tooltip/tooltip-container/tooltip.component.html","../../../projects/mis-components/tooltip/tooltip-container/tooltip.component.ts","../../../projects/mis-components/tooltip/tooltip.directive.ts","../../../projects/mis-components/tooltip/tooltip.module.ts","../../../projects/mis-components/tooltip/mis-crystal-design-system-tooltip.ts"],"sourcesContent":["<div id=\"tooltip-container\" *ngIf=\"toolTipText.length > 0 || tooltipTemplate\" #container>\n <div id=\"tooltip\">\n <div *ngIf=\"tooltipTemplate; else tooltipText\">\n <ng-container *ngTemplateOutlet=\"tooltipTemplate\"></ng-container>\n </div>\n\n <ng-template #tooltipText>\n <div id=\"tooltip-text\" [innerHTML]=\"toolTipText\" \n [ngStyle]=\"{'text-align' : toolTipTextAlignment ? toolTipTextAlignment : '' }\"></div>\n </ng-template>\n\n <span\n id=\"arrow\"\n [ngClass]=\"{\n 'arrow-left': toolTipPosition === 'left',\n 'arrow-right': toolTipPosition === 'right',\n 'arrow-top': toolTipPosition === 'top',\n 'arrow-bottom': toolTipPosition === 'bottom'\n }\"\n ></span>\n </div>\n</div>\n","import { AfterViewInit, Component, ElementRef, Inject, OnInit, TemplateRef, ViewChild } from \"@angular/core\";\nimport { ITooltipPositions } from \"../models/tooltip.model\";\n\n@Component({\n selector: \"mis-tooltip\",\n templateUrl: \"./tooltip.component.html\",\n styleUrls: [\"./tooltip.component.scss\"]\n})\nexport class ToolTipComponent implements OnInit, AfterViewInit {\n public toolTipText: string = \"\";\n public toolTipPosition: ITooltipPositions = \"bottom\";\n public toolTipTextAlignment: string = \"\";\n tooltipTemplate: TemplateRef<any>\n\n @ViewChild(\"container\") container: ElementRef;\n\n constructor() {}\n ngOnInit() {}\n ngAfterViewInit() {\n if (!this.container?.nativeElement) return;\n if (this.toolTipPosition === \"top\" || this.toolTipPosition === \"bottom\") {\n const eleWidth = this.container.nativeElement.getBoundingClientRect();\n this.container.nativeElement.style.left = eleWidth.width / -2 + \"px\";\n return;\n }\n if (this.toolTipPosition === \"left\") {\n const eleWidth = this.container.nativeElement.getBoundingClientRect();\n this.container.nativeElement.style.left = -eleWidth.width + \"px\";\n }\n }\n}\n","import { AfterViewInit, Directive, ElementRef, HostListener, Input, OnInit, TemplateRef, ViewContainerRef } from \"@angular/core\";\nimport { Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { take } from \"rxjs/operators\";\nimport { ComponentPortal } from \"@angular/cdk/portal\";\nimport { ToolTipComponent } from \"./tooltip-container/tooltip.component\";\nimport { genPositionPairs } from \"mis-crystal-design-system/utils\";\nimport { ITooltipPositions } from \"./models/tooltip.model\";\n\n@Directive({\n selector: \"[misToolTip]\"\n})\nexport class ToolTipDirective implements OnInit, AfterViewInit {\n public isToolTipDisplayed: boolean = false;\n public toolTipText: string = \"\";\n public toolTipTextAlignment: string = \"\";\n public toolTipPosition: ITooltipPositions = \"bottom\";\n private overlayRef: OverlayRef;\n private templateRef: TemplateRef<any>;\n\n @Input() showOnHover: boolean = true;\n @Input() set showToolTip(value: boolean) {\n this.isToolTipDisplayed = value;\n if (value) this.displayToolTip();\n else this.hideToolTip();\n }\n @Input() set text(value: string) {\n this.toolTipText = value;\n }\n @Input() set position(value: ITooltipPositions) {\n this.toolTipPosition = value;\n }\n @Input() set alignText(value: string) {\n this.toolTipTextAlignment = value;\n }\n @Input() set tooltipTemplate(value: TemplateRef<any>){\n this.templateRef = value;\n }\n\n @HostListener(\"mouseenter\") onMouseEnter() {\n if (this.showOnHover) this.displayToolTip();\n }\n @HostListener(\"mouseleave\") onMouseLeave() {\n if (this.showOnHover) this.hideToolTip();\n }\n\n constructor(private element: ElementRef, private overlay: Overlay, private viewContainerRef: ViewContainerRef) {}\n\n ngOnInit() {}\n ngAfterViewInit() {\n if (this.isToolTipDisplayed) this.displayToolTip();\n else this.hideToolTip();\n }\n\n displayToolTip() {\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.element)\n .withPositions(\n genPositionPairs(\n {\n positionX: \"center\",\n positionY: this.toolTipPosition === \"top\" ? \"top\" : \"center\",\n offsetX: this.positionTooltip(\"OFFSET_X\"),\n offsetY: this.positionTooltip(\"OFFSET_Y\")\n },\n false\n )\n )\n .withPush(true);\n const config = new OverlayConfig({\n hasBackdrop: false,\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition()\n });\n this.overlayRef = this.overlay.create(config);\n const tempRef = new ComponentPortal(ToolTipComponent, this.viewContainerRef);\n const tooltipRef = this.overlayRef.attach(tempRef);\n tooltipRef.instance.tooltipTemplate = this.templateRef;\n tooltipRef.instance.toolTipText = this.toolTipText;\n tooltipRef.instance.toolTipPosition = this.toolTipPosition;\n tooltipRef.instance.toolTipTextAlignment = this.toolTipTextAlignment;\n this.overlayRef\n .backdropClick()\n .pipe(take(1))\n .subscribe(() => {\n this.hideToolTip();\n });\n }\n\n positionTooltip(type: \"OFFSET_X\" | \"OFFSET_Y\") {\n if (type === \"OFFSET_X\") {\n return this.toolTipPosition === \"right\"\n ? this.element.nativeElement.offsetWidth / 2 + 8\n : this.toolTipPosition === \"left\"\n ? (this.element.nativeElement.offsetWidth / 2 + 8) * -1\n : this.toolTipPosition === \"top\" || this.toolTipPosition === \"bottom\"\n ? 0\n : 8;\n }\n if (type !== \"OFFSET_Y\") return;\n return this.toolTipPosition === \"right\" || this.toolTipPosition === \"left\"\n ? -18\n : this.toolTipPosition === \"top\"\n ? -44\n : this.toolTipPosition === \"bottom\"\n ? this.element.nativeElement.offsetHeight / 2 + 8\n : 8;\n }\n\n hideToolTip() {\n this.overlayRef?.detach();\n this.overlayRef?.dispose();\n }\n}\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { ToolTipDirective } from \"./tooltip.directive\";\nimport { ToolTipComponent } from \"./tooltip-container/tooltip.component\";\n\n@NgModule({\n declarations: [ToolTipDirective, ToolTipComponent],\n imports: [CommonModule, OverlayModule],\n exports: [ToolTipDirective, ToolTipComponent]\n})\nexport class ToolTipModule {\n static forRoot(): ModuleWithProviders<ToolTipModule> {\n return { ngModule: ToolTipModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;AAGM,QAAA,EAAiE,CAAA,kBAAA,CAAA,CAAA,CAAA,CAAA;;;;;AADnE,QAAA,EAA+C,CAAA,cAAA,CAAA,CAAA,EAAA,KAAA,CAAA,CAAA;AAC7C,QAAA,EAAiE,CAAA,UAAA,CAAA,CAAA,EAAA,oDAAA,EAAA,CAAA,EAAA,CAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA;QACnE,EAAM,CAAA,YAAA,EAAA,CAAA;;;;AADW,QAAA,EAAiC,CAAA,SAAA,CAAA,CAAA,CAAA,CAAA;QAAjC,EAAiC,CAAA,UAAA,CAAA,kBAAA,EAAA,MAAA,CAAA,eAAA,CAAA,CAAA;;;;;;QAIhD,EAC0F,CAAA,SAAA,CAAA,CAAA,EAAA,KAAA,EAAA,CAAA,CAAA,CAAA;;;;AADnE,QAAA,EAAA,CAAA,UAAA,CAAA,WAAA,EAAA,MAAA,CAAA,WAAA,EAAA,EAAA,CAAA,cAAA,CAAyB,CAAA,SAAA,EAAA,EAAA,CAAA,e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=mis-crystal-design-system-utils.js.map
24
+ //# sourceMappingURL=mis-crystal-design-system-utils.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mis-crystal-design-system-utils.mjs","sources":["../../../projects/mis-components/utils/index.ts","../../../projects/mis-components/utils/mis-crystal-design-system-utils.ts"],"sourcesContent":["import { ConnectionPositionPair } from \"@angular/cdk/overlay\";\n\nexport const genPositionPairs = ({ positionX, positionY, offsetX = 0, offsetY = 0 }, isResponsive: boolean): ConnectionPositionPair[] => {\n const positions = [\n new ConnectionPositionPair(\n { originX: positionX, originY: positionY },\n {\n overlayX: positionX,\n overlayY: positionY\n },\n offsetX,\n offsetY\n ),\n new ConnectionPositionPair({ originX: \"center\", originY: \"bottom\" }, { overlayX: \"center\", overlayY: \"top\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"center\", originY: \"top\" }, { overlayX: \"center\", overlayY: \"bottom\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"start\", originY: \"bottom\" }, { overlayX: \"start\", overlayY: \"top\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"start\", originY: \"top\" }, { overlayX: \"start\", overlayY: \"bottom\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"end\", originY: \"bottom\" }, { overlayX: \"end\", overlayY: \"top\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"end\", originY: \"top\" }, { overlayX: \"end\", overlayY: \"bottom\" }, offsetX, offsetY)\n ];\n return isResponsive ? positions : positions.slice(0, 1);\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;MAEa,gBAAgB,GAAG,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,GAAG,CAAC,EAAE,OAAO,GAAG,CAAC,EAAE,EAAE,YAAqB,KAA8B;AACtI,IAAA,MAAM,SAAS,GAAG;QAChB,IAAI,sBAAsB,CACxB,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS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AK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAC1D;;ACrBA;;AAEG;;;;"}
@@ -0,0 +1,259 @@
1
+ import * as i2 from '@angular/cdk/scrolling';
2
+ import { CdkVirtualScrollViewport, ScrollingModule } from '@angular/cdk/scrolling';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i0 from '@angular/core';
6
+ import { EventEmitter, Component, Input, ViewChild, ContentChild, Output, NgModule } from '@angular/core';
7
+ import * as i3 from 'mis-crystal-design-system/loader';
8
+ import { LoaderModule } from 'mis-crystal-design-system/loader';
9
+ import { BehaviorSubject, of } from 'rxjs';
10
+ import { tap, catchError, throttleTime, mergeMap, scan } from 'rxjs/operators';
11
+
12
+ const _c0 = ["virtualScrollItem"];
13
+ function VirtualScrollComponent_div_0_Template(rf, ctx) {
14
+ if (rf & 1) {
15
+ i0.ɵɵelementStart(0, "div", 2);
16
+ i0.ɵɵelement(1, "mis-loader");
17
+ i0.ɵɵelementEnd();
18
+ }
19
+ }
20
+ function VirtualScrollComponent_div_1_Template(rf, ctx) {
21
+ if (rf & 1) {
22
+ i0.ɵɵelementStart(0, "div", 2)(1, "span");
23
+ i0.ɵɵtext(2, "Unknown error has occurred.");
24
+ i0.ɵɵelementEnd()();
25
+ }
26
+ }
27
+ const _c1 = function (a0, a1) { return { $implicit: a0, index: a1 }; };
28
+ function VirtualScrollComponent_ng_container_2_cdk_virtual_scroll_viewport_1_ng_container_2_Template(rf, ctx) {
29
+ if (rf & 1) {
30
+ i0.ɵɵelementContainerStart(0);
31
+ i0.ɵɵelementContainer(1, 8);
32
+ i0.ɵɵelementContainerEnd();
33
+ }
34
+ if (rf & 2) {
35
+ const item_r8 = ctx.$implicit;
36
+ const i_r9 = ctx.index;
37
+ const ctx_r6 = i0.ɵɵnextContext(3);
38
+ i0.ɵɵadvance(1);
39
+ i0.ɵɵproperty("ngTemplateOutlet", ctx_r6.customItem)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1, item_r8, i_r9));
40
+ }
41
+ }
42
+ function VirtualScrollComponent_ng_container_2_cdk_virtual_scroll_viewport_1_div_3_Template(rf, ctx) {
43
+ if (rf & 1) {
44
+ i0.ɵɵelementStart(0, "div", 9);
45
+ i0.ɵɵelement(1, "mis-loader");
46
+ i0.ɵɵelementEnd();
47
+ }
48
+ }
49
+ function VirtualScrollComponent_ng_container_2_cdk_virtual_scroll_viewport_1_Template(rf, ctx) {
50
+ if (rf & 1) {
51
+ const _r12 = i0.ɵɵgetCurrentView();
52
+ i0.ɵɵelementStart(0, "cdk-virtual-scroll-viewport", 4, 5);
53
+ i0.ɵɵlistener("scrolledIndexChange", function VirtualScrollComponent_ng_container_2_cdk_virtual_scroll_viewport_1_Template_cdk_virtual_scroll_viewport_scrolledIndexChange_0_listener() { i0.ɵɵrestoreView(_r12); const data_r3 = i0.ɵɵnextContext().ngIf; const ctx_r10 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r10.nextBatch(data_r3.length)); });
54
+ i0.ɵɵtemplate(2, VirtualScrollComponent_ng_container_2_cdk_virtual_scroll_viewport_1_ng_container_2_Template, 2, 5, "ng-container", 6);
55
+ i0.ɵɵtemplate(3, VirtualScrollComponent_ng_container_2_cdk_virtual_scroll_viewport_1_div_3_Template, 2, 0, "div", 7);
56
+ i0.ɵɵelementEnd();
57
+ }
58
+ if (rf & 2) {
59
+ const data_r3 = i0.ɵɵnextContext().ngIf;
60
+ const ctx_r4 = i0.ɵɵnextContext();
61
+ i0.ɵɵproperty("minBufferPx", ctx_r4.config.minBufferPx)("maxBufferPx", ctx_r4.config.maxBufferPx)("itemSize", ctx_r4.config.rowHeight);
62
+ i0.ɵɵadvance(2);
63
+ i0.ɵɵproperty("cdkVirtualForOf", data_r3);
64
+ i0.ɵɵadvance(1);
65
+ i0.ɵɵproperty("ngIf", ctx_r4.rowsLoading);
66
+ }
67
+ }
68
+ function VirtualScrollComponent_ng_container_2_Template(rf, ctx) {
69
+ if (rf & 1) {
70
+ i0.ɵɵelementContainerStart(0);
71
+ i0.ɵɵtemplate(1, VirtualScrollComponent_ng_container_2_cdk_virtual_scroll_viewport_1_Template, 4, 5, "cdk-virtual-scroll-viewport", 3);
72
+ i0.ɵɵelementContainerEnd();
73
+ }
74
+ if (rf & 2) {
75
+ const ctx_r2 = i0.ɵɵnextContext();
76
+ i0.ɵɵadvance(1);
77
+ i0.ɵɵproperty("ngIf", !ctx_r2.loading && !ctx_r2.error);
78
+ }
79
+ }
80
+ class VirtualScrollComponent {
81
+ constructor(changeDetectorRef) {
82
+ this.changeDetectorRef = changeDetectorRef;
83
+ // Infinite scroll related variables
84
+ this.offset = new BehaviorSubject(null);
85
+ this.endOfInfiniteData = false;
86
+ this.rowsLoading = false;
87
+ // Main state managing variables
88
+ this.loading = false;
89
+ this.error = false;
90
+ this.config = {
91
+ minBufferPx: 2400,
92
+ maxBufferPx: 2400,
93
+ rowHeight: 128,
94
+ pageSize: 5,
95
+ infiniteScrollDataFunction: (offset, pageSize) => of([1, 2, 3, 4, 5])
96
+ };
97
+ this.intialized = new EventEmitter();
98
+ this.switchOffInfiniteScroll = () => {
99
+ this.error = false;
100
+ this.loading = true;
101
+ this.data$ = this.config.data$.pipe(tap(() => {
102
+ this.loading = false;
103
+ this.changeDetectorRef.detectChanges();
104
+ }), catchError(err => {
105
+ console.error("Error: Unknown error occurred while fetching calendar data", err);
106
+ this.loading = false;
107
+ this.error = true;
108
+ return [];
109
+ }));
110
+ };
111
+ this.switchOnInfiniteScroll = () => {
112
+ this.error = false;
113
+ this.loading = true;
114
+ this.endOfInfiniteData = false;
115
+ this.offset.next(0);
116
+ this.setupInfiniteScroll();
117
+ };
118
+ }
119
+ ngOnInit() {
120
+ this.switchOnInfiniteScroll();
121
+ this.virtualScrollApi = {
122
+ toggleLoader: () => this.loading = !this.loading,
123
+ toggleError: () => this.error = !this.error,
124
+ switchOnInfiniteScroll: this.switchOnInfiniteScroll,
125
+ switchOffInfiniteScroll: this.switchOffInfiniteScroll
126
+ };
127
+ this.changeDetectorRef.detectChanges();
128
+ this.intialized.emit(this.virtualScrollApi);
129
+ }
130
+ setupInfiniteScroll() {
131
+ const batchMap = this.offset.pipe(throttleTime(500), mergeMap(offset => this.getBatch(offset)), scan((acc, batch) => {
132
+ return [...acc, ...batch];
133
+ }, []));
134
+ this.data$ = batchMap.pipe(tap(data => {
135
+ this.rowsLoading = false;
136
+ this.loading = false;
137
+ setTimeout(() => {
138
+ this.changeDetectorRef.detectChanges();
139
+ }, 50);
140
+ }));
141
+ }
142
+ nextBatch(offset) {
143
+ if (this.endOfInfiniteData) {
144
+ return;
145
+ }
146
+ const end = this.viewPort.getRenderedRange().end;
147
+ const total = this.viewPort.getDataLength();
148
+ offset = Math.ceil(offset / this.config.pageSize);
149
+ if (end === total && !this.rowsLoading) {
150
+ this.offset.next(offset);
151
+ }
152
+ }
153
+ getBatch(offset) {
154
+ this.rowsLoading = true;
155
+ if (offset == null)
156
+ offset = 0;
157
+ return this.config
158
+ .infiniteScrollDataFunction(offset, this.config.pageSize)
159
+ .pipe(tap((arr) => {
160
+ arr.length < this.config.pageSize ? (this.endOfInfiniteData = true) : null;
161
+ }), catchError(err => {
162
+ console.error("Error: Unknown error occurred while fetching calendar data", err);
163
+ this.rowsLoading = false;
164
+ this.loading = false;
165
+ this.error = true;
166
+ return [];
167
+ }));
168
+ }
169
+ }
170
+ VirtualScrollComponent.ɵfac = function VirtualScrollComponent_Factory(t) { return new (t || VirtualScrollComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
171
+ VirtualScrollComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: VirtualScrollComponent, selectors: [["mis-virtual-scroll"]], contentQueries: function VirtualScrollComponent_ContentQueries(rf, ctx, dirIndex) {
172
+ if (rf & 1) {
173
+ i0.ɵɵcontentQuery(dirIndex, _c0, 5);
174
+ }
175
+ if (rf & 2) {
176
+ let _t;
177
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customItem = _t.first);
178
+ }
179
+ }, viewQuery: function VirtualScrollComponent_Query(rf, ctx) {
180
+ if (rf & 1) {
181
+ i0.ɵɵviewQuery(CdkVirtualScrollViewport, 5);
182
+ }
183
+ if (rf & 2) {
184
+ let _t;
185
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.viewPort = _t.first);
186
+ }
187
+ }, inputs: { config: "config" }, outputs: { intialized: "intialized" }, decls: 4, vars: 5, consts: [["class", "state-container", 4, "ngIf"], [4, "ngIf"], [1, "state-container"], [3, "minBufferPx", "maxBufferPx", "itemSize", "scrolledIndexChange", 4, "ngIf"], [3, "minBufferPx", "maxBufferPx", "itemSize", "scrolledIndexChange"], ["viewport", ""], [4, "cdkVirtualFor", "cdkVirtualForOf"], ["id", "loader-container", 4, "ngIf"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["id", "loader-container"]], template: function VirtualScrollComponent_Template(rf, ctx) {
188
+ if (rf & 1) {
189
+ i0.ɵɵtemplate(0, VirtualScrollComponent_div_0_Template, 2, 0, "div", 0);
190
+ i0.ɵɵtemplate(1, VirtualScrollComponent_div_1_Template, 3, 0, "div", 0);
191
+ i0.ɵɵtemplate(2, VirtualScrollComponent_ng_container_2_Template, 2, 1, "ng-container", 1);
192
+ i0.ɵɵpipe(3, "async");
193
+ }
194
+ if (rf & 2) {
195
+ i0.ɵɵproperty("ngIf", ctx.loading);
196
+ i0.ɵɵadvance(1);
197
+ i0.ɵɵproperty("ngIf", !ctx.loading && ctx.error);
198
+ i0.ɵɵadvance(1);
199
+ i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(3, 3, ctx.data$));
200
+ }
201
+ }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i2.CdkFixedSizeVirtualScroll, i2.CdkVirtualForOf, i2.CdkVirtualScrollViewport, i3.LoaderComponent, i1.AsyncPipe], styles: ["cdk-virtual-scroll-viewport[_ngcontent-%COMP%]{height:100%}#main-container[_ngcontent-%COMP%]{height:100%;width:100%}.state-container[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;justify-content:center;align-items:center}#loader-container[_ngcontent-%COMP%]{width:100%;height:56px;display:flex;justify-content:center;align-items:center} #spinner{position:relative!important}"] });
202
+ (function () {
203
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VirtualScrollComponent, [{
204
+ type: Component,
205
+ args: [{ selector: "mis-virtual-scroll", template: "<div class=\"state-container\" *ngIf=\"loading\">\n <mis-loader></mis-loader>\n</div>\n<div class=\"state-container\" *ngIf=\"!loading && error\">\n <span>Unknown error has occurred.</span>\n</div>\n<ng-container *ngIf=\"data$ | async as data\">\n <cdk-virtual-scroll-viewport\n *ngIf=\"!loading && !error\"\n #viewport\n [minBufferPx]=\"config.minBufferPx\"\n [maxBufferPx]=\"config.maxBufferPx\"\n [itemSize]=\"this.config.rowHeight\"\n (scrolledIndexChange)=\"nextBatch(data.length)\"\n >\n <ng-container *cdkVirtualFor=\"let item of data; let i = index\">\n <ng-container\n [ngTemplateOutlet]=\"customItem\"\n [ngTemplateOutletContext]=\"{ $implicit: item, index: i }\"\n ></ng-container>\n </ng-container>\n <div id=\"loader-container\" *ngIf=\"rowsLoading\">\n <mis-loader></mis-loader>\n </div>\n </cdk-virtual-scroll-viewport>\n</ng-container>", styles: ["cdk-virtual-scroll-viewport{height:100%}#main-container{height:100%;width:100%}.state-container{height:100%;width:100%;display:flex;justify-content:center;align-items:center}#loader-container{width:100%;height:56px;display:flex;justify-content:center;align-items:center}::ng-deep #spinner{position:relative!important}\n"] }]
206
+ }], function () { return [{ type: i0.ChangeDetectorRef }]; }, { config: [{
207
+ type: Input,
208
+ args: ["config"]
209
+ }], viewPort: [{
210
+ type: ViewChild,
211
+ args: [CdkVirtualScrollViewport]
212
+ }], customItem: [{
213
+ type: ContentChild,
214
+ args: ["virtualScrollItem", { static: false }]
215
+ }], intialized: [{
216
+ type: Output
217
+ }] });
218
+ })();
219
+
220
+ class VirtualScrollModule {
221
+ static forRoot() {
222
+ return { ngModule: VirtualScrollModule, providers: [] };
223
+ }
224
+ }
225
+ VirtualScrollModule.ɵfac = function VirtualScrollModule_Factory(t) { return new (t || VirtualScrollModule)(); };
226
+ VirtualScrollModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: VirtualScrollModule });
227
+ VirtualScrollModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
228
+ ScrollingModule,
229
+ LoaderModule, ScrollingModule] });
230
+ (function () {
231
+ (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VirtualScrollModule, [{
232
+ type: NgModule,
233
+ args: [{
234
+ declarations: [
235
+ VirtualScrollComponent
236
+ ],
237
+ imports: [
238
+ CommonModule,
239
+ ScrollingModule,
240
+ LoaderModule
241
+ ],
242
+ exports: [VirtualScrollComponent, ScrollingModule],
243
+ }]
244
+ }], null, null);
245
+ })();
246
+ (function () {
247
+ (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(VirtualScrollModule, { declarations: [VirtualScrollComponent], imports: [CommonModule,
248
+ ScrollingModule,
249
+ LoaderModule], exports: [VirtualScrollComponent, ScrollingModule] });
250
+ })();
251
+
252
+ // import { VirtualScrollModule } from "./virtual-scroll.module";
253
+
254
+ /**
255
+ * Generated bundle index. Do not edit.
256
+ */
257
+
258
+ export { VirtualScrollComponent, VirtualScrollModule };
259
+ //# sourceMappingURL=mis-crystal-design-system-virtual-scroll.mjs.map