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
@@ -1,112 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ViewChild, Input, Output, NgModule } from '@angular/core';
3
- import * as i2 from '@angular/forms';
4
- import { UntypedFormControl, ReactiveFormsModule } from '@angular/forms';
5
- import * as i1 from '@angular/common';
6
- import { CommonModule } from '@angular/common';
7
-
8
- class CheckboxComponent {
9
- constructor() {
10
- this.isError = false;
11
- this.isIndeterminate = false;
12
- this.name = "";
13
- this.formControl = new UntypedFormControl();
14
- this.valueChange = new EventEmitter();
15
- }
16
- set type(value) {
17
- this.isError = value === "Error";
18
- }
19
- set indeterminate(value) {
20
- if (value) {
21
- this.formControl.setValue(true);
22
- this.valueChange.emit({
23
- name: this.name,
24
- value: true
25
- });
26
- }
27
- else {
28
- this.formControl.setValue(false);
29
- this.valueChange.emit({
30
- name: this.name,
31
- value: false
32
- });
33
- }
34
- this.isIndeterminate = value;
35
- }
36
- set checked(value) {
37
- if (value)
38
- this.formControl.setValue(true);
39
- else
40
- this.formControl.setValue(false);
41
- }
42
- set disabled(value) {
43
- if (value)
44
- this.formControl.disable();
45
- else
46
- this.formControl.enable();
47
- }
48
- ngOnInit() { }
49
- toggleState() {
50
- if (this.isIndeterminate) {
51
- this.isIndeterminate = false;
52
- this.formControl.setValue(true);
53
- }
54
- else {
55
- if (this.formControl.value)
56
- this.formControl.setValue(false);
57
- else
58
- this.formControl.setValue(true);
59
- }
60
- this.valueChange.emit({
61
- name: this.name,
62
- value: this.formControl.value
63
- });
64
- }
65
- }
66
- CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
67
- CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: CheckboxComponent, selector: "mis-checkbox", inputs: { type: "type", indeterminate: "indeterminate", checked: "checked", disabled: "disabled", name: "name", formControl: "formControl" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "inputBox", first: true, predicate: ["input"], descendants: true }], ngImport: i0, template: "<div\n class=\"checkbox-container\"\n [ngStyle]=\"{ cursor: formControl.disabled ? 'not-allowed' : 'pointer' }\"\n (click)=\"!formControl.disabled && toggleState()\"\n>\n <input hidden type=\"checkbox\" [formControl]=\"formControl\" (click)=\"$event.stopPropagation()\" />\n <span\n class=\"checkmark\"\n tabindex=\"0\"\n *ngIf=\"!isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n error: isError && !formControl.disabled\n }\"\n ></span>\n <span\n class=\"checkmark indeterminate\"\n tabindex=\"0\"\n *ngIf=\"isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n error: isError && !formControl.disabled\n }\"\n ></span>\n</div>\n", styles: [".checkbox-container{height:20px;width:20px;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:sub}.checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:20px;width:20px}.checkmark{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;height:20px;width:20px;border-radius:4px;background-color:#fff;border:solid 2px #6a737d;box-sizing:border-box}.checkmark:hover{border-color:#929dab}.checkmark:focus-within,.checkmark:focus{box-shadow:0 0 0 .09em #fff,0 0 .01em .2em #0937b2;outline:none}.checkbox-container input:checked~.checkmark{background-color:#0937b2;border-color:#0937b2}.checkbox-container input:checked~.checkmark.disabled-checkbox{background-color:#c8cdd3;border-color:#c8cdd3}.checkmark:after{content:\"\";position:absolute;display:none}.checkbox-container input:checked~.checkmark:after{display:block}.checkbox-container .checkmark:after{top:1px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox-container .checkmark.indeterminate:after{top:2px;width:2px;height:0px;border:solid white;border-width:0 0px 12px 0;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.disabled-checkbox{pointer-events:none;border-color:#c8cdd3}.error{border-color:#b00020}.checkbox-container input:checked~.error.checkmark{border:#b00020!important;background:#b00020!important}.checkbox-container .error.checkmark:after{top:3px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox-container .error.checkmark.indeterminate:after{top:4px;width:2px;height:0px;border:solid white;border-width:0 0px 12px 0;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.error:focus-within,.error:focus{box-shadow:none!important;outline:none}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxComponent, decorators: [{
69
- type: Component,
70
- args: [{ selector: "mis-checkbox", template: "<div\n class=\"checkbox-container\"\n [ngStyle]=\"{ cursor: formControl.disabled ? 'not-allowed' : 'pointer' }\"\n (click)=\"!formControl.disabled && toggleState()\"\n>\n <input hidden type=\"checkbox\" [formControl]=\"formControl\" (click)=\"$event.stopPropagation()\" />\n <span\n class=\"checkmark\"\n tabindex=\"0\"\n *ngIf=\"!isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n error: isError && !formControl.disabled\n }\"\n ></span>\n <span\n class=\"checkmark indeterminate\"\n tabindex=\"0\"\n *ngIf=\"isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n error: isError && !formControl.disabled\n }\"\n ></span>\n</div>\n", styles: [".checkbox-container{height:20px;width:20px;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:sub}.checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:20px;width:20px}.checkmark{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;height:20px;width:20px;border-radius:4px;background-color:#fff;border:solid 2px #6a737d;box-sizing:border-box}.checkmark:hover{border-color:#929dab}.checkmark:focus-within,.checkmark:focus{box-shadow:0 0 0 .09em #fff,0 0 .01em .2em #0937b2;outline:none}.checkbox-container input:checked~.checkmark{background-color:#0937b2;border-color:#0937b2}.checkbox-container input:checked~.checkmark.disabled-checkbox{background-color:#c8cdd3;border-color:#c8cdd3}.checkmark:after{content:\"\";position:absolute;display:none}.checkbox-container input:checked~.checkmark:after{display:block}.checkbox-container .checkmark:after{top:1px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox-container .checkmark.indeterminate:after{top:2px;width:2px;height:0px;border:solid white;border-width:0 0px 12px 0;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.disabled-checkbox{pointer-events:none;border-color:#c8cdd3}.error{border-color:#b00020}.checkbox-container input:checked~.error.checkmark{border:#b00020!important;background:#b00020!important}.checkbox-container .error.checkmark:after{top:3px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.checkbox-container .error.checkmark.indeterminate:after{top:4px;width:2px;height:0px;border:solid white;border-width:0 0px 12px 0;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.error:focus-within,.error:focus{box-shadow:none!important;outline:none}\n"] }]
71
- }], ctorParameters: function () { return []; }, propDecorators: { inputBox: [{
72
- type: ViewChild,
73
- args: ["input"]
74
- }], type: [{
75
- type: Input
76
- }], indeterminate: [{
77
- type: Input
78
- }], checked: [{
79
- type: Input
80
- }], disabled: [{
81
- type: Input
82
- }], name: [{
83
- type: Input
84
- }], formControl: [{
85
- type: Input
86
- }], valueChange: [{
87
- type: Output
88
- }] } });
89
-
90
- class CheckboxModule {
91
- static forRoot() {
92
- return { ngModule: CheckboxModule, providers: [] };
93
- }
94
- }
95
- CheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
96
- CheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: CheckboxModule, declarations: [CheckboxComponent], imports: [CommonModule, ReactiveFormsModule], exports: [CheckboxComponent] });
97
- CheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxModule, imports: [CommonModule, ReactiveFormsModule] });
98
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: CheckboxModule, decorators: [{
99
- type: NgModule,
100
- args: [{
101
- declarations: [CheckboxComponent],
102
- imports: [CommonModule, ReactiveFormsModule],
103
- exports: [CheckboxComponent]
104
- }]
105
- }] });
106
-
107
- /**
108
- * Generated bundle index. Do not edit.
109
- */
110
-
111
- export { CheckboxComponent, CheckboxModule };
112
- //# sourceMappingURL=mis-crystal-design-system-checkbox.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mis-crystal-design-system-checkbox.mjs","sources":["../../../projects/mis-components/checkbox/checkbox.component.ts","../../../projects/mis-components/checkbox/checkbox.component.html","../../../projects/mis-components/checkbox/checkbox.module.ts","../../../projects/mis-components/checkbox/mis-crystal-design-system-checkbox.ts"],"sourcesContent":["import { Component, OnInit, EventEmitter, Input, Output, ViewChild, ElementRef, Renderer2 } from \"@angular/core\";\nimport { AbstractControl, UntypedFormControl } from \"@angular/forms\";\n\n@Component({\n selector: \"mis-checkbox\",\n templateUrl: \"./checkbox.component.html\",\n styleUrls: [\"./checkbox.component.scss\"]\n})\nexport class CheckboxComponent implements OnInit {\n public isError: boolean = false;\n public isIndeterminate: boolean = false;\n\n @ViewChild(\"input\") inputBox: ElementRef;\n @Input() set type(value: \"Default\" | \"Error\") {\n this.isError = value === \"Error\";\n }\n @Input() set indeterminate(value: boolean) {\n if (value) {\n this.formControl.setValue(true);\n this.valueChange.emit({\n name: this.name,\n value: true\n });\n } else {\n this.formControl.setValue(false);\n this.valueChange.emit({\n name: this.name,\n value: false\n });\n }\n this.isIndeterminate = value;\n }\n @Input() set checked(value: boolean) {\n if (value) this.formControl.setValue(true);\n else this.formControl.setValue(false);\n }\n @Input() set disabled(value: boolean) {\n if (value) this.formControl.disable();\n else this.formControl.enable();\n }\n @Input() name: string = \"\";\n @Input() formControl: AbstractControl = new UntypedFormControl();\n @Output() valueChange = new EventEmitter<{ name: string; value: boolean }>();\n\n constructor() {}\n ngOnInit() {}\n\n toggleState() {\n if (this.isIndeterminate) {\n this.isIndeterminate = false;\n this.formControl.setValue(true);\n } else {\n if (this.formControl.value) this.formControl.setValue(false);\n else this.formControl.setValue(true);\n }\n this.valueChange.emit({\n name: this.name,\n value: this.formControl.value\n });\n }\n}\n","<div\n class=\"checkbox-container\"\n [ngStyle]=\"{ cursor: formControl.disabled ? 'not-allowed' : 'pointer' }\"\n (click)=\"!formControl.disabled && toggleState()\"\n>\n <input hidden type=\"checkbox\" [formControl]=\"formControl\" (click)=\"$event.stopPropagation()\" />\n <span\n class=\"checkmark\"\n tabindex=\"0\"\n *ngIf=\"!isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n error: isError && !formControl.disabled\n }\"\n ></span>\n <span\n class=\"checkmark indeterminate\"\n tabindex=\"0\"\n *ngIf=\"isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n error: isError && !formControl.disabled\n }\"\n ></span>\n</div>\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { ReactiveFormsModule } from \"@angular/forms\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { CheckboxComponent } from \"./checkbox.component\";\n\n@NgModule({\n declarations: [CheckboxComponent],\n imports: [CommonModule, ReactiveFormsModule],\n exports: [CheckboxComponent]\n})\nexport class CheckboxModule {\n static forRoot(): ModuleWithProviders<CheckboxModule> {\n return { ngModule: CheckboxModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAQa,iBAAiB,CAAA;AAoC5B,IAAA,WAAA,GAAA;AAnCO,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;AACzB,QAAA,IAAe,CAAA,eAAA,GAAY,KAAK,CAAC;AA8B/B,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;AAClB,QAAA,IAAA,CAAA,WAAW,GAAoB,IAAI,kBAAkB,EAAE,CAAC;AACvD,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAoC,CAAC;KAE7D;IA/BhB,IAAa,IAAI,CAAC,KAA0B,EAAA;AAC1C,QAAA,IAAI,CAAC,OAAO,GAAG,KAAK,KAAK,OAAO,CAAC;KAClC;IACD,IAAa,aAAa,CAAC,KAAc,EAAA;AACvC,QAAA,IAAI,KAAK,EAAE;AACT,YAAA,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAChC,YAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;gBACpB,IAAI,EAAE,IAAI,CAAC,IAAI;AACf,gBAAA,KAAK,EAAE,IAAI;AACZ,aAAA,CAAC,CAAC;AACJ,SAAA;AAAM,aAAA;AACL,YAAA,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACjC,YAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;gBACpB,IAAI,EAAE,IAAI,CAAC,IAAI;AACf,gBAAA,KAAK,EAAE,KAAK;AACb,aAAA,CAAC,CAAC;AACJ,SAAA;AACD,QAAA,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;KAC9B;IACD,IAAa,OAAO,CAAC,KAAc,EAAA;AACjC,QAAA,IAAI,KAAK;AAAE,YAAA,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;;AACtC,YAAA,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;KACvC;IACD,IAAa,QAAQ,CAAC,KAAc,EAAA;AAClC,QAAA,IAAI,KAAK;AAAE,YAAA,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;;AACjC,YAAA,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC;KAChC;AAMD,IAAA,QAAQ,MAAK;IAEb,WAAW,GAAA;QACT,IAAI,IAAI,CAAC,eAAe,EAAE;AACxB,YAAA,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;AAC7B,YAAA,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACjC,SAAA;AAAM,aAAA;AACL,YAAA,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK;AAAE,gBAAA,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;;AACxD,gBAAA,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AACtC,SAAA;AACD,QAAA,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;YACpB,IAAI,EAAE,IAAI,CAAC,IAAI;AACf,YAAA,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK;AAC9B,SAAA,CAAC,CAAC;KACJ;;+GAnDU,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,8UCR9B,2uBAyBA,EAAA,MAAA,EAAA,CAAA,s3DAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,4BAAA,EAAA,QAAA,EAAA,uGAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,CAAA,aAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,CAAA,QAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDjBa,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,SAAS;+BACE,cAAc,EAAA,QAAA,EAAA,2uBAAA,EAAA,MAAA,EAAA,CAAA,s3DAAA,CAAA,EAAA,CAAA;0EAQJ,QAAQ,EAAA,CAAA;sBAA3B,SAAS;uBAAC,OAAO,CAAA;gBACL,IAAI,EAAA,CAAA;sBAAhB,KAAK;gBAGO,aAAa,EAAA,CAAA;sBAAzB,KAAK;gBAgBO,OAAO,EAAA,CAAA;sBAAnB,KAAK;gBAIO,QAAQ,EAAA,CAAA;sBAApB,KAAK;gBAIG,IAAI,EAAA,CAAA;sBAAZ,KAAK;gBACG,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBACI,WAAW,EAAA,CAAA;sBAApB,MAAM;;;ME/BI,cAAc,CAAA;AACzB,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;KACpD;;4GAHU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAd,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,iBAJV,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACtB,YAAY,EAAE,mBAAmB,aACjC,iBAAiB,CAAA,EAAA,CAAA,CAAA;6GAEhB,cAAc,EAAA,OAAA,EAAA,CAHf,YAAY,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA;4FAGhC,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,mBAAmB,CAAC;oBAC5C,OAAO,EAAE,CAAC,iBAAiB,CAAC;iBAC7B,CAAA;;;ACVD;;AAEG;;;;"}
@@ -1,61 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
-
6
- class ChipComponent {
7
- constructor() {
8
- this.label = "";
9
- this.value = "";
10
- this.size = "Medium";
11
- this.iconUrl = null;
12
- this.count = null;
13
- this.dismissible = false;
14
- this.cancel = new EventEmitter();
15
- }
16
- ngOnInit() { }
17
- }
18
- ChipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ChipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
19
- ChipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ChipComponent, selector: "mis-chip", inputs: { label: "label", value: "value", size: "size", iconUrl: "iconUrl", count: "count", dismissible: "dismissible" }, outputs: { cancel: "cancel" }, ngImport: i0, template: "<div\n id=\"chip-container\"\n [ngClass]=\"{\n small: size === 'Small',\n medium: size === 'Medium',\n 'small-m': size === 'Small-M',\n 'medium-m': size === 'Medium-M'\n }\"\n>\n <img *ngIf=\"iconUrl && iconUrl.length > 0\" [src]=\"iconUrl\" alt=\"\" />\n <span>{{ label }}</span>\n <div *ngIf=\"count != null || count != undefined\" id=\"count-container\">\n <div id=\"separator\"></div>\n <span id=\"count-text\">{{ count }}</span>\n </div>\n <span *ngIf=\"dismissible\" id=\"close-icon\" (click)=\"cancel.emit(value)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M5.49931 4.25725C5.15643 3.91437 4.60052 3.91437 4.25765 4.25725C3.91477 4.60012 3.91477 5.15604 4.25765 5.49891L6.75868 7.99994L4.25827 10.5004C3.91539 10.8432 3.91539 11.3991 4.25827 11.742C4.60114 12.0849 5.15706 12.0849 5.49993 11.742L8.00034 9.24161L10.5007 11.742C10.8436 12.0849 11.3995 12.0849 11.7424 11.742C12.0853 11.3991 12.0853 10.8432 11.7424 10.5003L9.24201 7.99995L11.743 5.49893C12.0859 5.15606 12.0859 4.60014 11.743 4.25727C11.4001 3.91439 10.8442 3.91439 10.5014 4.25727L8.00034 6.75828L5.49931 4.25725Z\"\n fill=\"#181F33\"\n />\n </svg>\n </span>\n</div>\n", styles: ["#chip-container{display:flex;justify-content:center;align-items:center;font-family:Lato,sans-serif!important;background-color:#e0e0e0;box-sizing:border-box;cursor:default}#chip-container:hover{background:#d7d9de}img{margin-right:4px}#close-icon{display:flex;justify-content:center;align-items:center;margin-left:4px;cursor:pointer}#count-container{display:flex;height:100%;justify-content:center;align-items:center}#separator{height:100%;width:1px;background-color:#c8cdd3;margin:0 8px}#count-text{font-weight:700;letter-spacing:.25px}.small{height:24px;padding:4px 8px;border-radius:7px;font-style:normal;font-weight:700;font-size:12px;line-height:16px;letter-spacing:.7px;color:#181f33}.medium{height:32px;padding:6px 12px;border-radius:16px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.small-m{height:20px;padding:4px 8px;border-radius:10px;font-style:normal;font-weight:400;font-size:11px;line-height:12px;letter-spacing:.1px;color:#181f33}.medium-m{height:24px;padding:4px 12px;border-radius:12px;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;color:#181f33}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ChipComponent, decorators: [{
21
- type: Component,
22
- args: [{ selector: "mis-chip", template: "<div\n id=\"chip-container\"\n [ngClass]=\"{\n small: size === 'Small',\n medium: size === 'Medium',\n 'small-m': size === 'Small-M',\n 'medium-m': size === 'Medium-M'\n }\"\n>\n <img *ngIf=\"iconUrl && iconUrl.length > 0\" [src]=\"iconUrl\" alt=\"\" />\n <span>{{ label }}</span>\n <div *ngIf=\"count != null || count != undefined\" id=\"count-container\">\n <div id=\"separator\"></div>\n <span id=\"count-text\">{{ count }}</span>\n </div>\n <span *ngIf=\"dismissible\" id=\"close-icon\" (click)=\"cancel.emit(value)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M5.49931 4.25725C5.15643 3.91437 4.60052 3.91437 4.25765 4.25725C3.91477 4.60012 3.91477 5.15604 4.25765 5.49891L6.75868 7.99994L4.25827 10.5004C3.91539 10.8432 3.91539 11.3991 4.25827 11.742C4.60114 12.0849 5.15706 12.0849 5.49993 11.742L8.00034 9.24161L10.5007 11.742C10.8436 12.0849 11.3995 12.0849 11.7424 11.742C12.0853 11.3991 12.0853 10.8432 11.7424 10.5003L9.24201 7.99995L11.743 5.49893C12.0859 5.15606 12.0859 4.60014 11.743 4.25727C11.4001 3.91439 10.8442 3.91439 10.5014 4.25727L8.00034 6.75828L5.49931 4.25725Z\"\n fill=\"#181F33\"\n />\n </svg>\n </span>\n</div>\n", styles: ["#chip-container{display:flex;justify-content:center;align-items:center;font-family:Lato,sans-serif!important;background-color:#e0e0e0;box-sizing:border-box;cursor:default}#chip-container:hover{background:#d7d9de}img{margin-right:4px}#close-icon{display:flex;justify-content:center;align-items:center;margin-left:4px;cursor:pointer}#count-container{display:flex;height:100%;justify-content:center;align-items:center}#separator{height:100%;width:1px;background-color:#c8cdd3;margin:0 8px}#count-text{font-weight:700;letter-spacing:.25px}.small{height:24px;padding:4px 8px;border-radius:7px;font-style:normal;font-weight:700;font-size:12px;line-height:16px;letter-spacing:.7px;color:#181f33}.medium{height:32px;padding:6px 12px;border-radius:16px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.small-m{height:20px;padding:4px 8px;border-radius:10px;font-style:normal;font-weight:400;font-size:11px;line-height:12px;letter-spacing:.1px;color:#181f33}.medium-m{height:24px;padding:4px 12px;border-radius:12px;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;color:#181f33}\n"] }]
23
- }], ctorParameters: function () { return []; }, propDecorators: { label: [{
24
- type: Input
25
- }], value: [{
26
- type: Input
27
- }], size: [{
28
- type: Input
29
- }], iconUrl: [{
30
- type: Input
31
- }], count: [{
32
- type: Input
33
- }], dismissible: [{
34
- type: Input
35
- }], cancel: [{
36
- type: Output
37
- }] } });
38
-
39
- class ChipModule {
40
- static forRoot() {
41
- return { ngModule: ChipModule, providers: [] };
42
- }
43
- }
44
- ChipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
45
- ChipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: ChipModule, declarations: [ChipComponent], imports: [CommonModule], exports: [ChipComponent] });
46
- ChipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ChipModule, imports: [CommonModule] });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ChipModule, decorators: [{
48
- type: NgModule,
49
- args: [{
50
- declarations: [ChipComponent],
51
- imports: [CommonModule],
52
- exports: [ChipComponent]
53
- }]
54
- }] });
55
-
56
- /**
57
- * Generated bundle index. Do not edit.
58
- */
59
-
60
- export { ChipComponent, ChipModule };
61
- //# sourceMappingURL=mis-crystal-design-system-chip.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mis-crystal-design-system-chip.mjs","sources":["../../../projects/mis-components/chip/chip.component.ts","../../../projects/mis-components/chip/chip.component.html","../../../projects/mis-components/chip/chip.module.ts","../../../projects/mis-components/chip/mis-crystal-design-system-chip.ts"],"sourcesContent":["import { Component, Input, OnInit, Output, EventEmitter } from \"@angular/core\";\n\n@Component({\n selector: \"mis-chip\",\n templateUrl: \"chip.component.html\",\n styleUrls: [\"chip.component.scss\"]\n})\nexport class ChipComponent implements OnInit {\n @Input() label: string = \"\";\n @Input() value: any = \"\";\n @Input() size: \"Small\" | \"Medium\" | \"Small-M\" | \"Medium-M\" = \"Medium\";\n @Input() iconUrl: string | null = null;\n @Input() count: number | null | undefined = null;\n @Input() dismissible: boolean = false;\n\n @Output() cancel = new EventEmitter<any>();\n constructor() {}\n ngOnInit() {}\n}\n","<div\n id=\"chip-container\"\n [ngClass]=\"{\n small: size === 'Small',\n medium: size === 'Medium',\n 'small-m': size === 'Small-M',\n 'medium-m': size === 'Medium-M'\n }\"\n>\n <img *ngIf=\"iconUrl && iconUrl.length > 0\" [src]=\"iconUrl\" alt=\"\" />\n <span>{{ label }}</span>\n <div *ngIf=\"count != null || count != undefined\" id=\"count-container\">\n <div id=\"separator\"></div>\n <span id=\"count-text\">{{ count }}</span>\n </div>\n <span *ngIf=\"dismissible\" id=\"close-icon\" (click)=\"cancel.emit(value)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M5.49931 4.25725C5.15643 3.91437 4.60052 3.91437 4.25765 4.25725C3.91477 4.60012 3.91477 5.15604 4.25765 5.49891L6.75868 7.99994L4.25827 10.5004C3.91539 10.8432 3.91539 11.3991 4.25827 11.742C4.60114 12.0849 5.15706 12.0849 5.49993 11.742L8.00034 9.24161L10.5007 11.742C10.8436 12.0849 11.3995 12.0849 11.7424 11.742C12.0853 11.3991 12.0853 10.8432 11.7424 10.5003L9.24201 7.99995L11.743 5.49893C12.0859 5.15606 12.0859 4.60014 11.743 4.25727C11.4001 3.91439 10.8442 3.91439 10.5014 4.25727L8.00034 6.75828L5.49931 4.25725Z\"\n fill=\"#181F33\"\n />\n </svg>\n </span>\n</div>\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { ChipComponent } from \"./chip.component\";\n\n@NgModule({\n declarations: [ChipComponent],\n imports: [CommonModule],\n exports: [ChipComponent]\n})\nexport class ChipModule {\n static forRoot(): ModuleWithProviders<ChipModule> {\n return { ngModule: ChipModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAOa,aAAa,CAAA;AASxB,IAAA,WAAA,GAAA;AARS,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE,CAAC;AACnB,QAAA,IAAK,CAAA,KAAA,GAAQ,EAAE,CAAC;AAChB,QAAA,IAAI,CAAA,IAAA,GAAgD,QAAQ,CAAC;AAC7D,QAAA,IAAO,CAAA,OAAA,GAAkB,IAAI,CAAC;AAC9B,QAAA,IAAK,CAAA,KAAA,GAA8B,IAAI,CAAC;AACxC,QAAA,IAAW,CAAA,WAAA,GAAY,KAAK,CAAC;AAE5B,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,YAAY,EAAO,CAAC;KAC3B;AAChB,IAAA,QAAQ,MAAK;;2GAVF,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAb,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,yMCP1B,g0CA0BA,EAAA,MAAA,EAAA,CAAA,2oCAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDnBa,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,SAAS;+BACE,UAAU,EAAA,QAAA,EAAA,g0CAAA,EAAA,MAAA,EAAA,CAAA,2oCAAA,CAAA,EAAA,CAAA;0EAKX,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,IAAI,EAAA,CAAA;sBAAZ,KAAK;gBACG,OAAO,EAAA,CAAA;sBAAf,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;gBACG,WAAW,EAAA,CAAA;sBAAnB,KAAK;gBAEI,MAAM,EAAA,CAAA;sBAAf,MAAM;;;MENI,UAAU,CAAA;AACrB,IAAA,OAAO,OAAO,GAAA;QACZ,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;KAChD;;wGAHU,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAV,UAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,EAJN,YAAA,EAAA,CAAA,aAAa,CAClB,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,aAAa,CAAA,EAAA,CAAA,CAAA;AAEZ,UAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YAHX,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGX,UAAU,EAAA,UAAA,EAAA,CAAA;kBALtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,aAAa,CAAC;oBAC7B,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,aAAa,CAAC;iBACzB,CAAA;;;ACRD;;AAEG;;;;"}
@@ -1,360 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, Component, Inject, EventEmitter, Injector, Directive, Self, Optional, Input, Output, HostListener, NgModule } from '@angular/core';
3
- import * as i2 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i2$1 from '@angular/cdk/overlay';
6
- import { OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
7
- import { parseZone, tz } from 'moment-timezone';
8
- import * as i1 from 'mis-crystal-design-system/toast';
9
- import { ToastModule } from 'mis-crystal-design-system/toast';
10
- import * as i3 from 'mis-crystal-design-system/button';
11
- import { ButtonModule } from 'mis-crystal-design-system/button';
12
- import { ComponentPortal } from '@angular/cdk/portal';
13
- import { take } from 'rxjs/operators';
14
- import { genPositionPairs } from 'mis-crystal-design-system/utils';
15
- import * as i1$1 from '@angular/forms';
16
-
17
- /** @format */
18
- const CONTAINER_DATA = new InjectionToken("CONTAINER_DATA");
19
- const DATE_FORMAT = "DD-MM-YYYY";
20
-
21
- const getMonth = (index) => {
22
- let month;
23
- switch (index) {
24
- case 0:
25
- month = "January";
26
- break;
27
- case 1:
28
- month = "February";
29
- break;
30
- case 2:
31
- month = "March";
32
- break;
33
- case 3:
34
- month = "April";
35
- break;
36
- case 4:
37
- month = "May";
38
- break;
39
- case 5:
40
- month = "June";
41
- break;
42
- case 6:
43
- month = "July";
44
- break;
45
- case 7:
46
- month = "August";
47
- break;
48
- case 8:
49
- month = "September";
50
- break;
51
- case 9:
52
- month = "October";
53
- break;
54
- case 10:
55
- month = "November";
56
- break;
57
- case 11:
58
- month = "December";
59
- break;
60
- default:
61
- break;
62
- }
63
- return month;
64
- };
65
-
66
- class TzDpContainerComponent {
67
- constructor(data, toast) {
68
- var _a, _b, _c, _d;
69
- this.toast = toast;
70
- this.parseZoneInstance = (...args) => {
71
- return parseZone(...args);
72
- };
73
- this.rawWeekDays = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"];
74
- this.weekDays = [];
75
- this.currentMonthDates = [];
76
- this.isPreviousMonthDisabled = false;
77
- this.isNextMonthDisabled = false;
78
- this.allowBookingOnDisabledDay = false;
79
- this.data = data;
80
- if ((_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.dpConfig) === null || _b === void 0 ? void 0 : _b.timezone) {
81
- this.parseZoneInstance = (...args) => {
82
- return tz(args[0], args[1], this.data.dpConfig.timezone);
83
- };
84
- }
85
- this.currentMonthNumber = this.parseZoneInstance().month();
86
- this.currentMonth = getMonth(this.currentMonthNumber);
87
- this.currentYearNumber = this.parseZoneInstance().year();
88
- this.weekDays = this.rawWeekDays.map((day, index) => ({
89
- label: `${day[0]}${day.slice(1).toLowerCase()}`,
90
- isCurrentDay: this.parseZoneInstance().day() === index
91
- }));
92
- if (!((_d = (_c = this.data) === null || _c === void 0 ? void 0 : _c.dpConfig) === null || _d === void 0 ? void 0 : _d.format)) {
93
- this.data.dpConfig = Object.assign(Object.assign({}, this.data.dpConfig), { format: DATE_FORMAT });
94
- }
95
- }
96
- ngOnInit() {
97
- this.currentDateInstance();
98
- this.calculateMinMaxDays();
99
- }
100
- currentDateInstance() {
101
- const selectedDate = parseZone(this.data.date, this.data.dpConfig.format);
102
- if (selectedDate.isValid()) {
103
- this.currentYearNumber = selectedDate.year();
104
- this.currentMonthNumber = selectedDate.month();
105
- this.currentMonth = getMonth(this.currentMonthNumber);
106
- }
107
- this.currentMonthDates = this.generateDates(this.currentMonthNumber, this.currentYearNumber);
108
- }
109
- calculateMinMaxDays() {
110
- const currentInstance = this.parseZoneInstance().year(this.currentYearNumber).month(this.currentMonthNumber);
111
- const minDate = this.parseZoneInstance(this.data.dpConfig.minDate, this.data.dpConfig.format);
112
- if (minDate.isValid()) {
113
- this.isPreviousMonthDisabled = minDate.isSameOrAfter(currentInstance, "month");
114
- }
115
- const maxDate = this.parseZoneInstance(this.data.dpConfig.maxDate, this.data.dpConfig.format);
116
- if (maxDate.isValid()) {
117
- this.isNextMonthDisabled = maxDate.isSameOrBefore(currentInstance, "month");
118
- }
119
- }
120
- navigateMonth(direction) {
121
- let thisMonth = parseZone().year(this.currentYearNumber).month(this.currentMonthNumber);
122
- if (direction === "NEXT") {
123
- thisMonth = thisMonth.add(1, "month");
124
- }
125
- else if (direction === "PREVIOUS") {
126
- thisMonth = thisMonth.subtract(1, "month");
127
- }
128
- this.currentMonthNumber = thisMonth.month();
129
- this.currentMonth = getMonth(this.currentMonthNumber);
130
- this.currentYearNumber = thisMonth.year();
131
- this.currentMonthDates = this.generateDates(this.currentMonthNumber, this.currentYearNumber);
132
- this.calculateMinMaxDays();
133
- }
134
- generateDates(month, currentYearNumber) {
135
- var _a;
136
- let dates = [];
137
- const daysInMonth = parseZone().year(currentYearNumber).month(month).daysInMonth();
138
- for (let currentDate = 1; currentDate <= daysInMonth; currentDate++) {
139
- const date = this.parseZoneInstance().year(currentYearNumber).month(month).date(currentDate);
140
- const dateString = date.format(this.data.dpConfig.format);
141
- let isDisabledDay = this.data.datesDisabled.some(d => d === dateString);
142
- const minDate = this.parseZoneInstance(this.data.dpConfig.minDate, this.data.dpConfig.format);
143
- if (!isDisabledDay && minDate.isValid()) {
144
- isDisabledDay = minDate.isAfter(date, "day");
145
- }
146
- const maxDate = this.parseZoneInstance(this.data.dpConfig.maxDate, this.data.dpConfig.format);
147
- if (!isDisabledDay && maxDate.isValid()) {
148
- isDisabledDay = maxDate.isBefore(date, "day");
149
- }
150
- dates.push({
151
- date: currentDate,
152
- weekDay: date.day(),
153
- isCurrentDay: this.parseZoneInstance().year(currentYearNumber).month(month).date(currentDate).format(this.data.dpConfig.format) ===
154
- this.parseZoneInstance().format(this.data.dpConfig.format),
155
- isSelectedDay: !isDisabledDay && date.format(this.data.dpConfig.format) === this.data.date,
156
- toastMessage: ((_a = this.data.messages.find(q => date.format(this.data.dpConfig.format) === q.date)) === null || _a === void 0 ? void 0 : _a.message) || "",
157
- isDisabledDay
158
- });
159
- }
160
- for (let i = dates[0].weekDay; i > 0; i--) {
161
- dates.unshift({ date: 0, weekDay: i - 1 });
162
- }
163
- return dates;
164
- }
165
- selectDay(day) {
166
- this.currentSelection = this.parseZoneInstance().year(this.currentYearNumber).month(this.currentMonthNumber).date(day.date);
167
- const maxDate = this.parseZoneInstance(this.data.dpConfig.maxDate);
168
- const minDate = this.parseZoneInstance(this.data.dpConfig.minDate);
169
- this.allowBookingOnDisabledDay = this.data.allowBookingOnDisabledDay;
170
- if (day.date <= 0)
171
- return;
172
- if ((this.currentSelection.isSameOrAfter(minDate) && this.currentSelection.isSameOrBefore(maxDate) && this.allowBookingOnDisabledDay) || (!day.isDisabledDay && !this.allowBookingOnDisabledDay)) {
173
- this.localSelectedDate = day;
174
- if (!this.data.dpConfig.showApplyButton) {
175
- this.applyDate(day);
176
- }
177
- }
178
- if (day.toastMessage || (this.allowBookingOnDisabledDay && day.toastMessage)) {
179
- this.toast.displayMsg(day.toastMessage, 4000);
180
- }
181
- }
182
- applyDate(day) {
183
- if (day || this.localSelectedDate) {
184
- this.data.dateChange(parseZone()
185
- .year(this.currentYearNumber)
186
- .month(this.currentMonthNumber)
187
- .date(day ? day.date : this.localSelectedDate.date)
188
- .format(this.data.dpConfig.format));
189
- }
190
- else {
191
- this.cancelDatePicker();
192
- }
193
- }
194
- cancelDatePicker() {
195
- this.data.dateChange("");
196
- }
197
- }
198
- TzDpContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TzDpContainerComponent, deps: [{ token: CONTAINER_DATA }, { token: i1.ToastService }], target: i0.ɵɵFactoryTarget.Component });
199
- TzDpContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: TzDpContainerComponent, selector: "mis-tz-dp", ngImport: i0, 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", styles: [".datepicker-container{background:#ffffff;border:1px solid #e0e0e0;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;border-radius:12px;display:flex;flex-direction:column;font-family:Lato;-webkit-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:nth-child(1){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:sticky;padding:16px;border-top:1px solid #e0e0e0}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.ButtonDirective, selector: "[mis-button]", inputs: ["type", "size"] }] });
200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TzDpContainerComponent, decorators: [{
201
- type: Component,
202
- args: [{ selector: "mis-tz-dp", 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", styles: [".datepicker-container{background:#ffffff;border:1px solid #e0e0e0;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;border-radius:12px;display:flex;flex-direction:column;font-family:Lato;-webkit-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:nth-child(1){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:sticky;padding:16px;border-top:1px solid #e0e0e0}\n"] }]
203
- }], ctorParameters: function () {
204
- return [{ type: undefined, decorators: [{
205
- type: Inject,
206
- args: [CONTAINER_DATA]
207
- }] }, { type: i1.ToastService }];
208
- } });
209
-
210
- class TzDatepickerDirective {
211
- constructor(control, element, overlay, viewContainerRef) {
212
- this.control = control;
213
- this.element = element;
214
- this.overlay = overlay;
215
- this.viewContainerRef = viewContainerRef;
216
- this.dateMessages = [];
217
- this.positionX = "center";
218
- this.positionY = "bottom";
219
- this.offsetX = 0;
220
- this.offsetY = 0;
221
- this.allowBookingOnDisabledDay = false;
222
- this.dateChange = new EventEmitter(true);
223
- this.isOpen = false;
224
- this.dpDisabledDates = [];
225
- }
226
- // dd-mm-yyyy 01-12-2022
227
- set selectedDate(date) {
228
- this.date = date;
229
- }
230
- set datesDisabled(dates) {
231
- this.dpDisabledDates = dates;
232
- }
233
- ngOnInit() { }
234
- toggleDatePicker() {
235
- if (this.isOpen) {
236
- this.close();
237
- }
238
- else {
239
- this.open();
240
- }
241
- }
242
- open() {
243
- var _a;
244
- this.dpConfig = Object.assign({ format: DATE_FORMAT, minDate: "", maxDate: "", showApplyButton: false }, this.dpConfig);
245
- this.isOpen = true;
246
- const positionStrategy = this.overlay
247
- .position()
248
- .flexibleConnectedTo(this.element)
249
- .withPositions(genPositionPairs({
250
- positionX: this.positionX,
251
- positionY: this.positionY,
252
- offsetX: this.offsetX,
253
- offsetY: this.offsetY
254
- }, true))
255
- .withPush(true);
256
- const config = new OverlayConfig({
257
- hasBackdrop: true,
258
- positionStrategy,
259
- scrollStrategy: this.overlay.scrollStrategies.reposition(),
260
- backdropClass: "cdk-overlay-transparent-backdrop"
261
- });
262
- this.overlayRef = this.overlay.create(config);
263
- const tempRef = new ComponentPortal(TzDpContainerComponent, this.viewContainerRef, Injector.create({
264
- providers: [
265
- {
266
- provide: CONTAINER_DATA,
267
- useValue: {
268
- messages: this.dateMessages,
269
- date: ((_a = this.control) === null || _a === void 0 ? void 0 : _a.control.value) || this.date,
270
- allowBookingOnDisabledDay: this.allowBookingOnDisabledDay,
271
- dpConfig: this.dpConfig,
272
- datesDisabled: this.dpDisabledDates,
273
- dateChange: this.applyDate.bind(this)
274
- }
275
- }
276
- ]
277
- }));
278
- this.overlayRef.attach(tempRef);
279
- this.overlayRef
280
- .backdropClick()
281
- .pipe(take(1))
282
- .subscribe(() => {
283
- this.close();
284
- });
285
- }
286
- applyDate(date = "") {
287
- var _a;
288
- if (!date) {
289
- this.close();
290
- return;
291
- }
292
- this.dateChange.emit(date);
293
- (_a = this.control) === null || _a === void 0 ? void 0 : _a.control.patchValue(date);
294
- this.date = date;
295
- this.close();
296
- }
297
- close() {
298
- this.isOpen = false;
299
- this.overlayRef.detach();
300
- this.overlayRef.dispose();
301
- }
302
- }
303
- TzDatepickerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TzDatepickerDirective, deps: [{ token: i1$1.NgControl, optional: true, self: true }, { token: i0.ElementRef }, { token: i2$1.Overlay }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
304
- TzDatepickerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: TzDatepickerDirective, selector: "input[misTzDp]", inputs: { dpConfig: "dpConfig", selectedDate: "selectedDate", datesDisabled: "datesDisabled", dateMessages: "dateMessages", positionX: "positionX", positionY: "positionY", offsetX: "offsetX", offsetY: "offsetY", allowBookingOnDisabledDay: "allowBookingOnDisabledDay" }, outputs: { dateChange: "dateChange" }, host: { listeners: { "click": "toggleDatePicker()" } }, ngImport: i0 });
305
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: TzDatepickerDirective, decorators: [{
306
- type: Directive,
307
- args: [{
308
- selector: "input[misTzDp]"
309
- }]
310
- }], ctorParameters: function () {
311
- return [{ type: i1$1.NgControl, decorators: [{
312
- type: Self
313
- }, {
314
- type: Optional
315
- }] }, { type: i0.ElementRef }, { type: i2$1.Overlay }, { type: i0.ViewContainerRef }];
316
- }, propDecorators: { dpConfig: [{
317
- type: Input
318
- }], selectedDate: [{
319
- type: Input
320
- }], datesDisabled: [{
321
- type: Input
322
- }], dateMessages: [{
323
- type: Input
324
- }], positionX: [{
325
- type: Input
326
- }], positionY: [{
327
- type: Input
328
- }], offsetX: [{
329
- type: Input
330
- }], offsetY: [{
331
- type: Input
332
- }], allowBookingOnDisabledDay: [{
333
- type: Input
334
- }], dateChange: [{
335
- type: Output
336
- }], toggleDatePicker: [{
337
- type: HostListener,
338
- args: ["click"]
339
- }] } });
340
-
341
- class DatepickerModuleV2 {
342
- }
343
- DatepickerModuleV2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DatepickerModuleV2, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
344
- DatepickerModuleV2.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: DatepickerModuleV2, declarations: [TzDpContainerComponent, TzDatepickerDirective], imports: [CommonModule, OverlayModule, i1.ToastModule, ButtonModule], exports: [TzDpContainerComponent, TzDatepickerDirective] });
345
- DatepickerModuleV2.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DatepickerModuleV2, imports: [CommonModule, OverlayModule, ToastModule.forRoot(), ButtonModule] });
346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DatepickerModuleV2, decorators: [{
347
- type: NgModule,
348
- args: [{
349
- declarations: [TzDpContainerComponent, TzDatepickerDirective],
350
- imports: [CommonModule, OverlayModule, ToastModule.forRoot(), ButtonModule],
351
- exports: [TzDpContainerComponent, TzDatepickerDirective]
352
- }]
353
- }] });
354
-
355
- /**
356
- * Generated bundle index. Do not edit.
357
- */
358
-
359
- export { DatepickerModuleV2, TzDatepickerDirective, TzDpContainerComponent };
360
- //# sourceMappingURL=mis-crystal-design-system-datepicker_v2.mjs.map