mis-crystal-design-system 18.0.4 → 18.0.5

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 (525) 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 +2 -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/dynamic-form/dynamic-form.component.d.ts +1 -1
  18. package/esm2020/action-list/action-list.component.mjs +370 -0
  19. package/{esm2022 → esm2020}/action-list/action-list.module.mjs +5 -5
  20. package/{esm2022 → esm2020}/analytics/analytics.module.mjs +5 -5
  21. package/esm2020/analytics/analytics.service.mjs +64 -0
  22. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +525 -0
  23. package/{esm2022 → esm2020}/async-search-dropdown/async-dropdown.module.mjs +5 -5
  24. package/esm2020/button/button.component.mjs +87 -0
  25. package/esm2020/button/button.directive.mjs +61 -0
  26. package/{esm2022 → esm2020}/button/button.module.mjs +5 -5
  27. package/esm2020/checkbox/checkbox.component.mjs +124 -0
  28. package/{esm2022 → esm2020}/checkbox/checkbox.module.mjs +5 -5
  29. package/esm2020/chip/chip.component.mjs +82 -0
  30. package/{esm2022 → esm2020}/chip/chip.module.mjs +5 -5
  31. package/{esm2022 → esm2020}/datepicker_v2/datepicker.module.mjs +5 -5
  32. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +183 -0
  33. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +449 -0
  34. package/esm2020/datepicker_v2/utils/index.mjs +45 -0
  35. package/{esm2022 → esm2020}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
  36. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +165 -0
  37. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +502 -0
  38. package/{esm2022/datepicker_v2 → esm2020/daterangepicker_v2}/utils/index.mjs +1 -1
  39. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +58 -0
  40. package/{esm2022 → esm2020}/drawer/drawer-ref.mjs +4 -4
  41. package/{esm2022 → esm2020}/drawer/drawer.module.mjs +5 -5
  42. package/{esm2022 → esm2020}/drawer/drawer.service.mjs +5 -5
  43. package/esm2020/dropdown/calculate-container-height.directive.mjs +41 -0
  44. package/esm2020/dropdown/dropdown.component.mjs +472 -0
  45. package/{esm2022 → esm2020}/dropdown/dropdown.module.mjs +5 -5
  46. package/esm2020/dynamic-form/dynamic-form.component.mjs +1108 -0
  47. package/{esm2022 → esm2020}/dynamic-form/dynamic-form.module.mjs +13 -13
  48. package/esm2020/fab/fab.component.mjs +144 -0
  49. package/{esm2022 → esm2020}/fab/fab.module.mjs +5 -5
  50. package/esm2020/filter/filter-panel/filter-panel.component.mjs +403 -0
  51. package/{esm2022 → esm2020}/filter/filters.module.mjs +17 -17
  52. package/esm2020/filter/has-value.pipe.mjs +31 -0
  53. package/{esm2022 → esm2020}/input/directives/input/input.directive.mjs +6 -6
  54. package/esm2020/input/mis-input.component.mjs +84 -0
  55. package/{esm2022 → esm2020}/input/mis-input.module.mjs +5 -5
  56. package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +88 -0
  57. package/{esm2022 → esm2020}/input-stepper/input-stepper.module.mjs +5 -5
  58. package/esm2020/loader/loader.component.mjs +24 -0
  59. package/{esm2022 → esm2020}/loader/loader.module.mjs +5 -5
  60. package/esm2020/menu/menu-close.directive.mjs +25 -0
  61. package/{esm2022 → esm2020}/menu/menu.directive.mjs +7 -7
  62. package/{esm2022 → esm2020}/menu/menu.module.mjs +5 -5
  63. package/esm2020/mobile-filter/mobile-filter.component.mjs +181 -0
  64. package/{esm2022 → esm2020}/mobile-filter/mobile-filter.module.mjs +5 -5
  65. package/{esm2022 → esm2020}/modal/modal.module.mjs +5 -5
  66. package/esm2020/modal/modal.service.mjs +70 -0
  67. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +55 -0
  68. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +491 -0
  69. package/{esm2022 → esm2020}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
  70. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +517 -0
  71. package/{esm2022 → esm2020}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
  72. package/esm2020/phone-input/phone-input.component.mjs +71 -0
  73. package/{esm2022 → esm2020}/phone-input/phone-input.module.mjs +5 -5
  74. package/esm2020/radio-button/radio-button.component.mjs +56 -0
  75. package/{esm2022 → esm2020}/radio-button/radio-button.module.mjs +5 -5
  76. package/esm2020/ske-loader/ske-loader.component.mjs +53 -0
  77. package/{esm2022 → esm2020}/ske-loader/ske-loader.module.mjs +5 -5
  78. package/esm2020/slider/slider.component.mjs +45 -0
  79. package/{esm2022 → esm2020}/slider/slider.module.mjs +7 -7
  80. package/esm2020/snackbar/snackbar/snackbar.component.mjs +72 -0
  81. package/{esm2022 → esm2020}/snackbar/snackbar.module.mjs +5 -5
  82. package/esm2020/snackbar/snackbar.service.mjs +47 -0
  83. package/{esm2022 → esm2020}/specificdatepicker/specificdatepicker.module.mjs +5 -5
  84. package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +646 -0
  85. package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
  86. package/esm2020/specificdatepicker/utils/index.mjs +45 -0
  87. package/esm2020/star-rating/star-rating.component.mjs +112 -0
  88. package/{esm2022 → esm2020}/star-rating/star-rating.module.mjs +5 -5
  89. package/esm2020/switch/switch.component.mjs +55 -0
  90. package/{esm2022 → esm2020}/switch/switch.module.mjs +5 -5
  91. package/esm2020/table/custom-table-cell.directive.mjs +42 -0
  92. package/esm2020/table/filter/filter.component.mjs +176 -0
  93. package/esm2020/table/sub-table/sub-table.component.mjs +193 -0
  94. package/esm2020/table/table.component.mjs +492 -0
  95. package/{esm2022 → esm2020}/table/table.module.mjs +5 -5
  96. package/esm2020/timepicker/timepicker.component.mjs +370 -0
  97. package/esm2020/timepicker/timepicker.directive.mjs +69 -0
  98. package/{esm2022 → esm2020}/timepicker/timepicker.module.mjs +5 -5
  99. package/esm2020/timerangepicker/timerangepicker.component.mjs +236 -0
  100. package/{esm2022 → esm2020}/timerangepicker/timerangepicker.module.mjs +5 -5
  101. package/esm2020/toast/toast.component.mjs +50 -0
  102. package/{esm2022 → esm2020}/toast/toast.data.service.mjs +8 -8
  103. package/{esm2022 → esm2020}/toast/toast.module.mjs +5 -5
  104. package/esm2020/toast/toast.service.mjs +91 -0
  105. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +79 -0
  106. package/esm2020/tooltip/tooltip.directive.mjs +143 -0
  107. package/{esm2022 → esm2020}/tooltip/tooltip.module.mjs +5 -5
  108. package/esm2020/virtual-scroll/virtual-scroll.component.mjs +190 -0
  109. package/{esm2022 → esm2020}/virtual-scroll/virtual-scroll.module.mjs +7 -7
  110. package/esm2020/widgets/classes/async-widget.mjs +23 -0
  111. package/{esm2022 → esm2020}/widgets/classes/base-widget.mjs +1 -1
  112. package/esm2020/widgets/classes/sync-widget.mjs +20 -0
  113. package/{esm2022 → esm2020}/widgets/services/widget.service.mjs +5 -5
  114. package/{esm2022 → esm2020}/widgets/widgets.module.mjs +5 -5
  115. package/fab/fab.component.d.ts +4 -4
  116. package/fesm2015/mis-crystal-design-system-action-list.mjs +446 -0
  117. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +1 -0
  118. package/fesm2015/mis-crystal-design-system-analytics.mjs +87 -0
  119. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +1 -0
  120. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +618 -0
  121. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  122. package/fesm2015/mis-crystal-design-system-button.mjs +189 -0
  123. package/fesm2015/mis-crystal-design-system-button.mjs.map +1 -0
  124. package/fesm2015/mis-crystal-design-system-checkbox.mjs +166 -0
  125. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +1 -0
  126. package/fesm2015/mis-crystal-design-system-chip.mjs +123 -0
  127. package/fesm2015/mis-crystal-design-system-chip.mjs.map +1 -0
  128. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +751 -0
  129. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  130. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +769 -0
  131. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  132. package/fesm2015/mis-crystal-design-system-drawer.mjs +185 -0
  133. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +1 -0
  134. package/fesm2015/mis-crystal-design-system-dropdown.mjs +616 -0
  135. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +1 -0
  136. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +1337 -0
  137. package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  138. package/fesm2015/mis-crystal-design-system-fab.mjs +186 -0
  139. package/fesm2015/mis-crystal-design-system-fab.mjs.map +1 -0
  140. package/fesm2015/mis-crystal-design-system-filter.mjs +559 -0
  141. package/fesm2015/mis-crystal-design-system-filter.mjs.map +1 -0
  142. package/fesm2015/mis-crystal-design-system-input-stepper.mjs +124 -0
  143. package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +1 -0
  144. package/fesm2015/mis-crystal-design-system-input.mjs +165 -0
  145. package/fesm2015/mis-crystal-design-system-input.mjs.map +1 -0
  146. package/fesm2015/mis-crystal-design-system-loader.mjs +57 -0
  147. package/fesm2015/mis-crystal-design-system-loader.mjs.map +1 -0
  148. package/fesm2015/mis-crystal-design-system-menu.mjs +135 -0
  149. package/fesm2015/mis-crystal-design-system-menu.mjs.map +1 -0
  150. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +227 -0
  151. package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  152. package/fesm2015/mis-crystal-design-system-modal.mjs +184 -0
  153. package/fesm2015/mis-crystal-design-system-modal.mjs.map +1 -0
  154. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +550 -0
  155. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  156. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +559 -0
  157. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  158. package/fesm2015/mis-crystal-design-system-phone-input.mjs +107 -0
  159. package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +1 -0
  160. package/fesm2015/mis-crystal-design-system-radio-button.mjs +89 -0
  161. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +1 -0
  162. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +86 -0
  163. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  164. package/fesm2015/mis-crystal-design-system-slider.mjs +88 -0
  165. package/fesm2015/mis-crystal-design-system-slider.mjs.map +1 -0
  166. package/fesm2015/mis-crystal-design-system-snackbar.mjs +175 -0
  167. package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +1 -0
  168. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +970 -0
  169. package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  170. package/fesm2015/mis-crystal-design-system-star-rating.mjs +145 -0
  171. package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +1 -0
  172. package/fesm2015/mis-crystal-design-system-switch.mjs +88 -0
  173. package/fesm2015/mis-crystal-design-system-switch.mjs.map +1 -0
  174. package/fesm2015/mis-crystal-design-system-table.mjs +1045 -0
  175. package/fesm2015/mis-crystal-design-system-table.mjs.map +1 -0
  176. package/fesm2015/mis-crystal-design-system-timepicker.mjs +484 -0
  177. package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +1 -0
  178. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +273 -0
  179. package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +1 -0
  180. package/fesm2015/mis-crystal-design-system-toast.mjs +214 -0
  181. package/fesm2015/mis-crystal-design-system-toast.mjs.map +1 -0
  182. package/fesm2015/mis-crystal-design-system-tooltip.mjs +272 -0
  183. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +1 -0
  184. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +259 -0
  185. package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  186. package/fesm2015/mis-crystal-design-system-widgets.mjs +131 -0
  187. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +1 -0
  188. package/{fesm2022 → fesm2020}/mis-crystal-design-system-action-list.mjs +113 -106
  189. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +1 -0
  190. package/{fesm2022 → fesm2020}/mis-crystal-design-system-analytics.mjs +9 -9
  191. package/{fesm2022 → fesm2020}/mis-crystal-design-system-analytics.mjs.map +1 -1
  192. package/{fesm2022 → fesm2020}/mis-crystal-design-system-async-search-dropdown.mjs +144 -138
  193. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  194. package/fesm2020/mis-crystal-design-system-button.mjs +172 -0
  195. package/fesm2020/mis-crystal-design-system-button.mjs.map +1 -0
  196. package/fesm2020/mis-crystal-design-system-checkbox.mjs +150 -0
  197. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +1 -0
  198. package/fesm2020/mis-crystal-design-system-chip.mjs +108 -0
  199. package/fesm2020/mis-crystal-design-system-chip.mjs.map +1 -0
  200. package/{fesm2022 → fesm2020}/mis-crystal-design-system-datepicker_v2.mjs +140 -133
  201. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  202. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +736 -0
  203. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  204. package/{fesm2022 → fesm2020}/mis-crystal-design-system-drawer.mjs +33 -34
  205. package/{fesm2022 → fesm2020}/mis-crystal-design-system-drawer.mjs.map +1 -1
  206. package/{fesm2022 → fesm2020}/mis-crystal-design-system-dropdown.mjs +184 -176
  207. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +1 -0
  208. package/{fesm2022 → fesm2020}/mis-crystal-design-system-dynamic-form.mjs +456 -441
  209. package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
  210. package/{fesm2022 → fesm2020}/mis-crystal-design-system-fab.mjs +47 -48
  211. package/fesm2020/mis-crystal-design-system-fab.mjs.map +1 -0
  212. package/{fesm2022 → fesm2020}/mis-crystal-design-system-filter.mjs +140 -133
  213. package/fesm2020/mis-crystal-design-system-filter.mjs.map +1 -0
  214. package/{fesm2022 → fesm2020}/mis-crystal-design-system-input-stepper.mjs +34 -35
  215. package/{fesm2022 → fesm2020}/mis-crystal-design-system-input-stepper.mjs.map +1 -1
  216. package/{esm2022/input/mis-input.component.mjs → fesm2020/mis-crystal-design-system-input.mjs} +109 -49
  217. package/{fesm2022 → fesm2020}/mis-crystal-design-system-input.mjs.map +1 -1
  218. package/fesm2020/mis-crystal-design-system-loader.mjs +50 -0
  219. package/{fesm2022 → fesm2020}/mis-crystal-design-system-loader.mjs.map +1 -1
  220. package/{fesm2022 → fesm2020}/mis-crystal-design-system-menu.mjs +16 -16
  221. package/{fesm2022 → fesm2020}/mis-crystal-design-system-menu.mjs.map +1 -1
  222. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +206 -0
  223. package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
  224. package/{fesm2022 → fesm2020}/mis-crystal-design-system-modal.mjs +33 -34
  225. package/{fesm2022 → fesm2020}/mis-crystal-design-system-modal.mjs.map +1 -1
  226. package/{fesm2022 → fesm2020}/mis-crystal-design-system-multi-select-dropdown.mjs +109 -107
  227. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  228. package/{fesm2022 → fesm2020}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +129 -128
  229. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  230. package/{fesm2022 → fesm2020}/mis-crystal-design-system-phone-input.mjs +21 -22
  231. package/{fesm2022 → fesm2020}/mis-crystal-design-system-phone-input.mjs.map +1 -1
  232. package/fesm2020/mis-crystal-design-system-radio-button.mjs +82 -0
  233. package/{fesm2022 → fesm2020}/mis-crystal-design-system-radio-button.mjs.map +1 -1
  234. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +76 -0
  235. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  236. package/fesm2020/mis-crystal-design-system-slider.mjs +79 -0
  237. package/{fesm2022 → fesm2020}/mis-crystal-design-system-slider.mjs.map +1 -1
  238. package/{fesm2022 → fesm2020}/mis-crystal-design-system-snackbar.mjs +32 -32
  239. package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +1 -0
  240. package/{fesm2022 → fesm2020}/mis-crystal-design-system-specificdatepicker.mjs +204 -204
  241. package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
  242. package/{fesm2022 → fesm2020}/mis-crystal-design-system-star-rating.mjs +28 -29
  243. package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +1 -0
  244. package/fesm2020/mis-crystal-design-system-styles.mjs +4 -0
  245. package/fesm2020/mis-crystal-design-system-styles.mjs.map +1 -0
  246. package/fesm2020/mis-crystal-design-system-switch.mjs +81 -0
  247. package/fesm2020/mis-crystal-design-system-switch.mjs.map +1 -0
  248. package/{fesm2022 → fesm2020}/mis-crystal-design-system-table.mjs +321 -314
  249. package/fesm2020/mis-crystal-design-system-table.mjs.map +1 -0
  250. package/{fesm2022 → fesm2020}/mis-crystal-design-system-timepicker.mjs +74 -78
  251. package/{fesm2022 → fesm2020}/mis-crystal-design-system-timepicker.mjs.map +1 -1
  252. package/{fesm2022 → fesm2020}/mis-crystal-design-system-timerangepicker.mjs +25 -26
  253. package/{fesm2022 → fesm2020}/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
  254. package/{fesm2022 → fesm2020}/mis-crystal-design-system-toast.mjs +34 -35
  255. package/{fesm2022 → fesm2020}/mis-crystal-design-system-toast.mjs.map +1 -1
  256. package/{fesm2022 → fesm2020}/mis-crystal-design-system-tooltip.mjs +47 -47
  257. package/{fesm2022 → fesm2020}/mis-crystal-design-system-tooltip.mjs.map +1 -1
  258. package/fesm2020/mis-crystal-design-system-utils.mjs +24 -0
  259. package/fesm2020/mis-crystal-design-system-utils.mjs.map +1 -0
  260. package/{fesm2022 → fesm2020}/mis-crystal-design-system-virtual-scroll.mjs +52 -50
  261. package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
  262. package/{fesm2022 → fesm2020}/mis-crystal-design-system-widgets.mjs +4 -4
  263. package/{fesm2022 → fesm2020}/mis-crystal-design-system-widgets.mjs.map +1 -1
  264. package/fesm2020/mis-crystal-design-system.mjs +24 -0
  265. package/fesm2020/mis-crystal-design-system.mjs.map +1 -0
  266. package/filter/filter-panel/filter-panel.component.d.ts +4 -3
  267. package/input/directives/input/input.directive.d.ts +1 -1
  268. package/input/mis-input.component.d.ts +1 -1
  269. package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
  270. package/loader/loader.component.d.ts +1 -1
  271. package/menu/menu-close.directive.d.ts +1 -1
  272. package/menu/menu.directive.d.ts +1 -1
  273. package/mobile-filter/mobile-filter.component.d.ts +1 -1
  274. package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
  275. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
  276. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
  277. package/package.json +204 -122
  278. package/phone-input/phone-input.component.d.ts +1 -1
  279. package/radio-button/radio-button.component.d.ts +1 -1
  280. package/ske-loader/ske-loader.component.d.ts +1 -1
  281. package/slider/slider.component.d.ts +1 -1
  282. package/snackbar/snackbar/snackbar.component.d.ts +1 -1
  283. package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
  284. package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
  285. package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
  286. package/star-rating/star-rating.component.d.ts +1 -1
  287. package/switch/switch.component.d.ts +1 -1
  288. package/table/custom-table-cell.directive.d.ts +1 -1
  289. package/table/filter/filter.component.d.ts +1 -1
  290. package/table/sub-table/sub-table.component.d.ts +1 -1
  291. package/table/table.component.d.ts +1 -1
  292. package/timepicker/timepicker.component.d.ts +1 -1
  293. package/timepicker/timepicker.directive.d.ts +1 -1
  294. package/timerangepicker/timerange.namespace.d.ts +1 -1
  295. package/timerangepicker/timerangepicker.component.d.ts +1 -1
  296. package/toast/toast.component.d.ts +1 -1
  297. package/toast/toast.service.d.ts +1 -1
  298. package/tooltip/models/tooltip.model.d.ts +1 -1
  299. package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
  300. package/tooltip/tooltip.directive.d.ts +1 -1
  301. package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
  302. package/widgets/interfaces/widgets.model.d.ts +1 -1
  303. package/esm2022/action-list/action-list.component.mjs +0 -363
  304. package/esm2022/analytics/analytics.service.mjs +0 -64
  305. package/esm2022/async-search-dropdown/async-dropdown.component.mjs +0 -519
  306. package/esm2022/button/button.component.mjs +0 -88
  307. package/esm2022/button/button.directive.mjs +0 -61
  308. package/esm2022/checkbox/checkbox.component.mjs +0 -124
  309. package/esm2022/chip/chip.component.mjs +0 -82
  310. package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +0 -183
  311. package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -442
  312. package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -165
  313. package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -503
  314. package/esm2022/daterangepicker_v2/utils/index.mjs +0 -45
  315. package/esm2022/drawer/drawer-body/drawer-body.component.mjs +0 -59
  316. package/esm2022/dropdown/calculate-container-height.directive.mjs +0 -41
  317. package/esm2022/dropdown/dropdown.component.mjs +0 -464
  318. package/esm2022/dynamic-form/dynamic-form.component.mjs +0 -1093
  319. package/esm2022/fab/fab.component.mjs +0 -145
  320. package/esm2022/filter/filter-panel/filter-panel.component.mjs +0 -396
  321. package/esm2022/filter/has-value.pipe.mjs +0 -31
  322. package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +0 -89
  323. package/esm2022/loader/loader.component.mjs +0 -25
  324. package/esm2022/menu/menu-close.directive.mjs +0 -25
  325. package/esm2022/mobile-filter/mobile-filter.component.mjs +0 -180
  326. package/esm2022/modal/modal.service.mjs +0 -70
  327. package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +0 -56
  328. package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -489
  329. package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -516
  330. package/esm2022/phone-input/phone-input.component.mjs +0 -72
  331. package/esm2022/radio-button/radio-button.component.mjs +0 -57
  332. package/esm2022/ske-loader/ske-loader.component.mjs +0 -54
  333. package/esm2022/slider/slider.component.mjs +0 -46
  334. package/esm2022/snackbar/snackbar/snackbar.component.mjs +0 -72
  335. package/esm2022/snackbar/snackbar.service.mjs +0 -47
  336. package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -646
  337. package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
  338. package/esm2022/specificdatepicker/utils/index.mjs +0 -45
  339. package/esm2022/star-rating/star-rating.component.mjs +0 -113
  340. package/esm2022/switch/switch.component.mjs +0 -56
  341. package/esm2022/table/custom-table-cell.directive.mjs +0 -42
  342. package/esm2022/table/filter/filter.component.mjs +0 -177
  343. package/esm2022/table/sub-table/sub-table.component.mjs +0 -192
  344. package/esm2022/table/table.component.mjs +0 -485
  345. package/esm2022/timepicker/timepicker.component.mjs +0 -374
  346. package/esm2022/timepicker/timepicker.directive.mjs +0 -69
  347. package/esm2022/timerangepicker/timerangepicker.component.mjs +0 -237
  348. package/esm2022/toast/toast.component.mjs +0 -51
  349. package/esm2022/toast/toast.service.mjs +0 -91
  350. package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +0 -79
  351. package/esm2022/tooltip/tooltip.directive.mjs +0 -143
  352. package/esm2022/virtual-scroll/virtual-scroll.component.mjs +0 -188
  353. package/esm2022/widgets/classes/async-widget.mjs +0 -23
  354. package/esm2022/widgets/classes/sync-widget.mjs +0 -20
  355. package/fesm2022/mis-crystal-design-system-action-list.mjs.map +0 -1
  356. package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
  357. package/fesm2022/mis-crystal-design-system-button.mjs +0 -173
  358. package/fesm2022/mis-crystal-design-system-button.mjs.map +0 -1
  359. package/fesm2022/mis-crystal-design-system-checkbox.mjs +0 -150
  360. package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +0 -1
  361. package/fesm2022/mis-crystal-design-system-chip.mjs +0 -108
  362. package/fesm2022/mis-crystal-design-system-chip.mjs.map +0 -1
  363. package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
  364. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +0 -737
  365. package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
  366. package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +0 -1
  367. package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
  368. package/fesm2022/mis-crystal-design-system-fab.mjs.map +0 -1
  369. package/fesm2022/mis-crystal-design-system-filter.mjs.map +0 -1
  370. package/fesm2022/mis-crystal-design-system-input.mjs +0 -146
  371. package/fesm2022/mis-crystal-design-system-loader.mjs +0 -51
  372. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +0 -205
  373. package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
  374. package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
  375. package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
  376. package/fesm2022/mis-crystal-design-system-radio-button.mjs +0 -83
  377. package/fesm2022/mis-crystal-design-system-ske-loader.mjs +0 -77
  378. package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +0 -1
  379. package/fesm2022/mis-crystal-design-system-slider.mjs +0 -80
  380. package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +0 -1
  381. package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
  382. package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +0 -1
  383. package/fesm2022/mis-crystal-design-system-switch.mjs +0 -82
  384. package/fesm2022/mis-crystal-design-system-switch.mjs.map +0 -1
  385. package/fesm2022/mis-crystal-design-system-table.mjs.map +0 -1
  386. package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
  387. /package/{esm2022 → esm2020}/action-list/index.mjs +0 -0
  388. /package/{esm2022 → esm2020}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
  389. /package/{esm2022 → esm2020}/action-list/public_api.mjs +0 -0
  390. /package/{esm2022 → esm2020}/analytics/index.mjs +0 -0
  391. /package/{esm2022 → esm2020}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
  392. /package/{esm2022 → esm2020}/analytics/public_api.mjs +0 -0
  393. /package/{esm2022 → esm2020}/async-search-dropdown/index.mjs +0 -0
  394. /package/{esm2022 → esm2020}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
  395. /package/{esm2022 → esm2020}/async-search-dropdown/public_api.mjs +0 -0
  396. /package/{esm2022 → esm2020}/button/index.mjs +0 -0
  397. /package/{esm2022 → esm2020}/button/mis-crystal-design-system-button.mjs +0 -0
  398. /package/{esm2022 → esm2020}/button/public_api.mjs +0 -0
  399. /package/{esm2022 → esm2020}/checkbox/index.mjs +0 -0
  400. /package/{esm2022 → esm2020}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
  401. /package/{esm2022 → esm2020}/checkbox/public_api.mjs +0 -0
  402. /package/{esm2022 → esm2020}/chip/index.mjs +0 -0
  403. /package/{esm2022 → esm2020}/chip/mis-crystal-design-system-chip.mjs +0 -0
  404. /package/{esm2022 → esm2020}/chip/public_api.mjs +0 -0
  405. /package/{esm2022 → esm2020}/datepicker_v2/datepicker-constants.mjs +0 -0
  406. /package/{esm2022 → esm2020}/datepicker_v2/index.mjs +0 -0
  407. /package/{esm2022 → esm2020}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
  408. /package/{esm2022 → esm2020}/datepicker_v2/models/dp-config.model.mjs +0 -0
  409. /package/{esm2022 → esm2020}/datepicker_v2/public_api.mjs +0 -0
  410. /package/{esm2022 → esm2020}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
  411. /package/{esm2022 → esm2020}/daterangepicker_v2/index.mjs +0 -0
  412. /package/{esm2022 → esm2020}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
  413. /package/{esm2022 → esm2020}/daterangepicker_v2/models/drp-config.model.mjs +0 -0
  414. /package/{esm2022 → esm2020}/daterangepicker_v2/public_api.mjs +0 -0
  415. /package/{esm2022 → esm2020}/drawer/drawer-constants.mjs +0 -0
  416. /package/{esm2022 → esm2020}/drawer/index.mjs +0 -0
  417. /package/{esm2022 → esm2020}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
  418. /package/{esm2022 → esm2020}/drawer/public_api.mjs +0 -0
  419. /package/{esm2022 → esm2020}/dropdown/index.mjs +0 -0
  420. /package/{esm2022 → esm2020}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
  421. /package/{esm2022 → esm2020}/dropdown/public_api.mjs +0 -0
  422. /package/{esm2022 → esm2020}/dynamic-form/dynamic-form.namespace.mjs +0 -0
  423. /package/{esm2022 → esm2020}/dynamic-form/index.mjs +0 -0
  424. /package/{esm2022 → esm2020}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
  425. /package/{esm2022 → esm2020}/dynamic-form/public_api.mjs +0 -0
  426. /package/{esm2022 → esm2020}/fab/index.mjs +0 -0
  427. /package/{esm2022 → esm2020}/fab/mis-crystal-design-system-fab.mjs +0 -0
  428. /package/{esm2022 → esm2020}/fab/public_api.mjs +0 -0
  429. /package/{esm2022 → esm2020}/filter/animations/slideFromRight.mjs +0 -0
  430. /package/{esm2022 → esm2020}/filter/index.mjs +0 -0
  431. /package/{esm2022 → esm2020}/filter/mis-crystal-design-system-filter.mjs +0 -0
  432. /package/{esm2022 → esm2020}/filter/public_api.mjs +0 -0
  433. /package/{esm2022 → esm2020}/index.mjs +0 -0
  434. /package/{esm2022 → esm2020}/input/index.mjs +0 -0
  435. /package/{esm2022 → esm2020}/input/mis-crystal-design-system-input.mjs +0 -0
  436. /package/{esm2022 → esm2020}/input/public_api.mjs +0 -0
  437. /package/{esm2022 → esm2020}/input-stepper/index.mjs +0 -0
  438. /package/{esm2022 → esm2020}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
  439. /package/{esm2022 → esm2020}/input-stepper/public_api.mjs +0 -0
  440. /package/{esm2022 → esm2020}/loader/index.mjs +0 -0
  441. /package/{esm2022 → esm2020}/loader/mis-crystal-design-system-loader.mjs +0 -0
  442. /package/{esm2022 → esm2020}/loader/public_api.mjs +0 -0
  443. /package/{esm2022 → esm2020}/menu/index.mjs +0 -0
  444. /package/{esm2022 → esm2020}/menu/mis-crystal-design-system-menu.mjs +0 -0
  445. /package/{esm2022 → esm2020}/menu/public_api.mjs +0 -0
  446. /package/{esm2022 → esm2020}/mis-crystal-design-system.mjs +0 -0
  447. /package/{esm2022 → esm2020}/mobile-filter/index.mjs +0 -0
  448. /package/{esm2022 → esm2020}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
  449. /package/{esm2022 → esm2020}/mobile-filter/public_api.mjs +0 -0
  450. /package/{esm2022 → esm2020}/modal/index.mjs +0 -0
  451. /package/{esm2022 → esm2020}/modal/mis-crystal-design-system-modal.mjs +0 -0
  452. /package/{esm2022 → esm2020}/modal/modal-constants.mjs +0 -0
  453. /package/{esm2022 → esm2020}/modal/modal-ref.mjs +0 -0
  454. /package/{esm2022 → esm2020}/modal/public_api.mjs +0 -0
  455. /package/{esm2022 → esm2020}/multi-select-dropdown/index.mjs +0 -0
  456. /package/{esm2022 → esm2020}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
  457. /package/{esm2022 → esm2020}/multi-select-dropdown/public_api.mjs +0 -0
  458. /package/{esm2022 → esm2020}/nested-multi-select-dropdown/index.mjs +0 -0
  459. /package/{esm2022 → esm2020}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
  460. /package/{esm2022 → esm2020}/nested-multi-select-dropdown/public_api.mjs +0 -0
  461. /package/{esm2022 → esm2020}/phone-input/index.mjs +0 -0
  462. /package/{esm2022 → esm2020}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
  463. /package/{esm2022 → esm2020}/phone-input/public_api.mjs +0 -0
  464. /package/{esm2022 → esm2020}/public-api.mjs +0 -0
  465. /package/{esm2022 → esm2020}/radio-button/index.mjs +0 -0
  466. /package/{esm2022 → esm2020}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
  467. /package/{esm2022 → esm2020}/radio-button/public_api.mjs +0 -0
  468. /package/{esm2022 → esm2020}/ske-loader/index.mjs +0 -0
  469. /package/{esm2022 → esm2020}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
  470. /package/{esm2022 → esm2020}/ske-loader/public_api.mjs +0 -0
  471. /package/{esm2022 → esm2020}/slider/index.mjs +0 -0
  472. /package/{esm2022 → esm2020}/slider/mis-crystal-design-system-slider.mjs +0 -0
  473. /package/{esm2022 → esm2020}/slider/public_api.mjs +0 -0
  474. /package/{esm2022 → esm2020}/snackbar/index.mjs +0 -0
  475. /package/{esm2022 → esm2020}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
  476. /package/{esm2022 → esm2020}/snackbar/public_api.mjs +0 -0
  477. /package/{esm2022 → esm2020}/specificdatepicker/daterangepicker-constants.mjs +0 -0
  478. /package/{esm2022 → esm2020}/specificdatepicker/index.mjs +0 -0
  479. /package/{esm2022 → esm2020}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
  480. /package/{esm2022 → esm2020}/specificdatepicker/models/sdp-config.model.mjs +0 -0
  481. /package/{esm2022 → esm2020}/specificdatepicker/public_api.mjs +0 -0
  482. /package/{esm2022 → esm2020}/star-rating/index.mjs +0 -0
  483. /package/{esm2022 → esm2020}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
  484. /package/{esm2022 → esm2020}/star-rating/public_api.mjs +0 -0
  485. /package/{esm2022 → esm2020}/styles/index.mjs +0 -0
  486. /package/{esm2022 → esm2020}/styles/mis-crystal-design-system-styles.mjs +0 -0
  487. /package/{esm2022 → esm2020}/styles/public_api.mjs +0 -0
  488. /package/{esm2022 → esm2020}/switch/index.mjs +0 -0
  489. /package/{esm2022 → esm2020}/switch/mis-crystal-design-system-switch.mjs +0 -0
  490. /package/{esm2022 → esm2020}/switch/public_api.mjs +0 -0
  491. /package/{esm2022 → esm2020}/table/index.mjs +0 -0
  492. /package/{esm2022 → esm2020}/table/mis-crystal-design-system-table.mjs +0 -0
  493. /package/{esm2022 → esm2020}/table/public_api.mjs +0 -0
  494. /package/{esm2022 → esm2020}/timepicker/index.mjs +0 -0
  495. /package/{esm2022 → esm2020}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
  496. /package/{esm2022 → esm2020}/timepicker/public_api.mjs +0 -0
  497. /package/{esm2022 → esm2020}/timepicker/time.namespace.mjs +0 -0
  498. /package/{esm2022 → esm2020}/timerangepicker/index.mjs +0 -0
  499. /package/{esm2022 → esm2020}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
  500. /package/{esm2022 → esm2020}/timerangepicker/public_api.mjs +0 -0
  501. /package/{esm2022 → esm2020}/timerangepicker/timerange.namespace.mjs +0 -0
  502. /package/{esm2022 → esm2020}/toast/index.mjs +0 -0
  503. /package/{esm2022 → esm2020}/toast/mis-crystal-design-system-toast.mjs +0 -0
  504. /package/{esm2022 → esm2020}/toast/public_api.mjs +0 -0
  505. /package/{esm2022 → esm2020}/tooltip/index.mjs +0 -0
  506. /package/{esm2022 → esm2020}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
  507. /package/{esm2022 → esm2020}/tooltip/models/tooltip.model.mjs +0 -0
  508. /package/{esm2022 → esm2020}/tooltip/public_api.mjs +0 -0
  509. /package/{esm2022 → esm2020}/utils/index.mjs +0 -0
  510. /package/{esm2022 → esm2020}/utils/mis-crystal-design-system-utils.mjs +0 -0
  511. /package/{esm2022 → esm2020}/virtual-scroll/index.mjs +0 -0
  512. /package/{esm2022 → esm2020}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
  513. /package/{esm2022 → esm2020}/virtual-scroll/public_api.mjs +0 -0
  514. /package/{esm2022 → esm2020}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
  515. /package/{esm2022 → esm2020}/widgets/classes/widget-group.mjs +0 -0
  516. /package/{esm2022 → esm2020}/widgets/index.mjs +0 -0
  517. /package/{esm2022 → esm2020}/widgets/interfaces/widgets.model.mjs +0 -0
  518. /package/{esm2022 → esm2020}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
  519. /package/{esm2022 → esm2020}/widgets/public_api.mjs +0 -0
  520. /package/{fesm2022 → fesm2015}/mis-crystal-design-system-styles.mjs +0 -0
  521. /package/{fesm2022 → fesm2015}/mis-crystal-design-system-styles.mjs.map +0 -0
  522. /package/{fesm2022 → fesm2015}/mis-crystal-design-system-utils.mjs +0 -0
  523. /package/{fesm2022 → fesm2015}/mis-crystal-design-system-utils.mjs.map +0 -0
  524. /package/{fesm2022 → fesm2015}/mis-crystal-design-system.mjs +0 -0
  525. /package/{fesm2022 → fesm2015}/mis-crystal-design-system.mjs.map +0 -0
@@ -1,72 +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 = a0 => ({ "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
- static { this.ɵfac = function PhoneInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PhoneInputComponent)(); }; }
25
- static { this.ɵ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, "onChange", "height", "dropdownListWidth", "dropdownListHeight", "width", "data", "selectedItem", "label", "searchEnabled", "multiLine", "searchLabel"], [1, "details-field"], [1, "input-box"], [1, "black-text", 3, "ngStyle", "placeholder", "formControl", "type"]], template: function PhoneInputComponent_Template(rf, ctx) { if (rf & 1) {
26
- i0.ɵɵelementStart(0, "div", 0)(1, "mis-dropdown", 1);
27
- i0.ɵɵlistener("onChange", function PhoneInputComponent_Template_mis_dropdown_onChange_1_listener($event) { return ctx.handleDropdownSelection($event); });
28
- i0.ɵɵelementEnd();
29
- i0.ɵɵelementStart(2, "div", 2)(3, "div", 3);
30
- i0.ɵɵelement(4, "input", 4);
31
- i0.ɵɵelementEnd()()();
32
- } if (rf & 2) {
33
- i0.ɵɵadvance();
34
- 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);
35
- i0.ɵɵadvance(3);
36
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(14, _c0, ctx.inputHeight))("placeholder", ctx.inputPlaceholder)("formControl", ctx.inputFormControl)("type", ctx.inputType);
37
- } }, 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}"] }); }
38
- }
39
- (() => { (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
- }], () => [], { 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
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PhoneInputComponent, { className: "PhoneInputComponent" }); })();
72
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvcGhvbmUtaW5wdXQvcGhvbmUtaW5wdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvcGhvbmUtaW5wdXQvcGhvbmUtaW5wdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRyxZQUFZLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNoRixPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Ozs7OztBQVE3QyxNQUFNLE9BQU8sbUJBQW1CO0lBa0I5QjtRQWRTLGlCQUFZLEdBQW1CLEVBQUUsQ0FBQztRQU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h0XCIgW2Ryb3Bkb3duTGlzdFdpZHRoXT1cImRyb3Bkb3duTGlzdFdpZHRoXCJbZHJvcGRvd25MaXN0SGVpZ2h0XT1cImRyb3Bkb3duTGlzdEhlaWdodFwiIFt3aWR0aF09XCJkcm9wZG93bldpZHRoXCIgW2RhdGFdPVwiZHJvcGRvd25EYXRhXCIgW3NlbGVjdGVkSXRlbV09XCJkcm9wZG93blNlbGVjdGVkSXRlbVwiIFtsYWJlbF09XCJsYWJlbFwiIFtzZWFyY2hFbmFibGVkXT1cInNlYXJjaEVuYWJsZWRcIiBbbXVsdGlMaW5lXT1cImZhbHNlXCIgKG9uQ2hhbmdlKT1cImhhbmRsZURyb3Bkb3duU2VsZWN0aW9uKCRldmVudClcIiBbc2VhcmNoTGFiZWxdPVwic2VhcmNoTGFiZWxcIj48L21pcy1kcm9wZG93bj5cbiAgPGRpdiBjbGFzcz1cImRldGFpbHMtZmllbGRcIj5cbiAgICA8ZGl2IGNsYXNzPVwiaW5wdXQtYm94XCI+XG4gICAgICA8aW5wdXRcbiAgICAgIFtuZ1N0eWxlXT1cInsnaGVpZ2h0JzogaW5wdXRIZWlnaHQgfVwiXG4gICAgICAgIGNsYXNzPVwiYmxhY2stdGV4dFwiXG4gICAgICAgIFtwbGFjZWhvbGRlcl09XCJpbnB1dFBsYWNlaG9sZGVyXCJcbiAgICAgICAgW2Zvcm1Db250cm9sXT1cImlucHV0Rm9ybUNvbnRyb2xcIiBcbiAgICAgICAgW3R5cGVdPVwiaW5wdXRUeXBlXCJcbiAgICAgIC8+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -1,57 +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
- static { this.ɵfac = function RadioButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RadioButtonComponent)(); }; }
31
- static { this.ɵ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, "change", "keup.enter", "id", "name", "disabled", "value", "formControl"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
32
- i0.ɵɵelementStart(0, "input", 0);
33
- 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); });
34
- i0.ɵɵelementEnd();
35
- } if (rf & 2) {
36
- i0.ɵɵpropertyInterpolate("id", ctx.id);
37
- i0.ɵɵproperty("name", ctx.name)("disabled", ctx.disabled)("value", ctx.value)("formControl", ctx.formControl);
38
- } }, dependencies: [i1.DefaultValueAccessor, i1.RadioControlValueAccessor, i1.NgControlStatus, i1.FormControlDirective], styles: ["input[type=radio][_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;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}"] }); }
39
- }
40
- (() => { (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]{-webkit-appearance:none;-moz-appearance:none;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
- }], () => [], { 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: Output
55
- }] }); })();
56
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RadioButtonComponent, { className: "RadioButtonComponent" }); })();
57
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8tYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2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vcm1Db250cm9sLnZhbHVlKTtcbiAgfVxufVxuIiwiPGlucHV0IFxuICAgIChjaGFuZ2UpPVwib25DaGFuZ2UoJGV2ZW50KVwiIFxuICAgIChrZXVwLmVudGVyKT1cIm9uQ2hhbmdlKCRldmVudClcIlxuICAgIHRhYmluZGV4PVwiLTFcIlxuICAgIGlkPVwie3sgaWQgfX1cIiB0eXBlPVwicmFkaW9cIiBcbiAgICBbbmFtZV09XCJuYW1lXCIgW2Rpc2FibGVkXT1cImRpc2FibGVkXCIgXG4gICAgW3ZhbHVlXT1cInZhbHVlXCJcbiAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIiBcbi8+XG4iXX0=
@@ -1,54 +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 = (a0, a1) => ({ overflow: "hidden", height: a0, width: a1 });
5
- const _c1 = (a0, a1) => ({ "height": a0, "margin-bottom": a1 });
6
- function SkeLoaderComponent_div_1_Template(rf, ctx) { if (rf & 1) {
7
- i0.ɵɵelementStart(0, "div");
8
- i0.ɵɵelement(1, "div", 2);
9
- i0.ɵɵelementEnd();
10
- } if (rf & 2) {
11
- const ctx_r0 = i0.ɵɵnextContext();
12
- i0.ɵɵadvance();
13
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(1, _c1, ctx_r0.lineHeight, ctx_r0.gap));
14
- } }
15
- export class SkeLoaderComponent {
16
- set count(num) {
17
- this.rowCount = Array(num);
18
- }
19
- ;
20
- constructor() {
21
- this.rowCount = [1];
22
- this.lineHeight = '20px';
23
- this.height = '100%';
24
- this.width = '100%';
25
- this.gap = '8px';
26
- }
27
- ngOnInit() { }
28
- static { this.ɵfac = function SkeLoaderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SkeLoaderComponent)(); }; }
29
- static { this.ɵ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) {
30
- i0.ɵɵelementStart(0, "div", 0);
31
- i0.ɵɵtemplate(1, SkeLoaderComponent_div_1_Template, 2, 4, "div", 1);
32
- i0.ɵɵelementEnd();
33
- } if (rf & 2) {
34
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(2, _c0, ctx.height, ctx.width));
35
- i0.ɵɵadvance();
36
- i0.ɵɵproperty("ngForOf", ctx.rowCount);
37
- } }, dependencies: [i1.NgForOf, i1.NgStyle], styles: [".ske-loader[_ngcontent-%COMP%]{background:gray;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 _ngcontent-%COMP%_shine linear infinite;overflow:hidden}@keyframes _ngcontent-%COMP%_shine{to{background-position-x:-200%}}"] }); }
38
- }
39
- (() => { (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:gray;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
- }], () => [], { 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
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SkeLoaderComponent, { className: "SkeLoaderComponent" }); })();
54
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tlLWxvYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy9za2UtbG9hZGVyL3NrZS1sb2FkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvc2tlLWxvYWRlci9za2UtbG9hZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7Ozs7SUNLckQsMkJBQWdEO0lBQzVDLHlCQUErRjtJQUNuRyxpQkFBTTs7O0lBRHNCLGNBQWdFO0lBQWhFLG1GQUFnRTs7QURDaEcsTUFBTSxPQUFPLGtCQUFrQjtJQUc3QixJQUFhLEtBQUssQ0FBQyxHQUFXO1FBQzVCLElBQUksQ0FBQyxRQUFRLEdBQUcsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFBO0lBQzVCLENBQUM7SUFBQSxDQUFDO0lBTUY7UUFUQSxhQUFRLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUlOLGVBQVUsR0FBVyxNQUFNLENBQUM7UUFDNUIsV0FBTSxHQUFXLE1BQU0sQ0FBQztRQUN4QixVQUFLLEdBQVcsTUFBTSxDQUFDO1FBQ3ZCLFFBQUcsR0FBVyxLQUFLLENBQUE7SUFFWixDQUFDO0lBRWpCLFFBQVEsS0FBVSxDQUFDO21IQWJSLGtCQUFrQjtvRUFBb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blxufVxuIiwiPGRpdiBbbmdTdHlsZV09XCJ7XG4gICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgIGhlaWdodDogdGhpcy5oZWlnaHQsXG4gICAgd2lkdGg6IHRoaXMud2lkdGhcbiAgfVwiPlxuICAgIDxkaXYgKm5nRm9yPVwibGV0IG4gb2Ygcm93Q291bnQ7IGxldCBpID0gaW5kZXg7XCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJza2UtbG9hZGVyXCIgW25nU3R5bGVdPVwieydoZWlnaHQnOnRoaXMubGluZUhlaWdodCwnbWFyZ2luLWJvdHRvbSc6dGhpcy5nYXAgfVwiPjwvZGl2PlxuICAgIDwvZGl2PlxuPC9kaXY+XG4iXX0=
@@ -1,46 +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
- static { this.ɵfac = function SliderComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SliderComponent)(i0.ɵɵdirectiveInject(i1.UntypedFormBuilder)); }; }
23
- static { this.ɵ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, "input", "min", "max"]], template: function SliderComponent_Template(rf, ctx) { if (rf & 1) {
24
- i0.ɵɵelementStart(0, "form", 0)(1, "div", 1)(2, "input", 2);
25
- i0.ɵɵlistener("input", function SliderComponent_Template_input_input_2_listener($event) { return ctx.onInputChange($event.target.value); });
26
- i0.ɵɵelementEnd()()();
27
- } if (rf & 2) {
28
- i0.ɵɵproperty("formGroup", ctx.sliderForm);
29
- i0.ɵɵadvance(2);
30
- i0.ɵɵproperty("min", ctx.min)("max", ctx.max);
31
- } }, 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}.slider[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]{width:100%;-webkit-appearance:none;appearance:none;height:8px;background:#cbddfb;outline:none;border-radius:5px}.slider[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;background:#0937b2;cursor:pointer;border-radius:50%}.slider[_ngcontent-%COMP%] input[type=range][_ngcontent-%COMP%]::-moz-range-thumb{width:15px;height:15px;background:#0937b2;cursor:pointer;border-radius:50%}.slider[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:10px}"] }); }
32
- }
33
- (() => { (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}.slider input[type=range]{width:100%;-webkit-appearance:none;appearance:none;height:8px;background:#cbddfb;outline:none;border-radius:5px}.slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:22px;height:22px;background:#0937b2;cursor:pointer;border-radius:50%}.slider input[type=range]::-moz-range-thumb{width:15px;height:15px;background:#0937b2;cursor:pointer;border-radius:50%}.slider span{margin-left:10px}\n"] }]
36
- }], () => [{ type: i1.UntypedFormBuilder }], { min: [{
37
- type: Input
38
- }], max: [{
39
- type: Input
40
- }], value: [{
41
- type: Input
42
- }], valueChange: [{
43
- type: Output
44
- }] }); })();
45
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SliderComponent, { className: "SliderComponent" }); })();
46
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL21pcy1jb21wb25lbnRzL3NsaWRlci9zbGlkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvc2xpZGVyL3NsaWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFRL0UsTUFBTSxPQUFPLGVBQWU7SUFTMUIsWUFBb0IsV0FBK0I7UUFBL0IsZ0JBQVcsR0FBWCxXQUFXLENBQW9CO1FBUDFDLFFBQUcsR0FBVyxDQUFDLENBQUM7UUFDaEIsUUFBRyxHQUFXLEdBQUcsQ0FBQztRQUNsQixVQUFLLEdBQVcsQ0FBQyxDQUFDO1FBQ2pCLGdCQUFXLEdBQUcsSUFBSSxZQUFZLEVBQVUsQ0FBQTtJQUlLLENBQUM7SUFFeEQsUUFBUTtRQUNOLElBQUksQ0FBQyxVQUFVLEdBQUcsSUFBSSxDQUFDLFdBQVcsQ0FBQyxLQUFLLENBQUM7WUFDdkMsaUJBQWlCLEVBQUUsQ0FBQyxJQUFJLENBQ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hhbmdlKCRldmVudC50YXJnZXQudmFsdWUpXCIgLz5cbiAgICA8L2Rpdj5cbiAgPC9mb3JtPlxuICBcblxuICAiXX0=
@@ -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
- const _c0 = ["*"];
5
- function SnackbarComponent_div_1_img_2_Template(rf, ctx) { if (rf & 1) {
6
- i0.ɵɵelement(0, "img", 7);
7
- } if (rf & 2) {
8
- const ctx_r0 = i0.ɵɵnextContext(2);
9
- i0.ɵɵproperty("src", ctx_r0.config.iconUrl, i0.ɵɵsanitizeUrl);
10
- } }
11
- function SnackbarComponent_div_1_div_4_Template(rf, ctx) { if (rf & 1) {
12
- const _r2 = i0.ɵɵgetCurrentView();
13
- i0.ɵɵelementStart(0, "div", 8)(1, "button", 9);
14
- i0.ɵɵlistener("click", function SnackbarComponent_div_1_div_4_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.onActionClick()); });
15
- i0.ɵɵtext(2);
16
- i0.ɵɵelementEnd()();
17
- } if (rf & 2) {
18
- const ctx_r0 = i0.ɵɵnextContext(2);
19
- i0.ɵɵadvance(2);
20
- i0.ɵɵtextInterpolate(ctx_r0.config.actionString);
21
- } }
22
- function SnackbarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
23
- i0.ɵɵelementStart(0, "div", 3)(1, "span", 4);
24
- i0.ɵɵtemplate(2, SnackbarComponent_div_1_img_2_Template, 1, 1, "img", 5);
25
- i0.ɵɵtext(3);
26
- i0.ɵɵelementEnd();
27
- i0.ɵɵtemplate(4, SnackbarComponent_div_1_div_4_Template, 3, 1, "div", 6);
28
- i0.ɵɵelementEnd();
29
- } if (rf & 2) {
30
- const ctx_r0 = i0.ɵɵnextContext();
31
- i0.ɵɵadvance(2);
32
- i0.ɵɵproperty("ngIf", ctx_r0.config.iconUrl);
33
- i0.ɵɵadvance();
34
- i0.ɵɵtextInterpolate1(" ", ctx_r0.config.message, " ");
35
- i0.ɵɵadvance();
36
- i0.ɵɵproperty("ngIf", ctx_r0.config.actionString);
37
- } }
38
- function SnackbarComponent_div_2_Template(rf, ctx) { if (rf & 1) {
39
- i0.ɵɵelementStart(0, "div", 10);
40
- i0.ɵɵprojection(1);
41
- i0.ɵɵelementEnd();
42
- } }
43
- export class SnackbarComponent {
44
- constructor() {
45
- this.triggerAction = new EventEmitter();
46
- }
47
- onActionClick() {
48
- this.triggerAction.emit();
49
- }
50
- static { this.ɵfac = function SnackbarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SnackbarComponent)(); }; }
51
- static { this.ɵ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) {
52
- i0.ɵɵprojectionDef();
53
- i0.ɵɵelementStart(0, "div", 0);
54
- i0.ɵɵtemplate(1, SnackbarComponent_div_1_Template, 5, 3, "div", 1)(2, SnackbarComponent_div_2_Template, 2, 0, "div", 2);
55
- i0.ɵɵelementEnd();
56
- } if (rf & 2) {
57
- i0.ɵɵadvance();
58
- i0.ɵɵproperty("ngIf", !ctx.config.hasComponent);
59
- i0.ɵɵadvance();
60
- i0.ɵɵproperty("ngIf", ctx.config.hasComponent);
61
- } }, 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}}"] }); }
62
- }
63
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SnackbarComponent, [{
64
- type: Component,
65
- 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"] }]
66
- }], () => [], { config: [{
67
- type: Input
68
- }], triggerAction: [{
69
- type: Output
70
- }] }); })();
71
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SnackbarComponent, { className: "SnackbarComponent" }); })();
72
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hY2tiYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvc25hY2tiYXIvc25hY2tiYXIvc25hY2tiYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvc25hY2tiYXIvc25hY2tiYXIvc25hY2tiYXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7SUNHakUseUJBQTBEOzs7SUFBOUIsNkRBQXNCOzs7O0lBSWxELEFBREYsOEJBQXlELGdCQUNyQjtJQUExQixvTEFBUyxzQkFBZSxLQUFDO0lBQUMsWUFBeUI7SUFDN0QsQUFENkQsaUJBQVMsRUFDaEU7OztJQUQ4QixlQUF5QjtJQUF6QixnREFBeUI7OztJQUw3RCxBQURGLDhCQUFtRCxjQUMzQjtJQUNwQix3RUFBMEQ7SUFDMUQsWUFDRjtJQUFBLGlCQUFPO0lBQ1Asd0VBQXlEO0lBRzNELGlCQUFNOzs7SUFOSSxlQUFvQjtJQUFwQiw0Q0FBb0I7SUFDMUIsY0FDRjtJQURFLHNEQUNGO0lBQzhCLGNBQXlCO0lBQXpCLGlEQUF5Qjs7O0lBSXpELCtCQUE2RDtJQUMzRCxrQkFBeUI7SUFDM0IsaUJBQU07O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0aW9uQ2xpY2soKTogdm9pZCB7XG4gICAgdGhpcy50cmlnZ2VyQWN0aW9uLmVtaXQoKTtcbiAgfVxufVxuIiwiPGRpdiBjbGFzcz1cInNuYWNrYmFyLWNvbnRhaW5lclwiPlxuICA8ZGl2IGNsYXNzPVwibWVzc2FnZXNcIiAqbmdJZj1cIiFjb25maWcuaGFzQ29tcG9uZW50XCI+XG4gICAgPHNwYW4gY2xhc3M9XCJtZXNzYWdlXCI+XG4gICAgICA8aW1nICpuZ0lmPVwiY29uZmlnLmljb25VcmxcIiBbc3JjXT1cImNvbmZpZy5pY29uVXJsXCIgYWx0PVwiXCI+XG4gICAgICB7eyBjb25maWcubWVzc2FnZSB9fVxuICAgIDwvc3Bhbj5cbiAgICA8ZGl2IGNsYXNzPVwic25hY2tiYXItYWN0aW9uXCIgKm5nSWY9XCJjb25maWcuYWN0aW9uU3RyaW5nXCI+XG4gICAgICA8YnV0dG9uIChjbGljayk9XCJvbkFjdGlvbkNsaWNrKClcIj57eyBjb25maWcuYWN0aW9uU3RyaW5nIH19PC9idXR0b24+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuICA8ZGl2IGNsYXNzPVwiY29tcG9uZW50LWNvbnRhaW5lclwiICpuZ0lmPVwiY29uZmlnLmhhc0NvbXBvbmVudFwiPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
@@ -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
- static { this.ɵfac = function SnackbarService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SnackbarService)(i0.ɵɵinject(i1.Overlay)); }; }
39
- static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: SnackbarService, factory: SnackbarService.ɵfac, providedIn: "root" }); }
40
- }
41
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SnackbarService, [{
42
- type: Injectable,
43
- args: [{
44
- providedIn: "root"
45
- }]
46
- }], () => [{ type: i1.Overlay }], null); })();
47
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hY2tiYXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL21pcy1jb21wb25lbnRzL3NuYWNrYmFyL3NuYWNrYmFyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBU0EsT0FBTyxFQUFXLGFBQWEsRUFBYyxNQUFNLHNCQUFzQixDQUFDO0FBQzFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN0RCxPQUFPLEVBQWdCLFVBQVUsRUFBRSxNQUFNLGV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