mis-crystal-design-system 2.9.7-v14-1 → 2.9.8

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 (675) hide show
  1. package/action-list/action-list.component.d.ts +0 -3
  2. package/action-list/action-list.module.d.ts +0 -9
  3. package/action-list/mis-crystal-design-system-action-list.d.ts +4 -0
  4. package/action-list/mis-crystal-design-system-action-list.metadata.json +1 -0
  5. package/action-list/package.json +11 -0
  6. package/analytics/analytics.module.d.ts +0 -4
  7. package/analytics/analytics.service.d.ts +0 -3
  8. package/analytics/mis-crystal-design-system-analytics.d.ts +4 -0
  9. package/analytics/mis-crystal-design-system-analytics.metadata.json +1 -0
  10. package/analytics/package.json +11 -0
  11. package/async-search-dropdown/async-dropdown.component.d.ts +2 -5
  12. package/async-search-dropdown/async-dropdown.module.d.ts +0 -9
  13. package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.d.ts +4 -0
  14. package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.metadata.json +1 -0
  15. package/async-search-dropdown/package.json +11 -0
  16. package/bundles/mis-crystal-design-system-action-list.umd.js +508 -0
  17. package/bundles/mis-crystal-design-system-action-list.umd.js.map +1 -0
  18. package/bundles/mis-crystal-design-system-action-list.umd.min.js +16 -0
  19. package/bundles/mis-crystal-design-system-action-list.umd.min.js.map +1 -0
  20. package/bundles/mis-crystal-design-system-analytics.umd.js +422 -0
  21. package/bundles/mis-crystal-design-system-analytics.umd.js.map +1 -0
  22. package/bundles/mis-crystal-design-system-analytics.umd.min.js +16 -0
  23. package/bundles/mis-crystal-design-system-analytics.umd.min.js.map +1 -0
  24. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js +258 -0
  25. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js.map +1 -0
  26. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js +2 -0
  27. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js.map +1 -0
  28. package/bundles/mis-crystal-design-system-button.umd.js +134 -0
  29. package/bundles/mis-crystal-design-system-button.umd.js.map +1 -0
  30. package/bundles/mis-crystal-design-system-button.umd.min.js +2 -0
  31. package/bundles/mis-crystal-design-system-button.umd.min.js.map +1 -0
  32. package/bundles/mis-crystal-design-system-checkbox.umd.js +127 -0
  33. package/bundles/mis-crystal-design-system-checkbox.umd.js.map +1 -0
  34. package/bundles/mis-crystal-design-system-checkbox.umd.min.js +2 -0
  35. package/bundles/mis-crystal-design-system-checkbox.umd.min.js.map +1 -0
  36. package/bundles/mis-crystal-design-system-chip.umd.js +64 -0
  37. package/bundles/mis-crystal-design-system-chip.umd.js.map +1 -0
  38. package/bundles/mis-crystal-design-system-chip.umd.min.js +2 -0
  39. package/bundles/mis-crystal-design-system-chip.umd.min.js.map +1 -0
  40. package/bundles/mis-crystal-design-system-datepicker_v2.umd.js +688 -0
  41. package/bundles/mis-crystal-design-system-datepicker_v2.umd.js.map +1 -0
  42. package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js +16 -0
  43. package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js.map +1 -0
  44. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js +740 -0
  45. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js.map +1 -0
  46. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js +16 -0
  47. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js.map +1 -0
  48. package/bundles/mis-crystal-design-system-drawer.umd.js +169 -0
  49. package/bundles/mis-crystal-design-system-drawer.umd.js.map +1 -0
  50. package/bundles/mis-crystal-design-system-drawer.umd.min.js +2 -0
  51. package/bundles/mis-crystal-design-system-drawer.umd.min.js.map +1 -0
  52. package/bundles/mis-crystal-design-system-dropdown.umd.js +493 -0
  53. package/bundles/mis-crystal-design-system-dropdown.umd.js.map +1 -0
  54. package/bundles/mis-crystal-design-system-dropdown.umd.min.js +16 -0
  55. package/bundles/mis-crystal-design-system-dropdown.umd.min.js.map +1 -0
  56. package/bundles/mis-crystal-design-system-fab.umd.js +95 -0
  57. package/bundles/mis-crystal-design-system-fab.umd.js.map +1 -0
  58. package/bundles/mis-crystal-design-system-fab.umd.min.js +2 -0
  59. package/bundles/mis-crystal-design-system-fab.umd.min.js.map +1 -0
  60. package/bundles/mis-crystal-design-system-input.umd.js +114 -0
  61. package/bundles/mis-crystal-design-system-input.umd.js.map +1 -0
  62. package/bundles/mis-crystal-design-system-input.umd.min.js +2 -0
  63. package/bundles/mis-crystal-design-system-input.umd.min.js.map +1 -0
  64. package/bundles/mis-crystal-design-system-loader.umd.js +53 -0
  65. package/bundles/mis-crystal-design-system-loader.umd.js.map +1 -0
  66. package/bundles/mis-crystal-design-system-loader.umd.min.js +2 -0
  67. package/bundles/mis-crystal-design-system-loader.umd.min.js.map +1 -0
  68. package/bundles/mis-crystal-design-system-menu.umd.js +119 -0
  69. package/bundles/mis-crystal-design-system-menu.umd.js.map +1 -0
  70. package/bundles/mis-crystal-design-system-menu.umd.min.js +2 -0
  71. package/bundles/mis-crystal-design-system-menu.umd.min.js.map +1 -0
  72. package/bundles/mis-crystal-design-system-modal.umd.js +161 -0
  73. package/bundles/mis-crystal-design-system-modal.umd.js.map +1 -0
  74. package/bundles/mis-crystal-design-system-modal.umd.min.js +2 -0
  75. package/bundles/mis-crystal-design-system-modal.umd.min.js.map +1 -0
  76. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js +622 -0
  77. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js.map +1 -0
  78. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js +16 -0
  79. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js.map +1 -0
  80. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js +636 -0
  81. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js.map +1 -0
  82. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js +16 -0
  83. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js.map +1 -0
  84. package/bundles/mis-crystal-design-system-phone-input.umd.js +68 -0
  85. package/bundles/mis-crystal-design-system-phone-input.umd.js.map +1 -0
  86. package/bundles/mis-crystal-design-system-phone-input.umd.min.js +2 -0
  87. package/bundles/mis-crystal-design-system-phone-input.umd.min.js.map +1 -0
  88. package/bundles/mis-crystal-design-system-radio-button.umd.js +77 -0
  89. package/bundles/mis-crystal-design-system-radio-button.umd.js.map +1 -0
  90. package/bundles/mis-crystal-design-system-radio-button.umd.min.js +2 -0
  91. package/bundles/mis-crystal-design-system-radio-button.umd.min.js.map +1 -0
  92. package/bundles/mis-crystal-design-system-ske-loader.umd.js +65 -0
  93. package/bundles/mis-crystal-design-system-ske-loader.umd.js.map +1 -0
  94. package/bundles/mis-crystal-design-system-ske-loader.umd.min.js +2 -0
  95. package/bundles/mis-crystal-design-system-ske-loader.umd.min.js.map +1 -0
  96. package/bundles/mis-crystal-design-system-styles.umd.js +11 -0
  97. package/bundles/mis-crystal-design-system-styles.umd.js.map +1 -0
  98. package/bundles/mis-crystal-design-system-styles.umd.min.js +2 -0
  99. package/bundles/mis-crystal-design-system-styles.umd.min.js.map +1 -0
  100. package/bundles/mis-crystal-design-system-switch.umd.js +79 -0
  101. package/bundles/mis-crystal-design-system-switch.umd.js.map +1 -0
  102. package/bundles/mis-crystal-design-system-switch.umd.min.js +2 -0
  103. package/bundles/mis-crystal-design-system-switch.umd.min.js.map +1 -0
  104. package/bundles/mis-crystal-design-system-table.umd.js +783 -0
  105. package/bundles/mis-crystal-design-system-table.umd.js.map +1 -0
  106. package/bundles/mis-crystal-design-system-table.umd.min.js +16 -0
  107. package/bundles/mis-crystal-design-system-table.umd.min.js.map +1 -0
  108. package/bundles/mis-crystal-design-system-toast.umd.js +202 -0
  109. package/bundles/mis-crystal-design-system-toast.umd.js.map +1 -0
  110. package/bundles/mis-crystal-design-system-toast.umd.min.js +2 -0
  111. package/bundles/mis-crystal-design-system-toast.umd.min.js.map +1 -0
  112. package/bundles/mis-crystal-design-system-tooltip.umd.js +194 -0
  113. package/bundles/mis-crystal-design-system-tooltip.umd.js.map +1 -0
  114. package/bundles/mis-crystal-design-system-tooltip.umd.min.js +2 -0
  115. package/bundles/mis-crystal-design-system-tooltip.umd.min.js.map +1 -0
  116. package/bundles/mis-crystal-design-system-utils.umd.js +33 -0
  117. package/bundles/mis-crystal-design-system-utils.umd.js.map +1 -0
  118. package/bundles/mis-crystal-design-system-utils.umd.min.js +2 -0
  119. package/bundles/mis-crystal-design-system-utils.umd.min.js.map +1 -0
  120. package/bundles/mis-crystal-design-system-virtual-scroll.umd.js +472 -0
  121. package/bundles/mis-crystal-design-system-virtual-scroll.umd.js.map +1 -0
  122. package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js +16 -0
  123. package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js.map +1 -0
  124. package/bundles/mis-crystal-design-system-widgets.umd.js +478 -0
  125. package/bundles/mis-crystal-design-system-widgets.umd.js.map +1 -0
  126. package/bundles/mis-crystal-design-system-widgets.umd.min.js +16 -0
  127. package/bundles/mis-crystal-design-system-widgets.umd.min.js.map +1 -0
  128. package/bundles/mis-crystal-design-system.umd.js +31 -0
  129. package/bundles/mis-crystal-design-system.umd.js.map +1 -0
  130. package/bundles/mis-crystal-design-system.umd.min.js +2 -0
  131. package/bundles/mis-crystal-design-system.umd.min.js.map +1 -0
  132. package/button/button.component.d.ts +0 -3
  133. package/button/button.directive.d.ts +0 -3
  134. package/button/button.module.d.ts +0 -7
  135. package/button/mis-crystal-design-system-button.d.ts +4 -0
  136. package/button/mis-crystal-design-system-button.metadata.json +1 -0
  137. package/button/package.json +11 -0
  138. package/checkbox/checkbox.component.d.ts +0 -3
  139. package/checkbox/checkbox.module.d.ts +0 -7
  140. package/checkbox/mis-crystal-design-system-checkbox.d.ts +4 -0
  141. package/checkbox/mis-crystal-design-system-checkbox.metadata.json +1 -0
  142. package/checkbox/package.json +11 -0
  143. package/chip/chip.component.d.ts +0 -3
  144. package/chip/chip.module.d.ts +0 -6
  145. package/chip/mis-crystal-design-system-chip.d.ts +4 -0
  146. package/chip/mis-crystal-design-system-chip.metadata.json +1 -0
  147. package/chip/package.json +11 -0
  148. package/datepicker_v2/datepicker.module.d.ts +0 -10
  149. package/datepicker_v2/mis-crystal-design-system-datepicker_v2.d.ts +7 -0
  150. package/datepicker_v2/mis-crystal-design-system-datepicker_v2.metadata.json +1 -0
  151. package/datepicker_v2/package.json +11 -0
  152. package/datepicker_v2/public_api.d.ts +0 -1
  153. package/datepicker_v2/tz-datepicker.directive.d.ts +0 -3
  154. package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +0 -3
  155. package/daterangepicker_v2/daterangepicker.module.d.ts +0 -10
  156. package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.d.ts +7 -0
  157. package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.metadata.json +1 -0
  158. package/daterangepicker_v2/package.json +11 -0
  159. package/daterangepicker_v2/public_api.d.ts +0 -1
  160. package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +0 -3
  161. package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +0 -3
  162. package/drawer/drawer-body/drawer-body.component.d.ts +1 -3
  163. package/drawer/drawer.module.d.ts +0 -8
  164. package/drawer/drawer.service.d.ts +0 -3
  165. package/drawer/mis-crystal-design-system-drawer.d.ts +5 -0
  166. package/drawer/mis-crystal-design-system-drawer.metadata.json +1 -0
  167. package/drawer/package.json +11 -0
  168. package/dropdown/dropdown.component.d.ts +3 -3
  169. package/dropdown/dropdown.module.d.ts +0 -9
  170. package/dropdown/mis-crystal-design-system-dropdown.d.ts +4 -0
  171. package/dropdown/mis-crystal-design-system-dropdown.metadata.json +1 -0
  172. package/dropdown/package.json +11 -0
  173. package/esm2015/action-list/action-list.component.js +160 -0
  174. package/esm2015/action-list/action-list.module.js +19 -0
  175. package/esm2015/analytics/analytics.module.js +14 -0
  176. package/esm2015/analytics/analytics.service.js +62 -0
  177. package/esm2015/async-search-dropdown/async-dropdown.component.js +223 -0
  178. package/esm2015/async-search-dropdown/async-dropdown.module.js +16 -0
  179. package/esm2015/button/button.component.js +43 -0
  180. package/esm2015/button/button.directive.js +57 -0
  181. package/esm2015/button/button.module.js +17 -0
  182. package/esm2015/checkbox/checkbox.component.js +79 -0
  183. package/esm2015/checkbox/checkbox.module.js +17 -0
  184. package/esm2015/chip/chip.component.js +31 -0
  185. package/esm2015/chip/chip.module.js +16 -0
  186. package/esm2015/datepicker_v2/datepicker.module.js +18 -0
  187. package/esm2015/datepicker_v2/mis-crystal-design-system-datepicker_v2.js +7 -0
  188. package/esm2015/datepicker_v2/public_api.js +3 -0
  189. package/esm2015/datepicker_v2/tz-datepicker.directive.js +126 -0
  190. package/esm2015/datepicker_v2/tz-dp-container/tz-dp-container.component.js +149 -0
  191. package/esm2015/daterangepicker_v2/daterangepicker.module.js +18 -0
  192. package/esm2015/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.js +7 -0
  193. package/esm2015/daterangepicker_v2/public_api.js +3 -0
  194. package/esm2015/daterangepicker_v2/tz-daterangepicker.directive.js +123 -0
  195. package/esm2015/daterangepicker_v2/tz-drp-container/tz-drp-container.component.js +205 -0
  196. package/esm2015/drawer/drawer-body/drawer-body.component.js +41 -0
  197. package/esm2015/drawer/drawer.module.js +28 -0
  198. package/{esm2020/drawer/drawer.service.mjs → esm2015/drawer/drawer.service.js} +15 -12
  199. package/esm2015/drawer/mis-crystal-design-system-drawer.js +6 -0
  200. package/esm2015/dropdown/dropdown.component.js +145 -0
  201. package/esm2015/dropdown/dropdown.module.js +20 -0
  202. package/esm2015/fab/fab.component.js +63 -0
  203. package/esm2015/fab/fab.module.js +16 -0
  204. package/esm2015/input/directives/input/input.directive.js +38 -0
  205. package/esm2015/input/mis-input.component.js +43 -0
  206. package/esm2015/input/mis-input.module.js +15 -0
  207. package/esm2015/loader/loader.component.js +20 -0
  208. package/esm2015/loader/loader.module.js +16 -0
  209. package/esm2015/menu/menu-close.directive.js +18 -0
  210. package/esm2015/menu/menu.directive.js +70 -0
  211. package/esm2015/menu/menu.module.js +17 -0
  212. package/esm2015/modal/mis-crystal-design-system-modal.js +6 -0
  213. package/esm2015/modal/modal.module.js +28 -0
  214. package/esm2015/modal/modal.service.js +72 -0
  215. package/esm2015/modal/module-wrapper/module-wrapper.component.js +33 -0
  216. package/esm2015/multi-select-dropdown/multi-select-dropdown.component.js +268 -0
  217. package/esm2015/multi-select-dropdown/multi-select-dropdown.module.js +20 -0
  218. package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.component.js +265 -0
  219. package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.module.js +20 -0
  220. package/esm2015/phone-input/index.js +2 -0
  221. package/esm2015/phone-input/mis-crystal-design-system-phone-input.js +5 -0
  222. package/esm2015/phone-input/phone-input.component.js +36 -0
  223. package/esm2015/phone-input/phone-input.module.js +21 -0
  224. package/esm2015/phone-input/public_api.js +3 -0
  225. package/esm2015/radio-button/radio-button.component.js +45 -0
  226. package/esm2015/radio-button/radio-button.module.js +17 -0
  227. package/esm2015/ske-loader/ske-loader.component.js +31 -0
  228. package/esm2015/ske-loader/ske-loader.module.js +13 -0
  229. package/esm2015/switch/switch.component.js +39 -0
  230. package/esm2015/switch/switch.module.js +17 -0
  231. package/esm2015/table/custom-table-cell.directive.js +42 -0
  232. package/esm2015/table/filter/filter.component.js +75 -0
  233. package/esm2015/table/mis-crystal-design-system-table.js +6 -0
  234. package/esm2015/table/public_api.js +5 -0
  235. package/esm2015/table/sub-table/sub-table.component.js +69 -0
  236. package/esm2015/table/table.component.js +199 -0
  237. package/esm2015/table/table.module.js +21 -0
  238. package/{esm2020/toast/mis-crystal-design-system-toast.mjs → esm2015/toast/mis-crystal-design-system-toast.js} +2 -1
  239. package/esm2015/toast/toast.component.js +28 -0
  240. package/esm2015/toast/toast.data.service.js +29 -0
  241. package/esm2015/toast/toast.module.js +28 -0
  242. package/esm2015/toast/toast.service.js +96 -0
  243. package/esm2015/tooltip/tooltip-container/tooltip.component.js +34 -0
  244. package/esm2015/tooltip/tooltip.directive.js +117 -0
  245. package/esm2015/tooltip/tooltip.module.js +19 -0
  246. package/esm2015/virtual-scroll/index.js +2 -0
  247. package/esm2015/virtual-scroll/mis-crystal-design-system-virtual-scroll.js +5 -0
  248. package/esm2015/virtual-scroll/public_api.js +4 -0
  249. package/esm2015/virtual-scroll/virtual-scroll.component.js +112 -0
  250. package/esm2015/virtual-scroll/virtual-scroll.constants.js +2 -0
  251. package/esm2015/virtual-scroll/virtual-scroll.module.js +24 -0
  252. package/{esm2020/widgets/classes/base-widget.mjs → esm2015/widgets/classes/base-widget.js} +2 -2
  253. package/esm2015/widgets/classes/widget-group.js +32 -0
  254. package/esm2015/widgets/services/widget.service.js +16 -0
  255. package/esm2015/widgets/widgets.module.js +12 -0
  256. package/fab/fab.component.d.ts +0 -3
  257. package/fab/fab.module.d.ts +0 -6
  258. package/fab/mis-crystal-design-system-fab.d.ts +4 -0
  259. package/fab/mis-crystal-design-system-fab.metadata.json +1 -0
  260. package/fab/package.json +11 -0
  261. package/fesm2015/mis-crystal-design-system-action-list.js +183 -0
  262. package/fesm2015/mis-crystal-design-system-action-list.js.map +1 -0
  263. package/fesm2015/{mis-crystal-design-system-analytics.mjs → mis-crystal-design-system-analytics.js} +14 -22
  264. package/fesm2015/mis-crystal-design-system-analytics.js.map +1 -0
  265. package/fesm2015/mis-crystal-design-system-async-search-dropdown.js +242 -0
  266. package/fesm2015/mis-crystal-design-system-async-search-dropdown.js.map +1 -0
  267. package/fesm2015/mis-crystal-design-system-button.js +120 -0
  268. package/fesm2015/mis-crystal-design-system-button.js.map +1 -0
  269. package/fesm2015/mis-crystal-design-system-checkbox.js +100 -0
  270. package/fesm2015/mis-crystal-design-system-checkbox.js.map +1 -0
  271. package/fesm2015/mis-crystal-design-system-chip.js +52 -0
  272. package/fesm2015/mis-crystal-design-system-chip.js.map +1 -0
  273. package/fesm2015/mis-crystal-design-system-datepicker_v2.js +339 -0
  274. package/fesm2015/mis-crystal-design-system-datepicker_v2.js.map +1 -0
  275. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js +392 -0
  276. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js.map +1 -0
  277. package/fesm2015/mis-crystal-design-system-drawer.js +153 -0
  278. package/fesm2015/mis-crystal-design-system-drawer.js.map +1 -0
  279. package/fesm2015/mis-crystal-design-system-dropdown.js +169 -0
  280. package/fesm2015/mis-crystal-design-system-dropdown.js.map +1 -0
  281. package/fesm2015/mis-crystal-design-system-fab.js +84 -0
  282. package/fesm2015/mis-crystal-design-system-fab.js.map +1 -0
  283. package/fesm2015/mis-crystal-design-system-input.js +97 -0
  284. package/fesm2015/mis-crystal-design-system-input.js.map +1 -0
  285. package/fesm2015/mis-crystal-design-system-loader.js +41 -0
  286. package/fesm2015/mis-crystal-design-system-loader.js.map +1 -0
  287. package/fesm2015/mis-crystal-design-system-menu.js +106 -0
  288. package/fesm2015/mis-crystal-design-system-menu.js.map +1 -0
  289. package/fesm2015/mis-crystal-design-system-modal.js +147 -0
  290. package/fesm2015/mis-crystal-design-system-modal.js.map +1 -0
  291. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js +292 -0
  292. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js.map +1 -0
  293. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js +289 -0
  294. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js.map +1 -0
  295. package/fesm2015/mis-crystal-design-system-phone-input.js +60 -0
  296. package/fesm2015/mis-crystal-design-system-phone-input.js.map +1 -0
  297. package/fesm2015/mis-crystal-design-system-radio-button.js +66 -0
  298. package/fesm2015/mis-crystal-design-system-radio-button.js.map +1 -0
  299. package/fesm2015/mis-crystal-design-system-ske-loader.js +49 -0
  300. package/fesm2015/mis-crystal-design-system-ske-loader.js.map +1 -0
  301. package/fesm2015/mis-crystal-design-system-styles.js +4 -0
  302. package/fesm2015/mis-crystal-design-system-styles.js.map +1 -0
  303. package/fesm2015/mis-crystal-design-system-switch.js +60 -0
  304. package/fesm2015/mis-crystal-design-system-switch.js.map +1 -0
  305. package/fesm2015/mis-crystal-design-system-table.js +405 -0
  306. package/fesm2015/mis-crystal-design-system-table.js.map +1 -0
  307. package/fesm2015/mis-crystal-design-system-toast.js +174 -0
  308. package/fesm2015/mis-crystal-design-system-toast.js.map +1 -0
  309. package/fesm2015/mis-crystal-design-system-tooltip.js +171 -0
  310. package/fesm2015/mis-crystal-design-system-tooltip.js.map +1 -0
  311. package/{fesm2020/mis-crystal-design-system-utils.mjs → fesm2015/mis-crystal-design-system-utils.js} +1 -1
  312. package/fesm2015/mis-crystal-design-system-utils.js.map +1 -0
  313. package/fesm2015/mis-crystal-design-system-virtual-scroll.js +142 -0
  314. package/fesm2015/mis-crystal-design-system-virtual-scroll.js.map +1 -0
  315. package/fesm2015/{mis-crystal-design-system-widgets.mjs → mis-crystal-design-system-widgets.js} +8 -13
  316. package/fesm2015/mis-crystal-design-system-widgets.js.map +1 -0
  317. package/fesm2015/{mis-crystal-design-system.mjs → mis-crystal-design-system.js} +1 -1
  318. package/fesm2015/mis-crystal-design-system.js.map +1 -0
  319. package/input/directives/input/input.directive.d.ts +0 -3
  320. package/input/mis-crystal-design-system-input.d.ts +4 -0
  321. package/input/mis-crystal-design-system-input.metadata.json +1 -0
  322. package/input/mis-input.component.d.ts +0 -3
  323. package/input/mis-input.module.d.ts +0 -8
  324. package/input/package.json +11 -0
  325. package/loader/loader.component.d.ts +0 -3
  326. package/loader/loader.module.d.ts +0 -6
  327. package/loader/mis-crystal-design-system-loader.d.ts +4 -0
  328. package/loader/mis-crystal-design-system-loader.metadata.json +1 -0
  329. package/loader/package.json +11 -0
  330. package/menu/menu-close.directive.d.ts +0 -3
  331. package/menu/menu.directive.d.ts +0 -3
  332. package/menu/menu.module.d.ts +1 -9
  333. package/menu/mis-crystal-design-system-menu.d.ts +4 -0
  334. package/menu/mis-crystal-design-system-menu.metadata.json +1 -0
  335. package/menu/package.json +11 -0
  336. package/mis-crystal-design-system.d.ts +4 -0
  337. package/mis-crystal-design-system.metadata.json +1 -0
  338. package/modal/mis-crystal-design-system-modal.d.ts +5 -0
  339. package/modal/mis-crystal-design-system-modal.metadata.json +1 -0
  340. package/modal/modal.module.d.ts +0 -8
  341. package/modal/modal.service.d.ts +0 -3
  342. package/modal/module-wrapper/module-wrapper.component.d.ts +0 -3
  343. package/modal/package.json +11 -0
  344. package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.d.ts +4 -0
  345. package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.metadata.json +1 -0
  346. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +0 -3
  347. package/multi-select-dropdown/multi-select-dropdown.module.d.ts +0 -10
  348. package/multi-select-dropdown/package.json +11 -0
  349. package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.d.ts +4 -0
  350. package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.metadata.json +1 -0
  351. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +0 -3
  352. package/nested-multi-select-dropdown/nested-multi-select-dropdown.module.d.ts +0 -10
  353. package/nested-multi-select-dropdown/package.json +11 -0
  354. package/package.json +8 -228
  355. package/phone-input/index.d.ts +1 -0
  356. package/phone-input/mis-crystal-design-system-phone-input.d.ts +4 -0
  357. package/phone-input/mis-crystal-design-system-phone-input.metadata.json +1 -0
  358. package/phone-input/package.json +11 -0
  359. package/phone-input/phone-input.component.d.ts +17 -0
  360. package/phone-input/phone-input.module.d.ts +4 -0
  361. package/phone-input/public_api.d.ts +2 -0
  362. package/radio-button/mis-crystal-design-system-radio-button.d.ts +4 -0
  363. package/radio-button/mis-crystal-design-system-radio-button.metadata.json +1 -0
  364. package/radio-button/package.json +11 -0
  365. package/radio-button/radio-button.component.d.ts +0 -3
  366. package/radio-button/radio-button.module.d.ts +0 -7
  367. package/ske-loader/mis-crystal-design-system-ske-loader.d.ts +4 -0
  368. package/ske-loader/mis-crystal-design-system-ske-loader.metadata.json +1 -0
  369. package/ske-loader/package.json +11 -0
  370. package/ske-loader/ske-loader.component.d.ts +0 -3
  371. package/ske-loader/ske-loader.module.d.ts +0 -6
  372. package/styles/mis-crystal-design-system-styles.d.ts +4 -0
  373. package/styles/mis-crystal-design-system-styles.metadata.json +1 -0
  374. package/styles/package.json +11 -0
  375. package/switch/mis-crystal-design-system-switch.d.ts +4 -0
  376. package/switch/mis-crystal-design-system-switch.metadata.json +1 -0
  377. package/switch/package.json +11 -0
  378. package/switch/switch.component.d.ts +0 -3
  379. package/switch/switch.module.d.ts +0 -7
  380. package/table/custom-table-cell.directive.d.ts +0 -3
  381. package/table/filter/filter.component.d.ts +0 -3
  382. package/table/mis-crystal-design-system-table.d.ts +5 -0
  383. package/table/mis-crystal-design-system-table.metadata.json +1 -0
  384. package/table/package.json +11 -0
  385. package/table/public_api.d.ts +0 -1
  386. package/table/sub-table/sub-table.component.d.ts +0 -3
  387. package/table/table.component.d.ts +0 -3
  388. package/table/table.module.d.ts +0 -11
  389. package/toast/mis-crystal-design-system-toast.d.ts +5 -0
  390. package/toast/mis-crystal-design-system-toast.metadata.json +1 -0
  391. package/toast/package.json +11 -0
  392. package/toast/toast.component.d.ts +0 -3
  393. package/toast/toast.data.service.d.ts +0 -3
  394. package/toast/toast.module.d.ts +0 -7
  395. package/toast/toast.service.d.ts +0 -3
  396. package/tooltip/mis-crystal-design-system-tooltip.d.ts +4 -0
  397. package/tooltip/mis-crystal-design-system-tooltip.metadata.json +1 -0
  398. package/tooltip/package.json +11 -0
  399. package/tooltip/tooltip-container/tooltip.component.d.ts +0 -3
  400. package/tooltip/tooltip.directive.d.ts +0 -3
  401. package/tooltip/tooltip.module.d.ts +0 -8
  402. package/utils/mis-crystal-design-system-utils.d.ts +4 -0
  403. package/utils/mis-crystal-design-system-utils.metadata.json +1 -0
  404. package/utils/package.json +11 -0
  405. package/virtual-scroll/index.d.ts +1 -0
  406. package/virtual-scroll/mis-crystal-design-system-virtual-scroll.d.ts +4 -0
  407. package/virtual-scroll/mis-crystal-design-system-virtual-scroll.metadata.json +1 -0
  408. package/virtual-scroll/package.json +11 -0
  409. package/virtual-scroll/public_api.d.ts +3 -0
  410. package/virtual-scroll/virtual-scroll.component.d.ts +25 -0
  411. package/virtual-scroll/virtual-scroll.constants.d.ts +15 -0
  412. package/virtual-scroll/virtual-scroll.module.d.ts +4 -0
  413. package/widgets/mis-crystal-design-system-widgets.d.ts +4 -0
  414. package/widgets/mis-crystal-design-system-widgets.metadata.json +1 -0
  415. package/widgets/package.json +11 -0
  416. package/widgets/services/widget.service.d.ts +0 -3
  417. package/widgets/widgets.module.d.ts +0 -5
  418. package/esm2020/action-list/action-list.component.mjs +0 -174
  419. package/esm2020/action-list/action-list.module.mjs +0 -24
  420. package/esm2020/analytics/analytics.module.mjs +0 -18
  421. package/esm2020/analytics/analytics.service.mjs +0 -63
  422. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +0 -242
  423. package/esm2020/async-search-dropdown/async-dropdown.module.mjs +0 -21
  424. package/esm2020/button/button.component.mjs +0 -52
  425. package/esm2020/button/button.directive.mjs +0 -59
  426. package/esm2020/button/button.module.mjs +0 -22
  427. package/esm2020/checkbox/checkbox.component.mjs +0 -87
  428. package/esm2020/checkbox/checkbox.module.mjs +0 -22
  429. package/esm2020/chip/chip.component.mjs +0 -36
  430. package/esm2020/chip/chip.module.mjs +0 -21
  431. package/esm2020/datepicker_v2/datepicker.module.mjs +0 -23
  432. package/esm2020/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -5
  433. package/esm2020/datepicker_v2/public_api.mjs +0 -4
  434. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +0 -143
  435. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -151
  436. package/esm2020/daterangepicker_v2/daterangepicker.module.mjs +0 -24
  437. package/esm2020/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -5
  438. package/esm2020/daterangepicker_v2/public_api.mjs +0 -4
  439. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -133
  440. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -209
  441. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +0 -43
  442. package/esm2020/drawer/drawer.module.mjs +0 -32
  443. package/esm2020/drawer/mis-crystal-design-system-drawer.mjs +0 -5
  444. package/esm2020/dropdown/dropdown.component.mjs +0 -148
  445. package/esm2020/dropdown/dropdown.module.mjs +0 -24
  446. package/esm2020/fab/fab.component.mjs +0 -82
  447. package/esm2020/fab/fab.module.mjs +0 -21
  448. package/esm2020/input/directives/input/input.directive.mjs +0 -40
  449. package/esm2020/input/mis-input.component.mjs +0 -46
  450. package/esm2020/input/mis-input.module.mjs +0 -20
  451. package/esm2020/loader/loader.component.mjs +0 -19
  452. package/esm2020/loader/loader.module.mjs +0 -21
  453. package/esm2020/menu/menu-close.directive.mjs +0 -23
  454. package/esm2020/menu/menu.directive.mjs +0 -75
  455. package/esm2020/menu/menu.module.mjs +0 -22
  456. package/esm2020/modal/mis-crystal-design-system-modal.mjs +0 -5
  457. package/esm2020/modal/modal.module.mjs +0 -32
  458. package/esm2020/modal/modal.service.mjs +0 -70
  459. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +0 -40
  460. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -297
  461. package/esm2020/multi-select-dropdown/multi-select-dropdown.module.mjs +0 -25
  462. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -313
  463. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +0 -25
  464. package/esm2020/radio-button/radio-button.component.mjs +0 -49
  465. package/esm2020/radio-button/radio-button.module.mjs +0 -22
  466. package/esm2020/ske-loader/ske-loader.component.mjs +0 -34
  467. package/esm2020/ske-loader/ske-loader.module.mjs +0 -18
  468. package/esm2020/switch/switch.component.mjs +0 -43
  469. package/esm2020/switch/switch.module.mjs +0 -22
  470. package/esm2020/table/custom-table-cell.directive.mjs +0 -42
  471. package/esm2020/table/filter/filter.component.mjs +0 -79
  472. package/esm2020/table/mis-crystal-design-system-table.mjs +0 -5
  473. package/esm2020/table/public_api.mjs +0 -6
  474. package/esm2020/table/sub-table/sub-table.component.mjs +0 -69
  475. package/esm2020/table/table.component.mjs +0 -208
  476. package/esm2020/table/table.module.mjs +0 -26
  477. package/esm2020/toast/toast.component.mjs +0 -33
  478. package/esm2020/toast/toast.data.service.mjs +0 -30
  479. package/esm2020/toast/toast.module.mjs +0 -32
  480. package/esm2020/toast/toast.service.mjs +0 -91
  481. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +0 -33
  482. package/esm2020/tooltip/tooltip.directive.mjs +0 -122
  483. package/esm2020/tooltip/tooltip.module.mjs +0 -23
  484. package/esm2020/widgets/classes/widget-group.mjs +0 -32
  485. package/esm2020/widgets/services/widget.service.mjs +0 -18
  486. package/esm2020/widgets/widgets.module.mjs +0 -17
  487. package/fesm2015/mis-crystal-design-system-action-list.mjs +0 -199
  488. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +0 -1
  489. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +0 -1
  490. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +0 -272
  491. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  492. package/fesm2015/mis-crystal-design-system-button.mjs +0 -134
  493. package/fesm2015/mis-crystal-design-system-button.mjs.map +0 -1
  494. package/fesm2015/mis-crystal-design-system-checkbox.mjs +0 -112
  495. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +0 -1
  496. package/fesm2015/mis-crystal-design-system-chip.mjs +0 -61
  497. package/fesm2015/mis-crystal-design-system-chip.mjs.map +0 -1
  498. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +0 -360
  499. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  500. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +0 -412
  501. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  502. package/fesm2015/mis-crystal-design-system-drawer.mjs +0 -157
  503. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +0 -1
  504. package/fesm2015/mis-crystal-design-system-dropdown.mjs +0 -176
  505. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +0 -1
  506. package/fesm2015/mis-crystal-design-system-fab.mjs +0 -102
  507. package/fesm2015/mis-crystal-design-system-fab.mjs.map +0 -1
  508. package/fesm2015/mis-crystal-design-system-input.mjs +0 -112
  509. package/fesm2015/mis-crystal-design-system-input.mjs.map +0 -1
  510. package/fesm2015/mis-crystal-design-system-loader.mjs +0 -44
  511. package/fesm2015/mis-crystal-design-system-loader.mjs.map +0 -1
  512. package/fesm2015/mis-crystal-design-system-menu.mjs +0 -120
  513. package/fesm2015/mis-crystal-design-system-menu.mjs.map +0 -1
  514. package/fesm2015/mis-crystal-design-system-modal.mjs +0 -156
  515. package/fesm2015/mis-crystal-design-system-modal.mjs.map +0 -1
  516. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +0 -312
  517. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  518. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -310
  519. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  520. package/fesm2015/mis-crystal-design-system-radio-button.mjs +0 -74
  521. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +0 -1
  522. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +0 -56
  523. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  524. package/fesm2015/mis-crystal-design-system-styles.mjs +0 -4
  525. package/fesm2015/mis-crystal-design-system-styles.mjs.map +0 -1
  526. package/fesm2015/mis-crystal-design-system-switch.mjs +0 -68
  527. package/fesm2015/mis-crystal-design-system-switch.mjs.map +0 -1
  528. package/fesm2015/mis-crystal-design-system-table.mjs +0 -421
  529. package/fesm2015/mis-crystal-design-system-table.mjs.map +0 -1
  530. package/fesm2015/mis-crystal-design-system-toast.mjs +0 -182
  531. package/fesm2015/mis-crystal-design-system-toast.mjs.map +0 -1
  532. package/fesm2015/mis-crystal-design-system-tooltip.mjs +0 -179
  533. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +0 -1
  534. package/fesm2015/mis-crystal-design-system-utils.mjs +0 -24
  535. package/fesm2015/mis-crystal-design-system-utils.mjs.map +0 -1
  536. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +0 -1
  537. package/fesm2015/mis-crystal-design-system.mjs.map +0 -1
  538. package/fesm2020/mis-crystal-design-system-action-list.mjs +0 -201
  539. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +0 -1
  540. package/fesm2020/mis-crystal-design-system-analytics.mjs +0 -85
  541. package/fesm2020/mis-crystal-design-system-analytics.mjs.map +0 -1
  542. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +0 -265
  543. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  544. package/fesm2020/mis-crystal-design-system-button.mjs +0 -134
  545. package/fesm2020/mis-crystal-design-system-button.mjs.map +0 -1
  546. package/fesm2020/mis-crystal-design-system-checkbox.mjs +0 -112
  547. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +0 -1
  548. package/fesm2020/mis-crystal-design-system-chip.mjs +0 -61
  549. package/fesm2020/mis-crystal-design-system-chip.mjs.map +0 -1
  550. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs +0 -361
  551. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  552. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +0 -409
  553. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  554. package/fesm2020/mis-crystal-design-system-drawer.mjs +0 -156
  555. package/fesm2020/mis-crystal-design-system-drawer.mjs.map +0 -1
  556. package/fesm2020/mis-crystal-design-system-dropdown.mjs +0 -175
  557. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +0 -1
  558. package/fesm2020/mis-crystal-design-system-fab.mjs +0 -107
  559. package/fesm2020/mis-crystal-design-system-fab.mjs.map +0 -1
  560. package/fesm2020/mis-crystal-design-system-input.mjs +0 -106
  561. package/fesm2020/mis-crystal-design-system-input.mjs.map +0 -1
  562. package/fesm2020/mis-crystal-design-system-loader.mjs +0 -44
  563. package/fesm2020/mis-crystal-design-system-loader.mjs.map +0 -1
  564. package/fesm2020/mis-crystal-design-system-menu.mjs +0 -119
  565. package/fesm2020/mis-crystal-design-system-menu.mjs.map +0 -1
  566. package/fesm2020/mis-crystal-design-system-modal.mjs +0 -156
  567. package/fesm2020/mis-crystal-design-system-modal.mjs.map +0 -1
  568. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs +0 -325
  569. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  570. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -341
  571. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  572. package/fesm2020/mis-crystal-design-system-radio-button.mjs +0 -74
  573. package/fesm2020/mis-crystal-design-system-radio-button.mjs.map +0 -1
  574. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +0 -56
  575. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  576. package/fesm2020/mis-crystal-design-system-styles.mjs +0 -4
  577. package/fesm2020/mis-crystal-design-system-styles.mjs.map +0 -1
  578. package/fesm2020/mis-crystal-design-system-switch.mjs +0 -68
  579. package/fesm2020/mis-crystal-design-system-switch.mjs.map +0 -1
  580. package/fesm2020/mis-crystal-design-system-table.mjs +0 -413
  581. package/fesm2020/mis-crystal-design-system-table.mjs.map +0 -1
  582. package/fesm2020/mis-crystal-design-system-toast.mjs +0 -180
  583. package/fesm2020/mis-crystal-design-system-toast.mjs.map +0 -1
  584. package/fesm2020/mis-crystal-design-system-tooltip.mjs +0 -177
  585. package/fesm2020/mis-crystal-design-system-tooltip.mjs.map +0 -1
  586. package/fesm2020/mis-crystal-design-system-utils.mjs.map +0 -1
  587. package/fesm2020/mis-crystal-design-system-widgets.mjs +0 -128
  588. package/fesm2020/mis-crystal-design-system-widgets.mjs.map +0 -1
  589. package/fesm2020/mis-crystal-design-system.mjs +0 -24
  590. package/fesm2020/mis-crystal-design-system.mjs.map +0 -1
  591. /package/{esm2020/action-list/index.mjs → esm2015/action-list/index.js} +0 -0
  592. /package/{esm2020/action-list/mis-crystal-design-system-action-list.mjs → esm2015/action-list/mis-crystal-design-system-action-list.js} +0 -0
  593. /package/{esm2020/action-list/public_api.mjs → esm2015/action-list/public_api.js} +0 -0
  594. /package/{esm2020/analytics/index.mjs → esm2015/analytics/index.js} +0 -0
  595. /package/{esm2020/analytics/mis-crystal-design-system-analytics.mjs → esm2015/analytics/mis-crystal-design-system-analytics.js} +0 -0
  596. /package/{esm2020/analytics/public_api.mjs → esm2015/analytics/public_api.js} +0 -0
  597. /package/{esm2020/async-search-dropdown/index.mjs → esm2015/async-search-dropdown/index.js} +0 -0
  598. /package/{esm2020/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs → esm2015/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.js} +0 -0
  599. /package/{esm2020/async-search-dropdown/public_api.mjs → esm2015/async-search-dropdown/public_api.js} +0 -0
  600. /package/{esm2020/button/index.mjs → esm2015/button/index.js} +0 -0
  601. /package/{esm2020/button/mis-crystal-design-system-button.mjs → esm2015/button/mis-crystal-design-system-button.js} +0 -0
  602. /package/{esm2020/button/public_api.mjs → esm2015/button/public_api.js} +0 -0
  603. /package/{esm2020/checkbox/index.mjs → esm2015/checkbox/index.js} +0 -0
  604. /package/{esm2020/checkbox/mis-crystal-design-system-checkbox.mjs → esm2015/checkbox/mis-crystal-design-system-checkbox.js} +0 -0
  605. /package/{esm2020/checkbox/public_api.mjs → esm2015/checkbox/public_api.js} +0 -0
  606. /package/{esm2020/chip/index.mjs → esm2015/chip/index.js} +0 -0
  607. /package/{esm2020/chip/mis-crystal-design-system-chip.mjs → esm2015/chip/mis-crystal-design-system-chip.js} +0 -0
  608. /package/{esm2020/chip/public_api.mjs → esm2015/chip/public_api.js} +0 -0
  609. /package/{esm2020/datepicker_v2/datepicker-constants.mjs → esm2015/datepicker_v2/datepicker-constants.js} +0 -0
  610. /package/{esm2020/datepicker_v2/index.mjs → esm2015/datepicker_v2/index.js} +0 -0
  611. /package/{esm2020/datepicker_v2/models/dp-config.model.mjs → esm2015/datepicker_v2/models/dp-config.model.js} +0 -0
  612. /package/{esm2020/datepicker_v2/utils/index.mjs → esm2015/datepicker_v2/utils/index.js} +0 -0
  613. /package/{esm2020/daterangepicker_v2/daterangepicker-constants.mjs → esm2015/daterangepicker_v2/daterangepicker-constants.js} +0 -0
  614. /package/{esm2020/daterangepicker_v2/index.mjs → esm2015/daterangepicker_v2/index.js} +0 -0
  615. /package/{esm2020/daterangepicker_v2/models/drp-config.model.mjs → esm2015/daterangepicker_v2/models/drp-config.model.js} +0 -0
  616. /package/{esm2020/daterangepicker_v2/utils/index.mjs → esm2015/daterangepicker_v2/utils/index.js} +0 -0
  617. /package/{esm2020/drawer/drawer-constants.mjs → esm2015/drawer/drawer-constants.js} +0 -0
  618. /package/{esm2020/drawer/drawer-ref.mjs → esm2015/drawer/drawer-ref.js} +0 -0
  619. /package/{esm2020/drawer/index.mjs → esm2015/drawer/index.js} +0 -0
  620. /package/{esm2020/drawer/public_api.mjs → esm2015/drawer/public_api.js} +0 -0
  621. /package/{esm2020/dropdown/index.mjs → esm2015/dropdown/index.js} +0 -0
  622. /package/{esm2020/dropdown/mis-crystal-design-system-dropdown.mjs → esm2015/dropdown/mis-crystal-design-system-dropdown.js} +0 -0
  623. /package/{esm2020/dropdown/public_api.mjs → esm2015/dropdown/public_api.js} +0 -0
  624. /package/{esm2020/fab/index.mjs → esm2015/fab/index.js} +0 -0
  625. /package/{esm2020/fab/mis-crystal-design-system-fab.mjs → esm2015/fab/mis-crystal-design-system-fab.js} +0 -0
  626. /package/{esm2020/fab/public_api.mjs → esm2015/fab/public_api.js} +0 -0
  627. /package/{esm2020/index.mjs → esm2015/index.js} +0 -0
  628. /package/{esm2020/input/index.mjs → esm2015/input/index.js} +0 -0
  629. /package/{esm2020/input/mis-crystal-design-system-input.mjs → esm2015/input/mis-crystal-design-system-input.js} +0 -0
  630. /package/{esm2020/input/public_api.mjs → esm2015/input/public_api.js} +0 -0
  631. /package/{esm2020/loader/index.mjs → esm2015/loader/index.js} +0 -0
  632. /package/{esm2020/loader/mis-crystal-design-system-loader.mjs → esm2015/loader/mis-crystal-design-system-loader.js} +0 -0
  633. /package/{esm2020/loader/public_api.mjs → esm2015/loader/public_api.js} +0 -0
  634. /package/{esm2020/menu/index.mjs → esm2015/menu/index.js} +0 -0
  635. /package/{esm2020/menu/mis-crystal-design-system-menu.mjs → esm2015/menu/mis-crystal-design-system-menu.js} +0 -0
  636. /package/{esm2020/menu/public_api.mjs → esm2015/menu/public_api.js} +0 -0
  637. /package/{esm2020/mis-crystal-design-system.mjs → esm2015/mis-crystal-design-system.js} +0 -0
  638. /package/{esm2020/modal/index.mjs → esm2015/modal/index.js} +0 -0
  639. /package/{esm2020/modal/modal-constants.mjs → esm2015/modal/modal-constants.js} +0 -0
  640. /package/{esm2020/modal/modal-ref.mjs → esm2015/modal/modal-ref.js} +0 -0
  641. /package/{esm2020/modal/public_api.mjs → esm2015/modal/public_api.js} +0 -0
  642. /package/{esm2020/multi-select-dropdown/index.mjs → esm2015/multi-select-dropdown/index.js} +0 -0
  643. /package/{esm2020/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs → esm2015/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.js} +0 -0
  644. /package/{esm2020/multi-select-dropdown/public_api.mjs → esm2015/multi-select-dropdown/public_api.js} +0 -0
  645. /package/{esm2020/nested-multi-select-dropdown/index.mjs → esm2015/nested-multi-select-dropdown/index.js} +0 -0
  646. /package/{esm2020/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs → esm2015/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.js} +0 -0
  647. /package/{esm2020/nested-multi-select-dropdown/public_api.mjs → esm2015/nested-multi-select-dropdown/public_api.js} +0 -0
  648. /package/{esm2020/public-api.mjs → esm2015/public-api.js} +0 -0
  649. /package/{esm2020/radio-button/index.mjs → esm2015/radio-button/index.js} +0 -0
  650. /package/{esm2020/radio-button/mis-crystal-design-system-radio-button.mjs → esm2015/radio-button/mis-crystal-design-system-radio-button.js} +0 -0
  651. /package/{esm2020/radio-button/public_api.mjs → esm2015/radio-button/public_api.js} +0 -0
  652. /package/{esm2020/ske-loader/index.mjs → esm2015/ske-loader/index.js} +0 -0
  653. /package/{esm2020/ske-loader/mis-crystal-design-system-ske-loader.mjs → esm2015/ske-loader/mis-crystal-design-system-ske-loader.js} +0 -0
  654. /package/{esm2020/ske-loader/public_api.mjs → esm2015/ske-loader/public_api.js} +0 -0
  655. /package/{esm2020/styles/index.mjs → esm2015/styles/index.js} +0 -0
  656. /package/{esm2020/styles/mis-crystal-design-system-styles.mjs → esm2015/styles/mis-crystal-design-system-styles.js} +0 -0
  657. /package/{esm2020/styles/public_api.mjs → esm2015/styles/public_api.js} +0 -0
  658. /package/{esm2020/switch/index.mjs → esm2015/switch/index.js} +0 -0
  659. /package/{esm2020/switch/mis-crystal-design-system-switch.mjs → esm2015/switch/mis-crystal-design-system-switch.js} +0 -0
  660. /package/{esm2020/switch/public_api.mjs → esm2015/switch/public_api.js} +0 -0
  661. /package/{esm2020/table/index.mjs → esm2015/table/index.js} +0 -0
  662. /package/{esm2020/toast/index.mjs → esm2015/toast/index.js} +0 -0
  663. /package/{esm2020/toast/public_api.mjs → esm2015/toast/public_api.js} +0 -0
  664. /package/{esm2020/tooltip/index.mjs → esm2015/tooltip/index.js} +0 -0
  665. /package/{esm2020/tooltip/mis-crystal-design-system-tooltip.mjs → esm2015/tooltip/mis-crystal-design-system-tooltip.js} +0 -0
  666. /package/{esm2020/tooltip/models/tooltip.model.mjs → esm2015/tooltip/models/tooltip.model.js} +0 -0
  667. /package/{esm2020/tooltip/public_api.mjs → esm2015/tooltip/public_api.js} +0 -0
  668. /package/{esm2020/utils/index.mjs → esm2015/utils/index.js} +0 -0
  669. /package/{esm2020/utils/mis-crystal-design-system-utils.mjs → esm2015/utils/mis-crystal-design-system-utils.js} +0 -0
  670. /package/{esm2020/widgets/classes/async-widget.mjs → esm2015/widgets/classes/async-widget.js} +0 -0
  671. /package/{esm2020/widgets/classes/sync-widget.mjs → esm2015/widgets/classes/sync-widget.js} +0 -0
  672. /package/{esm2020/widgets/index.mjs → esm2015/widgets/index.js} +0 -0
  673. /package/{esm2020/widgets/interfaces/widgets.model.mjs → esm2015/widgets/interfaces/widgets.model.js} +0 -0
  674. /package/{esm2020/widgets/mis-crystal-design-system-widgets.mjs → esm2015/widgets/mis-crystal-design-system-widgets.js} +0 -0
  675. /package/{esm2020/widgets/public_api.mjs → esm2015/widgets/public_api.js} +0 -0
@@ -0,0 +1,339 @@
1
+ import { InjectionToken, Component, Inject, EventEmitter, Injector, Directive, Self, Optional, ElementRef, ViewContainerRef, Input, Output, HostListener, NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { OverlayConfig, Overlay, OverlayModule } from '@angular/cdk/overlay';
4
+ import { parseZone, tz } from 'moment-timezone';
5
+ import { ToastService, ToastModule } from 'mis-crystal-design-system/toast';
6
+ import { ComponentPortal } from '@angular/cdk/portal';
7
+ import { NgControl } from '@angular/forms';
8
+ import { take } from 'rxjs/operators';
9
+ import { genPositionPairs } from 'mis-crystal-design-system/utils';
10
+ import { ButtonModule } from 'mis-crystal-design-system/button';
11
+
12
+ /** @format */
13
+ const CONTAINER_DATA = new InjectionToken("CONTAINER_DATA");
14
+ const DATE_FORMAT = "DD-MM-YYYY";
15
+
16
+ const getMonth = (index) => {
17
+ let month;
18
+ switch (index) {
19
+ case 0:
20
+ month = "January";
21
+ break;
22
+ case 1:
23
+ month = "February";
24
+ break;
25
+ case 2:
26
+ month = "March";
27
+ break;
28
+ case 3:
29
+ month = "April";
30
+ break;
31
+ case 4:
32
+ month = "May";
33
+ break;
34
+ case 5:
35
+ month = "June";
36
+ break;
37
+ case 6:
38
+ month = "July";
39
+ break;
40
+ case 7:
41
+ month = "August";
42
+ break;
43
+ case 8:
44
+ month = "September";
45
+ break;
46
+ case 9:
47
+ month = "October";
48
+ break;
49
+ case 10:
50
+ month = "November";
51
+ break;
52
+ case 11:
53
+ month = "December";
54
+ break;
55
+ default:
56
+ break;
57
+ }
58
+ return month;
59
+ };
60
+
61
+ class TzDpContainerComponent {
62
+ constructor(data, toast) {
63
+ var _a, _b, _c, _d;
64
+ this.toast = toast;
65
+ this.parseZoneInstance = (...args) => {
66
+ return parseZone(...args);
67
+ };
68
+ this.rawWeekDays = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"];
69
+ this.weekDays = [];
70
+ this.currentMonthDates = [];
71
+ this.isPreviousMonthDisabled = false;
72
+ this.isNextMonthDisabled = false;
73
+ this.allowBookingOnDisabledDay = false;
74
+ this.data = data;
75
+ if ((_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.dpConfig) === null || _b === void 0 ? void 0 : _b.timezone) {
76
+ this.parseZoneInstance = (...args) => {
77
+ return tz(args[0], args[1], this.data.dpConfig.timezone);
78
+ };
79
+ }
80
+ this.currentMonthNumber = this.parseZoneInstance().month();
81
+ this.currentMonth = getMonth(this.currentMonthNumber);
82
+ this.currentYearNumber = this.parseZoneInstance().year();
83
+ this.weekDays = this.rawWeekDays.map((day, index) => ({
84
+ label: `${day[0]}${day.slice(1).toLowerCase()}`,
85
+ isCurrentDay: this.parseZoneInstance().day() === index
86
+ }));
87
+ if (!((_d = (_c = this.data) === null || _c === void 0 ? void 0 : _c.dpConfig) === null || _d === void 0 ? void 0 : _d.format)) {
88
+ this.data.dpConfig = Object.assign(Object.assign({}, this.data.dpConfig), { format: DATE_FORMAT });
89
+ }
90
+ }
91
+ ngOnInit() {
92
+ this.currentDateInstance();
93
+ this.calculateMinMaxDays();
94
+ }
95
+ currentDateInstance() {
96
+ const selectedDate = parseZone(this.data.date, this.data.dpConfig.format);
97
+ if (selectedDate.isValid()) {
98
+ this.currentYearNumber = selectedDate.year();
99
+ this.currentMonthNumber = selectedDate.month();
100
+ this.currentMonth = getMonth(this.currentMonthNumber);
101
+ }
102
+ this.currentMonthDates = this.generateDates(this.currentMonthNumber, this.currentYearNumber);
103
+ }
104
+ calculateMinMaxDays() {
105
+ const currentInstance = this.parseZoneInstance().year(this.currentYearNumber).month(this.currentMonthNumber);
106
+ const minDate = this.parseZoneInstance(this.data.dpConfig.minDate, this.data.dpConfig.format);
107
+ if (minDate.isValid()) {
108
+ this.isPreviousMonthDisabled = minDate.isSameOrAfter(currentInstance, "month");
109
+ }
110
+ const maxDate = this.parseZoneInstance(this.data.dpConfig.maxDate, this.data.dpConfig.format);
111
+ if (maxDate.isValid()) {
112
+ this.isNextMonthDisabled = maxDate.isSameOrBefore(currentInstance, "month");
113
+ }
114
+ }
115
+ navigateMonth(direction) {
116
+ let thisMonth = parseZone().year(this.currentYearNumber).month(this.currentMonthNumber);
117
+ if (direction === "NEXT") {
118
+ thisMonth = thisMonth.add(1, "month");
119
+ }
120
+ else if (direction === "PREVIOUS") {
121
+ thisMonth = thisMonth.subtract(1, "month");
122
+ }
123
+ this.currentMonthNumber = thisMonth.month();
124
+ this.currentMonth = getMonth(this.currentMonthNumber);
125
+ this.currentYearNumber = thisMonth.year();
126
+ this.currentMonthDates = this.generateDates(this.currentMonthNumber, this.currentYearNumber);
127
+ this.calculateMinMaxDays();
128
+ }
129
+ generateDates(month, currentYearNumber) {
130
+ var _a;
131
+ let dates = [];
132
+ const daysInMonth = parseZone().year(currentYearNumber).month(month).daysInMonth();
133
+ for (let currentDate = 1; currentDate <= daysInMonth; currentDate++) {
134
+ const date = this.parseZoneInstance().year(currentYearNumber).month(month).date(currentDate);
135
+ const dateString = date.format(this.data.dpConfig.format);
136
+ let isDisabledDay = this.data.datesDisabled.some(d => d === dateString);
137
+ const minDate = this.parseZoneInstance(this.data.dpConfig.minDate, this.data.dpConfig.format);
138
+ if (!isDisabledDay && minDate.isValid()) {
139
+ isDisabledDay = minDate.isAfter(date, "day");
140
+ }
141
+ const maxDate = this.parseZoneInstance(this.data.dpConfig.maxDate, this.data.dpConfig.format);
142
+ if (!isDisabledDay && maxDate.isValid()) {
143
+ isDisabledDay = maxDate.isBefore(date, "day");
144
+ }
145
+ dates.push({
146
+ date: currentDate,
147
+ weekDay: date.day(),
148
+ isCurrentDay: this.parseZoneInstance().year(currentYearNumber).month(month).date(currentDate).format(this.data.dpConfig.format) ===
149
+ this.parseZoneInstance().format(this.data.dpConfig.format),
150
+ isSelectedDay: !isDisabledDay && date.format(this.data.dpConfig.format) === this.data.date,
151
+ toastMessage: ((_a = this.data.messages.find(q => date.format(this.data.dpConfig.format) === q.date)) === null || _a === void 0 ? void 0 : _a.message) || "",
152
+ isDisabledDay
153
+ });
154
+ }
155
+ for (let i = dates[0].weekDay; i > 0; i--) {
156
+ dates.unshift({ date: 0, weekDay: i - 1 });
157
+ }
158
+ return dates;
159
+ }
160
+ selectDay(day) {
161
+ this.currentSelection = this.parseZoneInstance().year(this.currentYearNumber).month(this.currentMonthNumber).date(day.date);
162
+ const maxDate = this.parseZoneInstance(this.data.dpConfig.maxDate);
163
+ const minDate = this.parseZoneInstance(this.data.dpConfig.minDate);
164
+ this.allowBookingOnDisabledDay = this.data.allowBookingOnDisabledDay;
165
+ if (day.date <= 0)
166
+ return;
167
+ if ((this.currentSelection.isSameOrAfter(minDate) && this.currentSelection.isSameOrBefore(maxDate) && this.allowBookingOnDisabledDay) || (!day.isDisabledDay && !this.allowBookingOnDisabledDay)) {
168
+ this.localSelectedDate = day;
169
+ if (!this.data.dpConfig.showApplyButton) {
170
+ this.applyDate(day);
171
+ }
172
+ }
173
+ if (day.toastMessage || (this.allowBookingOnDisabledDay && day.toastMessage)) {
174
+ this.toast.displayMsg(day.toastMessage, 4000);
175
+ }
176
+ }
177
+ applyDate(day) {
178
+ if (day || this.localSelectedDate) {
179
+ this.data.dateChange(parseZone()
180
+ .year(this.currentYearNumber)
181
+ .month(this.currentMonthNumber)
182
+ .date(day ? day.date : this.localSelectedDate.date)
183
+ .format(this.data.dpConfig.format));
184
+ }
185
+ else {
186
+ this.cancelDatePicker();
187
+ }
188
+ }
189
+ cancelDatePicker() {
190
+ this.data.dateChange("");
191
+ }
192
+ }
193
+ TzDpContainerComponent.decorators = [
194
+ { type: Component, args: [{
195
+ selector: "mis-tz-dp",
196
+ template: "<div class=\"datepicker-container\">\n <div class=\"datepicker-container__header\">\n <div\n class=\"datepicker-container__arrow__icon\"\n (click)=\"!isPreviousMonthDisabled && navigateMonth('PREVIOUS')\"\n [ngClass]=\"{\n 'disabled-month': isPreviousMonthDisabled\n }\"\n >\n <svg width=\"20\" height=\"16\" viewBox=\"0 0 20 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M19.7071 8.70711C20.0976 8.31658 20.0976 7.68342 19.7071 7.29289L13.3431 0.928933C12.9526 0.538409 12.3195 0.538409 11.9289 0.928933C11.5384 1.31946 11.5384 1.95262 11.9289 2.34315L17.5858 8L11.9289 13.6569C11.5384 14.0474 11.5384 14.6805 11.9289 15.0711C12.3195 15.4616 12.9526 15.4616 13.3431 15.0711L19.7071 8.70711ZM-8.74228e-08 9L19 9L19 7L8.74228e-08 7L-8.74228e-08 9Z\"\n fill=\"#181F33\"\n ></path>\n </svg>\n </div>\n <span> {{ currentMonth }} {{ currentYearNumber }} </span>\n <div\n class=\"datepicker-container__arrow__icon\"\n (click)=\"!isNextMonthDisabled && navigateMonth('NEXT')\"\n [ngClass]=\"{\n 'disabled-month': isNextMonthDisabled\n }\"\n >\n <svg width=\"20\" height=\"16\" viewBox=\"0 0 20 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M19.7071 8.70711C20.0976 8.31658 20.0976 7.68342 19.7071 7.29289L13.3431 0.928933C12.9526 0.538409 12.3195 0.538409 11.9289 0.928933C11.5384 1.31946 11.5384 1.95262 11.9289 2.34315L17.5858 8L11.9289 13.6569C11.5384 14.0474 11.5384 14.6805 11.9289 15.0711C12.3195 15.4616 12.9526 15.4616 13.3431 15.0711L19.7071 8.70711ZM-8.74228e-08 9L19 9L19 7L8.74228e-08 7L-8.74228e-08 9Z\"\n fill=\"#181F33\"\n ></path>\n </svg>\n </div>\n </div>\n <div class=\"datepicker-container__body\">\n <div class=\"datepicker-container__weekdays\">\n <div class=\"datepicker-container__weekday\" *ngFor=\"let weekDay of weekDays\">\n <span [ngClass]=\"{ 'current-day': weekDay.isCurrentDay }\">{{ weekDay.label }}</span>\n </div>\n </div>\n <div class=\"datepicker-container__days\">\n <div\n class=\"datepicker-container__day\"\n [ngClass]=\"{\n 'selected-day': !localSelectedDate ? day.isSelectedDay : day === localSelectedDate,\n 'disabled-day': day.isDisabledDay,\n 'is-valid-date': day.date > 0 && !day.isSelectedDay\n }\"\n *ngFor=\"let day of currentMonthDates\"\n (click)=\"selectDay(day)\"\n >\n <span\n *ngIf=\"day.date > 0\"\n [ngClass]=\"{\n 'current-day': day.isCurrentDay,\n 'selected-day': !localSelectedDate ? day.isSelectedDay : day === localSelectedDate,\n 'disabled-day': day.isDisabledDay\n }\"\n >\n {{ day.date }}\n </span>\n </div>\n </div>\n </div>\n <div class=\"datepicker-container__footer\" *ngIf=\"data.dpConfig.showApplyButton\">\n <button mis-button size=\"md\" type=\"'none'\" (click)=\"cancelDatePicker()\">Cancel</button>\n <button mis-button size=\"md\" type=\"primary\" (click)=\"applyDate()\" [disabled]=\"!(data.date || localSelectedDate)\">Apply</button>\n </div>\n</div>\n",
197
+ styles: [".datepicker-container{background:#fff;border:1px solid #e0e0e0;box-shadow:0 12px 24px rgba(0,0,0,.12),0 4px 8px rgba(0,0,0,.12);border-radius:12px;display:flex;flex-direction:column;font-family:Lato;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;width:290px}.datepicker-container .datepicker-container__header{display:flex;height:32px;margin:16px;justify-content:space-between;align-items:center;width:258px}.datepicker-container .datepicker-container__header span{font-size:16px;font-style:normal;font-weight:700;line-height:24px;letter-spacing:.2px;text-align:center}.datepicker-container .datepicker-container__header .datepicker-container__arrow__icon{height:20px;width:20px;display:flex;align-items:center;justify-content:center;border-radius:4px;padding:4px}.datepicker-container .datepicker-container__header .datepicker-container__arrow__icon.disabled-month{opacity:.5;cursor:not-allowed}.datepicker-container .datepicker-container__header .datepicker-container__arrow__icon:not(.disabled-month):hover{cursor:pointer;background-color:#cbddfb}.datepicker-container .datepicker-container__header .datepicker-container__arrow__icon:first-child{transform:rotate(180deg)}.datepicker-container .datepicker-container__body{width:258px;height:100%;margin:0 16px 16px}.datepicker-container .datepicker-container__body .datepicker-container__weekdays{width:100%;display:flex;padding-bottom:10px}.datepicker-container .datepicker-container__body .datepicker-container__weekdays .datepicker-container__weekday{width:36px;height:18px;text-align:center}.datepicker-container .datepicker-container__body .datepicker-container__weekdays .datepicker-container__weekday span{font-size:12px;font-style:normal;font-weight:400;line-height:18px;letter-spacing:.2px;text-align:center;color:#c7c7c7}.datepicker-container .datepicker-container__body .datepicker-container__weekdays .datepicker-container__weekday span.current-day{font-weight:700;letter-spacing:.25px;color:#181f33}.datepicker-container .datepicker-container__body .datepicker-container__days{display:flex;flex-wrap:wrap;gap:2px}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:4px}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day.selected-day{background-color:#0937b2;cursor:pointer}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day.disabled-day{cursor:default}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day.disabled-day:hover{background-color:transparent}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day.is-valid-date:not(.disabled-day):not(.selected-day):hover{background-color:#cbddfb;cursor:pointer}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day.is-valid-date:not(.disabled-day):not(.selected-day):hover span.selected-day{color:#181f33!important}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day span{font-size:14px;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.2px;text-align:center;color:#181f33}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day span.current-day{font-weight:700;letter-spacing:.25px}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day span.selected-day{color:#fff}.datepicker-container .datepicker-container__body .datepicker-container__days .datepicker-container__day span.disabled-day{color:#c7c7c7}.datepicker-container .datepicker-container__footer{display:flex;justify-content:flex-end;gap:8px;bottom:0;align-items:center;position:-webkit-sticky;position:sticky;padding:16px;border-top:1px solid #e0e0e0}"]
198
+ },] }
199
+ ];
200
+ TzDpContainerComponent.ctorParameters = () => [
201
+ { type: undefined, decorators: [{ type: Inject, args: [CONTAINER_DATA,] }] },
202
+ { type: ToastService }
203
+ ];
204
+
205
+ class TzDatepickerDirective {
206
+ constructor(control, element, overlay, viewContainerRef) {
207
+ this.control = control;
208
+ this.element = element;
209
+ this.overlay = overlay;
210
+ this.viewContainerRef = viewContainerRef;
211
+ this.dateMessages = [];
212
+ this.positionX = "center";
213
+ this.positionY = "bottom";
214
+ this.offsetX = 0;
215
+ this.offsetY = 0;
216
+ this.allowBookingOnDisabledDay = false;
217
+ this.dateChange = new EventEmitter(true);
218
+ this.isOpen = false;
219
+ this.dpDisabledDates = [];
220
+ }
221
+ // dd-mm-yyyy 01-12-2022
222
+ set selectedDate(date) {
223
+ this.date = date;
224
+ }
225
+ set datesDisabled(dates) {
226
+ this.dpDisabledDates = dates;
227
+ }
228
+ ngOnInit() { }
229
+ toggleDatePicker() {
230
+ if (this.isOpen) {
231
+ this.close();
232
+ }
233
+ else {
234
+ this.open();
235
+ }
236
+ }
237
+ open() {
238
+ var _a;
239
+ this.dpConfig = Object.assign({ format: DATE_FORMAT, minDate: "", maxDate: "", showApplyButton: false }, this.dpConfig);
240
+ this.isOpen = true;
241
+ const positionStrategy = this.overlay
242
+ .position()
243
+ .flexibleConnectedTo(this.element)
244
+ .withPositions(genPositionPairs({
245
+ positionX: this.positionX,
246
+ positionY: this.positionY,
247
+ offsetX: this.offsetX,
248
+ offsetY: this.offsetY
249
+ }, true))
250
+ .withPush(true);
251
+ const config = new OverlayConfig({
252
+ hasBackdrop: true,
253
+ positionStrategy,
254
+ scrollStrategy: this.overlay.scrollStrategies.reposition(),
255
+ backdropClass: "cdk-overlay-transparent-backdrop"
256
+ });
257
+ this.overlayRef = this.overlay.create(config);
258
+ const tempRef = new ComponentPortal(TzDpContainerComponent, this.viewContainerRef, Injector.create({
259
+ providers: [
260
+ {
261
+ provide: CONTAINER_DATA,
262
+ useValue: {
263
+ messages: this.dateMessages,
264
+ date: ((_a = this.control) === null || _a === void 0 ? void 0 : _a.control.value) || this.date,
265
+ allowBookingOnDisabledDay: this.allowBookingOnDisabledDay,
266
+ dpConfig: this.dpConfig,
267
+ datesDisabled: this.dpDisabledDates,
268
+ dateChange: this.applyDate.bind(this)
269
+ }
270
+ }
271
+ ]
272
+ }));
273
+ this.overlayRef.attach(tempRef);
274
+ this.overlayRef
275
+ .backdropClick()
276
+ .pipe(take(1))
277
+ .subscribe(() => {
278
+ this.close();
279
+ });
280
+ }
281
+ applyDate(date = "") {
282
+ var _a;
283
+ if (!date) {
284
+ this.close();
285
+ return;
286
+ }
287
+ this.dateChange.emit(date);
288
+ (_a = this.control) === null || _a === void 0 ? void 0 : _a.control.patchValue(date);
289
+ this.date = date;
290
+ this.close();
291
+ }
292
+ close() {
293
+ this.isOpen = false;
294
+ this.overlayRef.detach();
295
+ this.overlayRef.dispose();
296
+ }
297
+ }
298
+ TzDatepickerDirective.decorators = [
299
+ { type: Directive, args: [{
300
+ selector: "input[misTzDp]"
301
+ },] }
302
+ ];
303
+ TzDatepickerDirective.ctorParameters = () => [
304
+ { type: NgControl, decorators: [{ type: Self }, { type: Optional }] },
305
+ { type: ElementRef },
306
+ { type: Overlay },
307
+ { type: ViewContainerRef }
308
+ ];
309
+ TzDatepickerDirective.propDecorators = {
310
+ dpConfig: [{ type: Input }],
311
+ selectedDate: [{ type: Input }],
312
+ datesDisabled: [{ type: Input }],
313
+ dateMessages: [{ type: Input }],
314
+ positionX: [{ type: Input }],
315
+ positionY: [{ type: Input }],
316
+ offsetX: [{ type: Input }],
317
+ offsetY: [{ type: Input }],
318
+ allowBookingOnDisabledDay: [{ type: Input }],
319
+ dateChange: [{ type: Output }],
320
+ toggleDatePicker: [{ type: HostListener, args: ["click",] }]
321
+ };
322
+
323
+ class DatepickerModuleV2 {
324
+ }
325
+ DatepickerModuleV2.decorators = [
326
+ { type: NgModule, args: [{
327
+ declarations: [TzDpContainerComponent, TzDatepickerDirective],
328
+ imports: [CommonModule, OverlayModule, ToastModule.forRoot(), ButtonModule],
329
+ exports: [TzDpContainerComponent, TzDatepickerDirective],
330
+ entryComponents: [TzDpContainerComponent]
331
+ },] }
332
+ ];
333
+
334
+ /**
335
+ * Generated bundle index. Do not edit.
336
+ */
337
+
338
+ export { DatepickerModuleV2, TzDatepickerDirective, TzDpContainerComponent as ɵb, CONTAINER_DATA as ɵc };
339
+ //# sourceMappingURL=mis-crystal-design-system-datepicker_v2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mis-crystal-design-system-datepicker_v2.js","sources":["../../../projects/mis-components/datepicker_v2/datepicker-constants.ts","../../../projects/mis-components/datepicker_v2/utils/index.ts","../../../projects/mis-components/datepicker_v2/tz-dp-container/tz-dp-container.component.ts","../../../projects/mis-components/datepicker_v2/tz-datepicker.directive.ts","../../../projects/mis-components/datepicker_v2/datepicker.module.ts","../../../projects/mis-components/datepicker_v2/mis-crystal-design-system-datepicker_v2.ts"],"sourcesContent":["/** @format */\n\nimport { InjectionToken } from \"@angular/core\";\n\nexport const CONTAINER_DATA = new InjectionToken<{}>(\"CONTAINER_DATA\");\nexport const DATE_FORMAT = \"DD-MM-YYYY\";\n","import { ICurrentMonth } from \"../models/dp-config.model\";\n\nexport const getMonth = (index: number): ICurrentMonth => {\n let month;\n switch (index) {\n case 0:\n month = \"January\";\n break;\n case 1:\n month = \"February\";\n break;\n case 2:\n month = \"March\";\n break;\n case 3:\n month = \"April\";\n break;\n case 4:\n month = \"May\";\n break;\n case 5:\n month = \"June\";\n break;\n case 6:\n month = \"July\";\n break;\n case 7:\n month = \"August\";\n break;\n case 8:\n month = \"September\";\n break;\n case 9:\n month = \"October\";\n break;\n case 10:\n month = \"November\";\n break;\n case 11:\n month = \"December\";\n break;\n default:\n break;\n }\n return month;\n};\n","import { Component, Inject, OnInit } from \"@angular/core\";\nimport { CONTAINER_DATA, DATE_FORMAT } from \"../datepicker-constants\";\nimport { ICurrentMonth, ICurrentMonthDates, IDatePickerData, IWeekDay } from \"../models/dp-config.model\";\nimport { parseZone, Moment, tz } from \"moment-timezone\";\nimport { getMonth } from \"../utils\";\nimport { ToastService } from \"mis-crystal-design-system/toast\";\n\n@Component({\n selector: \"mis-tz-dp\",\n templateUrl: \"./tz-dp-container.component.html\",\n styleUrls: [\"./tz-dp-container.component.scss\"]\n})\nexport class TzDpContainerComponent implements OnInit {\n data: IDatePickerData;\n private parseZoneInstance = (...args) => {\n return parseZone(...args);\n };\n private rawWeekDays: string[] = [\"SUN\", \"MON\", \"TUE\", \"WED\", \"THU\", \"FRI\", \"SAT\"];\n weekDays: IWeekDay[] = [];\n currentMonthNumber: number;\n currentMonth: ICurrentMonth;\n currentYearNumber: number;\n currentMonthDates: ICurrentMonthDates[] = [];\n isPreviousMonthDisabled: boolean = false;\n isNextMonthDisabled: boolean = false;\n localSelectedDate: ICurrentMonthDates;\n allowBookingOnDisabledDay: boolean = false;\n currentSelection: any;\n\n constructor(@Inject(CONTAINER_DATA) data: IDatePickerData, private toast: ToastService) {\n this.data = data;\n if (this.data?.dpConfig?.timezone) {\n this.parseZoneInstance = (...args) => {\n return tz(args[0], args[1], this.data.dpConfig.timezone);\n };\n }\n this.currentMonthNumber = this.parseZoneInstance().month();\n this.currentMonth = getMonth(this.currentMonthNumber);\n this.currentYearNumber = this.parseZoneInstance().year();\n this.weekDays = this.rawWeekDays.map((day, index) => ({\n label: `${day[0]}${day.slice(1).toLowerCase()}`,\n isCurrentDay: this.parseZoneInstance().day() === index\n }));\n if (!this.data?.dpConfig?.format) {\n this.data.dpConfig = {\n ...this.data.dpConfig,\n format: DATE_FORMAT\n };\n }\n }\n\n ngOnInit(): void {\n this.currentDateInstance();\n this.calculateMinMaxDays();\n }\n\n private currentDateInstance(): void {\n const selectedDate = parseZone(this.data.date, this.data.dpConfig.format);\n if (selectedDate.isValid()) {\n this.currentYearNumber = selectedDate.year();\n this.currentMonthNumber = selectedDate.month();\n this.currentMonth = getMonth(this.currentMonthNumber);\n }\n this.currentMonthDates = this.generateDates(this.currentMonthNumber, this.currentYearNumber);\n }\n\n private calculateMinMaxDays() {\n const currentInstance = this.parseZoneInstance().year(this.currentYearNumber).month(this.currentMonthNumber);\n const minDate = this.parseZoneInstance(this.data.dpConfig.minDate, this.data.dpConfig.format);\n if (minDate.isValid()) {\n this.isPreviousMonthDisabled = minDate.isSameOrAfter(currentInstance, \"month\");\n }\n const maxDate = this.parseZoneInstance(this.data.dpConfig.maxDate, this.data.dpConfig.format);\n if (maxDate.isValid()) {\n this.isNextMonthDisabled = maxDate.isSameOrBefore(currentInstance, \"month\");\n }\n }\n\n navigateMonth(direction: \"NEXT\" | \"PREVIOUS\"): void {\n let thisMonth: Moment = parseZone().year(this.currentYearNumber).month(this.currentMonthNumber);\n if (direction === \"NEXT\") {\n thisMonth = thisMonth.add(1, \"month\");\n } else if (direction === \"PREVIOUS\") {\n thisMonth = thisMonth.subtract(1, \"month\");\n }\n this.currentMonthNumber = thisMonth.month();\n this.currentMonth = getMonth(this.currentMonthNumber);\n this.currentYearNumber = thisMonth.year();\n this.currentMonthDates = this.generateDates(this.currentMonthNumber, this.currentYearNumber);\n this.calculateMinMaxDays();\n }\n\n private generateDates(month: number, currentYearNumber: number): ICurrentMonthDates[] {\n let dates: ICurrentMonthDates[] = [];\n const daysInMonth = parseZone().year(currentYearNumber).month(month).daysInMonth();\n for (let currentDate = 1; currentDate <= daysInMonth; currentDate++) {\n const date = this.parseZoneInstance().year(currentYearNumber).month(month).date(currentDate);\n const dateString = date.format(this.data.dpConfig.format);\n let isDisabledDay = this.data.datesDisabled.some(d => d === dateString);\n const minDate = this.parseZoneInstance(this.data.dpConfig.minDate, this.data.dpConfig.format);\n if (!isDisabledDay && minDate.isValid()) {\n isDisabledDay = minDate.isAfter(date, \"day\");\n }\n const maxDate = this.parseZoneInstance(this.data.dpConfig.maxDate, this.data.dpConfig.format);\n if (!isDisabledDay && maxDate.isValid()) {\n isDisabledDay = maxDate.isBefore(date, \"day\");\n }\n dates.push({\n date: currentDate,\n weekDay: date.day(),\n isCurrentDay:\n this.parseZoneInstance().year(currentYearNumber).month(month).date(currentDate).format(this.data.dpConfig.format) ===\n this.parseZoneInstance().format(this.data.dpConfig.format),\n isSelectedDay: !isDisabledDay && date.format(this.data.dpConfig.format) === this.data.date,\n toastMessage: this.data.messages.find(q => date.format(this.data.dpConfig.format) === q.date)?.message || \"\",\n isDisabledDay\n });\n }\n for (let i = dates[0].weekDay; i > 0; i--) {\n dates.unshift({ date: 0, weekDay: i - 1 });\n }\n return dates;\n }\n\n selectDay(day: ICurrentMonthDates) {\n this.currentSelection = this.parseZoneInstance().year(this.currentYearNumber).month(this.currentMonthNumber).date(day.date);\n const maxDate = this.parseZoneInstance(this.data.dpConfig.maxDate);\n const minDate = this.parseZoneInstance(this.data.dpConfig.minDate);\n this.allowBookingOnDisabledDay = this.data.allowBookingOnDisabledDay\n \n if (day.date <= 0) return;\n if ((this.currentSelection.isSameOrAfter(minDate) && this.currentSelection.isSameOrBefore(maxDate) && this.allowBookingOnDisabledDay) || (!day.isDisabledDay && !this.allowBookingOnDisabledDay)) {\n this.localSelectedDate = day;\n if (!this.data.dpConfig.showApplyButton) {\n this.applyDate(day);\n }\n }\n if (day.toastMessage || (this.allowBookingOnDisabledDay && day.toastMessage)) {\n this.toast.displayMsg(day.toastMessage, 4000);\n }\n }\n\n applyDate(day?: ICurrentMonthDates) {\n if (day || this.localSelectedDate) {\n this.data.dateChange(\n parseZone()\n .year(this.currentYearNumber)\n .month(this.currentMonthNumber)\n .date(day ? day.date : this.localSelectedDate.date)\n .format(this.data.dpConfig.format)\n );\n } else {\n this.cancelDatePicker();\n }\n }\n\n cancelDatePicker() {\n this.data.dateChange(\"\");\n }\n}\n","import { ConnectionPositionPair, Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { ComponentPortal } from \"@angular/cdk/portal\";\nimport { Directive, ElementRef, EventEmitter, HostListener, Injector, Input, OnInit, Optional, Output, Self, ViewContainerRef } from \"@angular/core\";\nimport { NgControl } from \"@angular/forms\";\nimport { take } from \"rxjs/operators\";\nimport { genPositionPairs } from \"mis-crystal-design-system/utils\";\nimport { CONTAINER_DATA, DATE_FORMAT } from \"./datepicker-constants\";\nimport { IDatePickerConfig, IDatePickerToastText } from \"./models/dp-config.model\";\nimport { TzDpContainerComponent } from \"./tz-dp-container/tz-dp-container.component\";\n\n@Directive({\n selector: \"input[misTzDp]\"\n})\nexport class TzDatepickerDirective implements OnInit {\n @Input() dpConfig: Partial<IDatePickerConfig>;\n // dd-mm-yyyy 01-12-2022\n @Input() set selectedDate(date: string) {\n this.date = date;\n }\n @Input() set datesDisabled(dates: string[]) {\n this.dpDisabledDates = dates;\n }\n @Input() dateMessages: IDatePickerToastText[] = [];\n @Input() positionX: \"start\" | \"center\" | \"end\" = \"center\";\n @Input() positionY: \"top\" | \"center\" | \"bottom\" = \"bottom\";\n @Input() offsetX: number = 0;\n @Input() offsetY: number = 0;\n @Input() allowBookingOnDisabledDay: boolean = false;\n private overlayRef: OverlayRef;\n @Output() dateChange = new EventEmitter<string>(true);\n private isOpen = false;\n date: string;\n\n private dpDisabledDates: string[] = [];\n\n constructor(\n @Self() @Optional() private control: NgControl,\n private element: ElementRef,\n private overlay: Overlay,\n private viewContainerRef: ViewContainerRef\n ) {}\n ngOnInit(): void {}\n\n @HostListener(\"click\")\n toggleDatePicker() {\n if (this.isOpen) {\n this.close();\n } else {\n this.open();\n }\n }\n\n private open() {\n this.dpConfig = {\n format: DATE_FORMAT,\n minDate: \"\",\n maxDate: \"\",\n showApplyButton: false,\n ...this.dpConfig\n };\n this.isOpen = true;\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.element)\n .withPositions(\n genPositionPairs(\n {\n positionX: this.positionX,\n positionY: this.positionY,\n offsetX: this.offsetX,\n offsetY: this.offsetY\n },\n true\n )\n )\n .withPush(true);\n const config = new OverlayConfig({\n hasBackdrop: true,\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n backdropClass: \"cdk-overlay-transparent-backdrop\"\n });\n this.overlayRef = this.overlay.create(config);\n const tempRef = new ComponentPortal(\n TzDpContainerComponent,\n this.viewContainerRef,\n Injector.create({\n providers: [\n {\n provide: CONTAINER_DATA,\n useValue: {\n messages: this.dateMessages,\n date: this.control?.control.value || this.date,\n allowBookingOnDisabledDay: this.allowBookingOnDisabledDay,\n dpConfig: this.dpConfig,\n datesDisabled: this.dpDisabledDates,\n dateChange: this.applyDate.bind(this)\n }\n }\n ]\n })\n );\n this.overlayRef.attach(tempRef);\n this.overlayRef\n .backdropClick()\n .pipe(take(1))\n .subscribe(() => {\n this.close();\n });\n }\n\n applyDate(date: string = \"\") {\n if (!date) {\n this.close();\n return;\n }\n this.dateChange.emit(date);\n this.control?.control.patchValue(date);\n this.date = date;\n this.close();\n }\n\n private close() {\n this.isOpen = false;\n this.overlayRef.detach();\n this.overlayRef.dispose();\n }\n}\n","import { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { TzDpContainerComponent } from \"./tz-dp-container/tz-dp-container.component\";\nimport { TzDatepickerDirective } from \"./tz-datepicker.directive\";\nimport { ToastModule } from \"mis-crystal-design-system/toast\";\nimport { ButtonModule } from \"mis-crystal-design-system/button\";\n\n@NgModule({\n declarations: [TzDpContainerComponent, TzDatepickerDirective],\n imports: [CommonModule, OverlayModule, ToastModule.forRoot(), ButtonModule],\n exports: [TzDpContainerComponent, TzDatepickerDirective],\n entryComponents: [TzDpContainerComponent]\n})\nexport class DatepickerModuleV2 {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {CONTAINER_DATA as ɵc} from './datepicker-constants';\nexport {IDatePickerData as ɵa} from './models/dp-config.model';\nexport {TzDpContainerComponent as ɵb} from './tz-dp-container/tz-dp-container.component';"],"names":[],"mappings":";;;;;;;;;;;AAAA;MAIa,cAAc,GAAG,IAAI,cAAc,CAAK,gBAAgB,EAAE;AAChE,MAAM,WAAW,GAAG,YAAY;;ACHhC,MAAM,QAAQ,GAAG,CAAC,KAAa;IACpC,IAAI,KAAK,CAAC;IACV,QAAQ,KAAK;QACX,KAAK,CAAC;YACJ,KAAK,GAAG,SAAS,CAAC;YAClB,MAAM;QACR,KAAK,CAAC;YACJ,KAAK,GAAG,UAAU,CAAC;YACnB,MAAM;QACR,KAAK,CAAC;YACJ,KAAK,GAAG,OAAO,CAAC;YAChB,MAAM;QACR,KAAK,CAAC;YACJ,KAAK,GAAG,OAAO,CAAC;YAChB,MAAM;QACR,KAAK,CAAC;YACJ,KAAK,GAAG,KAAK,CAAC;YACd,MAAM;QACR,KAAK,CAAC;YACJ,KAAK,GAAG,MAAM,CAAC;YACf,MAAM;QACR,KAAK,CAAC;YACJ,KAAK,GAAG,MAAM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