@ptsecurity/mosaic 12.2.1 → 13.1.0

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 (913) hide show
  1. package/_theming.scss +1000 -934
  2. package/_visual.scss +849 -694
  3. package/autocomplete/README.md +0 -0
  4. package/autocomplete/package.json +5 -5
  5. package/button/README.md +0 -0
  6. package/button/button.component.d.ts +17 -14
  7. package/button/button.module.d.ts +1 -1
  8. package/button/package.json +5 -5
  9. package/button-toggle/README.md +0 -0
  10. package/button-toggle/package.json +5 -5
  11. package/card/README.md +0 -0
  12. package/card/package.json +5 -5
  13. package/checkbox/README.md +1 -0
  14. package/checkbox/package.json +5 -5
  15. package/core/formatters/date/formatter.d.ts +41 -17
  16. package/core/formatters/date/templates/en-US.d.ts +8 -8
  17. package/core/formatters/date/templates/ru-RU.d.ts +8 -8
  18. package/core/package.json +5 -5
  19. package/core/public-api.d.ts +1 -0
  20. package/core/version.d.ts +2 -0
  21. package/datepicker/README.md +0 -0
  22. package/datepicker/package.json +5 -5
  23. package/design-tokens/{tokens → legacy-2017/tokens}/components/alert.json5 +0 -0
  24. package/design-tokens/{tokens → legacy-2017/tokens}/components/autocomplete.json5 +0 -0
  25. package/design-tokens/{tokens → legacy-2017/tokens}/components/badge.json5 +0 -0
  26. package/design-tokens/{tokens → legacy-2017/tokens}/components/button-toggle.json5 +0 -0
  27. package/design-tokens/{tokens → legacy-2017/tokens}/components/button.json5 +0 -0
  28. package/design-tokens/{tokens → legacy-2017/tokens}/components/card.json5 +0 -0
  29. package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +39 -0
  30. package/design-tokens/{tokens → legacy-2017/tokens}/components/datepicker.json5 +0 -0
  31. package/design-tokens/{tokens → legacy-2017/tokens}/components/divider.json5 +0 -0
  32. package/design-tokens/{tokens → legacy-2017/tokens}/components/dropdown.json5 +0 -0
  33. package/design-tokens/{tokens → legacy-2017/tokens}/components/form-field.json5 +0 -0
  34. package/design-tokens/{tokens → legacy-2017/tokens}/components/forms.json5 +0 -0
  35. package/design-tokens/{tokens → legacy-2017/tokens}/components/input.json5 +0 -0
  36. package/design-tokens/{tokens → legacy-2017/tokens}/components/link.json5 +0 -0
  37. package/design-tokens/{tokens → legacy-2017/tokens}/components/list.json5 +0 -0
  38. package/design-tokens/legacy-2017/tokens/components/modal.json5 +79 -0
  39. package/design-tokens/legacy-2017/tokens/components/navbar.json5 +69 -0
  40. package/design-tokens/{tokens → legacy-2017/tokens}/components/optgroup.json5 +0 -0
  41. package/design-tokens/{tokens → legacy-2017/tokens}/components/option.json5 +0 -0
  42. package/design-tokens/{tokens → legacy-2017/tokens}/components/popover.json5 +0 -0
  43. package/design-tokens/{tokens → legacy-2017/tokens}/components/popup.json5 +0 -0
  44. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-bar.json5 +0 -0
  45. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-spinner.json5 +0 -0
  46. package/design-tokens/legacy-2017/tokens/components/radio.json5 +44 -0
  47. package/design-tokens/{tokens → legacy-2017/tokens}/components/select.json5 +0 -0
  48. package/design-tokens/{tokens → legacy-2017/tokens}/components/sidepanel.json5 +0 -0
  49. package/design-tokens/{tokens → legacy-2017/tokens}/components/table.json5 +0 -0
  50. package/design-tokens/{tokens → legacy-2017/tokens}/components/tabs.json5 +0 -0
  51. package/design-tokens/legacy-2017/tokens/components/tags.json5 +132 -0
  52. package/design-tokens/{tokens → legacy-2017/tokens}/components/textarea.json5 +0 -0
  53. package/design-tokens/{tokens → legacy-2017/tokens}/components/timepicker.json5 +0 -0
  54. package/design-tokens/legacy-2017/tokens/components/toggle.json5 +79 -0
  55. package/design-tokens/{tokens → legacy-2017/tokens}/components/tooltip.json5 +0 -0
  56. package/design-tokens/{tokens → legacy-2017/tokens}/components/tree.json5 +0 -0
  57. package/design-tokens/{tokens → legacy-2017/tokens}/properties/aliases.json5 +0 -0
  58. package/design-tokens/{tokens → legacy-2017/tokens}/properties/colors.json5 +0 -0
  59. package/design-tokens/{tokens → legacy-2017/tokens}/properties/font.json5 +0 -0
  60. package/design-tokens/{tokens → legacy-2017/tokens}/properties/globals.json5 +0 -0
  61. package/design-tokens/{tokens → legacy-2017/tokens}/properties/padding.json5 +0 -0
  62. package/design-tokens/{tokens → legacy-2017/tokens}/properties/palette.json5 +0 -0
  63. package/design-tokens/{tokens → legacy-2017/tokens}/properties/typography.json5 +0 -0
  64. package/design-tokens/legacy-2017/tokens.d.ts +7659 -0
  65. package/design-tokens/package.json +5 -5
  66. package/design-tokens/pt-2022/tokens/components/alert.json5 +83 -0
  67. package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +11 -0
  68. package/design-tokens/pt-2022/tokens/components/badge.json5 +184 -0
  69. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +10 -0
  70. package/design-tokens/pt-2022/tokens/components/button.json5 +143 -0
  71. package/design-tokens/pt-2022/tokens/components/card.json5 +51 -0
  72. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +39 -0
  73. package/design-tokens/pt-2022/tokens/components/datepicker.json5 +64 -0
  74. package/design-tokens/pt-2022/tokens/components/divider.json5 +8 -0
  75. package/design-tokens/pt-2022/tokens/components/dropdown.json5 +47 -0
  76. package/design-tokens/pt-2022/tokens/components/form-field.json5 +52 -0
  77. package/design-tokens/pt-2022/tokens/components/forms.json5 +52 -0
  78. package/design-tokens/pt-2022/tokens/components/input.json5 +13 -0
  79. package/design-tokens/pt-2022/tokens/components/link.json5 +56 -0
  80. package/design-tokens/pt-2022/tokens/components/list.json5 +15 -0
  81. package/design-tokens/pt-2022/tokens/components/modal.json5 +79 -0
  82. package/design-tokens/pt-2022/tokens/components/navbar.json5 +69 -0
  83. package/design-tokens/pt-2022/tokens/components/optgroup.json5 +10 -0
  84. package/design-tokens/pt-2022/tokens/components/option.json5 +12 -0
  85. package/design-tokens/pt-2022/tokens/components/popover.json5 +68 -0
  86. package/design-tokens/pt-2022/tokens/components/popup.json5 +18 -0
  87. package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +13 -0
  88. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +7 -0
  89. package/design-tokens/pt-2022/tokens/components/radio.json5 +44 -0
  90. package/design-tokens/pt-2022/tokens/components/select.json5 +25 -0
  91. package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +30 -0
  92. package/design-tokens/pt-2022/tokens/components/table.json5 +15 -0
  93. package/design-tokens/pt-2022/tokens/components/tabs.json5 +25 -0
  94. package/design-tokens/pt-2022/tokens/components/tags.json5 +132 -0
  95. package/design-tokens/pt-2022/tokens/components/textarea.json5 +12 -0
  96. package/design-tokens/pt-2022/tokens/components/timepicker.json5 +7 -0
  97. package/design-tokens/pt-2022/tokens/components/toggle.json5 +79 -0
  98. package/design-tokens/pt-2022/tokens/components/tooltip.json5 +83 -0
  99. package/design-tokens/pt-2022/tokens/components/tree.json5 +12 -0
  100. package/design-tokens/pt-2022/tokens/properties/aliases.json5 +3 -0
  101. package/design-tokens/pt-2022/tokens/properties/colors.json5 +112 -0
  102. package/design-tokens/pt-2022/tokens/properties/font.json5 +15 -0
  103. package/design-tokens/pt-2022/tokens/properties/globals.json5 +30 -0
  104. package/design-tokens/pt-2022/tokens/properties/padding.json5 +3 -0
  105. package/design-tokens/pt-2022/tokens/properties/palette.json5 +226 -0
  106. package/design-tokens/pt-2022/tokens/properties/typography.json5 +140 -0
  107. package/design-tokens/pt-2022/tokens.d.ts +8696 -0
  108. package/design-tokens/public-api.d.ts +3 -1
  109. package/design-tokens/style-dictionary/build.js +6 -0
  110. package/design-tokens/style-dictionary/configs/index.js +2 -1
  111. package/divider/README.md +0 -0
  112. package/divider/package.json +5 -5
  113. package/dropdown/dropdown-item.component.d.ts +1 -0
  114. package/dropdown/package.json +5 -5
  115. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +21 -0
  116. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +555 -0
  117. package/esm2020/autocomplete/autocomplete.component.mjs +154 -0
  118. package/esm2020/autocomplete/autocomplete.module.mjs +34 -0
  119. package/{esm2015/autocomplete/index.js → esm2020/autocomplete/index.mjs} +0 -0
  120. package/{esm2015/autocomplete/ptsecurity-mosaic-autocomplete.js → esm2020/autocomplete/ptsecurity-mosaic-autocomplete.mjs} +0 -0
  121. package/{esm2015/autocomplete/public-api.js → esm2020/autocomplete/public-api.mjs} +0 -0
  122. package/esm2020/button/button.component.mjs +129 -0
  123. package/esm2020/button/button.module.mjs +38 -0
  124. package/{esm2015/button/index.js → esm2020/button/index.mjs} +0 -0
  125. package/{esm2015/button/ptsecurity-mosaic-button.js → esm2020/button/ptsecurity-mosaic-button.mjs} +0 -0
  126. package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
  127. package/esm2020/button-toggle/button-toggle.component.mjs +362 -0
  128. package/esm2020/button-toggle/button-toggle.module.mjs +19 -0
  129. package/{esm2015/button-toggle/index.js → esm2020/button-toggle/index.mjs} +0 -0
  130. package/{esm2015/button-toggle/ptsecurity-mosaic-button-toggle.js → esm2020/button-toggle/ptsecurity-mosaic-button-toggle.mjs} +0 -0
  131. package/{esm2015/button-toggle/public-api.js → esm2020/button-toggle/public-api.mjs} +0 -0
  132. package/esm2020/card/card.component.mjs +80 -0
  133. package/esm2020/card/card.module.mjs +30 -0
  134. package/{esm2015/card/index.js → esm2020/card/index.mjs} +0 -0
  135. package/{esm2015/card/ptsecurity-mosaic-card.js → esm2020/card/ptsecurity-mosaic-card.mjs} +0 -0
  136. package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
  137. package/{esm2015/checkbox/checkbox-config.js → esm2020/checkbox/checkbox-config.mjs} +0 -0
  138. package/esm2020/checkbox/checkbox-module.mjs +19 -0
  139. package/esm2020/checkbox/checkbox-required-validator.mjs +27 -0
  140. package/esm2020/checkbox/checkbox.mjs +315 -0
  141. package/{esm2015/checkbox/index.js → esm2020/checkbox/index.mjs} +0 -0
  142. package/{esm2015/checkbox/ptsecurity-mosaic-checkbox.js → esm2020/checkbox/ptsecurity-mosaic-checkbox.mjs} +0 -0
  143. package/{esm2015/checkbox/public-api.js → esm2020/checkbox/public-api.mjs} +0 -0
  144. package/{esm2015/core/animation/animation.js → esm2020/core/animation/animation.mjs} +0 -0
  145. package/{esm2015/core/animation/fade-animations.js → esm2020/core/animation/fade-animations.mjs} +0 -0
  146. package/{esm2015/core/animation/index.js → esm2020/core/animation/index.mjs} +0 -0
  147. package/{esm2015/core/animation/select-animations.js → esm2020/core/animation/select-animations.mjs} +0 -0
  148. package/{esm2015/core/common-behaviors/color.js → esm2020/core/common-behaviors/color.mjs} +0 -0
  149. package/esm2020/core/common-behaviors/common-module.mjs +83 -0
  150. package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
  151. package/{esm2015/core/common-behaviors/disabled.js → esm2020/core/common-behaviors/disabled.mjs} +0 -0
  152. package/{esm2015/core/common-behaviors/error-state.js → esm2020/core/common-behaviors/error-state.mjs} +0 -0
  153. package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
  154. package/{esm2015/core/common-behaviors/tabindex.js → esm2020/core/common-behaviors/tabindex.mjs} +0 -0
  155. package/esm2020/core/error/error-options.mjs +26 -0
  156. package/esm2020/core/formatters/date/formatter.mjs +359 -0
  157. package/esm2020/core/formatters/date/templates/en-US.mjs +281 -0
  158. package/esm2020/core/formatters/date/templates/ru-RU.mjs +281 -0
  159. package/esm2020/core/formatters/index.mjs +20 -0
  160. package/esm2020/core/formatters/number/formatter.mjs +105 -0
  161. package/esm2020/core/forms/forms-module.mjs +24 -0
  162. package/esm2020/core/forms/forms.directive.mjs +66 -0
  163. package/{esm2015/core/forms/index.js → esm2020/core/forms/index.mjs} +0 -0
  164. package/esm2020/core/highlight/highlight.pipe.mjs +17 -0
  165. package/esm2020/core/highlight/index.mjs +19 -0
  166. package/{esm2015/core/index.js → esm2020/core/index.mjs} +0 -0
  167. package/{esm2015/core/label/label-options.js → esm2020/core/label/label-options.mjs} +0 -0
  168. package/esm2020/core/line/line.mjs +70 -0
  169. package/esm2020/core/option/action.mjs +121 -0
  170. package/{esm2015/core/option/index.js → esm2020/core/option/index.mjs} +0 -0
  171. package/esm2020/core/option/optgroup.mjs +31 -0
  172. package/esm2020/core/option/option-module.mjs +21 -0
  173. package/esm2020/core/option/option.mjs +254 -0
  174. package/{esm2015/core/overlay/overlay-position-map.js → esm2020/core/overlay/overlay-position-map.mjs} +0 -0
  175. package/{esm2015/core/pop-up/constants.js → esm2020/core/pop-up/constants.mjs} +0 -0
  176. package/{esm2015/core/pop-up/index.js → esm2020/core/pop-up/index.mjs} +0 -0
  177. package/esm2020/core/pop-up/pop-up-trigger.mjs +244 -0
  178. package/esm2020/core/pop-up/pop-up.mjs +91 -0
  179. package/{esm2015/core/ptsecurity-mosaic-core.js → esm2020/core/ptsecurity-mosaic-core.mjs} +0 -0
  180. package/esm2020/core/public-api.mjs +18 -0
  181. package/{esm2015/core/select/constants.js → esm2020/core/select/constants.mjs} +0 -0
  182. package/{esm2015/core/select/errors.js → esm2020/core/select/errors.mjs} +0 -0
  183. package/{esm2015/core/select/events.js → esm2020/core/select/events.mjs} +0 -0
  184. package/{esm2015/core/select/index.js → esm2020/core/select/index.mjs} +0 -0
  185. package/{esm2015/core/selection/constants.js → esm2020/core/selection/constants.mjs} +0 -0
  186. package/{esm2015/core/selection/index.js → esm2020/core/selection/index.mjs} +0 -0
  187. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +37 -0
  188. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +18 -0
  189. package/esm2020/core/services/measure-scrollbar.service.mjs +48 -0
  190. package/{esm2015/core/utils/index.js → esm2020/core/utils/index.mjs} +0 -0
  191. package/{esm2015/core/utils/public-api.js → esm2020/core/utils/public-api.mjs} +0 -0
  192. package/{esm2015/core/utils/utils.js → esm2020/core/utils/utils.mjs} +0 -0
  193. package/{esm2015/core/validation/index.js → esm2020/core/validation/index.mjs} +0 -0
  194. package/{esm2015/core/validation/validation.js → esm2020/core/validation/validation.mjs} +0 -0
  195. package/esm2020/core/version.mjs +3 -0
  196. package/esm2020/datepicker/calendar-body.component.mjs +106 -0
  197. package/esm2020/datepicker/calendar.component.mjs +362 -0
  198. package/{esm2015/datepicker/datepicker-animations.js → esm2020/datepicker/datepicker-animations.mjs} +0 -0
  199. package/{esm2015/datepicker/datepicker-errors.js → esm2020/datepicker/datepicker-errors.mjs} +0 -0
  200. package/esm2020/datepicker/datepicker-input.directive.mjs +900 -0
  201. package/esm2020/datepicker/datepicker-intl.mjs +40 -0
  202. package/esm2020/datepicker/datepicker-module.mjs +107 -0
  203. package/esm2020/datepicker/datepicker-toggle.component.mjs +86 -0
  204. package/esm2020/datepicker/datepicker.component.mjs +408 -0
  205. package/{esm2015/datepicker/index.js → esm2020/datepicker/index.mjs} +0 -0
  206. package/esm2020/datepicker/month-view.component.mjs +257 -0
  207. package/esm2020/datepicker/multi-year-view.component.mjs +218 -0
  208. package/{esm2015/datepicker/ptsecurity-mosaic-datepicker.js → esm2020/datepicker/ptsecurity-mosaic-datepicker.mjs} +0 -0
  209. package/{esm2015/datepicker/public-api.js → esm2020/datepicker/public-api.mjs} +0 -0
  210. package/esm2020/datepicker/year-view.component.mjs +253 -0
  211. package/{esm2015/design-tokens/index.js → esm2020/design-tokens/index.mjs} +0 -0
  212. package/esm2020/design-tokens/legacy-2017/tokens.mjs +953 -0
  213. package/esm2020/design-tokens/pt-2022/tokens.mjs +1013 -0
  214. package/{esm2015/design-tokens/ptsecurity-mosaic-design-tokens.js → esm2020/design-tokens/ptsecurity-mosaic-design-tokens.mjs} +0 -0
  215. package/esm2020/design-tokens/public-api.mjs +4 -0
  216. package/esm2020/divider/divider.component.mjs +39 -0
  217. package/esm2020/divider/divider.module.mjs +18 -0
  218. package/{esm2015/divider/index.js → esm2020/divider/index.mjs} +0 -0
  219. package/{esm2015/divider/ptsecurity-mosaic-divider.js → esm2020/divider/ptsecurity-mosaic-divider.mjs} +0 -0
  220. package/{esm2015/divider/public-api.js → esm2020/divider/public-api.mjs} +0 -0
  221. package/{esm2015/dropdown/dropdown-animations.js → esm2020/dropdown/dropdown-animations.mjs} +0 -0
  222. package/esm2020/dropdown/dropdown-content.directive.mjs +64 -0
  223. package/{esm2015/dropdown/dropdown-errors.js → esm2020/dropdown/dropdown-errors.mjs} +0 -0
  224. package/esm2020/dropdown/dropdown-item.component.mjs +139 -0
  225. package/esm2020/dropdown/dropdown-trigger.directive.mjs +485 -0
  226. package/esm2020/dropdown/dropdown.component.mjs +292 -0
  227. package/esm2020/dropdown/dropdown.module.mjs +50 -0
  228. package/{esm2015/dropdown/dropdown.types.js → esm2020/dropdown/dropdown.types.mjs} +0 -0
  229. package/{esm2015/dropdown/index.js → esm2020/dropdown/index.mjs} +0 -0
  230. package/{esm2015/dropdown/ptsecurity-mosaic-dropdown.js → esm2020/dropdown/ptsecurity-mosaic-dropdown.mjs} +0 -0
  231. package/{esm2015/dropdown/public-api.js → esm2020/dropdown/public-api.mjs} +0 -0
  232. package/esm2020/form-field/cleaner.mjs +23 -0
  233. package/{esm2015/form-field/form-field-control.js → esm2020/form-field/form-field-control.mjs} +0 -0
  234. package/{esm2015/form-field/form-field-errors.js → esm2020/form-field/form-field-errors.mjs} +0 -0
  235. package/esm2020/form-field/form-field.mjs +205 -0
  236. package/esm2020/form-field/form-field.module.mjs +52 -0
  237. package/esm2020/form-field/hint.mjs +23 -0
  238. package/{esm2015/form-field/index.js → esm2020/form-field/index.mjs} +0 -0
  239. package/esm2020/form-field/prefix.mjs +13 -0
  240. package/{esm2015/form-field/ptsecurity-mosaic-form-field.js → esm2020/form-field/ptsecurity-mosaic-form-field.mjs} +0 -0
  241. package/{esm2015/form-field/public-api.js → esm2020/form-field/public-api.mjs} +0 -0
  242. package/esm2020/form-field/stepper.mjs +55 -0
  243. package/esm2020/form-field/suffix.mjs +13 -0
  244. package/esm2020/icon/icon.component.mjs +44 -0
  245. package/esm2020/icon/icon.module.mjs +38 -0
  246. package/{esm2015/icon/index.js → esm2020/icon/index.mjs} +0 -0
  247. package/{esm2015/icon/ptsecurity-mosaic-icon.js → esm2020/icon/ptsecurity-mosaic-icon.mjs} +0 -0
  248. package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
  249. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  250. package/{esm2015/input/index.js → esm2020/input/index.mjs} +0 -0
  251. package/{esm2015/input/input-errors.js → esm2020/input/input-errors.mjs} +0 -0
  252. package/esm2020/input/input-number-validators.mjs +92 -0
  253. package/esm2020/input/input-number.mjs +163 -0
  254. package/{esm2015/input/input-value-accessor.js → esm2020/input/input-value-accessor.mjs} +0 -0
  255. package/esm2020/input/input.mjs +333 -0
  256. package/esm2020/input/input.module.mjs +23 -0
  257. package/{esm2015/input/ptsecurity-mosaic-input.js → esm2020/input/ptsecurity-mosaic-input.mjs} +0 -0
  258. package/{esm2015/input/public-api.js → esm2020/input/public-api.mjs} +0 -0
  259. package/{esm2015/link/index.js → esm2020/link/index.mjs} +0 -0
  260. package/esm2020/link/link.component.mjs +107 -0
  261. package/esm2020/link/link.module.mjs +26 -0
  262. package/{esm2015/link/ptsecurity-mosaic-link.js → esm2020/link/ptsecurity-mosaic-link.mjs} +0 -0
  263. package/{esm2015/link/public-api.js → esm2020/link/public-api.mjs} +0 -0
  264. package/{esm2015/list/index.js → esm2020/list/index.mjs} +0 -0
  265. package/esm2020/list/list-selection.component.mjs +687 -0
  266. package/esm2020/list/list.component.mjs +44 -0
  267. package/esm2020/list/list.module.mjs +55 -0
  268. package/{esm2015/list/ptsecurity-mosaic-list.js → esm2020/list/ptsecurity-mosaic-list.mjs} +0 -0
  269. package/{esm2015/list/public-api.js → esm2020/list/public-api.mjs} +0 -0
  270. package/esm2020/modal/css-unit.pipe.mjs +17 -0
  271. package/{esm2015/modal/index.js → esm2020/modal/index.mjs} +0 -0
  272. package/esm2020/modal/modal-control.service.mjs +85 -0
  273. package/{esm2015/modal/modal-ref.class.js → esm2020/modal/modal-ref.class.mjs} +0 -0
  274. package/{esm2015/modal/modal-util.js → esm2020/modal/modal-util.mjs} +0 -0
  275. package/esm2020/modal/modal.component.mjs +501 -0
  276. package/esm2020/modal/modal.directive.mjs +52 -0
  277. package/esm2020/modal/modal.module.mjs +72 -0
  278. package/esm2020/modal/modal.service.mjs +124 -0
  279. package/{esm2015/modal/modal.type.js → esm2020/modal/modal.type.mjs} +0 -0
  280. package/{esm2015/modal/ptsecurity-mosaic-modal.js → esm2020/modal/ptsecurity-mosaic-modal.mjs} +0 -0
  281. package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
  282. package/{esm2015/navbar/index.js → esm2020/navbar/index.mjs} +0 -0
  283. package/esm2020/navbar/navbar-item.component.mjs +577 -0
  284. package/esm2020/navbar/navbar.component.mjs +237 -0
  285. package/esm2020/navbar/navbar.module.mjs +92 -0
  286. package/{esm2015/navbar/ptsecurity-mosaic-navbar.js → esm2020/navbar/ptsecurity-mosaic-navbar.mjs} +0 -0
  287. package/{esm2015/navbar/public-api.js → esm2020/navbar/public-api.mjs} +0 -0
  288. package/esm2020/navbar/vertical-navbar.animation.mjs +10 -0
  289. package/esm2020/navbar/vertical-navbar.component.mjs +114 -0
  290. package/{esm2015/popover/index.js → esm2020/popover/index.mjs} +0 -0
  291. package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
  292. package/esm2020/popover/popover-confirm.component.mjs +108 -0
  293. package/esm2020/popover/popover.component.mjs +253 -0
  294. package/esm2020/popover/popover.module.mjs +24 -0
  295. package/{esm2015/popover/ptsecurity-mosaic-popover.js → esm2020/popover/ptsecurity-mosaic-popover.mjs} +0 -0
  296. package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
  297. package/{esm2015/progress-bar/index.js → esm2020/progress-bar/index.mjs} +0 -0
  298. package/esm2020/progress-bar/progress-bar.component.mjs +42 -0
  299. package/esm2020/progress-bar/progress-bar.module.mjs +30 -0
  300. package/{esm2015/progress-bar/ptsecurity-mosaic-progress-bar.js → esm2020/progress-bar/ptsecurity-mosaic-progress-bar.mjs} +0 -0
  301. package/{esm2015/progress-bar/public-api.js → esm2020/progress-bar/public-api.mjs} +0 -0
  302. package/{esm2015/progress-spinner/index.js → esm2020/progress-spinner/index.mjs} +0 -0
  303. package/esm2020/progress-spinner/progress-spinner.component.mjs +46 -0
  304. package/esm2020/progress-spinner/progress-spinner.module.mjs +30 -0
  305. package/{esm2015/progress-spinner/ptsecurity-mosaic-progress-spinner.js → esm2020/progress-spinner/ptsecurity-mosaic-progress-spinner.mjs} +0 -0
  306. package/{esm2015/progress-spinner/public-api.js → esm2020/progress-spinner/public-api.mjs} +0 -0
  307. package/{esm2015/ptsecurity-mosaic.js → esm2020/ptsecurity-mosaic.mjs} +0 -0
  308. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  309. package/{esm2015/radio/index.js → esm2020/radio/index.mjs} +0 -0
  310. package/{esm2015/radio/ptsecurity-mosaic-radio.js → esm2020/radio/ptsecurity-mosaic-radio.mjs} +0 -0
  311. package/{esm2015/radio/public-api.js → esm2020/radio/public-api.mjs} +0 -0
  312. package/esm2020/radio/radio.component.mjs +458 -0
  313. package/esm2020/radio/radio.module.mjs +20 -0
  314. package/{esm2015/select/index.js → esm2020/select/index.mjs} +0 -0
  315. package/{esm2015/select/ptsecurity-mosaic-select.js → esm2020/select/ptsecurity-mosaic-select.mjs} +0 -0
  316. package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
  317. package/esm2020/select/select.component.mjs +1110 -0
  318. package/esm2020/select/select.module.mjs +64 -0
  319. package/{esm2015/sidebar/index.js → esm2020/sidebar/index.mjs} +0 -0
  320. package/{esm2015/sidebar/ptsecurity-mosaic-sidebar.js → esm2020/sidebar/ptsecurity-mosaic-sidebar.mjs} +0 -0
  321. package/{esm2015/sidebar/public-api.js → esm2020/sidebar/public-api.mjs} +0 -0
  322. package/{esm2015/sidebar/sidebar-animations.js → esm2020/sidebar/sidebar-animations.mjs} +0 -0
  323. package/esm2020/sidebar/sidebar.component.mjs +146 -0
  324. package/esm2020/sidebar/sidebar.module.mjs +30 -0
  325. package/{esm2015/sidepanel/index.js → esm2020/sidepanel/index.mjs} +0 -0
  326. package/{esm2015/sidepanel/ptsecurity-mosaic-sidepanel.js → esm2020/sidepanel/ptsecurity-mosaic-sidepanel.mjs} +0 -0
  327. package/{esm2015/sidepanel/public-api.js → esm2020/sidepanel/public-api.mjs} +0 -0
  328. package/{esm2015/sidepanel/sidepanel-animations.js → esm2020/sidepanel/sidepanel-animations.mjs} +0 -0
  329. package/{esm2015/sidepanel/sidepanel-config.js → esm2020/sidepanel/sidepanel-config.mjs} +0 -0
  330. package/esm2020/sidepanel/sidepanel-container.component.mjs +106 -0
  331. package/esm2020/sidepanel/sidepanel-directives.mjs +159 -0
  332. package/{esm2015/sidepanel/sidepanel-ref.js → esm2020/sidepanel/sidepanel-ref.mjs} +0 -0
  333. package/esm2020/sidepanel/sidepanel.module.mjs +74 -0
  334. package/esm2020/sidepanel/sidepanel.service.mjs +167 -0
  335. package/{esm2015/splitter/index.js → esm2020/splitter/index.mjs} +0 -0
  336. package/{esm2015/splitter/ptsecurity-mosaic-splitter.js → esm2020/splitter/ptsecurity-mosaic-splitter.mjs} +0 -0
  337. package/{esm2015/splitter/public-api.js → esm2020/splitter/public-api.mjs} +0 -0
  338. package/esm2020/splitter/splitter.component.mjs +480 -0
  339. package/esm2020/splitter/splitter.module.mjs +40 -0
  340. package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
  341. package/{esm2015/table/ptsecurity-mosaic-table.js → esm2020/table/ptsecurity-mosaic-table.mjs} +0 -0
  342. package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
  343. package/esm2020/table/table.component.mjs +16 -0
  344. package/esm2020/table/table.module.mjs +30 -0
  345. package/{esm2015/tabs/index.js → esm2020/tabs/index.mjs} +0 -0
  346. package/esm2020/tabs/paginated-tab-header.mjs +479 -0
  347. package/{esm2015/tabs/ptsecurity-mosaic-tabs.js → esm2020/tabs/ptsecurity-mosaic-tabs.mjs} +0 -0
  348. package/{esm2015/tabs/public-api.js → esm2020/tabs/public-api.mjs} +0 -0
  349. package/esm2020/tabs/tab-body.component.mjs +178 -0
  350. package/esm2020/tabs/tab-content.directive.mjs +15 -0
  351. package/esm2020/tabs/tab-group.component.mjs +350 -0
  352. package/esm2020/tabs/tab-header.component.mjs +67 -0
  353. package/esm2020/tabs/tab-label-wrapper.directive.mjs +78 -0
  354. package/esm2020/tabs/tab-label.directive.mjs +17 -0
  355. package/{esm2015/tabs/tab-nav-bar/index.js → esm2020/tabs/tab-nav-bar/index.mjs} +0 -0
  356. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +110 -0
  357. package/esm2020/tabs/tab.component.mjs +133 -0
  358. package/{esm2015/tabs/tabs-animations.js → esm2020/tabs/tabs-animations.mjs} +0 -0
  359. package/esm2020/tabs/tabs.module.mjs +104 -0
  360. package/{esm2015/tags/index.js → esm2020/tags/index.mjs} +0 -0
  361. package/{esm2015/tags/ptsecurity-mosaic-tags.js → esm2020/tags/ptsecurity-mosaic-tags.mjs} +0 -0
  362. package/{esm2015/tags/public-api.js → esm2020/tags/public-api.mjs} +0 -0
  363. package/{esm2015/tags/tag-default-options.js → esm2020/tags/tag-default-options.mjs} +0 -0
  364. package/esm2020/tags/tag-input.mjs +229 -0
  365. package/esm2020/tags/tag-list.component.mjs +722 -0
  366. package/{esm2015/tags/tag-text-control.js → esm2020/tags/tag-text-control.mjs} +0 -0
  367. package/esm2020/tags/tag.component.mjs +377 -0
  368. package/esm2020/tags/tag.module.mjs +56 -0
  369. package/{esm2015/textarea/index.js → esm2020/textarea/index.mjs} +0 -0
  370. package/{esm2015/textarea/ptsecurity-mosaic-textarea.js → esm2020/textarea/ptsecurity-mosaic-textarea.mjs} +0 -0
  371. package/{esm2015/textarea/public-api.js → esm2020/textarea/public-api.mjs} +0 -0
  372. package/esm2020/textarea/textarea.component.mjs +268 -0
  373. package/esm2020/textarea/textarea.module.mjs +21 -0
  374. package/{esm2015/timepicker/index.js → esm2020/timepicker/index.mjs} +0 -0
  375. package/{esm2015/timepicker/ptsecurity-mosaic-timepicker.js → esm2020/timepicker/ptsecurity-mosaic-timepicker.mjs} +0 -0
  376. package/{esm2015/timepicker/public-api.js → esm2020/timepicker/public-api.mjs} +0 -0
  377. package/{esm2015/timepicker/timepicker.constants.js → esm2020/timepicker/timepicker.constants.mjs} +0 -0
  378. package/esm2020/timepicker/timepicker.directive.mjs +653 -0
  379. package/esm2020/timepicker/timepicker.module.mjs +34 -0
  380. package/{esm2015/toggle/index.js → esm2020/toggle/index.mjs} +0 -0
  381. package/{esm2015/toggle/ptsecurity-mosaic-toggle.js → esm2020/toggle/ptsecurity-mosaic-toggle.mjs} +0 -0
  382. package/{esm2015/toggle/public-api.js → esm2020/toggle/public-api.mjs} +0 -0
  383. package/esm2020/toggle/toggle.component.mjs +158 -0
  384. package/esm2020/toggle/toggle.module.mjs +20 -0
  385. package/{esm2015/tooltip/index.js → esm2020/tooltip/index.mjs} +0 -0
  386. package/{esm2015/tooltip/ptsecurity-mosaic-tooltip.js → esm2020/tooltip/ptsecurity-mosaic-tooltip.mjs} +0 -0
  387. package/{esm2015/tooltip/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
  388. package/{esm2015/tooltip/tooltip.animations.js → esm2020/tooltip/tooltip.animations.mjs} +0 -0
  389. package/esm2020/tooltip/tooltip.component.mjs +291 -0
  390. package/esm2020/tooltip/tooltip.module.mjs +43 -0
  391. package/{esm2015/tree/control/base-tree-control.js → esm2020/tree/control/base-tree-control.mjs} +0 -0
  392. package/{esm2015/tree/control/flat-tree-control.js → esm2020/tree/control/flat-tree-control.mjs} +0 -0
  393. package/{esm2015/tree/control/nested-tree-control.js → esm2020/tree/control/nested-tree-control.mjs} +0 -0
  394. package/{esm2015/tree/control/tree-control.js → esm2020/tree/control/tree-control.mjs} +0 -0
  395. package/esm2020/tree/data-source/flat-data-source.mjs +162 -0
  396. package/{esm2015/tree/data-source/nested-data-source.js → esm2020/tree/data-source/nested-data-source.mjs} +0 -0
  397. package/{esm2015/tree/index.js → esm2020/tree/index.mjs} +0 -0
  398. package/esm2020/tree/node.mjs +31 -0
  399. package/esm2020/tree/outlet.mjs +15 -0
  400. package/esm2020/tree/padding.directive.mjs +110 -0
  401. package/{esm2015/tree/ptsecurity-mosaic-tree.js → esm2020/tree/ptsecurity-mosaic-tree.mjs} +0 -0
  402. package/{esm2015/tree/public-api.js → esm2020/tree/public-api.mjs} +0 -0
  403. package/esm2020/tree/toggle.mjs +80 -0
  404. package/esm2020/tree/tree-base.mjs +243 -0
  405. package/{esm2015/tree/tree-errors.js → esm2020/tree/tree-errors.mjs} +0 -0
  406. package/esm2020/tree/tree-option.component.mjs +234 -0
  407. package/esm2020/tree/tree-selection.component.mjs +533 -0
  408. package/esm2020/tree/tree.mjs +15 -0
  409. package/esm2020/tree/tree.module.mjs +53 -0
  410. package/{esm2015/tree-select/index.js → esm2020/tree-select/index.mjs} +0 -0
  411. package/{esm2015/tree-select/ptsecurity-mosaic-tree-select.js → esm2020/tree-select/ptsecurity-mosaic-tree-select.mjs} +0 -0
  412. package/{esm2015/tree-select/public-api.js → esm2020/tree-select/public-api.mjs} +0 -0
  413. package/esm2020/tree-select/tree-select.component.mjs +925 -0
  414. package/esm2020/tree-select/tree-select.module.mjs +47 -0
  415. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +756 -0
  416. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -0
  417. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +385 -0
  418. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -0
  419. package/fesm2015/ptsecurity-mosaic-button.mjs +170 -0
  420. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -0
  421. package/fesm2015/ptsecurity-mosaic-card.mjs +113 -0
  422. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -0
  423. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +366 -0
  424. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -0
  425. package/fesm2015/ptsecurity-mosaic-core.mjs +2706 -0
  426. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -0
  427. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +2700 -0
  428. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -0
  429. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +2925 -0
  430. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -0
  431. package/fesm2015/ptsecurity-mosaic-divider.mjs +61 -0
  432. package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -0
  433. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +1106 -0
  434. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -0
  435. package/fesm2015/ptsecurity-mosaic-form-field.mjs +378 -0
  436. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -0
  437. package/fesm2015/ptsecurity-mosaic-icon.mjs +88 -0
  438. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -0
  439. package/fesm2015/ptsecurity-mosaic-input.mjs +609 -0
  440. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -0
  441. package/fesm2015/ptsecurity-mosaic-link.mjs +137 -0
  442. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -0
  443. package/fesm2015/ptsecurity-mosaic-list.mjs +791 -0
  444. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -0
  445. package/fesm2015/ptsecurity-mosaic-modal.mjs +864 -0
  446. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -0
  447. package/fesm2015/ptsecurity-mosaic-navbar.mjs +1025 -0
  448. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -0
  449. package/fesm2015/ptsecurity-mosaic-popover.mjs +393 -0
  450. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -0
  451. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +76 -0
  452. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -0
  453. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +80 -0
  454. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -0
  455. package/fesm2015/ptsecurity-mosaic-radio.mjs +481 -0
  456. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -0
  457. package/fesm2015/ptsecurity-mosaic-select.mjs +1175 -0
  458. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -0
  459. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +202 -0
  460. package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -0
  461. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +592 -0
  462. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -0
  463. package/fesm2015/ptsecurity-mosaic-splitter.mjs +524 -0
  464. package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -0
  465. package/fesm2015/ptsecurity-mosaic-table.mjs +50 -0
  466. package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -0
  467. package/fesm2015/ptsecurity-mosaic-tabs.mjs +1511 -0
  468. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -0
  469. package/fesm2015/ptsecurity-mosaic-tags.mjs +1377 -0
  470. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -0
  471. package/fesm2015/ptsecurity-mosaic-textarea.mjs +293 -0
  472. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -0
  473. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +715 -0
  474. package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -0
  475. package/fesm2015/ptsecurity-mosaic-toggle.mjs +180 -0
  476. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -0
  477. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +362 -0
  478. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -0
  479. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +972 -0
  480. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -0
  481. package/fesm2015/ptsecurity-mosaic-tree.mjs +1718 -0
  482. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -0
  483. package/fesm2015/ptsecurity-mosaic.mjs +4 -0
  484. package/fesm2015/ptsecurity-mosaic.mjs.map +1 -0
  485. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +752 -0
  486. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -0
  487. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +383 -0
  488. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -0
  489. package/fesm2020/ptsecurity-mosaic-button.mjs +170 -0
  490. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -0
  491. package/fesm2020/ptsecurity-mosaic-card.mjs +113 -0
  492. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -0
  493. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +364 -0
  494. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -0
  495. package/fesm2020/ptsecurity-mosaic-core.mjs +2735 -0
  496. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -0
  497. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +2687 -0
  498. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -0
  499. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +2925 -0
  500. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -0
  501. package/fesm2020/ptsecurity-mosaic-divider.mjs +61 -0
  502. package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -0
  503. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +1093 -0
  504. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -0
  505. package/fesm2020/ptsecurity-mosaic-form-field.mjs +377 -0
  506. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -0
  507. package/fesm2020/ptsecurity-mosaic-icon.mjs +86 -0
  508. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -0
  509. package/fesm2020/ptsecurity-mosaic-input.mjs +605 -0
  510. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -0
  511. package/fesm2020/ptsecurity-mosaic-link.mjs +136 -0
  512. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -0
  513. package/fesm2020/ptsecurity-mosaic-list.mjs +784 -0
  514. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -0
  515. package/fesm2020/ptsecurity-mosaic-modal.mjs +860 -0
  516. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -0
  517. package/fesm2020/ptsecurity-mosaic-navbar.mjs +1009 -0
  518. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -0
  519. package/fesm2020/ptsecurity-mosaic-popover.mjs +389 -0
  520. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -0
  521. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +76 -0
  522. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -0
  523. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +80 -0
  524. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -0
  525. package/fesm2020/ptsecurity-mosaic-radio.mjs +479 -0
  526. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -0
  527. package/fesm2020/ptsecurity-mosaic-select.mjs +1173 -0
  528. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -0
  529. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +202 -0
  530. package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -0
  531. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +589 -0
  532. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -0
  533. package/fesm2020/ptsecurity-mosaic-splitter.mjs +524 -0
  534. package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -0
  535. package/fesm2020/ptsecurity-mosaic-table.mjs +50 -0
  536. package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -0
  537. package/fesm2020/ptsecurity-mosaic-tabs.mjs +1496 -0
  538. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -0
  539. package/fesm2020/ptsecurity-mosaic-tags.mjs +1370 -0
  540. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -0
  541. package/fesm2020/ptsecurity-mosaic-textarea.mjs +291 -0
  542. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -0
  543. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +713 -0
  544. package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -0
  545. package/fesm2020/ptsecurity-mosaic-toggle.mjs +180 -0
  546. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -0
  547. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +354 -0
  548. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -0
  549. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +970 -0
  550. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -0
  551. package/fesm2020/ptsecurity-mosaic-tree.mjs +1705 -0
  552. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -0
  553. package/fesm2020/ptsecurity-mosaic.mjs +4 -0
  554. package/fesm2020/ptsecurity-mosaic.mjs.map +1 -0
  555. package/form-field/README.md +0 -0
  556. package/form-field/package.json +5 -5
  557. package/icon/README.md +0 -0
  558. package/icon/package.json +5 -5
  559. package/input/package.json +5 -5
  560. package/link/README.md +0 -0
  561. package/link/package.json +5 -5
  562. package/list/README.md +0 -0
  563. package/list/package.json +5 -5
  564. package/modal/README.md +34 -0
  565. package/modal/modal-control.service.d.ts +1 -0
  566. package/modal/package.json +5 -5
  567. package/navbar/README.md +41 -0
  568. package/navbar/navbar-item.component.d.ts +122 -34
  569. package/navbar/navbar.component.d.ts +37 -9
  570. package/navbar/navbar.module.d.ts +2 -1
  571. package/navbar/package.json +5 -5
  572. package/navbar/vertical-navbar.component.d.ts +15 -26
  573. package/package.json +299 -14
  574. package/popover/README.md +32 -0
  575. package/popover/package.json +5 -5
  576. package/popover/popover.component.d.ts +2 -0
  577. package/popover/popover.module.d.ts +2 -1
  578. package/prebuilt-themes/dark-theme.css +1 -1
  579. package/prebuilt-themes/default-theme.css +1 -1
  580. package/prebuilt-visual/default-visual.css +1 -1
  581. package/progress-bar/README.md +0 -0
  582. package/progress-bar/package.json +5 -5
  583. package/progress-spinner/README.md +0 -0
  584. package/progress-spinner/package.json +5 -5
  585. package/radio/package.json +5 -5
  586. package/schematics/README.md +35 -0
  587. package/schematics/ng-update/data/index.d.ts +1 -0
  588. package/schematics/ng-update/data/index.js +10 -9
  589. package/schematics/ng-update/data/index.js.map +1 -1
  590. package/schematics/ng-update/data/symbol-removal.d.ts +2 -0
  591. package/schematics/ng-update/data/symbol-removal.js +5 -0
  592. package/schematics/ng-update/data/symbol-removal.js.map +1 -0
  593. package/schematics/ng-update/index.js +3 -3
  594. package/schematics/ng-update/index.js.map +1 -1
  595. package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js +1 -2
  596. package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js.map +1 -1
  597. package/schematics/ng-update/upgrade-data.js +2 -1
  598. package/schematics/ng-update/upgrade-data.js.map +1 -1
  599. package/schematics/tsconfig.lib.json +2 -2
  600. package/select/README.md +0 -0
  601. package/select/package.json +5 -5
  602. package/sidebar/package.json +5 -5
  603. package/sidepanel/package.json +5 -5
  604. package/splitter/package.json +5 -5
  605. package/splitter/splitter.component.d.ts +46 -5
  606. package/splitter/splitter.module.d.ts +1 -1
  607. package/table/README.md +0 -0
  608. package/table/package.json +5 -5
  609. package/tabs/README.md +0 -0
  610. package/tabs/package.json +5 -5
  611. package/tags/README.md +0 -0
  612. package/tags/package.json +5 -5
  613. package/tags/tag.component.d.ts +20 -20
  614. package/textarea/README.md +0 -0
  615. package/textarea/package.json +5 -5
  616. package/timepicker/README.md +0 -0
  617. package/timepicker/package.json +5 -5
  618. package/toggle/package.json +5 -5
  619. package/tooltip/package.json +5 -5
  620. package/tree/data-source/flat-data-source.d.ts +2 -2
  621. package/tree/package.json +5 -5
  622. package/tree/toggle.d.ts +1 -1
  623. package/tree/tree-option.component.d.ts +5 -3
  624. package/tree/tree-selection.component.d.ts +1 -0
  625. package/tree-select/README.md +0 -0
  626. package/tree-select/package.json +5 -5
  627. package/tree-select/tree-select.component.d.ts +9 -1
  628. package/tree-select/tree-select.module.d.ts +2 -1
  629. package/bundles/ptsecurity-mosaic-autocomplete.umd.js +0 -1160
  630. package/bundles/ptsecurity-mosaic-autocomplete.umd.js.map +0 -1
  631. package/bundles/ptsecurity-mosaic-button-toggle.umd.js +0 -755
  632. package/bundles/ptsecurity-mosaic-button-toggle.umd.js.map +0 -1
  633. package/bundles/ptsecurity-mosaic-button.umd.js +0 -533
  634. package/bundles/ptsecurity-mosaic-button.umd.js.map +0 -1
  635. package/bundles/ptsecurity-mosaic-card.umd.js +0 -479
  636. package/bundles/ptsecurity-mosaic-card.umd.js.map +0 -1
  637. package/bundles/ptsecurity-mosaic-checkbox.umd.js +0 -762
  638. package/bundles/ptsecurity-mosaic-checkbox.umd.js.map +0 -1
  639. package/bundles/ptsecurity-mosaic-core.umd.js +0 -2843
  640. package/bundles/ptsecurity-mosaic-core.umd.js.map +0 -1
  641. package/bundles/ptsecurity-mosaic-datepicker.umd.js +0 -3355
  642. package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +0 -1
  643. package/bundles/ptsecurity-mosaic-design-tokens.umd.js +0 -1872
  644. package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +0 -1
  645. package/bundles/ptsecurity-mosaic-divider.umd.js +0 -106
  646. package/bundles/ptsecurity-mosaic-divider.umd.js.map +0 -1
  647. package/bundles/ptsecurity-mosaic-dropdown.umd.js +0 -1517
  648. package/bundles/ptsecurity-mosaic-dropdown.umd.js.map +0 -1
  649. package/bundles/ptsecurity-mosaic-form-field.umd.js +0 -788
  650. package/bundles/ptsecurity-mosaic-form-field.umd.js.map +0 -1
  651. package/bundles/ptsecurity-mosaic-icon.umd.js +0 -450
  652. package/bundles/ptsecurity-mosaic-icon.umd.js.map +0 -1
  653. package/bundles/ptsecurity-mosaic-input.umd.js +0 -1008
  654. package/bundles/ptsecurity-mosaic-input.umd.js.map +0 -1
  655. package/bundles/ptsecurity-mosaic-link.umd.js +0 -515
  656. package/bundles/ptsecurity-mosaic-link.umd.js.map +0 -1
  657. package/bundles/ptsecurity-mosaic-list.umd.js +0 -1256
  658. package/bundles/ptsecurity-mosaic-list.umd.js.map +0 -1
  659. package/bundles/ptsecurity-mosaic-modal.umd.js +0 -1305
  660. package/bundles/ptsecurity-mosaic-modal.umd.js.map +0 -1
  661. package/bundles/ptsecurity-mosaic-navbar.umd.js +0 -930
  662. package/bundles/ptsecurity-mosaic-navbar.umd.js.map +0 -1
  663. package/bundles/ptsecurity-mosaic-popover.umd.js +0 -830
  664. package/bundles/ptsecurity-mosaic-popover.umd.js.map +0 -1
  665. package/bundles/ptsecurity-mosaic-progress-bar.umd.js +0 -440
  666. package/bundles/ptsecurity-mosaic-progress-bar.umd.js.map +0 -1
  667. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js +0 -448
  668. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js.map +0 -1
  669. package/bundles/ptsecurity-mosaic-radio.umd.js +0 -901
  670. package/bundles/ptsecurity-mosaic-radio.umd.js.map +0 -1
  671. package/bundles/ptsecurity-mosaic-select.umd.js +0 -1606
  672. package/bundles/ptsecurity-mosaic-select.umd.js.map +0 -1
  673. package/bundles/ptsecurity-mosaic-sidebar.umd.js +0 -254
  674. package/bundles/ptsecurity-mosaic-sidebar.umd.js.map +0 -1
  675. package/bundles/ptsecurity-mosaic-sidepanel.umd.js +0 -954
  676. package/bundles/ptsecurity-mosaic-sidepanel.umd.js.map +0 -1
  677. package/bundles/ptsecurity-mosaic-splitter.umd.js +0 -436
  678. package/bundles/ptsecurity-mosaic-splitter.umd.js.map +0 -1
  679. package/bundles/ptsecurity-mosaic-table.umd.js +0 -81
  680. package/bundles/ptsecurity-mosaic-table.umd.js.map +0 -1
  681. package/bundles/ptsecurity-mosaic-tabs.umd.js +0 -2013
  682. package/bundles/ptsecurity-mosaic-tabs.umd.js.map +0 -1
  683. package/bundles/ptsecurity-mosaic-tags.umd.js +0 -1911
  684. package/bundles/ptsecurity-mosaic-tags.umd.js.map +0 -1
  685. package/bundles/ptsecurity-mosaic-textarea.umd.js +0 -664
  686. package/bundles/ptsecurity-mosaic-textarea.umd.js.map +0 -1
  687. package/bundles/ptsecurity-mosaic-timepicker.umd.js +0 -820
  688. package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +0 -1
  689. package/bundles/ptsecurity-mosaic-toggle.umd.js +0 -557
  690. package/bundles/ptsecurity-mosaic-toggle.umd.js.map +0 -1
  691. package/bundles/ptsecurity-mosaic-tooltip.umd.js +0 -777
  692. package/bundles/ptsecurity-mosaic-tooltip.umd.js.map +0 -1
  693. package/bundles/ptsecurity-mosaic-tree-select.umd.js +0 -1368
  694. package/bundles/ptsecurity-mosaic-tree-select.umd.js.map +0 -1
  695. package/bundles/ptsecurity-mosaic-tree.umd.js +0 -2301
  696. package/bundles/ptsecurity-mosaic-tree.umd.js.map +0 -1
  697. package/bundles/ptsecurity-mosaic.umd.js +0 -11
  698. package/bundles/ptsecurity-mosaic.umd.js.map +0 -1
  699. package/design-tokens/tokens/components/checkbox.json5 +0 -39
  700. package/design-tokens/tokens/components/modal.json5 +0 -67
  701. package/design-tokens/tokens/components/navbar.json5 +0 -64
  702. package/design-tokens/tokens/components/radio.json5 +0 -45
  703. package/design-tokens/tokens/components/tags.json5 +0 -126
  704. package/design-tokens/tokens/components/toggle.json5 +0 -55
  705. package/design-tokens/tokens.d.ts +0 -7637
  706. package/esm2015/autocomplete/autocomplete-origin.directive.js +0 -21
  707. package/esm2015/autocomplete/autocomplete-trigger.directive.js +0 -555
  708. package/esm2015/autocomplete/autocomplete.component.js +0 -163
  709. package/esm2015/autocomplete/autocomplete.module.js +0 -34
  710. package/esm2015/button/button.component.js +0 -129
  711. package/esm2015/button/button.module.js +0 -42
  712. package/esm2015/button-toggle/button-toggle.component.js +0 -370
  713. package/esm2015/button-toggle/button-toggle.module.js +0 -19
  714. package/esm2015/card/card.component.js +0 -88
  715. package/esm2015/card/card.module.js +0 -30
  716. package/esm2015/checkbox/checkbox-module.js +0 -19
  717. package/esm2015/checkbox/checkbox-required-validator.js +0 -27
  718. package/esm2015/checkbox/checkbox.js +0 -325
  719. package/esm2015/core/common-behaviors/common-module.js +0 -83
  720. package/esm2015/core/error/error-options.js +0 -26
  721. package/esm2015/core/formatters/date/formatter.js +0 -288
  722. package/esm2015/core/formatters/date/templates/en-US.js +0 -280
  723. package/esm2015/core/formatters/date/templates/ru-RU.js +0 -280
  724. package/esm2015/core/formatters/index.js +0 -20
  725. package/esm2015/core/formatters/number/formatter.js +0 -99
  726. package/esm2015/core/forms/forms-module.js +0 -24
  727. package/esm2015/core/forms/forms.directive.js +0 -66
  728. package/esm2015/core/highlight/highlight.pipe.js +0 -17
  729. package/esm2015/core/highlight/index.js +0 -19
  730. package/esm2015/core/line/line.js +0 -70
  731. package/esm2015/core/option/action.js +0 -131
  732. package/esm2015/core/option/optgroup.js +0 -40
  733. package/esm2015/core/option/option-module.js +0 -21
  734. package/esm2015/core/option/option.js +0 -262
  735. package/esm2015/core/pop-up/pop-up-trigger.js +0 -241
  736. package/esm2015/core/pop-up/pop-up.js +0 -87
  737. package/esm2015/core/public-api.js +0 -17
  738. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +0 -45
  739. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.module.js +0 -18
  740. package/esm2015/core/services/measure-scrollbar.service.js +0 -48
  741. package/esm2015/datepicker/calendar-body.component.js +0 -114
  742. package/esm2015/datepicker/calendar.component.js +0 -377
  743. package/esm2015/datepicker/datepicker-input.directive.js +0 -885
  744. package/esm2015/datepicker/datepicker-intl.js +0 -40
  745. package/esm2015/datepicker/datepicker-module.js +0 -107
  746. package/esm2015/datepicker/datepicker-toggle.component.js +0 -94
  747. package/esm2015/datepicker/datepicker.component.js +0 -418
  748. package/esm2015/datepicker/month-view.component.js +0 -263
  749. package/esm2015/datepicker/multi-year-view.component.js +0 -224
  750. package/esm2015/datepicker/year-view.component.js +0 -259
  751. package/esm2015/design-tokens/public-api.js +0 -2
  752. package/esm2015/design-tokens/tokens.js +0 -931
  753. package/esm2015/divider/divider.component.js +0 -46
  754. package/esm2015/divider/divider.module.js +0 -18
  755. package/esm2015/dropdown/dropdown-content.directive.js +0 -66
  756. package/esm2015/dropdown/dropdown-item.component.js +0 -142
  757. package/esm2015/dropdown/dropdown-trigger.directive.js +0 -478
  758. package/esm2015/dropdown/dropdown.component.js +0 -302
  759. package/esm2015/dropdown/dropdown.module.js +0 -50
  760. package/esm2015/form-field/cleaner.js +0 -23
  761. package/esm2015/form-field/form-field.js +0 -224
  762. package/esm2015/form-field/form-field.module.js +0 -52
  763. package/esm2015/form-field/hint.js +0 -23
  764. package/esm2015/form-field/prefix.js +0 -13
  765. package/esm2015/form-field/stepper.js +0 -55
  766. package/esm2015/form-field/suffix.js +0 -13
  767. package/esm2015/icon/icon.component.js +0 -51
  768. package/esm2015/icon/icon.module.js +0 -38
  769. package/esm2015/input/input-number-validators.js +0 -92
  770. package/esm2015/input/input-number.js +0 -163
  771. package/esm2015/input/input.js +0 -333
  772. package/esm2015/input/input.module.js +0 -23
  773. package/esm2015/link/link.component.js +0 -108
  774. package/esm2015/link/link.module.js +0 -26
  775. package/esm2015/list/list-selection.component.js +0 -716
  776. package/esm2015/list/list.component.js +0 -58
  777. package/esm2015/list/list.module.js +0 -55
  778. package/esm2015/modal/css-unit.pipe.js +0 -17
  779. package/esm2015/modal/modal-control.service.js +0 -63
  780. package/esm2015/modal/modal.component.js +0 -508
  781. package/esm2015/modal/modal.directive.js +0 -52
  782. package/esm2015/modal/modal.module.js +0 -72
  783. package/esm2015/modal/modal.service.js +0 -117
  784. package/esm2015/navbar/navbar-item.component.js +0 -209
  785. package/esm2015/navbar/navbar.component.js +0 -118
  786. package/esm2015/navbar/navbar.module.js +0 -76
  787. package/esm2015/navbar/vertical-navbar.animation.js +0 -10
  788. package/esm2015/navbar/vertical-navbar.component.js +0 -140
  789. package/esm2015/popover/popover-confirm.component.js +0 -115
  790. package/esm2015/popover/popover.component.js +0 -256
  791. package/esm2015/popover/popover.module.js +0 -23
  792. package/esm2015/progress-bar/progress-bar.component.js +0 -50
  793. package/esm2015/progress-bar/progress-bar.module.js +0 -30
  794. package/esm2015/progress-spinner/progress-spinner.component.js +0 -54
  795. package/esm2015/progress-spinner/progress-spinner.module.js +0 -30
  796. package/esm2015/radio/radio.component.js +0 -467
  797. package/esm2015/radio/radio.module.js +0 -20
  798. package/esm2015/select/select.component.js +0 -1122
  799. package/esm2015/select/select.module.js +0 -64
  800. package/esm2015/sidebar/sidebar.component.js +0 -155
  801. package/esm2015/sidebar/sidebar.module.js +0 -30
  802. package/esm2015/sidepanel/sidepanel-container.component.js +0 -114
  803. package/esm2015/sidepanel/sidepanel-directives.js +0 -159
  804. package/esm2015/sidepanel/sidepanel.module.js +0 -74
  805. package/esm2015/sidepanel/sidepanel.service.js +0 -164
  806. package/esm2015/splitter/splitter.component.js +0 -331
  807. package/esm2015/splitter/splitter.module.js +0 -38
  808. package/esm2015/table/table.component.js +0 -16
  809. package/esm2015/table/table.module.js +0 -30
  810. package/esm2015/tabs/paginated-tab-header.js +0 -482
  811. package/esm2015/tabs/tab-body.component.js +0 -186
  812. package/esm2015/tabs/tab-content.directive.js +0 -15
  813. package/esm2015/tabs/tab-group.component.js +0 -359
  814. package/esm2015/tabs/tab-header.component.js +0 -76
  815. package/esm2015/tabs/tab-label-wrapper.directive.js +0 -78
  816. package/esm2015/tabs/tab-label.directive.js +0 -17
  817. package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +0 -118
  818. package/esm2015/tabs/tab.component.js +0 -133
  819. package/esm2015/tabs/tabs.module.js +0 -104
  820. package/esm2015/tags/tag-input.js +0 -229
  821. package/esm2015/tags/tag-list.component.js +0 -732
  822. package/esm2015/tags/tag.component.js +0 -382
  823. package/esm2015/tags/tag.module.js +0 -56
  824. package/esm2015/textarea/textarea.component.js +0 -268
  825. package/esm2015/textarea/textarea.module.js +0 -21
  826. package/esm2015/timepicker/timepicker.directive.js +0 -652
  827. package/esm2015/timepicker/timepicker.module.js +0 -34
  828. package/esm2015/toggle/toggle.component.js +0 -169
  829. package/esm2015/toggle/toggle.module.js +0 -20
  830. package/esm2015/tooltip/tooltip.component.js +0 -299
  831. package/esm2015/tooltip/tooltip.module.js +0 -43
  832. package/esm2015/tree/data-source/flat-data-source.js +0 -162
  833. package/esm2015/tree/node.js +0 -31
  834. package/esm2015/tree/outlet.js +0 -15
  835. package/esm2015/tree/padding.directive.js +0 -111
  836. package/esm2015/tree/toggle.js +0 -89
  837. package/esm2015/tree/tree-base.js +0 -243
  838. package/esm2015/tree/tree-option.component.js +0 -238
  839. package/esm2015/tree/tree-selection.component.js +0 -541
  840. package/esm2015/tree/tree.js +0 -23
  841. package/esm2015/tree/tree.module.js +0 -53
  842. package/esm2015/tree-select/tree-select.component.js +0 -900
  843. package/esm2015/tree-select/tree-select.module.js +0 -43
  844. package/fesm2015/ptsecurity-mosaic-autocomplete.js +0 -761
  845. package/fesm2015/ptsecurity-mosaic-autocomplete.js.map +0 -1
  846. package/fesm2015/ptsecurity-mosaic-button-toggle.js +0 -391
  847. package/fesm2015/ptsecurity-mosaic-button-toggle.js.map +0 -1
  848. package/fesm2015/ptsecurity-mosaic-button.js +0 -174
  849. package/fesm2015/ptsecurity-mosaic-button.js.map +0 -1
  850. package/fesm2015/ptsecurity-mosaic-card.js +0 -121
  851. package/fesm2015/ptsecurity-mosaic-card.js.map +0 -1
  852. package/fesm2015/ptsecurity-mosaic-checkbox.js +0 -374
  853. package/fesm2015/ptsecurity-mosaic-checkbox.js.map +0 -1
  854. package/fesm2015/ptsecurity-mosaic-core.js +0 -2682
  855. package/fesm2015/ptsecurity-mosaic-core.js.map +0 -1
  856. package/fesm2015/ptsecurity-mosaic-datepicker.js +0 -2731
  857. package/fesm2015/ptsecurity-mosaic-datepicker.js.map +0 -1
  858. package/fesm2015/ptsecurity-mosaic-design-tokens.js +0 -937
  859. package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +0 -1
  860. package/fesm2015/ptsecurity-mosaic-divider.js +0 -68
  861. package/fesm2015/ptsecurity-mosaic-divider.js.map +0 -1
  862. package/fesm2015/ptsecurity-mosaic-dropdown.js +0 -1101
  863. package/fesm2015/ptsecurity-mosaic-dropdown.js.map +0 -1
  864. package/fesm2015/ptsecurity-mosaic-form-field.js +0 -396
  865. package/fesm2015/ptsecurity-mosaic-form-field.js.map +0 -1
  866. package/fesm2015/ptsecurity-mosaic-icon.js +0 -93
  867. package/fesm2015/ptsecurity-mosaic-icon.js.map +0 -1
  868. package/fesm2015/ptsecurity-mosaic-input.js +0 -605
  869. package/fesm2015/ptsecurity-mosaic-input.js.map +0 -1
  870. package/fesm2015/ptsecurity-mosaic-link.js +0 -137
  871. package/fesm2015/ptsecurity-mosaic-link.js.map +0 -1
  872. package/fesm2015/ptsecurity-mosaic-list.js +0 -827
  873. package/fesm2015/ptsecurity-mosaic-list.js.map +0 -1
  874. package/fesm2015/ptsecurity-mosaic-modal.js +0 -838
  875. package/fesm2015/ptsecurity-mosaic-modal.js.map +0 -1
  876. package/fesm2015/ptsecurity-mosaic-navbar.js +0 -539
  877. package/fesm2015/ptsecurity-mosaic-navbar.js.map +0 -1
  878. package/fesm2015/ptsecurity-mosaic-popover.js +0 -399
  879. package/fesm2015/ptsecurity-mosaic-popover.js.map +0 -1
  880. package/fesm2015/ptsecurity-mosaic-progress-bar.js +0 -84
  881. package/fesm2015/ptsecurity-mosaic-progress-bar.js.map +0 -1
  882. package/fesm2015/ptsecurity-mosaic-progress-spinner.js +0 -88
  883. package/fesm2015/ptsecurity-mosaic-progress-spinner.js.map +0 -1
  884. package/fesm2015/ptsecurity-mosaic-radio.js +0 -488
  885. package/fesm2015/ptsecurity-mosaic-radio.js.map +0 -1
  886. package/fesm2015/ptsecurity-mosaic-select.js +0 -1185
  887. package/fesm2015/ptsecurity-mosaic-select.js.map +0 -1
  888. package/fesm2015/ptsecurity-mosaic-sidebar.js +0 -211
  889. package/fesm2015/ptsecurity-mosaic-sidebar.js.map +0 -1
  890. package/fesm2015/ptsecurity-mosaic-sidepanel.js +0 -594
  891. package/fesm2015/ptsecurity-mosaic-sidepanel.js.map +0 -1
  892. package/fesm2015/ptsecurity-mosaic-splitter.js +0 -373
  893. package/fesm2015/ptsecurity-mosaic-splitter.js.map +0 -1
  894. package/fesm2015/ptsecurity-mosaic-table.js +0 -50
  895. package/fesm2015/ptsecurity-mosaic-table.js.map +0 -1
  896. package/fesm2015/ptsecurity-mosaic-tabs.js +0 -1533
  897. package/fesm2015/ptsecurity-mosaic-tabs.js.map +0 -1
  898. package/fesm2015/ptsecurity-mosaic-tags.js +0 -1385
  899. package/fesm2015/ptsecurity-mosaic-tags.js.map +0 -1
  900. package/fesm2015/ptsecurity-mosaic-textarea.js +0 -291
  901. package/fesm2015/ptsecurity-mosaic-textarea.js.map +0 -1
  902. package/fesm2015/ptsecurity-mosaic-timepicker.js +0 -712
  903. package/fesm2015/ptsecurity-mosaic-timepicker.js.map +0 -1
  904. package/fesm2015/ptsecurity-mosaic-toggle.js +0 -191
  905. package/fesm2015/ptsecurity-mosaic-toggle.js.map +0 -1
  906. package/fesm2015/ptsecurity-mosaic-tooltip.js +0 -362
  907. package/fesm2015/ptsecurity-mosaic-tooltip.js.map +0 -1
  908. package/fesm2015/ptsecurity-mosaic-tree-select.js +0 -942
  909. package/fesm2015/ptsecurity-mosaic-tree-select.js.map +0 -1
  910. package/fesm2015/ptsecurity-mosaic-tree.js +0 -1735
  911. package/fesm2015/ptsecurity-mosaic-tree.js.map +0 -1
  912. package/fesm2015/ptsecurity-mosaic.js +0 -4
  913. package/fesm2015/ptsecurity-mosaic.js.map +0 -1
@@ -1,1606 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/overlay'), require('@angular/common'), require('@angular/core'), require('@ptsecurity/mosaic/core'), require('@ptsecurity/mosaic/form-field'), require('@ptsecurity/mosaic/icon'), require('@ptsecurity/mosaic/tags'), require('@angular/cdk/coercion'), require('@angular/cdk/collections'), require('@angular/forms'), require('@ptsecurity/cdk/a11y'), require('@ptsecurity/cdk/keycodes'), require('@ptsecurity/mosaic/input'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/bidi')) :
3
- typeof define === 'function' && define.amd ? define('@ptsecurity/mosaic/select', ['exports', '@angular/cdk/overlay', '@angular/common', '@angular/core', '@ptsecurity/mosaic/core', '@ptsecurity/mosaic/form-field', '@ptsecurity/mosaic/icon', '@ptsecurity/mosaic/tags', '@angular/cdk/coercion', '@angular/cdk/collections', '@angular/forms', '@ptsecurity/cdk/a11y', '@ptsecurity/cdk/keycodes', '@ptsecurity/mosaic/input', 'rxjs', 'rxjs/operators', '@angular/cdk/bidi'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ptsecurity = global.ptsecurity || {}, global.ptsecurity.mosaic = global.ptsecurity.mosaic || {}, global.ptsecurity.mosaic.select = {}), global.ng.cdk.overlay, global.ng.common, global.ng.core, global.ptsecurity.mosaic.core, global.ptsecurity.mosaic["form-field"], global.ptsecurity.mosaic.icon, global.ptsecurity.mosaic.tags, global.ng.cdk.coercion, global.ng.cdk.collections, global.ng.forms, global.mc.cdk.a11y, global.mc.cdk.keycodes, global.ptsecurity.mosaic.input, global.rxjs, global.rxjs.operators, global.ng.cdk.bidi));
5
- })(this, (function (exports, i7, i8, i0, i2, i1, i6, i5, coercion, collections, i4, a11y, keycodes, input, rxjs, operators, i3) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
26
- var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
27
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
29
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
30
- var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
31
- var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
32
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
33
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
34
-
35
- /*! *****************************************************************************
36
- Copyright (c) Microsoft Corporation.
37
-
38
- Permission to use, copy, modify, and/or distribute this software for any
39
- purpose with or without fee is hereby granted.
40
-
41
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
42
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
43
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
44
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
45
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
46
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
47
- PERFORMANCE OF THIS SOFTWARE.
48
- ***************************************************************************** */
49
- /* global Reflect, Promise */
50
- var extendStatics = function (d, b) {
51
- extendStatics = Object.setPrototypeOf ||
52
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
53
- function (d, b) { for (var p in b)
54
- if (Object.prototype.hasOwnProperty.call(b, p))
55
- d[p] = b[p]; };
56
- return extendStatics(d, b);
57
- };
58
- function __extends(d, b) {
59
- if (typeof b !== "function" && b !== null)
60
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
61
- extendStatics(d, b);
62
- function __() { this.constructor = d; }
63
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
64
- }
65
- var __assign = function () {
66
- __assign = Object.assign || function __assign(t) {
67
- for (var s, i = 1, n = arguments.length; i < n; i++) {
68
- s = arguments[i];
69
- for (var p in s)
70
- if (Object.prototype.hasOwnProperty.call(s, p))
71
- t[p] = s[p];
72
- }
73
- return t;
74
- };
75
- return __assign.apply(this, arguments);
76
- };
77
- function __rest(s, e) {
78
- var t = {};
79
- for (var p in s)
80
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
81
- t[p] = s[p];
82
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
83
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
84
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
85
- t[p[i]] = s[p[i]];
86
- }
87
- return t;
88
- }
89
- function __decorate(decorators, target, key, desc) {
90
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
91
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
92
- r = Reflect.decorate(decorators, target, key, desc);
93
- else
94
- for (var i = decorators.length - 1; i >= 0; i--)
95
- if (d = decorators[i])
96
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
97
- return c > 3 && r && Object.defineProperty(target, key, r), r;
98
- }
99
- function __param(paramIndex, decorator) {
100
- return function (target, key) { decorator(target, key, paramIndex); };
101
- }
102
- function __metadata(metadataKey, metadataValue) {
103
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
104
- return Reflect.metadata(metadataKey, metadataValue);
105
- }
106
- function __awaiter(thisArg, _arguments, P, generator) {
107
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
108
- return new (P || (P = Promise))(function (resolve, reject) {
109
- function fulfilled(value) { try {
110
- step(generator.next(value));
111
- }
112
- catch (e) {
113
- reject(e);
114
- } }
115
- function rejected(value) { try {
116
- step(generator["throw"](value));
117
- }
118
- catch (e) {
119
- reject(e);
120
- } }
121
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
122
- step((generator = generator.apply(thisArg, _arguments || [])).next());
123
- });
124
- }
125
- function __generator(thisArg, body) {
126
- var _ = { label: 0, sent: function () { if (t[0] & 1)
127
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
128
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
129
- function verb(n) { return function (v) { return step([n, v]); }; }
130
- function step(op) {
131
- if (f)
132
- throw new TypeError("Generator is already executing.");
133
- while (_)
134
- try {
135
- 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)
136
- return t;
137
- if (y = 0, t)
138
- op = [op[0] & 2, t.value];
139
- switch (op[0]) {
140
- case 0:
141
- case 1:
142
- t = op;
143
- break;
144
- case 4:
145
- _.label++;
146
- return { value: op[1], done: false };
147
- case 5:
148
- _.label++;
149
- y = op[1];
150
- op = [0];
151
- continue;
152
- case 7:
153
- op = _.ops.pop();
154
- _.trys.pop();
155
- continue;
156
- default:
157
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
158
- _ = 0;
159
- continue;
160
- }
161
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
162
- _.label = op[1];
163
- break;
164
- }
165
- if (op[0] === 6 && _.label < t[1]) {
166
- _.label = t[1];
167
- t = op;
168
- break;
169
- }
170
- if (t && _.label < t[2]) {
171
- _.label = t[2];
172
- _.ops.push(op);
173
- break;
174
- }
175
- if (t[2])
176
- _.ops.pop();
177
- _.trys.pop();
178
- continue;
179
- }
180
- op = body.call(thisArg, _);
181
- }
182
- catch (e) {
183
- op = [6, e];
184
- y = 0;
185
- }
186
- finally {
187
- f = t = 0;
188
- }
189
- if (op[0] & 5)
190
- throw op[1];
191
- return { value: op[0] ? op[1] : void 0, done: true };
192
- }
193
- }
194
- var __createBinding = Object.create ? (function (o, m, k, k2) {
195
- if (k2 === undefined)
196
- k2 = k;
197
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
198
- }) : (function (o, m, k, k2) {
199
- if (k2 === undefined)
200
- k2 = k;
201
- o[k2] = m[k];
202
- });
203
- function __exportStar(m, o) {
204
- for (var p in m)
205
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
206
- __createBinding(o, m, p);
207
- }
208
- function __values(o) {
209
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
210
- if (m)
211
- return m.call(o);
212
- if (o && typeof o.length === "number")
213
- return {
214
- next: function () {
215
- if (o && i >= o.length)
216
- o = void 0;
217
- return { value: o && o[i++], done: !o };
218
- }
219
- };
220
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
221
- }
222
- function __read(o, n) {
223
- var m = typeof Symbol === "function" && o[Symbol.iterator];
224
- if (!m)
225
- return o;
226
- var i = m.call(o), r, ar = [], e;
227
- try {
228
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
229
- ar.push(r.value);
230
- }
231
- catch (error) {
232
- e = { error: error };
233
- }
234
- finally {
235
- try {
236
- if (r && !r.done && (m = i["return"]))
237
- m.call(i);
238
- }
239
- finally {
240
- if (e)
241
- throw e.error;
242
- }
243
- }
244
- return ar;
245
- }
246
- /** @deprecated */
247
- function __spread() {
248
- for (var ar = [], i = 0; i < arguments.length; i++)
249
- ar = ar.concat(__read(arguments[i]));
250
- return ar;
251
- }
252
- /** @deprecated */
253
- function __spreadArrays() {
254
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
255
- s += arguments[i].length;
256
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
257
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
258
- r[k] = a[j];
259
- return r;
260
- }
261
- function __spreadArray(to, from, pack) {
262
- if (pack || arguments.length === 2)
263
- for (var i = 0, l = from.length, ar; i < l; i++) {
264
- if (ar || !(i in from)) {
265
- if (!ar)
266
- ar = Array.prototype.slice.call(from, 0, i);
267
- ar[i] = from[i];
268
- }
269
- }
270
- return to.concat(ar || Array.prototype.slice.call(from));
271
- }
272
- function __await(v) {
273
- return this instanceof __await ? (this.v = v, this) : new __await(v);
274
- }
275
- function __asyncGenerator(thisArg, _arguments, generator) {
276
- if (!Symbol.asyncIterator)
277
- throw new TypeError("Symbol.asyncIterator is not defined.");
278
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
279
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
280
- function verb(n) { if (g[n])
281
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
282
- function resume(n, v) { try {
283
- step(g[n](v));
284
- }
285
- catch (e) {
286
- settle(q[0][3], e);
287
- } }
288
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
289
- function fulfill(value) { resume("next", value); }
290
- function reject(value) { resume("throw", value); }
291
- function settle(f, v) { if (f(v), q.shift(), q.length)
292
- resume(q[0][0], q[0][1]); }
293
- }
294
- function __asyncDelegator(o) {
295
- var i, p;
296
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
297
- 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; }
298
- }
299
- function __asyncValues(o) {
300
- if (!Symbol.asyncIterator)
301
- throw new TypeError("Symbol.asyncIterator is not defined.");
302
- var m = o[Symbol.asyncIterator], i;
303
- 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);
304
- 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); }); }; }
305
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
306
- }
307
- function __makeTemplateObject(cooked, raw) {
308
- if (Object.defineProperty) {
309
- Object.defineProperty(cooked, "raw", { value: raw });
310
- }
311
- else {
312
- cooked.raw = raw;
313
- }
314
- return cooked;
315
- }
316
- ;
317
- var __setModuleDefault = Object.create ? (function (o, v) {
318
- Object.defineProperty(o, "default", { enumerable: true, value: v });
319
- }) : function (o, v) {
320
- o["default"] = v;
321
- };
322
- function __importStar(mod) {
323
- if (mod && mod.__esModule)
324
- return mod;
325
- var result = {};
326
- if (mod != null)
327
- for (var k in mod)
328
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
329
- __createBinding(result, mod, k);
330
- __setModuleDefault(result, mod);
331
- return result;
332
- }
333
- function __importDefault(mod) {
334
- return (mod && mod.__esModule) ? mod : { default: mod };
335
- }
336
- function __classPrivateFieldGet(receiver, state, kind, f) {
337
- if (kind === "a" && !f)
338
- throw new TypeError("Private accessor was defined without a getter");
339
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
340
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
341
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
342
- }
343
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
344
- if (kind === "m")
345
- throw new TypeError("Private method is not writable");
346
- if (kind === "a" && !f)
347
- throw new TypeError("Private accessor was defined without a setter");
348
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
349
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
350
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
351
- }
352
-
353
- var nextUniqueId = 0;
354
- /** Change event object that is emitted when the select value has changed. */
355
- var McSelectChange = /** @class */ (function () {
356
- function McSelectChange(source, value) {
357
- this.source = source;
358
- this.value = value;
359
- }
360
- return McSelectChange;
361
- }());
362
- var McSelectSearch = /** @class */ (function () {
363
- function McSelectSearch(formField) {
364
- this.searchChangesSubscription = new rxjs.Subscription();
365
- this.isSearchChanged = false;
366
- formField.canCleanerClearByEsc = false;
367
- }
368
- McSelectSearch.prototype.focus = function () {
369
- this.input.focus();
370
- };
371
- McSelectSearch.prototype.reset = function () {
372
- this.input.ngControl.reset();
373
- };
374
- McSelectSearch.prototype.ngAfterContentInit = function () {
375
- var _this = this;
376
- if (!this.input) {
377
- throw Error('McSelectSearch does not work without mcInput');
378
- }
379
- if (!this.input.ngControl) {
380
- throw Error('McSelectSearch does not work without ngControl');
381
- }
382
- Promise.resolve().then(function () {
383
- _this.searchChangesSubscription = _this.input.ngControl.valueChanges.subscribe(function () {
384
- _this.isSearchChanged = true;
385
- });
386
- });
387
- };
388
- McSelectSearch.prototype.ngOnDestroy = function () {
389
- this.searchChangesSubscription.unsubscribe();
390
- };
391
- McSelectSearch.prototype.handleKeydown = function (event) {
392
- // tslint:disable-next-line:deprecation
393
- if (event.keyCode === keycodes.ESCAPE) {
394
- if (this.input.value) {
395
- this.reset();
396
- event.stopPropagation();
397
- }
398
- }
399
- // tslint:disable-next-line:deprecation
400
- if ([keycodes.SPACE, keycodes.HOME, keycodes.END].includes(event.keyCode)) {
401
- event.stopPropagation();
402
- }
403
- };
404
- return McSelectSearch;
405
- }());
406
- /** @nocollapse */ McSelectSearch.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectSearch, deps: [{ token: i1__namespace.McFormField }], target: i0__namespace.ɵɵFactoryTarget.Directive });
407
- /** @nocollapse */ McSelectSearch.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McSelectSearch, selector: "[mcSelectSearch]", host: { listeners: { "keydown": "handleKeydown($event)" } }, queries: [{ propertyName: "input", first: true, predicate: input.McInput, descendants: true }], exportAs: ["mcSelectSearch"], ngImport: i0__namespace });
408
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectSearch, decorators: [{
409
- type: i0.Directive,
410
- args: [{
411
- selector: '[mcSelectSearch]',
412
- exportAs: 'mcSelectSearch',
413
- host: {
414
- '(keydown)': 'handleKeydown($event)'
415
- }
416
- }]
417
- }], ctorParameters: function () { return [{ type: i1__namespace.McFormField }]; }, propDecorators: { input: [{
418
- type: i0.ContentChild,
419
- args: [input.McInput, { static: false }]
420
- }] } });
421
- var McSelectSearchEmptyResult = /** @class */ (function () {
422
- function McSelectSearchEmptyResult() {
423
- }
424
- return McSelectSearchEmptyResult;
425
- }());
426
- /** @nocollapse */ McSelectSearchEmptyResult.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectSearchEmptyResult, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
427
- /** @nocollapse */ McSelectSearchEmptyResult.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McSelectSearchEmptyResult, selector: "[mc-select-search-empty-result]", exportAs: ["mcSelectSearchEmptyResult"], ngImport: i0__namespace });
428
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectSearchEmptyResult, decorators: [{
429
- type: i0.Directive,
430
- args: [{
431
- selector: '[mc-select-search-empty-result]',
432
- exportAs: 'mcSelectSearchEmptyResult'
433
- }]
434
- }] });
435
- var McSelectTrigger = /** @class */ (function () {
436
- function McSelectTrigger() {
437
- }
438
- return McSelectTrigger;
439
- }());
440
- /** @nocollapse */ McSelectTrigger.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectTrigger, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
441
- /** @nocollapse */ McSelectTrigger.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McSelectTrigger, selector: "mc-select-trigger", ngImport: i0__namespace });
442
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectTrigger, decorators: [{
443
- type: i0.Directive,
444
- args: [{ selector: 'mc-select-trigger' }]
445
- }] });
446
- var McSelectBase = /** @class */ (function () {
447
- function McSelectBase(elementRef, defaultErrorStateMatcher, parentForm, parentFormGroup, ngControl) {
448
- this.elementRef = elementRef;
449
- this.defaultErrorStateMatcher = defaultErrorStateMatcher;
450
- this.parentForm = parentForm;
451
- this.parentFormGroup = parentFormGroup;
452
- this.ngControl = ngControl;
453
- }
454
- return McSelectBase;
455
- }());
456
- // tslint:disable-next-line:naming-convention
457
- var McSelectMixinBase = i2.mixinTabIndex(i2.mixinDisabled(i2.mixinErrorState(McSelectBase)));
458
- var McSelect = /** @class */ (function (_super) {
459
- __extends(McSelect, _super);
460
- function McSelect(_changeDetectorRef, _ngZone, _renderer, defaultErrorStateMatcher, elementRef, rawValidators, _dir, parentForm, parentFormGroup, _parentFormField, ngControl, ngModel, formControlName, _scrollStrategyFactory, mcValidation) {
461
- var _this = _super.call(this, elementRef, defaultErrorStateMatcher, parentForm, parentFormGroup, ngControl) || this;
462
- _this._changeDetectorRef = _changeDetectorRef;
463
- _this._ngZone = _ngZone;
464
- _this._renderer = _renderer;
465
- _this.rawValidators = rawValidators;
466
- _this._dir = _dir;
467
- _this._parentFormField = _parentFormField;
468
- _this.ngModel = ngModel;
469
- _this.formControlName = formControlName;
470
- _this._scrollStrategyFactory = _scrollStrategyFactory;
471
- _this.mcValidation = mcValidation;
472
- /** A name for this control that can be used by `mc-form-field`. */
473
- _this.controlType = 'select';
474
- _this.hiddenItems = 0;
475
- /** The cached font-size of the trigger element. */
476
- _this.triggerFontSize = 0;
477
- _this.previousSelectionModelSelected = [];
478
- /** The value of the select panel's transform-origin property. */
479
- _this.transformOrigin = 'top';
480
- /** Emits when the panel element is finished transforming in. */
481
- _this.panelDoneAnimatingStream = new rxjs.Subject();
482
- /** Strategy that will be used to handle scrolling while the select panel is open. */
483
- _this.scrollStrategy = _this._scrollStrategyFactory();
484
- /**
485
- * The y-offset of the overlay panel in relation to the trigger's top start corner.
486
- * This must be adjusted to align the selected option text over the trigger text.
487
- * when the panel opens. Will change based on the y-position of the selected option.
488
- */
489
- _this.offsetY = 0;
490
- /**
491
- * This position config ensures that the top "start" corner of the overlay
492
- * is aligned with with the top "start" of the origin by default (overlapping
493
- * the trigger completely). If the panel cannot fit below the trigger, it
494
- * will fall back to a position above the trigger.
495
- */
496
- _this.positions = [
497
- {
498
- originX: 'start',
499
- originY: 'bottom',
500
- overlayX: 'start',
501
- overlayY: 'top'
502
- },
503
- {
504
- originX: 'start',
505
- originY: 'top',
506
- overlayX: 'start',
507
- overlayY: 'bottom'
508
- }
509
- ];
510
- _this.hiddenItemsText = '...ещё';
511
- _this.backdropClass = 'cdk-overlay-transparent-backdrop';
512
- /** Combined stream of all of the child options' change events. */
513
- _this.optionSelectionChanges = rxjs.defer(function () {
514
- if (_this.options) {
515
- return rxjs.merge.apply(void 0, __spreadArray(__spreadArray([], __read(_this.options.map(function (option) { return option.onSelectionChange; }))), __read(_this.selectionModel.selected.map(function (option) { return option.onSelectionChange; }))));
516
- }
517
- return _this._ngZone.onStable
518
- .asObservable()
519
- .pipe(operators.take(1), operators.switchMap(function () { return _this.optionSelectionChanges; }));
520
- });
521
- /** Event emitted when the select panel has been toggled. */
522
- _this.openedChange = new i0.EventEmitter();
523
- /** Event emitted when the select has been opened. */
524
- _this.openedStream = _this.openedChange.pipe(operators.filter(function (o) { return o; }), operators.map(function () { }));
525
- /** Event emitted when the select has been closed. */
526
- _this.closedStream = _this.openedChange.pipe(operators.filter(function (o) { return !o; }), operators.map(function () { }));
527
- /** Event emitted when the selected value has been changed by the user. */
528
- _this.selectionChange = new i0.EventEmitter();
529
- /**
530
- * Event that emits whenever the raw value of the select changes. This is here primarily
531
- * to facilitate the two-way binding for the `value` input.
532
- * @docs-private
533
- */
534
- _this.valueChange = new i0.EventEmitter();
535
- _this._hasBackdrop = false;
536
- _this._required = false;
537
- _this._multiple = false;
538
- _this._focused = false;
539
- _this.panelOpen = false;
540
- _this.closeSubscription = rxjs.Subscription.EMPTY;
541
- /** The scroll position of the overlay panel, calculated to center the selected option. */
542
- _this.scrollTop = 0;
543
- /** Unique id for this input. */
544
- _this.uid = "mc-select-" + nextUniqueId++;
545
- /** Emits whenever the component is destroyed. */
546
- _this.destroy = new rxjs.Subject();
547
- /** `View -> model callback called when value changes` */
548
- _this.onChange = function () { };
549
- /** `View -> model callback called when select has been touched` */
550
- _this.onTouched = function () { };
551
- /** Comparison function to specify which option is displayed. Defaults to object equality. */
552
- _this._compareWith = function (o1, o2) { return o1 === o2; };
553
- if (_this.ngControl) {
554
- // Note: we provide the value accessor through here, instead of
555
- // the `providers` to avoid running into a circular import.
556
- _this.ngControl.valueAccessor = _this;
557
- }
558
- // Force setter to be called in case id was not specified.
559
- _this.id = _this.id;
560
- return _this;
561
- }
562
- Object.defineProperty(McSelect.prototype, "hasBackdrop", {
563
- get: function () {
564
- return this._hasBackdrop;
565
- },
566
- set: function (value) {
567
- this._hasBackdrop = coercion.coerceBooleanProperty(value);
568
- },
569
- enumerable: false,
570
- configurable: true
571
- });
572
- Object.defineProperty(McSelect.prototype, "placeholder", {
573
- get: function () {
574
- return this._placeholder;
575
- },
576
- set: function (value) {
577
- this._placeholder = value;
578
- this.stateChanges.next();
579
- },
580
- enumerable: false,
581
- configurable: true
582
- });
583
- Object.defineProperty(McSelect.prototype, "required", {
584
- get: function () {
585
- return this._required;
586
- },
587
- set: function (value) {
588
- this._required = coercion.coerceBooleanProperty(value);
589
- this.stateChanges.next();
590
- },
591
- enumerable: false,
592
- configurable: true
593
- });
594
- Object.defineProperty(McSelect.prototype, "multiple", {
595
- get: function () {
596
- return this._multiple;
597
- },
598
- set: function (value) {
599
- if (this.selectionModel) {
600
- throw i2.getMcSelectDynamicMultipleError();
601
- }
602
- this._multiple = coercion.coerceBooleanProperty(value);
603
- },
604
- enumerable: false,
605
- configurable: true
606
- });
607
- Object.defineProperty(McSelect.prototype, "compareWith", {
608
- /**
609
- * Function to compare the option values with the selected values. The first argument
610
- * is a value from an option. The second is a value from the selection. A boolean
611
- * should be returned.
612
- */
613
- get: function () {
614
- return this._compareWith;
615
- },
616
- set: function (fn) {
617
- /* tslint:disable-next-line:strict-type-predicates */
618
- if (typeof fn !== 'function') {
619
- throw i2.getMcSelectNonFunctionValueError();
620
- }
621
- this._compareWith = fn;
622
- if (this.selectionModel) {
623
- // A different comparator means the selection could change.
624
- this.initializeSelection();
625
- }
626
- },
627
- enumerable: false,
628
- configurable: true
629
- });
630
- Object.defineProperty(McSelect.prototype, "value", {
631
- /** Value of the select control. */
632
- get: function () {
633
- return this._value;
634
- },
635
- set: function (newValue) {
636
- if (newValue !== this._value) {
637
- this.writeValue(newValue);
638
- this._value = newValue;
639
- }
640
- },
641
- enumerable: false,
642
- configurable: true
643
- });
644
- Object.defineProperty(McSelect.prototype, "id", {
645
- get: function () {
646
- return this._id;
647
- },
648
- set: function (value) {
649
- this._id = value || this.uid;
650
- this.stateChanges.next();
651
- },
652
- enumerable: false,
653
- configurable: true
654
- });
655
- Object.defineProperty(McSelect.prototype, "focused", {
656
- /** Whether the select is focused. */
657
- get: function () {
658
- return this._focused || this.panelOpen;
659
- },
660
- set: function (value) {
661
- this._focused = value;
662
- },
663
- enumerable: false,
664
- configurable: true
665
- });
666
- Object.defineProperty(McSelect.prototype, "isEmptySearchResult", {
667
- get: function () {
668
- return this.search && this.options.length === 0 && !!this.search.input.value;
669
- },
670
- enumerable: false,
671
- configurable: true
672
- });
673
- Object.defineProperty(McSelect.prototype, "canShowCleaner", {
674
- get: function () {
675
- return this.cleaner && this.selectionModel.hasValue();
676
- },
677
- enumerable: false,
678
- configurable: true
679
- });
680
- Object.defineProperty(McSelect.prototype, "selected", {
681
- get: function () {
682
- return this.multiple ? this.selectionModel.selected : this.selectionModel.selected[0];
683
- },
684
- enumerable: false,
685
- configurable: true
686
- });
687
- Object.defineProperty(McSelect.prototype, "triggerValue", {
688
- get: function () {
689
- if (this.empty) {
690
- return '';
691
- }
692
- return this.selectionModel.selected[0].viewValue;
693
- },
694
- enumerable: false,
695
- configurable: true
696
- });
697
- Object.defineProperty(McSelect.prototype, "triggerValues", {
698
- get: function () {
699
- if (this.empty) {
700
- return [];
701
- }
702
- var selectedOptions = this.selectionModel.selected;
703
- if (this.isRtl()) {
704
- selectedOptions.reverse();
705
- }
706
- return selectedOptions;
707
- },
708
- enumerable: false,
709
- configurable: true
710
- });
711
- Object.defineProperty(McSelect.prototype, "empty", {
712
- get: function () {
713
- return !this.selectionModel || this.selectionModel.isEmpty();
714
- },
715
- enumerable: false,
716
- configurable: true
717
- });
718
- McSelect.prototype.ngOnInit = function () {
719
- var _this = this;
720
- this.selectionModel = new collections.SelectionModel(this.multiple);
721
- this.stateChanges.next();
722
- // We need `distinctUntilChanged` here, because some browsers will
723
- // fire the animation end event twice for the same animation. See:
724
- // https://github.com/angular/angular/issues/24084
725
- this.panelDoneAnimatingStream
726
- .pipe(operators.distinctUntilChanged(), operators.takeUntil(this.destroy))
727
- .subscribe(function () {
728
- if (_this.panelOpen) {
729
- _this.scrollTop = 0;
730
- if (_this.search) {
731
- _this.search.focus();
732
- }
733
- _this.openedChange.emit(true);
734
- }
735
- else {
736
- _this.openedChange.emit(false);
737
- _this._changeDetectorRef.markForCheck();
738
- }
739
- });
740
- };
741
- McSelect.prototype.ngAfterContentInit = function () {
742
- var _this = this;
743
- if (this.mcValidation.useValidation) {
744
- i2.setMosaicValidation(this);
745
- }
746
- this.initKeyManager();
747
- this.selectionModel.changed
748
- .pipe(operators.takeUntil(this.destroy))
749
- .subscribe(function (event) {
750
- event.added.forEach(function (option) { return option.select(); });
751
- event.removed.forEach(function (option) { return option.deselect(); });
752
- });
753
- this.options.changes
754
- .pipe(operators.startWith(null), operators.takeUntil(this.destroy))
755
- .subscribe(function () {
756
- _this.resetOptions();
757
- _this.initializeSelection();
758
- });
759
- };
760
- McSelect.prototype.ngAfterViewInit = function () {
761
- var _this = this;
762
- this.tags.changes
763
- .subscribe(function () {
764
- setTimeout(function () { return _this.calculateHiddenItems(); }, 0);
765
- });
766
- };
767
- McSelect.prototype.ngDoCheck = function () {
768
- if (this.ngControl) {
769
- this.updateErrorState();
770
- }
771
- };
772
- McSelect.prototype.ngOnChanges = function (changes) {
773
- // Updating the disabled state is handled by `mixinDisabled`, but we need to additionally let
774
- // the parent form field know to run change detection when the disabled state changes.
775
- if (changes.disabled) {
776
- this.stateChanges.next();
777
- }
778
- };
779
- McSelect.prototype.ngOnDestroy = function () {
780
- this.destroy.next();
781
- this.destroy.complete();
782
- this.stateChanges.complete();
783
- this.closeSubscription.unsubscribe();
784
- };
785
- McSelect.prototype.hiddenItemsTextFormatter = function (hiddenItemsText, hiddenItems) {
786
- return hiddenItemsText + " " + hiddenItems;
787
- };
788
- McSelect.prototype.clearValue = function ($event) {
789
- $event.stopPropagation();
790
- this.selectionModel.clear();
791
- this.keyManager.setActiveItem(-1);
792
- this.propagateChanges();
793
- };
794
- McSelect.prototype.resetSearch = function () {
795
- if (!this.search) {
796
- return;
797
- }
798
- this.search.reset();
799
- /*
800
- todo the incorrect behaviour of keyManager is possible here
801
- to avoid first item selection (to provide correct options flipping on closed select)
802
- we should process options update like it is the first options appearance
803
- */
804
- this.search.isSearchChanged = false;
805
- };
806
- /** Toggles the overlay panel open or closed. */
807
- McSelect.prototype.toggle = function () {
808
- if (this.panelOpen) {
809
- this.close();
810
- }
811
- else {
812
- this.open();
813
- }
814
- };
815
- /** Opens the overlay panel. */
816
- McSelect.prototype.open = function () {
817
- var _this = this;
818
- var _a;
819
- if (this.disabled || !((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) || this.panelOpen) {
820
- return;
821
- }
822
- this.triggerRect = this.trigger.nativeElement.getBoundingClientRect();
823
- // Note: The computed font-size will be a string pixel value (e.g. "16px").
824
- // `parseInt` ignores the trailing 'px' and converts this to a number.
825
- this.triggerFontSize = parseInt(getComputedStyle(this.trigger.nativeElement)['font-size']);
826
- this.panelOpen = true;
827
- this.keyManager.withHorizontalOrientation(null);
828
- this.highlightCorrectOption();
829
- this._changeDetectorRef.markForCheck();
830
- // Set the font size on the panel element once it exists.
831
- this._ngZone.onStable.asObservable()
832
- .pipe(operators.take(1))
833
- .subscribe(function () {
834
- _this.scrollActiveOptionIntoView();
835
- if (_this.triggerFontSize && _this.overlayDir.overlayRef && _this.overlayDir.overlayRef.overlayElement) {
836
- _this.overlayDir.overlayRef.overlayElement.style.fontSize = _this.triggerFontSize + "px";
837
- }
838
- });
839
- };
840
- /** Closes the overlay panel and focuses the host element. */
841
- McSelect.prototype.close = function () {
842
- if (!this.panelOpen) {
843
- return;
844
- }
845
- // the order of calls is important
846
- this.resetSearch();
847
- this.panelOpen = false;
848
- this.keyManager.withHorizontalOrientation(this.isRtl() ? 'rtl' : 'ltr');
849
- this._changeDetectorRef.markForCheck();
850
- this.onTouched();
851
- };
852
- /**
853
- * Sets the select's value. Part of the ControlValueAccessor interface
854
- * required to integrate with Angular's core forms API.
855
- *
856
- * @param value New value to be written to the model.
857
- */
858
- McSelect.prototype.writeValue = function (value) {
859
- if (this.options) {
860
- this.setSelectionByValue(value);
861
- }
862
- };
863
- /**
864
- * Saves a callback function to be invoked when the select's value
865
- * changes from user input. Part of the ControlValueAccessor interface
866
- * required to integrate with Angular's core forms API.
867
- *
868
- * @param fn Callback to be triggered when the value changes.
869
- */
870
- McSelect.prototype.registerOnChange = function (fn) {
871
- this.onChange = fn;
872
- };
873
- /**
874
- * Saves a callback function to be invoked when the select is blurred
875
- * by the user. Part of the ControlValueAccessor interface required
876
- * to integrate with Angular's core forms API.
877
- *
878
- * @param fn Callback to be triggered when the component has been touched.
879
- */
880
- McSelect.prototype.registerOnTouched = function (fn) {
881
- this.onTouched = fn;
882
- };
883
- /**
884
- * Disables the select. Part of the ControlValueAccessor interface required
885
- * to integrate with Angular's core forms API.
886
- *
887
- * @param isDisabled Sets whether the component is disabled.
888
- */
889
- McSelect.prototype.setDisabledState = function (isDisabled) {
890
- this.disabled = isDisabled;
891
- this._changeDetectorRef.markForCheck();
892
- this.stateChanges.next();
893
- };
894
- McSelect.prototype.isRtl = function () {
895
- return this._dir ? this._dir.value === 'rtl' : false;
896
- };
897
- McSelect.prototype.handleKeydown = function (event) {
898
- if (this.disabled) {
899
- return;
900
- }
901
- if (this.panelOpen) {
902
- this.handleOpenKeydown(event);
903
- }
904
- else {
905
- this.handleClosedKeydown(event);
906
- }
907
- };
908
- McSelect.prototype.onFocus = function () {
909
- if (!this.disabled) {
910
- this._focused = true;
911
- this.stateChanges.next();
912
- }
913
- };
914
- /**
915
- * Calls the touched callback only if the panel is closed. Otherwise, the trigger will
916
- * "blur" to the panel when it opens, causing a false positive.
917
- */
918
- McSelect.prototype.onBlur = function () {
919
- this._focused = false;
920
- if (!this.disabled && !this.panelOpen) {
921
- this.onTouched();
922
- this._changeDetectorRef.markForCheck();
923
- this.stateChanges.next();
924
- }
925
- };
926
- /**
927
- * Callback that is invoked when the overlay panel has been attached.
928
- */
929
- McSelect.prototype.onAttached = function () {
930
- var _this = this;
931
- this.overlayDir.positionChange
932
- .pipe(operators.take(1))
933
- .subscribe(function () {
934
- _this._changeDetectorRef.detectChanges();
935
- _this.setOverlayPosition();
936
- _this.optionsContainer.nativeElement.scrollTop = _this.scrollTop;
937
- _this.updateScrollSize();
938
- });
939
- this.closeSubscription = this.closingActions()
940
- .subscribe(function () { return _this.close(); });
941
- };
942
- /** Returns the theme to be used on the panel. */
943
- McSelect.prototype.getPanelTheme = function () {
944
- return this._parentFormField ? "mc-" + this._parentFormField.color : '';
945
- };
946
- /** Focuses the select element. */
947
- McSelect.prototype.focus = function () {
948
- this.elementRef.nativeElement.focus();
949
- };
950
- /**
951
- * Implemented as part of McFormFieldControl.
952
- * @docs-private
953
- */
954
- McSelect.prototype.onContainerClick = function () {
955
- this.focus();
956
- };
957
- /** Invoked when an option is clicked. */
958
- McSelect.prototype.onRemoveMatcherItem = function (option, $event) {
959
- $event.stopPropagation();
960
- option.deselect();
961
- };
962
- McSelect.prototype.calculateHiddenItems = function () {
963
- var _this = this;
964
- if (this.customTrigger || this.empty || !this.multiple) {
965
- return;
966
- }
967
- var visibleItems = 0;
968
- var totalItemsWidth = this.getTotalItemsWidthInMatcher();
969
- var totalVisibleItemsWidth = 0;
970
- this.tags.forEach(function (tag) {
971
- if (tag.nativeElement.offsetTop < tag.nativeElement.offsetHeight) {
972
- totalVisibleItemsWidth += _this.getItemWidth(tag.nativeElement);
973
- visibleItems++;
974
- }
975
- });
976
- this.hiddenItems = this.selected.length - visibleItems;
977
- if (this.hiddenItems) {
978
- var itemsCounter = this.trigger.nativeElement.querySelector('.mc-select__match-hidden-text');
979
- var matcherList = this.trigger.nativeElement.querySelector('.mc-select__match-list');
980
- var itemsCounterShowed = itemsCounter.offsetTop < itemsCounter.offsetHeight;
981
- // const itemsCounterWidth: number = itemsCounter.getBoundingClientRect().width;
982
- var itemsCounterWidth = 86;
983
- var matcherListWidth = matcherList.getBoundingClientRect().width;
984
- var matcherWidth = matcherListWidth + itemsCounterWidth;
985
- if (itemsCounterShowed && (totalItemsWidth < matcherWidth)) {
986
- this.hiddenItems = 0;
987
- }
988
- if (totalVisibleItemsWidth === matcherListWidth ||
989
- (totalVisibleItemsWidth + itemsCounterWidth) < matcherListWidth) {
990
- this._changeDetectorRef.markForCheck();
991
- return;
992
- }
993
- else if (!itemsCounterShowed && (totalItemsWidth + itemsCounterWidth) > matcherWidth) {
994
- this.hiddenItems++;
995
- }
996
- }
997
- this._changeDetectorRef.markForCheck();
998
- };
999
- McSelect.prototype.getItemHeight = function () {
1000
- return this.options.first ? this.options.first.getHeight() : 0;
1001
- };
1002
- McSelect.prototype.closingActions = function () {
1003
- var _this = this;
1004
- return rxjs.merge(this.overlayDir.overlayRef.outsidePointerEvents()
1005
- .pipe(operators.filter(function (event) { return !_this.elementRef.nativeElement.contains(event.target); })), this.overlayDir.overlayRef.detachments());
1006
- };
1007
- McSelect.prototype.getHeightOfOptionsContainer = function () {
1008
- return this.optionsContainer.nativeElement.getClientRects()[0].height;
1009
- };
1010
- McSelect.prototype.updateScrollSize = function () {
1011
- if (!this.options.first) {
1012
- return;
1013
- }
1014
- this.keyManager.withScrollSize(Math.floor(this.getHeightOfOptionsContainer() / this.options.first.getHeight()));
1015
- };
1016
- McSelect.prototype.getTotalItemsWidthInMatcher = function () {
1017
- var _this = this;
1018
- var triggerClone = this.trigger.nativeElement.cloneNode(true);
1019
- triggerClone.querySelector('.mc-select__match-hidden-text').remove();
1020
- this._renderer.setStyle(triggerClone, 'position', 'absolute');
1021
- this._renderer.setStyle(triggerClone, 'visibility', 'hidden');
1022
- this._renderer.setStyle(triggerClone, 'top', '-100%');
1023
- this._renderer.setStyle(triggerClone, 'left', '0');
1024
- this._renderer.appendChild(this.trigger.nativeElement, triggerClone);
1025
- var totalItemsWidth = 0;
1026
- triggerClone.querySelectorAll('mc-tag').forEach(function (item) {
1027
- totalItemsWidth += _this.getItemWidth(item);
1028
- });
1029
- triggerClone.remove();
1030
- return totalItemsWidth;
1031
- };
1032
- McSelect.prototype.getItemWidth = function (element) {
1033
- var computedStyle = window.getComputedStyle(element);
1034
- var width = parseInt(computedStyle.width);
1035
- var marginLeft = parseInt(computedStyle.marginLeft);
1036
- var marginRight = parseInt(computedStyle.marginRight);
1037
- return width + marginLeft + marginRight;
1038
- };
1039
- /** Handles keyboard events while the select is closed. */
1040
- McSelect.prototype.handleClosedKeydown = function (event) {
1041
- /* tslint:disable-next-line */
1042
- var keyCode = event.keyCode;
1043
- var isArrowKey = [keycodes.DOWN_ARROW, keycodes.UP_ARROW, keycodes.LEFT_ARROW, keycodes.RIGHT_ARROW].includes(keyCode);
1044
- var isOpenKey = [keycodes.ENTER, keycodes.SPACE].includes(keyCode);
1045
- // Open the select on ALT + arrow key to match the native <select>
1046
- if (isOpenKey || ((this.multiple || event.altKey) && isArrowKey)) {
1047
- event.preventDefault(); // prevents the page from scrolling down when pressing space
1048
- this.open();
1049
- }
1050
- else if (!this.multiple) {
1051
- this.keyManager.onKeydown(event);
1052
- }
1053
- };
1054
- /** Handles keyboard events when the selected is open. */
1055
- McSelect.prototype.handleOpenKeydown = function (event) {
1056
- /* tslint:disable-next-line */
1057
- var keyCode = event.keyCode;
1058
- var isArrowKey = keyCode === keycodes.DOWN_ARROW || keyCode === keycodes.UP_ARROW;
1059
- if (isArrowKey && event.altKey) {
1060
- // Close the select on ALT + arrow key to match the native <select>
1061
- event.preventDefault();
1062
- this.close();
1063
- }
1064
- else if (keyCode === keycodes.HOME) {
1065
- event.preventDefault();
1066
- this.keyManager.setFirstItemActive();
1067
- }
1068
- else if (keyCode === keycodes.END) {
1069
- event.preventDefault();
1070
- this.keyManager.setLastItemActive();
1071
- }
1072
- else if (keyCode === keycodes.PAGE_UP) {
1073
- event.preventDefault();
1074
- this.keyManager.setPreviousPageItemActive();
1075
- }
1076
- else if (keyCode === keycodes.PAGE_DOWN) {
1077
- event.preventDefault();
1078
- this.keyManager.setNextPageItemActive();
1079
- }
1080
- else if ((keyCode === keycodes.ENTER || keyCode === keycodes.SPACE) && this.keyManager.activeItem) {
1081
- event.preventDefault();
1082
- this.keyManager.activeItem.selectViaInteraction();
1083
- }
1084
- else if (this._multiple && keyCode === keycodes.A && event.ctrlKey) {
1085
- event.preventDefault();
1086
- var hasDeselectedOptions_1 = this.options.some(function (option) { return !option.selected; });
1087
- this.options.forEach(function (option) {
1088
- if (hasDeselectedOptions_1 && !option.disabled) {
1089
- option.select();
1090
- }
1091
- else {
1092
- option.deselect();
1093
- }
1094
- });
1095
- }
1096
- else {
1097
- var previouslyFocusedIndex = this.keyManager.activeItemIndex;
1098
- this.keyManager.onKeydown(event);
1099
- if (this._multiple && isArrowKey && event.shiftKey && this.keyManager.activeItem &&
1100
- this.keyManager.activeItemIndex !== previouslyFocusedIndex) {
1101
- this.keyManager.activeItem.selectViaInteraction();
1102
- }
1103
- if (this.search) {
1104
- this.search.focus();
1105
- }
1106
- }
1107
- };
1108
- McSelect.prototype.initializeSelection = function () {
1109
- var _this = this;
1110
- // Defer setting the value in order to avoid the "Expression
1111
- // has changed after it was checked" errors from Angular.
1112
- Promise.resolve().then(function () {
1113
- _this.setSelectionByValue(_this.ngControl ? _this.ngControl.value : _this._value);
1114
- });
1115
- };
1116
- /**
1117
- * Sets the selected option based on a value. If no option can be
1118
- * found with the designated value, the select trigger is cleared.
1119
- */
1120
- McSelect.prototype.setSelectionByValue = function (value) {
1121
- var _this = this;
1122
- this.previousSelectionModelSelected = this.selectionModel.selected;
1123
- if (this.multiple && value) {
1124
- if (!Array.isArray(value)) {
1125
- throw i2.getMcSelectNonArrayValueError();
1126
- }
1127
- this.selectionModel.clear();
1128
- value.forEach(function (currentValue) { return _this.selectValue(currentValue); });
1129
- this.sortValues();
1130
- }
1131
- else {
1132
- this.selectionModel.clear();
1133
- var correspondingOption = this.selectValue(value);
1134
- // Shift focus to the active item. Note that we shouldn't do this in multiple
1135
- // mode, because we don't know what option the user interacted with last.
1136
- if (correspondingOption) {
1137
- this.keyManager.setActiveItem(correspondingOption);
1138
- }
1139
- }
1140
- this._changeDetectorRef.markForCheck();
1141
- };
1142
- McSelect.prototype.getCorrespondOption = function (value) {
1143
- var _this = this;
1144
- return __spreadArray(__spreadArray([], __read(this.options.toArray())), __read(this.previousSelectionModelSelected)).find(function (option) {
1145
- try {
1146
- // Treat null as a special reset value.
1147
- return option.value != null && _this.compareWith(option.value, value);
1148
- }
1149
- catch (error) {
1150
- if (i0.isDevMode()) {
1151
- // Notify developers of errors in their comparator.
1152
- console.warn(error);
1153
- }
1154
- return false;
1155
- }
1156
- });
1157
- };
1158
- /**
1159
- * Finds and selects and option based on its value.
1160
- * @returns Option that has the corresponding value.
1161
- */
1162
- McSelect.prototype.selectValue = function (value) {
1163
- var correspondingOption = this.getCorrespondOption(value);
1164
- if (correspondingOption) {
1165
- this.selectionModel.select(correspondingOption);
1166
- }
1167
- return correspondingOption;
1168
- };
1169
- /** Sets up a key manager to listen to keyboard events on the overlay panel. */
1170
- McSelect.prototype.initKeyManager = function () {
1171
- var _this = this;
1172
- var typeAheadDebounce = 200;
1173
- this.keyManager = new a11y.ActiveDescendantKeyManager(this.options)
1174
- .withTypeAhead(typeAheadDebounce, this.search ? -1 : 0)
1175
- .withVerticalOrientation()
1176
- .withHorizontalOrientation(this.isRtl() ? 'rtl' : 'ltr');
1177
- this.keyManager.tabOut
1178
- .pipe(operators.takeUntil(this.destroy))
1179
- .subscribe(function () {
1180
- // Restore focus to the trigger before closing. Ensures that the focus
1181
- // position won't be lost if the user got focus into the overlay.
1182
- _this.focus();
1183
- _this.close();
1184
- });
1185
- this.keyManager.change
1186
- .pipe(operators.takeUntil(this.destroy))
1187
- .subscribe(function () {
1188
- if (_this.panelOpen && _this.panel) {
1189
- _this.scrollActiveOptionIntoView();
1190
- }
1191
- else if (!_this.panelOpen && !_this.multiple && _this.keyManager.activeItem) {
1192
- _this.keyManager.activeItem.selectViaInteraction();
1193
- }
1194
- });
1195
- };
1196
- /** Drops current option subscriptions and IDs and resets from scratch. */
1197
- McSelect.prototype.resetOptions = function () {
1198
- var _this = this;
1199
- var changedOrDestroyed = rxjs.merge(this.options.changes, this.destroy);
1200
- this.optionSelectionChanges
1201
- .pipe(operators.takeUntil(changedOrDestroyed))
1202
- .subscribe(function (event) {
1203
- _this.onSelect(event.source, event.isUserInput);
1204
- if (_this.search && _this.search.isSearchChanged) {
1205
- Promise.resolve().then(function () { return _this.keyManager.updateActiveItem(0); });
1206
- _this.search.isSearchChanged = false;
1207
- }
1208
- if (event.isUserInput && !_this.multiple && _this.panelOpen) {
1209
- _this.close();
1210
- _this.focus();
1211
- }
1212
- });
1213
- // Listen to changes in the internal state of the options and react accordingly.
1214
- // Handles cases like the labels of the selected options changing.
1215
- rxjs.merge.apply(void 0, __spreadArray([], __read(this.options.map(function (option) { return option.stateChanges; })))).pipe(operators.takeUntil(changedOrDestroyed))
1216
- .subscribe(function () {
1217
- _this._changeDetectorRef.markForCheck();
1218
- _this.stateChanges.next();
1219
- });
1220
- };
1221
- /** Invoked when an option is clicked. */
1222
- McSelect.prototype.onSelect = function (option, isUserInput) {
1223
- var wasSelected = this.selectionModel.isSelected(option);
1224
- if (option.value == null && !this._multiple) {
1225
- option.deselect();
1226
- this.selectionModel.clear();
1227
- this.propagateChanges(option.value);
1228
- }
1229
- else {
1230
- if (option.selected) {
1231
- this.selectionModel.select(option);
1232
- }
1233
- else {
1234
- this.selectionModel.deselect(option);
1235
- }
1236
- if (isUserInput) {
1237
- this.keyManager.setActiveItem(option);
1238
- }
1239
- if (this.multiple) {
1240
- this.sortValues();
1241
- if (isUserInput) {
1242
- // In case the user selected the option with their mouse, we
1243
- // want to restore focus back to the trigger, in order to
1244
- // prevent the select keyboard controls from clashing with
1245
- // the ones from `mc-option`.
1246
- // If search is avaliable then we focus search again.
1247
- if (this.search) {
1248
- this.search.focus();
1249
- }
1250
- else {
1251
- this.focus();
1252
- }
1253
- }
1254
- }
1255
- }
1256
- if (wasSelected !== this.selectionModel.isSelected(option)) {
1257
- this.propagateChanges();
1258
- }
1259
- this.stateChanges.next();
1260
- };
1261
- /** Sorts the selected values in the selected based on their order in the panel. */
1262
- McSelect.prototype.sortValues = function () {
1263
- var _this = this;
1264
- if (this.multiple) {
1265
- var options_1 = this.options.toArray();
1266
- this.selectionModel.sort(function (a, b) {
1267
- return _this.sortComparator ? _this.sortComparator(a, b, options_1) :
1268
- options_1.indexOf(a) - options_1.indexOf(b);
1269
- });
1270
- this.stateChanges.next();
1271
- }
1272
- };
1273
- /** Emits change event to set the model value. */
1274
- McSelect.prototype.propagateChanges = function (fallbackValue) {
1275
- var valueToEmit = null;
1276
- if (this.multiple) {
1277
- valueToEmit = this.selected.map(function (option) { return option.value; });
1278
- }
1279
- else {
1280
- valueToEmit = this.selected ? this.selected.value : fallbackValue;
1281
- }
1282
- this._value = valueToEmit;
1283
- this.valueChange.emit(valueToEmit);
1284
- this.onChange(valueToEmit);
1285
- this.selectionChange.emit(new McSelectChange(this, valueToEmit));
1286
- this._changeDetectorRef.markForCheck();
1287
- };
1288
- /**
1289
- * Highlights the selected item. If no option is selected, it will highlight
1290
- * the first item instead.
1291
- */
1292
- McSelect.prototype.highlightCorrectOption = function () {
1293
- if (this.keyManager) {
1294
- if (this.empty) {
1295
- this.keyManager.setFirstItemActive();
1296
- }
1297
- else {
1298
- this.keyManager.setActiveItem(this.selectionModel.selected[0]);
1299
- }
1300
- }
1301
- };
1302
- /** Scrolls the active option into view. */
1303
- McSelect.prototype.scrollActiveOptionIntoView = function () {
1304
- if (!this.keyManager.activeItem) {
1305
- return;
1306
- }
1307
- this.keyManager.activeItem.focus();
1308
- };
1309
- /**
1310
- * Sets the x-offset of the overlay panel in relation to the trigger's top start corner.
1311
- * This must be adjusted to align the selected option text over the trigger text when
1312
- * the panel opens. Will change based on LTR or RTL text direction. Note that the offset
1313
- * can't be calculated until the panel has been attached, because we need to know the
1314
- * content width in order to constrain the panel within the viewport.
1315
- */
1316
- McSelect.prototype.setOverlayPosition = function () {
1317
- var _b;
1318
- this.resetOverlay();
1319
- var overlayRect = this.getOverlayRect();
1320
- // Window width without scrollbar
1321
- var windowWidth = this.getOverlayWidth();
1322
- var isRtl = this.isRtl();
1323
- /* tslint:disable-next-line:no-magic-numbers */
1324
- var paddingWidth = i2.SELECT_PANEL_PADDING_X * 2;
1325
- var offsetX;
1326
- var overlayMaxWidth;
1327
- var selected = this.selectionModel.selected[0] || this.options.first;
1328
- offsetX = selected && selected.group ? i2.SELECT_PANEL_INDENT_PADDING_X : i2.SELECT_PANEL_PADDING_X;
1329
- // Invert the offset in LTR.
1330
- if (!isRtl) {
1331
- offsetX *= -1;
1332
- }
1333
- // Determine if select overflows on either side.
1334
- var leftOverflow = 0 - (overlayRect.left + offsetX - (isRtl ? paddingWidth : 0));
1335
- var rightOverflow = overlayRect.right + offsetX - windowWidth
1336
- + (isRtl ? 0 : paddingWidth);
1337
- // If the element overflows on either side, reduce the offset to allow it to fit.
1338
- if (leftOverflow > 0 || rightOverflow > 0) {
1339
- _b = __read(this.calculateOverlayXPosition(overlayRect, windowWidth, offsetX), 2), offsetX = _b[0], overlayMaxWidth = _b[1];
1340
- this.overlayDir.overlayRef.overlayElement.style.maxWidth = overlayMaxWidth + "px";
1341
- }
1342
- // Set the offset directly in order to avoid having to go through change detection and
1343
- // potentially triggering "changed after it was checked" errors. Round the value to avoid
1344
- // blurry content in some browsers.
1345
- this.overlayDir.offsetX = Math.round(offsetX);
1346
- this.overlayDir.overlayRef.updatePosition();
1347
- };
1348
- McSelect.prototype.calculateOverlayXPosition = function (overlayRect, windowWidth, basicOffsetX) {
1349
- var offsetX = basicOffsetX;
1350
- var leftIndent = this.triggerRect.left;
1351
- var rightIndent = windowWidth - this.triggerRect.right;
1352
- // Setting direction of dropdown expansion
1353
- var isRightDirection = leftIndent <= rightIndent;
1354
- var maxDropdownWidth;
1355
- var overlayMaxWidth;
1356
- var triggerWidth = this.triggerRect.width + i2.SELECT_PANEL_INDENT_PADDING_X;
1357
- if (isRightDirection) {
1358
- maxDropdownWidth = rightIndent + triggerWidth - i2.SELECT_PANEL_VIEWPORT_PADDING;
1359
- overlayMaxWidth = overlayRect.width < maxDropdownWidth ? overlayRect.width : maxDropdownWidth;
1360
- }
1361
- else {
1362
- var leftOffset = void 0;
1363
- maxDropdownWidth = leftIndent + triggerWidth - i2.SELECT_PANEL_VIEWPORT_PADDING;
1364
- if (overlayRect.width < maxDropdownWidth) {
1365
- overlayMaxWidth = overlayRect.width;
1366
- leftOffset = this.triggerRect.right - overlayMaxWidth;
1367
- }
1368
- else {
1369
- overlayMaxWidth = maxDropdownWidth;
1370
- leftOffset = this.triggerRect.right - (overlayMaxWidth - i2.SELECT_PANEL_INDENT_PADDING_X);
1371
- }
1372
- offsetX -= this.triggerRect.left - leftOffset;
1373
- }
1374
- return [offsetX, overlayMaxWidth];
1375
- };
1376
- McSelect.prototype.resetOverlay = function () {
1377
- this.overlayDir.offsetX = 0;
1378
- this.overlayDir.overlayRef.overlayElement.style.maxWidth = 'unset';
1379
- this.overlayDir.overlayRef.updatePosition();
1380
- };
1381
- McSelect.prototype.getOverlayRect = function () {
1382
- return this.overlayDir.overlayRef.overlayElement.getBoundingClientRect();
1383
- };
1384
- McSelect.prototype.getOverlayWidth = function () {
1385
- return this.scrollStrategy._overlayRef.hostElement.clientWidth;
1386
- };
1387
- return McSelect;
1388
- }(McSelectMixinBase));
1389
- /** @nocollapse */ McSelect.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelect, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.NgZone }, { token: i0__namespace.Renderer2 }, { token: i2__namespace.ErrorStateMatcher }, { token: i0__namespace.ElementRef }, { token: i4.NG_VALIDATORS, optional: true }, { token: i3__namespace.Directionality, optional: true }, { token: i4__namespace.NgForm, optional: true }, { token: i4__namespace.FormGroupDirective, optional: true }, { token: i1__namespace.McFormField, optional: true }, { token: i4__namespace.NgControl, optional: true, self: true }, { token: i4__namespace.NgModel, optional: true, self: true }, { token: i4__namespace.FormControlName, optional: true, self: true }, { token: i2.MC_SELECT_SCROLL_STRATEGY }, { token: i2.MC_VALIDATION, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
1390
- /** @nocollapse */ McSelect.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: McSelect, selector: "mc-select", inputs: { disabled: "disabled", tabIndex: "tabIndex", hiddenItemsText: "hiddenItemsText", panelClass: "panelClass", backdropClass: "backdropClass", errorStateMatcher: "errorStateMatcher", sortComparator: "sortComparator", hasBackdrop: "hasBackdrop", placeholder: "placeholder", required: "required", multiple: "multiple", compareWith: "compareWith", value: "value", id: "id", hiddenItemsTextFormatter: "hiddenItemsTextFormatter" }, outputs: { openedChange: "openedChange", openedStream: "opened", closedStream: "closed", selectionChange: "selectionChange", valueChange: "valueChange" }, host: { listeners: { "keydown": "handleKeydown($event)", "focus": "onFocus()", "blur": "onBlur()", "window:resize": "calculateHiddenItems()" }, properties: { "attr.id": "id", "attr.tabindex": "tabIndex", "attr.disabled": "disabled || null", "class.mc-disabled": "disabled", "class.mc-invalid": "errorState" }, classAttribute: "mc-select" }, providers: [
1391
- { provide: i1.McFormFieldControl, useExisting: McSelect },
1392
- { provide: i2.MC_OPTION_PARENT_COMPONENT, useExisting: McSelect }
1393
- ], queries: [{ propertyName: "customTrigger", first: true, predicate: McSelectTrigger, descendants: true }, { propertyName: "cleaner", first: true, predicate: ["mcSelectCleaner"], descendants: true, static: true }, { propertyName: "search", first: true, predicate: McSelectSearch, descendants: true }, { propertyName: "options", predicate: i2.McOption, descendants: true }, { propertyName: "optionGroups", predicate: i2.McOptgroup }], viewQueries: [{ propertyName: "trigger", first: true, predicate: ["trigger"], descendants: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }, { propertyName: "optionsContainer", first: true, predicate: ["optionsContainer"], descendants: true }, { propertyName: "overlayDir", first: true, predicate: i7.CdkConnectedOverlay, descendants: true }, { propertyName: "tags", predicate: i5.McTag, descendants: true }], exportAs: ["mcSelect"], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace, template: "<div cdk-overlay-origin\n class=\"mc-select__trigger\"\n (click)=\"toggle()\"\n [class.mc-select__trigger_multiple]=\"multiple\"\n #origin=\"cdkOverlayOrigin\"\n #trigger>\n <div class=\"mc-select__matcher\" [ngSwitch]=\"empty\">\n <span class=\"mc-select__placeholder\" *ngSwitchCase=\"true\">{{ placeholder || '\\u00A0' }}</span>\n <span *ngSwitchCase=\"false\" [ngSwitch]=\"!!customTrigger\">\n <div *ngSwitchDefault [ngSwitch]=\"multiple\" class=\"mc-select__match-container\">\n <span *ngSwitchCase=\"false\" class=\"mc-select__matcher-text\">{{ triggerValue }}</span>\n <div *ngSwitchCase=\"true\" class=\"mc-select__match-list\">\n <mc-tag *ngFor=\"let option of triggerValues\"\n [disabled]=\"option.disabled || disabled\"\n [selectable]=\"false\"\n [class.mc-error]=\"errorState\">\n {{ option.viewValue }}\n <i mc-icon=\"mc-close-S_16\"\n *ngIf=\"!option.disabled && !disabled\"\n (click)=\"onRemoveMatcherItem(option, $event)\">\n </i>\n </mc-tag>\n </div>\n <div class=\"mc-select__match-hidden-text\" [style.display]=\"hiddenItems > 0 ? 'block' : 'none'\">\n {{ hiddenItemsTextFormatter(hiddenItemsText, hiddenItems) }}\n </div>\n </div>\n <ng-content select=\"mc-select-trigger\" *ngSwitchCase=\"true\"></ng-content>\n </span>\n </div>\n\n <div class=\"mc-select__cleaner\" *ngIf=\"canShowCleaner\" (click)=\"clearValue($event)\">\n <ng-content select=\"mc-cleaner\"></ng-content>\n </div>\n\n <div class=\"mc-select__arrow-wrapper\">\n <i class=\"mc-select__arrow\" mc-icon=\"mc-angle-down-L_16\"></i>\n </div>\n</div>\n\n<ng-template\n cdk-connected-overlay\n cdkConnectedOverlayLockPosition\n [cdkConnectedOverlayHasBackdrop]=\"hasBackdrop\"\n [cdkConnectedOverlayBackdropClass]=\"backdropClass\"\n [cdkConnectedOverlayScrollStrategy]=\"scrollStrategy\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"panelOpen\"\n [cdkConnectedOverlayPositions]=\"positions\"\n [cdkConnectedOverlayMinWidth]=\"triggerRect?.width!\"\n [cdkConnectedOverlayOffsetY]=\"offsetY\"\n (backdropClick)=\"close()\"\n (attach)=\"onAttached()\"\n (detach)=\"close()\">\n <div\n #panel\n class=\"mc-select__panel {{ getPanelTheme() }}\"\n [ngClass]=\"panelClass\"\n [style.transformOrigin]=\"transformOrigin\"\n [style.font-size.px]=\"triggerFontSize\"\n (keydown)=\"handleKeydown($event)\">\n\n <div *ngIf=\"search\" class=\"mc-select__search-container\">\n <ng-content select=\"[mcSelectSearch]\"></ng-content>\n </div>\n\n <div #optionsContainer\n class=\"mc-select__content\"\n [@fadeInContent]=\"'showing'\"\n (@fadeInContent.done)=\"panelDoneAnimatingStream.next($event.toState)\">\n\n <div *ngIf=\"isEmptySearchResult\" class=\"mc-select__no-options-message\">\n <ng-content select=\"[mc-select-search-empty-result]\"></ng-content>\n </div>\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n", styles: [".mc-option{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;position:relative;max-width:100%;height:32px;height:var(--mc-option-size-height, 32px);border:2px solid transparent;border:var(--mc-option-size-border-width, 2px) solid transparent;cursor:pointer;outline:none;padding-left:16px;padding-left:var(--mc-option-size-horizontal-padding, 16px);padding-right:16px;padding-right:var(--mc-option-size-horizontal-padding, 16px);-webkit-tap-highlight-color:transparent}.mc-option.mc-disabled{cursor:default}.mc-option .mc-pseudo-checkbox{margin-right:8px}.mc-option .mc-option-overlay{position:absolute;top:calc(-1 * 2px);top:calc(-1 * var(--mc-option-size-border-width, 2px));left:calc(-1 * 2px);left:calc(-1 * var(--mc-option-size-border-width, 2px));right:calc(-1 * 2px);right:calc(-1 * var(--mc-option-size-border-width, 2px));bottom:calc(-1 * 2px);bottom:calc(-1 * var(--mc-option-size-border-width, 2px));pointer-events:none;border-radius:inherit}.mc-option-text{display:inline-block;flex-grow:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mc-select{box-sizing:border-box;display:inline-block;width:100%;outline:none}.mc-select .mc-select__trigger{display:flex;box-sizing:border-box;position:relative;height:30px;height:var(--mc-select-size-height, 30px);cursor:pointer;padding-left:calc(16px - 1px);padding-left:calc(var(--mc-select-size-left-padding, 16px) - var(--mc-form-field-size-border-width, 1px));padding-right:calc(8px - 1px);padding-right:calc(var(--mc-select-size-right-padding, 8px) - var(--mc-form-field-size-border-width, 1px))}.mc-select .mc-select__trigger.mc-select__trigger_multiple{padding-left:calc(8px - 1px);padding-left:calc(var(--mc-select-size-left-padding-multiple, 8px) - var(--mc-form-field-size-border-width, 1px))}.mc-select .mc-select__trigger.mc-select__trigger_multiple .mc-tag.mc-disabled .mc-tag__text{margin-right:7px}.mc-select.mc-disabled .mc-select__trigger{-webkit-user-select:none;user-select:none;cursor:default}.mc-select__no-options-message{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;position:relative;max-width:100%;height:32px;height:var(--mc-option-size-height, 32px);cursor:default;outline:none;padding-left:16px;padding-left:var(--mc-option-size-horizontal-padding, 16px);padding-right:16px;padding-right:var(--mc-option-size-horizontal-padding, 16px)}.mc-select__matcher{display:flex;align-items:center;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mc-select__matcher>span{width:100%}.mc-select__match-list{display:flex;flex-wrap:wrap;overflow:hidden;max-height:calc(30px - 1px);max-height:calc(var(--mc-select-size-height, 30px) - var(--mc-select-panel-size-border-width, 1px))}.mc-select__match-list .mc-tag{margin-right:4px}.mc-select__match-container{display:flex;flex-direction:row;justify-content:space-between;width:100%}.mc-select__match-container .mc-select__match-hidden-text{flex:0 0 70px;align-self:center;padding:0 8px;text-align:right}.mc-select__arrow-wrapper{align-self:center}.mc-form-field-appearance-fill .mc-select__arrow-wrapper,.mc-form-field-appearance-standard .mc-select__arrow-wrapper{transform:translateY(-50%)}.mc-form-field-appearance-outline .mc-select__arrow-wrapper{transform:translateY(-25%)}.mc-select__panel{min-width:100%;max-width:640px;max-width:var(--mc-select-panel-size-max-width, 640px);overflow:hidden;border-width:1px;border-width:var(--mc-select-panel-size-border-width, 1px);border-style:solid;border-bottom-left-radius:3px;border-bottom-left-radius:var(--mc-select-panel-size-border-radius, 3px);border-bottom-right-radius:3px;border-bottom-right-radius:var(--mc-select-panel-size-border-radius, 3px)}.mc-select__panel .mc-optgroup-label,.mc-select__panel .mc-option{font-size:inherit;line-height:32px;line-height:var(--mc-option-size-height, 32px);height:32px;height:var(--mc-option-size-height, 32px)}.mc-select__content{max-height:232px;max-height:var(--mc-select-panel-size-max-height, 232px);padding:4px 0;padding:var(--mc-select-panel-size-vertical-padding, 4px) 0;overflow:auto}.mc-select__content .cdk-virtual-scroll-viewport{min-height:232px-8px;min-height:var(--mc-select-panel-size-max-height, 232px)-8px;max-height:232px-8px;max-height:var(--mc-select-panel-size-max-height, 232px)-8px}.mc-form-field-type-select:not(.mc-disabled) .mc-form-field-flex{cursor:pointer}.mc-select__search-container{border-bottom-width:1px;border-bottom-style:solid}\n"], components: [{ type: i5__namespace.McTag, selector: "mc-tag, [mc-tag], mc-basic-tag, [mc-basic-tag]", inputs: ["color", "selected", "value", "selectable", "removable", "disabled"], outputs: ["selectionChange", "destroyed", "removed"], exportAs: ["mcTag"] }, { type: i6__namespace.McIcon, selector: "[mc-icon]", inputs: ["color"] }], directives: [{ type: i7__namespace.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { type: i8__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i8__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i8__namespace.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i8__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6__namespace.McIconCSSStyler, selector: "[mc-icon]" }, { type: i7__namespace.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush", "cdkConnectedOverlayPositions", "cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayTransformOriginOn"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { type: i8__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
1394
- i2.mcSelectAnimations.transformPanel,
1395
- i2.mcSelectAnimations.fadeInContent
1396
- ], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
1397
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelect, decorators: [{
1398
- type: i0.Component,
1399
- args: [{
1400
- selector: 'mc-select',
1401
- exportAs: 'mcSelect',
1402
- templateUrl: 'select.html',
1403
- styleUrls: ['./select.scss'],
1404
- inputs: ['disabled', 'tabIndex'],
1405
- encapsulation: i0.ViewEncapsulation.None,
1406
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1407
- host: {
1408
- '[attr.id]': 'id',
1409
- '[attr.tabindex]': 'tabIndex',
1410
- '[attr.disabled]': 'disabled || null',
1411
- class: 'mc-select',
1412
- '[class.mc-disabled]': 'disabled',
1413
- '[class.mc-invalid]': 'errorState',
1414
- '(keydown)': 'handleKeydown($event)',
1415
- '(focus)': 'onFocus()',
1416
- '(blur)': 'onBlur()',
1417
- '(window:resize)': 'calculateHiddenItems()'
1418
- },
1419
- animations: [
1420
- i2.mcSelectAnimations.transformPanel,
1421
- i2.mcSelectAnimations.fadeInContent
1422
- ],
1423
- providers: [
1424
- { provide: i1.McFormFieldControl, useExisting: McSelect },
1425
- { provide: i2.MC_OPTION_PARENT_COMPONENT, useExisting: McSelect }
1426
- ]
1427
- }]
1428
- }], ctorParameters: function () {
1429
- return [{ type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.NgZone }, { type: i0__namespace.Renderer2 }, { type: i2__namespace.ErrorStateMatcher }, { type: i0__namespace.ElementRef }, { type: undefined, decorators: [{
1430
- type: i0.Optional
1431
- }, {
1432
- type: i0.Inject,
1433
- args: [i4.NG_VALIDATORS]
1434
- }] }, { type: i3__namespace.Directionality, decorators: [{
1435
- type: i0.Optional
1436
- }] }, { type: i4__namespace.NgForm, decorators: [{
1437
- type: i0.Optional
1438
- }] }, { type: i4__namespace.FormGroupDirective, decorators: [{
1439
- type: i0.Optional
1440
- }] }, { type: i1__namespace.McFormField, decorators: [{
1441
- type: i0.Optional
1442
- }] }, { type: i4__namespace.NgControl, decorators: [{
1443
- type: i0.Self
1444
- }, {
1445
- type: i0.Optional
1446
- }] }, { type: i4__namespace.NgModel, decorators: [{
1447
- type: i0.Optional
1448
- }, {
1449
- type: i0.Self
1450
- }] }, { type: i4__namespace.FormControlName, decorators: [{
1451
- type: i0.Optional
1452
- }, {
1453
- type: i0.Self
1454
- }] }, { type: undefined, decorators: [{
1455
- type: i0.Inject,
1456
- args: [i2.MC_SELECT_SCROLL_STRATEGY]
1457
- }] }, { type: undefined, decorators: [{
1458
- type: i0.Optional
1459
- }, {
1460
- type: i0.Inject,
1461
- args: [i2.MC_VALIDATION]
1462
- }] }];
1463
- }, propDecorators: { trigger: [{
1464
- type: i0.ViewChild,
1465
- args: ['trigger', { static: false }]
1466
- }], panel: [{
1467
- type: i0.ViewChild,
1468
- args: ['panel', { static: false }]
1469
- }], optionsContainer: [{
1470
- type: i0.ViewChild,
1471
- args: ['optionsContainer', { static: false }]
1472
- }], overlayDir: [{
1473
- type: i0.ViewChild,
1474
- args: [i7.CdkConnectedOverlay, { static: false }]
1475
- }], tags: [{
1476
- type: i0.ViewChildren,
1477
- args: [i5.McTag]
1478
- }], customTrigger: [{
1479
- type: i0.ContentChild,
1480
- args: [McSelectTrigger, { static: false }]
1481
- }], cleaner: [{
1482
- type: i0.ContentChild,
1483
- args: ['mcSelectCleaner', { static: true }]
1484
- }], options: [{
1485
- type: i0.ContentChildren,
1486
- args: [i2.McOption, { descendants: true }]
1487
- }], optionGroups: [{
1488
- type: i0.ContentChildren,
1489
- args: [i2.McOptgroup]
1490
- }], search: [{
1491
- type: i0.ContentChild,
1492
- args: [McSelectSearch, { static: false }]
1493
- }], hiddenItemsText: [{
1494
- type: i0.Input
1495
- }], panelClass: [{
1496
- type: i0.Input
1497
- }], backdropClass: [{
1498
- type: i0.Input
1499
- }], errorStateMatcher: [{
1500
- type: i0.Input
1501
- }], sortComparator: [{
1502
- type: i0.Input
1503
- }], openedChange: [{
1504
- type: i0.Output
1505
- }], openedStream: [{
1506
- type: i0.Output,
1507
- args: ['opened']
1508
- }], closedStream: [{
1509
- type: i0.Output,
1510
- args: ['closed']
1511
- }], selectionChange: [{
1512
- type: i0.Output
1513
- }], valueChange: [{
1514
- type: i0.Output
1515
- }], hasBackdrop: [{
1516
- type: i0.Input
1517
- }], placeholder: [{
1518
- type: i0.Input
1519
- }], required: [{
1520
- type: i0.Input
1521
- }], multiple: [{
1522
- type: i0.Input
1523
- }], compareWith: [{
1524
- type: i0.Input
1525
- }], value: [{
1526
- type: i0.Input
1527
- }], id: [{
1528
- type: i0.Input
1529
- }], hiddenItemsTextFormatter: [{
1530
- type: i0.Input
1531
- }] } });
1532
-
1533
- var McSelectModule = /** @class */ (function () {
1534
- function McSelectModule() {
1535
- }
1536
- return McSelectModule;
1537
- }());
1538
- /** @nocollapse */ McSelectModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1539
- /** @nocollapse */ McSelectModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectModule, declarations: [McSelect,
1540
- McSelectSearch,
1541
- McSelectSearchEmptyResult,
1542
- McSelectTrigger], imports: [i8.CommonModule,
1543
- i7.OverlayModule,
1544
- i2.McOptionModule,
1545
- i6.McIconModule,
1546
- i5.McTagsModule], exports: [i1.McFormFieldModule,
1547
- McSelect,
1548
- McSelectSearch,
1549
- McSelectSearchEmptyResult,
1550
- McSelectTrigger,
1551
- i2.McOptionModule,
1552
- i8.CommonModule] });
1553
- /** @nocollapse */ McSelectModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectModule, providers: [i2.MC_SELECT_SCROLL_STRATEGY_PROVIDER], imports: [[
1554
- i8.CommonModule,
1555
- i7.OverlayModule,
1556
- i2.McOptionModule,
1557
- i6.McIconModule,
1558
- i5.McTagsModule
1559
- ], i1.McFormFieldModule,
1560
- i2.McOptionModule,
1561
- i8.CommonModule] });
1562
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: McSelectModule, decorators: [{
1563
- type: i0.NgModule,
1564
- args: [{
1565
- imports: [
1566
- i8.CommonModule,
1567
- i7.OverlayModule,
1568
- i2.McOptionModule,
1569
- i6.McIconModule,
1570
- i5.McTagsModule
1571
- ],
1572
- exports: [
1573
- i1.McFormFieldModule,
1574
- McSelect,
1575
- McSelectSearch,
1576
- McSelectSearchEmptyResult,
1577
- McSelectTrigger,
1578
- i2.McOptionModule,
1579
- i8.CommonModule
1580
- ],
1581
- declarations: [
1582
- McSelect,
1583
- McSelectSearch,
1584
- McSelectSearchEmptyResult,
1585
- McSelectTrigger
1586
- ],
1587
- providers: [i2.MC_SELECT_SCROLL_STRATEGY_PROVIDER]
1588
- }]
1589
- }] });
1590
-
1591
- /**
1592
- * Generated bundle index. Do not edit.
1593
- */
1594
-
1595
- exports.McSelect = McSelect;
1596
- exports.McSelectBase = McSelectBase;
1597
- exports.McSelectChange = McSelectChange;
1598
- exports.McSelectModule = McSelectModule;
1599
- exports.McSelectSearch = McSelectSearch;
1600
- exports.McSelectSearchEmptyResult = McSelectSearchEmptyResult;
1601
- exports.McSelectTrigger = McSelectTrigger;
1602
-
1603
- Object.defineProperty(exports, '__esModule', { value: true });
1604
-
1605
- }));
1606
- //# sourceMappingURL=ptsecurity-mosaic-select.umd.js.map