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

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 (660) 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 +17 -13
  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 +20 -18
  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 +37 -47
  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-virtual-scroll.umd.js +0 -472
  444. package/bundles/mis-crystal-design-system-virtual-scroll.umd.js.map +0 -1
  445. package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js +0 -16
  446. package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js.map +0 -1
  447. package/bundles/mis-crystal-design-system-widgets.umd.js +0 -478
  448. package/bundles/mis-crystal-design-system-widgets.umd.js.map +0 -1
  449. package/bundles/mis-crystal-design-system-widgets.umd.min.js +0 -16
  450. package/bundles/mis-crystal-design-system-widgets.umd.min.js.map +0 -1
  451. package/bundles/mis-crystal-design-system.umd.js +0 -31
  452. package/bundles/mis-crystal-design-system.umd.js.map +0 -1
  453. package/bundles/mis-crystal-design-system.umd.min.js +0 -2
  454. package/bundles/mis-crystal-design-system.umd.min.js.map +0 -1
  455. package/button/mis-crystal-design-system-button.d.ts +0 -4
  456. package/button/mis-crystal-design-system-button.metadata.json +0 -1
  457. package/button/package.json +0 -11
  458. package/checkbox/mis-crystal-design-system-checkbox.d.ts +0 -4
  459. package/checkbox/mis-crystal-design-system-checkbox.metadata.json +0 -1
  460. package/checkbox/package.json +0 -11
  461. package/chip/mis-crystal-design-system-chip.d.ts +0 -4
  462. package/chip/mis-crystal-design-system-chip.metadata.json +0 -1
  463. package/chip/package.json +0 -11
  464. package/datepicker_v2/mis-crystal-design-system-datepicker_v2.d.ts +0 -7
  465. package/datepicker_v2/mis-crystal-design-system-datepicker_v2.metadata.json +0 -1
  466. package/datepicker_v2/package.json +0 -11
  467. package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.d.ts +0 -7
  468. package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.metadata.json +0 -1
  469. package/daterangepicker_v2/package.json +0 -11
  470. package/drawer/mis-crystal-design-system-drawer.d.ts +0 -5
  471. package/drawer/mis-crystal-design-system-drawer.metadata.json +0 -1
  472. package/drawer/package.json +0 -11
  473. package/dropdown/mis-crystal-design-system-dropdown.d.ts +0 -4
  474. package/dropdown/mis-crystal-design-system-dropdown.metadata.json +0 -1
  475. package/dropdown/package.json +0 -11
  476. package/esm2015/action-list/action-list.component.js +0 -160
  477. package/esm2015/action-list/action-list.module.js +0 -19
  478. package/esm2015/analytics/analytics.module.js +0 -14
  479. package/esm2015/analytics/analytics.service.js +0 -62
  480. package/esm2015/async-search-dropdown/async-dropdown.component.js +0 -223
  481. package/esm2015/async-search-dropdown/async-dropdown.module.js +0 -16
  482. package/esm2015/button/button.component.js +0 -43
  483. package/esm2015/button/button.directive.js +0 -57
  484. package/esm2015/button/button.module.js +0 -17
  485. package/esm2015/checkbox/checkbox.component.js +0 -79
  486. package/esm2015/checkbox/checkbox.module.js +0 -17
  487. package/esm2015/chip/chip.component.js +0 -31
  488. package/esm2015/chip/chip.module.js +0 -16
  489. package/esm2015/datepicker_v2/datepicker.module.js +0 -18
  490. package/esm2015/datepicker_v2/mis-crystal-design-system-datepicker_v2.js +0 -7
  491. package/esm2015/datepicker_v2/public_api.js +0 -3
  492. package/esm2015/datepicker_v2/tz-datepicker.directive.js +0 -126
  493. package/esm2015/datepicker_v2/tz-dp-container/tz-dp-container.component.js +0 -149
  494. package/esm2015/daterangepicker_v2/daterangepicker.module.js +0 -18
  495. package/esm2015/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.js +0 -7
  496. package/esm2015/daterangepicker_v2/public_api.js +0 -3
  497. package/esm2015/daterangepicker_v2/tz-daterangepicker.directive.js +0 -123
  498. package/esm2015/daterangepicker_v2/tz-drp-container/tz-drp-container.component.js +0 -205
  499. package/esm2015/drawer/drawer-body/drawer-body.component.js +0 -41
  500. package/esm2015/drawer/drawer.module.js +0 -28
  501. package/esm2015/drawer/mis-crystal-design-system-drawer.js +0 -6
  502. package/esm2015/dropdown/dropdown.component.js +0 -134
  503. package/esm2015/dropdown/dropdown.module.js +0 -19
  504. package/esm2015/fab/fab.component.js +0 -63
  505. package/esm2015/fab/fab.module.js +0 -16
  506. package/esm2015/input/directives/input/input.directive.js +0 -38
  507. package/esm2015/input/mis-input.component.js +0 -43
  508. package/esm2015/input/mis-input.module.js +0 -15
  509. package/esm2015/loader/loader.component.js +0 -20
  510. package/esm2015/loader/loader.module.js +0 -16
  511. package/esm2015/menu/menu-close.directive.js +0 -18
  512. package/esm2015/menu/menu.directive.js +0 -70
  513. package/esm2015/menu/menu.module.js +0 -17
  514. package/esm2015/modal/mis-crystal-design-system-modal.js +0 -6
  515. package/esm2015/modal/modal.module.js +0 -28
  516. package/esm2015/modal/modal.service.js +0 -72
  517. package/esm2015/modal/module-wrapper/module-wrapper.component.js +0 -33
  518. package/esm2015/multi-select-dropdown/multi-select-dropdown.component.js +0 -268
  519. package/esm2015/multi-select-dropdown/multi-select-dropdown.module.js +0 -20
  520. package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.component.js +0 -265
  521. package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.module.js +0 -20
  522. package/esm2015/radio-button/radio-button.component.js +0 -45
  523. package/esm2015/radio-button/radio-button.module.js +0 -17
  524. package/esm2015/ske-loader/ske-loader.component.js +0 -31
  525. package/esm2015/ske-loader/ske-loader.module.js +0 -13
  526. package/esm2015/switch/switch.component.js +0 -39
  527. package/esm2015/switch/switch.module.js +0 -17
  528. package/esm2015/table/custom-table-cell.directive.js +0 -42
  529. package/esm2015/table/filter/filter.component.js +0 -75
  530. package/esm2015/table/mis-crystal-design-system-table.js +0 -6
  531. package/esm2015/table/public_api.js +0 -5
  532. package/esm2015/table/sub-table/sub-table.component.js +0 -69
  533. package/esm2015/table/table.component.js +0 -199
  534. package/esm2015/table/table.module.js +0 -21
  535. package/esm2015/toast/toast.component.js +0 -28
  536. package/esm2015/toast/toast.data.service.js +0 -29
  537. package/esm2015/toast/toast.module.js +0 -28
  538. package/esm2015/toast/toast.service.js +0 -96
  539. package/esm2015/tooltip/tooltip-container/tooltip.component.js +0 -34
  540. package/esm2015/tooltip/tooltip.directive.js +0 -117
  541. package/esm2015/tooltip/tooltip.module.js +0 -19
  542. package/esm2015/virtual-scroll/index.js +0 -2
  543. package/esm2015/virtual-scroll/mis-crystal-design-system-virtual-scroll.js +0 -5
  544. package/esm2015/virtual-scroll/public_api.js +0 -4
  545. package/esm2015/virtual-scroll/virtual-scroll.component.js +0 -112
  546. package/esm2015/virtual-scroll/virtual-scroll.constants.js +0 -2
  547. package/esm2015/virtual-scroll/virtual-scroll.module.js +0 -24
  548. package/esm2015/widgets/classes/widget-group.js +0 -32
  549. package/esm2015/widgets/services/widget.service.js +0 -16
  550. package/esm2015/widgets/widgets.module.js +0 -12
  551. package/fab/mis-crystal-design-system-fab.d.ts +0 -4
  552. package/fab/mis-crystal-design-system-fab.metadata.json +0 -1
  553. package/fab/package.json +0 -11
  554. package/fesm2015/mis-crystal-design-system-action-list.js +0 -183
  555. package/fesm2015/mis-crystal-design-system-action-list.js.map +0 -1
  556. package/fesm2015/mis-crystal-design-system-analytics.js.map +0 -1
  557. package/fesm2015/mis-crystal-design-system-async-search-dropdown.js +0 -242
  558. package/fesm2015/mis-crystal-design-system-async-search-dropdown.js.map +0 -1
  559. package/fesm2015/mis-crystal-design-system-button.js +0 -120
  560. package/fesm2015/mis-crystal-design-system-button.js.map +0 -1
  561. package/fesm2015/mis-crystal-design-system-checkbox.js +0 -100
  562. package/fesm2015/mis-crystal-design-system-checkbox.js.map +0 -1
  563. package/fesm2015/mis-crystal-design-system-chip.js +0 -52
  564. package/fesm2015/mis-crystal-design-system-chip.js.map +0 -1
  565. package/fesm2015/mis-crystal-design-system-datepicker_v2.js +0 -339
  566. package/fesm2015/mis-crystal-design-system-datepicker_v2.js.map +0 -1
  567. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js +0 -392
  568. package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js.map +0 -1
  569. package/fesm2015/mis-crystal-design-system-drawer.js +0 -153
  570. package/fesm2015/mis-crystal-design-system-drawer.js.map +0 -1
  571. package/fesm2015/mis-crystal-design-system-dropdown.js +0 -157
  572. package/fesm2015/mis-crystal-design-system-dropdown.js.map +0 -1
  573. package/fesm2015/mis-crystal-design-system-fab.js +0 -84
  574. package/fesm2015/mis-crystal-design-system-fab.js.map +0 -1
  575. package/fesm2015/mis-crystal-design-system-input.js +0 -97
  576. package/fesm2015/mis-crystal-design-system-input.js.map +0 -1
  577. package/fesm2015/mis-crystal-design-system-loader.js +0 -41
  578. package/fesm2015/mis-crystal-design-system-loader.js.map +0 -1
  579. package/fesm2015/mis-crystal-design-system-menu.js +0 -106
  580. package/fesm2015/mis-crystal-design-system-menu.js.map +0 -1
  581. package/fesm2015/mis-crystal-design-system-modal.js +0 -147
  582. package/fesm2015/mis-crystal-design-system-modal.js.map +0 -1
  583. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js +0 -292
  584. package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js.map +0 -1
  585. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js +0 -289
  586. package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js.map +0 -1
  587. package/fesm2015/mis-crystal-design-system-radio-button.js +0 -66
  588. package/fesm2015/mis-crystal-design-system-radio-button.js.map +0 -1
  589. package/fesm2015/mis-crystal-design-system-ske-loader.js +0 -49
  590. package/fesm2015/mis-crystal-design-system-ske-loader.js.map +0 -1
  591. package/fesm2015/mis-crystal-design-system-styles.js +0 -4
  592. package/fesm2015/mis-crystal-design-system-styles.js.map +0 -1
  593. package/fesm2015/mis-crystal-design-system-switch.js +0 -60
  594. package/fesm2015/mis-crystal-design-system-switch.js.map +0 -1
  595. package/fesm2015/mis-crystal-design-system-table.js +0 -405
  596. package/fesm2015/mis-crystal-design-system-table.js.map +0 -1
  597. package/fesm2015/mis-crystal-design-system-toast.js +0 -174
  598. package/fesm2015/mis-crystal-design-system-toast.js.map +0 -1
  599. package/fesm2015/mis-crystal-design-system-tooltip.js +0 -171
  600. package/fesm2015/mis-crystal-design-system-tooltip.js.map +0 -1
  601. package/fesm2015/mis-crystal-design-system-utils.js.map +0 -1
  602. package/fesm2015/mis-crystal-design-system-virtual-scroll.js +0 -142
  603. package/fesm2015/mis-crystal-design-system-virtual-scroll.js.map +0 -1
  604. package/fesm2015/mis-crystal-design-system-widgets.js.map +0 -1
  605. package/fesm2015/mis-crystal-design-system.js.map +0 -1
  606. package/input/mis-crystal-design-system-input.d.ts +0 -4
  607. package/input/mis-crystal-design-system-input.metadata.json +0 -1
  608. package/input/package.json +0 -11
  609. package/loader/mis-crystal-design-system-loader.d.ts +0 -4
  610. package/loader/mis-crystal-design-system-loader.metadata.json +0 -1
  611. package/loader/package.json +0 -11
  612. package/menu/mis-crystal-design-system-menu.d.ts +0 -4
  613. package/menu/mis-crystal-design-system-menu.metadata.json +0 -1
  614. package/menu/package.json +0 -11
  615. package/mis-crystal-design-system.d.ts +0 -4
  616. package/mis-crystal-design-system.metadata.json +0 -1
  617. package/modal/mis-crystal-design-system-modal.d.ts +0 -5
  618. package/modal/mis-crystal-design-system-modal.metadata.json +0 -1
  619. package/modal/package.json +0 -11
  620. package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.d.ts +0 -4
  621. package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.metadata.json +0 -1
  622. package/multi-select-dropdown/package.json +0 -11
  623. package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.d.ts +0 -4
  624. package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.metadata.json +0 -1
  625. package/nested-multi-select-dropdown/package.json +0 -11
  626. package/radio-button/mis-crystal-design-system-radio-button.d.ts +0 -4
  627. package/radio-button/mis-crystal-design-system-radio-button.metadata.json +0 -1
  628. package/radio-button/package.json +0 -11
  629. package/ske-loader/mis-crystal-design-system-ske-loader.d.ts +0 -4
  630. package/ske-loader/mis-crystal-design-system-ske-loader.metadata.json +0 -1
  631. package/ske-loader/package.json +0 -11
  632. package/styles/mis-crystal-design-system-styles.d.ts +0 -4
  633. package/styles/mis-crystal-design-system-styles.metadata.json +0 -1
  634. package/styles/package.json +0 -11
  635. package/switch/mis-crystal-design-system-switch.d.ts +0 -4
  636. package/switch/mis-crystal-design-system-switch.metadata.json +0 -1
  637. package/switch/package.json +0 -11
  638. package/table/mis-crystal-design-system-table.d.ts +0 -5
  639. package/table/mis-crystal-design-system-table.metadata.json +0 -1
  640. package/table/package.json +0 -11
  641. package/toast/mis-crystal-design-system-toast.d.ts +0 -5
  642. package/toast/mis-crystal-design-system-toast.metadata.json +0 -1
  643. package/toast/package.json +0 -11
  644. package/tooltip/mis-crystal-design-system-tooltip.d.ts +0 -4
  645. package/tooltip/mis-crystal-design-system-tooltip.metadata.json +0 -1
  646. package/tooltip/package.json +0 -11
  647. package/utils/mis-crystal-design-system-utils.d.ts +0 -4
  648. package/utils/mis-crystal-design-system-utils.metadata.json +0 -1
  649. package/utils/package.json +0 -11
  650. package/virtual-scroll/index.d.ts +0 -1
  651. package/virtual-scroll/mis-crystal-design-system-virtual-scroll.d.ts +0 -4
  652. package/virtual-scroll/mis-crystal-design-system-virtual-scroll.metadata.json +0 -1
  653. package/virtual-scroll/package.json +0 -11
  654. package/virtual-scroll/public_api.d.ts +0 -3
  655. package/virtual-scroll/virtual-scroll.component.d.ts +0 -25
  656. package/virtual-scroll/virtual-scroll.constants.d.ts +0 -15
  657. package/virtual-scroll/virtual-scroll.module.d.ts +0 -4
  658. package/widgets/mis-crystal-design-system-widgets.d.ts +0 -4
  659. package/widgets/mis-crystal-design-system-widgets.metadata.json +0 -1
  660. package/widgets/package.json +0 -11
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","../../../projects/mis-components/dropdown/dropdown.component.ts","../../../projects/mis-components/dropdown/dropdown.module.ts"],"names":["Object","create","__read","o","n","m","Symbol","iterator","r","e","i","call","ar","next","done","push","value","error","DropdownComponent","eRef","overlay","viewContainerRef","this","isOpen","isSearchInputFocused","searchInput","searchData","data","height","width","label","dropdownListHeight","dropdownListWidth","dropdownListPosition","searchEnabled","selectedItem","noDataMessage","multiLine","onChange","EventEmitter","prototype","ngOnInit","filterByValue","array","string","filter","toLowerCase","includes","filterByPrimaryText","primaryText","searchInputOnChange","newValue","searchInputFocused","isFocused","searchInputCanceled","event","stopPropagation","toggleDropdown","openDropdown","popupContainer","selectElement","nativeElement","onCancel","template","origin","_this","positionsBottom","ConnectionPositionPair","originX","originY","overlayX","overlayY","positionsTop","positionStrategy","position","flexibleConnectedTo","withPositions","arguments","length","concat","__spread","reverse","withPush","configs","OverlayConfig","hasBackdrop","backdropClass","scrollStrategy","scrollStrategies","reposition","clientWidth","overlayRef","updateSize","attach","TemplatePortal","backdropClick","subscribe","res","selectItem","item","emit","_a","detach","Component","args","selector","ElementRef","Overlay","ViewContainerRef","Input","Output","ViewChild","static","DropdownModule","forRoot","ngModule","providers","NgModule","declarations","imports","CommonModule","FormsModule","OverlayModule","ScrollingModule","exports"],"mappings":";;;;;;;;;;;;;;oFA2G6BA,OAAOC,gBAwBpBC,EAAOC,EAAGC,GACtB,IAAIC,EAAsB,mBAAXC,QAAyBH,EAAEG,OAAOC,UACjD,IAAKF,EAAG,OAAOF,EACf,IAAmBK,EAAYC,EAA3BC,EAAIL,EAAEM,KAAKR,GAAOS,EAAK,GAC3B,IACI,WAAc,IAANR,GAAgBA,KAAM,MAAQI,EAAIE,EAAEG,QAAQC,MAAMF,EAAGG,KAAKP,EAAEQ,OAExE,MAAOC,GAASR,EAAI,CAAEQ,MAAOA,WAEzB,IACQT,IAAMA,EAAEM,OAAST,EAAIK,EAAU,SAAIL,EAAEM,KAAKD,WAExC,GAAID,EAAG,MAAMA,EAAEQ,OAE7B,OAAOL,EAgEcZ,OAAOC,wBC7K9B,SAAAiB,EAAoBC,EAA0BC,EAA0BC,GAApDC,KAAAH,KAAAA,EAA0BG,KAAAF,QAAAA,EAA0BE,KAAAD,iBAAAA,EA1BxEC,KAAAC,QAAS,EACTD,KAAAE,sBAAgC,EAChCF,KAAAG,YAAsB,GACtBH,KAAAI,WAA6B,GAEpBJ,KAAAK,KAAuB,GACvBL,KAAAM,OAAiB,GACjBN,KAAAO,MAAgB,GAChBP,KAAAQ,MAAgB,SAEhBR,KAAAS,mBAA6B,GAC7BT,KAAAU,kBAA4B,GAC5BV,KAAAW,qBAAyC,OAEzCX,KAAAY,eAAyB,EACzBZ,KAAAa,aAA6B,CAAEnB,MAAO,GAAIc,MAAO,IACjDR,KAAAc,cAAwB,UACxBd,KAAAe,WAAqB,EAGpBf,KAAAgB,SAA8B,IAAIC,EAAAA,oBAO5CrB,EAAAsB,UAAAC,SAAA,aAGAvB,EAAAsB,UAAAE,cAAA,SAAcC,EAAOC,GACnB,OAAOD,EAAME,QAAO,SAAA1C,GAAK,OAAAA,EAAE2B,MAAMgB,cAAcC,SAASH,EAAOE,mBAGjE5B,EAAAsB,UAAAQ,oBAAA,SAAoBL,EAAOC,GACzB,OAAOD,EAAME,QAAO,SAAA1C,GAAK,OAAAA,EAAE2B,MAAMmB,YAAYH,cAAcC,SAASH,EAAOE,mBAE7E5B,EAAAsB,UAAAU,oBAAA,SAAoBC,GAClB7B,KAAKG,YAAc0B,EACfA,EACF7B,KAAKI,WAAaJ,KAAKe,UAAYf,KAAK0B,oBAAoB1B,KAAKK,KAAMwB,GAAY7B,KAAKoB,cAAcpB,KAAKK,KAAMwB,IAEjH7B,KAAKI,WAAa,GAClBJ,KAAKG,YAAc,KAGvBP,EAAAsB,UAAAY,mBAAA,SAAmBC,GACjB/B,KAAKE,qBAAuB6B,GAE9BnC,EAAAsB,UAAAc,oBAAA,SAAoBC,GAClBA,EAAMC,kBACNlC,KAAKG,YAAc,GACnBH,KAAKE,sBAAuB,GAE9BN,EAAAsB,UAAAiB,eAAA,WACEnC,KAAKC,QAAUD,KAAKC,OAChBD,KAAKC,OAAQD,KAAKoC,aAAapC,KAAKqC,eAAgBrC,KAAKsC,cAAcC,eACtEvC,KAAKwC,YAEJ5C,EAAAsB,UAAAkB,aAAA,SAAaK,EAAgCC,GAA7C,IAAAC,EAAA3C,KACA4C,EAAkB,CACtB,IAAIC,EAAAA,uBAAuB,CAAEC,QAAS,QAASC,QAAS,UAAY,CAAEC,SAAU,QAASC,SAAU,OAAS,EAAG,GAC/G,IAAIJ,EAAAA,uBAAuB,CAAEC,QAAS,MAAOC,QAAS,UAAY,CAAEC,SAAU,MAAOC,SAAU,OAAS,EAAG,IAEvGC,EAAe,CACnB,IAAIL,EAAAA,uBAAuB,CAAEC,QAAS,QAASC,QAAS,OAAS,CAAEC,SAAU,QAASC,SAAU,UAAY,GAAI,GAChH,IAAIJ,EAAAA,uBAAuB,CAAEC,QAAS,MAAOC,QAAS,OAAS,CAAEC,SAAU,MAAOC,SAAU,UAAY,GAAI,IAExGE,EAAmBnD,KAAKF,QAC3BsD,WACAC,oBAAoBX,GACpBY,yBDqEH,IAAK,IAAIhE,EAAK,GAAIF,EAAI,EAAGA,EAAImE,UAAUC,OAAQpE,IAC3CE,EAAKA,EAAGmE,OAAO7E,EAAO2E,UAAUnE,KACpC,OAAOE,ECvESoE,CACsB,UAA9B1D,KAAKW,qBAAmCiC,EAAgBe,UAAYf,EACtC,UAA9B5C,KAAKW,qBAAmCuC,EAAaS,UAAYT,IAEtEU,UAAS,GACNC,EAAU,IAAIC,EAAAA,cAAc,CAChCC,aAAa,EACbC,cAAe,mCACfC,eAAgBjE,KAAKF,QAAQoE,iBAAiBC,aAC9ChB,iBAAgBA,EAChB5C,MAAOmC,EAAO0B,cAEhBpE,KAAKqE,WAAarE,KAAKF,QAAQnB,OAAOkF,GAClC7D,KAAKU,mBAAmBV,KAAKqE,WAAWC,WAAW,CAAE/D,MAAOP,KAAKU,oBACjEV,KAAKS,oBAAoBT,KAAKqE,WAAWC,WAAW,CAAEhE,OAAQN,KAAKS,qBACvET,KAAKqE,WAAWE,OAAO,IAAIC,EAAAA,eAAe/B,EAAUzC,KAAKD,mBACzDC,KAAKqE,WAAWI,gBAAgBC,WAAU,SAAAC,GACxChC,EAAKH,eAGT5C,EAAAsB,UAAA0D,WAAA,SAAWC,GACT7E,KAAKgB,SAAS8D,KAAKD,GACnB7E,KAAKmC,kBAEPvC,EAAAsB,UAAAsB,SAAA,iBACExC,KAAKE,sBAAuB,EAC5BF,KAAKC,QAAS,EACC,QAAf8E,EAAA/E,KAAKqE,kBAAU,IAAAU,GAAAA,EAAEC,SACjBhF,KAAKG,YAAc,6BAzGtB8E,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,eACV1C,SAAA,o3RAJkB2C,EAAAA,kBAFaC,EAAAA,eAE4DC,EAAAA,kDAa1FC,EAAAA,sBACAA,EAAAA,qBACAA,EAAAA,qBACAA,EAAAA,kCAEAA,EAAAA,iCACAA,EAAAA,oCACAA,EAAAA,6BAEAA,EAAAA,4BACAA,EAAAA,6BACAA,EAAAA,yBACAA,EAAAA,qCACAA,EAAAA,wBAEAC,EAAAA,8BAEAC,EAAAA,UAASP,KAAA,CAAC,SAAU,CAAEQ,QAAQ,4BAC9BD,EAAAA,UAASP,KAAA,CAAC,iBAAkB,CAAEQ,QAAQ,wBCrBzC,SAAAC,YACSA,EAAAC,QAAP,WACE,MAAO,CAAEC,SAAUF,EAAgBG,UAAW,8BAPjDC,EAAAA,SAAQb,KAAA,CAAC,CACRc,aAAc,CAACpG,GACfqG,QAAS,CAACC,EAAAA,aAAcC,EAAAA,YAAaC,EAAAA,cAAeC,EAAAA,iBACpDC,QAAS,CAAC1G","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","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","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"]}
@@ -1,95 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/animations'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('mis-crystal-design-system/fab', ['exports', '@angular/core', '@angular/animations', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['mis-crystal-design-system'] = global['mis-crystal-design-system'] || {}, global['mis-crystal-design-system'].fab = {}), global.ng.core, global.ng.animations, global.ng.common));
5
- }(this, (function (exports, core, animations, common) { 'use strict';
6
-
7
- /** @format */
8
- var FabComponent = /** @class */ (function () {
9
- function FabComponent(eRef) {
10
- this.eRef = eRef;
11
- this.show = false;
12
- this.options = {};
13
- this.items = [];
14
- this.isOpen = false;
15
- }
16
- FabComponent.prototype.clickout = function (event) {
17
- if (!this.eRef.nativeElement.contains(event.target)) {
18
- this.closeFab();
19
- }
20
- };
21
- FabComponent.prototype.ngOnInit = function () {
22
- this.options = Object.assign({ size: 56, backgroundColorClosed: "#0937B2", backgroundColorOpened: "#3a5fc1" }, this.options);
23
- };
24
- FabComponent.prototype.ngOnDestroy = function () { };
25
- FabComponent.prototype.clickItem = function (item) {
26
- this.closeFab();
27
- item.click();
28
- };
29
- FabComponent.prototype.closeFab = function () {
30
- this.isOpen = false;
31
- };
32
- FabComponent.prototype.toogleFab = function () {
33
- this.isOpen = !this.isOpen;
34
- };
35
- return FabComponent;
36
- }());
37
- FabComponent.decorators = [
38
- { type: core.Component, args: [{
39
- selector: "mis-fab",
40
- 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",
41
- animations: [
42
- animations.trigger("slideUpFab", [
43
- animations.transition(":enter", [
44
- animations.style({ transform: "translateY(50px)", opacity: 0 }),
45
- animations.animate("300ms ease-out", animations.style({ transform: "translateY(0px)", opacity: 1 }))
46
- ]),
47
- animations.transition(":leave", [animations.animate("200ms ease-out", animations.style({ transform: "translateY(70px)", opacity: 0 }))])
48
- ]),
49
- animations.trigger("rotateButton", [
50
- animations.state("default", animations.style({ transform: "rotate(0)" })),
51
- animations.state("rotated", animations.style({ transform: "rotate(45deg)" })),
52
- animations.transition("rotated => default", animations.animate("300ms ease-out")),
53
- animations.transition("default => rotated", animations.animate("200ms ease-in"))
54
- ])
55
- ],
56
- 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}.fab-wrapper .fab-container,.fab-wrapper .fab-item .fab-button{cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center}.fab-wrapper .fab-container{width:56px;height:56px}.add-img{height:24px;width:24px}"]
57
- },] }
58
- ];
59
- FabComponent.ctorParameters = function () { return [
60
- { type: core.ElementRef }
61
- ]; };
62
- FabComponent.propDecorators = {
63
- show: [{ type: core.Input }],
64
- options: [{ type: core.Input }],
65
- items: [{ type: core.Input }],
66
- clickout: [{ type: core.HostListener, args: ["document:click", ["$event"],] }]
67
- };
68
-
69
- var FabModule = /** @class */ (function () {
70
- function FabModule() {
71
- }
72
- FabModule.forRoot = function () {
73
- return { ngModule: FabModule, providers: [] };
74
- };
75
- return FabModule;
76
- }());
77
- FabModule.decorators = [
78
- { type: core.NgModule, args: [{
79
- declarations: [FabComponent],
80
- imports: [common.CommonModule],
81
- exports: [FabComponent]
82
- },] }
83
- ];
84
-
85
- /**
86
- * Generated bundle index. Do not edit.
87
- */
88
-
89
- exports.FabComponent = FabComponent;
90
- exports.FabModule = FabModule;
91
-
92
- Object.defineProperty(exports, '__esModule', { value: true });
93
-
94
- })));
95
- //# sourceMappingURL=mis-crystal-design-system-fab.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mis-crystal-design-system-fab.umd.js","sources":["../../../projects/mis-components/fab/fab.component.ts","../../../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","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":["Component","trigger","transition","style","animate","state","ElementRef","Input","HostListener","NgModule","CommonModule"],"mappings":";;;;;;IAAA;;QAgDE,sBAAoB,IAAgB;YAAhB,SAAI,GAAJ,IAAI,CAAY;YAN3B,SAAI,GAAY,KAAK,CAAC;YACtB,YAAO,GAAe,EAAE,CAAC;YACzB,UAAK,GAAa,EAAE,CAAC;YAE9B,WAAM,GAAY,KAAK,CAAC;SAEgB;QAGxC,+BAAQ,GAAR,UAAS,KAAK;YACZ,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;gBACnD,IAAI,CAAC,QAAQ,EAAE,CAAC;aACjB;SACF;QAED,+BAAQ,GAAR;YACE,IAAI,CAAC,OAAO,mBACV,IAAI,EAAE,EAAE,EACR,qBAAqB,EAAE,SAAS,EAChC,qBAAqB,EAAE,SAAS,IAC7B,IAAI,CAAC,OAAO,CAChB,CAAC;SACH;QAED,kCAAW,GAAX,eAAsB;QAEtB,gCAAS,GAAT,UAAU,IAAa;YACrB,IAAI,CAAC,QAAQ,EAAE,CAAC;YAChB,IAAI,CAAC,KAAK,EAAE,CAAC;SACd;QAED,+BAAQ,GAAR;YACE,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;SACrB;QAED,gCAAS,GAAT;YACE,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;SAC5B;;;;gBA1DFA,cAAS,SAAC;oBACT,QAAQ,EAAE,SAAS;oBACnB,ygDAAmC;oBAEnC,UAAU,EAAE;wBACVC,kBAAO,CAAC,YAAY,EAAE;4BACpBC,qBAAU,CAAC,QAAQ,EAAE;gCACnBC,gBAAK,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;gCACpDC,kBAAO,CAAC,gBAAgB,EAAED,gBAAK,CAAC,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;6BAC/E,CAAC;4BACFD,qBAAU,CAAC,QAAQ,EAAE,CAACE,kBAAO,CAAC,gBAAgB,EAAED,gBAAK,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;yBACxG,CAAC;wBACFF,kBAAO,CAAC,cAAc,EAAE;4BACtBI,gBAAK,CAAC,SAAS,EAAEF,gBAAK,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,CAAC;4BACnDE,gBAAK,CAAC,SAAS,EAAEF,gBAAK,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC,CAAC;4BACvDD,qBAAU,CAAC,oBAAoB,EAAEE,kBAAO,CAAC,gBAAgB,CAAC,CAAC;4BAC3DF,qBAAU,CAAC,oBAAoB,EAAEE,kBAAO,CAAC,eAAe,CAAC,CAAC;yBAC3D,CAAC;qBACH;;iBACF;;;gBAtCmBE,eAAU;;;uBAwC3BC,UAAK;0BACLA,UAAK;wBACLA,UAAK;2BAMLC,iBAAY,SAAC,gBAAgB,EAAE,CAAC,QAAQ,CAAC;;;;QCzC5C;;QACS,iBAAO,GAAd;YACE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;SAC/C;;;;gBARFC,aAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,YAAY,CAAC;oBAC5B,OAAO,EAAE,CAACC,mBAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,YAAY,CAAC;iBACxB;;;ICRD;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/animations"),require("@angular/common")):"function"==typeof define&&define.amd?define("mis-crystal-design-system/fab",["exports","@angular/core","@angular/animations","@angular/common"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self)["mis-crystal-design-system"]=t["mis-crystal-design-system"]||{},t["mis-crystal-design-system"].fab={}),t.ng.core,t.ng.animations,t.ng.common)}(this,(function(t,e,n,o){"use strict";var i=function(){function t(t){this.eRef=t,this.show=!1,this.options={},this.items=[],this.isOpen=!1}return t.prototype.clickout=function(t){this.eRef.nativeElement.contains(t.target)||this.closeFab()},t.prototype.ngOnInit=function(){this.options=Object.assign({size:56,backgroundColorClosed:"#0937B2",backgroundColorOpened:"#3a5fc1"},this.options)},t.prototype.ngOnDestroy=function(){},t.prototype.clickItem=function(t){this.closeFab(),t.click()},t.prototype.closeFab=function(){this.isOpen=!1},t.prototype.toogleFab=function(){this.isOpen=!this.isOpen},t}();i.decorators=[{type:e.Component,args:[{selector:"mis-fab",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',animations:[n.trigger("slideUpFab",[n.transition(":enter",[n.style({transform:"translateY(50px)",opacity:0}),n.animate("300ms ease-out",n.style({transform:"translateY(0px)",opacity:1}))]),n.transition(":leave",[n.animate("200ms ease-out",n.style({transform:"translateY(70px)",opacity:0}))])]),n.trigger("rotateButton",[n.state("default",n.style({transform:"rotate(0)"})),n.state("rotated",n.style({transform:"rotate(45deg)"})),n.transition("rotated => default",n.animate("300ms ease-out")),n.transition("default => rotated",n.animate("200ms ease-in"))])],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}.fab-wrapper .fab-container,.fab-wrapper .fab-item .fab-button{cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center}.fab-wrapper .fab-container{width:56px;height:56px}.add-img{height:24px;width:24px}"]}]}],i.ctorParameters=function(){return[{type:e.ElementRef}]},i.propDecorators={show:[{type:e.Input}],options:[{type:e.Input}],items:[{type:e.Input}],clickout:[{type:e.HostListener,args:["document:click",["$event"]]}]};var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();a.decorators=[{type:e.NgModule,args:[{declarations:[i],imports:[o.CommonModule],exports:[i]}]}],t.FabComponent=i,t.FabModule=a,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=mis-crystal-design-system-fab.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../projects/mis-components/fab/fab.component.ts","../../../projects/mis-components/fab/fab.module.ts"],"names":["FabComponent","eRef","this","show","options","items","isOpen","prototype","clickout","event","nativeElement","contains","target","closeFab","ngOnInit","Object","assign","size","backgroundColorClosed","backgroundColorOpened","ngOnDestroy","clickItem","item","click","toogleFab","Component","args","selector","template","animations","trigger","transition","style","transform","opacity","animate","state","ElementRef","Input","HostListener","FabModule","forRoot","ngModule","providers","NgModule","declarations","imports","CommonModule","exports"],"mappings":"ojBAgDE,SAAAA,EAAoBC,GAAAC,KAAAD,KAAAA,EANXC,KAAAC,MAAgB,EAChBD,KAAAE,QAAsB,GACtBF,KAAAG,MAAkB,GAE3BH,KAAAI,QAAkB,SAKlBN,EAAAO,UAAAC,SAAA,SAASC,GACFP,KAAKD,KAAKS,cAAcC,SAASF,EAAMG,SAC1CV,KAAKW,YAITb,EAAAO,UAAAO,SAAA,WACEZ,KAAKE,QAAOW,OAAAC,OAAA,CACVC,KAAM,GACNC,sBAAuB,UACvBC,sBAAuB,WACpBjB,KAAKE,UAIZJ,EAAAO,UAAAa,YAAA,aAEApB,EAAAO,UAAAc,UAAA,SAAUC,GACRpB,KAAKW,WACLS,EAAKC,SAGPvB,EAAAO,UAAAM,SAAA,WACEX,KAAKI,QAAS,GAGhBN,EAAAO,UAAAiB,UAAA,WACEtB,KAAKI,QAAUJ,KAAKI,iCAzDvBmB,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,UACVC,SAAA,g9CAEAC,WAAY,CACVC,EAAAA,QAAQ,aAAc,CACpBC,EAAAA,WAAW,SAAU,CACnBC,EAAAA,MAAM,CAAEC,UAAW,mBAAoBC,QAAS,IAChDC,EAAAA,QAAQ,iBAAkBH,EAAAA,MAAM,CAAEC,UAAW,kBAAmBC,QAAS,OAE3EH,EAAAA,WAAW,SAAU,CAACI,EAAAA,QAAQ,iBAAkBH,EAAAA,MAAM,CAAEC,UAAW,mBAAoBC,QAAS,SAElGJ,EAAAA,QAAQ,eAAgB,CACtBM,EAAAA,MAAM,UAAWJ,EAAAA,MAAM,CAAEC,UAAW,eACpCG,EAAAA,MAAM,UAAWJ,EAAAA,MAAM,CAAEC,UAAW,mBACpCF,EAAAA,WAAW,qBAAsBI,EAAAA,QAAQ,mBACzCJ,EAAAA,WAAW,qBAAsBI,EAAAA,QAAQ,4uBAnC3BE,EAAAA,4CAwCjBC,EAAAA,uBACAA,EAAAA,qBACAA,EAAAA,wBAMAC,EAAAA,aAAYb,KAAA,CAAC,iBAAkB,CAAC,+BCzCnC,SAAAc,YACSA,EAAAC,QAAP,WACE,MAAO,CAAEC,SAAUF,EAAWG,UAAW,8BAP5CC,EAAAA,SAAQlB,KAAA,CAAC,CACRmB,aAAc,CAAC7C,GACf8C,QAAS,CAACC,EAAAA,cACVC,QAAS,CAAChD","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","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"]}
@@ -1,114 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('rxjs'), require('rxjs/operators'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('mis-crystal-design-system/input', ['exports', '@angular/core', '@angular/forms', 'rxjs', 'rxjs/operators', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['mis-crystal-design-system'] = global['mis-crystal-design-system'] || {}, global['mis-crystal-design-system'].input = {}), global.ng.core, global.ng.forms, global.rxjs, global.rxjs.operators, global.ng.common));
5
- }(this, (function (exports, core, forms, rxjs, operators, common) { 'use strict';
6
-
7
- var MisInputDirective = /** @class */ (function () {
8
- function MisInputDirective(el, control) {
9
- this.el = el;
10
- this.control = control;
11
- this.validityChange = new rxjs.ReplaySubject(1);
12
- this.validity = this.validityChange.asObservable();
13
- this.endObs = new rxjs.Subject();
14
- this.focus = false;
15
- this.hasValue = false;
16
- }
17
- MisInputDirective.prototype.ngOnInit = function () {
18
- var _this = this;
19
- var _a, _b;
20
- (_b = (_a = this.control) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.valueChanges.pipe(operators.takeUntil(this.endObs)).subscribe(function () {
21
- var _a;
22
- _this.validityChange.next(!((_a = _this.control.control) === null || _a === void 0 ? void 0 : _a.invalid));
23
- });
24
- this.el.nativeElement.placeholder += " ";
25
- };
26
- MisInputDirective.prototype.ngOnDestroy = function () {
27
- this.endObs.next();
28
- this.endObs.complete();
29
- };
30
- return MisInputDirective;
31
- }());
32
- MisInputDirective.decorators = [
33
- { type: core.Directive, args: [{
34
- // tslint:disable-next-line
35
- selector: "input[misInput]"
36
- },] }
37
- ];
38
- MisInputDirective.ctorParameters = function () { return [
39
- { type: core.ElementRef },
40
- { type: forms.NgControl, decorators: [{ type: core.Self }, { type: core.Optional }] }
41
- ]; };
42
-
43
- var MisInputComponent = /** @class */ (function () {
44
- function MisInputComponent() {
45
- this.type = "floating";
46
- this.size = "sm";
47
- this.noHints = false;
48
- this.hasError = false; // show input in error state
49
- this.inputValidity = true;
50
- }
51
- Object.defineProperty(MisInputComponent.prototype, "formInput", {
52
- set: function (input) {
53
- var _this = this;
54
- var _a, _b;
55
- if (!this.placeholder) {
56
- this.placeholder = (input === null || input === void 0 ? void 0 : input.el.nativeElement.placeholder) || "";
57
- }
58
- this.inputCtrl = (_a = input.control) === null || _a === void 0 ? void 0 : _a.control;
59
- (_b = this.inputSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
60
- this.inputSubscription = input === null || input === void 0 ? void 0 : input.validity.subscribe(function (res) { return (_this.inputValidity = res); });
61
- this.placeholder += " ";
62
- },
63
- enumerable: false,
64
- configurable: true
65
- });
66
- MisInputComponent.prototype.ngOnInit = function () { };
67
- MisInputComponent.prototype.ngOnDestroy = function () {
68
- var _a;
69
- (_a = this.inputSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
70
- };
71
- return MisInputComponent;
72
- }());
73
- MisInputComponent.decorators = [
74
- { type: core.Component, args: [{
75
- selector: "mis-input",
76
- template: "<div\n [class]=\"'input-container ' + size\"\n [ngClass]=\"{\n rounded: type === 'rounded',\n floating: type === 'floating',\n 'has-error': !inputValidity || hasError,\n 'no-hint': noHints,\n 'mis-disabled': inputCtrl?.disabled\n }\"\n>\n <div class=\"input-wrapper\">\n <ng-content select=\"[mis-input-icon]\"></ng-content>\n <div class=\"mis-input\">\n <ng-content select=\"input\"></ng-content>\n <span class=\"mis-placeholder\">{{ placeholder }}</span>\n </div>\n <ng-content select=\"[mis-input-act]\"></ng-content>\n </div>\n <ng-content select=\"[mis-input-hint]\"></ng-content>\n <ng-content select=\"[mis-input-error]\"></ng-content>\n</div>\n",
77
- styles: [":root{--pmry-200:#99baf7;--pmry-100:#cbddfb;--pmry-500:#0937b2;--pmry-400:#3c68d0;--pmry-600:#062a99;--pmry-700:#041f80;--pmry-300:#638fe7;--pmry-800:#021567;--pmry-900:#010f55;--sec-d-purple:#40447f;--sec-maroon:#6b034e;--sec-mud-red:#b23600;--sec-orange:#ed711c;--sec-purple:#815fd5;--sec-teal:#10adae;--sec-yellow:#d4900c;--sec-green:#547f40;--sec-bright-green:#27d22e;--sec-dark-teal:#035f6b;--sec-chocolate:#7c2f33;--sec-rube-pink:#c13d6d;--sec-cerulean:#0087b2;--sem-error:#b00020;--sem-info:#0091ff;--sem-warning:#ff9d00;--sem-success:#38af49;--grey-bg-1:#fafafa;--grey-bg:#f5f5f5;--grey-seperators:#e0e0e0;--grey-disabled:#c8cdd3;--grey-hover:#f5f7fc;--grey-pressed:#e6ebf7;--grey-row:#f5f7fc;--dec-light-yellow:#f4e7c3;--dec-light-purple:#dacff9;--dec-light-green:#e4f5e9;--dec-light-green2:#f1fff3;--dec-light-pink:#fae1ea;--dec-:#f4cbc1;--dec-lt-orange:#faefed;--dec-light-blue:#cfecf9;--dec-row-selection:#f1fdf8;--dec-row-selection2:#f2fbff;--dec-row-lines:#d3e1e9;--text-white:#fff;--text-disabled:#929dab;--text-muted:#6a737d;--text-black:#181f33;--MR-solid-blue2:#c8d5f6;--MR-solid-purple:#c9c3fb;--MR-solid-orange:#eeac9f;--MR-solid-green:#acdada;--MR-solid-brown:#e8c8af;--MR-solid-yellow:#ffefc7;--MR-solid-blue:#bbe6ff;--MR-solid-pink:#ffc6f2;--tr-hover:#f0f3fa;--tr-pressed:#dae1f3}.input-container{position:relative;padding-bottom:24px}.input-container.mis-disabled .input-wrapper{pointer-events:none!important}.input-container .input-wrapper{box-sizing:border-box;display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;transition:all 60ms ease-in;background-color:#fff;padding:3px 16px;gap:16px}.input-container .input-wrapper .mis-input{flex:1 1 auto;z-index:0;position:relative;display:flex;align-items:center}.input-container .input-wrapper input{flex:1 1 auto;border:none;outline:none;height:100%;padding:0;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;height:24px;color:#181f33;background-color:transparent;width:100%;vertical-align:middle}.input-container .input-wrapper input::-moz-placeholder{-moz-transition:all .1s ease-in;transition:all .1s ease-in;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper input:-ms-input-placeholder{-ms-transition:all .1s ease-in;transition:all .1s ease-in;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper input::placeholder{transition:all .1s ease-in;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper .mis-placeholder{position:absolute;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#6a737d;z-index:-1;transition:all .15s ease-in}.input-container .input-wrapper:focus-within{background-color:#f5f5f5}.input-container .input-wrapper:focus-within{border:1px solid #0937b2}.input-container .input-wrapper [mis-input-act],.input-container .input-wrapper [mis-input-icon]{width:18px;height:18px;color:#6a737d;font-size:24px;line-height:18px}.input-container .input-wrapper [mis-input-act]{cursor:pointer}.input-container.no-hint{padding-bottom:0}.input-container.rounded input{box-sizing:initial}.input-container.rounded.sm input{padding:3px 16px}.input-container.rounded.md input{padding:9px 16px}.input-container.rounded.lg input{padding:15px 16px}.input-container.rounded .input-wrapper{border-radius:4px;border:1px solid #e0e0e0;padding:0}.input-container.rounded .input-wrapper:hover{background-color:#f5f5f5}.input-container.rounded .input-wrapper:focus-within{border:1px solid #0937b2}.input-container.rounded .input-wrapper input:not(:-moz-placeholder-shown)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper input:not(:-ms-input-placeholder)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper input:not(:placeholder-shown)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper .mis-placeholder{margin-left:16px;transition-duration:50ms}.input-container.rounded.has-error .input-wrapper{border:1px solid #b00020!important}.input-container.floating .input-wrapper{padding-top:24px;padding-bottom:7px;border-bottom:1px solid #e0e0e0}.input-container.floating .input-wrapper input:focus+.mis-placeholder{color:#0937b2!important}.input-container.floating .input-wrapper input:not(:-moz-placeholder-shown)+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper input:not(:-ms-input-placeholder)+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper input:focus+.mis-placeholder,.input-container.floating .input-wrapper input:not(:placeholder-shown)+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper:focus-within{border:none;border-bottom:1px solid #0937b2}.input-container.floating .input-wrapper:focus-within input::-moz-placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating .input-wrapper:focus-within input:-ms-input-placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating .input-wrapper:focus-within input::placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating.has-error .input-wrapper{border-bottom:1px solid #b00020!important}.input-container.floating.has-error .input-wrapper .mis-placeholder{color:#b00020!important}.input-container [mis-input-error],.input-container [mis-input-hint]{position:absolute;left:0;right:0;bottom:0;line-height:24px;height:24px;font-size:12px;color:#6a737d;letter-spacing:.2px}.input-container [mis-input-error]{color:#b00020}"]
78
- },] }
79
- ];
80
- MisInputComponent.ctorParameters = function () { return []; };
81
- MisInputComponent.propDecorators = {
82
- type: [{ type: core.Input }],
83
- size: [{ type: core.Input }],
84
- placeholder: [{ type: core.Input }],
85
- noHints: [{ type: core.Input }],
86
- hasError: [{ type: core.Input }],
87
- formInput: [{ type: core.ContentChild, args: [MisInputDirective,] }]
88
- };
89
-
90
- var MisInputModule = /** @class */ (function () {
91
- function MisInputModule() {
92
- }
93
- return MisInputModule;
94
- }());
95
- MisInputModule.decorators = [
96
- { type: core.NgModule, args: [{
97
- declarations: [MisInputComponent, MisInputDirective],
98
- imports: [common.CommonModule, forms.FormsModule],
99
- exports: [MisInputComponent, MisInputDirective]
100
- },] }
101
- ];
102
-
103
- /**
104
- * Generated bundle index. Do not edit.
105
- */
106
-
107
- exports.MisInputComponent = MisInputComponent;
108
- exports.MisInputDirective = MisInputDirective;
109
- exports.MisInputModule = MisInputModule;
110
-
111
- Object.defineProperty(exports, '__esModule', { value: true });
112
-
113
- })));
114
- //# sourceMappingURL=mis-crystal-design-system-input.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mis-crystal-design-system-input.umd.js","sources":["../../../projects/mis-components/input/directives/input/input.directive.ts","../../../projects/mis-components/input/mis-input.component.ts","../../../projects/mis-components/input/mis-input.module.ts","../../../projects/mis-components/input/mis-crystal-design-system-input.ts"],"sourcesContent":["import { Directive, ElementRef, OnDestroy, OnInit, Optional, Self } from \"@angular/core\";\nimport { NgControl } from \"@angular/forms\";\nimport { ReplaySubject, Subject, Subscription } from \"rxjs\";\nimport { takeUntil } from \"rxjs/operators\";\n\n@Directive({\n // tslint:disable-next-line\n selector: \"input[misInput]\"\n})\nexport class MisInputDirective implements OnInit, OnDestroy {\n constructor(public el: ElementRef, @Self() @Optional() public control: NgControl) {}\n private validityChange: ReplaySubject<boolean> = new ReplaySubject(1);\n validity = this.validityChange.asObservable();\n endObs: Subject<void> = new Subject();\n focus = false;\n hasValue = false;\n\n ngOnInit(): void {\n this.control?.control?.valueChanges.pipe(takeUntil(this.endObs)).subscribe(() => {\n this.validityChange.next(!this.control.control?.invalid);\n });\n this.el.nativeElement.placeholder += \" \";\n }\n ngOnDestroy(): void {\n this.endObs.next();\n this.endObs.complete();\n }\n}\n","import { Component, ContentChild, Input, OnDestroy, OnInit, ViewEncapsulation } from \"@angular/core\";\nimport { AbstractControl } from \"@angular/forms\";\nimport { Subscription } from \"rxjs\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\n\n@Component({\n selector: \"mis-input\",\n templateUrl: \"./mis-input.component.html\",\n styleUrls: [\"./mis-input.component.scss\"]\n})\nexport class MisInputComponent implements OnInit, OnDestroy {\n @Input() type: \"rounded\" | \"floating\" = \"floating\";\n @Input() size: \"sm\" | \"md\" | \"lg\" = \"sm\";\n @Input() placeholder: string; // floating placeholder text\n @Input() noHints = false;\n @Input() hasError = false; // show input in error state\n @ContentChild(MisInputDirective) set formInput(input: MisInputDirective) {\n if (!this.placeholder) {\n this.placeholder = input?.el.nativeElement.placeholder || \"\";\n }\n this.inputCtrl = input.control?.control;\n this.inputSubscription?.unsubscribe();\n this.inputSubscription = input?.validity.subscribe(res => (this.inputValidity = res));\n this.placeholder += \" \";\n }\n inputCtrl: AbstractControl;\n inputSubscription: Subscription | undefined;\n inputValidity: boolean = true;\n constructor() {}\n\n ngOnInit(): void {}\n ngOnDestroy(): void {\n this.inputSubscription?.unsubscribe();\n }\n}\n","import { CommonModule } from \"@angular/common\";\nimport { NgModule } from \"@angular/core\";\nimport { FormsModule } from \"@angular/forms\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\nimport { MisInputComponent } from \"./mis-input.component\";\n\n@NgModule({\n declarations: [MisInputComponent, MisInputDirective],\n imports: [CommonModule, FormsModule],\n exports: [MisInputComponent, MisInputDirective]\n})\nexport class MisInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ReplaySubject","Subject","takeUntil","Directive","ElementRef","NgControl","Self","Optional","Component","Input","ContentChild","NgModule","CommonModule","FormsModule"],"mappings":";;;;;;;QAUE,2BAAmB,EAAc,EAA6B,OAAkB;YAA7D,OAAE,GAAF,EAAE,CAAY;YAA6B,YAAO,GAAP,OAAO,CAAW;YACxE,mBAAc,GAA2B,IAAIA,kBAAa,CAAC,CAAC,CAAC,CAAC;YACtE,aAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC;YAC9C,WAAM,GAAkB,IAAIC,YAAO,EAAE,CAAC;YACtC,UAAK,GAAG,KAAK,CAAC;YACd,aAAQ,GAAG,KAAK,CAAC;SALmE;QAOpF,oCAAQ,GAAR;YAAA,iBAKC;;YAJC,YAAA,IAAI,CAAC,OAAO,0CAAE,OAAO,0CAAE,YAAY,CAAC,IAAI,CAACC,mBAAS,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,SAAS,CAAC;;gBACzE,KAAI,CAAC,cAAc,CAAC,IAAI,CAAC,QAAC,KAAI,CAAC,OAAO,CAAC,OAAO,0CAAE,OAAO,CAAA,CAAC,CAAC;aAC1D,EAAE;YACH,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,WAAW,IAAI,GAAG,CAAC;SAC1C;QACD,uCAAW,GAAX;YACE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YACnB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;SACxB;;;;gBArBFC,cAAS,SAAC;;oBAET,QAAQ,EAAE,iBAAiB;iBAC5B;;;gBARmBC,eAAU;gBACrBC,eAAS,uBASoBC,SAAI,YAAIC,aAAQ;;;;QCkBpD;YAjBS,SAAI,GAA2B,UAAU,CAAC;YAC1C,SAAI,GAAuB,IAAI,CAAC;YAEhC,YAAO,GAAG,KAAK,CAAC;YAChB,aAAQ,GAAG,KAAK,CAAC;YAY1B,kBAAa,GAAY,IAAI,CAAC;SACd;QAZhB,sBAAqC,wCAAS;iBAA9C,UAA+C,KAAwB;gBAAvE,iBAQC;;gBAPC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;oBACrB,IAAI,CAAC,WAAW,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,EAAE,CAAC,aAAa,CAAC,WAAW,KAAI,EAAE,CAAC;iBAC9D;gBACD,IAAI,CAAC,SAAS,SAAG,KAAK,CAAC,OAAO,0CAAE,OAAO,CAAC;gBACxC,MAAA,IAAI,CAAC,iBAAiB,0CAAE,WAAW,GAAG;gBACtC,IAAI,CAAC,iBAAiB,GAAG,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,QAAQ,CAAC,SAAS,CAAC,UAAA,GAAG,IAAI,QAAC,KAAI,CAAC,aAAa,GAAG,GAAG,IAAC,CAAC,CAAC;gBACtF,IAAI,CAAC,WAAW,IAAI,GAAG,CAAC;aACzB;;;WAAA;QAMD,oCAAQ,GAAR,eAAmB;QACnB,uCAAW,GAAX;;YACE,MAAA,IAAI,CAAC,iBAAiB,0CAAE,WAAW,GAAG;SACvC;;;;gBA5BFC,cAAS,SAAC;oBACT,QAAQ,EAAE,WAAW;oBACrB,osBAAyC;;iBAE1C;;;;uBAEEC,UAAK;uBACLA,UAAK;8BACLA,UAAK;0BACLA,UAAK;2BACLA,UAAK;4BACLC,iBAAY,SAAC,iBAAiB;;;;QCLjC;;;;;gBALCC,aAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;oBACpD,OAAO,EAAE,CAACC,mBAAY,EAAEC,iBAAW,CAAC;oBACpC,OAAO,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;iBAChD;;;ICVD;;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- !function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("rxjs"),require("rxjs/operators"),require("@angular/common")):"function"==typeof define&&define.amd?define("mis-crystal-design-system/input",["exports","@angular/core","@angular/forms","rxjs","rxjs/operators","@angular/common"],t):t(((n="undefined"!=typeof globalThis?globalThis:n||self)["mis-crystal-design-system"]=n["mis-crystal-design-system"]||{},n["mis-crystal-design-system"].input={}),n.ng.core,n.ng.forms,n.rxjs,n.rxjs.operators,n.ng.common)}(this,(function(n,t,e,i,r,o){"use strict";var p=function(){function n(n,t){this.el=n,this.control=t,this.validityChange=new i.ReplaySubject(1),this.validity=this.validityChange.asObservable(),this.endObs=new i.Subject,this.focus=!1,this.hasValue=!1}return n.prototype.ngOnInit=function(){var n,t,e=this;null===(t=null===(n=this.control)||void 0===n?void 0:n.control)||void 0===t||t.valueChanges.pipe(r.takeUntil(this.endObs)).subscribe((function(){var n;e.validityChange.next(!(null===(n=e.control.control)||void 0===n?void 0:n.invalid))})),this.el.nativeElement.placeholder+=" "},n.prototype.ngOnDestroy=function(){this.endObs.next(),this.endObs.complete()},n}();p.decorators=[{type:t.Directive,args:[{selector:"input[misInput]"}]}],p.ctorParameters=function(){return[{type:t.ElementRef},{type:e.NgControl,decorators:[{type:t.Self},{type:t.Optional}]}]};var a=function(){function n(){this.type="floating",this.size="sm",this.noHints=!1,this.hasError=!1,this.inputValidity=!0}return Object.defineProperty(n.prototype,"formInput",{set:function(n){var t,e,i=this;this.placeholder||(this.placeholder=(null==n?void 0:n.el.nativeElement.placeholder)||""),this.inputCtrl=null===(t=n.control)||void 0===t?void 0:t.control,null===(e=this.inputSubscription)||void 0===e||e.unsubscribe(),this.inputSubscription=null==n?void 0:n.validity.subscribe((function(n){return i.inputValidity=n})),this.placeholder+=" "},enumerable:!1,configurable:!0}),n.prototype.ngOnInit=function(){},n.prototype.ngOnDestroy=function(){var n;null===(n=this.inputSubscription)||void 0===n||n.unsubscribe()},n}();a.decorators=[{type:t.Component,args:[{selector:"mis-input",template:'<div\n [class]="\'input-container \' + size"\n [ngClass]="{\n rounded: type === \'rounded\',\n floating: type === \'floating\',\n \'has-error\': !inputValidity || hasError,\n \'no-hint\': noHints,\n \'mis-disabled\': inputCtrl?.disabled\n }"\n>\n <div class="input-wrapper">\n <ng-content select="[mis-input-icon]"></ng-content>\n <div class="mis-input">\n <ng-content select="input"></ng-content>\n <span class="mis-placeholder">{{ placeholder }}</span>\n </div>\n <ng-content select="[mis-input-act]"></ng-content>\n </div>\n <ng-content select="[mis-input-hint]"></ng-content>\n <ng-content select="[mis-input-error]"></ng-content>\n</div>\n',styles:[":root{--pmry-200:#99baf7;--pmry-100:#cbddfb;--pmry-500:#0937b2;--pmry-400:#3c68d0;--pmry-600:#062a99;--pmry-700:#041f80;--pmry-300:#638fe7;--pmry-800:#021567;--pmry-900:#010f55;--sec-d-purple:#40447f;--sec-maroon:#6b034e;--sec-mud-red:#b23600;--sec-orange:#ed711c;--sec-purple:#815fd5;--sec-teal:#10adae;--sec-yellow:#d4900c;--sec-green:#547f40;--sec-bright-green:#27d22e;--sec-dark-teal:#035f6b;--sec-chocolate:#7c2f33;--sec-rube-pink:#c13d6d;--sec-cerulean:#0087b2;--sem-error:#b00020;--sem-info:#0091ff;--sem-warning:#ff9d00;--sem-success:#38af49;--grey-bg-1:#fafafa;--grey-bg:#f5f5f5;--grey-seperators:#e0e0e0;--grey-disabled:#c8cdd3;--grey-hover:#f5f7fc;--grey-pressed:#e6ebf7;--grey-row:#f5f7fc;--dec-light-yellow:#f4e7c3;--dec-light-purple:#dacff9;--dec-light-green:#e4f5e9;--dec-light-green2:#f1fff3;--dec-light-pink:#fae1ea;--dec-:#f4cbc1;--dec-lt-orange:#faefed;--dec-light-blue:#cfecf9;--dec-row-selection:#f1fdf8;--dec-row-selection2:#f2fbff;--dec-row-lines:#d3e1e9;--text-white:#fff;--text-disabled:#929dab;--text-muted:#6a737d;--text-black:#181f33;--MR-solid-blue2:#c8d5f6;--MR-solid-purple:#c9c3fb;--MR-solid-orange:#eeac9f;--MR-solid-green:#acdada;--MR-solid-brown:#e8c8af;--MR-solid-yellow:#ffefc7;--MR-solid-blue:#bbe6ff;--MR-solid-pink:#ffc6f2;--tr-hover:#f0f3fa;--tr-pressed:#dae1f3}.input-container{position:relative;padding-bottom:24px}.input-container.mis-disabled .input-wrapper{pointer-events:none!important}.input-container .input-wrapper{box-sizing:border-box;display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;transition:all 60ms ease-in;background-color:#fff;padding:3px 16px;gap:16px}.input-container .input-wrapper .mis-input{flex:1 1 auto;z-index:0;position:relative;display:flex;align-items:center}.input-container .input-wrapper input{flex:1 1 auto;border:none;outline:none;height:100%;padding:0;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;height:24px;color:#181f33;background-color:transparent;width:100%;vertical-align:middle}.input-container .input-wrapper input::-moz-placeholder{-moz-transition:all .1s ease-in;transition:all .1s ease-in;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper input:-ms-input-placeholder{-ms-transition:all .1s ease-in;transition:all .1s ease-in;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper input::placeholder{transition:all .1s ease-in;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper .mis-placeholder{position:absolute;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#6a737d;z-index:-1;transition:all .15s ease-in}.input-container .input-wrapper:focus-within{background-color:#f5f5f5}.input-container .input-wrapper:focus-within{border:1px solid #0937b2}.input-container .input-wrapper [mis-input-act],.input-container .input-wrapper [mis-input-icon]{width:18px;height:18px;color:#6a737d;font-size:24px;line-height:18px}.input-container .input-wrapper [mis-input-act]{cursor:pointer}.input-container.no-hint{padding-bottom:0}.input-container.rounded input{box-sizing:initial}.input-container.rounded.sm input{padding:3px 16px}.input-container.rounded.md input{padding:9px 16px}.input-container.rounded.lg input{padding:15px 16px}.input-container.rounded .input-wrapper{border-radius:4px;border:1px solid #e0e0e0;padding:0}.input-container.rounded .input-wrapper:hover{background-color:#f5f5f5}.input-container.rounded .input-wrapper:focus-within{border:1px solid #0937b2}.input-container.rounded .input-wrapper input:not(:-moz-placeholder-shown)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper input:not(:-ms-input-placeholder)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper input:not(:placeholder-shown)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper .mis-placeholder{margin-left:16px;transition-duration:50ms}.input-container.rounded.has-error .input-wrapper{border:1px solid #b00020!important}.input-container.floating .input-wrapper{padding-top:24px;padding-bottom:7px;border-bottom:1px solid #e0e0e0}.input-container.floating .input-wrapper input:focus+.mis-placeholder{color:#0937b2!important}.input-container.floating .input-wrapper input:not(:-moz-placeholder-shown)+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper input:not(:-ms-input-placeholder)+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper input:focus+.mis-placeholder,.input-container.floating .input-wrapper input:not(:placeholder-shown)+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper:focus-within{border:none;border-bottom:1px solid #0937b2}.input-container.floating .input-wrapper:focus-within input::-moz-placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating .input-wrapper:focus-within input:-ms-input-placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating .input-wrapper:focus-within input::placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating.has-error .input-wrapper{border-bottom:1px solid #b00020!important}.input-container.floating.has-error .input-wrapper .mis-placeholder{color:#b00020!important}.input-container [mis-input-error],.input-container [mis-input-hint]{position:absolute;left:0;right:0;bottom:0;line-height:24px;height:24px;font-size:12px;color:#6a737d;letter-spacing:.2px}.input-container [mis-input-error]{color:#b00020}"]}]}],a.ctorParameters=function(){return[]},a.propDecorators={type:[{type:t.Input}],size:[{type:t.Input}],placeholder:[{type:t.Input}],noHints:[{type:t.Input}],hasError:[{type:t.Input}],formInput:[{type:t.ContentChild,args:[p]}]};var s=function(){};s.decorators=[{type:t.NgModule,args:[{declarations:[a,p],imports:[o.CommonModule,e.FormsModule],exports:[a,p]}]}],n.MisInputComponent=a,n.MisInputDirective=p,n.MisInputModule=s,Object.defineProperty(n,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=mis-crystal-design-system-input.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../projects/mis-components/input/directives/input/input.directive.ts","../../../projects/mis-components/input/mis-input.component.ts","../../../projects/mis-components/input/mis-input.module.ts"],"names":["MisInputDirective","el","control","this","validityChange","ReplaySubject","validity","asObservable","endObs","Subject","focus","hasValue","prototype","ngOnInit","_this","_b","_a","valueChanges","pipe","takeUntil","subscribe","next","invalid","nativeElement","placeholder","ngOnDestroy","complete","Directive","args","selector","ElementRef","NgControl","decorators","type","Self","Optional","MisInputComponent","size","noHints","hasError","inputValidity","Object","defineProperty","input","inputCtrl","inputSubscription","unsubscribe","res","Component","template","Input","ContentChild","NgModule","declarations","imports","CommonModule","FormsModule","exports"],"mappings":"uoBAUE,SAAAA,EAAmBC,EAA2CC,GAA3CC,KAAAF,GAAAA,EAA2CE,KAAAD,QAAAA,EACtDC,KAAAC,eAAyC,IAAIC,EAAAA,cAAc,GACnEF,KAAAG,SAAWH,KAAKC,eAAeG,eAC/BJ,KAAAK,OAAwB,IAAIC,EAAAA,QAC5BN,KAAAO,OAAQ,EACRP,KAAAQ,UAAW,SAEXX,EAAAY,UAAAC,SAAA,WAAA,QAAAC,EAAAX,KACuB,QAArBY,EAAY,QAAZC,EAAAb,KAAKD,eAAO,IAAAc,OAAA,EAAAA,EAAEd,eAAO,IAAAa,GAAAA,EAAEE,aAAaC,KAAKC,EAAAA,UAAUhB,KAAKK,SAASY,WAAU,iBACzEN,EAAKV,eAAeiB,OAA0B,QAArBL,EAACF,EAAKZ,QAAQA,eAAO,IAAAc,OAAA,EAAAA,EAAEM,aAElDnB,KAAKF,GAAGsB,cAAcC,aAAe,KAEvCxB,EAAAY,UAAAa,YAAA,WACEtB,KAAKK,OAAOa,OACZlB,KAAKK,OAAOkB,qCApBfC,EAAAA,UAASC,KAAA,CAAC,CAETC,SAAU,+DAPQC,EAAAA,kBACXC,EAAAA,UAASC,WAAA,CAAA,CAAAC,KASoBC,EAAAA,MAAI,CAAAD,KAAIE,EAAAA,+BCkB5C,SAAAC,IAjBSjC,KAAA8B,KAA+B,WAC/B9B,KAAAkC,KAA2B,KAE3BlC,KAAAmC,SAAU,EACVnC,KAAAoC,UAAW,EAYpBpC,KAAAqC,eAAyB,SAXzBC,OAAAC,eAAqCN,EAAAxB,UAAA,YAAS,KAA9C,SAA+C+B,GAA/C,QAAA7B,EAAAX,KACOA,KAAKqB,cACRrB,KAAKqB,aAAcmB,MAAAA,OAAK,EAALA,EAAO1C,GAAGsB,cAAcC,cAAe,IAE5DrB,KAAKyC,UAAyB,QAAhB5B,EAAG2B,EAAMzC,eAAO,IAAAc,OAAA,EAAAA,EAAEd,QACV,QAAtBa,EAAAZ,KAAK0C,yBAAiB,IAAA9B,GAAAA,EAAE+B,cACxB3C,KAAK0C,kBAAoBF,MAAAA,OAAK,EAALA,EAAOrC,SAASc,WAAU,SAAA2B,GAAO,OAACjC,EAAK0B,cAAgBO,KAChF5C,KAAKqB,aAAe,qCAOtBY,EAAAxB,UAAAC,SAAA,aACAuB,EAAAxB,UAAAa,YAAA,iBACwB,QAAtBT,EAAAb,KAAK0C,yBAAiB,IAAA7B,GAAAA,EAAE8B,wCA3B3BE,EAAAA,UAASpB,KAAA,CAAC,CACTC,SAAU,YACVoB,SAAA,47MAICC,EAAAA,oBACAA,EAAAA,2BACAA,EAAAA,uBACAA,EAAAA,wBACAA,EAAAA,yBACAC,EAAAA,aAAYvB,KAAA,CAAC5B,YCLhB,iCALCoD,EAAAA,SAAQxB,KAAA,CAAC,CACRyB,aAAc,CAACjB,EAAmBpC,GAClCsD,QAAS,CAACC,EAAAA,aAAcC,EAAAA,aACxBC,QAAS,CAACrB,EAAmBpC","sourcesContent":["import { Directive, ElementRef, OnDestroy, OnInit, Optional, Self } from \"@angular/core\";\nimport { NgControl } from \"@angular/forms\";\nimport { ReplaySubject, Subject, Subscription } from \"rxjs\";\nimport { takeUntil } from \"rxjs/operators\";\n\n@Directive({\n // tslint:disable-next-line\n selector: \"input[misInput]\"\n})\nexport class MisInputDirective implements OnInit, OnDestroy {\n constructor(public el: ElementRef, @Self() @Optional() public control: NgControl) {}\n private validityChange: ReplaySubject<boolean> = new ReplaySubject(1);\n validity = this.validityChange.asObservable();\n endObs: Subject<void> = new Subject();\n focus = false;\n hasValue = false;\n\n ngOnInit(): void {\n this.control?.control?.valueChanges.pipe(takeUntil(this.endObs)).subscribe(() => {\n this.validityChange.next(!this.control.control?.invalid);\n });\n this.el.nativeElement.placeholder += \" \";\n }\n ngOnDestroy(): void {\n this.endObs.next();\n this.endObs.complete();\n }\n}\n","import { Component, ContentChild, Input, OnDestroy, OnInit, ViewEncapsulation } from \"@angular/core\";\nimport { AbstractControl } from \"@angular/forms\";\nimport { Subscription } from \"rxjs\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\n\n@Component({\n selector: \"mis-input\",\n templateUrl: \"./mis-input.component.html\",\n styleUrls: [\"./mis-input.component.scss\"]\n})\nexport class MisInputComponent implements OnInit, OnDestroy {\n @Input() type: \"rounded\" | \"floating\" = \"floating\";\n @Input() size: \"sm\" | \"md\" | \"lg\" = \"sm\";\n @Input() placeholder: string; // floating placeholder text\n @Input() noHints = false;\n @Input() hasError = false; // show input in error state\n @ContentChild(MisInputDirective) set formInput(input: MisInputDirective) {\n if (!this.placeholder) {\n this.placeholder = input?.el.nativeElement.placeholder || \"\";\n }\n this.inputCtrl = input.control?.control;\n this.inputSubscription?.unsubscribe();\n this.inputSubscription = input?.validity.subscribe(res => (this.inputValidity = res));\n this.placeholder += \" \";\n }\n inputCtrl: AbstractControl;\n inputSubscription: Subscription | undefined;\n inputValidity: boolean = true;\n constructor() {}\n\n ngOnInit(): void {}\n ngOnDestroy(): void {\n this.inputSubscription?.unsubscribe();\n }\n}\n","import { CommonModule } from \"@angular/common\";\nimport { NgModule } from \"@angular/core\";\nimport { FormsModule } from \"@angular/forms\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\nimport { MisInputComponent } from \"./mis-input.component\";\n\n@NgModule({\n declarations: [MisInputComponent, MisInputDirective],\n imports: [CommonModule, FormsModule],\n exports: [MisInputComponent, MisInputDirective]\n})\nexport class MisInputModule {}\n"]}
@@ -1,53 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('mis-crystal-design-system/loader', ['exports', '@angular/core', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['mis-crystal-design-system'] = global['mis-crystal-design-system'] || {}, global['mis-crystal-design-system'].loader = {}), global.ng.core, global.ng.common));
5
- }(this, (function (exports, core, common) { 'use strict';
6
-
7
- var LoaderComponent = /** @class */ (function () {
8
- function LoaderComponent() {
9
- /** Controls loader size */
10
- this.mobileView = false;
11
- }
12
- LoaderComponent.prototype.ngOnInit = function () { };
13
- return LoaderComponent;
14
- }());
15
- LoaderComponent.decorators = [
16
- { type: core.Component, args: [{
17
- selector: "mis-loader",
18
- template: "<div\n id=\"spinner\"\n [ngClass]=\"{\n mobile: mobileView\n }\"\n></div>\n",
19
- styles: ["#spinner{-webkit-animation:frames 1s linear infinite;animation:frames 1s linear infinite;background:transparent;border-radius:100%;border:4px solid #e0e0e0;border-top-color:#6200ee;width:40px;height:40px;padding:0;position:absolute}@-webkit-keyframes frames{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes frames{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.mobile{height:20px!important;width:20px!important;border:2px solid #e0e0e0!important;border-top-color:#6200ee!important}"]
20
- },] }
21
- ];
22
- LoaderComponent.ctorParameters = function () { return []; };
23
- LoaderComponent.propDecorators = {
24
- mobileView: [{ type: core.Input }]
25
- };
26
-
27
- var LoaderModule = /** @class */ (function () {
28
- function LoaderModule() {
29
- }
30
- LoaderModule.forRoot = function () {
31
- return { ngModule: LoaderModule, providers: [] };
32
- };
33
- return LoaderModule;
34
- }());
35
- LoaderModule.decorators = [
36
- { type: core.NgModule, args: [{
37
- declarations: [LoaderComponent],
38
- imports: [common.CommonModule],
39
- exports: [LoaderComponent]
40
- },] }
41
- ];
42
-
43
- /**
44
- * Generated bundle index. Do not edit.
45
- */
46
-
47
- exports.LoaderComponent = LoaderComponent;
48
- exports.LoaderModule = LoaderModule;
49
-
50
- Object.defineProperty(exports, '__esModule', { value: true });
51
-
52
- })));
53
- //# sourceMappingURL=mis-crystal-design-system-loader.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mis-crystal-design-system-loader.umd.js","sources":["../../../projects/mis-components/loader/loader.component.ts","../../../projects/mis-components/loader/loader.module.ts","../../../projects/mis-components/loader/mis-crystal-design-system-loader.ts"],"sourcesContent":["import { Component, Input, OnInit } from \"@angular/core\";\n\n@Component({\n selector: \"mis-loader\",\n templateUrl: \"./loader.component.html\",\n styleUrls: [\"./loader.component.scss\"]\n})\nexport class LoaderComponent implements OnInit {\n /** Controls loader size */\n @Input() mobileView: boolean = false;\n\n constructor() {}\n ngOnInit() {}\n}\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { LoaderComponent } from \"./loader.component\";\n\n@NgModule({\n declarations: [LoaderComponent],\n imports: [CommonModule],\n exports: [LoaderComponent]\n})\nexport class LoaderModule {\n static forRoot(): ModuleWithProviders<LoaderModule> {\n return { ngModule: LoaderModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Component","Input","NgModule","CommonModule"],"mappings":";;;;;;;QAWE;;YAFS,eAAU,GAAY,KAAK,CAAC;SAErB;QAChB,kCAAQ,GAAR,eAAa;;;;gBAVdA,cAAS,SAAC;oBACT,QAAQ,EAAE,YAAY;oBACtB,6FAAsC;;iBAEvC;;;;6BAGEC,UAAK;;;;QCCR;;QACS,oBAAO,GAAd;YACE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;SAClD;;;;gBARFC,aAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE,CAACC,mBAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,eAAe,CAAC;iBAC3B;;;ICTD;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- !function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("mis-crystal-design-system/loader",["exports","@angular/core","@angular/common"],o):o(((e="undefined"!=typeof globalThis?globalThis:e||self)["mis-crystal-design-system"]=e["mis-crystal-design-system"]||{},e["mis-crystal-design-system"].loader={}),e.ng.core,e.ng.common)}(this,(function(e,o,r){"use strict";var t=function(){function e(){this.mobileView=!1}return e.prototype.ngOnInit=function(){},e}();t.decorators=[{type:o.Component,args:[{selector:"mis-loader",template:'<div\n id="spinner"\n [ngClass]="{\n mobile: mobileView\n }"\n></div>\n',styles:["#spinner{-webkit-animation:frames 1s linear infinite;animation:frames 1s linear infinite;background:transparent;border-radius:100%;border:4px solid #e0e0e0;border-top-color:#6200ee;width:40px;height:40px;padding:0;position:absolute}@-webkit-keyframes frames{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}@keyframes frames{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.mobile{height:20px!important;width:20px!important;border:2px solid #e0e0e0!important;border-top-color:#6200ee!important}"]}]}],t.ctorParameters=function(){return[]},t.propDecorators={mobileView:[{type:o.Input}]};var n=function(){function e(){}return e.forRoot=function(){return{ngModule:e,providers:[]}},e}();n.decorators=[{type:o.NgModule,args:[{declarations:[t],imports:[r.CommonModule],exports:[t]}]}],e.LoaderComponent=t,e.LoaderModule=n,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=mis-crystal-design-system-loader.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../projects/mis-components/loader/loader.component.ts","../../../projects/mis-components/loader/loader.module.ts"],"names":["LoaderComponent","this","mobileView","prototype","ngOnInit","Component","args","selector","template","Input","LoaderModule","forRoot","ngModule","providers","NgModule","declarations","imports","CommonModule","exports"],"mappings":"mfAWE,SAAAA,IAFSC,KAAAC,YAAsB,SAG/BF,EAAAG,UAAAC,SAAA,sCAVDC,EAAAA,UAASC,KAAA,CAAC,CACTC,SAAU,aACVC,SAAA,qqBAKCC,EAAAA,0BCCH,SAAAC,YACSA,EAAAC,QAAP,WACE,MAAO,CAAEC,SAAUF,EAAcG,UAAW,8BAP/CC,EAAAA,SAAQR,KAAA,CAAC,CACRS,aAAc,CAACf,GACfgB,QAAS,CAACC,EAAAA,cACVC,QAAS,CAAClB","sourcesContent":["import { Component, Input, OnInit } from \"@angular/core\";\n\n@Component({\n selector: \"mis-loader\",\n templateUrl: \"./loader.component.html\",\n styleUrls: [\"./loader.component.scss\"]\n})\nexport class LoaderComponent implements OnInit {\n /** Controls loader size */\n @Input() mobileView: boolean = false;\n\n constructor() {}\n ngOnInit() {}\n}\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { LoaderComponent } from \"./loader.component\";\n\n@NgModule({\n declarations: [LoaderComponent],\n imports: [CommonModule],\n exports: [LoaderComponent]\n})\nexport class LoaderModule {\n static forRoot(): ModuleWithProviders<LoaderModule> {\n return { ngModule: LoaderModule, providers: [] };\n }\n}\n"]}
@@ -1,119 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/core'), require('rxjs/operators'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('mis-crystal-design-system/menu', ['exports', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/core', 'rxjs/operators', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['mis-crystal-design-system'] = global['mis-crystal-design-system'] || {}, global['mis-crystal-design-system'].menu = {}), global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.core, global.rxjs.operators, global.ng.common));
5
- }(this, (function (exports, overlay, portal, core, operators, common) { 'use strict';
6
-
7
- /** @format */
8
- var MenuDirective = /** @class */ (function () {
9
- function MenuDirective(overlay, element, viewContainerRef) {
10
- this.overlay = overlay;
11
- this.element = element;
12
- this.viewContainerRef = viewContainerRef;
13
- this.positionX = "start";
14
- this.positionY = "bottom";
15
- this.offsetX = 0;
16
- this.offsetY = 0;
17
- }
18
- MenuDirective.prototype.onClick = function (event) {
19
- this.menuShow();
20
- };
21
- MenuDirective.prototype.menuShow = function () {
22
- var _this = this;
23
- var positionStrategy = this.overlay
24
- .position()
25
- .flexibleConnectedTo(this.element)
26
- .withPositions([
27
- new overlay.ConnectionPositionPair({ originX: this.positionX, originY: this.positionY }, { overlayX: this.positionX, overlayY: this.positionY === "bottom" ? "top" : "bottom" }, this.offsetX, this.offsetY),
28
- new overlay.ConnectionPositionPair({ originX: "start", originY: "bottom" }, { overlayX: "start", overlayY: "top" }, this.offsetX, this.offsetY),
29
- new overlay.ConnectionPositionPair({ originX: "end", originY: "top" }, { overlayX: "end", overlayY: "bottom" }, this.offsetX, this.offsetY)
30
- ])
31
- .withPush(true);
32
- var config = new overlay.OverlayConfig({
33
- hasBackdrop: true,
34
- positionStrategy: positionStrategy,
35
- scrollStrategy: this.overlay.scrollStrategies.reposition(),
36
- backdropClass: "cdk-overlay-transparent-backdrop"
37
- });
38
- this.overlayRef = this.overlay.create(config);
39
- var tempRef = new portal.TemplatePortal(this.menu, this.viewContainerRef);
40
- this.overlayRef.attach(tempRef);
41
- this.overlayRef
42
- .backdropClick()
43
- .pipe(operators.take(1))
44
- .subscribe(function (res) {
45
- _this.close();
46
- });
47
- };
48
- MenuDirective.prototype.close = function () {
49
- var _a, _b;
50
- (_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
51
- (_b = this.overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
52
- };
53
- return MenuDirective;
54
- }());
55
- MenuDirective.decorators = [
56
- { type: core.Directive, args: [{
57
- selector: "[misMenu]",
58
- exportAs: "misMenu"
59
- },] }
60
- ];
61
- MenuDirective.ctorParameters = function () { return [
62
- { type: overlay.Overlay },
63
- { type: core.ElementRef },
64
- { type: core.ViewContainerRef }
65
- ]; };
66
- MenuDirective.propDecorators = {
67
- menu: [{ type: core.Input, args: ["misMenu",] }],
68
- positionX: [{ type: core.Input }],
69
- positionY: [{ type: core.Input }],
70
- offsetX: [{ type: core.Input }],
71
- offsetY: [{ type: core.Input }],
72
- onClick: [{ type: core.HostListener, args: ["click", ["$event"],] }]
73
- };
74
-
75
- var MenuCloseDirective = /** @class */ (function () {
76
- function MenuCloseDirective() {
77
- }
78
- MenuCloseDirective.prototype.closeMenu = function () {
79
- this.menu.close();
80
- };
81
- return MenuCloseDirective;
82
- }());
83
- MenuCloseDirective.decorators = [
84
- { type: core.Directive, args: [{
85
- selector: "[misMenuClose]"
86
- },] }
87
- ];
88
- MenuCloseDirective.ctorParameters = function () { return []; };
89
- MenuCloseDirective.propDecorators = {
90
- menu: [{ type: core.Input, args: ["misMenuClose",] }],
91
- closeMenu: [{ type: core.HostListener, args: ["click", [],] }]
92
- };
93
-
94
- /** @format */
95
- var MisMenuModule = /** @class */ (function () {
96
- function MisMenuModule() {
97
- }
98
- return MisMenuModule;
99
- }());
100
- MisMenuModule.decorators = [
101
- { type: core.NgModule, args: [{
102
- declarations: [MenuDirective, MenuCloseDirective],
103
- imports: [common.CommonModule, overlay.OverlayModule, portal.PortalModule],
104
- exports: [MenuDirective, MenuCloseDirective]
105
- },] }
106
- ];
107
-
108
- /**
109
- * Generated bundle index. Do not edit.
110
- */
111
-
112
- exports.MenuCloseDirective = MenuCloseDirective;
113
- exports.MenuDirective = MenuDirective;
114
- exports.MisMenuModule = MisMenuModule;
115
-
116
- Object.defineProperty(exports, '__esModule', { value: true });
117
-
118
- })));
119
- //# sourceMappingURL=mis-crystal-design-system-menu.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mis-crystal-design-system-menu.umd.js","sources":["../../../projects/mis-components/menu/menu.directive.ts","../../../projects/mis-components/menu/menu-close.directive.ts","../../../projects/mis-components/menu/menu.module.ts","../../../projects/mis-components/menu/mis-crystal-design-system-menu.ts"],"sourcesContent":["/** @format */\n\nimport { ConnectionPositionPair, Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { TemplatePortal } from \"@angular/cdk/portal\";\nimport { Directive, ElementRef, HostListener, Input, TemplateRef, ViewContainerRef } from \"@angular/core\";\nimport { take } from \"rxjs/operators\";\n\n@Directive({\n selector: \"[misMenu]\",\n exportAs: \"misMenu\"\n})\nexport class MenuDirective {\n @Input(\"misMenu\") menu: TemplateRef<ElementRef>;\n @Input() positionX: \"start\" | \"end\" = \"start\";\n @Input() positionY: \"top\" | \"bottom\" = \"bottom\";\n @Input() offsetX = 0;\n @Input() offsetY = 0;\n private overlayRef: OverlayRef;\n\n constructor(private overlay: Overlay, private element: ElementRef, private viewContainerRef: ViewContainerRef) {}\n @HostListener(\"click\", [\"$event\"]) onClick(event) {\n this.menuShow();\n }\n private menuShow() {\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.element)\n .withPositions([\n new ConnectionPositionPair(\n { originX: this.positionX, originY: this.positionY },\n { overlayX: this.positionX, overlayY: this.positionY === \"bottom\" ? \"top\" : \"bottom\" },\n this.offsetX,\n this.offsetY\n ),\n new ConnectionPositionPair({ originX: \"start\", originY: \"bottom\" }, { overlayX: \"start\", overlayY: \"top\" }, this.offsetX, this.offsetY),\n new ConnectionPositionPair({ originX: \"end\", originY: \"top\" }, { overlayX: \"end\", overlayY: \"bottom\" }, this.offsetX, this.offsetY)\n ])\n .withPush(true);\n const config = new OverlayConfig({\n hasBackdrop: true,\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n backdropClass: \"cdk-overlay-transparent-backdrop\"\n });\n this.overlayRef = this.overlay.create(config);\n\n const tempRef = new TemplatePortal(this.menu, this.viewContainerRef);\n this.overlayRef.attach(tempRef);\n this.overlayRef\n .backdropClick()\n .pipe(take(1))\n .subscribe(res => {\n this.close();\n });\n }\n\n close(): void {\n this.overlayRef?.detach();\n this.overlayRef?.dispose();\n }\n}\n","import { Directive, HostListener, Input } from \"@angular/core\";\nimport { MenuDirective } from \"./menu.directive\";\n\n@Directive({\n selector: \"[misMenuClose]\"\n})\nexport class MenuCloseDirective {\n @Input(\"misMenuClose\") menu: MenuDirective;\n constructor() {}\n\n @HostListener(\"click\", []) closeMenu() {\n this.menu.close();\n }\n}\n","/** @format */\n\nimport { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MenuDirective } from \"./menu.directive\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { PortalModule } from \"@angular/cdk/portal\";\nimport { MenuCloseDirective } from \"./menu-close.directive\";\n\n@NgModule({\n declarations: [MenuDirective, MenuCloseDirective],\n imports: [CommonModule, OverlayModule, PortalModule],\n exports: [MenuDirective, MenuCloseDirective]\n})\nexport class MisMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ConnectionPositionPair","OverlayConfig","TemplatePortal","take","Directive","Overlay","ElementRef","ViewContainerRef","Input","HostListener","NgModule","CommonModule","OverlayModule","PortalModule"],"mappings":";;;;;;IAAA;;QAmBE,uBAAoB,OAAgB,EAAU,OAAmB,EAAU,gBAAkC;YAAzF,YAAO,GAAP,OAAO,CAAS;YAAU,YAAO,GAAP,OAAO,CAAY;YAAU,qBAAgB,GAAhB,gBAAgB,CAAkB;YANpG,cAAS,GAAoB,OAAO,CAAC;YACrC,cAAS,GAAqB,QAAQ,CAAC;YACvC,YAAO,GAAG,CAAC,CAAC;YACZ,YAAO,GAAG,CAAC,CAAC;SAG4F;QAC9E,+BAAO,GAAP,UAAQ,KAAK;YAC9C,IAAI,CAAC,QAAQ,EAAE,CAAC;SACjB;QACO,gCAAQ,GAAR;YAAA,iBA+BP;YA9BC,IAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO;iBAClC,QAAQ,EAAE;iBACV,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC;iBACjC,aAAa,CAAC;gBACb,IAAIA,8BAAsB,CACxB,EAAE,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,EACpD,EAAE,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC,SAAS,KAAK,QAAQ,GAAG,KAAK,GAAG,QAAQ,EAAE,EACtF,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,OAAO,CACb;gBACD,IAAIA,8BAAsB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;gBACvI,IAAIA,8BAAsB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;aACpI,CAAC;iBACD,QAAQ,CAAC,IAAI,CAAC,CAAC;YAClB,IAAM,MAAM,GAAG,IAAIC,qBAAa,CAAC;gBAC/B,WAAW,EAAE,IAAI;gBACjB,gBAAgB,kBAAA;gBAChB,cAAc,EAAE,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,UAAU,EAAE;gBAC1D,aAAa,EAAE,kCAAkC;aAClD,CAAC,CAAC;YACH,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAE9C,IAAM,OAAO,GAAG,IAAIC,qBAAc,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;YACrE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;YAChC,IAAI,CAAC,UAAU;iBACZ,aAAa,EAAE;iBACf,IAAI,CAACC,cAAI,CAAC,CAAC,CAAC,CAAC;iBACb,SAAS,CAAC,UAAA,GAAG;gBACZ,KAAI,CAAC,KAAK,EAAE,CAAC;aACd,CAAC,CAAC;SACN;QAED,6BAAK,GAAL;;YACE,MAAA,IAAI,CAAC,UAAU,0CAAE,MAAM,GAAG;YAC1B,MAAA,IAAI,CAAC,UAAU,0CAAE,OAAO,GAAG;SAC5B;;;;gBApDFC,cAAS,SAAC;oBACT,QAAQ,EAAE,WAAW;oBACrB,QAAQ,EAAE,SAAS;iBACpB;;;gBARgCC,eAAO;gBAEpBC,eAAU;gBAAoCC,qBAAgB;;;uBAQ/EC,UAAK,SAAC,SAAS;4BACfA,UAAK;4BACLA,UAAK;0BACLA,UAAK;0BACLA,UAAK;0BAILC,iBAAY,SAAC,OAAO,EAAE,CAAC,QAAQ,CAAC;;;;QCZjC;SAAgB;QAEW,sCAAS,GAAT;YACzB,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;SACnB;;;;gBATFL,cAAS,SAAC;oBACT,QAAQ,EAAE,gBAAgB;iBAC3B;;;;uBAEEI,UAAK,SAAC,cAAc;4BAGpBC,iBAAY,SAAC,OAAO,EAAE,EAAE;;;ICV3B;;QAcA;;;;;gBALCC,aAAQ,SAAC;oBACR,YAAY,EAAE,CAAC,aAAa,EAAE,kBAAkB,CAAC;oBACjD,OAAO,EAAE,CAACC,mBAAY,EAAEC,qBAAa,EAAEC,mBAAY,CAAC;oBACpD,OAAO,EAAE,CAAC,aAAa,EAAE,kBAAkB,CAAC;iBAC7C;;;ICbD;;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/cdk/overlay"),require("@angular/cdk/portal"),require("@angular/core"),require("rxjs/operators"),require("@angular/common")):"function"==typeof define&&define.amd?define("mis-crystal-design-system/menu",["exports","@angular/cdk/overlay","@angular/cdk/portal","@angular/core","rxjs/operators","@angular/common"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self)["mis-crystal-design-system"]=e["mis-crystal-design-system"]||{},e["mis-crystal-design-system"].menu={}),e.ng.cdk.overlay,e.ng.cdk.portal,e.ng.core,e.rxjs.operators,e.ng.common)}(this,(function(e,t,o,i,r,s){"use strict";var n=function(){function e(e,t,o){this.overlay=e,this.element=t,this.viewContainerRef=o,this.positionX="start",this.positionY="bottom",this.offsetX=0,this.offsetY=0}return e.prototype.onClick=function(e){this.menuShow()},e.prototype.menuShow=function(){var e=this,i=this.overlay.position().flexibleConnectedTo(this.element).withPositions([new t.ConnectionPositionPair({originX:this.positionX,originY:this.positionY},{overlayX:this.positionX,overlayY:"bottom"===this.positionY?"top":"bottom"},this.offsetX,this.offsetY),new t.ConnectionPositionPair({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},this.offsetX,this.offsetY),new t.ConnectionPositionPair({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},this.offsetX,this.offsetY)]).withPush(!0),s=new t.OverlayConfig({hasBackdrop:!0,positionStrategy:i,scrollStrategy:this.overlay.scrollStrategies.reposition(),backdropClass:"cdk-overlay-transparent-backdrop"});this.overlayRef=this.overlay.create(s);var n=new o.TemplatePortal(this.menu,this.viewContainerRef);this.overlayRef.attach(n),this.overlayRef.backdropClick().pipe(r.take(1)).subscribe((function(t){e.close()}))},e.prototype.close=function(){var e,t;null===(e=this.overlayRef)||void 0===e||e.detach(),null===(t=this.overlayRef)||void 0===t||t.dispose()},e}();n.decorators=[{type:i.Directive,args:[{selector:"[misMenu]",exportAs:"misMenu"}]}],n.ctorParameters=function(){return[{type:t.Overlay},{type:i.ElementRef},{type:i.ViewContainerRef}]},n.propDecorators={menu:[{type:i.Input,args:["misMenu"]}],positionX:[{type:i.Input}],positionY:[{type:i.Input}],offsetX:[{type:i.Input}],offsetY:[{type:i.Input}],onClick:[{type:i.HostListener,args:["click",["$event"]]}]};var a=function(){function e(){}return e.prototype.closeMenu=function(){this.menu.close()},e}();a.decorators=[{type:i.Directive,args:[{selector:"[misMenuClose]"}]}],a.ctorParameters=function(){return[]},a.propDecorators={menu:[{type:i.Input,args:["misMenuClose"]}],closeMenu:[{type:i.HostListener,args:["click",[]]}]};var l=function(){};l.decorators=[{type:i.NgModule,args:[{declarations:[n,a],imports:[s.CommonModule,t.OverlayModule,o.PortalModule],exports:[n,a]}]}],e.MenuCloseDirective=a,e.MenuDirective=n,e.MisMenuModule=l,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=mis-crystal-design-system-menu.umd.min.js.map