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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mis-crystal-design-system-filter.mjs","sources":["../../../projects/mis-components/filter/animations/slideFromRight.ts","../../../projects/mis-components/filter/has-value.pipe.ts","../../../projects/mis-components/filter/filter-panel/filter-panel.component.html","../../../projects/mis-components/filter/filter-panel/filter-panel.component.ts","../../../projects/mis-components/filter/filters.module.ts","../../../projects/mis-components/filter/mis-crystal-design-system-filter.ts"],"sourcesContent":["import { trigger, style, animate, transition } from '@angular/animations';\n\nexport const slideFromRight = trigger('slideFromRight', [\n transition(':enter', [\n style({ transform: 'translateX(100%)' }),\n animate('200ms cubic-bezier(0.4, 0.0, 0.2, 1)', style({ transform: 'translateX(0)' }))\n ]),\n\n transition(':leave', [\n style({ transform: 'translateX(0)' }),\n animate('200ms cubic-bezier(0.4, 0.0, 0.2, 1)', style({ transform: 'translateX(100%)' }))\n ])\n]);\n","import { Pipe, PipeTransform } from '@angular/core';\n\n/**\n * HasValuePipe\n * This pipe is use to check given value should not null or undefined \n * Its also check object, Its hould not be empty\n */\n@Pipe({\n name: 'hasValue',\n})\nexport class HasValuePipe implements PipeTransform {\n transform(value: any): any {\n if (Array.isArray(value) && value.length === 0) {\n return false;\n }\n /* This was evaluating dateObject as false*/\n if (value instanceof Date) {\n return true;\n }\n if (typeof value === 'object' && value !== null) {\n return Object.keys(value).length >= 1;\n }\n return value !== null && value !== undefined && value !== '';\n }\n}\n","<div class=\"filter-panel-container\" *ngIf=\"show\" @slideFromRight> \n <div class=\"panel-header\">\n <span>Filters</span>\n <svg class=\"close-icon\" (click)=\"closePanel()\" width=\"25\" height=\"25\" viewBox=\"0 0 25 25\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <g id=\"ic-navigation-cancel-24\">\n <path id=\"Union\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8.60468 6.64355C8.09036 6.12923 7.25649 6.12923 6.74218 6.64355C6.22787 7.15786 6.22787 7.99173 6.74218 8.50604L10.4938 12.2576L6.7431 16.0083C6.22879 16.5226 6.22879 17.3564 6.7431 17.8708C7.25742 18.3851 8.09129 18.3851 8.6056 17.8708L12.3562 14.1201L16.1068 17.8707C16.6211 18.385 17.455 18.385 17.9693 17.8707C18.4836 17.3564 18.4836 16.5225 17.9693 16.0082L14.2187 12.2576L17.9702 8.50613C18.4845 7.99181 18.4845 7.15794 17.9702 6.64363C17.4559 6.12932 16.622 6.12932 16.1077 6.64363L12.3562 10.3951L8.60468 6.64355Z\" fill=\"#181F33\"/>\n </g>\n </svg> \n </div>\n \n <div class=\"horizontal-divider first\"></div>\n \n <div class=\"filters\" [formGroup]=\"filterForm\">\n <ng-container *ngFor=\"let filter of config; let last = last\">\n <div class=\"filter\" *ngIf=\"!filter.hidden\">\n <span class=\"filter-title\">{{filter.title}}</span>\n\n <ng-container *ngIf=\"filter.type === 'multiSelect'\">\n <div class=\"multiselect-filter\">\n <mis-multi-select-dropdown class=\"no-padding\" [label]=\"filter.placeholder || 'Select'\" [selectedItems]=\"filterForm.get(filter.key).value\" (onChange)=\"handleSelect($event, filter.key, filter)\" [data]=\"filter.options\" [searchEnabled]=\"true\"\n [showSelectedCount]=\"true\" [enableSelectAll]=\"true\"\n [hideApplyButton]=\"false\" width=\"100%\" height=\"44px\"></mis-multi-select-dropdown>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'select'\">\n <div class=\"multiselect-filter\">\n <mis-dropdown [data]=\"filter.options\" [searchEnabled]=\"true\" width=\"100%\" height=\"44px\"\n (onChange)=\"handleSelect($event, filter.key, filter)\" [selectedItem]=\"filterForm.get(filter.key).value\">\n </mis-dropdown>\n </div>\n </ng-container>\n \n <ng-container *ngIf=\"filter.type === 'checkbox'\">\n <div class=\"checkbox-row\">\n <div *ngFor=\"let option of filter.options\" class=\"checkbox-container\">\n <mis-checkbox [type]=\"'Default'\" [checked]=\"filterForm.get(filter.key).value?.includes(option.value)\" (valueChange)=\"handleCheckbox($event, filter.key, option.value, filter)\"></mis-checkbox>\n <span class=\"checkbox-label\">{{option.label}}</span>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'datePicker'\">\n {{filter.placeholder}}\n <mis-input type=\"rounded\">\n <input misTzDp misInput type=\"text\" readonly class=\"mis-input\" [dpConfig]=\"filter.datepickerConfig\" [placeholder]=\"filterForm.get(filter.key).value ? filterForm.get(filter.key).value : (filter.placeholder || 'Select')\" [value]=\"filterForm.get(filter.key).value ? filterForm.get(filter.key).value : (filter.placeholder || 'Select')\" (dateChange)=\"onDateChange($event, filter.key, filter)\" [selectedDate]=\"filterForm.get(filter.key).value\" [positionX]=\"'end'\" [offsetX]=\"-10\">\n </mis-input>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'dateRangePicker'\">\n <mis-input type=\"rounded\">\n <input misTzDrp misInput type=\"text\" class=\"mis-input\" readonly\n [placeholder]=\"(!dateRangeSelectedDates.startDate && !dateRangeSelectedDates.endDate) ? (filter.placeholder || 'Select') : dateRangeSelectedDates.startDate + ' - ' + dateRangeSelectedDates.endDate\"\n [value]=\"(!dateRangeSelectedDates.startDate && !dateRangeSelectedDates.endDate) ? (filter.placeholder || 'Select') : dateRangeSelectedDates.startDate + ' - ' + dateRangeSelectedDates.endDate\" [positionX]=\"'start'\"\n [positionY]=\"'top'\" [selectedDates]=\"dateRangeSelectedDates\" (dateChange)=\"onDateChange($event, filter.key, filter)\"\n [dpConfig]=\"filter.dateRangePickerConfig\" />\n </mis-input> \n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'text'\">\n <mis-input type=\"rounded\">\n <input misInput type=\"text\" class=\"input\" [placeholder]=\"filter.placeholder || 'Type here'\" [formControlName]=\"filter.key\">\n </mis-input>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'number'\">\n <mis-input type=\"rounded\">\n <input misInput type=\"number\" class=\"input\" [placeholder]=\"filter.placeholder || 'Type here'\" [formControlName]=\"filter.key\">\n </mis-input>\n </ng-container>\n\n <ng-container *ngIf=\"filter.type === 'range'\">\n <div class=\"range-container\" [formGroup]=\"filterForm.get(filter.key)\">\n <div class=\"range-inner-container\">\n <span>{{ filter?.options?.[0]?.label || 'Min' }}</span>\n <input \n misInput \n type=\"number\" \n class=\"input\" \n [placeholder]=\"filter.placeholder || 'Type here'\" \n formControlName=\"min\" \n />\n </div>\n <div class=\"range-inner-container\">\n <span>{{ filter?.options?.[1]?.label || 'Max' }}</span>\n <input \n misInput \n type=\"number\" \n class=\"input\" \n [placeholder]=\"filter.placeholder || 'Type here'\" \n formControlName=\"max\"\n [min]=\"filterForm.get?.(filter.key)?.get('min')?.value || 0\"\n />\n </div>\n </div>\n </ng-container>\n \n\n <div class=\"horizontal-divider\" *ngIf=\"!last\"></div>\n </div> \n </ng-container>\n </div>\n\n <div class=\"actions\">\n <mis-button [name]=\"'Clear All'\" [size]=\"'Small'\" [type]=\"'Text'\" (click)=\"resetFilters()\"></mis-button>\n <mis-button [name]=\"'Apply'\" [size]=\"'Small'\" [type]=\"'Solid'\" (click)=\"applyFilters()\" [disabled]=\"filterForm.invalid\"></mis-button>\n </div>\n</div> \n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\nimport { slideFromRight } from '../animations/slideFromRight';\nimport { FormControl, FormGroup } from '@angular/forms';\nimport { IDatePickerConfig } from 'mis-crystal-design-system/datepicker_v2';\nimport { IRSelectedDatesConfig } from 'mis-crystal-design-system/specificdatepicker';\nimport { IDatePickerConfig as IDateRangePickerConfig } from \"mis-crystal-design-system/daterangepicker_v2\";\nimport { HasValuePipe } from '../has-value.pipe';\n\n\nexport interface FilterPanelConfig {\n key: string;\n title: string;\n type: 'multiSelect' | 'select' | 'datePicker' | 'dateRangePicker' | 'checkbox' | 'radio' | 'text' | 'number' | 'range';\n options?: Array<{\n label: string;\n value: string;\n data?: any[];\n }>;\n placeholder?: string;\n hidden?: boolean;\n datePickerConfig?: IDatePickerConfig;\n dateRangePickerConfig?: IDateRangePickerConfig;\n onChange?: (event: any, config?: FilterPanelConfig[], formValue?: any) => void;\n defaultValue?: any;\n selectedValue?: any;\n}\n\n@Component({\n selector: 'mis-filter-panel',\n templateUrl: './filter-panel.component.html',\n styleUrls: ['./filter-panel.component.scss'],\n animations: [slideFromRight]\n})\n\n\n\nexport class FilterPanelComponent implements OnInit, OnChanges {\n constructor(private hasValue: HasValuePipe){}\n @Input() show: boolean;\n @Output() onClose = new EventEmitter();\n @Output() onApply = new EventEmitter();\n @Input() config: FilterPanelConfig[] = [];\n @Input() emitFiltersAfterSettingNewValues: boolean = false;\n filterForm: FormGroup = new FormGroup([]);\n lastAppliedData: any;\n\n rangeMin: number;\n rangeMax: number;\n\n dateRangeSelectedDates: IRSelectedDatesConfig = {\n startDate: '',\n endDate: '',\n };\n\n ngOnInit() {\n this.initializeFormControls();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if(changes.config && !changes.config.firstChange){\n this.setFilterValue(this.config);\n }\n }\n\n initializeFormControls() {\n this.config.forEach((filter: FilterPanelConfig) => {\n let control: any;\n if (filter.type === 'range') {\n control = new FormGroup({\n min: new FormControl(null),\n max: new FormControl(null),\n }, {\n validators: (group: FormGroup) => {\n const min = group.get('min').value;\n const max = group.get('max').value;\n if (min !== null && max !== null && min > max) {\n return { rangeError: 'Min value should be less than max value' };\n }\n return null;\n }\n });\n } else if (filter.type === 'multiSelect' || filter.type === 'checkbox') {\n control = new FormControl([]);\n } else if (filter.type === 'select') {\n control = new FormControl('');\n } else {\n control = new FormControl(null);\n }\n if(this.hasValue.transform(filter.defaultValue)){\n control.setValue(filter.defaultValue);\n }\n this.filterForm.addControl(filter.key, control);\n });\n }\n\n closePanel(){\n if(this.lastAppliedData){\n this.filterForm.setValue(this.lastAppliedData);\n } else {\n this.clearFormValues();\n }\n this.onClose.emit();\n }\n\n filterCount(){\n let count = 0;\n this.config.forEach((filter: FilterPanelConfig) => {\n if(this.hasValue.transform(this.filterForm.get(filter.key).value)){\n if(filter.type === 'range' && this.filterForm.get(filter.key).value.min == null && this.filterForm.get(filter.key).value.max == null){\n return;\n }\n count++;\n }\n });\n return count;\n }\n\n applyFilters(){\n if (this.filterForm.invalid) {\n this.filterForm.markAllAsTouched();\n return;\n }\n \n this.lastAppliedData = {...this.filterForm.value};\n this.onApply.emit({\n filterData: this.filterForm.value,\n filterCount: this.filterCount()\n });\n this.show = false;\n this.closePanel();\n }\n\n handleSelect(event: any, filterKey: string, filter: FilterPanelConfig){\n this.filterForm.get(filterKey).setValue(event);\n if(filter.onChange){\n filter.onChange(event, this.config);\n }\n }\n\n onDateChange(event: any, filterKey: string, filter: FilterPanelConfig){\n this.filterForm.get(filterKey).setValue(event);\n if(typeof event === 'object'){\n this.dateRangeSelectedDates = {\n startDate: event.startDate,\n endDate: event.endDate,\n };\n } else {\n console.log(this.filterForm.get(filterKey).value); \n }\n }\n\n handleCheckbox(event: any, filterKey: string, checkboxValue: string, filter: FilterPanelConfig){\n if(event.value){\n this.filterForm.get(filterKey).setValue([...this.filterForm.get(filterKey).value, checkboxValue]);\n } else {\n const filterValue = this.filterForm.get(filterKey).value;\n this.filterForm.get(filterKey).setValue(filterValue.filter((value: string) => value !== checkboxValue));\n }\n if(filter.onChange){\n filter.onChange(event, this.config, this.filterForm.value);\n }\n }\n\n clearFormValues(){\n const resetValues: any = {};\n this.config.forEach((filter: FilterPanelConfig) => {\n let defaultValue: any = filter.defaultValue || null;\n if (filter.type === 'multiSelect' || filter.type === 'checkbox') {\n defaultValue = filter.defaultValue || [];\n }\n if(filter.type === 'range'){\n defaultValue = filter.defaultValue || { min: null, max: null };\n }\n resetValues[filter.key] = defaultValue;\n });\n this.filterForm.patchValue(resetValues);\n }\n\n resetFilters() {\n this.clearFormValues();\n this.applyFilters();\n }\n\n setFilterValue(config: FilterPanelConfig[]){\n let anyValueSet = false;\n for(const filter of config){\n if(filter?.selectedValue){\n this.filterForm.get(filter.key).setValue(filter.selectedValue);\n anyValueSet = true;\n }\n }\n if(anyValueSet && this.emitFiltersAfterSettingNewValues){\n this.applyFilters();\n }\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { ButtonModule } from 'mis-crystal-design-system/button';\nimport { RadioButtonModule } from 'mis-crystal-design-system/radio-button';\nimport { MisInputModule } from \"mis-crystal-design-system/input\";\nimport { CheckboxModule } from 'mis-crystal-design-system/checkbox';\nimport { MultiSelectDropdownModule } from 'mis-crystal-design-system/multi-select-dropdown';\nimport { DatepickerModuleV2 } from 'mis-crystal-design-system/datepicker_v2';\nimport { DateRangepickerModuleV2 } from 'mis-crystal-design-system/daterangepicker_v2';\nimport { FilterPanelComponent } from './filter-panel/filter-panel.component';\nimport { HasValuePipe } from './has-value.pipe';\nimport { DropdownModule } from 'mis-crystal-design-system/dropdown';\n\n@NgModule({\n imports: [\n CommonModule,\n ButtonModule,\n FormsModule,\n ReactiveFormsModule,\n MultiSelectDropdownModule,\n DropdownModule,\n RadioButtonModule,\n MisInputModule,\n DatepickerModuleV2,\n DateRangepickerModuleV2,\n CheckboxModule\n ],\n declarations: [FilterPanelComponent, HasValuePipe],\n providers: [\n HasValuePipe\n ],\n exports: [FilterPanelComponent]\n})\nexport class FiltersModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.HasValuePipe"],"mappings":";;;;;;;;;;;;;;;;;;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,aAMN,oBAAoB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;AChChC;;AAEG;;;;"}
@@ -4,8 +4,8 @@ import * as i1 from '@angular/platform-browser';
4
4
  import * as i2 from '@angular/common';
5
5
  import { CommonModule } from '@angular/common';
6
6
 
7
- const _c0 = a0 => ({ "max-width": a0 });
8
- const _c1 = a0 => ({ "disabled": a0 });
7
+ const _c0 = function (a0) { return { "max-width": a0 }; };
8
+ const _c1 = function (a0) { return { "disabled": a0 }; };
9
9
  class InputStepperComponent {
10
10
  constructor(sanitizer) {
11
11
  this.sanitizer = sanitizer;
@@ -46,37 +46,37 @@ class InputStepperComponent {
46
46
  console.log("value change", this.value);
47
47
  this.valueChange.emit(this.value);
48
48
  }
49
- static { this.ɵfac = function InputStepperComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InputStepperComponent)(i0.ɵɵdirectiveInject(i1.DomSanitizer)); }; }
50
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputStepperComponent, selectors: [["mis-input-stepper"]], inputs: { value: "value", width: "width", minLimit: "minLimit", maxLimit: "maxLimit" }, outputs: { valueChange: "valueChange" }, decls: 6, vars: 12, consts: [[1, "nudger", 3, "ngStyle"], [3, "click", "ngClass"], [3, "innerHtml"], ["type", "text", "readonly", "", 3, "input", "value"]], template: function InputStepperComponent_Template(rf, ctx) { if (rf & 1) {
51
- i0.ɵɵelementStart(0, "div", 0)(1, "button", 1);
52
- i0.ɵɵlistener("click", function InputStepperComponent_Template_button_click_1_listener() { return ctx.decrement(); });
53
- i0.ɵɵelement(2, "span", 2);
54
- i0.ɵɵelementEnd();
55
- i0.ɵɵelementStart(3, "input", 3);
56
- i0.ɵɵlistener("input", function InputStepperComponent_Template_input_input_3_listener($event) { return ctx.onInputChange($event.target.value); });
57
- i0.ɵɵelementEnd();
58
- i0.ɵɵelementStart(4, "button", 1);
59
- i0.ɵɵlistener("click", function InputStepperComponent_Template_button_click_4_listener() { return ctx.increment(); });
60
- i0.ɵɵelement(5, "span", 2);
61
- i0.ɵɵelementEnd()();
62
- } if (rf & 2) {
63
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c0, ctx.width));
64
- i0.ɵɵadvance();
65
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1, ctx.value === ctx.minLimit));
66
- i0.ɵɵadvance();
67
- i0.ɵɵproperty("innerHtml", ctx.svgMinusIcon, i0.ɵɵsanitizeHtml);
68
- i0.ɵɵadvance();
69
- i0.ɵɵproperty("value", ctx.value);
70
- i0.ɵɵadvance();
71
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, ctx.value === ctx.maxLimit));
72
- i0.ɵɵadvance();
73
- i0.ɵɵproperty("innerHtml", ctx.svgPlusIcon, i0.ɵɵsanitizeHtml);
74
- } }, dependencies: [i2.NgClass, i2.NgStyle], styles: [".nudger[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;border:1px solid #0937B2;border-radius:4px}button[_ngcontent-%COMP%]{cursor:pointer;border:none;background-color:#fff;transition:background-color .3s;color:#0937b2}button[_ngcontent-%COMP%]:hover{background-color:#fff}input[_ngcontent-%COMP%]{width:40%;text-align:center;padding:.5em 1em;color:#0937b2;border:none}@media screen and (max-width: 600px){.nudger[_ngcontent-%COMP%]{max-width:150px}}.disabled[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed}.nudger[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:18px;height:18px}"] }); }
75
49
  }
76
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputStepperComponent, [{
50
+ InputStepperComponent.ɵfac = function InputStepperComponent_Factory(t) { return new (t || InputStepperComponent)(i0.ɵɵdirectiveInject(i1.DomSanitizer)); };
51
+ InputStepperComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputStepperComponent, selectors: [["mis-input-stepper"]], inputs: { value: "value", width: "width", minLimit: "minLimit", maxLimit: "maxLimit" }, outputs: { valueChange: "valueChange" }, decls: 6, vars: 12, consts: [[1, "nudger", 3, "ngStyle"], [3, "ngClass", "click"], [3, "innerHtml"], ["type", "text", "readonly", "", 3, "value", "input"]], template: function InputStepperComponent_Template(rf, ctx) { if (rf & 1) {
52
+ i0.ɵɵelementStart(0, "div", 0)(1, "button", 1);
53
+ i0.ɵɵlistener("click", function InputStepperComponent_Template_button_click_1_listener() { return ctx.decrement(); });
54
+ i0.ɵɵelement(2, "span", 2);
55
+ i0.ɵɵelementEnd();
56
+ i0.ɵɵelementStart(3, "input", 3);
57
+ i0.ɵɵlistener("input", function InputStepperComponent_Template_input_input_3_listener($event) { return ctx.onInputChange($event.target.value); });
58
+ i0.ɵɵelementEnd();
59
+ i0.ɵɵelementStart(4, "button", 1);
60
+ i0.ɵɵlistener("click", function InputStepperComponent_Template_button_click_4_listener() { return ctx.increment(); });
61
+ i0.ɵɵelement(5, "span", 2);
62
+ i0.ɵɵelementEnd()();
63
+ } if (rf & 2) {
64
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c0, ctx.width));
65
+ i0.ɵɵadvance(1);
66
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1, ctx.value === ctx.minLimit));
67
+ i0.ɵɵadvance(1);
68
+ i0.ɵɵproperty("innerHtml", ctx.svgMinusIcon, i0.ɵɵsanitizeHtml);
69
+ i0.ɵɵadvance(1);
70
+ i0.ɵɵproperty("value", ctx.value);
71
+ i0.ɵɵadvance(1);
72
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c1, ctx.value === ctx.maxLimit));
73
+ i0.ɵɵadvance(1);
74
+ i0.ɵɵproperty("innerHtml", ctx.svgPlusIcon, i0.ɵɵsanitizeHtml);
75
+ } }, dependencies: [i2.NgClass, i2.NgStyle], styles: [".nudger[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;border:1px solid #0937B2;border-radius:4px}button[_ngcontent-%COMP%]{cursor:pointer;border:none;background-color:#fff;transition:background-color .3s;color:#0937b2}button[_ngcontent-%COMP%]:hover{background-color:#fff}input[_ngcontent-%COMP%]{width:40%;text-align:center;padding:.5em 1em;color:#0937b2;border:none}@media screen and (max-width: 600px){.nudger[_ngcontent-%COMP%]{max-width:150px}}.disabled[_ngcontent-%COMP%]{opacity:.6;cursor:not-allowed}.nudger[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:18px;height:18px}"] });
76
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputStepperComponent, [{
77
77
  type: Component,
78
78
  args: [{ selector: 'mis-input-stepper', template: "<div class=\"nudger\" [ngStyle]=\"{'max-width': width }\">\n <button (click)=\"decrement()\" [ngClass]=\"{'disabled': value === minLimit}\">\n <span [innerHtml]=\"svgMinusIcon\"></span>\n </button>\n <input type=\"text\" [value]=\"value\" (input)=\"onInputChange($event.target.value)\" readonly>\n <button (click)=\"increment()\" [ngClass]=\"{'disabled': value === maxLimit}\">\n <span [innerHtml]=\"svgPlusIcon\"></span>\n </button>\n</div>\n ", styles: [".nudger{display:flex;align-items:center;justify-content:center;width:100%;border:1px solid #0937B2;border-radius:4px}button{cursor:pointer;border:none;background-color:#fff;transition:background-color .3s;color:#0937b2}button:hover{background-color:#fff}input{width:40%;text-align:center;padding:.5em 1em;color:#0937b2;border:none}@media screen and (max-width: 600px){.nudger{max-width:150px}}.disabled{opacity:.6;cursor:not-allowed}.nudger span{display:inline-block;width:18px;height:18px}\n"] }]
79
- }], () => [{ type: i1.DomSanitizer }], { value: [{
79
+ }], function () { return [{ type: i1.DomSanitizer }]; }, { value: [{
80
80
  type: Input
81
81
  }], width: [{
82
82
  type: Input
@@ -87,14 +87,13 @@ class InputStepperComponent {
87
87
  }], valueChange: [{
88
88
  type: Output
89
89
  }] }); })();
90
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputStepperComponent, { className: "InputStepperComponent" }); })();
91
90
 
92
91
  class InputStepperModule {
93
- static { this.ɵfac = function InputStepperModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InputStepperModule)(); }; }
94
- static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: InputStepperModule }); }
95
- static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] }); }
96
92
  }
97
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputStepperModule, [{
93
+ InputStepperModule.ɵfac = function InputStepperModule_Factory(t) { return new (t || InputStepperModule)(); };
94
+ InputStepperModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: InputStepperModule });
95
+ InputStepperModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
96
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputStepperModule, [{
98
97
  type: NgModule,
99
98
  args: [{
100
99
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"mis-crystal-design-system-input-stepper.mjs","sources":["../../../projects/mis-components/input-stepper/input-stepper/input-stepper.component.ts","../../../projects/mis-components/input-stepper/input-stepper/input-stepper.component.html","../../../projects/mis-components/input-stepper/input-stepper.module.ts","../../../projects/mis-components/input-stepper/mis-crystal-design-system-input-stepper.ts"],"sourcesContent":["import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Component({\n selector: 'mis-input-stepper',\n templateUrl: './input-stepper.component.html',\n styleUrls: ['./input-stepper.component.css']\n})\nexport class InputStepperComponent {\n svgMinusIcon: SafeHtml;\n svgPlusIcon: SafeHtml;\n @Input() value: number = 1;\n @Input() width?: string = '200px';\n @Input() minLimit : number = 0;\n @Input() maxLimit: number = 2;\n @Output() valueChange: EventEmitter<number> = new EventEmitter<number>();\n\n constructor(private sanitizer: DomSanitizer) {\n this.svgMinusIcon = this.sanitizer.bypassSecurityTrustHtml(`\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 9.11705C3 8.63819 3.3833 8.25 3.85612 8.25H14.1439C14.6167 8.25 15 8.63819 15 9.11705C15 9.59591 14.6167 9.9841 14.1439 9.9841H3.85612C3.3833 9.9841 3 9.59591 3 9.11705Z\" fill=\"#0937B2\"/>\n </svg>`);\n this.svgPlusIcon = this.sanitizer.bypassSecurityTrustHtml(`\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.85677 3.86705C9.85677 3.38819 9.47347 3 9.00066 3C8.52784 3 8.14454 3.38819 8.14454 3.86705V8.13159H3.85612C3.3833 8.13159 3 8.51978 3 8.99864C3 9.4775 3.3833 9.8657 3.85612 9.8657H8.14454V14.1329C8.14454 14.6118 8.52784 15 9.00066 15C9.47347 15 9.85677 14.6118 9.85677 14.1329V9.8657H14.1439C14.6167 9.8657 15 9.4775 15 8.99864C15 8.51978 14.6167 8.13159 14.1439 8.13159H9.85677V3.86705Z\" fill=\"#0937B2\"/>\n </svg>`);\n }\n\n increment() {\n if(this.value === this.maxLimit) return;\n this.value++;\n this.emitValueChange();\n }\n\n decrement() {\n if (this.value > 0) {\n this.value--;\n this.emitValueChange();\n }\n }\n\n onInputChange(newValue: string) {\n const parsedValue = parseInt(newValue, 10);\n if (!isNaN(parsedValue)) {\n this.value = parsedValue;\n this.emitValueChange();\n }\n }\n\n private emitValueChange() {\n console.log(\"value change\", this.value);\n this.valueChange.emit(this.value);\n }\n\n}\n","<div class=\"nudger\" [ngStyle]=\"{'max-width': width }\">\n <button (click)=\"decrement()\" [ngClass]=\"{'disabled': value === minLimit}\">\n <span [innerHtml]=\"svgMinusIcon\"></span>\n </button>\n <input type=\"text\" [value]=\"value\" (input)=\"onInputChange($event.target.value)\" readonly>\n <button (click)=\"increment()\" [ngClass]=\"{'disabled': value === maxLimit}\">\n <span [innerHtml]=\"svgPlusIcon\"></span>\n </button>\n</div>\n ","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { InputStepperComponent } from './input-stepper/input-stepper.component';\n\n\n\n@NgModule({\n declarations: [\n InputStepperComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n InputStepperComponent\n ]\n})\nexport class InputStepperModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MAQa,qBAAqB,CAAA;AAShC,IAAA,WAAA,CAAoB,SAAuB,EAAA;QAAvB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAc;QANlC,IAAK,CAAA,KAAA,GAAW,CAAC,CAAC;QAClB,IAAK,CAAA,KAAA,GAAY,OAAO,CAAC;QACzB,IAAQ,CAAA,QAAA,GAAY,CAAC,CAAC;QACtB,IAAQ,CAAA,QAAA,GAAW,CAAC,CAAC;AACpB,QAAA,IAAA,CAAA,WAAW,GAAyB,IAAI,YAAY,EAAU,CAAC;QAGvE,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,CAAA;;;AAGlD,YAAA,CAAA,CAAC,CAAC;QACX,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,CAAA;;;AAG/C,cAAA,CAAA,CAAC,CAAC;KACb;IAEF,SAAS,GAAA;AACP,QAAA,IAAG,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,QAAQ;YAAE,OAAO;QACxC,IAAI,CAAC,KAAK,EAAE,CAAC;QACb,IAAI,CAAC,eAAe,EAAE,CAAC;KACxB;IAED,SAAS,GAAA;AACP,QAAA,IAAI,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE;YAClB,IAAI,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oBACP,qBAAqB;AACtB,iBAAA;AACF,aAAA,CAAA;;AACY,CAAA,YAAA,EAAA,CAAA,OAAA,SAAA,KAAA,WAAA,IAAA,SAAA,KAAA,EAAA,CAAA,kBAAA,CAAA,kBAAkB,EAT3B,EAAA,YAAA,EAAA,CAAA,qBAAqB,CAGrB,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,qBAAqB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACdzB;;AAEG;;;;"}
1
+ {"version":3,"file":"mis-crystal-design-system-input-stepper.mjs","sources":["../../../projects/mis-components/input-stepper/input-stepper/input-stepper.component.ts","../../../projects/mis-components/input-stepper/input-stepper/input-stepper.component.html","../../../projects/mis-components/input-stepper/input-stepper.module.ts","../../../projects/mis-components/input-stepper/mis-crystal-design-system-input-stepper.ts"],"sourcesContent":["import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\n\n@Component({\n selector: 'mis-input-stepper',\n templateUrl: './input-stepper.component.html',\n styleUrls: ['./input-stepper.component.css']\n})\nexport class InputStepperComponent {\n svgMinusIcon: SafeHtml;\n svgPlusIcon: SafeHtml;\n @Input() value: number = 1;\n @Input() width?: string = '200px';\n @Input() minLimit : number = 0;\n @Input() maxLimit: number = 2;\n @Output() valueChange: EventEmitter<number> = new EventEmitter<number>();\n\n constructor(private sanitizer: DomSanitizer) {\n this.svgMinusIcon = this.sanitizer.bypassSecurityTrustHtml(`\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M3 9.11705C3 8.63819 3.3833 8.25 3.85612 8.25H14.1439C14.6167 8.25 15 8.63819 15 9.11705C15 9.59591 14.6167 9.9841 14.1439 9.9841H3.85612C3.3833 9.9841 3 9.59591 3 9.11705Z\" fill=\"#0937B2\"/>\n </svg>`);\n this.svgPlusIcon = this.sanitizer.bypassSecurityTrustHtml(`\n <svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.85677 3.86705C9.85677 3.38819 9.47347 3 9.00066 3C8.52784 3 8.14454 3.38819 8.14454 3.86705V8.13159H3.85612C3.3833 8.13159 3 8.51978 3 8.99864C3 9.4775 3.3833 9.8657 3.85612 9.8657H8.14454V14.1329C8.14454 14.6118 8.52784 15 9.00066 15C9.47347 15 9.85677 14.6118 9.85677 14.1329V9.8657H14.1439C14.6167 9.8657 15 9.4775 15 8.99864C15 8.51978 14.6167 8.13159 14.1439 8.13159H9.85677V3.86705Z\" fill=\"#0937B2\"/>\n </svg>`);\n }\n\n increment() {\n if(this.value === this.maxLimit) return;\n this.value++;\n this.emitValueChange();\n }\n\n decrement() {\n if (this.value > 0) {\n this.value--;\n this.emitValueChange();\n }\n }\n\n onInputChange(newValue: string) {\n const parsedValue = parseInt(newValue, 10);\n if (!isNaN(parsedValue)) {\n this.value = parsedValue;\n this.emitValueChange();\n }\n }\n\n private emitValueChange() {\n console.log(\"value change\", this.value);\n this.valueChange.emit(this.value);\n }\n\n}\n","<div class=\"nudger\" [ngStyle]=\"{'max-width': width }\">\n <button (click)=\"decrement()\" [ngClass]=\"{'disabled': value === minLimit}\">\n <span [innerHtml]=\"svgMinusIcon\"></span>\n </button>\n <input type=\"text\" [value]=\"value\" (input)=\"onInputChange($event.target.value)\" readonly>\n <button (click)=\"increment()\" [ngClass]=\"{'disabled': value === maxLimit}\">\n <span [innerHtml]=\"svgPlusIcon\"></span>\n </button>\n</div>\n ","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { InputStepperComponent } from './input-stepper/input-stepper.component';\n\n\n\n@NgModule({\n declarations: [\n InputStepperComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n InputStepperComponent\n ]\n})\nexport class InputStepperModule { }\n","/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@@
1
- import { Component, ContentChild, Input } from "@angular/core";
2
- import { MisInputDirective } from "./directives/input/input.directive";
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/common";
5
- const _c0 = [[["", "mis-input-icon", ""]], [["input"]], [["", "mis-input-act", ""]], [["", "mis-input-hint", ""]], [["", "mis-input-error", ""]]];
6
- const _c1 = ["[mis-input-icon]", "input", "[mis-input-act]", "[mis-input-hint]", "[mis-input-error]"];
7
- const _c2 = (a0, a1, a2, a3, a4) => ({ rounded: a0, floating: a1, "has-error": a2, "no-hint": a3, "mis-disabled": a4 });
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, Self, Optional, Component, Input, ContentChild, NgModule } from '@angular/core';
3
+ import { ReplaySubject, Subject } from 'rxjs';
4
+ import { takeUntil } from 'rxjs/operators';
5
+ import * as i1 from '@angular/forms';
6
+ import { FormsModule } from '@angular/forms';
7
+ import * as i1$1 from '@angular/common';
8
+ import { CommonModule } from '@angular/common';
9
+
10
+ class MisInputDirective {
11
+ constructor(el, control) {
12
+ this.el = el;
13
+ this.control = control;
14
+ this.validityChange = new ReplaySubject(1);
15
+ this.validity = this.validityChange.asObservable();
16
+ this.endObs = new Subject();
17
+ this.focus = false;
18
+ this.hasValue = false;
19
+ }
20
+ ngOnInit() {
21
+ this.control?.control?.valueChanges.pipe(takeUntil(this.endObs)).subscribe(() => {
22
+ this.validityChange.next(!this.control.control?.invalid);
23
+ });
24
+ this.el.nativeElement.placeholder += " ";
25
+ }
26
+ ngOnDestroy() {
27
+ this.endObs.next();
28
+ this.endObs.complete();
29
+ }
30
+ }
31
+ MisInputDirective.ɵfac = function MisInputDirective_Factory(t) { return new (t || MisInputDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1.NgControl, 10)); };
32
+ MisInputDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: MisInputDirective, selectors: [["input", "misInput", ""]] });
33
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisInputDirective, [{
34
+ type: Directive,
35
+ args: [{
36
+ // tslint:disable-next-line
37
+ selector: "input[misInput]"
38
+ }]
39
+ }], function () { return [{ type: i0.ElementRef }, { type: i1.NgControl, decorators: [{
40
+ type: Self
41
+ }, {
42
+ type: Optional
43
+ }] }]; }, null); })();
44
+
8
45
  function MisInputComponent_span_7_Template(rf, ctx) { if (rf & 1) {
9
46
  i0.ɵɵelementStart(0, "span", 5);
10
47
  i0.ɵɵtext(1, "*");
11
48
  i0.ɵɵelementEnd();
12
49
  } }
13
- export class MisInputComponent {
50
+ const _c0 = [[["", "mis-input-icon", ""]], [["input"]], [["", "mis-input-act", ""]], [["", "mis-input-hint", ""]], [["", "mis-input-error", ""]]];
51
+ const _c1 = function (a0, a1, a2, a3, a4) { return { rounded: a0, floating: a1, "has-error": a2, "no-hint": a3, "mis-disabled": a4 }; };
52
+ const _c2 = ["[mis-input-icon]", "input", "[mis-input-act]", "[mis-input-hint]", "[mis-input-error]"];
53
+ class MisInputComponent {
54
+ constructor() {
55
+ this.type = "floating";
56
+ this.size = "sm";
57
+ this.noHints = false;
58
+ this.hasError = false; // show input in error state
59
+ this.isMandatory = false; // show input as mandatory
60
+ this.inputValidity = true;
61
+ }
14
62
  set formInput(input) {
15
63
  if (!this.placeholder) {
16
64
  this.placeholder = input?.el.nativeElement.placeholder || "";
@@ -20,52 +68,44 @@ export class MisInputComponent {
20
68
  this.inputSubscription = input?.validity.subscribe(res => (this.inputValidity = res));
21
69
  this.placeholder += " ";
22
70
  }
23
- constructor() {
24
- this.type = "floating";
25
- this.size = "sm";
26
- this.noHints = false;
27
- this.hasError = false; // show input in error state
28
- this.isMandatory = false; // show input as mandatory
29
- this.inputValidity = true;
30
- }
31
71
  ngOnInit() { }
32
72
  ngOnDestroy() {
33
73
  this.inputSubscription?.unsubscribe();
34
74
  }
35
- static { this.ɵfac = function MisInputComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MisInputComponent)(); }; }
36
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MisInputComponent, selectors: [["mis-input"]], contentQueries: function MisInputComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
37
- i0.ɵɵcontentQuery(dirIndex, MisInputDirective, 5);
38
- } if (rf & 2) {
39
- let _t;
40
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.formInput = _t.first);
41
- } }, inputs: { type: "type", size: "size", placeholder: "placeholder", noHints: "noHints", hasError: "hasError", isMandatory: "isMandatory" }, ngContentSelectors: _c1, decls: 11, vars: 11, consts: [[3, "ngClass"], [1, "input-wrapper"], [1, "mis-input"], [1, "mis-placeholder"], ["style", "color: red;", 4, "ngIf"], [2, "color", "red"]], template: function MisInputComponent_Template(rf, ctx) { if (rf & 1) {
42
- i0.ɵɵprojectionDef(_c0);
43
- i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
44
- i0.ɵɵprojection(2);
45
- i0.ɵɵelementStart(3, "div", 2);
46
- i0.ɵɵprojection(4, 1);
47
- i0.ɵɵelementStart(5, "span", 3);
48
- i0.ɵɵtext(6);
49
- i0.ɵɵtemplate(7, MisInputComponent_span_7_Template, 2, 0, "span", 4);
50
- i0.ɵɵelementEnd()();
51
- i0.ɵɵprojection(8, 2);
52
- i0.ɵɵelementEnd();
53
- i0.ɵɵprojection(9, 3);
54
- i0.ɵɵprojection(10, 4);
55
- i0.ɵɵelementEnd();
56
- } if (rf & 2) {
57
- i0.ɵɵclassMap("input-container " + ctx.size);
58
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction5(5, _c2, ctx.type === "rounded", ctx.type === "floating", !ctx.inputValidity || ctx.hasError, ctx.noHints, ctx.inputCtrl == null ? null : ctx.inputCtrl.disabled));
59
- i0.ɵɵadvance(6);
60
- i0.ɵɵtextInterpolate(ctx.placeholder);
61
- i0.ɵɵadvance();
62
- i0.ɵɵproperty("ngIf", ctx.isMandatory);
63
- } }, dependencies: [i1.NgClass, i1.NgIf], styles: ["[_ngcontent-%COMP%]:root{--pmry-200: #99BAF7;--pmry-100: #CBDDFB;--pmry-500: #0937B2;--pmry-400: #3C68D0;--pmry-600: #062A99;--pmry-700: #041F80;--pmry-300: #638FE7;--pmry-800: #021567;--pmry-900: #010F55;--sec-d-purple: #40447F;--sec-maroon: #6B034E;--sec-mud-red: #B23600;--sec-orange: #ED711C;--sec-purple: #815FD5;--sec-teal: #10ADAE;--sec-yellow: #D4900C;--sec-green: #547F40;--sec-bright-green: #27D22E;--sec-dark-teal: #035F6B;--sec-chocolate: #7C2F33;--sec-rube-pink: #C13D6D;--sec-cerulean: #0087B2;--sem-error: #B00020;--sem-info: #0091FF;--sem-warning: #FF9D00;--sem-success: #38AF49;--grey-bg-1: #FAFAFA;--grey-bg: #F5F5F5;--grey-seperators: #E0E0E0;--grey-disabled: #C8CDD3;--grey-hover: #F5F7FC;--grey-pressed: #E6EBF7;--grey-row: #F5F7FC;--dec-light-yellow: #F4E7C3;--dec-light-purple: #DACFF9;--dec-light-green: #E4F5E9;--dec-light-green2: #F1FFF3;--dec-light-pink: #FAE1EA;--dec-: #F4CBC1;--dec-lt-orange: #FAEFED;--dec-light-blue: #CFECF9;--dec-row-selection: #F1FDF8;--dec-row-selection2: #F2FBFF;--dec-row-lines: #D3E1E9;--text-white: #FFFFFF;--text-disabled: #929DAB;--text-muted: #6A737D;--text-black: #181F33;--MR-solid-blue2:#C8D5F6;--MR-solid-purple:#C9C3FB;--MR-solid-orange:#EEAC9F;--MR-solid-green:#ACDADA;--MR-solid-brown:#E8C8AF;--MR-solid-yellow:#FFEFC7;--MR-solid-blue:#BBE6FF;--MR-solid-pink:#FFC6F2;--tr-hover:#F0F3FA;--tr-pressed:#DAE1F3}.input-container[_ngcontent-%COMP%]{position:relative;padding-bottom:24px}.input-container.mis-disabled[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{pointer-events:none!important}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;transition:all ease-in 60ms;background-color:#fff;padding:3px 16px;gap:16px}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] .mis-input[_ngcontent-%COMP%]{flex:1 1 auto;z-index:0;position:relative;display:flex;align-items:center}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1 1 auto;border:none;outline:none;height:100%;padding:0;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;height:24px;color:#181f33;background-color:transparent;width:100%;vertical-align:middle}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{transition:all ease-in .1s;opacity:0;transform-origin:left center;color:transparent}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] .mis-placeholder[_ngcontent-%COMP%]{position:absolute;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#6a737d;z-index:-1;transition:all ease-in .15s}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within{background-color:#f5f5f5}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within{border:1px solid #0937B2}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] [mis-input-act][_ngcontent-%COMP%], .input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] [mis-input-icon][_ngcontent-%COMP%]{width:18px;height:18px;color:#6a737d;font-size:24px;line-height:18px}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] [mis-input-act][_ngcontent-%COMP%]{cursor:pointer}.input-container.no-hint[_ngcontent-%COMP%]{padding-bottom:0}.input-container.rounded[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{box-sizing:initial}.input-container.rounded.sm[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:3px 16px}.input-container.rounded.md[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:9px 16px}.input-container.rounded.lg[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:15px 16px}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{border-radius:4px;border:1px solid #e0e0e0;padding:0}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:hover{background-color:#f5f5f5}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within{border:1px solid #0937b2}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:not(:placeholder-shown) + .mis-placeholder[_ngcontent-%COMP%]{color:transparent!important}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] .mis-placeholder[_ngcontent-%COMP%]{margin-left:16px;transition-duration:50ms}.input-container.rounded.has-error[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{border:1px solid #b00020!important}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:7px;border-bottom:1px solid #e0e0e0}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus + .mis-placeholder[_ngcontent-%COMP%]{color:#0937b2!important}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:not(:placeholder-shown) + .mis-placeholder[_ngcontent-%COMP%], .input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus + .mis-placeholder[_ngcontent-%COMP%]{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within{border:none;border-bottom:1px solid #0937b2}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within input[_ngcontent-%COMP%]::placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating.has-error[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{border-bottom:1px solid #b00020!important}.input-container.floating.has-error[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] .mis-placeholder[_ngcontent-%COMP%]{color:#b00020!important}.input-container[_ngcontent-%COMP%] [mis-input-hint][_ngcontent-%COMP%], .input-container[_ngcontent-%COMP%] [mis-input-error][_ngcontent-%COMP%]{position:absolute;left:0;right:0;bottom:0;line-height:24px;height:24px;font-size:12px;color:#6a737d;letter-spacing:.2px}.input-container[_ngcontent-%COMP%] [mis-input-error][_ngcontent-%COMP%]{color:#b00020}"] }); }
64
75
  }
65
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisInputComponent, [{
76
+ MisInputComponent.ɵfac = function MisInputComponent_Factory(t) { return new (t || MisInputComponent)(); };
77
+ MisInputComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MisInputComponent, selectors: [["mis-input"]], contentQueries: function MisInputComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
78
+ i0.ɵɵcontentQuery(dirIndex, MisInputDirective, 5);
79
+ } if (rf & 2) {
80
+ let _t;
81
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.formInput = _t.first);
82
+ } }, inputs: { type: "type", size: "size", placeholder: "placeholder", noHints: "noHints", hasError: "hasError", isMandatory: "isMandatory" }, ngContentSelectors: _c2, decls: 11, vars: 11, consts: [[3, "ngClass"], [1, "input-wrapper"], [1, "mis-input"], [1, "mis-placeholder"], ["style", "color: red;", 4, "ngIf"], [2, "color", "red"]], template: function MisInputComponent_Template(rf, ctx) { if (rf & 1) {
83
+ i0.ɵɵprojectionDef(_c0);
84
+ i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
85
+ i0.ɵɵprojection(2);
86
+ i0.ɵɵelementStart(3, "div", 2);
87
+ i0.ɵɵprojection(4, 1);
88
+ i0.ɵɵelementStart(5, "span", 3);
89
+ i0.ɵɵtext(6);
90
+ i0.ɵɵtemplate(7, MisInputComponent_span_7_Template, 2, 0, "span", 4);
91
+ i0.ɵɵelementEnd()();
92
+ i0.ɵɵprojection(8, 2);
93
+ i0.ɵɵelementEnd();
94
+ i0.ɵɵprojection(9, 3);
95
+ i0.ɵɵprojection(10, 4);
96
+ i0.ɵɵelementEnd();
97
+ } if (rf & 2) {
98
+ i0.ɵɵclassMap("input-container " + ctx.size);
99
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction5(5, _c1, ctx.type === "rounded", ctx.type === "floating", !ctx.inputValidity || ctx.hasError, ctx.noHints, ctx.inputCtrl == null ? null : ctx.inputCtrl.disabled));
100
+ i0.ɵɵadvance(6);
101
+ i0.ɵɵtextInterpolate(ctx.placeholder);
102
+ i0.ɵɵadvance(1);
103
+ i0.ɵɵproperty("ngIf", ctx.isMandatory);
104
+ } }, dependencies: [i1$1.NgClass, i1$1.NgIf], styles: ["[_ngcontent-%COMP%]:root{--pmry-200: #99BAF7;--pmry-100: #CBDDFB;--pmry-500: #0937B2;--pmry-400: #3C68D0;--pmry-600: #062A99;--pmry-700: #041F80;--pmry-300: #638FE7;--pmry-800: #021567;--pmry-900: #010F55;--sec-d-purple: #40447F;--sec-maroon: #6B034E;--sec-mud-red: #B23600;--sec-orange: #ED711C;--sec-purple: #815FD5;--sec-teal: #10ADAE;--sec-yellow: #D4900C;--sec-green: #547F40;--sec-bright-green: #27D22E;--sec-dark-teal: #035F6B;--sec-chocolate: #7C2F33;--sec-rube-pink: #C13D6D;--sec-cerulean: #0087B2;--sem-error: #B00020;--sem-info: #0091FF;--sem-warning: #FF9D00;--sem-success: #38AF49;--grey-bg-1: #FAFAFA;--grey-bg: #F5F5F5;--grey-seperators: #E0E0E0;--grey-disabled: #C8CDD3;--grey-hover: #F5F7FC;--grey-pressed: #E6EBF7;--grey-row: #F5F7FC;--dec-light-yellow: #F4E7C3;--dec-light-purple: #DACFF9;--dec-light-green: #E4F5E9;--dec-light-green2: #F1FFF3;--dec-light-pink: #FAE1EA;--dec-: #F4CBC1;--dec-lt-orange: #FAEFED;--dec-light-blue: #CFECF9;--dec-row-selection: #F1FDF8;--dec-row-selection2: #F2FBFF;--dec-row-lines: #D3E1E9;--text-white: #FFFFFF;--text-disabled: #929DAB;--text-muted: #6A737D;--text-black: #181F33;--MR-solid-blue2:#C8D5F6;--MR-solid-purple:#C9C3FB;--MR-solid-orange:#EEAC9F;--MR-solid-green:#ACDADA;--MR-solid-brown:#E8C8AF;--MR-solid-yellow:#FFEFC7;--MR-solid-blue:#BBE6FF;--MR-solid-pink:#FFC6F2;--tr-hover:#F0F3FA;--tr-pressed:#DAE1F3}.input-container[_ngcontent-%COMP%]{position:relative;padding-bottom:24px}.input-container.mis-disabled[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{pointer-events:none!important}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{box-sizing:border-box;display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;transition:all ease-in 60ms;background-color:#fff;padding:3px 16px;gap:16px}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] .mis-input[_ngcontent-%COMP%]{flex:1 1 auto;z-index:0;position:relative;display:flex;align-items:center}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:1 1 auto;border:none;outline:none;height:100%;padding:0;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;height:24px;color:#181f33;background-color:transparent;width:100%;vertical-align:middle}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{transition:all ease-in .1s;opacity:0;transform-origin:left center;color:transparent}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] .mis-placeholder[_ngcontent-%COMP%]{position:absolute;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#6a737d;z-index:-1;transition:all ease-in .15s}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within{background-color:#f5f5f5}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within{border:1px solid #0937B2}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] [mis-input-act][_ngcontent-%COMP%], .input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] [mis-input-icon][_ngcontent-%COMP%]{width:18px;height:18px;color:#6a737d;font-size:24px;line-height:18px}.input-container[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] [mis-input-act][_ngcontent-%COMP%]{cursor:pointer}.input-container.no-hint[_ngcontent-%COMP%]{padding-bottom:0}.input-container.rounded[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{box-sizing:initial}.input-container.rounded.sm[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:3px 16px}.input-container.rounded.md[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:9px 16px}.input-container.rounded.lg[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:15px 16px}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{border-radius:4px;border:1px solid #e0e0e0;padding:0}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:hover{background-color:#f5f5f5}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within{border:1px solid #0937b2}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:not(:placeholder-shown) + .mis-placeholder[_ngcontent-%COMP%]{color:transparent!important}.input-container.rounded[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] .mis-placeholder[_ngcontent-%COMP%]{margin-left:16px;transition-duration:50ms}.input-container.rounded.has-error[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{border:1px solid #b00020!important}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:7px;border-bottom:1px solid #e0e0e0}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus + .mis-placeholder[_ngcontent-%COMP%]{color:#0937b2!important}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:not(:placeholder-shown) + .mis-placeholder[_ngcontent-%COMP%], .input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus + .mis-placeholder[_ngcontent-%COMP%]{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within{border:none;border-bottom:1px solid #0937b2}.input-container.floating[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]:focus-within input[_ngcontent-%COMP%]::placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating.has-error[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%]{border-bottom:1px solid #b00020!important}.input-container.floating.has-error[_ngcontent-%COMP%] .input-wrapper[_ngcontent-%COMP%] .mis-placeholder[_ngcontent-%COMP%]{color:#b00020!important}.input-container[_ngcontent-%COMP%] [mis-input-hint][_ngcontent-%COMP%], .input-container[_ngcontent-%COMP%] [mis-input-error][_ngcontent-%COMP%]{position:absolute;left:0;right:0;bottom:0;line-height:24px;height:24px;font-size:12px;color:#6a737d;letter-spacing:.2px}.input-container[_ngcontent-%COMP%] [mis-input-error][_ngcontent-%COMP%]{color:#b00020}"] });
105
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisInputComponent, [{
66
106
  type: Component,
67
107
  args: [{ selector: "mis-input", template: "<div\n [class]=\"'input-container ' + size\"\n [ngClass]=\"{\n rounded: type === 'rounded',\n floating: type === 'floating',\n 'has-error': !inputValidity || hasError,\n 'no-hint': noHints,\n 'mis-disabled': inputCtrl?.disabled\n }\"\n>\n <div class=\"input-wrapper\">\n <ng-content select=\"[mis-input-icon]\"></ng-content>\n <div class=\"mis-input\">\n <ng-content select=\"input\"></ng-content>\n <span class=\"mis-placeholder\">{{ placeholder }}<span *ngIf=\"isMandatory\" style=\"color: red;\">*</span></span>\n </div>\n <ng-content select=\"[mis-input-act]\"></ng-content>\n </div>\n <ng-content select=\"[mis-input-hint]\"></ng-content>\n <ng-content select=\"[mis-input-error]\"></ng-content>\n</div>\n", styles: [":root{--pmry-200: #99BAF7;--pmry-100: #CBDDFB;--pmry-500: #0937B2;--pmry-400: #3C68D0;--pmry-600: #062A99;--pmry-700: #041F80;--pmry-300: #638FE7;--pmry-800: #021567;--pmry-900: #010F55;--sec-d-purple: #40447F;--sec-maroon: #6B034E;--sec-mud-red: #B23600;--sec-orange: #ED711C;--sec-purple: #815FD5;--sec-teal: #10ADAE;--sec-yellow: #D4900C;--sec-green: #547F40;--sec-bright-green: #27D22E;--sec-dark-teal: #035F6B;--sec-chocolate: #7C2F33;--sec-rube-pink: #C13D6D;--sec-cerulean: #0087B2;--sem-error: #B00020;--sem-info: #0091FF;--sem-warning: #FF9D00;--sem-success: #38AF49;--grey-bg-1: #FAFAFA;--grey-bg: #F5F5F5;--grey-seperators: #E0E0E0;--grey-disabled: #C8CDD3;--grey-hover: #F5F7FC;--grey-pressed: #E6EBF7;--grey-row: #F5F7FC;--dec-light-yellow: #F4E7C3;--dec-light-purple: #DACFF9;--dec-light-green: #E4F5E9;--dec-light-green2: #F1FFF3;--dec-light-pink: #FAE1EA;--dec-: #F4CBC1;--dec-lt-orange: #FAEFED;--dec-light-blue: #CFECF9;--dec-row-selection: #F1FDF8;--dec-row-selection2: #F2FBFF;--dec-row-lines: #D3E1E9;--text-white: #FFFFFF;--text-disabled: #929DAB;--text-muted: #6A737D;--text-black: #181F33;--MR-solid-blue2:#C8D5F6;--MR-solid-purple:#C9C3FB;--MR-solid-orange:#EEAC9F;--MR-solid-green:#ACDADA;--MR-solid-brown:#E8C8AF;--MR-solid-yellow:#FFEFC7;--MR-solid-blue:#BBE6FF;--MR-solid-pink:#FFC6F2;--tr-hover:#F0F3FA;--tr-pressed:#DAE1F3}.input-container{position:relative;padding-bottom:24px}.input-container.mis-disabled .input-wrapper{pointer-events:none!important}.input-container .input-wrapper{box-sizing:border-box;display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;transition:all ease-in 60ms;background-color:#fff;padding:3px 16px;gap:16px}.input-container .input-wrapper .mis-input{flex:1 1 auto;z-index:0;position:relative;display:flex;align-items:center}.input-container .input-wrapper input{flex:1 1 auto;border:none;outline:none;height:100%;padding:0;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;height:24px;color:#181f33;background-color:transparent;width:100%;vertical-align:middle}.input-container .input-wrapper input::placeholder{transition:all ease-in .1s;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper .mis-placeholder{position:absolute;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#6a737d;z-index:-1;transition:all ease-in .15s}.input-container .input-wrapper:focus-within{background-color:#f5f5f5}.input-container .input-wrapper:focus-within{border:1px solid #0937B2}.input-container .input-wrapper [mis-input-act],.input-container .input-wrapper [mis-input-icon]{width:18px;height:18px;color:#6a737d;font-size:24px;line-height:18px}.input-container .input-wrapper [mis-input-act]{cursor:pointer}.input-container.no-hint{padding-bottom:0}.input-container.rounded input{box-sizing:initial}.input-container.rounded.sm input{padding:3px 16px}.input-container.rounded.md input{padding:9px 16px}.input-container.rounded.lg input{padding:15px 16px}.input-container.rounded .input-wrapper{border-radius:4px;border:1px solid #e0e0e0;padding:0}.input-container.rounded .input-wrapper:hover{background-color:#f5f5f5}.input-container.rounded .input-wrapper:focus-within{border:1px solid #0937b2}.input-container.rounded .input-wrapper input:not(:placeholder-shown)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper .mis-placeholder{margin-left:16px;transition-duration:50ms}.input-container.rounded.has-error .input-wrapper{border:1px solid #b00020!important}.input-container.floating .input-wrapper{padding-top:24px;padding-bottom:7px;border-bottom:1px solid #e0e0e0}.input-container.floating .input-wrapper input:focus+.mis-placeholder{color:#0937b2!important}.input-container.floating .input-wrapper input:not(:placeholder-shown)+.mis-placeholder,.input-container.floating .input-wrapper input:focus+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper:focus-within{border:none;border-bottom:1px solid #0937b2}.input-container.floating .input-wrapper:focus-within input::placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating.has-error .input-wrapper{border-bottom:1px solid #b00020!important}.input-container.floating.has-error .input-wrapper .mis-placeholder{color:#b00020!important}.input-container [mis-input-hint],.input-container [mis-input-error]{position:absolute;left:0;right:0;bottom:0;line-height:24px;height:24px;font-size:12px;color:#6a737d;letter-spacing:.2px}.input-container [mis-input-error]{color:#b00020}\n"] }]
68
- }], () => [], { type: [{
108
+ }], function () { return []; }, { type: [{
69
109
  type: Input
70
110
  }], size: [{
71
111
  type: Input
@@ -81,5 +121,25 @@ export class MisInputComponent {
81
121
  type: ContentChild,
82
122
  args: [MisInputDirective]
83
123
  }] }); })();
84
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MisInputComponent, { className: "MisInputComponent" }); })();
85
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWlzLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL21pcy1jb21wb25lbnRzL2lucHV0L21pcy1pbnB1dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy9pbnB1dC9taXMt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1cImlucHV0LXdyYXBwZXJcIj5cbiAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbbWlzLWlucHV0LWljb25dXCI+PC9uZy1jb250ZW50PlxuICAgIDxkaXYgY2xhc3M9XCJtaXMtaW5wdXRcIj5cbiAgICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImlucHV0XCI+PC9uZy1jb250ZW50PlxuICAgICAgPHNwYW4gY2xhc3M9XCJtaXMtcGxhY2Vob2xkZXJcIj57eyBwbGFjZWhvbGRlciB9fTxzcGFuICpuZ0lmPVwiaXNNYW5kYXRvcnlcIiBzdHlsZT1cImNvbG9yOiByZWQ7XCI+Kjwvc3Bhbj48L3NwYW4+XG4gICAgPC9kaXY+XG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW21pcy1pbnB1dC1hY3RdXCI+PC9uZy1jb250ZW50PlxuICA8L2Rpdj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW21pcy1pbnB1dC1oaW50XVwiPjwvbmctY29udGVudD5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW21pcy1pbnB1dC1lcnJvcl1cIj48L25nLWNvbnRlbnQ+XG48L2Rpdj5cbiJdfQ==
124
+
125
+ class MisInputModule {
126
+ }
127
+ MisInputModule.ɵfac = function MisInputModule_Factory(t) { return new (t || MisInputModule)(); };
128
+ MisInputModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: MisInputModule });
129
+ MisInputModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, FormsModule] });
130
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MisInputModule, [{
131
+ type: NgModule,
132
+ args: [{
133
+ declarations: [MisInputComponent, MisInputDirective],
134
+ imports: [CommonModule, FormsModule],
135
+ exports: [MisInputComponent, MisInputDirective]
136
+ }]
137
+ }], null, null); })();
138
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(MisInputModule, { declarations: [MisInputComponent, MisInputDirective], imports: [CommonModule, FormsModule], exports: [MisInputComponent, MisInputDirective] }); })();
139
+
140
+ /**
141
+ * Generated bundle index. Do not edit.
142
+ */
143
+
144
+ export { MisInputComponent, MisInputDirective, MisInputModule };
145
+ //# sourceMappingURL=mis-crystal-design-system-input.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mis-crystal-design-system-input.mjs","sources":["../../../projects/mis-components/input/directives/input/input.directive.ts","../../../projects/mis-components/input/mis-input.component.html","../../../projects/mis-components/input/mis-input.component.ts","../../../projects/mis-components/input/mis-input.module.ts","../../../projects/mis-components/input/mis-crystal-design-system-input.ts"],"sourcesContent":["import { Directive, ElementRef, OnDestroy, OnInit, Optional, Self } from \"@angular/core\";\nimport { NgControl } from \"@angular/forms\";\nimport { ReplaySubject, Subject, Subscription } from \"rxjs\";\nimport { takeUntil } from \"rxjs/operators\";\n\n@Directive({\n // tslint:disable-next-line\n selector: \"input[misInput]\"\n})\nexport class MisInputDirective implements OnInit, OnDestroy {\n constructor(public el: ElementRef, @Self() @Optional() public control: NgControl) {}\n private validityChange: ReplaySubject<boolean> = new ReplaySubject(1);\n validity = this.validityChange.asObservable();\n endObs: Subject<void> = new Subject();\n focus = false;\n hasValue = false;\n\n ngOnInit(): void {\n this.control?.control?.valueChanges.pipe(takeUntil(this.endObs)).subscribe(() => {\n this.validityChange.next(!this.control.control?.invalid);\n });\n this.el.nativeElement.placeholder += \" \";\n }\n ngOnDestroy(): void {\n this.endObs.next();\n this.endObs.complete();\n }\n}\n","<div\n [class]=\"'input-container ' + size\"\n [ngClass]=\"{\n rounded: type === 'rounded',\n floating: type === 'floating',\n 'has-error': !inputValidity || hasError,\n 'no-hint': noHints,\n 'mis-disabled': inputCtrl?.disabled\n }\"\n>\n <div class=\"input-wrapper\">\n <ng-content select=\"[mis-input-icon]\"></ng-content>\n <div class=\"mis-input\">\n <ng-content select=\"input\"></ng-content>\n <span class=\"mis-placeholder\">{{ placeholder }}<span *ngIf=\"isMandatory\" style=\"color: red;\">*</span></span>\n </div>\n <ng-content select=\"[mis-input-act]\"></ng-content>\n </div>\n <ng-content select=\"[mis-input-hint]\"></ng-content>\n <ng-content select=\"[mis-input-error]\"></ng-content>\n</div>\n","import { Component, ContentChild, Input, OnDestroy, OnInit, ViewEncapsulation } from \"@angular/core\";\nimport { AbstractControl } from \"@angular/forms\";\nimport { Subscription } from \"rxjs\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\n\n@Component({\n selector: \"mis-input\",\n templateUrl: \"./mis-input.component.html\",\n styleUrls: [\"./mis-input.component.scss\"]\n})\nexport class MisInputComponent implements OnInit, OnDestroy {\n @Input() type: \"rounded\" | \"floating\" = \"floating\";\n @Input() size: \"sm\" | \"md\" | \"lg\" = \"sm\";\n @Input() placeholder: string; // floating placeholder text\n @Input() noHints = false;\n @Input() hasError = false; // show input in error state\n @Input() isMandatory:boolean = false; // show input as mandatory\n @ContentChild(MisInputDirective) set formInput(input: MisInputDirective) {\n if (!this.placeholder) {\n this.placeholder = input?.el.nativeElement.placeholder || \"\";\n }\n this.inputCtrl = input.control?.control;\n this.inputSubscription?.unsubscribe();\n this.inputSubscription = input?.validity.subscribe(res => (this.inputValidity = res));\n this.placeholder += \" \";\n }\n inputCtrl: AbstractControl;\n inputSubscription: Subscription | undefined;\n inputValidity: boolean = true;\n constructor() {}\n\n ngOnInit(): void {}\n ngOnDestroy(): void {\n this.inputSubscription?.unsubscribe();\n }\n}\n","import { CommonModule } from \"@angular/common\";\nimport { NgModule } from \"@angular/core\";\nimport { FormsModule } from \"@angular/forms\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\nimport { MisInputComponent } from \"./mis-input.component\";\n\n@NgModule({\n declarations: [MisInputComponent, MisInputDirective],\n imports: [CommonModule, FormsModule],\n exports: [MisInputComponent, MisInputDirective]\n})\nexport class MisInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;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FAGxB,cAAc,EAAA,CAAA;cAL1B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,YAAY,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;AACpD,gBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;AACpC,gBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;AAChD,aAAA,CAAA;;wFACY,cAAc,EAAA,EAAA,YAAA,EAAA,CAJV,iBAAiB,EAAE,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACzC,YAAY,EAAE,WAAW,CAAA,EAAA,OAAA,EAAA,CACzB,iBAAiB,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACThD;;AAEG;;;;"}
1
+ {"version":3,"file":"mis-crystal-design-system-input.mjs","sources":["../../../projects/mis-components/input/directives/input/input.directive.ts","../../../projects/mis-components/input/mis-input.component.html","../../../projects/mis-components/input/mis-input.component.ts","../../../projects/mis-components/input/mis-input.module.ts","../../../projects/mis-components/input/mis-crystal-design-system-input.ts"],"sourcesContent":["import { Directive, ElementRef, OnDestroy, OnInit, Optional, Self } from \"@angular/core\";\nimport { NgControl } from \"@angular/forms\";\nimport { ReplaySubject, Subject, Subscription } from \"rxjs\";\nimport { takeUntil } from \"rxjs/operators\";\n\n@Directive({\n // tslint:disable-next-line\n selector: \"input[misInput]\"\n})\nexport class MisInputDirective implements OnInit, OnDestroy {\n constructor(public el: ElementRef, @Self() @Optional() public control: NgControl) {}\n private validityChange: ReplaySubject<boolean> = new ReplaySubject(1);\n validity = this.validityChange.asObservable();\n endObs: Subject<void> = new Subject();\n focus = false;\n hasValue = false;\n\n ngOnInit(): void {\n this.control?.control?.valueChanges.pipe(takeUntil(this.endObs)).subscribe(() => {\n this.validityChange.next(!this.control.control?.invalid);\n });\n this.el.nativeElement.placeholder += \" \";\n }\n ngOnDestroy(): void {\n this.endObs.next();\n this.endObs.complete();\n }\n}\n","<div\n [class]=\"'input-container ' + size\"\n [ngClass]=\"{\n rounded: type === 'rounded',\n floating: type === 'floating',\n 'has-error': !inputValidity || hasError,\n 'no-hint': noHints,\n 'mis-disabled': inputCtrl?.disabled\n }\"\n>\n <div class=\"input-wrapper\">\n <ng-content select=\"[mis-input-icon]\"></ng-content>\n <div class=\"mis-input\">\n <ng-content select=\"input\"></ng-content>\n <span class=\"mis-placeholder\">{{ placeholder }}<span *ngIf=\"isMandatory\" style=\"color: red;\">*</span></span>\n </div>\n <ng-content select=\"[mis-input-act]\"></ng-content>\n </div>\n <ng-content select=\"[mis-input-hint]\"></ng-content>\n <ng-content select=\"[mis-input-error]\"></ng-content>\n</div>\n","import { Component, ContentChild, Input, OnDestroy, OnInit, ViewEncapsulation } from \"@angular/core\";\nimport { AbstractControl } from \"@angular/forms\";\nimport { Subscription } from \"rxjs\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\n\n@Component({\n selector: \"mis-input\",\n templateUrl: \"./mis-input.component.html\",\n styleUrls: [\"./mis-input.component.scss\"]\n})\nexport class MisInputComponent implements OnInit, OnDestroy {\n @Input() type: \"rounded\" | \"floating\" = \"floating\";\n @Input() size: \"sm\" | \"md\" | \"lg\" = \"sm\";\n @Input() placeholder: string; // floating placeholder text\n @Input() noHints = false;\n @Input() hasError = false; // show input in error state\n @Input() isMandatory:boolean = false; // show input as mandatory\n @ContentChild(MisInputDirective) set formInput(input: MisInputDirective) {\n if (!this.placeholder) {\n this.placeholder = input?.el.nativeElement.placeholder || \"\";\n }\n this.inputCtrl = input.control?.control;\n this.inputSubscription?.unsubscribe();\n this.inputSubscription = input?.validity.subscribe(res => (this.inputValidity = res));\n this.placeholder += \" \";\n }\n inputCtrl: AbstractControl;\n inputSubscription: Subscription | undefined;\n inputValidity: boolean = true;\n constructor() {}\n\n ngOnInit(): void {}\n ngOnDestroy(): void {\n this.inputSubscription?.unsubscribe();\n }\n}\n","import { CommonModule } from \"@angular/common\";\nimport { NgModule } from \"@angular/core\";\nimport { FormsModule } from \"@angular/forms\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\nimport { MisInputComponent } from \"./mis-input.component\";\n\n@NgModule({\n declarations: [MisInputComponent, MisInputDirective],\n imports: [CommonModule, FormsModule],\n exports: [MisInputComponent, MisInputDirective]\n})\nexport class MisInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MASa,iBAAiB,CAAA;IAC5B,WAAmB,CAAA,EAAc,EAA6B,OAAkB,EAAA;QAA7D,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;QAA6B,IAAO,CAAA,OAAA,GAAP,OAAO,CAAW;AACxE,QAAA,IAAA,CAAA,cAAc,GAA2B,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;AACtE,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC;AAC9C,QAAA,IAAA,CAAA,MAAM,GAAkB,IAAI,OAAO,EAAE,CAAC;QACtC,IAAK,CAAA,KAAA,GAAG,KAAK,CAAC;QACd,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;KALmE;IAOpF,QAAQ,GAAA;QACN,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,MAAK;AAC9E,YAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAC3D,SAAC,CAAC,CAAC;QACH,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,WAAW,IAAI,GAAG,CAAC;KAC1C;IACD,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;AACnB,QAAA,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;KACxB;;kFAjBU,iBAAiB,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,CAAA;;;MCNpB,cAAc,CAAA;;4EAAd,cAAc,GAAA,CAAA,EAAA,CAAA;gEAAd,cAAc,EAAA,CAAA,CAAA;AAHf,cAAA,CAAA,IAAA,iBAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;uFAGxB,cAAc,EAAA,CAAA;cAL1B,QAAQ;AAAC,QAAA,IAAA,EAAA,CAAA;AACR,gBAAA,YAAY,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;AACpD,gBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;AACpC,gBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;AAChD,aAAA,CAAA;;wFACY,cAAc,EAAA,EAAA,YAAA,EAAA,CAJV,iBAAiB,EAAE,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACzC,YAAY,EAAE,WAAW,CAAA,EAAA,OAAA,EAAA,CACzB,iBAAiB,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACThD;;AAEG;;;;"}
@@ -0,0 +1,50 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Input, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ const _c0 = function (a0) { return { mobile: a0 }; };
7
+ class LoaderComponent {
8
+ constructor() {
9
+ /** Controls loader size */
10
+ this.mobileView = false;
11
+ }
12
+ ngOnInit() { }
13
+ }
14
+ LoaderComponent.ɵfac = function LoaderComponent_Factory(t) { return new (t || LoaderComponent)(); };
15
+ LoaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoaderComponent, selectors: [["mis-loader"]], inputs: { mobileView: "mobileView" }, decls: 1, vars: 3, consts: [["id", "spinner", 3, "ngClass"]], template: function LoaderComponent_Template(rf, ctx) { if (rf & 1) {
16
+ i0.ɵɵelement(0, "div", 0);
17
+ } if (rf & 2) {
18
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(1, _c0, ctx.mobileView));
19
+ } }, dependencies: [i1.NgClass], styles: ["#spinner[_ngcontent-%COMP%]{animation:frames 1s infinite linear;background:transparent;border:4px solid #e0e0e0;border-radius:100%;border-top-color:#6200ee;width:40px;height:40px;padding:0;position:absolute}@keyframes frames{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.mobile[_ngcontent-%COMP%]{height:20px!important;width:20px!important;border:2px solid #e0e0e0!important;border-top-color:#6200ee!important}"] });
20
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoaderComponent, [{
21
+ type: Component,
22
+ args: [{ selector: "mis-loader", template: "<div\n id=\"spinner\"\n [ngClass]=\"{\n mobile: mobileView\n }\"\n></div>\n", styles: ["#spinner{animation:frames 1s infinite linear;background:transparent;border:4px solid #e0e0e0;border-radius:100%;border-top-color:#6200ee;width:40px;height:40px;padding:0;position:absolute}@keyframes frames{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.mobile{height:20px!important;width:20px!important;border:2px solid #e0e0e0!important;border-top-color:#6200ee!important}\n"] }]
23
+ }], function () { return []; }, { mobileView: [{
24
+ type: Input
25
+ }] }); })();
26
+
27
+ class LoaderModule {
28
+ static forRoot() {
29
+ return { ngModule: LoaderModule, providers: [] };
30
+ }
31
+ }
32
+ LoaderModule.ɵfac = function LoaderModule_Factory(t) { return new (t || LoaderModule)(); };
33
+ LoaderModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: LoaderModule });
34
+ LoaderModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
35
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoaderModule, [{
36
+ type: NgModule,
37
+ args: [{
38
+ declarations: [LoaderComponent],
39
+ imports: [CommonModule],
40
+ exports: [LoaderComponent]
41
+ }]
42
+ }], null, null); })();
43
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LoaderModule, { declarations: [LoaderComponent], imports: [CommonModule], exports: [LoaderComponent] }); })();
44
+
45
+ /**
46
+ * Generated bundle index. Do not edit.
47
+ */
48
+
49
+ export { LoaderComponent, LoaderModule };
50
+ //# sourceMappingURL=mis-crystal-design-system-loader.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"mis-crystal-design-system-loader.mjs","sources":["../../../projects/mis-components/loader/loader.component.ts","../../../projects/mis-components/loader/loader.component.html","../../../projects/mis-components/loader/loader.module.ts","../../../projects/mis-components/loader/mis-crystal-design-system-loader.ts"],"sourcesContent":["import { Component, Input, OnInit } from \"@angular/core\";\n\n@Component({\n selector: \"mis-loader\",\n templateUrl: \"./loader.component.html\",\n styleUrls: [\"./loader.component.scss\"]\n})\nexport class LoaderComponent implements OnInit {\n /** Controls loader size */\n @Input() mobileView: boolean = false;\n\n constructor() {}\n ngOnInit() {}\n}\n","<div\n id=\"spinner\"\n [ngClass]=\"{\n mobile: mobileView\n }\"\n></div>\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { LoaderComponent } from \"./loader.component\";\n\n@NgModule({\n declarations: [LoaderComponent],\n imports: [CommonModule],\n exports: [LoaderComponent]\n})\nexport class LoaderModule {\n static forRoot(): ModuleWithProviders<LoaderModule> {\n return { ngModule: LoaderModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAOa,eAAe,CAAA;AAI1B,IAAA,WAAA,GAAA;;QAFS,IAAU,CAAA,UAAA,GAAY,KAAK,CAAC;KAErB;AAChB,IAAA,QAAQ,MAAK;gHALF,eAAe,GAAA,CAAA,EAAA,CAAA,EAAA;oEAAf,eAAe,EAAA,SAAA,EAAA,CAAA,CAAA,YAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,UA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A,kBAAA,CAAA,YAAY,EAJR,EAAA,YAAA,EAAA,CAAA,eAAe,CACpB,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,eAAe,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACR3B;;AAEG;;;;"}
1
+ {"version":3,"file":"mis-crystal-design-system-loader.mjs","sources":["../../../projects/mis-components/loader/loader.component.ts","../../../projects/mis-components/loader/loader.component.html","../../../projects/mis-components/loader/loader.module.ts","../../../projects/mis-components/loader/mis-crystal-design-system-loader.ts"],"sourcesContent":["import { Component, Input, OnInit } from \"@angular/core\";\n\n@Component({\n selector: \"mis-loader\",\n templateUrl: \"./loader.component.html\",\n styleUrls: [\"./loader.component.scss\"]\n})\nexport class LoaderComponent implements OnInit {\n /** Controls loader size */\n @Input() mobileView: boolean = false;\n\n constructor() {}\n ngOnInit() {}\n}\n","<div\n id=\"spinner\"\n [ngClass]=\"{\n mobile: mobileView\n }\"\n></div>\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { LoaderComponent } from \"./loader.component\";\n\n@NgModule({\n declarations: [LoaderComponent],\n imports: [CommonModule],\n exports: [LoaderComponent]\n})\nexport class LoaderModule {\n static forRoot(): ModuleWithProviders<LoaderModule> {\n return { ngModule: LoaderModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAOa,eAAe,CAAA;AAI1B,IAAA,WAAA,GAAA;;QAFS,IAAU,CAAA,UAAA,GAAY,KAAK,CAAC;KAErB;AAChB,IAAA,QAAQ,MAAK;;8EALF,eAAe,GAAA,CAAA,EAAA,CAAA;kEAAf,eAAe,EAAA,SAAA,EAAA,CAAA,CAAA,YAAA,CAAA,CAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,KAAA,EAAA,CAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,CAAA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