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

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 (640) hide show
  1. package/action-list/action-list.component.d.ts +3 -0
  2. package/action-list/action-list.module.d.ts +9 -0
  3. package/analytics/analytics.module.d.ts +4 -0
  4. package/analytics/analytics.service.d.ts +3 -0
  5. package/async-search-dropdown/async-dropdown.component.d.ts +5 -2
  6. package/async-search-dropdown/async-dropdown.module.d.ts +9 -0
  7. package/button/button.component.d.ts +3 -0
  8. package/button/button.directive.d.ts +3 -0
  9. package/button/button.directive.scss +13 -17
  10. package/button/button.module.d.ts +7 -0
  11. package/checkbox/checkbox.component.d.ts +3 -0
  12. package/checkbox/checkbox.module.d.ts +7 -0
  13. package/chip/chip.component.d.ts +3 -0
  14. package/chip/chip.module.d.ts +6 -0
  15. package/datepicker_v2/datepicker.module.d.ts +10 -0
  16. package/datepicker_v2/public_api.d.ts +1 -0
  17. package/datepicker_v2/tz-datepicker.directive.d.ts +3 -0
  18. package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +3 -0
  19. package/daterangepicker_v2/daterangepicker.module.d.ts +10 -0
  20. package/daterangepicker_v2/public_api.d.ts +1 -0
  21. package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +3 -0
  22. package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +3 -0
  23. package/drawer/drawer-body/drawer-body.component.d.ts +3 -1
  24. package/drawer/drawer.module.d.ts +8 -0
  25. package/drawer/drawer.service.d.ts +3 -0
  26. package/dropdown/dropdown.component.d.ts +3 -0
  27. package/dropdown/dropdown.module.d.ts +9 -0
  28. package/esm2020/action-list/action-list.component.mjs +174 -0
  29. package/esm2020/action-list/action-list.module.mjs +24 -0
  30. package/{esm2015/action-list/index.js → esm2020/action-list/index.mjs} +0 -0
  31. package/{esm2015/action-list/mis-crystal-design-system-action-list.js → esm2020/action-list/mis-crystal-design-system-action-list.mjs} +0 -0
  32. package/{esm2015/action-list/public_api.js → esm2020/action-list/public_api.mjs} +0 -0
  33. package/esm2020/analytics/analytics.module.mjs +18 -0
  34. package/esm2020/analytics/analytics.service.mjs +63 -0
  35. package/{esm2015/analytics/index.js → esm2020/analytics/index.mjs} +0 -0
  36. package/{esm2015/analytics/mis-crystal-design-system-analytics.js → esm2020/analytics/mis-crystal-design-system-analytics.mjs} +0 -0
  37. package/{esm2015/analytics/public_api.js → esm2020/analytics/public_api.mjs} +0 -0
  38. package/esm2020/async-search-dropdown/async-dropdown.component.mjs +242 -0
  39. package/esm2020/async-search-dropdown/async-dropdown.module.mjs +21 -0
  40. package/{esm2015/async-search-dropdown/index.js → esm2020/async-search-dropdown/index.mjs} +0 -0
  41. package/{esm2015/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.js → esm2020/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs} +0 -0
  42. package/{esm2015/async-search-dropdown/public_api.js → esm2020/async-search-dropdown/public_api.mjs} +0 -0
  43. package/esm2020/button/button.component.mjs +52 -0
  44. package/esm2020/button/button.directive.mjs +59 -0
  45. package/esm2020/button/button.module.mjs +22 -0
  46. package/{esm2015/button/index.js → esm2020/button/index.mjs} +0 -0
  47. package/{esm2015/button/mis-crystal-design-system-button.js → esm2020/button/mis-crystal-design-system-button.mjs} +0 -0
  48. package/{esm2015/button/public_api.js → esm2020/button/public_api.mjs} +0 -0
  49. package/esm2020/checkbox/checkbox.component.mjs +87 -0
  50. package/esm2020/checkbox/checkbox.module.mjs +22 -0
  51. package/{esm2015/checkbox/index.js → esm2020/checkbox/index.mjs} +0 -0
  52. package/{esm2015/checkbox/mis-crystal-design-system-checkbox.js → esm2020/checkbox/mis-crystal-design-system-checkbox.mjs} +0 -0
  53. package/{esm2015/checkbox/public_api.js → esm2020/checkbox/public_api.mjs} +0 -0
  54. package/esm2020/chip/chip.component.mjs +36 -0
  55. package/esm2020/chip/chip.module.mjs +21 -0
  56. package/{esm2015/chip/index.js → esm2020/chip/index.mjs} +0 -0
  57. package/{esm2015/chip/mis-crystal-design-system-chip.js → esm2020/chip/mis-crystal-design-system-chip.mjs} +0 -0
  58. package/{esm2015/chip/public_api.js → esm2020/chip/public_api.mjs} +0 -0
  59. package/{esm2015/datepicker_v2/datepicker-constants.js → esm2020/datepicker_v2/datepicker-constants.mjs} +0 -0
  60. package/esm2020/datepicker_v2/datepicker.module.mjs +23 -0
  61. package/{esm2015/datepicker_v2/index.js → esm2020/datepicker_v2/index.mjs} +0 -0
  62. package/esm2020/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +5 -0
  63. package/{esm2015/datepicker_v2/models/dp-config.model.js → esm2020/datepicker_v2/models/dp-config.model.mjs} +0 -0
  64. package/esm2020/datepicker_v2/public_api.mjs +4 -0
  65. package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +143 -0
  66. package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +151 -0
  67. package/{esm2015/datepicker_v2/utils/index.js → esm2020/datepicker_v2/utils/index.mjs} +0 -0
  68. package/{esm2015/daterangepicker_v2/daterangepicker-constants.js → esm2020/daterangepicker_v2/daterangepicker-constants.mjs} +0 -0
  69. package/esm2020/daterangepicker_v2/daterangepicker.module.mjs +24 -0
  70. package/{esm2015/daterangepicker_v2/index.js → esm2020/daterangepicker_v2/index.mjs} +0 -0
  71. package/esm2020/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +5 -0
  72. package/{esm2015/daterangepicker_v2/models/drp-config.model.js → esm2020/daterangepicker_v2/models/drp-config.model.mjs} +0 -0
  73. package/esm2020/daterangepicker_v2/public_api.mjs +4 -0
  74. package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +133 -0
  75. package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +209 -0
  76. package/{esm2015/daterangepicker_v2/utils/index.js → esm2020/daterangepicker_v2/utils/index.mjs} +0 -0
  77. package/esm2020/drawer/drawer-body/drawer-body.component.mjs +43 -0
  78. package/{esm2015/drawer/drawer-constants.js → esm2020/drawer/drawer-constants.mjs} +0 -0
  79. package/{esm2015/drawer/drawer-ref.js → esm2020/drawer/drawer-ref.mjs} +0 -0
  80. package/esm2020/drawer/drawer.module.mjs +32 -0
  81. package/{esm2015/drawer/drawer.service.js → esm2020/drawer/drawer.service.mjs} +12 -15
  82. package/{esm2015/drawer/index.js → esm2020/drawer/index.mjs} +0 -0
  83. package/esm2020/drawer/mis-crystal-design-system-drawer.mjs +5 -0
  84. package/{esm2015/drawer/public_api.js → esm2020/drawer/public_api.mjs} +0 -0
  85. package/esm2020/dropdown/dropdown.component.mjs +148 -0
  86. package/esm2020/dropdown/dropdown.module.mjs +24 -0
  87. package/{esm2015/dropdown/index.js → esm2020/dropdown/index.mjs} +0 -0
  88. package/{esm2015/dropdown/mis-crystal-design-system-dropdown.js → esm2020/dropdown/mis-crystal-design-system-dropdown.mjs} +0 -0
  89. package/{esm2015/dropdown/public_api.js → esm2020/dropdown/public_api.mjs} +0 -0
  90. package/esm2020/fab/fab.component.mjs +82 -0
  91. package/esm2020/fab/fab.module.mjs +21 -0
  92. package/{esm2015/fab/index.js → esm2020/fab/index.mjs} +0 -0
  93. package/{esm2015/fab/mis-crystal-design-system-fab.js → esm2020/fab/mis-crystal-design-system-fab.mjs} +0 -0
  94. package/{esm2015/fab/public_api.js → esm2020/fab/public_api.mjs} +0 -0
  95. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  96. package/esm2020/input/directives/input/input.directive.mjs +40 -0
  97. package/{esm2015/input/index.js → esm2020/input/index.mjs} +0 -0
  98. package/{esm2015/input/mis-crystal-design-system-input.js → esm2020/input/mis-crystal-design-system-input.mjs} +0 -0
  99. package/esm2020/input/mis-input.component.mjs +46 -0
  100. package/esm2020/input/mis-input.module.mjs +20 -0
  101. package/{esm2015/input/public_api.js → esm2020/input/public_api.mjs} +0 -0
  102. package/{esm2015/loader/index.js → esm2020/loader/index.mjs} +0 -0
  103. package/esm2020/loader/loader.component.mjs +19 -0
  104. package/esm2020/loader/loader.module.mjs +21 -0
  105. package/{esm2015/loader/mis-crystal-design-system-loader.js → esm2020/loader/mis-crystal-design-system-loader.mjs} +0 -0
  106. package/{esm2015/loader/public_api.js → esm2020/loader/public_api.mjs} +0 -0
  107. package/{esm2015/menu/index.js → esm2020/menu/index.mjs} +0 -0
  108. package/esm2020/menu/menu-close.directive.mjs +23 -0
  109. package/esm2020/menu/menu.directive.mjs +75 -0
  110. package/esm2020/menu/menu.module.mjs +22 -0
  111. package/{esm2015/menu/mis-crystal-design-system-menu.js → esm2020/menu/mis-crystal-design-system-menu.mjs} +0 -0
  112. package/{esm2015/menu/public_api.js → esm2020/menu/public_api.mjs} +0 -0
  113. package/{esm2015/mis-crystal-design-system.js → esm2020/mis-crystal-design-system.mjs} +0 -0
  114. package/{esm2015/modal/index.js → esm2020/modal/index.mjs} +0 -0
  115. package/esm2020/modal/mis-crystal-design-system-modal.mjs +5 -0
  116. package/{esm2015/modal/modal-constants.js → esm2020/modal/modal-constants.mjs} +0 -0
  117. package/{esm2015/modal/modal-ref.js → esm2020/modal/modal-ref.mjs} +0 -0
  118. package/esm2020/modal/modal.module.mjs +32 -0
  119. package/esm2020/modal/modal.service.mjs +70 -0
  120. package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +40 -0
  121. package/{esm2015/modal/public_api.js → esm2020/modal/public_api.mjs} +0 -0
  122. package/{esm2015/multi-select-dropdown/index.js → esm2020/multi-select-dropdown/index.mjs} +0 -0
  123. package/{esm2015/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.js → esm2020/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs} +0 -0
  124. package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +297 -0
  125. package/esm2020/multi-select-dropdown/multi-select-dropdown.module.mjs +25 -0
  126. package/{esm2015/multi-select-dropdown/public_api.js → esm2020/multi-select-dropdown/public_api.mjs} +0 -0
  127. package/{esm2015/nested-multi-select-dropdown/index.js → esm2020/nested-multi-select-dropdown/index.mjs} +0 -0
  128. package/{esm2015/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.js → esm2020/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs} +0 -0
  129. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +313 -0
  130. package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +25 -0
  131. package/{esm2015/nested-multi-select-dropdown/public_api.js → esm2020/nested-multi-select-dropdown/public_api.mjs} +0 -0
  132. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  133. package/{esm2015/radio-button/index.js → esm2020/radio-button/index.mjs} +0 -0
  134. package/{esm2015/radio-button/mis-crystal-design-system-radio-button.js → esm2020/radio-button/mis-crystal-design-system-radio-button.mjs} +0 -0
  135. package/{esm2015/radio-button/public_api.js → esm2020/radio-button/public_api.mjs} +0 -0
  136. package/esm2020/radio-button/radio-button.component.mjs +49 -0
  137. package/esm2020/radio-button/radio-button.module.mjs +22 -0
  138. package/{esm2015/ske-loader/index.js → esm2020/ske-loader/index.mjs} +0 -0
  139. package/{esm2015/ske-loader/mis-crystal-design-system-ske-loader.js → esm2020/ske-loader/mis-crystal-design-system-ske-loader.mjs} +0 -0
  140. package/{esm2015/ske-loader/public_api.js → esm2020/ske-loader/public_api.mjs} +0 -0
  141. package/esm2020/ske-loader/ske-loader.component.mjs +34 -0
  142. package/esm2020/ske-loader/ske-loader.module.mjs +18 -0
  143. package/{esm2015/styles/index.js → esm2020/styles/index.mjs} +0 -0
  144. package/{esm2015/styles/mis-crystal-design-system-styles.js → esm2020/styles/mis-crystal-design-system-styles.mjs} +0 -0
  145. package/{esm2015/styles/public_api.js → esm2020/styles/public_api.mjs} +0 -0
  146. package/{esm2015/switch/index.js → esm2020/switch/index.mjs} +0 -0
  147. package/{esm2015/switch/mis-crystal-design-system-switch.js → esm2020/switch/mis-crystal-design-system-switch.mjs} +0 -0
  148. package/{esm2015/switch/public_api.js → esm2020/switch/public_api.mjs} +0 -0
  149. package/esm2020/switch/switch.component.mjs +43 -0
  150. package/esm2020/switch/switch.module.mjs +22 -0
  151. package/esm2020/table/custom-table-cell.directive.mjs +42 -0
  152. package/esm2020/table/filter/filter.component.mjs +79 -0
  153. package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
  154. package/esm2020/table/mis-crystal-design-system-table.mjs +5 -0
  155. package/esm2020/table/public_api.mjs +6 -0
  156. package/esm2020/table/sub-table/sub-table.component.mjs +69 -0
  157. package/esm2020/table/table.component.mjs +208 -0
  158. package/esm2020/table/table.module.mjs +26 -0
  159. package/{esm2015/toast/index.js → esm2020/toast/index.mjs} +0 -0
  160. package/{esm2015/toast/mis-crystal-design-system-toast.js → esm2020/toast/mis-crystal-design-system-toast.mjs} +1 -2
  161. package/{esm2015/toast/public_api.js → esm2020/toast/public_api.mjs} +0 -0
  162. package/esm2020/toast/toast.component.mjs +33 -0
  163. package/esm2020/toast/toast.data.service.mjs +30 -0
  164. package/esm2020/toast/toast.module.mjs +32 -0
  165. package/esm2020/toast/toast.service.mjs +91 -0
  166. package/{esm2015/tooltip/index.js → esm2020/tooltip/index.mjs} +0 -0
  167. package/{esm2015/tooltip/mis-crystal-design-system-tooltip.js → esm2020/tooltip/mis-crystal-design-system-tooltip.mjs} +0 -0
  168. package/{esm2015/tooltip/models/tooltip.model.js → esm2020/tooltip/models/tooltip.model.mjs} +0 -0
  169. package/{esm2015/tooltip/public_api.js → esm2020/tooltip/public_api.mjs} +0 -0
  170. package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +33 -0
  171. package/esm2020/tooltip/tooltip.directive.mjs +122 -0
  172. package/esm2020/tooltip/tooltip.module.mjs +23 -0
  173. package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
  174. package/{esm2015/utils/mis-crystal-design-system-utils.js → esm2020/utils/mis-crystal-design-system-utils.mjs} +0 -0
  175. package/{esm2015/widgets/classes/async-widget.js → esm2020/widgets/classes/async-widget.mjs} +0 -0
  176. package/{esm2015/widgets/classes/base-widget.js → esm2020/widgets/classes/base-widget.mjs} +2 -2
  177. package/{esm2015/widgets/classes/sync-widget.js → esm2020/widgets/classes/sync-widget.mjs} +0 -0
  178. package/esm2020/widgets/classes/widget-group.mjs +32 -0
  179. package/{esm2015/widgets/index.js → esm2020/widgets/index.mjs} +0 -0
  180. package/{esm2015/widgets/interfaces/widgets.model.js → esm2020/widgets/interfaces/widgets.model.mjs} +0 -0
  181. package/{esm2015/widgets/mis-crystal-design-system-widgets.js → esm2020/widgets/mis-crystal-design-system-widgets.mjs} +0 -0
  182. package/{esm2015/widgets/public_api.js → esm2020/widgets/public_api.mjs} +0 -0
  183. package/esm2020/widgets/services/widget.service.mjs +18 -0
  184. package/esm2020/widgets/widgets.module.mjs +17 -0
  185. package/fab/fab.component.d.ts +3 -0
  186. package/fab/fab.module.d.ts +6 -0
  187. package/fesm2015/mis-crystal-design-system-action-list.mjs +199 -0
  188. package/fesm2015/mis-crystal-design-system-action-list.mjs.map +1 -0
  189. package/fesm2015/{mis-crystal-design-system-analytics.js → mis-crystal-design-system-analytics.mjs} +22 -14
  190. package/fesm2015/mis-crystal-design-system-analytics.mjs.map +1 -0
  191. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +272 -0
  192. package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  193. package/fesm2015/mis-crystal-design-system-button.mjs +134 -0
  194. package/fesm2015/mis-crystal-design-system-button.mjs.map +1 -0
  195. package/fesm2015/mis-crystal-design-system-checkbox.mjs +112 -0
  196. package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +1 -0
  197. package/fesm2015/mis-crystal-design-system-chip.mjs +61 -0
  198. package/fesm2015/mis-crystal-design-system-chip.mjs.map +1 -0
  199. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +360 -0
  200. package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  201. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +412 -0
  202. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  203. package/fesm2015/mis-crystal-design-system-drawer.mjs +157 -0
  204. package/fesm2015/mis-crystal-design-system-drawer.mjs.map +1 -0
  205. package/fesm2015/mis-crystal-design-system-dropdown.mjs +176 -0
  206. package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +1 -0
  207. package/fesm2015/mis-crystal-design-system-fab.mjs +102 -0
  208. package/fesm2015/mis-crystal-design-system-fab.mjs.map +1 -0
  209. package/fesm2015/mis-crystal-design-system-input.mjs +112 -0
  210. package/fesm2015/mis-crystal-design-system-input.mjs.map +1 -0
  211. package/fesm2015/mis-crystal-design-system-loader.mjs +44 -0
  212. package/fesm2015/mis-crystal-design-system-loader.mjs.map +1 -0
  213. package/fesm2015/mis-crystal-design-system-menu.mjs +120 -0
  214. package/fesm2015/mis-crystal-design-system-menu.mjs.map +1 -0
  215. package/fesm2015/mis-crystal-design-system-modal.mjs +156 -0
  216. package/fesm2015/mis-crystal-design-system-modal.mjs.map +1 -0
  217. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +312 -0
  218. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  219. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +310 -0
  220. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  221. package/fesm2015/mis-crystal-design-system-radio-button.mjs +74 -0
  222. package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +1 -0
  223. package/fesm2015/mis-crystal-design-system-ske-loader.mjs +56 -0
  224. package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  225. package/fesm2015/mis-crystal-design-system-styles.mjs +4 -0
  226. package/fesm2015/mis-crystal-design-system-styles.mjs.map +1 -0
  227. package/fesm2015/mis-crystal-design-system-switch.mjs +68 -0
  228. package/fesm2015/mis-crystal-design-system-switch.mjs.map +1 -0
  229. package/fesm2015/mis-crystal-design-system-table.mjs +421 -0
  230. package/fesm2015/mis-crystal-design-system-table.mjs.map +1 -0
  231. package/fesm2015/mis-crystal-design-system-toast.mjs +182 -0
  232. package/fesm2015/mis-crystal-design-system-toast.mjs.map +1 -0
  233. package/fesm2015/mis-crystal-design-system-tooltip.mjs +179 -0
  234. package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +1 -0
  235. package/fesm2015/{mis-crystal-design-system-utils.js → mis-crystal-design-system-utils.mjs} +1 -1
  236. package/fesm2015/mis-crystal-design-system-utils.mjs.map +1 -0
  237. package/fesm2015/{mis-crystal-design-system-widgets.js → mis-crystal-design-system-widgets.mjs} +13 -8
  238. package/fesm2015/mis-crystal-design-system-widgets.mjs.map +1 -0
  239. package/fesm2015/{mis-crystal-design-system.js → mis-crystal-design-system.mjs} +1 -1
  240. package/fesm2015/mis-crystal-design-system.mjs.map +1 -0
  241. package/fesm2020/mis-crystal-design-system-action-list.mjs +201 -0
  242. package/fesm2020/mis-crystal-design-system-action-list.mjs.map +1 -0
  243. package/fesm2020/mis-crystal-design-system-analytics.mjs +85 -0
  244. package/fesm2020/mis-crystal-design-system-analytics.mjs.map +1 -0
  245. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +265 -0
  246. package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
  247. package/fesm2020/mis-crystal-design-system-button.mjs +134 -0
  248. package/fesm2020/mis-crystal-design-system-button.mjs.map +1 -0
  249. package/fesm2020/mis-crystal-design-system-checkbox.mjs +112 -0
  250. package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +1 -0
  251. package/fesm2020/mis-crystal-design-system-chip.mjs +61 -0
  252. package/fesm2020/mis-crystal-design-system-chip.mjs.map +1 -0
  253. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs +361 -0
  254. package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
  255. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +409 -0
  256. package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
  257. package/fesm2020/mis-crystal-design-system-drawer.mjs +156 -0
  258. package/fesm2020/mis-crystal-design-system-drawer.mjs.map +1 -0
  259. package/fesm2020/mis-crystal-design-system-dropdown.mjs +175 -0
  260. package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +1 -0
  261. package/fesm2020/mis-crystal-design-system-fab.mjs +107 -0
  262. package/fesm2020/mis-crystal-design-system-fab.mjs.map +1 -0
  263. package/fesm2020/mis-crystal-design-system-input.mjs +106 -0
  264. package/fesm2020/mis-crystal-design-system-input.mjs.map +1 -0
  265. package/fesm2020/mis-crystal-design-system-loader.mjs +44 -0
  266. package/fesm2020/mis-crystal-design-system-loader.mjs.map +1 -0
  267. package/fesm2020/mis-crystal-design-system-menu.mjs +119 -0
  268. package/fesm2020/mis-crystal-design-system-menu.mjs.map +1 -0
  269. package/fesm2020/mis-crystal-design-system-modal.mjs +156 -0
  270. package/fesm2020/mis-crystal-design-system-modal.mjs.map +1 -0
  271. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs +325 -0
  272. package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
  273. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs +341 -0
  274. package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
  275. package/fesm2020/mis-crystal-design-system-radio-button.mjs +74 -0
  276. package/fesm2020/mis-crystal-design-system-radio-button.mjs.map +1 -0
  277. package/fesm2020/mis-crystal-design-system-ske-loader.mjs +56 -0
  278. package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +1 -0
  279. package/fesm2020/mis-crystal-design-system-styles.mjs +4 -0
  280. package/fesm2020/mis-crystal-design-system-styles.mjs.map +1 -0
  281. package/fesm2020/mis-crystal-design-system-switch.mjs +68 -0
  282. package/fesm2020/mis-crystal-design-system-switch.mjs.map +1 -0
  283. package/fesm2020/mis-crystal-design-system-table.mjs +413 -0
  284. package/fesm2020/mis-crystal-design-system-table.mjs.map +1 -0
  285. package/fesm2020/mis-crystal-design-system-toast.mjs +180 -0
  286. package/fesm2020/mis-crystal-design-system-toast.mjs.map +1 -0
  287. package/fesm2020/mis-crystal-design-system-tooltip.mjs +177 -0
  288. package/fesm2020/mis-crystal-design-system-tooltip.mjs.map +1 -0
  289. package/fesm2020/mis-crystal-design-system-utils.mjs +24 -0
  290. package/fesm2020/mis-crystal-design-system-utils.mjs.map +1 -0
  291. package/fesm2020/mis-crystal-design-system-widgets.mjs +128 -0
  292. package/fesm2020/mis-crystal-design-system-widgets.mjs.map +1 -0
  293. package/fesm2020/mis-crystal-design-system.mjs +24 -0
  294. package/fesm2020/mis-crystal-design-system.mjs.map +1 -0
  295. package/input/directives/input/input.directive.d.ts +3 -0
  296. package/input/mis-input.component.d.ts +3 -0
  297. package/input/mis-input.component.scss +18 -20
  298. package/input/mis-input.module.d.ts +8 -0
  299. package/loader/loader.component.d.ts +3 -0
  300. package/loader/loader.module.d.ts +6 -0
  301. package/menu/menu-close.directive.d.ts +3 -0
  302. package/menu/menu.directive.d.ts +3 -0
  303. package/menu/menu.module.d.ts +9 -1
  304. package/modal/modal.module.d.ts +8 -0
  305. package/modal/modal.service.d.ts +3 -0
  306. package/modal/module-wrapper/module-wrapper.component.d.ts +3 -0
  307. package/multi-select-dropdown/multi-select-dropdown.component.d.ts +3 -0
  308. package/multi-select-dropdown/multi-select-dropdown.module.d.ts +10 -0
  309. package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +3 -0
  310. package/nested-multi-select-dropdown/nested-multi-select-dropdown.module.d.ts +10 -0
  311. package/package.json +228 -8
  312. package/radio-button/radio-button.component.d.ts +3 -0
  313. package/radio-button/radio-button.module.d.ts +7 -0
  314. package/ske-loader/ske-loader.component.d.ts +3 -0
  315. package/ske-loader/ske-loader.module.d.ts +6 -0
  316. package/styles/mis-fonts.scss +47 -37
  317. package/switch/switch.component.d.ts +3 -0
  318. package/switch/switch.module.d.ts +7 -0
  319. package/table/custom-table-cell.directive.d.ts +3 -0
  320. package/table/filter/filter.component.d.ts +3 -0
  321. package/table/public_api.d.ts +1 -0
  322. package/table/sub-table/sub-table.component.d.ts +3 -0
  323. package/table/table.component.d.ts +3 -0
  324. package/table/table.module.d.ts +11 -0
  325. package/toast/toast.component.d.ts +3 -0
  326. package/toast/toast.data.service.d.ts +3 -0
  327. package/toast/toast.module.d.ts +7 -0
  328. package/toast/toast.service.d.ts +3 -0
  329. package/tooltip/tooltip-container/tooltip.component.d.ts +3 -0
  330. package/tooltip/tooltip.directive.d.ts +3 -0
  331. package/tooltip/tooltip.module.d.ts +8 -0
  332. package/widgets/services/widget.service.d.ts +3 -0
  333. package/widgets/widgets.module.d.ts +5 -0
  334. package/action-list/mis-crystal-design-system-action-list.d.ts +0 -4
  335. package/action-list/mis-crystal-design-system-action-list.metadata.json +0 -1
  336. package/action-list/package.json +0 -11
  337. package/analytics/mis-crystal-design-system-analytics.d.ts +0 -4
  338. package/analytics/mis-crystal-design-system-analytics.metadata.json +0 -1
  339. package/analytics/package.json +0 -11
  340. package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.d.ts +0 -4
  341. package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.metadata.json +0 -1
  342. package/async-search-dropdown/package.json +0 -11
  343. package/bundles/mis-crystal-design-system-action-list.umd.js +0 -508
  344. package/bundles/mis-crystal-design-system-action-list.umd.js.map +0 -1
  345. package/bundles/mis-crystal-design-system-action-list.umd.min.js +0 -16
  346. package/bundles/mis-crystal-design-system-action-list.umd.min.js.map +0 -1
  347. package/bundles/mis-crystal-design-system-analytics.umd.js +0 -422
  348. package/bundles/mis-crystal-design-system-analytics.umd.js.map +0 -1
  349. package/bundles/mis-crystal-design-system-analytics.umd.min.js +0 -16
  350. package/bundles/mis-crystal-design-system-analytics.umd.min.js.map +0 -1
  351. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js +0 -258
  352. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js.map +0 -1
  353. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js +0 -2
  354. package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js.map +0 -1
  355. package/bundles/mis-crystal-design-system-button.umd.js +0 -134
  356. package/bundles/mis-crystal-design-system-button.umd.js.map +0 -1
  357. package/bundles/mis-crystal-design-system-button.umd.min.js +0 -2
  358. package/bundles/mis-crystal-design-system-button.umd.min.js.map +0 -1
  359. package/bundles/mis-crystal-design-system-checkbox.umd.js +0 -127
  360. package/bundles/mis-crystal-design-system-checkbox.umd.js.map +0 -1
  361. package/bundles/mis-crystal-design-system-checkbox.umd.min.js +0 -2
  362. package/bundles/mis-crystal-design-system-checkbox.umd.min.js.map +0 -1
  363. package/bundles/mis-crystal-design-system-chip.umd.js +0 -64
  364. package/bundles/mis-crystal-design-system-chip.umd.js.map +0 -1
  365. package/bundles/mis-crystal-design-system-chip.umd.min.js +0 -2
  366. package/bundles/mis-crystal-design-system-chip.umd.min.js.map +0 -1
  367. package/bundles/mis-crystal-design-system-datepicker_v2.umd.js +0 -688
  368. package/bundles/mis-crystal-design-system-datepicker_v2.umd.js.map +0 -1
  369. package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js +0 -16
  370. package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js.map +0 -1
  371. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js +0 -740
  372. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js.map +0 -1
  373. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js +0 -16
  374. package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js.map +0 -1
  375. package/bundles/mis-crystal-design-system-drawer.umd.js +0 -169
  376. package/bundles/mis-crystal-design-system-drawer.umd.js.map +0 -1
  377. package/bundles/mis-crystal-design-system-drawer.umd.min.js +0 -2
  378. package/bundles/mis-crystal-design-system-drawer.umd.min.js.map +0 -1
  379. package/bundles/mis-crystal-design-system-dropdown.umd.js +0 -481
  380. package/bundles/mis-crystal-design-system-dropdown.umd.js.map +0 -1
  381. package/bundles/mis-crystal-design-system-dropdown.umd.min.js +0 -16
  382. package/bundles/mis-crystal-design-system-dropdown.umd.min.js.map +0 -1
  383. package/bundles/mis-crystal-design-system-fab.umd.js +0 -95
  384. package/bundles/mis-crystal-design-system-fab.umd.js.map +0 -1
  385. package/bundles/mis-crystal-design-system-fab.umd.min.js +0 -2
  386. package/bundles/mis-crystal-design-system-fab.umd.min.js.map +0 -1
  387. package/bundles/mis-crystal-design-system-input.umd.js +0 -114
  388. package/bundles/mis-crystal-design-system-input.umd.js.map +0 -1
  389. package/bundles/mis-crystal-design-system-input.umd.min.js +0 -2
  390. package/bundles/mis-crystal-design-system-input.umd.min.js.map +0 -1
  391. package/bundles/mis-crystal-design-system-loader.umd.js +0 -53
  392. package/bundles/mis-crystal-design-system-loader.umd.js.map +0 -1
  393. package/bundles/mis-crystal-design-system-loader.umd.min.js +0 -2
  394. package/bundles/mis-crystal-design-system-loader.umd.min.js.map +0 -1
  395. package/bundles/mis-crystal-design-system-menu.umd.js +0 -119
  396. package/bundles/mis-crystal-design-system-menu.umd.js.map +0 -1
  397. package/bundles/mis-crystal-design-system-menu.umd.min.js +0 -2
  398. package/bundles/mis-crystal-design-system-menu.umd.min.js.map +0 -1
  399. package/bundles/mis-crystal-design-system-modal.umd.js +0 -161
  400. package/bundles/mis-crystal-design-system-modal.umd.js.map +0 -1
  401. package/bundles/mis-crystal-design-system-modal.umd.min.js +0 -2
  402. package/bundles/mis-crystal-design-system-modal.umd.min.js.map +0 -1
  403. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js +0 -622
  404. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js.map +0 -1
  405. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js +0 -16
  406. package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js.map +0 -1
  407. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js +0 -636
  408. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js.map +0 -1
  409. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js +0 -16
  410. package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js.map +0 -1
  411. package/bundles/mis-crystal-design-system-radio-button.umd.js +0 -77
  412. package/bundles/mis-crystal-design-system-radio-button.umd.js.map +0 -1
  413. package/bundles/mis-crystal-design-system-radio-button.umd.min.js +0 -2
  414. package/bundles/mis-crystal-design-system-radio-button.umd.min.js.map +0 -1
  415. package/bundles/mis-crystal-design-system-ske-loader.umd.js +0 -65
  416. package/bundles/mis-crystal-design-system-ske-loader.umd.js.map +0 -1
  417. package/bundles/mis-crystal-design-system-ske-loader.umd.min.js +0 -2
  418. package/bundles/mis-crystal-design-system-ske-loader.umd.min.js.map +0 -1
  419. package/bundles/mis-crystal-design-system-styles.umd.js +0 -11
  420. package/bundles/mis-crystal-design-system-styles.umd.js.map +0 -1
  421. package/bundles/mis-crystal-design-system-styles.umd.min.js +0 -2
  422. package/bundles/mis-crystal-design-system-styles.umd.min.js.map +0 -1
  423. package/bundles/mis-crystal-design-system-switch.umd.js +0 -79
  424. package/bundles/mis-crystal-design-system-switch.umd.js.map +0 -1
  425. package/bundles/mis-crystal-design-system-switch.umd.min.js +0 -2
  426. package/bundles/mis-crystal-design-system-switch.umd.min.js.map +0 -1
  427. package/bundles/mis-crystal-design-system-table.umd.js +0 -783
  428. package/bundles/mis-crystal-design-system-table.umd.js.map +0 -1
  429. package/bundles/mis-crystal-design-system-table.umd.min.js +0 -16
  430. package/bundles/mis-crystal-design-system-table.umd.min.js.map +0 -1
  431. package/bundles/mis-crystal-design-system-toast.umd.js +0 -202
  432. package/bundles/mis-crystal-design-system-toast.umd.js.map +0 -1
  433. package/bundles/mis-crystal-design-system-toast.umd.min.js +0 -2
  434. package/bundles/mis-crystal-design-system-toast.umd.min.js.map +0 -1
  435. package/bundles/mis-crystal-design-system-tooltip.umd.js +0 -194
  436. package/bundles/mis-crystal-design-system-tooltip.umd.js.map +0 -1
  437. package/bundles/mis-crystal-design-system-tooltip.umd.min.js +0 -2
  438. package/bundles/mis-crystal-design-system-tooltip.umd.min.js.map +0 -1
  439. package/bundles/mis-crystal-design-system-utils.umd.js +0 -33
  440. package/bundles/mis-crystal-design-system-utils.umd.js.map +0 -1
  441. package/bundles/mis-crystal-design-system-utils.umd.min.js +0 -2
  442. package/bundles/mis-crystal-design-system-utils.umd.min.js.map +0 -1
  443. package/bundles/mis-crystal-design-system-widgets.umd.js +0 -478
  444. package/bundles/mis-crystal-design-system-widgets.umd.js.map +0 -1
  445. package/bundles/mis-crystal-design-system-widgets.umd.min.js +0 -16
  446. package/bundles/mis-crystal-design-system-widgets.umd.min.js.map +0 -1
  447. package/bundles/mis-crystal-design-system.umd.js +0 -31
  448. package/bundles/mis-crystal-design-system.umd.js.map +0 -1
  449. package/bundles/mis-crystal-design-system.umd.min.js +0 -2
  450. package/bundles/mis-crystal-design-system.umd.min.js.map +0 -1
  451. package/button/mis-crystal-design-system-button.d.ts +0 -4
  452. package/button/mis-crystal-design-system-button.metadata.json +0 -1
  453. package/button/package.json +0 -11
  454. package/checkbox/mis-crystal-design-system-checkbox.d.ts +0 -4
  455. package/checkbox/mis-crystal-design-system-checkbox.metadata.json +0 -1
  456. package/checkbox/package.json +0 -11
  457. package/chip/mis-crystal-design-system-chip.d.ts +0 -4
  458. package/chip/mis-crystal-design-system-chip.metadata.json +0 -1
  459. package/chip/package.json +0 -11
  460. package/datepicker_v2/mis-crystal-design-system-datepicker_v2.d.ts +0 -7
  461. package/datepicker_v2/mis-crystal-design-system-datepicker_v2.metadata.json +0 -1
  462. package/datepicker_v2/package.json +0 -11
  463. package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.d.ts +0 -7
  464. package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.metadata.json +0 -1
  465. package/daterangepicker_v2/package.json +0 -11
  466. package/drawer/mis-crystal-design-system-drawer.d.ts +0 -5
  467. package/drawer/mis-crystal-design-system-drawer.metadata.json +0 -1
  468. package/drawer/package.json +0 -11
  469. package/dropdown/mis-crystal-design-system-dropdown.d.ts +0 -4
  470. package/dropdown/mis-crystal-design-system-dropdown.metadata.json +0 -1
  471. package/dropdown/package.json +0 -11
  472. package/esm2015/action-list/action-list.component.js +0 -160
  473. package/esm2015/action-list/action-list.module.js +0 -19
  474. package/esm2015/analytics/analytics.module.js +0 -14
  475. package/esm2015/analytics/analytics.service.js +0 -62
  476. package/esm2015/async-search-dropdown/async-dropdown.component.js +0 -223
  477. package/esm2015/async-search-dropdown/async-dropdown.module.js +0 -16
  478. package/esm2015/button/button.component.js +0 -43
  479. package/esm2015/button/button.directive.js +0 -57
  480. package/esm2015/button/button.module.js +0 -17
  481. package/esm2015/checkbox/checkbox.component.js +0 -79
  482. package/esm2015/checkbox/checkbox.module.js +0 -17
  483. package/esm2015/chip/chip.component.js +0 -31
  484. package/esm2015/chip/chip.module.js +0 -16
  485. package/esm2015/datepicker_v2/datepicker.module.js +0 -18
  486. package/esm2015/datepicker_v2/mis-crystal-design-system-datepicker_v2.js +0 -7
  487. package/esm2015/datepicker_v2/public_api.js +0 -3
  488. package/esm2015/datepicker_v2/tz-datepicker.directive.js +0 -126
  489. package/esm2015/datepicker_v2/tz-dp-container/tz-dp-container.component.js +0 -149
  490. package/esm2015/daterangepicker_v2/daterangepicker.module.js +0 -18
  491. package/esm2015/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.js +0 -7
  492. package/esm2015/daterangepicker_v2/public_api.js +0 -3
  493. package/esm2015/daterangepicker_v2/tz-daterangepicker.directive.js +0 -123
  494. package/esm2015/daterangepicker_v2/tz-drp-container/tz-drp-container.component.js +0 -205
  495. package/esm2015/drawer/drawer-body/drawer-body.component.js +0 -41
  496. package/esm2015/drawer/drawer.module.js +0 -28
  497. package/esm2015/drawer/mis-crystal-design-system-drawer.js +0 -6
  498. package/esm2015/dropdown/dropdown.component.js +0 -134
  499. package/esm2015/dropdown/dropdown.module.js +0 -19
  500. package/esm2015/fab/fab.component.js +0 -63
  501. package/esm2015/fab/fab.module.js +0 -16
  502. package/esm2015/input/directives/input/input.directive.js +0 -38
  503. package/esm2015/input/mis-input.component.js +0 -43
  504. package/esm2015/input/mis-input.module.js +0 -15
  505. package/esm2015/loader/loader.component.js +0 -20
  506. package/esm2015/loader/loader.module.js +0 -16
  507. package/esm2015/menu/menu-close.directive.js +0 -18
  508. package/esm2015/menu/menu.directive.js +0 -70
  509. package/esm2015/menu/menu.module.js +0 -17
  510. package/esm2015/modal/mis-crystal-design-system-modal.js +0 -6
  511. package/esm2015/modal/modal.module.js +0 -28
  512. package/esm2015/modal/modal.service.js +0 -72
  513. package/esm2015/modal/module-wrapper/module-wrapper.component.js +0 -33
  514. package/esm2015/multi-select-dropdown/multi-select-dropdown.component.js +0 -268
  515. package/esm2015/multi-select-dropdown/multi-select-dropdown.module.js +0 -20
  516. package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.component.js +0 -265
  517. package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.module.js +0 -20
  518. package/esm2015/radio-button/radio-button.component.js +0 -45
  519. package/esm2015/radio-button/radio-button.module.js +0 -17
  520. package/esm2015/ske-loader/ske-loader.component.js +0 -31
  521. package/esm2015/ske-loader/ske-loader.module.js +0 -13
  522. package/esm2015/switch/switch.component.js +0 -39
  523. package/esm2015/switch/switch.module.js +0 -17
  524. package/esm2015/table/custom-table-cell.directive.js +0 -42
  525. package/esm2015/table/filter/filter.component.js +0 -75
  526. package/esm2015/table/mis-crystal-design-system-table.js +0 -6
  527. package/esm2015/table/public_api.js +0 -5
  528. package/esm2015/table/sub-table/sub-table.component.js +0 -69
  529. package/esm2015/table/table.component.js +0 -199
  530. package/esm2015/table/table.module.js +0 -21
  531. package/esm2015/toast/toast.component.js +0 -28
  532. package/esm2015/toast/toast.data.service.js +0 -29
  533. package/esm2015/toast/toast.module.js +0 -28
  534. package/esm2015/toast/toast.service.js +0 -96
  535. package/esm2015/tooltip/tooltip-container/tooltip.component.js +0 -34
  536. package/esm2015/tooltip/tooltip.directive.js +0 -117
  537. package/esm2015/tooltip/tooltip.module.js +0 -19
  538. package/esm2015/widgets/classes/widget-group.js +0 -32
  539. package/esm2015/widgets/services/widget.service.js +0 -16
  540. package/esm2015/widgets/widgets.module.js +0 -12
  541. package/fab/mis-crystal-design-system-fab.d.ts +0 -4
  542. package/fab/mis-crystal-design-system-fab.metadata.json +0 -1
  543. package/fab/package.json +0 -11
  544. package/fesm2015/mis-crystal-design-system-action-list.js +0 -183
  545. package/fesm2015/mis-crystal-design-system-action-list.js.map +0 -1
  546. package/fesm2015/mis-crystal-design-system-analytics.js.map +0 -1
  547. package/fesm2015/mis-crystal-design-system-async-search-dropdown.js +0 -242
  548. package/fesm2015/mis-crystal-design-system-async-search-dropdown.js.map +0 -1
  549. package/fesm2015/mis-crystal-design-system-button.js +0 -120
  550. package/fesm2015/mis-crystal-design-system-button.js.map +0 -1
  551. package/fesm2015/mis-crystal-design-system-checkbox.js +0 -100
  552. package/fesm2015/mis-crystal-design-system-checkbox.js.map +0 -1
  553. package/fesm2015/mis-crystal-design-system-chip.js +0 -52
  554. package/fesm2015/mis-crystal-design-system-chip.js.map +0 -1
  555. package/fesm2015/mis-crystal-design-system-datepicker_v2.js +0 -339
  556. package/fesm2015/mis-crystal-design-system-datepicker_v2.js.map +0 -1
  557. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js +0 -392
  558. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js.map +0 -1
  559. package/fesm2015/mis-crystal-design-system-drawer.js +0 -153
  560. package/fesm2015/mis-crystal-design-system-drawer.js.map +0 -1
  561. package/fesm2015/mis-crystal-design-system-dropdown.js +0 -157
  562. package/fesm2015/mis-crystal-design-system-dropdown.js.map +0 -1
  563. package/fesm2015/mis-crystal-design-system-fab.js +0 -84
  564. package/fesm2015/mis-crystal-design-system-fab.js.map +0 -1
  565. package/fesm2015/mis-crystal-design-system-input.js +0 -97
  566. package/fesm2015/mis-crystal-design-system-input.js.map +0 -1
  567. package/fesm2015/mis-crystal-design-system-loader.js +0 -41
  568. package/fesm2015/mis-crystal-design-system-loader.js.map +0 -1
  569. package/fesm2015/mis-crystal-design-system-menu.js +0 -106
  570. package/fesm2015/mis-crystal-design-system-menu.js.map +0 -1
  571. package/fesm2015/mis-crystal-design-system-modal.js +0 -147
  572. package/fesm2015/mis-crystal-design-system-modal.js.map +0 -1
  573. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js +0 -292
  574. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js.map +0 -1
  575. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js +0 -289
  576. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js.map +0 -1
  577. package/fesm2015/mis-crystal-design-system-radio-button.js +0 -66
  578. package/fesm2015/mis-crystal-design-system-radio-button.js.map +0 -1
  579. package/fesm2015/mis-crystal-design-system-ske-loader.js +0 -49
  580. package/fesm2015/mis-crystal-design-system-ske-loader.js.map +0 -1
  581. package/fesm2015/mis-crystal-design-system-styles.js +0 -4
  582. package/fesm2015/mis-crystal-design-system-styles.js.map +0 -1
  583. package/fesm2015/mis-crystal-design-system-switch.js +0 -60
  584. package/fesm2015/mis-crystal-design-system-switch.js.map +0 -1
  585. package/fesm2015/mis-crystal-design-system-table.js +0 -405
  586. package/fesm2015/mis-crystal-design-system-table.js.map +0 -1
  587. package/fesm2015/mis-crystal-design-system-toast.js +0 -174
  588. package/fesm2015/mis-crystal-design-system-toast.js.map +0 -1
  589. package/fesm2015/mis-crystal-design-system-tooltip.js +0 -171
  590. package/fesm2015/mis-crystal-design-system-tooltip.js.map +0 -1
  591. package/fesm2015/mis-crystal-design-system-utils.js.map +0 -1
  592. package/fesm2015/mis-crystal-design-system-widgets.js.map +0 -1
  593. package/fesm2015/mis-crystal-design-system.js.map +0 -1
  594. package/input/mis-crystal-design-system-input.d.ts +0 -4
  595. package/input/mis-crystal-design-system-input.metadata.json +0 -1
  596. package/input/package.json +0 -11
  597. package/loader/mis-crystal-design-system-loader.d.ts +0 -4
  598. package/loader/mis-crystal-design-system-loader.metadata.json +0 -1
  599. package/loader/package.json +0 -11
  600. package/menu/mis-crystal-design-system-menu.d.ts +0 -4
  601. package/menu/mis-crystal-design-system-menu.metadata.json +0 -1
  602. package/menu/package.json +0 -11
  603. package/mis-crystal-design-system.d.ts +0 -4
  604. package/mis-crystal-design-system.metadata.json +0 -1
  605. package/modal/mis-crystal-design-system-modal.d.ts +0 -5
  606. package/modal/mis-crystal-design-system-modal.metadata.json +0 -1
  607. package/modal/package.json +0 -11
  608. package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.d.ts +0 -4
  609. package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.metadata.json +0 -1
  610. package/multi-select-dropdown/package.json +0 -11
  611. package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.d.ts +0 -4
  612. package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.metadata.json +0 -1
  613. package/nested-multi-select-dropdown/package.json +0 -11
  614. package/radio-button/mis-crystal-design-system-radio-button.d.ts +0 -4
  615. package/radio-button/mis-crystal-design-system-radio-button.metadata.json +0 -1
  616. package/radio-button/package.json +0 -11
  617. package/ske-loader/mis-crystal-design-system-ske-loader.d.ts +0 -4
  618. package/ske-loader/mis-crystal-design-system-ske-loader.metadata.json +0 -1
  619. package/ske-loader/package.json +0 -11
  620. package/styles/mis-crystal-design-system-styles.d.ts +0 -4
  621. package/styles/mis-crystal-design-system-styles.metadata.json +0 -1
  622. package/styles/package.json +0 -11
  623. package/switch/mis-crystal-design-system-switch.d.ts +0 -4
  624. package/switch/mis-crystal-design-system-switch.metadata.json +0 -1
  625. package/switch/package.json +0 -11
  626. package/table/mis-crystal-design-system-table.d.ts +0 -5
  627. package/table/mis-crystal-design-system-table.metadata.json +0 -1
  628. package/table/package.json +0 -11
  629. package/toast/mis-crystal-design-system-toast.d.ts +0 -5
  630. package/toast/mis-crystal-design-system-toast.metadata.json +0 -1
  631. package/toast/package.json +0 -11
  632. package/tooltip/mis-crystal-design-system-tooltip.d.ts +0 -4
  633. package/tooltip/mis-crystal-design-system-tooltip.metadata.json +0 -1
  634. package/tooltip/package.json +0 -11
  635. package/utils/mis-crystal-design-system-utils.d.ts +0 -4
  636. package/utils/mis-crystal-design-system-utils.metadata.json +0 -1
  637. package/utils/package.json +0 -11
  638. package/widgets/mis-crystal-design-system-widgets.d.ts +0 -4
  639. package/widgets/mis-crystal-design-system-widgets.metadata.json +0 -1
  640. package/widgets/package.json +0 -11
@@ -0,0 +1,156 @@
1
+ import * as i1$1 from '@angular/cdk/overlay';
2
+ import { OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
3
+ import * as i1 from '@angular/cdk/portal';
4
+ import { ComponentPortal, PortalInjector, PortalModule } from '@angular/cdk/portal';
5
+ import * as i0 from '@angular/core';
6
+ import { ViewContainerRef, Component, ViewChild, InjectionToken, Injectable, NgModule } from '@angular/core';
7
+ import { take } from 'rxjs/operators';
8
+ import { trigger, transition, style, animate } from '@angular/animations';
9
+ import { Subject } from 'rxjs';
10
+ import { CommonModule } from '@angular/common';
11
+
12
+ /** @format */
13
+ class DrawerRef {
14
+ constructor(overlay) {
15
+ this.overlay = overlay;
16
+ this._isExpanded = false;
17
+ this.afterClosed$ = new Subject();
18
+ this.afterClosed = this.afterClosed$.asObservable();
19
+ }
20
+ get isExpanded() {
21
+ return this._isExpanded;
22
+ }
23
+ close(data) {
24
+ this.overlay.detach();
25
+ this.overlay.dispose();
26
+ this.afterClosed$.next(data);
27
+ this.afterClosed$.complete();
28
+ }
29
+ expand() {
30
+ this.overlay.updateSize({ width: "100%" });
31
+ this._isExpanded = true;
32
+ }
33
+ collapse() {
34
+ this.overlay.updateSize({ width: "422px" });
35
+ this._isExpanded = false;
36
+ }
37
+ }
38
+
39
+ /** @format */
40
+ class DrawerBodyComponent {
41
+ constructor(cfr) {
42
+ this.cfr = cfr;
43
+ }
44
+ bindComponent(type, injector) {
45
+ this.initComponent(type, injector);
46
+ }
47
+ initComponent(type, injector) {
48
+ this.drawerPortal = new ComponentPortal(type, this.place, injector);
49
+ }
50
+ createInjector(ref, inj) {
51
+ const injectorTokens = new WeakMap([[DrawerRef, ref]]);
52
+ return new PortalInjector(inj, injectorTokens);
53
+ // return Injector.create({ providers: [{ provide: inj, useValue: injectorTokens }] });
54
+ }
55
+ }
56
+ DrawerBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DrawerBodyComponent, deps: [{ token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component });
57
+ DrawerBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DrawerBodyComponent, selector: "mis-drawer-body", viewQueries: [{ propertyName: "place", first: true, predicate: ["place"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<!-- @format -->\n\n<div class=\"mis-drawer-body\" #place @slideInOut>\n <ng-template [cdkPortalOutlet]=\"drawerPortal\"></ng-template>\n</div>\n", styles: [".mis-drawer-body{display:block;width:100%;height:100%}\n"], dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [
58
+ trigger("slideInOut", [
59
+ transition(":enter", [style({ transform: "translateX(100%)" }), animate("200ms ease-out", style({ transform: "translateX(0%)" }))]),
60
+ transition(":leave", [animate("200ms ease-out", style({ transform: "translateX(100%)" }))])
61
+ ])
62
+ ] });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DrawerBodyComponent, decorators: [{
64
+ type: Component,
65
+ args: [{ selector: "mis-drawer-body", animations: [
66
+ trigger("slideInOut", [
67
+ transition(":enter", [style({ transform: "translateX(100%)" }), animate("200ms ease-out", style({ transform: "translateX(0%)" }))]),
68
+ transition(":leave", [animate("200ms ease-out", style({ transform: "translateX(100%)" }))])
69
+ ])
70
+ ], template: "<!-- @format -->\n\n<div class=\"mis-drawer-body\" #place @slideInOut>\n <ng-template [cdkPortalOutlet]=\"drawerPortal\"></ng-template>\n</div>\n", styles: [".mis-drawer-body{display:block;width:100%;height:100%}\n"] }]
71
+ }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }]; }, propDecorators: { place: [{
72
+ type: ViewChild,
73
+ args: ["place", { static: false, read: ViewContainerRef }]
74
+ }] } });
75
+
76
+ /** @format */
77
+ const DRAWER_DATA_VAR = new InjectionToken("MISDrawerDataInjectionToken");
78
+
79
+ /** @format */
80
+ class DrawerService {
81
+ constructor(overlay, injector) {
82
+ this.overlay = overlay;
83
+ this.injector = injector;
84
+ }
85
+ show(component, data, options) {
86
+ const positionStrategy = this.overlay.position().global().top("0px").right("0px");
87
+ const { width = "422px", height = "100%" } = options || {};
88
+ const config = new OverlayConfig({
89
+ hasBackdrop: true,
90
+ positionStrategy,
91
+ scrollStrategy: this.overlay.scrollStrategies.noop(),
92
+ width: width,
93
+ height,
94
+ panelClass: "mis-drawer",
95
+ backdropClass: "mis-drawer-overlay"
96
+ });
97
+ const overlayRef = this.overlay.create(config);
98
+ this.drawerRef = new DrawerRef(overlayRef);
99
+ const injector = this.createInjector(this.drawerRef, this.injector, data);
100
+ const portal = new ComponentPortal(DrawerBodyComponent, null);
101
+ this.componentInstance = overlayRef.attach(portal);
102
+ this.componentInstance.instance.bindComponent(component, injector);
103
+ overlayRef.backdropClick().pipe(take(1)).subscribe(this.hide.bind(this));
104
+ return this.drawerRef;
105
+ }
106
+ hide() {
107
+ this.drawerRef?.close();
108
+ }
109
+ createInjector(ref, inj, data) {
110
+ const injectorTokens = new WeakMap();
111
+ injectorTokens.set(DrawerRef, ref);
112
+ injectorTokens.set(DRAWER_DATA_VAR, data);
113
+ return new PortalInjector(inj, injectorTokens);
114
+ // return Injector.create({ providers: [{ provide: inj, useValue: injectorTokens }] });
115
+ }
116
+ }
117
+ DrawerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DrawerService, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
118
+ DrawerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DrawerService, providedIn: "root" });
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DrawerService, decorators: [{
120
+ type: Injectable,
121
+ args: [{
122
+ providedIn: "root"
123
+ }]
124
+ }], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }]; } });
125
+
126
+ class DrawerModule {
127
+ static forRoot() {
128
+ return {
129
+ ngModule: DrawerModule,
130
+ providers: [DrawerService]
131
+ };
132
+ }
133
+ static forChild() {
134
+ return {
135
+ ngModule: DrawerModule,
136
+ providers: [DrawerService]
137
+ };
138
+ }
139
+ }
140
+ DrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
141
+ DrawerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: DrawerModule, declarations: [DrawerBodyComponent], imports: [CommonModule, OverlayModule, PortalModule] });
142
+ DrawerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DrawerModule, imports: [CommonModule, OverlayModule, PortalModule] });
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DrawerModule, decorators: [{
144
+ type: NgModule,
145
+ args: [{
146
+ declarations: [DrawerBodyComponent],
147
+ imports: [CommonModule, OverlayModule, PortalModule]
148
+ }]
149
+ }] });
150
+
151
+ /**
152
+ * Generated bundle index. Do not edit.
153
+ */
154
+
155
+ export { DRAWER_DATA_VAR, DrawerModule, DrawerRef, DrawerService };
156
+ //# sourceMappingURL=mis-crystal-design-system-drawer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mis-crystal-design-system-drawer.mjs","sources":["../../../projects/mis-components/drawer/drawer-ref.ts","../../../projects/mis-components/drawer/drawer-body/drawer-body.component.ts","../../../projects/mis-components/drawer/drawer-body/drawer-body.component.html","../../../projects/mis-components/drawer/drawer-constants.ts","../../../projects/mis-components/drawer/drawer.service.ts","../../../projects/mis-components/drawer/drawer.module.ts","../../../projects/mis-components/drawer/mis-crystal-design-system-drawer.ts"],"sourcesContent":["/** @format */\n\nimport { OverlayRef } from \"@angular/cdk/overlay\";\nimport { Injectable } from \"@angular/core\";\nimport { Subject } from \"rxjs\";\n\nexport class DrawerRef {\n private _isExpanded = false;\n private afterClosed$ = new Subject<any>();\n afterClosed = this.afterClosed$.asObservable();\n get isExpanded(): boolean {\n return this._isExpanded;\n }\n constructor(public overlay: OverlayRef) {}\n\n close(data?: any): void {\n this.overlay.detach();\n this.overlay.dispose();\n this.afterClosed$.next(data);\n this.afterClosed$.complete();\n }\n\n expand(): void {\n this.overlay.updateSize({ width: \"100%\" });\n this._isExpanded = true;\n }\n\n collapse(): void {\n this.overlay.updateSize({ width: \"422px\" });\n this._isExpanded = false;\n }\n}\n","/** @format */\n\nimport { trigger, transition, style, animate } from \"@angular/animations\";\nimport { ComponentPortal, PortalInjector } from \"@angular/cdk/portal\";\nimport { Component, ComponentFactoryResolver, Injector, OnInit, ViewChild, ViewContainerRef } from \"@angular/core\";\nimport { DrawerRef } from \"../drawer-ref\";\n\n@Component({\n selector: \"mis-drawer-body\",\n templateUrl: \"./drawer-body.component.html\",\n styleUrls: [\"./drawer-body.component.scss\"],\n animations: [\n trigger(\"slideInOut\", [\n transition(\":enter\", [style({ transform: \"translateX(100%)\" }), animate(\"200ms ease-out\", style({ transform: \"translateX(0%)\" }))]),\n transition(\":leave\", [animate(\"200ms ease-out\", style({ transform: \"translateX(100%)\" }))])\n ])\n ]\n})\nexport class DrawerBodyComponent {\n drawerPortal: ComponentPortal<any>;\n constructor(private cfr: ComponentFactoryResolver) {}\n\n @ViewChild(\"place\", { static: false, read: ViewContainerRef }) place: ViewContainerRef;\n\n bindComponent(type: any, injector: PortalInjector) {\n this.initComponent(type, injector);\n }\n\n private initComponent(type: any, injector: PortalInjector) {\n this.drawerPortal = new ComponentPortal(type, this.place, injector);\n }\n\n private createInjector(ref: DrawerRef, inj: Injector): PortalInjector {\n const injectorTokens = new WeakMap([[DrawerRef, ref]]);\n return new PortalInjector(inj, injectorTokens);\n // return Injector.create({ providers: [{ provide: inj, useValue: injectorTokens }] });\n }\n}\n","<!-- @format -->\n\n<div class=\"mis-drawer-body\" #place @slideInOut>\n <ng-template [cdkPortalOutlet]=\"drawerPortal\"></ng-template>\n</div>\n","/** @format */\n\nimport { InjectionToken } from \"@angular/core\";\n\nexport const DRAWER_DATA_VAR = new InjectionToken<any>(\"MISDrawerDataInjectionToken\");\n","/** @format */\n\nimport { Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { ComponentPortal, ComponentType, PortalInjector } from \"@angular/cdk/portal\";\nimport { ComponentRef, Injectable, Injector } from \"@angular/core\";\nimport { take } from \"rxjs/operators\";\nimport { DrawerBodyComponent } from \"./drawer-body/drawer-body.component\";\nimport { DrawerRef } from \"./drawer-ref\";\nimport { DRAWER_DATA_VAR } from \"./drawer-constants\";\n\n@Injectable({\n providedIn: \"root\"\n})\nexport class DrawerService {\n drawerRef: DrawerRef;\n componentInstance: ComponentRef<any>;\n\n constructor(private overlay: Overlay, private injector: Injector) {}\n\n show<T, D>(component: ComponentType<T>, data?: D, options?: { width?: string; height?: string }): DrawerRef {\n const positionStrategy = this.overlay.position().global().top(\"0px\").right(\"0px\");\n const { width = \"422px\", height = \"100%\" } = options || {};\n const config = new OverlayConfig({\n hasBackdrop: true,\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.noop(),\n width: width,\n height,\n panelClass: \"mis-drawer\",\n backdropClass: \"mis-drawer-overlay\"\n });\n const overlayRef = this.overlay.create(config);\n this.drawerRef = new DrawerRef(overlayRef);\n const injector = this.createInjector(this.drawerRef, this.injector, data);\n const portal = new ComponentPortal(DrawerBodyComponent, null);\n this.componentInstance = overlayRef.attach(portal);\n this.componentInstance.instance.bindComponent(component, injector);\n overlayRef.backdropClick().pipe(take(1)).subscribe(this.hide.bind(this));\n return this.drawerRef;\n }\n\n hide(): void {\n this.drawerRef?.close();\n }\n\n private createInjector<D>(ref: DrawerRef, inj: Injector, data?: D): PortalInjector {\n const injectorTokens = new WeakMap();\n injectorTokens.set(DrawerRef, ref);\n injectorTokens.set(DRAWER_DATA_VAR, data);\n return new PortalInjector(inj, injectorTokens);\n // return Injector.create({ providers: [{ provide: inj, useValue: injectorTokens }] });\n }\n}\n","import { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { DrawerService } from \"./drawer.service\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { DrawerBodyComponent } from \"./drawer-body/drawer-body.component\";\nimport { PortalModule } from \"@angular/cdk/portal\";\n\n@NgModule({\n declarations: [DrawerBodyComponent],\n imports: [CommonModule, OverlayModule, PortalModule]\n})\nexport class DrawerModule {\n static forRoot(): ModuleWithProviders<DrawerModule> {\n return {\n ngModule: DrawerModule,\n providers: [DrawerService]\n };\n }\n\n static forChild(): ModuleWithProviders<DrawerModule> {\n return {\n ngModule: DrawerModule,\n providers: [DrawerService]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AAAA;MAMa,SAAS,CAAA;AAOpB,IAAA,WAAA,CAAmB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,aAAa,CAAC;SAC3B,CAAC;KACH;;0GAbU,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAZ,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,iBAHN,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACxB,YAAY,EAAE,aAAa,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;AAE1C,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,EAFX,OAAA,EAAA,CAAA,YAAY,EAAE,aAAa,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;4FAE1C,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;AACnC,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC;AACvD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
@@ -0,0 +1,175 @@
1
+ import * as i1 from '@angular/cdk/overlay';
2
+ import { ConnectionPositionPair, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
3
+ import { TemplatePortal } from '@angular/cdk/portal';
4
+ import * as i0 from '@angular/core';
5
+ import { EventEmitter, Component, Input, Output, ViewChild, NgModule } from '@angular/core';
6
+ import * as i2 from '@angular/common';
7
+ import { CommonModule } from '@angular/common';
8
+ import * as i3 from '@angular/forms';
9
+ import { FormsModule } from '@angular/forms';
10
+ import * as i4 from '@angular/cdk/scrolling';
11
+ import * as i5 from '@angular/cdk-experimental/scrolling';
12
+ import { ScrollingModule } from '@angular/cdk-experimental/scrolling';
13
+
14
+ class DropdownComponent {
15
+ constructor(eRef, overlay, viewContainerRef) {
16
+ this.eRef = eRef;
17
+ this.overlay = overlay;
18
+ this.viewContainerRef = viewContainerRef;
19
+ this.isOpen = false;
20
+ this.isSearchInputFocused = false;
21
+ this.searchInput = "";
22
+ this.searchData = [];
23
+ this.data = [];
24
+ this.height = "";
25
+ this.width = "";
26
+ this.label = "Select";
27
+ this.dropdownListHeight = "";
28
+ this.dropdownListWidth = "";
29
+ this.dropdownListPosition = "Left";
30
+ this.searchEnabled = true;
31
+ this.selectedItem = { value: "", label: "" };
32
+ this.noDataMessage = "No Data";
33
+ this.multiLine = false;
34
+ this.onChange = new EventEmitter();
35
+ }
36
+ ngOnInit() {
37
+ }
38
+ filterByValue(array, string) {
39
+ return array.filter(o => o.label.toLowerCase().includes(string.toLowerCase()));
40
+ }
41
+ filterByPrimaryText(array, string) {
42
+ return array.filter(o => o.label.primaryText.toLowerCase().includes(string.toLowerCase()));
43
+ }
44
+ searchInputOnChange(newValue) {
45
+ this.searchInput = newValue;
46
+ if (newValue) {
47
+ this.searchData = this.multiLine ? this.filterByPrimaryText(this.data, newValue) : this.filterByValue(this.data, newValue);
48
+ }
49
+ else {
50
+ this.searchData = [];
51
+ this.searchInput = "";
52
+ }
53
+ }
54
+ searchInputFocused(isFocused) {
55
+ this.isSearchInputFocused = isFocused;
56
+ }
57
+ searchInputCanceled(event) {
58
+ event.stopPropagation();
59
+ this.searchInput = "";
60
+ this.isSearchInputFocused = false;
61
+ }
62
+ toggleDropdown() {
63
+ this.isOpen = !this.isOpen;
64
+ if (this.isOpen)
65
+ this.openDropdown(this.popupContainer, this.selectElement.nativeElement);
66
+ else
67
+ this.onCancel();
68
+ }
69
+ openDropdown(template, origin) {
70
+ const positionsBottom = [
71
+ new ConnectionPositionPair({ originX: "start", originY: "bottom" }, { overlayX: "start", overlayY: "top" }, 0, 4),
72
+ new ConnectionPositionPair({ originX: "end", originY: "bottom" }, { overlayX: "end", overlayY: "top" }, 0, 4)
73
+ ];
74
+ const positionsTop = [
75
+ new ConnectionPositionPair({ originX: "start", originY: "top" }, { overlayX: "start", overlayY: "bottom" }, 0, -4),
76
+ new ConnectionPositionPair({ originX: "end", originY: "top" }, { overlayX: "end", overlayY: "bottom" }, 0, -4)
77
+ ];
78
+ const positionStrategy = this.overlay
79
+ .position()
80
+ .flexibleConnectedTo(origin)
81
+ .withPositions([
82
+ ...(this.dropdownListPosition === "Right" ? positionsBottom.reverse() : positionsBottom),
83
+ ...(this.dropdownListPosition === "Right" ? positionsTop.reverse() : positionsTop)
84
+ ])
85
+ .withPush(true);
86
+ const configs = new OverlayConfig({
87
+ hasBackdrop: true,
88
+ backdropClass: "cdk-overlay-transparent-backdrop",
89
+ scrollStrategy: this.overlay.scrollStrategies.reposition(),
90
+ positionStrategy,
91
+ width: origin.clientWidth
92
+ });
93
+ this.overlayRef = this.overlay.create(configs);
94
+ if (this.dropdownListWidth)
95
+ this.overlayRef.updateSize({ width: this.dropdownListWidth });
96
+ if (this.dropdownListHeight)
97
+ this.overlayRef.updateSize({ height: this.dropdownListHeight });
98
+ this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));
99
+ this.overlayRef.backdropClick().subscribe(res => {
100
+ this.onCancel();
101
+ });
102
+ }
103
+ selectItem(item) {
104
+ this.onChange.emit(item);
105
+ this.toggleDropdown();
106
+ }
107
+ onCancel() {
108
+ this.isSearchInputFocused = false;
109
+ this.isOpen = false;
110
+ this.overlayRef?.detach();
111
+ this.searchInput = "";
112
+ }
113
+ }
114
+ DropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DropdownComponent, deps: [{ token: i0.ElementRef }, { token: i1.Overlay }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
115
+ DropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: DropdownComponent, selector: "mis-dropdown", inputs: { data: "data", height: "height", width: "width", label: "label", dropdownListHeight: "dropdownListHeight", dropdownListWidth: "dropdownListWidth", dropdownListPosition: "dropdownListPosition", searchEnabled: "searchEnabled", selectedItem: "selectedItem", noDataMessage: "noDataMessage", multiLine: "multiLine", additionalInfoMessage: "additionalInfoMessage" }, outputs: { onChange: "onChange" }, viewQueries: [{ propertyName: "selectElement", first: true, predicate: ["select"], descendants: true }, { propertyName: "popupContainer", first: true, predicate: ["popupContainer"], descendants: true }], ngImport: i0, template: "<div\n class=\"main-container\"\n [ngStyle]=\"{\n height: height.length > 0 ? height : '',\n width: width.length > 0 ? width : ''\n }\"\n>\n <div\n class=\"dropdown\"\n #select\n tabindex=\"0\"\n (keyup.enter)=\"toggleDropdown()\"\n (click)=\"toggleDropdown()\"\n [ngStyle]=\"{ background: isOpen ? '#E6EBF7' : '' }\"\n >\n <div class=\"label\">\n <p class=\"text\">\n {{ multiLine ? selectedItem.label?.primaryText : selectedItem.label || label }}\n </p>\n </div>\n <svg\n class=\"handle\"\n [ngStyle]=\"{ transform: isOpen ? 'rotate(180deg)' : 'rotate(0deg)' }\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.825 7.15845L10 10.9751L6.175 7.15845L5 8.33345L10 13.3334L15 8.33345L13.825 7.15845Z\"\n fill=\"#181F33\"\n />\n </svg>\n </div>\n</div>\n<ng-template #popupContainer>\n <div\n class=\"popup-container\"\n [ngStyle]=\"{\n height: dropdownListHeight,\n width: dropdownListWidth\n }\"\n >\n <div *ngIf=\"searchEnabled\" class=\"search-container\">\n <svg\n *ngIf=\"!isSearchInputFocused\"\n class=\"search-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M4.21508 11.1456C4.21508 7.3179 7.33722 4.21165 11.1926 4.21165C15.048 4.21165 18.1702 7.3179 18.1702 11.1456C18.1702 12.6931 17.6599 14.1226 16.7972 15.2767L15.3685 16.7013C14.2044 17.5668 12.759 18.0796 11.1926 18.0796C7.33722 18.0796 4.21508 14.9734 4.21508 11.1456ZM15.9421 17.7835C14.6021 18.7329 12.9627 19.2913 11.1926 19.2913C6.66977 19.2913 3 15.6461 3 11.1456C3 6.64512 6.66977 3 11.1926 3C15.7155 3 19.3852 6.64512 19.3852 11.1456C19.3852 12.9371 18.8037 14.5931 17.8184 15.9375L19.8361 17.4048C20.6705 17.912 21.7554 18.6543 20.2454 20.215C18.7353 21.7756 18.0099 20.6663 17.4991 19.8364L15.9421 17.7835Z\"\n fill=\"#6A737D\"\n />\n </svg>\n <input\n [ngModel]=\"searchInput\"\n [ngStyle]=\"{\n paddingLeft: isSearchInputFocused ? '12px' : '45px',\n border: isSearchInputFocused ? '1px solid #0937B2' : '1px solid #e0e0e0',\n paddingRight: isSearchInputFocused ? '45px' : '10px'\n }\"\n (ngModelChange)=\"searchInputOnChange($event)\"\n [placeholder]=\"isSearchInputFocused ? '' : 'Search Keyword'\"\n (focus)=\"searchInputFocused(true)\"\n class=\"search-input\"\n />\n <svg\n *ngIf=\"isSearchInputFocused\"\n class=\"cancel-icon\"\n (click)=\"searchInputCanceled($event)\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.87446 7.32144C8.44588 6.89285 7.751 6.89285 7.32242 7.32144C6.89383 7.75002 6.89383 8.4449 7.32242 8.87349L10.4488 11.9999L7.32357 15.1252C6.89498 15.5538 6.89498 16.2486 7.32357 16.6772C7.75215 17.1058 8.44703 17.1058 8.87561 16.6772L12.0009 13.552L15.1261 16.6772C15.5547 17.1058 16.2496 17.1058 16.6781 16.6772C17.1067 16.2486 17.1067 15.5537 16.6781 15.1251L13.5529 11.9999L16.6793 8.87354C17.1079 8.44496 17.1079 7.75008 16.6793 7.3215C16.2507 6.89291 15.5558 6.89291 15.1273 7.3215L12.0009 10.4479L8.87446 7.32144Z\"\n fill=\"#6A737D\"\n />\n </svg>\n </div>\n <div class=\"items\">\n <cdk-virtual-scroll-viewport autosize class=\"dropdown-viewport\">\n <div\n class=\"item\"\n tabindex=\"0\"\n [ngClass]=\"{ 'item-disabled': item.disabled }\"\n (click)=\"item.disabled ? null : selectItem(item)\"\n (keyup.enter)=\"item.disabled ? null : selectItem(item)\"\n *cdkVirtualFor=\"let item of searchInput ? searchData : data\"\n >\n <div class=\"label\" [ngStyle]=\"{ width: item.icon ? '90%' : '100%', 'display': multiLine ? 'flex': 'inherit', 'flex-direction': multiLine ? 'column': 'inherit' }\">\n <span class=\"primaryText\">{{ multiLine ? item.label?.primaryText : item.label }}</span>\n <span class=\"secondaryText\" *ngIf=\"multiLine\"> {{ item.label?.secondaryText ? item.label?.secondaryText : additionalInfoMessage }} </span>\n </div>\n <div class=\"icon-container\" *ngIf=\"item.icon\">\n <img class=\"icon\" [src]=\"item.icon\" alt=\"no img\" />\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n <div class=\"noData\" *ngIf=\"(searchInput ? searchData : data).length === 0\">\n {{ searchInput === \"\" ? noDataMessage : \"No results\" }}\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".main-container{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;height:32px;width:256px;font-family:Lato,sans-serif!important}.main-container .dropdown{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:inherit;border:1px solid #e0e0e0;border-radius:6px;background-color:#fff;cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;padding:0 12px}.main-container .dropdown:hover,.main-container .dropdown:focus-visible{background-color:#f5f7fc;outline:none}.main-container .dropdown .label{box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.main-container .dropdown .label .text{margin:0!important;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.main-container .dropdown .label .count{background-color:#e0e0e0;border-radius:50%;padding:2px 7px;margin:0}.main-container .dropdown .handle{width:24px;height:24px;transition:.3s;position:absolute;right:12px;border-radius:50%;overflow:hidden}.popup-container{width:100%;max-height:340px;padding-bottom:0;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;box-shadow:0 12px 24px #0000001f;display:flex;flex-direction:column;overflow:hidden;justify-content:space-between}.popup-container::-webkit-scrollbar{width:0;height:0}.popup-container .search-container{position:relative;box-sizing:border-box;padding:8px}.popup-container .search-container .search-icon{position:absolute;width:24px;height:24px;top:50%;transform:translateY(-50%);left:18px;z-index:1}.popup-container .search-container .search-input{height:40px;width:100%;padding:12px;border:1px solid #e0e0e0;box-sizing:border-box;border-radius:8px;outline:none;caret-color:#0937b2;font-style:normal;font-weight:400;font-size:12px;line-height:18px;display:flex;align-items:center;letter-spacing:.2px;color:#181f33}.popup-container .search-container .cancel-icon{position:absolute;cursor:pointer;width:24px;height:24px;top:50%;transform:translateY(-50%);right:18px;z-index:1}.popup-container .items{padding:8px 0 8px 8px;overflow-y:scroll}.popup-container .items::-webkit-scrollbar{width:5px;height:0}.popup-container .items::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:10px}.popup-container .items .noData{display:flex;justify-content:center;align-items:center;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.popup-container .items .dropdown-viewport{height:200px}.popup-container .items .dropdown-viewport .item{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;height:auto;letter-spacing:.2px;color:#181f33}.popup-container .items .dropdown-viewport .item:hover,.popup-container .items .dropdown-viewport .item:focus-visible{background-color:#f5f7fc;outline:none}.popup-container .items .dropdown-viewport .item .label{width:100%;line-height:20px;font-size:14px;font-style:normal;font-weight:400;text-overflow:ellipsis;overflow:hidden}.popup-container .items .dropdown-viewport .item .label .primaryText{color:#181f33;font-family:Lato;font-size:14px;line-height:20px;letter-spacing:.2px}.popup-container .items .dropdown-viewport .item .label .secondaryText{color:#6a737d;font-family:Lato;font-size:14px;line-height:20px;letter-spacing:.2px}.popup-container .items .dropdown-viewport .item .icon-container{width:10%;display:flex;justify-content:flex-end}.popup-container .items .dropdown-viewport .item .icon-container .icon{width:20px;height:20px}.popup-container .items .item-disabled{cursor:not-allowed}.popup-container .items .item-disabled:hover,.popup-container .items .item-disabled:focus-visible{background-color:transparent;outline:none}.popup-container .items .item-disabled .label{color:#929dab;-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { kind: "component", type: i4.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { kind: "directive", type: i5.CdkAutoSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[autosize]", inputs: ["minBufferPx", "maxBufferPx"] }] });
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DropdownComponent, decorators: [{
117
+ type: Component,
118
+ args: [{ selector: "mis-dropdown", template: "<div\n class=\"main-container\"\n [ngStyle]=\"{\n height: height.length > 0 ? height : '',\n width: width.length > 0 ? width : ''\n }\"\n>\n <div\n class=\"dropdown\"\n #select\n tabindex=\"0\"\n (keyup.enter)=\"toggleDropdown()\"\n (click)=\"toggleDropdown()\"\n [ngStyle]=\"{ background: isOpen ? '#E6EBF7' : '' }\"\n >\n <div class=\"label\">\n <p class=\"text\">\n {{ multiLine ? selectedItem.label?.primaryText : selectedItem.label || label }}\n </p>\n </div>\n <svg\n class=\"handle\"\n [ngStyle]=\"{ transform: isOpen ? 'rotate(180deg)' : 'rotate(0deg)' }\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.825 7.15845L10 10.9751L6.175 7.15845L5 8.33345L10 13.3334L15 8.33345L13.825 7.15845Z\"\n fill=\"#181F33\"\n />\n </svg>\n </div>\n</div>\n<ng-template #popupContainer>\n <div\n class=\"popup-container\"\n [ngStyle]=\"{\n height: dropdownListHeight,\n width: dropdownListWidth\n }\"\n >\n <div *ngIf=\"searchEnabled\" class=\"search-container\">\n <svg\n *ngIf=\"!isSearchInputFocused\"\n class=\"search-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M4.21508 11.1456C4.21508 7.3179 7.33722 4.21165 11.1926 4.21165C15.048 4.21165 18.1702 7.3179 18.1702 11.1456C18.1702 12.6931 17.6599 14.1226 16.7972 15.2767L15.3685 16.7013C14.2044 17.5668 12.759 18.0796 11.1926 18.0796C7.33722 18.0796 4.21508 14.9734 4.21508 11.1456ZM15.9421 17.7835C14.6021 18.7329 12.9627 19.2913 11.1926 19.2913C6.66977 19.2913 3 15.6461 3 11.1456C3 6.64512 6.66977 3 11.1926 3C15.7155 3 19.3852 6.64512 19.3852 11.1456C19.3852 12.9371 18.8037 14.5931 17.8184 15.9375L19.8361 17.4048C20.6705 17.912 21.7554 18.6543 20.2454 20.215C18.7353 21.7756 18.0099 20.6663 17.4991 19.8364L15.9421 17.7835Z\"\n fill=\"#6A737D\"\n />\n </svg>\n <input\n [ngModel]=\"searchInput\"\n [ngStyle]=\"{\n paddingLeft: isSearchInputFocused ? '12px' : '45px',\n border: isSearchInputFocused ? '1px solid #0937B2' : '1px solid #e0e0e0',\n paddingRight: isSearchInputFocused ? '45px' : '10px'\n }\"\n (ngModelChange)=\"searchInputOnChange($event)\"\n [placeholder]=\"isSearchInputFocused ? '' : 'Search Keyword'\"\n (focus)=\"searchInputFocused(true)\"\n class=\"search-input\"\n />\n <svg\n *ngIf=\"isSearchInputFocused\"\n class=\"cancel-icon\"\n (click)=\"searchInputCanceled($event)\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.87446 7.32144C8.44588 6.89285 7.751 6.89285 7.32242 7.32144C6.89383 7.75002 6.89383 8.4449 7.32242 8.87349L10.4488 11.9999L7.32357 15.1252C6.89498 15.5538 6.89498 16.2486 7.32357 16.6772C7.75215 17.1058 8.44703 17.1058 8.87561 16.6772L12.0009 13.552L15.1261 16.6772C15.5547 17.1058 16.2496 17.1058 16.6781 16.6772C17.1067 16.2486 17.1067 15.5537 16.6781 15.1251L13.5529 11.9999L16.6793 8.87354C17.1079 8.44496 17.1079 7.75008 16.6793 7.3215C16.2507 6.89291 15.5558 6.89291 15.1273 7.3215L12.0009 10.4479L8.87446 7.32144Z\"\n fill=\"#6A737D\"\n />\n </svg>\n </div>\n <div class=\"items\">\n <cdk-virtual-scroll-viewport autosize class=\"dropdown-viewport\">\n <div\n class=\"item\"\n tabindex=\"0\"\n [ngClass]=\"{ 'item-disabled': item.disabled }\"\n (click)=\"item.disabled ? null : selectItem(item)\"\n (keyup.enter)=\"item.disabled ? null : selectItem(item)\"\n *cdkVirtualFor=\"let item of searchInput ? searchData : data\"\n >\n <div class=\"label\" [ngStyle]=\"{ width: item.icon ? '90%' : '100%', 'display': multiLine ? 'flex': 'inherit', 'flex-direction': multiLine ? 'column': 'inherit' }\">\n <span class=\"primaryText\">{{ multiLine ? item.label?.primaryText : item.label }}</span>\n <span class=\"secondaryText\" *ngIf=\"multiLine\"> {{ item.label?.secondaryText ? item.label?.secondaryText : additionalInfoMessage }} </span>\n </div>\n <div class=\"icon-container\" *ngIf=\"item.icon\">\n <img class=\"icon\" [src]=\"item.icon\" alt=\"no img\" />\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n <div class=\"noData\" *ngIf=\"(searchInput ? searchData : data).length === 0\">\n {{ searchInput === \"\" ? noDataMessage : \"No results\" }}\n </div>\n </div>\n </div>\n</ng-template>\n", styles: [".main-container{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;height:32px;width:256px;font-family:Lato,sans-serif!important}.main-container .dropdown{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:inherit;border:1px solid #e0e0e0;border-radius:6px;background-color:#fff;cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;padding:0 12px}.main-container .dropdown:hover,.main-container .dropdown:focus-visible{background-color:#f5f7fc;outline:none}.main-container .dropdown .label{box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px);font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.main-container .dropdown .label .text{margin:0!important;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.main-container .dropdown .label .count{background-color:#e0e0e0;border-radius:50%;padding:2px 7px;margin:0}.main-container .dropdown .handle{width:24px;height:24px;transition:.3s;position:absolute;right:12px;border-radius:50%;overflow:hidden}.popup-container{width:100%;max-height:340px;padding-bottom:0;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;box-shadow:0 12px 24px #0000001f;display:flex;flex-direction:column;overflow:hidden;justify-content:space-between}.popup-container::-webkit-scrollbar{width:0;height:0}.popup-container .search-container{position:relative;box-sizing:border-box;padding:8px}.popup-container .search-container .search-icon{position:absolute;width:24px;height:24px;top:50%;transform:translateY(-50%);left:18px;z-index:1}.popup-container .search-container .search-input{height:40px;width:100%;padding:12px;border:1px solid #e0e0e0;box-sizing:border-box;border-radius:8px;outline:none;caret-color:#0937b2;font-style:normal;font-weight:400;font-size:12px;line-height:18px;display:flex;align-items:center;letter-spacing:.2px;color:#181f33}.popup-container .search-container .cancel-icon{position:absolute;cursor:pointer;width:24px;height:24px;top:50%;transform:translateY(-50%);right:18px;z-index:1}.popup-container .items{padding:8px 0 8px 8px;overflow-y:scroll}.popup-container .items::-webkit-scrollbar{width:5px;height:0}.popup-container .items::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:10px}.popup-container .items .noData{display:flex;justify-content:center;align-items:center;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.popup-container .items .dropdown-viewport{height:200px}.popup-container .items .dropdown-viewport .item{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;height:auto;letter-spacing:.2px;color:#181f33}.popup-container .items .dropdown-viewport .item:hover,.popup-container .items .dropdown-viewport .item:focus-visible{background-color:#f5f7fc;outline:none}.popup-container .items .dropdown-viewport .item .label{width:100%;line-height:20px;font-size:14px;font-style:normal;font-weight:400;text-overflow:ellipsis;overflow:hidden}.popup-container .items .dropdown-viewport .item .label .primaryText{color:#181f33;font-family:Lato;font-size:14px;line-height:20px;letter-spacing:.2px}.popup-container .items .dropdown-viewport .item .label .secondaryText{color:#6a737d;font-family:Lato;font-size:14px;line-height:20px;letter-spacing:.2px}.popup-container .items .dropdown-viewport .item .icon-container{width:10%;display:flex;justify-content:flex-end}.popup-container .items .dropdown-viewport .item .icon-container .icon{width:20px;height:20px}.popup-container .items .item-disabled{cursor:not-allowed}.popup-container .items .item-disabled:hover,.popup-container .items .item-disabled:focus-visible{background-color:transparent;outline:none}.popup-container .items .item-disabled .label{color:#929dab;-webkit-user-select:none;user-select:none}\n"] }]
119
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.Overlay }, { type: i0.ViewContainerRef }]; }, propDecorators: { data: [{
120
+ type: Input
121
+ }], height: [{
122
+ type: Input
123
+ }], width: [{
124
+ type: Input
125
+ }], label: [{
126
+ type: Input
127
+ }], dropdownListHeight: [{
128
+ type: Input
129
+ }], dropdownListWidth: [{
130
+ type: Input
131
+ }], dropdownListPosition: [{
132
+ type: Input
133
+ }], searchEnabled: [{
134
+ type: Input
135
+ }], selectedItem: [{
136
+ type: Input
137
+ }], noDataMessage: [{
138
+ type: Input
139
+ }], multiLine: [{
140
+ type: Input
141
+ }], additionalInfoMessage: [{
142
+ type: Input
143
+ }], onChange: [{
144
+ type: Output
145
+ }], selectElement: [{
146
+ type: ViewChild,
147
+ args: ["select", { static: false }]
148
+ }], popupContainer: [{
149
+ type: ViewChild,
150
+ args: ["popupContainer", { static: false }]
151
+ }] } });
152
+
153
+ class DropdownModule {
154
+ static forRoot() {
155
+ return { ngModule: DropdownModule, providers: [] };
156
+ }
157
+ }
158
+ DropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
159
+ DropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: DropdownModule, declarations: [DropdownComponent], imports: [CommonModule, FormsModule, OverlayModule, ScrollingModule], exports: [DropdownComponent] });
160
+ DropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DropdownModule, imports: [CommonModule, FormsModule, OverlayModule, ScrollingModule] });
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: DropdownModule, decorators: [{
162
+ type: NgModule,
163
+ args: [{
164
+ declarations: [DropdownComponent],
165
+ imports: [CommonModule, FormsModule, OverlayModule, ScrollingModule],
166
+ exports: [DropdownComponent]
167
+ }]
168
+ }] });
169
+
170
+ /**
171
+ * Generated bundle index. Do not edit.
172
+ */
173
+
174
+ export { DropdownComponent, DropdownModule };
175
+ //# sourceMappingURL=mis-crystal-design-system-dropdown.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mis-crystal-design-system-dropdown.mjs","sources":["../../../projects/mis-components/dropdown/dropdown.component.ts","../../../projects/mis-components/dropdown/dropdown.component.html","../../../projects/mis-components/dropdown/dropdown.module.ts","../../../projects/mis-components/dropdown/mis-crystal-design-system-dropdown.ts"],"sourcesContent":["import { ConnectionPositionPair, Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { TemplatePortal } from \"@angular/cdk/portal\";\nimport { Component, ElementRef, EventEmitter, Input, OnInit, Output, TemplateRef, ViewChild, ViewContainerRef } from \"@angular/core\";\n\n@Component({\n selector: \"mis-dropdown\",\n templateUrl: \"./dropdown.component.html\",\n styleUrls: [\"./dropdown.component.scss\"]\n})\nexport class DropdownComponent implements OnInit {\n isOpen = false;\n isSearchInputFocused: boolean = false;\n searchInput: string = \"\";\n searchData: DropdownItem[] = [];\n\n @Input() data: DropdownItem[] = [];\n @Input() height: string = \"\";\n @Input() width: string = \"\";\n @Input() label: string = \"Select\";\n\n @Input() dropdownListHeight: string = \"\";\n @Input() dropdownListWidth: string = \"\";\n @Input() dropdownListPosition: \"Left\" | \"Right\" = \"Left\";\n\n @Input() searchEnabled: boolean = true;\n @Input() selectedItem: DropdownItem = { value: \"\", label: \"\" };\n @Input() noDataMessage: string = \"No Data\";\n @Input() multiLine: boolean = false;\n @Input() additionalInfoMessage : string;\n\n @Output() onChange: EventEmitter<any> = new EventEmitter();\n\n @ViewChild(\"select\", { static: false }) selectElement: ElementRef;\n @ViewChild(\"popupContainer\", { static: false }) popupContainer: TemplateRef<Element>;\n private overlayRef: OverlayRef;\n\n constructor(private eRef: ElementRef, private overlay: Overlay, private viewContainerRef: ViewContainerRef) {}\n ngOnInit() {\n }\n\n filterByValue(array, string: string) {\n return array.filter(o => o.label.toLowerCase().includes(string.toLowerCase()));\n }\n\n filterByPrimaryText(array, string: string) {\n return array.filter(o => o.label.primaryText.toLowerCase().includes(string.toLowerCase()));\n }\n searchInputOnChange(newValue) {\n this.searchInput = newValue;\n if (newValue) {\n this.searchData = this.multiLine ? this.filterByPrimaryText(this.data, newValue) : this.filterByValue(this.data, newValue);\n } else {\n this.searchData = [];\n this.searchInput = \"\";\n }\n }\n searchInputFocused(isFocused: boolean) {\n this.isSearchInputFocused = isFocused;\n }\n searchInputCanceled(event) {\n event.stopPropagation();\n this.searchInput = \"\";\n this.isSearchInputFocused = false;\n }\n toggleDropdown() {\n this.isOpen = !this.isOpen;\n if (this.isOpen) this.openDropdown(this.popupContainer, this.selectElement.nativeElement);\n else this.onCancel();\n }\n private openDropdown(template: TemplateRef<Element>, origin: HTMLElement): void {\n const positionsBottom = [\n new ConnectionPositionPair({ originX: \"start\", originY: \"bottom\" }, { overlayX: \"start\", overlayY: \"top\" }, 0, 4),\n new ConnectionPositionPair({ originX: \"end\", originY: \"bottom\" }, { overlayX: \"end\", overlayY: \"top\" }, 0, 4)\n ];\n const positionsTop = [\n new ConnectionPositionPair({ originX: \"start\", originY: \"top\" }, { overlayX: \"start\", overlayY: \"bottom\" }, 0, -4),\n new ConnectionPositionPair({ originX: \"end\", originY: \"top\" }, { overlayX: \"end\", overlayY: \"bottom\" }, 0, -4)\n ];\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(origin)\n .withPositions([\n ...(this.dropdownListPosition === \"Right\" ? positionsBottom.reverse() : positionsBottom),\n ...(this.dropdownListPosition === \"Right\" ? positionsTop.reverse() : positionsTop)\n ])\n .withPush(true);\n const configs = new OverlayConfig({\n hasBackdrop: true,\n backdropClass: \"cdk-overlay-transparent-backdrop\",\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy,\n width: origin.clientWidth\n });\n this.overlayRef = this.overlay.create(configs);\n if (this.dropdownListWidth) this.overlayRef.updateSize({ width: this.dropdownListWidth });\n if (this.dropdownListHeight) this.overlayRef.updateSize({ height: this.dropdownListHeight });\n this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));\n this.overlayRef.backdropClick().subscribe(res => {\n this.onCancel();\n });\n }\n selectItem(item) {\n this.onChange.emit(item);\n this.toggleDropdown();\n }\n onCancel() {\n this.isSearchInputFocused = false;\n this.isOpen = false;\n this.overlayRef?.detach();\n this.searchInput = \"\";\n }\n}\nexport interface DropdownItem {\n label: any ;\n value: string;\n icon?: string;\n disabled?: boolean;\n}\nexport interface ActionItemLabel {\n primaryText ?: string;\n secondaryText ?: string;\n}\n","<div\n class=\"main-container\"\n [ngStyle]=\"{\n height: height.length > 0 ? height : '',\n width: width.length > 0 ? width : ''\n }\"\n>\n <div\n class=\"dropdown\"\n #select\n tabindex=\"0\"\n (keyup.enter)=\"toggleDropdown()\"\n (click)=\"toggleDropdown()\"\n [ngStyle]=\"{ background: isOpen ? '#E6EBF7' : '' }\"\n >\n <div class=\"label\">\n <p class=\"text\">\n {{ multiLine ? selectedItem.label?.primaryText : selectedItem.label || label }}\n </p>\n </div>\n <svg\n class=\"handle\"\n [ngStyle]=\"{ transform: isOpen ? 'rotate(180deg)' : 'rotate(0deg)' }\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.825 7.15845L10 10.9751L6.175 7.15845L5 8.33345L10 13.3334L15 8.33345L13.825 7.15845Z\"\n fill=\"#181F33\"\n />\n </svg>\n </div>\n</div>\n<ng-template #popupContainer>\n <div\n class=\"popup-container\"\n [ngStyle]=\"{\n height: dropdownListHeight,\n width: dropdownListWidth\n }\"\n >\n <div *ngIf=\"searchEnabled\" class=\"search-container\">\n <svg\n *ngIf=\"!isSearchInputFocused\"\n class=\"search-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M4.21508 11.1456C4.21508 7.3179 7.33722 4.21165 11.1926 4.21165C15.048 4.21165 18.1702 7.3179 18.1702 11.1456C18.1702 12.6931 17.6599 14.1226 16.7972 15.2767L15.3685 16.7013C14.2044 17.5668 12.759 18.0796 11.1926 18.0796C7.33722 18.0796 4.21508 14.9734 4.21508 11.1456ZM15.9421 17.7835C14.6021 18.7329 12.9627 19.2913 11.1926 19.2913C6.66977 19.2913 3 15.6461 3 11.1456C3 6.64512 6.66977 3 11.1926 3C15.7155 3 19.3852 6.64512 19.3852 11.1456C19.3852 12.9371 18.8037 14.5931 17.8184 15.9375L19.8361 17.4048C20.6705 17.912 21.7554 18.6543 20.2454 20.215C18.7353 21.7756 18.0099 20.6663 17.4991 19.8364L15.9421 17.7835Z\"\n fill=\"#6A737D\"\n />\n </svg>\n <input\n [ngModel]=\"searchInput\"\n [ngStyle]=\"{\n paddingLeft: isSearchInputFocused ? '12px' : '45px',\n border: isSearchInputFocused ? '1px solid #0937B2' : '1px solid #e0e0e0',\n paddingRight: isSearchInputFocused ? '45px' : '10px'\n }\"\n (ngModelChange)=\"searchInputOnChange($event)\"\n [placeholder]=\"isSearchInputFocused ? '' : 'Search Keyword'\"\n (focus)=\"searchInputFocused(true)\"\n class=\"search-input\"\n />\n <svg\n *ngIf=\"isSearchInputFocused\"\n class=\"cancel-icon\"\n (click)=\"searchInputCanceled($event)\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.87446 7.32144C8.44588 6.89285 7.751 6.89285 7.32242 7.32144C6.89383 7.75002 6.89383 8.4449 7.32242 8.87349L10.4488 11.9999L7.32357 15.1252C6.89498 15.5538 6.89498 16.2486 7.32357 16.6772C7.75215 17.1058 8.44703 17.1058 8.87561 16.6772L12.0009 13.552L15.1261 16.6772C15.5547 17.1058 16.2496 17.1058 16.6781 16.6772C17.1067 16.2486 17.1067 15.5537 16.6781 15.1251L13.5529 11.9999L16.6793 8.87354C17.1079 8.44496 17.1079 7.75008 16.6793 7.3215C16.2507 6.89291 15.5558 6.89291 15.1273 7.3215L12.0009 10.4479L8.87446 7.32144Z\"\n fill=\"#6A737D\"\n />\n </svg>\n </div>\n <div class=\"items\">\n <cdk-virtual-scroll-viewport autosize class=\"dropdown-viewport\">\n <div\n class=\"item\"\n tabindex=\"0\"\n [ngClass]=\"{ 'item-disabled': item.disabled }\"\n (click)=\"item.disabled ? null : selectItem(item)\"\n (keyup.enter)=\"item.disabled ? null : selectItem(item)\"\n *cdkVirtualFor=\"let item of searchInput ? searchData : data\"\n >\n <div class=\"label\" [ngStyle]=\"{ width: item.icon ? '90%' : '100%', 'display': multiLine ? 'flex': 'inherit', 'flex-direction': multiLine ? 'column': 'inherit' }\">\n <span class=\"primaryText\">{{ multiLine ? item.label?.primaryText : item.label }}</span>\n <span class=\"secondaryText\" *ngIf=\"multiLine\"> {{ item.label?.secondaryText ? item.label?.secondaryText : additionalInfoMessage }} </span>\n </div>\n <div class=\"icon-container\" *ngIf=\"item.icon\">\n <img class=\"icon\" [src]=\"item.icon\" alt=\"no img\" />\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n <div class=\"noData\" *ngIf=\"(searchInput ? searchData : data).length === 0\">\n {{ searchInput === \"\" ? noDataMessage : \"No results\" }}\n </div>\n </div>\n </div>\n</ng-template>\n","import { CommonModule } from \"@angular/common\";\nimport { FormsModule } from \"@angular/forms\";\nimport { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { DropdownComponent } from \"./dropdown.component\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { ScrollingModule } from \"@angular/cdk-experimental/scrolling\";\n\n@NgModule({\n declarations: [DropdownComponent],\n imports: [CommonModule, FormsModule, OverlayModule, ScrollingModule],\n exports: [DropdownComponent]\n})\nexport class DropdownModule {\n static forRoot(): ModuleWithProviders<DropdownModule> {\n return { ngModule: DropdownModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;MASa,iBAAiB,CAAA;AA2B5B,IAAA,WAAA,CAAoB,IAAgB,EAAU,OAAgB,EAAU,gBAAkC,EAAA;QAAtF,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAY;QAAU,IAAO,CAAA,OAAA,GAAP,OAAO,CAAS;QAAU,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;QA1B1G,IAAM,CAAA,MAAA,GAAG,KAAK,CAAC;QACf,IAAoB,CAAA,oBAAA,GAAY,KAAK,CAAC;QACtC,IAAW,CAAA,WAAA,GAAW,EAAE,CAAC;QACzB,IAAU,CAAA,UAAA,GAAmB,EAAE,CAAC;QAEvB,IAAI,CAAA,IAAA,GAAmB,EAAE,CAAC;QAC1B,IAAM,CAAA,MAAA,GAAW,EAA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GAAd,cAAc,EAAA,YAAA,EAAA,CAJV,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACtB,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,CAAA,EAAA,OAAA,EAAA,CACzD,iBAAiB,CAAA,EAAA,CAAA,CAAA;AAEhB,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAHf,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;4FAGxD,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,CAAC;oBACpE,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC7B,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
@@ -0,0 +1,107 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, Input, HostListener, NgModule } from '@angular/core';
3
+ import { trigger, transition, style, animate, state } from '@angular/animations';
4
+ import * as i1 from '@angular/common';
5
+ import { CommonModule } from '@angular/common';
6
+
7
+ /** @format */
8
+ class FabComponent {
9
+ constructor(eRef) {
10
+ this.eRef = eRef;
11
+ this.show = false;
12
+ this.options = {};
13
+ this.items = [];
14
+ this.isOpen = false;
15
+ }
16
+ clickout(event) {
17
+ if (!this.eRef.nativeElement.contains(event.target)) {
18
+ this.closeFab();
19
+ }
20
+ }
21
+ ngOnInit() {
22
+ this.options = {
23
+ size: 56,
24
+ backgroundColorClosed: "#0937B2",
25
+ backgroundColorOpened: "#3a5fc1",
26
+ ...this.options
27
+ };
28
+ }
29
+ ngOnDestroy() { }
30
+ clickItem(item) {
31
+ this.closeFab();
32
+ item.click();
33
+ }
34
+ closeFab() {
35
+ this.isOpen = false;
36
+ }
37
+ toogleFab() {
38
+ this.isOpen = !this.isOpen;
39
+ }
40
+ }
41
+ FabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FabComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
42
+ FabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: FabComponent, selector: "mis-fab", inputs: { show: "show", options: "options", items: "items" }, host: { listeners: { "document:click": "clickout($event)" } }, ngImport: i0, template: "<div class=\"fab-wrapper\" *ngIf=\"show\">\n <div class=\"fab-items\" *ngIf=\"isOpen\" @slideUpFab>\n <div class=\"fab-item\" *ngFor=\"let item of items.reverse(); let i = index\" (click)=\"clickItem(item)\">\n <div *ngIf=\"item.label\" class=\"fab-tooltip\">\n {{ item.label }}\n </div>\n <div\n class=\"fab-button\"\n [ngStyle]=\"{\n backgroundColor: item.backgroundColor || '#0937B2'\n }\"\n >\n <img [src]=\"item.icon\" class=\"add-img\" />\n </div>\n </div>\n </div>\n <div\n class=\"fab-container\"\n [ngStyle]=\"{\n backgroundColor: isOpen ? options.backgroundColorOpened : options.backgroundColorClosed\n }\"\n (click)=\"toogleFab()\"\n >\n <svg\n [@rotateButton]=\"isOpen ? 'rotated' : 'default'\"\n class=\"add-img\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.1424 5.15607C13.1424 4.51759 12.6313 4 12.0009 4C11.3704 4 10.8594 4.51759 10.8594 5.15607V10.8421H5.14149C4.51106 10.8421 4 11.3597 4 11.9982C4 12.6367 4.51106 13.1543 5.14149 13.1543H10.8594V18.8439C10.8594 19.4824 11.3704 20 12.0009 20C12.6313 20 13.1424 19.4824 13.1424 18.8439V13.1543H18.8585C19.4889 13.1543 20 12.6367 20 11.9982C20 11.3597 19.4889 10.8421 18.8585 10.8421H13.1424V5.15607Z\"\n fill=\"white\"\n />\n </svg>\n </div>\n</div>\n", styles: [".fab-wrapper{position:fixed;right:24px;bottom:24px;z-index:1000}.fab-wrapper .fab-item{position:relative;padding:0 0 16px 8px}.fab-wrapper .fab-item .fab-tooltip{position:absolute;background-color:#181f33;border-radius:4px;color:#fff;padding:8px;display:flex;justify-content:center;align-items:center;white-space:nowrap;right:100%;top:calc(50% - 8px);transform:translateY(-50%)}.fab-wrapper .fab-item .fab-button{width:40px;height:40px;cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center}.fab-wrapper .fab-container{border-radius:50%;cursor:pointer;display:flex;justify-content:center;align-items:center;width:56px;height:56px}.add-img{height:24px;width:24px}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], animations: [
43
+ trigger("slideUpFab", [
44
+ transition(":enter", [
45
+ style({ transform: "translateY(50px)", opacity: 0 }),
46
+ animate("300ms ease-out", style({ transform: "translateY(0px)", opacity: 1 }))
47
+ ]),
48
+ transition(":leave", [animate("200ms ease-out", style({ transform: "translateY(70px)", opacity: 0 }))])
49
+ ]),
50
+ trigger("rotateButton", [
51
+ state("default", style({ transform: "rotate(0)" })),
52
+ state("rotated", style({ transform: "rotate(45deg)" })),
53
+ transition("rotated => default", animate("300ms ease-out")),
54
+ transition("default => rotated", animate("200ms ease-in"))
55
+ ])
56
+ ] });
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FabComponent, decorators: [{
58
+ type: Component,
59
+ args: [{ selector: "mis-fab", animations: [
60
+ trigger("slideUpFab", [
61
+ transition(":enter", [
62
+ style({ transform: "translateY(50px)", opacity: 0 }),
63
+ animate("300ms ease-out", style({ transform: "translateY(0px)", opacity: 1 }))
64
+ ]),
65
+ transition(":leave", [animate("200ms ease-out", style({ transform: "translateY(70px)", opacity: 0 }))])
66
+ ]),
67
+ trigger("rotateButton", [
68
+ state("default", style({ transform: "rotate(0)" })),
69
+ state("rotated", style({ transform: "rotate(45deg)" })),
70
+ transition("rotated => default", animate("300ms ease-out")),
71
+ transition("default => rotated", animate("200ms ease-in"))
72
+ ])
73
+ ], template: "<div class=\"fab-wrapper\" *ngIf=\"show\">\n <div class=\"fab-items\" *ngIf=\"isOpen\" @slideUpFab>\n <div class=\"fab-item\" *ngFor=\"let item of items.reverse(); let i = index\" (click)=\"clickItem(item)\">\n <div *ngIf=\"item.label\" class=\"fab-tooltip\">\n {{ item.label }}\n </div>\n <div\n class=\"fab-button\"\n [ngStyle]=\"{\n backgroundColor: item.backgroundColor || '#0937B2'\n }\"\n >\n <img [src]=\"item.icon\" class=\"add-img\" />\n </div>\n </div>\n </div>\n <div\n class=\"fab-container\"\n [ngStyle]=\"{\n backgroundColor: isOpen ? options.backgroundColorOpened : options.backgroundColorClosed\n }\"\n (click)=\"toogleFab()\"\n >\n <svg\n [@rotateButton]=\"isOpen ? 'rotated' : 'default'\"\n class=\"add-img\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.1424 5.15607C13.1424 4.51759 12.6313 4 12.0009 4C11.3704 4 10.8594 4.51759 10.8594 5.15607V10.8421H5.14149C4.51106 10.8421 4 11.3597 4 11.9982C4 12.6367 4.51106 13.1543 5.14149 13.1543H10.8594V18.8439C10.8594 19.4824 11.3704 20 12.0009 20C12.6313 20 13.1424 19.4824 13.1424 18.8439V13.1543H18.8585C19.4889 13.1543 20 12.6367 20 11.9982C20 11.3597 19.4889 10.8421 18.8585 10.8421H13.1424V5.15607Z\"\n fill=\"white\"\n />\n </svg>\n </div>\n</div>\n", styles: [".fab-wrapper{position:fixed;right:24px;bottom:24px;z-index:1000}.fab-wrapper .fab-item{position:relative;padding:0 0 16px 8px}.fab-wrapper .fab-item .fab-tooltip{position:absolute;background-color:#181f33;border-radius:4px;color:#fff;padding:8px;display:flex;justify-content:center;align-items:center;white-space:nowrap;right:100%;top:calc(50% - 8px);transform:translateY(-50%)}.fab-wrapper .fab-item .fab-button{width:40px;height:40px;cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center}.fab-wrapper .fab-container{border-radius:50%;cursor:pointer;display:flex;justify-content:center;align-items:center;width:56px;height:56px}.add-img{height:24px;width:24px}\n"] }]
74
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { show: [{
75
+ type: Input
76
+ }], options: [{
77
+ type: Input
78
+ }], items: [{
79
+ type: Input
80
+ }], clickout: [{
81
+ type: HostListener,
82
+ args: ["document:click", ["$event"]]
83
+ }] } });
84
+
85
+ class FabModule {
86
+ static forRoot() {
87
+ return { ngModule: FabModule, providers: [] };
88
+ }
89
+ }
90
+ FabModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FabModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
91
+ FabModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: FabModule, declarations: [FabComponent], imports: [CommonModule], exports: [FabComponent] });
92
+ FabModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FabModule, imports: [CommonModule] });
93
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: FabModule, decorators: [{
94
+ type: NgModule,
95
+ args: [{
96
+ declarations: [FabComponent],
97
+ imports: [CommonModule],
98
+ exports: [FabComponent]
99
+ }]
100
+ }] });
101
+
102
+ /**
103
+ * Generated bundle index. Do not edit.
104
+ */
105
+
106
+ export { FabComponent, FabModule };
107
+ //# sourceMappingURL=mis-crystal-design-system-fab.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mis-crystal-design-system-fab.mjs","sources":["../../../projects/mis-components/fab/fab.component.ts","../../../projects/mis-components/fab/fab.component.html","../../../projects/mis-components/fab/fab.module.ts","../../../projects/mis-components/fab/mis-crystal-design-system-fab.ts"],"sourcesContent":["/** @format */\n\nimport { Component, ElementRef, HostListener, Input, OnDestroy, OnInit } from \"@angular/core\";\nimport { trigger, transition, style, animate, state } from \"@angular/animations\";\n\nexport type FabOptions = {\n backgroundColorClosed?: string;\n backgroundColorOpened?: string;\n size?: number;\n};\n\nexport type FabItem = {\n label?: string;\n icon: string;\n backgroundColor?: string;\n id?: string;\n click?: () => any;\n};\n\nexport type FabItems = FabItem[];\n\n@Component({\n selector: \"mis-fab\",\n templateUrl: \"./fab.component.html\",\n styleUrls: [\"./fab.component.scss\"],\n animations: [\n trigger(\"slideUpFab\", [\n transition(\":enter\", [\n style({ transform: \"translateY(50px)\", opacity: 0 }),\n animate(\"300ms ease-out\", style({ transform: \"translateY(0px)\", opacity: 1 }))\n ]),\n transition(\":leave\", [animate(\"200ms ease-out\", style({ transform: \"translateY(70px)\", opacity: 0 }))])\n ]),\n trigger(\"rotateButton\", [\n state(\"default\", style({ transform: \"rotate(0)\" })),\n state(\"rotated\", style({ transform: \"rotate(45deg)\" })),\n transition(\"rotated => default\", animate(\"300ms ease-out\")),\n transition(\"default => rotated\", animate(\"200ms ease-in\"))\n ])\n ]\n})\nexport class FabComponent implements OnInit, OnDestroy {\n @Input() show: boolean = false;\n @Input() options: FabOptions = {};\n @Input() items: FabItems = [];\n\n isOpen: boolean = false;\n\n constructor(private eRef: ElementRef) {}\n\n @HostListener(\"document:click\", [\"$event\"])\n clickout(event) {\n if (!this.eRef.nativeElement.contains(event.target)) {\n this.closeFab();\n }\n }\n\n ngOnInit(): void {\n this.options = {\n size: 56,\n backgroundColorClosed: \"#0937B2\",\n backgroundColorOpened: \"#3a5fc1\",\n ...this.options\n };\n }\n\n ngOnDestroy(): void {}\n\n clickItem(item: FabItem) {\n this.closeFab();\n item.click();\n }\n\n closeFab() {\n this.isOpen = false;\n }\n\n toogleFab() {\n this.isOpen = !this.isOpen;\n }\n}\n","<div class=\"fab-wrapper\" *ngIf=\"show\">\n <div class=\"fab-items\" *ngIf=\"isOpen\" @slideUpFab>\n <div class=\"fab-item\" *ngFor=\"let item of items.reverse(); let i = index\" (click)=\"clickItem(item)\">\n <div *ngIf=\"item.label\" class=\"fab-tooltip\">\n {{ item.label }}\n </div>\n <div\n class=\"fab-button\"\n [ngStyle]=\"{\n backgroundColor: item.backgroundColor || '#0937B2'\n }\"\n >\n <img [src]=\"item.icon\" class=\"add-img\" />\n </div>\n </div>\n </div>\n <div\n class=\"fab-container\"\n [ngStyle]=\"{\n backgroundColor: isOpen ? options.backgroundColorOpened : options.backgroundColorClosed\n }\"\n (click)=\"toogleFab()\"\n >\n <svg\n [@rotateButton]=\"isOpen ? 'rotated' : 'default'\"\n class=\"add-img\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.1424 5.15607C13.1424 4.51759 12.6313 4 12.0009 4C11.3704 4 10.8594 4.51759 10.8594 5.15607V10.8421H5.14149C4.51106 10.8421 4 11.3597 4 11.9982C4 12.6367 4.51106 13.1543 5.14149 13.1543H10.8594V18.8439C10.8594 19.4824 11.3704 20 12.0009 20C12.6313 20 13.1424 19.4824 13.1424 18.8439V13.1543H18.8585C19.4889 13.1543 20 12.6367 20 11.9982C20 11.3597 19.4889 10.8421 18.8585 10.8421H13.1424V5.15607Z\"\n fill=\"white\"\n />\n </svg>\n </div>\n</div>\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { FabComponent } from \"./fab.component\";\n\n@NgModule({\n declarations: [FabComponent],\n imports: [CommonModule],\n exports: [FabComponent]\n})\nexport class FabModule {\n static forRoot(): ModuleWithProviders<FabModule> {\n return { ngModule: FabModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;MAyCa,YAAY,CAAA;AAOvB,IAAA,WAAA,CAAoB,IAAgB,EAAA;QAAhB,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAY;QAN3B,IAAI,CAAA,IAAA,GAAY,KAAK,CAAC;QACtB,IAAO,CAAA,OAAA,GAAe,EAAE,CAAC;QACzB,IAAK,CAAA,KAAA,GAAa,EAAE,CAAC;QAE9B,IAAM,CAAA,MAAA,GAAY,KAAK,CAAC;KAEgB;AAGxC,IAAA,QAAQ,CAAC,KAAK,EAAA;AACZ,QAAA,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;YACnD,IAAI,CAAC,QAAQ,EAAE,CAAC;AACjB,SAAA;KACF;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,OAAO,GAAG;AACb,YAAA,IAAI,EAAE,EAAE;AACR,YAAA,qBAAqB,EAAE,SAAS;AAChC,YAAA,qBAAqB,EAAE,SAAS;YAChC,GAAG,IAAI,CAAC,OAAO;SAChB,CAAC;KACH;AAED,IAAA,WAAW,MAAW;AAEtB,IAAA,SAAS,CAAC,IAAa,EAAA;QACrB,IAAI,CAAC,QAAQ,EAAE,CAAC;QAChB,IAAI,CAAC,KAAK,EAAE,CAAC;KACd;IAED,QAAQ,GAAA;AACN,QAAA,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;KACrB;IAED,SAAS,GAAA;AACP,QAAA,IAAI,CAAC,MAAM,GAAG,CAAC,IAA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