mis-crystal-design-system 18.0.5 → 18.0.7-test

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 (545) hide show
  1. package/action-list/action-list.component.d.ts +1 -1
  2. package/analytics/analytics.service.d.ts +1 -1
  3. package/async-search-dropdown/async-dropdown.component.d.ts +3 -2
  4. package/button/button.component.d.ts +1 -1
  5. package/button/button.directive.d.ts +1 -1
  6. package/checkbox/checkbox.component.d.ts +1 -1
  7. package/chip/chip.component.d.ts +1 -1
  8. package/datepicker_v2/models/dp-config.model.d.ts +1 -1
  9. package/datepicker_v2/tz-datepicker.directive.d.ts +1 -1
  10. package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +1 -1
  11. package/daterangepicker_v2/models/drp-config.model.d.ts +1 -1
  12. package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +1 -1
  13. package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +1 -1
  14. package/drawer/drawer-body/drawer-body.component.d.ts +1 -1
  15. package/dropdown/calculate-container-height.directive.d.ts +1 -1
  16. package/dropdown/dropdown.component.d.ts +1 -1
  17. package/dropdown/dropdown.module.d.ts +1 -1
  18. package/dynamic-form/dynamic-form.component.d.ts +1 -1
  19. package/esm2022/action-list/action-list.component.mjs +363 -0
  20. package/{esm2020 → esm2022}/action-list/action-list.module.mjs +5 -5
  21. package/{esm2020 → esm2022}/analytics/analytics.module.mjs +5 -5
  22. package/esm2022/analytics/analytics.service.mjs +64 -0
  23. package/esm2022/async-search-dropdown/async-dropdown.component.mjs +536 -0
  24. package/{esm2020 → esm2022}/async-search-dropdown/async-dropdown.module.mjs +5 -5
  25. package/esm2022/button/button.component.mjs +88 -0
  26. package/esm2022/button/button.directive.mjs +61 -0
  27. package/{esm2020 → esm2022}/button/button.module.mjs +5 -5
  28. package/esm2022/checkbox/checkbox.component.mjs +124 -0
  29. package/{esm2020 → esm2022}/checkbox/checkbox.module.mjs +5 -5
  30. package/esm2022/chip/chip.component.mjs +82 -0
  31. package/{esm2020 → esm2022}/chip/chip.module.mjs +5 -5
  32. package/{esm2020 → esm2022}/datepicker_v2/datepicker.module.mjs +5 -5
  33. package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +183 -0
  34. package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +442 -0
  35. package/{esm2020/daterangepicker_v2 → esm2022/datepicker_v2}/utils/index.mjs +1 -1
  36. package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
  37. package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +165 -0
  38. package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +503 -0
  39. package/esm2022/daterangepicker_v2/utils/index.mjs +45 -0
  40. package/esm2022/drawer/drawer-body/drawer-body.component.mjs +59 -0
  41. package/{esm2020 → esm2022}/drawer/drawer-ref.mjs +4 -4
  42. package/{esm2020 → esm2022}/drawer/drawer.module.mjs +5 -5
  43. package/{esm2020 → esm2022}/drawer/drawer.service.mjs +5 -5
  44. package/esm2022/dropdown/calculate-container-height.directive.mjs +41 -0
  45. package/esm2022/dropdown/dropdown.component.mjs +464 -0
  46. package/{esm2020 → esm2022}/dropdown/dropdown.module.mjs +6 -6
  47. package/esm2022/dynamic-form/dynamic-form.component.mjs +1093 -0
  48. package/{esm2020 → esm2022}/dynamic-form/dynamic-form.module.mjs +13 -13
  49. package/esm2022/fab/fab.component.mjs +145 -0
  50. package/{esm2020 → esm2022}/fab/fab.module.mjs +5 -5
  51. package/esm2022/filter/filter-panel/filter-panel.component.mjs +396 -0
  52. package/{esm2020 → esm2022}/filter/filters.module.mjs +17 -17
  53. package/esm2022/filter/has-value.pipe.mjs +31 -0
  54. package/{esm2020 → esm2022}/input/directives/input/input.directive.mjs +6 -6
  55. package/{fesm2020/mis-crystal-design-system-input.mjs → esm2022/input/mis-input.component.mjs} +49 -109
  56. package/{esm2020 → esm2022}/input/mis-input.module.mjs +5 -5
  57. package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +89 -0
  58. package/{esm2020 → esm2022}/input-stepper/input-stepper.module.mjs +5 -5
  59. package/esm2022/loader/loader.component.mjs +25 -0
  60. package/{esm2020 → esm2022}/loader/loader.module.mjs +5 -5
  61. package/esm2022/menu/menu-close.directive.mjs +25 -0
  62. package/{esm2020 → esm2022}/menu/menu.directive.mjs +7 -7
  63. package/{esm2020 → esm2022}/menu/menu.module.mjs +5 -5
  64. package/esm2022/mobile-filter/mobile-filter.component.mjs +180 -0
  65. package/{esm2020 → esm2022}/mobile-filter/mobile-filter.module.mjs +5 -5
  66. package/{esm2020 → esm2022}/modal/modal.module.mjs +5 -5
  67. package/esm2022/modal/modal.service.mjs +70 -0
  68. package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +56 -0
  69. package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +489 -0
  70. package/{esm2020 → esm2022}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
  71. package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +516 -0
  72. package/{esm2020 → esm2022}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
  73. package/esm2022/phone-input/phone-input.component.mjs +72 -0
  74. package/{esm2020 → esm2022}/phone-input/phone-input.module.mjs +5 -5
  75. package/esm2022/radio-button/radio-button.component.mjs +57 -0
  76. package/{esm2020 → esm2022}/radio-button/radio-button.module.mjs +5 -5
  77. package/esm2022/ske-loader/ske-loader.component.mjs +54 -0
  78. package/{esm2020 → esm2022}/ske-loader/ske-loader.module.mjs +5 -5
  79. package/esm2022/slider/slider.component.mjs +46 -0
  80. package/{esm2020 → esm2022}/slider/slider.module.mjs +7 -7
  81. package/esm2022/snackbar/snackbar/snackbar.component.mjs +72 -0
  82. package/{esm2020 → esm2022}/snackbar/snackbar.module.mjs +5 -5
  83. package/esm2022/snackbar/snackbar.service.mjs +47 -0
  84. package/{esm2020 → esm2022}/specificdatepicker/specificdatepicker.module.mjs +5 -5
  85. package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +646 -0
  86. package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
  87. package/esm2022/specificdatepicker/utils/index.mjs +45 -0
  88. package/esm2022/star-rating/star-rating.component.mjs +113 -0
  89. package/{esm2020 → esm2022}/star-rating/star-rating.module.mjs +5 -5
  90. package/esm2022/switch/switch.component.mjs +56 -0
  91. package/{esm2020 → esm2022}/switch/switch.module.mjs +5 -5
  92. package/esm2022/table/custom-table-cell.directive.mjs +42 -0
  93. package/esm2022/table/filter/filter.component.mjs +177 -0
  94. package/esm2022/table/sub-table/sub-table.component.mjs +192 -0
  95. package/esm2022/table/table.component.mjs +486 -0
  96. package/{esm2020 → esm2022}/table/table.module.mjs +5 -5
  97. package/esm2022/timepicker/timepicker.component.mjs +374 -0
  98. package/esm2022/timepicker/timepicker.directive.mjs +69 -0
  99. package/{esm2020 → esm2022}/timepicker/timepicker.module.mjs +5 -5
  100. package/esm2022/timerangepicker/timerangepicker.component.mjs +237 -0
  101. package/{esm2020 → esm2022}/timerangepicker/timerangepicker.module.mjs +5 -5
  102. package/esm2022/toast/toast.component.mjs +51 -0
  103. package/{esm2020 → esm2022}/toast/toast.data.service.mjs +8 -8
  104. package/{esm2020 → esm2022}/toast/toast.module.mjs +5 -5
  105. package/esm2022/toast/toast.service.mjs +91 -0
  106. package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +79 -0
  107. package/esm2022/tooltip/tooltip.directive.mjs +143 -0
  108. package/{esm2020 → esm2022}/tooltip/tooltip.module.mjs +5 -5
  109. package/esm2022/virtual-scroll/virtual-scroll.component.mjs +188 -0
  110. package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.module.mjs +7 -7
  111. package/esm2022/widgets/classes/async-widget.mjs +23 -0
  112. package/{esm2020 → esm2022}/widgets/classes/base-widget.mjs +1 -1
  113. package/esm2022/widgets/classes/sync-widget.mjs +20 -0
  114. package/{esm2020 → esm2022}/widgets/services/widget.service.mjs +5 -5
  115. package/{esm2020 → esm2022}/widgets/widgets.module.mjs +5 -5
  116. package/fab/fab.component.d.ts +4 -4
  117. package/{fesm2020 → fesm2022}/mis-crystal-design-system-action-list.mjs +106 -113
  118. package/fesm2022/mis-crystal-design-system-action-list.mjs.map +1 -0
  119. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs +9 -9
  120. package/{fesm2020 → fesm2022}/mis-crystal-design-system-analytics.mjs.map +1 -1
  121. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs +561 -0
  122. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  123. package/fesm2022/mis-crystal-design-system-button.mjs +173 -0
  124. package/fesm2022/mis-crystal-design-system-button.mjs.map +1 -0
  125. package/fesm2022/mis-crystal-design-system-checkbox.mjs +150 -0
  126. package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +1 -0
  127. package/fesm2022/mis-crystal-design-system-chip.mjs +108 -0
  128. package/fesm2022/mis-crystal-design-system-chip.mjs.map +1 -0
  129. package/{fesm2020 → fesm2022}/mis-crystal-design-system-datepicker_v2.mjs +133 -140
  130. package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  131. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +737 -0
  132. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  133. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs +34 -33
  134. package/{fesm2020 → fesm2022}/mis-crystal-design-system-drawer.mjs.map +1 -1
  135. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dropdown.mjs +177 -186
  136. package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +1 -0
  137. package/{fesm2020 → fesm2022}/mis-crystal-design-system-dynamic-form.mjs +441 -456
  138. package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  139. package/{fesm2020 → fesm2022}/mis-crystal-design-system-fab.mjs +48 -47
  140. package/fesm2022/mis-crystal-design-system-fab.mjs.map +1 -0
  141. package/{fesm2020 → fesm2022}/mis-crystal-design-system-filter.mjs +113 -120
  142. package/fesm2022/mis-crystal-design-system-filter.mjs.map +1 -0
  143. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs +35 -34
  144. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input-stepper.mjs.map +1 -1
  145. package/fesm2022/mis-crystal-design-system-input.mjs +146 -0
  146. package/{fesm2020 → fesm2022}/mis-crystal-design-system-input.mjs.map +1 -1
  147. package/fesm2022/mis-crystal-design-system-loader.mjs +51 -0
  148. package/{fesm2020 → fesm2022}/mis-crystal-design-system-loader.mjs.map +1 -1
  149. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs +16 -16
  150. package/{fesm2020 → fesm2022}/mis-crystal-design-system-menu.mjs.map +1 -1
  151. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +205 -0
  152. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  153. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs +34 -33
  154. package/{fesm2020 → fesm2022}/mis-crystal-design-system-modal.mjs.map +1 -1
  155. package/{fesm2020 → fesm2022}/mis-crystal-design-system-multi-select-dropdown.mjs +107 -109
  156. package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  157. package/{fesm2020 → fesm2022}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +128 -129
  158. package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  159. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs +22 -21
  160. package/{fesm2020 → fesm2022}/mis-crystal-design-system-phone-input.mjs.map +1 -1
  161. package/fesm2022/mis-crystal-design-system-radio-button.mjs +83 -0
  162. package/{fesm2020 → fesm2022}/mis-crystal-design-system-radio-button.mjs.map +1 -1
  163. package/fesm2022/mis-crystal-design-system-ske-loader.mjs +77 -0
  164. package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  165. package/fesm2022/mis-crystal-design-system-slider.mjs +80 -0
  166. package/{fesm2020 → fesm2022}/mis-crystal-design-system-slider.mjs.map +1 -1
  167. package/{fesm2020 → fesm2022}/mis-crystal-design-system-snackbar.mjs +32 -32
  168. package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +1 -0
  169. package/{fesm2020 → fesm2022}/mis-crystal-design-system-specificdatepicker.mjs +204 -204
  170. package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  171. package/{fesm2020 → fesm2022}/mis-crystal-design-system-star-rating.mjs +29 -28
  172. package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +1 -0
  173. package/fesm2022/mis-crystal-design-system-switch.mjs +82 -0
  174. package/fesm2022/mis-crystal-design-system-switch.mjs.map +1 -0
  175. package/fesm2022/mis-crystal-design-system-table.mjs +913 -0
  176. package/fesm2022/mis-crystal-design-system-table.mjs.map +1 -0
  177. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs +78 -74
  178. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timepicker.mjs.map +1 -1
  179. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs +26 -25
  180. package/{fesm2020 → fesm2022}/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
  181. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs +35 -34
  182. package/{fesm2020 → fesm2022}/mis-crystal-design-system-toast.mjs.map +1 -1
  183. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs +47 -47
  184. package/{fesm2020 → fesm2022}/mis-crystal-design-system-tooltip.mjs.map +1 -1
  185. package/{fesm2020 → fesm2022}/mis-crystal-design-system-virtual-scroll.mjs +50 -52
  186. package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  187. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs +4 -4
  188. package/{fesm2020 → fesm2022}/mis-crystal-design-system-widgets.mjs.map +1 -1
  189. package/filter/filter-panel/filter-panel.component.d.ts +1 -1
  190. package/input/directives/input/input.directive.d.ts +1 -1
  191. package/input/mis-input.component.d.ts +1 -1
  192. package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
  193. package/loader/loader.component.d.ts +1 -1
  194. package/menu/menu-close.directive.d.ts +1 -1
  195. package/menu/menu.directive.d.ts +1 -1
  196. package/mobile-filter/mobile-filter.component.d.ts +1 -1
  197. package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
  198. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
  199. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
  200. package/package.json +125 -207
  201. package/phone-input/phone-input.component.d.ts +1 -1
  202. package/radio-button/radio-button.component.d.ts +1 -1
  203. package/ske-loader/ske-loader.component.d.ts +1 -1
  204. package/slider/slider.component.d.ts +1 -1
  205. package/snackbar/snackbar/snackbar.component.d.ts +1 -1
  206. package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
  207. package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
  208. package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
  209. package/star-rating/star-rating.component.d.ts +1 -1
  210. package/switch/switch.component.d.ts +1 -1
  211. package/table/custom-table-cell.directive.d.ts +1 -1
  212. package/table/filter/filter.component.d.ts +1 -1
  213. package/table/sub-table/sub-table.component.d.ts +1 -1
  214. package/table/table.component.d.ts +1 -1
  215. package/timepicker/timepicker.component.d.ts +1 -1
  216. package/timepicker/timepicker.directive.d.ts +1 -1
  217. package/timerangepicker/timerange.namespace.d.ts +1 -1
  218. package/timerangepicker/timerangepicker.component.d.ts +1 -1
  219. package/toast/toast.component.d.ts +1 -1
  220. package/toast/toast.service.d.ts +1 -1
  221. package/tooltip/models/tooltip.model.d.ts +1 -1
  222. package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
  223. package/tooltip/tooltip.directive.d.ts +1 -1
  224. package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
  225. package/widgets/interfaces/widgets.model.d.ts +1 -1
  226. package/button/button.directive.scss +0 -69
  227. package/drawer/drawer.scss +0 -20
  228. package/esm2020/action-list/action-list.component.mjs +0 -370
  229. package/esm2020/analytics/analytics.service.mjs +0 -64
  230. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +0 -525
  231. package/esm2020/button/button.component.mjs +0 -87
  232. package/esm2020/button/button.directive.mjs +0 -61
  233. package/esm2020/checkbox/checkbox.component.mjs +0 -124
  234. package/esm2020/chip/chip.component.mjs +0 -82
  235. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +0 -183
  236. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -449
  237. package/esm2020/datepicker_v2/utils/index.mjs +0 -45
  238. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -165
  239. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -502
  240. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +0 -58
  241. package/esm2020/dropdown/calculate-container-height.directive.mjs +0 -41
  242. package/esm2020/dropdown/dropdown.component.mjs +0 -472
  243. package/esm2020/dynamic-form/dynamic-form.component.mjs +0 -1108
  244. package/esm2020/fab/fab.component.mjs +0 -144
  245. package/esm2020/filter/filter-panel/filter-panel.component.mjs +0 -403
  246. package/esm2020/filter/has-value.pipe.mjs +0 -31
  247. package/esm2020/input/mis-input.component.mjs +0 -84
  248. package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +0 -88
  249. package/esm2020/loader/loader.component.mjs +0 -24
  250. package/esm2020/menu/menu-close.directive.mjs +0 -25
  251. package/esm2020/mobile-filter/mobile-filter.component.mjs +0 -181
  252. package/esm2020/modal/modal.service.mjs +0 -70
  253. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +0 -55
  254. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -491
  255. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -517
  256. package/esm2020/phone-input/phone-input.component.mjs +0 -71
  257. package/esm2020/radio-button/radio-button.component.mjs +0 -56
  258. package/esm2020/ske-loader/ske-loader.component.mjs +0 -53
  259. package/esm2020/slider/slider.component.mjs +0 -45
  260. package/esm2020/snackbar/snackbar/snackbar.component.mjs +0 -72
  261. package/esm2020/snackbar/snackbar.service.mjs +0 -47
  262. package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -646
  263. package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
  264. package/esm2020/specificdatepicker/utils/index.mjs +0 -45
  265. package/esm2020/star-rating/star-rating.component.mjs +0 -112
  266. package/esm2020/switch/switch.component.mjs +0 -55
  267. package/esm2020/table/custom-table-cell.directive.mjs +0 -42
  268. package/esm2020/table/filter/filter.component.mjs +0 -176
  269. package/esm2020/table/sub-table/sub-table.component.mjs +0 -193
  270. package/esm2020/table/table.component.mjs +0 -492
  271. package/esm2020/timepicker/timepicker.component.mjs +0 -370
  272. package/esm2020/timepicker/timepicker.directive.mjs +0 -69
  273. package/esm2020/timerangepicker/timerangepicker.component.mjs +0 -236
  274. package/esm2020/toast/toast.component.mjs +0 -50
  275. package/esm2020/toast/toast.service.mjs +0 -91
  276. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +0 -79
  277. package/esm2020/tooltip/tooltip.directive.mjs +0 -143
  278. package/esm2020/virtual-scroll/virtual-scroll.component.mjs +0 -190
  279. package/esm2020/widgets/classes/async-widget.mjs +0 -23
  280. package/esm2020/widgets/classes/sync-widget.mjs +0 -20
  281. package/fesm2015/mis-crystal-design-system-action-list.mjs +0 -446
  282. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +0 -1
  283. package/fesm2015/mis-crystal-design-system-analytics.mjs +0 -87
  284. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +0 -1
  285. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +0 -618
  286. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  287. package/fesm2015/mis-crystal-design-system-button.mjs +0 -189
  288. package/fesm2015/mis-crystal-design-system-button.mjs.map +0 -1
  289. package/fesm2015/mis-crystal-design-system-checkbox.mjs +0 -166
  290. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +0 -1
  291. package/fesm2015/mis-crystal-design-system-chip.mjs +0 -123
  292. package/fesm2015/mis-crystal-design-system-chip.mjs.map +0 -1
  293. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +0 -751
  294. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  295. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +0 -769
  296. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  297. package/fesm2015/mis-crystal-design-system-drawer.mjs +0 -185
  298. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +0 -1
  299. package/fesm2015/mis-crystal-design-system-dropdown.mjs +0 -616
  300. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +0 -1
  301. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +0 -1337
  302. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  303. package/fesm2015/mis-crystal-design-system-fab.mjs +0 -186
  304. package/fesm2015/mis-crystal-design-system-fab.mjs.map +0 -1
  305. package/fesm2015/mis-crystal-design-system-filter.mjs +0 -559
  306. package/fesm2015/mis-crystal-design-system-filter.mjs.map +0 -1
  307. package/fesm2015/mis-crystal-design-system-input-stepper.mjs +0 -124
  308. package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +0 -1
  309. package/fesm2015/mis-crystal-design-system-input.mjs +0 -165
  310. package/fesm2015/mis-crystal-design-system-input.mjs.map +0 -1
  311. package/fesm2015/mis-crystal-design-system-loader.mjs +0 -57
  312. package/fesm2015/mis-crystal-design-system-loader.mjs.map +0 -1
  313. package/fesm2015/mis-crystal-design-system-menu.mjs +0 -135
  314. package/fesm2015/mis-crystal-design-system-menu.mjs.map +0 -1
  315. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +0 -227
  316. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  317. package/fesm2015/mis-crystal-design-system-modal.mjs +0 -184
  318. package/fesm2015/mis-crystal-design-system-modal.mjs.map +0 -1
  319. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +0 -550
  320. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  321. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -559
  322. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  323. package/fesm2015/mis-crystal-design-system-phone-input.mjs +0 -107
  324. package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +0 -1
  325. package/fesm2015/mis-crystal-design-system-radio-button.mjs +0 -89
  326. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +0 -1
  327. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +0 -86
  328. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  329. package/fesm2015/mis-crystal-design-system-slider.mjs +0 -88
  330. package/fesm2015/mis-crystal-design-system-slider.mjs.map +0 -1
  331. package/fesm2015/mis-crystal-design-system-snackbar.mjs +0 -175
  332. package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +0 -1
  333. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +0 -970
  334. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  335. package/fesm2015/mis-crystal-design-system-star-rating.mjs +0 -145
  336. package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +0 -1
  337. package/fesm2015/mis-crystal-design-system-switch.mjs +0 -88
  338. package/fesm2015/mis-crystal-design-system-switch.mjs.map +0 -1
  339. package/fesm2015/mis-crystal-design-system-table.mjs +0 -1045
  340. package/fesm2015/mis-crystal-design-system-table.mjs.map +0 -1
  341. package/fesm2015/mis-crystal-design-system-timepicker.mjs +0 -484
  342. package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +0 -1
  343. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +0 -273
  344. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +0 -1
  345. package/fesm2015/mis-crystal-design-system-toast.mjs +0 -214
  346. package/fesm2015/mis-crystal-design-system-toast.mjs.map +0 -1
  347. package/fesm2015/mis-crystal-design-system-tooltip.mjs +0 -272
  348. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +0 -1
  349. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +0 -259
  350. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  351. package/fesm2015/mis-crystal-design-system-widgets.mjs +0 -131
  352. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +0 -1
  353. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +0 -1
  354. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +0 -550
  355. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  356. package/fesm2020/mis-crystal-design-system-button.mjs +0 -172
  357. package/fesm2020/mis-crystal-design-system-button.mjs.map +0 -1
  358. package/fesm2020/mis-crystal-design-system-checkbox.mjs +0 -150
  359. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +0 -1
  360. package/fesm2020/mis-crystal-design-system-chip.mjs +0 -108
  361. package/fesm2020/mis-crystal-design-system-chip.mjs.map +0 -1
  362. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  363. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +0 -736
  364. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  365. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +0 -1
  366. package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  367. package/fesm2020/mis-crystal-design-system-fab.mjs.map +0 -1
  368. package/fesm2020/mis-crystal-design-system-filter.mjs.map +0 -1
  369. package/fesm2020/mis-crystal-design-system-loader.mjs +0 -50
  370. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +0 -206
  371. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  372. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  373. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  374. package/fesm2020/mis-crystal-design-system-radio-button.mjs +0 -82
  375. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +0 -76
  376. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  377. package/fesm2020/mis-crystal-design-system-slider.mjs +0 -79
  378. package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +0 -1
  379. package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  380. package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +0 -1
  381. package/fesm2020/mis-crystal-design-system-styles.mjs +0 -4
  382. package/fesm2020/mis-crystal-design-system-styles.mjs.map +0 -1
  383. package/fesm2020/mis-crystal-design-system-switch.mjs +0 -81
  384. package/fesm2020/mis-crystal-design-system-switch.mjs.map +0 -1
  385. package/fesm2020/mis-crystal-design-system-table.mjs +0 -919
  386. package/fesm2020/mis-crystal-design-system-table.mjs.map +0 -1
  387. package/fesm2020/mis-crystal-design-system-utils.mjs +0 -24
  388. package/fesm2020/mis-crystal-design-system-utils.mjs.map +0 -1
  389. package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  390. package/fesm2020/mis-crystal-design-system.mjs +0 -24
  391. package/fesm2020/mis-crystal-design-system.mjs.map +0 -1
  392. package/input/mis-input.component.scss +0 -180
  393. package/modal/modal.scss +0 -9
  394. package/styles/fonts/icomoon.eot +0 -0
  395. package/styles/fonts/icomoon.svg +0 -315
  396. package/styles/fonts/icomoon.ttf +0 -0
  397. package/styles/fonts/icomoon.woff +0 -0
  398. package/styles/mis-borders-backgrounds.scss +0 -764
  399. package/styles/mis-color-constants.scss +0 -149
  400. package/styles/mis-flex.scss +0 -321
  401. package/styles/mis-fonts.scss +0 -124
  402. package/styles/mis-icons.scss +0 -1054
  403. package/styles/mis-mixins.scss +0 -46
  404. package/styles/mis-old-icon-styles.scss +0 -498
  405. package/styles/mis-spacing-sizing.scss +0 -2590
  406. package/styles/mis-typography.scss +0 -462
  407. /package/{esm2020 → esm2022}/action-list/index.mjs +0 -0
  408. /package/{esm2020 → esm2022}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
  409. /package/{esm2020 → esm2022}/action-list/public_api.mjs +0 -0
  410. /package/{esm2020 → esm2022}/analytics/index.mjs +0 -0
  411. /package/{esm2020 → esm2022}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
  412. /package/{esm2020 → esm2022}/analytics/public_api.mjs +0 -0
  413. /package/{esm2020 → esm2022}/async-search-dropdown/index.mjs +0 -0
  414. /package/{esm2020 → esm2022}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
  415. /package/{esm2020 → esm2022}/async-search-dropdown/public_api.mjs +0 -0
  416. /package/{esm2020 → esm2022}/button/index.mjs +0 -0
  417. /package/{esm2020 → esm2022}/button/mis-crystal-design-system-button.mjs +0 -0
  418. /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
  419. /package/{esm2020 → esm2022}/checkbox/index.mjs +0 -0
  420. /package/{esm2020 → esm2022}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
  421. /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
  422. /package/{esm2020 → esm2022}/chip/index.mjs +0 -0
  423. /package/{esm2020 → esm2022}/chip/mis-crystal-design-system-chip.mjs +0 -0
  424. /package/{esm2020 → esm2022}/chip/public_api.mjs +0 -0
  425. /package/{esm2020 → esm2022}/datepicker_v2/datepicker-constants.mjs +0 -0
  426. /package/{esm2020 → esm2022}/datepicker_v2/index.mjs +0 -0
  427. /package/{esm2020 → esm2022}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
  428. /package/{esm2020 → esm2022}/datepicker_v2/models/dp-config.model.mjs +0 -0
  429. /package/{esm2020 → esm2022}/datepicker_v2/public_api.mjs +0 -0
  430. /package/{esm2020 → esm2022}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
  431. /package/{esm2020 → esm2022}/daterangepicker_v2/index.mjs +0 -0
  432. /package/{esm2020 → esm2022}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
  433. /package/{esm2020 → esm2022}/daterangepicker_v2/models/drp-config.model.mjs +0 -0
  434. /package/{esm2020 → esm2022}/daterangepicker_v2/public_api.mjs +0 -0
  435. /package/{esm2020 → esm2022}/drawer/drawer-constants.mjs +0 -0
  436. /package/{esm2020 → esm2022}/drawer/index.mjs +0 -0
  437. /package/{esm2020 → esm2022}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
  438. /package/{esm2020 → esm2022}/drawer/public_api.mjs +0 -0
  439. /package/{esm2020 → esm2022}/dropdown/index.mjs +0 -0
  440. /package/{esm2020 → esm2022}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
  441. /package/{esm2020 → esm2022}/dropdown/public_api.mjs +0 -0
  442. /package/{esm2020 → esm2022}/dynamic-form/dynamic-form.namespace.mjs +0 -0
  443. /package/{esm2020 → esm2022}/dynamic-form/index.mjs +0 -0
  444. /package/{esm2020 → esm2022}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
  445. /package/{esm2020 → esm2022}/dynamic-form/public_api.mjs +0 -0
  446. /package/{esm2020 → esm2022}/fab/index.mjs +0 -0
  447. /package/{esm2020 → esm2022}/fab/mis-crystal-design-system-fab.mjs +0 -0
  448. /package/{esm2020 → esm2022}/fab/public_api.mjs +0 -0
  449. /package/{esm2020 → esm2022}/filter/animations/slideFromRight.mjs +0 -0
  450. /package/{esm2020 → esm2022}/filter/index.mjs +0 -0
  451. /package/{esm2020 → esm2022}/filter/mis-crystal-design-system-filter.mjs +0 -0
  452. /package/{esm2020 → esm2022}/filter/public_api.mjs +0 -0
  453. /package/{esm2020 → esm2022}/index.mjs +0 -0
  454. /package/{esm2020 → esm2022}/input/index.mjs +0 -0
  455. /package/{esm2020 → esm2022}/input/mis-crystal-design-system-input.mjs +0 -0
  456. /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
  457. /package/{esm2020 → esm2022}/input-stepper/index.mjs +0 -0
  458. /package/{esm2020 → esm2022}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
  459. /package/{esm2020 → esm2022}/input-stepper/public_api.mjs +0 -0
  460. /package/{esm2020 → esm2022}/loader/index.mjs +0 -0
  461. /package/{esm2020 → esm2022}/loader/mis-crystal-design-system-loader.mjs +0 -0
  462. /package/{esm2020 → esm2022}/loader/public_api.mjs +0 -0
  463. /package/{esm2020 → esm2022}/menu/index.mjs +0 -0
  464. /package/{esm2020 → esm2022}/menu/mis-crystal-design-system-menu.mjs +0 -0
  465. /package/{esm2020 → esm2022}/menu/public_api.mjs +0 -0
  466. /package/{esm2020 → esm2022}/mis-crystal-design-system.mjs +0 -0
  467. /package/{esm2020 → esm2022}/mobile-filter/index.mjs +0 -0
  468. /package/{esm2020 → esm2022}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
  469. /package/{esm2020 → esm2022}/mobile-filter/public_api.mjs +0 -0
  470. /package/{esm2020 → esm2022}/modal/index.mjs +0 -0
  471. /package/{esm2020 → esm2022}/modal/mis-crystal-design-system-modal.mjs +0 -0
  472. /package/{esm2020 → esm2022}/modal/modal-constants.mjs +0 -0
  473. /package/{esm2020 → esm2022}/modal/modal-ref.mjs +0 -0
  474. /package/{esm2020 → esm2022}/modal/public_api.mjs +0 -0
  475. /package/{esm2020 → esm2022}/multi-select-dropdown/index.mjs +0 -0
  476. /package/{esm2020 → esm2022}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
  477. /package/{esm2020 → esm2022}/multi-select-dropdown/public_api.mjs +0 -0
  478. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/index.mjs +0 -0
  479. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
  480. /package/{esm2020 → esm2022}/nested-multi-select-dropdown/public_api.mjs +0 -0
  481. /package/{esm2020 → esm2022}/phone-input/index.mjs +0 -0
  482. /package/{esm2020 → esm2022}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
  483. /package/{esm2020 → esm2022}/phone-input/public_api.mjs +0 -0
  484. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  485. /package/{esm2020 → esm2022}/radio-button/index.mjs +0 -0
  486. /package/{esm2020 → esm2022}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
  487. /package/{esm2020 → esm2022}/radio-button/public_api.mjs +0 -0
  488. /package/{esm2020 → esm2022}/ske-loader/index.mjs +0 -0
  489. /package/{esm2020 → esm2022}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
  490. /package/{esm2020 → esm2022}/ske-loader/public_api.mjs +0 -0
  491. /package/{esm2020 → esm2022}/slider/index.mjs +0 -0
  492. /package/{esm2020 → esm2022}/slider/mis-crystal-design-system-slider.mjs +0 -0
  493. /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
  494. /package/{esm2020 → esm2022}/snackbar/index.mjs +0 -0
  495. /package/{esm2020 → esm2022}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
  496. /package/{esm2020 → esm2022}/snackbar/public_api.mjs +0 -0
  497. /package/{esm2020 → esm2022}/specificdatepicker/daterangepicker-constants.mjs +0 -0
  498. /package/{esm2020 → esm2022}/specificdatepicker/index.mjs +0 -0
  499. /package/{esm2020 → esm2022}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
  500. /package/{esm2020 → esm2022}/specificdatepicker/models/sdp-config.model.mjs +0 -0
  501. /package/{esm2020 → esm2022}/specificdatepicker/public_api.mjs +0 -0
  502. /package/{esm2020 → esm2022}/star-rating/index.mjs +0 -0
  503. /package/{esm2020 → esm2022}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
  504. /package/{esm2020 → esm2022}/star-rating/public_api.mjs +0 -0
  505. /package/{esm2020 → esm2022}/styles/index.mjs +0 -0
  506. /package/{esm2020 → esm2022}/styles/mis-crystal-design-system-styles.mjs +0 -0
  507. /package/{esm2020 → esm2022}/styles/public_api.mjs +0 -0
  508. /package/{esm2020 → esm2022}/switch/index.mjs +0 -0
  509. /package/{esm2020 → esm2022}/switch/mis-crystal-design-system-switch.mjs +0 -0
  510. /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
  511. /package/{esm2020 → esm2022}/table/index.mjs +0 -0
  512. /package/{esm2020 → esm2022}/table/mis-crystal-design-system-table.mjs +0 -0
  513. /package/{esm2020 → esm2022}/table/public_api.mjs +0 -0
  514. /package/{esm2020 → esm2022}/timepicker/index.mjs +0 -0
  515. /package/{esm2020 → esm2022}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
  516. /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
  517. /package/{esm2020 → esm2022}/timepicker/time.namespace.mjs +0 -0
  518. /package/{esm2020 → esm2022}/timerangepicker/index.mjs +0 -0
  519. /package/{esm2020 → esm2022}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
  520. /package/{esm2020 → esm2022}/timerangepicker/public_api.mjs +0 -0
  521. /package/{esm2020 → esm2022}/timerangepicker/timerange.namespace.mjs +0 -0
  522. /package/{esm2020 → esm2022}/toast/index.mjs +0 -0
  523. /package/{esm2020 → esm2022}/toast/mis-crystal-design-system-toast.mjs +0 -0
  524. /package/{esm2020 → esm2022}/toast/public_api.mjs +0 -0
  525. /package/{esm2020 → esm2022}/tooltip/index.mjs +0 -0
  526. /package/{esm2020 → esm2022}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
  527. /package/{esm2020 → esm2022}/tooltip/models/tooltip.model.mjs +0 -0
  528. /package/{esm2020 → esm2022}/tooltip/public_api.mjs +0 -0
  529. /package/{esm2020 → esm2022}/utils/index.mjs +0 -0
  530. /package/{esm2020 → esm2022}/utils/mis-crystal-design-system-utils.mjs +0 -0
  531. /package/{esm2020 → esm2022}/virtual-scroll/index.mjs +0 -0
  532. /package/{esm2020 → esm2022}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
  533. /package/{esm2020 → esm2022}/virtual-scroll/public_api.mjs +0 -0
  534. /package/{esm2020 → esm2022}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
  535. /package/{esm2020 → esm2022}/widgets/classes/widget-group.mjs +0 -0
  536. /package/{esm2020 → esm2022}/widgets/index.mjs +0 -0
  537. /package/{esm2020 → esm2022}/widgets/interfaces/widgets.model.mjs +0 -0
  538. /package/{esm2020 → esm2022}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
  539. /package/{esm2020 → esm2022}/widgets/public_api.mjs +0 -0
  540. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs +0 -0
  541. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-styles.mjs.map +0 -0
  542. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs +0 -0
  543. /package/{fesm2015 → fesm2022}/mis-crystal-design-system-utils.mjs.map +0 -0
  544. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs +0 -0
  545. /package/{fesm2015 → fesm2022}/mis-crystal-design-system.mjs.map +0 -0
@@ -1,71 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from "@angular/core";
2
- import { FormControl } from "@angular/forms";
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- import * as i2 from "@angular/forms";
6
- import * as i3 from "mis-crystal-design-system/dropdown";
7
- const _c0 = function (a0) { return { "height": a0 }; };
8
- export class PhoneInputComponent {
9
- constructor() {
10
- this.dropdownData = [];
11
- this.dropdownSelectedItem = { value: "", label: "" };
12
- this.inputPlaceholder = 'Enter';
13
- this.inputFormControl = new FormControl();
14
- this.onDropdownSelection = new EventEmitter();
15
- this.searchEnabled = false;
16
- this.inputType = "number";
17
- this.searchLabel = "Search Keyword";
18
- }
19
- ngOnInit() {
20
- }
21
- handleDropdownSelection(item) {
22
- this.onDropdownSelection.emit(item);
23
- }
24
- }
25
- PhoneInputComponent.ɵfac = function PhoneInputComponent_Factory(t) { return new (t || PhoneInputComponent)(); };
26
- PhoneInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PhoneInputComponent, selectors: [["mis-phone-input"]], inputs: { dropdownHeight: "dropdownHeight", dropdownWidth: "dropdownWidth", inputHeight: "inputHeight", dropdownData: "dropdownData", dropdownSelectedItem: "dropdownSelectedItem", label: "label", inputPlaceholder: "inputPlaceholder", inputFormControl: "inputFormControl", dropdownListWidth: "dropdownListWidth", dropdownListHeight: "dropdownListHeight", searchEnabled: "searchEnabled", inputType: "inputType", searchLabel: "searchLabel" }, outputs: { onDropdownSelection: "onDropdownSelection" }, decls: 5, vars: 16, consts: [[1, "main-container-phone"], [3, "height", "dropdownListWidth", "dropdownListHeight", "width", "data", "selectedItem", "label", "searchEnabled", "multiLine", "searchLabel", "onChange"], [1, "details-field"], [1, "input-box"], [1, "black-text", 3, "ngStyle", "placeholder", "formControl", "type"]], template: function PhoneInputComponent_Template(rf, ctx) { if (rf & 1) {
27
- i0.ɵɵelementStart(0, "div", 0)(1, "mis-dropdown", 1);
28
- i0.ɵɵlistener("onChange", function PhoneInputComponent_Template_mis_dropdown_onChange_1_listener($event) { return ctx.handleDropdownSelection($event); });
29
- i0.ɵɵelementEnd();
30
- i0.ɵɵelementStart(2, "div", 2)(3, "div", 3);
31
- i0.ɵɵelement(4, "input", 4);
32
- i0.ɵɵelementEnd()()();
33
- } if (rf & 2) {
34
- i0.ɵɵadvance(1);
35
- i0.ɵɵproperty("height", ctx.dropdownHeight)("dropdownListWidth", ctx.dropdownListWidth)("dropdownListHeight", ctx.dropdownListHeight)("width", ctx.dropdownWidth)("data", ctx.dropdownData)("selectedItem", ctx.dropdownSelectedItem)("label", ctx.label)("searchEnabled", ctx.searchEnabled)("multiLine", false)("searchLabel", ctx.searchLabel);
36
- i0.ɵɵadvance(3);
37
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(14, _c0, ctx.inputHeight))("placeholder", ctx.inputPlaceholder)("formControl", ctx.inputFormControl)("type", ctx.inputType);
38
- } }, dependencies: [i1.NgStyle, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective, i3.DropdownComponent], styles: [".main-container-phone[_ngcontent-%COMP%]{display:flex;border:1px solid #E0E0E0;border-radius:6px}.details-field[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;min-width:224px;margin-right:24px}.details-field[_ngcontent-%COMP%] .input-box[_ngcontent-%COMP%]{width:100%}.details-field[_ngcontent-%COMP%] .input-box[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%;height:32px}input[_ngcontent-%COMP%]{padding:10px 16px;border:none;outline:none;color:#181f33;line-height:24px;font-size:16px;width:100%;height:auto;border-radius:6px}.black-text[_ngcontent-%COMP%]{color:#181f33;font-size:16px;line-height:24px}input[_ngcontent-%COMP%]::-webkit-outer-spin-button, input[_ngcontent-%COMP%]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.main-container-phone[_ngcontent-%COMP%] .item{padding:8px!important}.main-container-phone[_ngcontent-%COMP%] .dropdown{border:unset!important}"] });
39
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PhoneInputComponent, [{
40
- type: Component,
41
- args: [{ selector: "mis-phone-input", template: "<div class=\"main-container-phone\">\n <mis-dropdown [height]=\"dropdownHeight\" [dropdownListWidth]=\"dropdownListWidth\"[dropdownListHeight]=\"dropdownListHeight\" [width]=\"dropdownWidth\" [data]=\"dropdownData\" [selectedItem]=\"dropdownSelectedItem\" [label]=\"label\" [searchEnabled]=\"searchEnabled\" [multiLine]=\"false\" (onChange)=\"handleDropdownSelection($event)\" [searchLabel]=\"searchLabel\"></mis-dropdown>\n <div class=\"details-field\">\n <div class=\"input-box\">\n <input\n [ngStyle]=\"{'height': inputHeight }\"\n class=\"black-text\"\n [placeholder]=\"inputPlaceholder\"\n [formControl]=\"inputFormControl\" \n [type]=\"inputType\"\n />\n </div>\n </div>\n</div>\n", styles: [".main-container-phone{display:flex;border:1px solid #E0E0E0;border-radius:6px}.details-field label{display:inline-block;min-width:224px;margin-right:24px}.details-field .input-box{width:100%}.details-field .input-box input{width:100%;height:32px}input{padding:10px 16px;border:none;outline:none;color:#181f33;line-height:24px;font-size:16px;width:100%;height:auto;border-radius:6px}.black-text{color:#181f33;font-size:16px;line-height:24px}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.main-container-phone ::ng-deep .item{padding:8px!important}.main-container-phone ::ng-deep .dropdown{border:unset!important}\n"] }]
42
- }], function () { return []; }, { dropdownHeight: [{
43
- type: Input
44
- }], dropdownWidth: [{
45
- type: Input
46
- }], inputHeight: [{
47
- type: Input
48
- }], dropdownData: [{
49
- type: Input
50
- }], dropdownSelectedItem: [{
51
- type: Input
52
- }], label: [{
53
- type: Input
54
- }], inputPlaceholder: [{
55
- type: Input
56
- }], inputFormControl: [{
57
- type: Input
58
- }], onDropdownSelection: [{
59
- type: Output
60
- }], dropdownListWidth: [{
61
- type: Input
62
- }], dropdownListHeight: [{
63
- type: Input
64
- }], searchEnabled: [{
65
- type: Input
66
- }], inputType: [{
67
- type: Input
68
- }], searchLabel: [{
69
- type: Input
70
- }] }); })();
71
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvcGhvb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XT1cImlucHV0VHlwZVwiXG4gICAgICAvPlxuICAgIDwvZGl2PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
@@ -1,56 +0,0 @@
1
- import { Component, Input, Output, EventEmitter } from "@angular/core";
2
- import { UntypedFormControl } from "@angular/forms";
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/forms";
5
- export class RadioButtonComponent {
6
- constructor() {
7
- /** When multiple radio input fields are used
8
- * an "id" can be given to keep track of them */
9
- this.id = "";
10
- /** Name of the attribute for which the radio
11
- * selection is provided */
12
- this.name = "";
13
- /** Value of the attribute which is to be emitted
14
- * when selected */
15
- this.value = "";
16
- /** Controls the state of the radio button */
17
- this.disabled = false;
18
- /** Can be used to attach the radio input field
19
- * to a reactive form by passing in a
20
- * “FormControl“ Object. It can also be
21
- * used to set the default attribute value */
22
- this.formControl = new UntypedFormControl(null);
23
- /** Emits "value" of the radio button on selection */
24
- this.valueChange = new EventEmitter();
25
- }
26
- ngOnInit() { }
27
- onChange(event) {
28
- this.valueChange.emit(this.formControl.value);
29
- }
30
- }
31
- RadioButtonComponent.ɵfac = function RadioButtonComponent_Factory(t) { return new (t || RadioButtonComponent)(); };
32
- RadioButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RadioButtonComponent, selectors: [["mis-radio"]], inputs: { id: "id", name: "name", value: "value", disabled: "disabled", formControl: "formControl" }, outputs: { valueChange: "valueChange" }, decls: 1, vars: 5, consts: [["tabindex", "-1", "type", "radio", 3, "id", "name", "disabled", "value", "formControl", "change", "keup.enter"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
33
- i0.ɵɵelementStart(0, "input", 0);
34
- i0.ɵɵlistener("change", function RadioButtonComponent_Template_input_change_0_listener($event) { return ctx.onChange($event); })("keup.enter", function RadioButtonComponent_Template_input_keup_enter_0_listener($event) { return ctx.onChange($event); });
35
- i0.ɵɵelementEnd();
36
- } if (rf & 2) {
37
- i0.ɵɵpropertyInterpolate("id", ctx.id);
38
- i0.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.value)("formControl", ctx.formControl);
39
- } }, dependencies: [i1.DefaultValueAccessor, i1.RadioControlValueAccessor, i1.NgControlStatus, i1.FormControlDirective], styles: ["input[type=radio][_ngcontent-%COMP%]{appearance:none;width:20px;height:20px;margin:0;padding:3px;background-clip:content-box;border:2px solid #6a737d;background-color:#fff;border-radius:50%;cursor:pointer}input[type=radio][_ngcontent-%COMP%]:checked{background-color:#0937b2;border:2px solid #0937b2}input[type=radio][_ngcontent-%COMP%]:hover{border:2px solid #929dab}input[type=radio][_ngcontent-%COMP%]:checked:hover{border:2px solid #0937b2}input[type=radio][_ngcontent-%COMP%]:disabled{border:2px solid #c8cdd3}input[type=radio][_ngcontent-%COMP%]:checked:disabled{border:2px solid #c8cdd3;background-color:#c8cdd3}"] });
40
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RadioButtonComponent, [{
41
- type: Component,
42
- args: [{ selector: "mis-radio", template: "<input \n (change)=\"onChange($event)\" \n (keup.enter)=\"onChange($event)\"\n tabindex=\"-1\"\n id=\"{{ id }}\" type=\"radio\" \n [name]=\"name\" [disabled]=\"disabled\" \n [value]=\"value\"\n [formControl]=\"formControl\" \n/>\n", styles: ["input[type=radio]{appearance:none;width:20px;height:20px;margin:0;padding:3px;background-clip:content-box;border:2px solid #6a737d;background-color:#fff;border-radius:50%;cursor:pointer}input[type=radio]:checked{background-color:#0937b2;border:2px solid #0937b2}input[type=radio]:hover{border:2px solid #929dab}input[type=radio]:checked:hover{border:2px solid #0937b2}input[type=radio]:disabled{border:2px solid #c8cdd3}input[type=radio]:checked:disabled{border:2px solid #c8cdd3;background-color:#c8cdd3}\n"] }]
43
- }], function () { return []; }, { id: [{
44
- type: Input
45
- }], name: [{
46
- type: Input
47
- }], value: [{
48
- type: Input
49
- }], disabled: [{
50
- type: Input
51
- }], formControl: [{
52
- type: Input
53
- }], valueChange: [{
54
- type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vcigpIHt9XG4gIG5nT25Jbml0KCkge31cbiAgb25DaGFuZ2UoZXZlbnQpIHtcbiAgICB0aGlzLnZhbHVlQ2hhbmdlLmVtaXQodGhpcy5mb3JtQ29udHJvbC52YWx1ZSk7XG4gIH1cbn1cbiIsIjxpbnB1dCBcbiAgICAoY2hhbmdlKT1cIm9uQ2hhbmdlKCRldmVudClcIiBcbiAgICAoa2V1cC5lbnRlcik9XCJvbkNoYW5nZSgkZXZlbnQpXCJcbiAgICB0YWJpbmRleD1cIi0xXCJcbiAgICBpZD1cInt7IGlkIH19XCIgdHlwZT1cInJhZGlvXCIgXG4gICAgW25hbWVdPVwibmFtZVwiIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiIFxuICAgIFt2YWx1ZV09XCJ2YWx1ZVwiXG4gICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCIgXG4vPlxuIl19
@@ -1,53 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- const _c0 = function (a0, a1) { return { "height": a0, "margin-bottom": a1 }; };
5
- function SkeLoaderComponent_div_1_Template(rf, ctx) { if (rf & 1) {
6
- i0.ɵɵelementStart(0, "div");
7
- i0.ɵɵelement(1, "div", 2);
8
- i0.ɵɵelementEnd();
9
- } if (rf & 2) {
10
- const ctx_r0 = i0.ɵɵnextContext();
11
- i0.ɵɵadvance(1);
12
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(1, _c0, ctx_r0.lineHeight, ctx_r0.gap));
13
- } }
14
- const _c1 = function (a1, a2) { return { overflow: "hidden", height: a1, width: a2 }; };
15
- export class SkeLoaderComponent {
16
- constructor() {
17
- this.rowCount = [1];
18
- this.lineHeight = '20px';
19
- this.height = '100%';
20
- this.width = '100%';
21
- this.gap = '8px';
22
- }
23
- set count(num) {
24
- this.rowCount = Array(num);
25
- }
26
- ;
27
- ngOnInit() { }
28
- }
29
- SkeLoaderComponent.ɵfac = function SkeLoaderComponent_Factory(t) { return new (t || SkeLoaderComponent)(); };
30
- SkeLoaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SkeLoaderComponent, selectors: [["mis-skeleton-loader"]], inputs: { count: "count", lineHeight: "lineHeight", height: "height", width: "width", gap: "gap" }, decls: 2, vars: 5, consts: [[3, "ngStyle"], [4, "ngFor", "ngForOf"], [1, "ske-loader", 3, "ngStyle"]], template: function SkeLoaderComponent_Template(rf, ctx) { if (rf & 1) {
31
- i0.ɵɵelementStart(0, "div", 0);
32
- i0.ɵɵtemplate(1, SkeLoaderComponent_div_1_Template, 2, 4, "div", 1);
33
- i0.ɵɵelementEnd();
34
- } if (rf & 2) {
35
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(2, _c1, ctx.height, ctx.width));
36
- i0.ɵɵadvance(1);
37
- i0.ɵɵproperty("ngForOf", ctx.rowCount);
38
- } }, dependencies: [i1.NgForOf, i1.NgStyle], styles: [".ske-loader[_ngcontent-%COMP%]{background:#808080;position:relative;width:100%;background:#E5E5E5;background:linear-gradient(110deg,#ececec 8%,#f5f5f5 18%,#ececec 33%);border-radius:5px;background-size:200% 100%;animation:1s shine linear infinite;overflow:hidden}@keyframes shine{to{background-position-x:-200%}}"] });
39
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SkeLoaderComponent, [{
40
- type: Component,
41
- args: [{ selector: 'mis-skeleton-loader', template: "<div [ngStyle]=\"{\n overflow: 'hidden',\n height: this.height,\n width: this.width\n }\">\n <div *ngFor=\"let n of rowCount; let i = index;\">\n <div class=\"ske-loader\" [ngStyle]=\"{'height':this.lineHeight,'margin-bottom':this.gap }\"></div>\n </div>\n</div>\n", styles: [".ske-loader{background:#808080;position:relative;width:100%;background:#E5E5E5;background:linear-gradient(110deg,#ececec 8%,#f5f5f5 18%,#ececec 33%);border-radius:5px;background-size:200% 100%;animation:1s shine linear infinite;overflow:hidden}@keyframes shine{to{background-position-x:-200%}}\n"] }]
42
- }], function () { return []; }, { count: [{
43
- type: Input
44
- }], lineHeight: [{
45
- type: Input
46
- }], height: [{
47
- type: Input
48
- }], width: [{
49
- type: Input
50
- }], gap: [{
51
- type: Input
52
- }] }); })();
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tlLWxvYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy9za2UtbG9hZGVyL3NrZS1sb2FkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvc2tlLWxvYWRlci9za2UtbG9hZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7OztJQ0tyRCwyQkFBZ0Q7SUFDNUMseUJBQStGO0lBQ25HLGlCQUFNOzs7SUFEc0IsZUFBZ0U7SUFBaEUsbUZBQWdFOzs7QURDaEcsTUFBTSxPQUFPLGtCQUFrQjtJQVc3QjtRQVRBLGFBQVEsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBSU4sZUFBVSxHQUFXLE1BQU0sQ0FBQztRQUM1QixXQUFNLEdBQVcsTUFBTSxDQUFDO1FBQ3hCLFVBQUssR0FBVyxNQUFNLENBQUM7UUFDdkIsUUFBRyxHQUFXLEtBQUssQ0FBQTtJQUVaLENBQUM7SUFSakIsSUFBYSxLQUFLLENBQUMsR0FBVztRQUM1QixJQUFJLENBQUMsUUFBUSxHQUFHLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQTtJQUM1QixDQUFDO0lBQUEsQ0FBQztJQVFGLFFBQVEsS0FBVSxDQUFDOztvRkFiUixrQkFBa0I7cUVBQWxC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uZ1N0eWxlXT1cIntcbiAgICBvdmVyZmxvdzogJ2hpZGRlbicsXG4gICAgaGVpZ2h0OiB0aGlzLmhlaWdodCxcbiAgICB3aWR0aDogdGhpcy53aWR0aFxuICB9XCI+XG4gICAgPGRpdiAqbmdGb3I9XCJsZXQgbiBvZiByb3dDb3VudDsgbGV0IGkgPSBpbmRleDtcIj5cbiAgICAgICAgPGRpdiBjbGFzcz1cInNrZS1sb2FkZXJcIiBbbmdTdHlsZV09XCJ7J2hlaWdodCc6dGhpcy5saW5lSGVpZ2h0LCdtYXJnaW4tYm90dG9tJzp0aGlzLmdhcCB9XCI+PC9kaXY+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -1,45 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/forms";
4
- export class SliderComponent {
5
- constructor(formBuilder) {
6
- this.formBuilder = formBuilder;
7
- this.min = 0;
8
- this.max = 100;
9
- this.value = 0;
10
- this.valueChange = new EventEmitter();
11
- }
12
- ngOnInit() {
13
- this.sliderForm = this.formBuilder.group({
14
- sliderFormControl: [this.value]
15
- });
16
- }
17
- onInputChange(value) {
18
- this.value = value;
19
- this.sliderForm.patchValue({ sliderFormControl: value });
20
- this.valueChange.emit(this.value);
21
- }
22
- }
23
- SliderComponent.ɵfac = function SliderComponent_Factory(t) { return new (t || SliderComponent)(i0.ɵɵdirectiveInject(i1.UntypedFormBuilder)); };
24
- SliderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SliderComponent, selectors: [["mis-slider"]], inputs: { min: "min", max: "max", value: "value" }, outputs: { valueChange: "valueChange" }, decls: 3, vars: 3, consts: [[3, "formGroup"], [1, "slider"], ["type", "range", "formControlName", "sliderFormControl", 3, "min", "max", "input"]], template: function SliderComponent_Template(rf, ctx) { if (rf & 1) {
25
- i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "input", 2);
26
- i0.ɵɵlistener("input", function SliderComponent_Template_input_input_2_listener($event) { return ctx.onInputChange($event.target.value); });
27
- i0.ɵɵelementEnd()()();
28
- } if (rf & 2) {
29
- i0.ɵɵproperty("formGroup", ctx.sliderForm);
30
- i0.ɵɵadvance(2);
31
- i0.ɵɵproperty("min", ctx.min)("max", ctx.max);
32
- } }, dependencies: [i1.ɵNgNoValidate, i1.DefaultValueAccessor, i1.RangeValueAccessor, i1.NgControlStatus, i1.NgControlStatusGroup, i1.FormGroupDirective, i1.FormControlName], styles: [".slider[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;input[type=\"range\"] {width: 100%; appearance: none; height: 8px; background: #CBDDFB; outline: none; border-radius: 5px; &::-webkit-slider-thumb {appearance: none; width: 22px; height: 22px; background: #0937B2; cursor: pointer; border-radius: 50%;} &::-moz-range-thumb {width: 15px; height: 15px; background: #0937B2; cursor: pointer; border-radius: 50%;}} span {margin-left: 10px;}}"] });
33
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SliderComponent, [{
34
- type: Component,
35
- args: [{ selector: 'mis-slider', template: "<form [formGroup]=\"sliderForm\">\n <div class=\"slider\">\n <input type=\"range\" [min]=\"min\" [max]=\"max\" formControlName=\"sliderFormControl\" (input)=\"onInputChange($event.target.value)\" />\n </div>\n </form>\n \n\n ", styles: [".slider{width:100%;display:flex;align-items:center;input[type=\"range\"] {width: 100%; appearance: none; height: 8px; background: #CBDDFB; outline: none; border-radius: 5px; &::-webkit-slider-thumb {appearance: none; width: 22px; height: 22px; background: #0937B2; cursor: pointer; border-radius: 50%;} &::-moz-range-thumb {width: 15px; height: 15px; background: #0937B2; cursor: pointer; border-radius: 50%;}} span {margin-left: 10px;}}\n"] }]
36
- }], function () { return [{ type: i1.UntypedFormBuilder }]; }, { min: [{
37
- type: Input
38
- }], max: [{
39
- type: Input
40
- }], value: [{
41
- type: Input
42
- }], valueChange: [{
43
- type: Output
44
- }] }); })();
45
- //# sourceMappingURL=data:application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blxuICBzbGlkZXJGb3JtOiBVbnR5cGVkRm9ybUdyb3VwO1xuXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgZm9ybUJ1aWxkZXI6IFVudHlwZWRGb3JtQnVpbGRlcikgeyB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gICAgdGhpcy5zbGlkZXJGb3JtID0gdGhpcy5mb3JtQnVpbGRlci5ncm91cCh7XG4gICAgICBzbGlkZXJGb3JtQ29udHJvbDogW3RoaXMudmFsdWVdXG4gICAgfSk7XG4gIH1cblxuICBvbklucHV0Q2hhbmdlKHZhbHVlOiBudW1iZXIpIHtcbiAgICB0aGlzLnZhbHVlID0gdmFsdWU7XG4gICAgdGhpcy5zbGlkZXJGb3JtLnBhdGNoVmFsdWUoe3NsaWRlckZvcm1Db250cm9sOiB2YWx1ZX0pXG4gICAgdGhpcy52YWx1ZUNoYW5nZS5lbWl0KHRoaXMudmFsdWUpO1xuICB9XG5cbn1cbiIsIjxmb3JtIFtmb3JtR3JvdXBdPVwic2xpZGVyRm9ybVwiPlxuICAgIDxkaXYgY2xhc3M9XCJzbGlkZXJcIj5cbiAgICAgIDxpbnB1dCB0eXBlPVwicmFuZ2VcIiBbbWluXT1cIm1pblwiIFttYXhdPVwibWF4XCIgZm9ybUNvbnRyb2xOYW1lPVwic2xpZGVyRm9ybUNvbnRyb2xcIiAoaW5wdXQpPVwib25JbnB1dENoYW5nZSgkZXZlbnQudGFyZ2V0LnZhbHVlKVwiIC8+XG4gICAgPC9kaXY+XG4gIDwvZm9ybT5cbiAgXG5cbiAgIl19
@@ -1,72 +0,0 @@
1
- import { Component, EventEmitter, Input, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- function SnackbarComponent_div_1_img_2_Template(rf, ctx) { if (rf & 1) {
5
- i0.ɵɵelement(0, "img", 7);
6
- } if (rf & 2) {
7
- const ctx_r2 = i0.ɵɵnextContext(2);
8
- i0.ɵɵproperty("src", ctx_r2.config.iconUrl, i0.ɵɵsanitizeUrl);
9
- } }
10
- function SnackbarComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
11
- const _r5 = i0.ɵɵgetCurrentView();
12
- i0.ɵɵelementStart(0, "div", 8)(1, "button", 9);
13
- i0.ɵɵlistener("click", function SnackbarComponent_div_1_div_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r4.onActionClick()); });
14
- i0.ɵɵtext(2);
15
- i0.ɵɵelementEnd()();
16
- } if (rf & 2) {
17
- const ctx_r3 = i0.ɵɵnextContext(2);
18
- i0.ɵɵadvance(2);
19
- i0.ɵɵtextInterpolate(ctx_r3.config.actionString);
20
- } }
21
- function SnackbarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
22
- i0.ɵɵelementStart(0, "div", 3)(1, "span", 4);
23
- i0.ɵɵtemplate(2, SnackbarComponent_div_1_img_2_Template, 1, 1, "img", 5);
24
- i0.ɵɵtext(3);
25
- i0.ɵɵelementEnd();
26
- i0.ɵɵtemplate(4, SnackbarComponent_div_1_div_4_Template, 3, 1, "div", 6);
27
- i0.ɵɵelementEnd();
28
- } if (rf & 2) {
29
- const ctx_r0 = i0.ɵɵnextContext();
30
- i0.ɵɵadvance(2);
31
- i0.ɵɵproperty("ngIf", ctx_r0.config.iconUrl);
32
- i0.ɵɵadvance(1);
33
- i0.ɵɵtextInterpolate1(" ", ctx_r0.config.message, " ");
34
- i0.ɵɵadvance(1);
35
- i0.ɵɵproperty("ngIf", ctx_r0.config.actionString);
36
- } }
37
- function SnackbarComponent_div_2_Template(rf, ctx) { if (rf & 1) {
38
- i0.ɵɵelementStart(0, "div", 10);
39
- i0.ɵɵprojection(1);
40
- i0.ɵɵelementEnd();
41
- } }
42
- const _c0 = ["*"];
43
- export class SnackbarComponent {
44
- constructor() {
45
- this.triggerAction = new EventEmitter();
46
- }
47
- onActionClick() {
48
- this.triggerAction.emit();
49
- }
50
- }
51
- SnackbarComponent.ɵfac = function SnackbarComponent_Factory(t) { return new (t || SnackbarComponent)(); };
52
- SnackbarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SnackbarComponent, selectors: [["app-snackbar"]], inputs: { config: "config" }, outputs: { triggerAction: "triggerAction" }, ngContentSelectors: _c0, decls: 3, vars: 2, consts: [[1, "snackbar-container"], ["class", "messages", 4, "ngIf"], ["class", "component-container", 4, "ngIf"], [1, "messages"], [1, "message"], ["alt", "", 3, "src", 4, "ngIf"], ["class", "snackbar-action", 4, "ngIf"], ["alt", "", 3, "src"], [1, "snackbar-action"], [3, "click"], [1, "component-container"]], template: function SnackbarComponent_Template(rf, ctx) { if (rf & 1) {
53
- i0.ɵɵprojectionDef();
54
- i0.ɵɵelementStart(0, "div", 0);
55
- i0.ɵɵtemplate(1, SnackbarComponent_div_1_Template, 5, 3, "div", 1);
56
- i0.ɵɵtemplate(2, SnackbarComponent_div_2_Template, 2, 0, "div", 2);
57
- i0.ɵɵelementEnd();
58
- } if (rf & 2) {
59
- i0.ɵɵadvance(1);
60
- i0.ɵɵproperty("ngIf", !ctx.config.hasComponent);
61
- i0.ɵɵadvance(1);
62
- i0.ɵɵproperty("ngIf", ctx.config.hasComponent);
63
- } }, dependencies: [i1.NgIf], styles: [".snackbar-container[_ngcontent-%COMP%]{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background-color:#181f33;color:#fff;border-radius:8px;padding:8px 12px;max-width:400px;width:90%;z-index:1000;box-shadow:0 4px 8px #0003}.messages[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.message[_ngcontent-%COMP%]{flex:1;padding-right:10px;font-size:16px;font-weight:700}.snackbar-action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#181f33;color:#fff;border:none;border-radius:4px;padding:8px 16px;cursor:pointer;font-size:16px!important;transition:background-color .3s ease}.snackbar-action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background-color:#0056b3}.component-container[_ngcontent-%COMP%]{margin-top:10px}@media (max-width: 768px){.snackbar-container[_ngcontent-%COMP%]{left:10px;right:10px;transform:none;width:auto;max-width:none}}"] });
64
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SnackbarComponent, [{
65
- type: Component,
66
- args: [{ selector: 'app-snackbar', template: "<div class=\"snackbar-container\">\n <div class=\"messages\" *ngIf=\"!config.hasComponent\">\n <span class=\"message\">\n <img *ngIf=\"config.iconUrl\" [src]=\"config.iconUrl\" alt=\"\">\n {{ config.message }}\n </span>\n <div class=\"snackbar-action\" *ngIf=\"config.actionString\">\n <button (click)=\"onActionClick()\">{{ config.actionString }}</button>\n </div>\n </div>\n <div class=\"component-container\" *ngIf=\"config.hasComponent\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [".snackbar-container{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background-color:#181f33;color:#fff;border-radius:8px;padding:8px 12px;max-width:400px;width:90%;z-index:1000;box-shadow:0 4px 8px #0003}.messages{display:flex;align-items:center;justify-content:space-between}.message{flex:1;padding-right:10px;font-size:16px;font-weight:700}.snackbar-action button{background-color:#181f33;color:#fff;border:none;border-radius:4px;padding:8px 16px;cursor:pointer;font-size:16px!important;transition:background-color .3s ease}.snackbar-action button:hover{background-color:#0056b3}.component-container{margin-top:10px}@media (max-width: 768px){.snackbar-container{left:10px;right:10px;transform:none;width:auto;max-width:none}}\n"] }]
67
- }], function () { return []; }, { config: [{
68
- type: Input
69
- }], triggerAction: [{
70
- type: Output
71
- }] }); })();
72
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hY2tiYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvc25hY2tiYXIvc25hY2tiYXIvc25hY2tiYXIuY29tcG9uZW50LnRzIiwiLi4v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DxkaXYgY2xhc3M9XCJzbmFja2Jhci1hY3Rpb25cIiAqbmdJZj1cImNvbmZpZy5hY3Rpb25TdHJpbmdcIj5cbiAgICAgIDxidXR0b24gKGNsaWNrKT1cIm9uQWN0aW9uQ2xpY2soKVwiPnt7IGNvbmZpZy5hY3Rpb25TdHJpbmcgfX08L2J1dHRvbj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG4gIDxkaXYgY2xhc3M9XCJjb21wb25lbnQtY29udGFpbmVyXCIgKm5nSWY9XCJjb25maWcuaGFzQ29tcG9uZW50XCI+XG4gICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbjwvZGl2PlxuIl19
@@ -1,47 +0,0 @@
1
- import { OverlayConfig } from "@angular/cdk/overlay";
2
- import { ComponentPortal } from "@angular/cdk/portal";
3
- import { Injectable } from "@angular/core"; // Assuming you have defined ISnackBarConfig interface
4
- import { SnackbarComponent } from "./snackbar/snackbar.component";
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/cdk/overlay";
7
- export class SnackbarService {
8
- constructor(overlay) {
9
- this.overlay = overlay;
10
- }
11
- openSnackbar(config) {
12
- this.config = config;
13
- const overlayConfig = new OverlayConfig({
14
- hasBackdrop: false,
15
- positionStrategy: this.overlay.position().global().centerHorizontally().bottom("48px")
16
- });
17
- this.snackbarRef = this.overlay.create(overlayConfig);
18
- const snackbarPortal = new ComponentPortal(SnackbarComponent);
19
- const componentRef = this.snackbarRef.attach(snackbarPortal);
20
- // componentRef.instance.config = config;
21
- config.duration = config.duration || 3000;
22
- setTimeout(() => {
23
- this.closeSnackbar();
24
- }, config.duration);
25
- componentRef.instance.triggerAction.subscribe(() => {
26
- if (config.onActionClick) {
27
- config.onActionClick();
28
- }
29
- this.closeSnackbar();
30
- });
31
- }
32
- closeSnackbar() {
33
- if (this.snackbarRef) {
34
- this.snackbarRef.dispose();
35
- this.snackbarRef = null;
36
- }
37
- }
38
- }
39
- SnackbarService.ɵfac = function SnackbarService_Factory(t) { return new (t || SnackbarService)(i0.ɵɵinject(i1.Overlay)); };
40
- SnackbarService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SnackbarService, factory: SnackbarService.ɵfac, providedIn: "root" });
41
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SnackbarService, [{
42
- type: Injectable,
43
- args: [{
44
- providedIn: "root"
45
- }]
46
- }], function () { return [{ type: i1.Overlay }]; }, null); })();
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hY2tiYXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL21pcy1jb21wb25lbnRzL3NuYWNrYmFyL3NuYWNrYmFyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBU0EsT0FBTyxFQUFXLGFBQWEsRUFBYyxNQUFNLHNCQUFzQixDQUFDO0FBQzFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN0RCxPQUFPLEVBQWdCLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQyxDQUFDLHNEQUFzRDtBQUNoSCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7O0FBS2xFLE1BQU0sT0FBTyxlQUFlO0lBSTFCLFlBQW9CLE9BQWdCO1FBQWhCLFlBQU8sR0FBUCxPQUFPLENBQVM7SUFBRyxDQUFDO0lBRXhDLFlBQVksQ0FBQyxNQUF1QjtRQUNsQyxJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQztRQUNyQixNQUFNLGFBQWEsR0FBRyxJQUFJLGFBQWEsQ0FBQztZQUN0QyxXQUFXLEVBQUUsS0FBSztZQUNsQixnQkFBZ0IsRUFBRSxJQUFJLENBQUMsT0FBTy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