@ptsecurity/mosaic 12.3.0 → 13.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (905) hide show
  1. package/_theming.scss +978 -781
  2. package/_visual.scss +848 -692
  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/pop-up/pop-up.d.ts +1 -0
  20. package/core/public-api.d.ts +1 -0
  21. package/core/version.d.ts +2 -0
  22. package/datepicker/README.md +0 -0
  23. package/datepicker/package.json +5 -5
  24. package/design-tokens/{tokens → legacy-2017/tokens}/components/alert.json5 +0 -0
  25. package/design-tokens/{tokens → legacy-2017/tokens}/components/autocomplete.json5 +0 -0
  26. package/design-tokens/{tokens → legacy-2017/tokens}/components/badge.json5 +0 -0
  27. package/design-tokens/{tokens → legacy-2017/tokens}/components/button-toggle.json5 +0 -0
  28. package/design-tokens/{tokens → legacy-2017/tokens}/components/button.json5 +0 -0
  29. package/design-tokens/{tokens → legacy-2017/tokens}/components/card.json5 +0 -0
  30. package/design-tokens/legacy-2017/tokens/components/checkbox.json5 +39 -0
  31. package/design-tokens/{tokens → legacy-2017/tokens}/components/datepicker.json5 +0 -0
  32. package/design-tokens/{tokens → legacy-2017/tokens}/components/divider.json5 +0 -0
  33. package/design-tokens/{tokens → legacy-2017/tokens}/components/dropdown.json5 +0 -0
  34. package/design-tokens/{tokens → legacy-2017/tokens}/components/form-field.json5 +0 -0
  35. package/design-tokens/{tokens → legacy-2017/tokens}/components/forms.json5 +0 -0
  36. package/design-tokens/{tokens → legacy-2017/tokens}/components/input.json5 +0 -0
  37. package/design-tokens/{tokens → legacy-2017/tokens}/components/link.json5 +0 -0
  38. package/design-tokens/{tokens → legacy-2017/tokens}/components/list.json5 +0 -0
  39. package/design-tokens/legacy-2017/tokens/components/modal.json5 +79 -0
  40. package/design-tokens/legacy-2017/tokens/components/navbar.json5 +69 -0
  41. package/design-tokens/{tokens → legacy-2017/tokens}/components/optgroup.json5 +0 -0
  42. package/design-tokens/{tokens → legacy-2017/tokens}/components/option.json5 +0 -0
  43. package/design-tokens/{tokens → legacy-2017/tokens}/components/popover.json5 +0 -0
  44. package/design-tokens/{tokens → legacy-2017/tokens}/components/popup.json5 +0 -0
  45. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-bar.json5 +0 -0
  46. package/design-tokens/{tokens → legacy-2017/tokens}/components/progress-spinner.json5 +0 -0
  47. package/design-tokens/legacy-2017/tokens/components/radio.json5 +44 -0
  48. package/design-tokens/{tokens → legacy-2017/tokens}/components/select.json5 +0 -0
  49. package/design-tokens/{tokens → legacy-2017/tokens}/components/sidepanel.json5 +0 -0
  50. package/design-tokens/{tokens → legacy-2017/tokens}/components/table.json5 +0 -0
  51. package/design-tokens/{tokens → legacy-2017/tokens}/components/tabs.json5 +0 -0
  52. package/design-tokens/legacy-2017/tokens/components/tags.json5 +132 -0
  53. package/design-tokens/{tokens → legacy-2017/tokens}/components/textarea.json5 +0 -0
  54. package/design-tokens/{tokens → legacy-2017/tokens}/components/timepicker.json5 +0 -0
  55. package/design-tokens/legacy-2017/tokens/components/toggle.json5 +79 -0
  56. package/design-tokens/{tokens → legacy-2017/tokens}/components/tooltip.json5 +0 -0
  57. package/design-tokens/{tokens → legacy-2017/tokens}/components/tree.json5 +0 -0
  58. package/design-tokens/{tokens → legacy-2017/tokens}/properties/aliases.json5 +0 -0
  59. package/design-tokens/{tokens → legacy-2017/tokens}/properties/colors.json5 +0 -0
  60. package/design-tokens/{tokens → legacy-2017/tokens}/properties/font.json5 +0 -0
  61. package/design-tokens/{tokens → legacy-2017/tokens}/properties/globals.json5 +0 -0
  62. package/design-tokens/{tokens → legacy-2017/tokens}/properties/padding.json5 +0 -0
  63. package/design-tokens/{tokens → legacy-2017/tokens}/properties/palette.json5 +0 -0
  64. package/design-tokens/{tokens → legacy-2017/tokens}/properties/typography.json5 +0 -0
  65. package/design-tokens/legacy-2017/tokens.d.ts +7659 -0
  66. package/design-tokens/package.json +5 -5
  67. package/design-tokens/pt-2022/tokens/components/alert.json5 +83 -0
  68. package/design-tokens/pt-2022/tokens/components/autocomplete.json5 +11 -0
  69. package/design-tokens/pt-2022/tokens/components/badge.json5 +184 -0
  70. package/design-tokens/pt-2022/tokens/components/button-toggle.json5 +10 -0
  71. package/design-tokens/pt-2022/tokens/components/button.json5 +143 -0
  72. package/design-tokens/pt-2022/tokens/components/card.json5 +51 -0
  73. package/design-tokens/pt-2022/tokens/components/checkbox.json5 +39 -0
  74. package/design-tokens/pt-2022/tokens/components/datepicker.json5 +64 -0
  75. package/design-tokens/pt-2022/tokens/components/divider.json5 +8 -0
  76. package/design-tokens/pt-2022/tokens/components/dropdown.json5 +47 -0
  77. package/design-tokens/pt-2022/tokens/components/form-field.json5 +52 -0
  78. package/design-tokens/pt-2022/tokens/components/forms.json5 +52 -0
  79. package/design-tokens/pt-2022/tokens/components/input.json5 +13 -0
  80. package/design-tokens/pt-2022/tokens/components/link.json5 +56 -0
  81. package/design-tokens/pt-2022/tokens/components/list.json5 +15 -0
  82. package/design-tokens/pt-2022/tokens/components/modal.json5 +79 -0
  83. package/design-tokens/pt-2022/tokens/components/navbar.json5 +69 -0
  84. package/design-tokens/pt-2022/tokens/components/optgroup.json5 +10 -0
  85. package/design-tokens/pt-2022/tokens/components/option.json5 +12 -0
  86. package/design-tokens/pt-2022/tokens/components/popover.json5 +68 -0
  87. package/design-tokens/pt-2022/tokens/components/popup.json5 +18 -0
  88. package/design-tokens/pt-2022/tokens/components/progress-bar.json5 +13 -0
  89. package/design-tokens/pt-2022/tokens/components/progress-spinner.json5 +7 -0
  90. package/design-tokens/pt-2022/tokens/components/radio.json5 +44 -0
  91. package/design-tokens/pt-2022/tokens/components/select.json5 +25 -0
  92. package/design-tokens/pt-2022/tokens/components/sidepanel.json5 +30 -0
  93. package/design-tokens/pt-2022/tokens/components/table.json5 +15 -0
  94. package/design-tokens/pt-2022/tokens/components/tabs.json5 +25 -0
  95. package/design-tokens/pt-2022/tokens/components/tags.json5 +132 -0
  96. package/design-tokens/pt-2022/tokens/components/textarea.json5 +12 -0
  97. package/design-tokens/pt-2022/tokens/components/timepicker.json5 +7 -0
  98. package/design-tokens/pt-2022/tokens/components/toggle.json5 +79 -0
  99. package/design-tokens/pt-2022/tokens/components/tooltip.json5 +83 -0
  100. package/design-tokens/pt-2022/tokens/components/tree.json5 +12 -0
  101. package/design-tokens/pt-2022/tokens/properties/aliases.json5 +3 -0
  102. package/design-tokens/pt-2022/tokens/properties/colors.json5 +112 -0
  103. package/design-tokens/pt-2022/tokens/properties/font.json5 +15 -0
  104. package/design-tokens/pt-2022/tokens/properties/globals.json5 +30 -0
  105. package/design-tokens/pt-2022/tokens/properties/padding.json5 +3 -0
  106. package/design-tokens/pt-2022/tokens/properties/palette.json5 +226 -0
  107. package/design-tokens/pt-2022/tokens/properties/typography.json5 +140 -0
  108. package/design-tokens/pt-2022/tokens.d.ts +8696 -0
  109. package/design-tokens/public-api.d.ts +3 -1
  110. package/divider/README.md +0 -0
  111. package/divider/package.json +5 -5
  112. package/dropdown/package.json +5 -5
  113. package/esm2020/autocomplete/autocomplete-origin.directive.mjs +21 -0
  114. package/esm2020/autocomplete/autocomplete-trigger.directive.mjs +555 -0
  115. package/esm2020/autocomplete/autocomplete.component.mjs +154 -0
  116. package/esm2020/autocomplete/autocomplete.module.mjs +34 -0
  117. package/{esm2015/autocomplete/index.js → esm2020/autocomplete/index.mjs} +0 -0
  118. package/{esm2015/autocomplete/ptsecurity-mosaic-autocomplete.js → esm2020/autocomplete/ptsecurity-mosaic-autocomplete.mjs} +0 -0
  119. package/{esm2015/autocomplete/public-api.js → esm2020/autocomplete/public-api.mjs} +0 -0
  120. package/esm2020/button/button.component.mjs +129 -0
  121. package/esm2020/button/button.module.mjs +38 -0
  122. package/{esm2015/button/index.js → esm2020/button/index.mjs} +0 -0
  123. package/{esm2015/button/ptsecurity-mosaic-button.js → esm2020/button/ptsecurity-mosaic-button.mjs} +0 -0
  124. package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
  125. package/esm2020/button-toggle/button-toggle.component.mjs +362 -0
  126. package/esm2020/button-toggle/button-toggle.module.mjs +19 -0
  127. package/{esm2015/button-toggle/index.js → esm2020/button-toggle/index.mjs} +0 -0
  128. package/{esm2015/button-toggle/ptsecurity-mosaic-button-toggle.js → esm2020/button-toggle/ptsecurity-mosaic-button-toggle.mjs} +0 -0
  129. package/{esm2015/button-toggle/public-api.js → esm2020/button-toggle/public-api.mjs} +0 -0
  130. package/esm2020/card/card.component.mjs +80 -0
  131. package/esm2020/card/card.module.mjs +30 -0
  132. package/{esm2015/card/index.js → esm2020/card/index.mjs} +0 -0
  133. package/{esm2015/card/ptsecurity-mosaic-card.js → esm2020/card/ptsecurity-mosaic-card.mjs} +0 -0
  134. package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
  135. package/{esm2015/checkbox/checkbox-config.js → esm2020/checkbox/checkbox-config.mjs} +0 -0
  136. package/esm2020/checkbox/checkbox-module.mjs +19 -0
  137. package/esm2020/checkbox/checkbox-required-validator.mjs +27 -0
  138. package/esm2020/checkbox/checkbox.mjs +315 -0
  139. package/{esm2015/checkbox/index.js → esm2020/checkbox/index.mjs} +0 -0
  140. package/{esm2015/checkbox/ptsecurity-mosaic-checkbox.js → esm2020/checkbox/ptsecurity-mosaic-checkbox.mjs} +0 -0
  141. package/{esm2015/checkbox/public-api.js → esm2020/checkbox/public-api.mjs} +0 -0
  142. package/{esm2015/core/animation/animation.js → esm2020/core/animation/animation.mjs} +0 -0
  143. package/{esm2015/core/animation/fade-animations.js → esm2020/core/animation/fade-animations.mjs} +0 -0
  144. package/{esm2015/core/animation/index.js → esm2020/core/animation/index.mjs} +0 -0
  145. package/{esm2015/core/animation/select-animations.js → esm2020/core/animation/select-animations.mjs} +0 -0
  146. package/{esm2015/core/common-behaviors/color.js → esm2020/core/common-behaviors/color.mjs} +0 -0
  147. package/esm2020/core/common-behaviors/common-module.mjs +83 -0
  148. package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
  149. package/{esm2015/core/common-behaviors/disabled.js → esm2020/core/common-behaviors/disabled.mjs} +0 -0
  150. package/{esm2015/core/common-behaviors/error-state.js → esm2020/core/common-behaviors/error-state.mjs} +0 -0
  151. package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
  152. package/{esm2015/core/common-behaviors/tabindex.js → esm2020/core/common-behaviors/tabindex.mjs} +0 -0
  153. package/esm2020/core/error/error-options.mjs +26 -0
  154. package/esm2020/core/formatters/date/formatter.mjs +359 -0
  155. package/esm2020/core/formatters/date/templates/en-US.mjs +281 -0
  156. package/esm2020/core/formatters/date/templates/ru-RU.mjs +281 -0
  157. package/esm2020/core/formatters/index.mjs +20 -0
  158. package/esm2020/core/formatters/number/formatter.mjs +105 -0
  159. package/esm2020/core/forms/forms-module.mjs +24 -0
  160. package/esm2020/core/forms/forms.directive.mjs +66 -0
  161. package/{esm2015/core/forms/index.js → esm2020/core/forms/index.mjs} +0 -0
  162. package/esm2020/core/highlight/highlight.pipe.mjs +17 -0
  163. package/esm2020/core/highlight/index.mjs +19 -0
  164. package/{esm2015/core/index.js → esm2020/core/index.mjs} +0 -0
  165. package/{esm2015/core/label/label-options.js → esm2020/core/label/label-options.mjs} +0 -0
  166. package/esm2020/core/line/line.mjs +70 -0
  167. package/esm2020/core/option/action.mjs +121 -0
  168. package/{esm2015/core/option/index.js → esm2020/core/option/index.mjs} +0 -0
  169. package/esm2020/core/option/optgroup.mjs +31 -0
  170. package/esm2020/core/option/option-module.mjs +21 -0
  171. package/esm2020/core/option/option.mjs +254 -0
  172. package/{esm2015/core/overlay/overlay-position-map.js → esm2020/core/overlay/overlay-position-map.mjs} +0 -0
  173. package/{esm2015/core/pop-up/constants.js → esm2020/core/pop-up/constants.mjs} +0 -0
  174. package/{esm2015/core/pop-up/index.js → esm2020/core/pop-up/index.mjs} +0 -0
  175. package/esm2020/core/pop-up/pop-up-trigger.mjs +239 -0
  176. package/esm2020/core/pop-up/pop-up.mjs +94 -0
  177. package/{esm2015/core/ptsecurity-mosaic-core.js → esm2020/core/ptsecurity-mosaic-core.mjs} +0 -0
  178. package/esm2020/core/public-api.mjs +18 -0
  179. package/{esm2015/core/select/constants.js → esm2020/core/select/constants.mjs} +0 -0
  180. package/{esm2015/core/select/errors.js → esm2020/core/select/errors.mjs} +0 -0
  181. package/{esm2015/core/select/events.js → esm2020/core/select/events.mjs} +0 -0
  182. package/{esm2015/core/select/index.js → esm2020/core/select/index.mjs} +0 -0
  183. package/{esm2015/core/selection/constants.js → esm2020/core/selection/constants.mjs} +0 -0
  184. package/{esm2015/core/selection/index.js → esm2020/core/selection/index.mjs} +0 -0
  185. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +37 -0
  186. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs +18 -0
  187. package/esm2020/core/services/measure-scrollbar.service.mjs +48 -0
  188. package/{esm2015/core/utils/index.js → esm2020/core/utils/index.mjs} +0 -0
  189. package/{esm2015/core/utils/public-api.js → esm2020/core/utils/public-api.mjs} +0 -0
  190. package/{esm2015/core/utils/utils.js → esm2020/core/utils/utils.mjs} +0 -0
  191. package/{esm2015/core/validation/index.js → esm2020/core/validation/index.mjs} +0 -0
  192. package/{esm2015/core/validation/validation.js → esm2020/core/validation/validation.mjs} +0 -0
  193. package/esm2020/core/version.mjs +3 -0
  194. package/esm2020/datepicker/calendar-body.component.mjs +106 -0
  195. package/esm2020/datepicker/calendar.component.mjs +362 -0
  196. package/{esm2015/datepicker/datepicker-animations.js → esm2020/datepicker/datepicker-animations.mjs} +0 -0
  197. package/{esm2015/datepicker/datepicker-errors.js → esm2020/datepicker/datepicker-errors.mjs} +0 -0
  198. package/esm2020/datepicker/datepicker-input.directive.mjs +900 -0
  199. package/esm2020/datepicker/datepicker-intl.mjs +40 -0
  200. package/esm2020/datepicker/datepicker-module.mjs +107 -0
  201. package/esm2020/datepicker/datepicker-toggle.component.mjs +86 -0
  202. package/esm2020/datepicker/datepicker.component.mjs +408 -0
  203. package/{esm2015/datepicker/index.js → esm2020/datepicker/index.mjs} +0 -0
  204. package/esm2020/datepicker/month-view.component.mjs +257 -0
  205. package/esm2020/datepicker/multi-year-view.component.mjs +218 -0
  206. package/{esm2015/datepicker/ptsecurity-mosaic-datepicker.js → esm2020/datepicker/ptsecurity-mosaic-datepicker.mjs} +0 -0
  207. package/{esm2015/datepicker/public-api.js → esm2020/datepicker/public-api.mjs} +0 -0
  208. package/esm2020/datepicker/year-view.component.mjs +253 -0
  209. package/{esm2015/design-tokens/index.js → esm2020/design-tokens/index.mjs} +0 -0
  210. package/esm2020/design-tokens/legacy-2017/tokens.mjs +953 -0
  211. package/esm2020/design-tokens/pt-2022/tokens.mjs +1013 -0
  212. package/{esm2015/design-tokens/ptsecurity-mosaic-design-tokens.js → esm2020/design-tokens/ptsecurity-mosaic-design-tokens.mjs} +0 -0
  213. package/esm2020/design-tokens/public-api.mjs +4 -0
  214. package/esm2020/divider/divider.component.mjs +39 -0
  215. package/esm2020/divider/divider.module.mjs +18 -0
  216. package/{esm2015/divider/index.js → esm2020/divider/index.mjs} +0 -0
  217. package/{esm2015/divider/ptsecurity-mosaic-divider.js → esm2020/divider/ptsecurity-mosaic-divider.mjs} +0 -0
  218. package/{esm2015/divider/public-api.js → esm2020/divider/public-api.mjs} +0 -0
  219. package/{esm2015/dropdown/dropdown-animations.js → esm2020/dropdown/dropdown-animations.mjs} +0 -0
  220. package/esm2020/dropdown/dropdown-content.directive.mjs +64 -0
  221. package/{esm2015/dropdown/dropdown-errors.js → esm2020/dropdown/dropdown-errors.mjs} +0 -0
  222. package/esm2020/dropdown/dropdown-item.component.mjs +139 -0
  223. package/esm2020/dropdown/dropdown-trigger.directive.mjs +485 -0
  224. package/esm2020/dropdown/dropdown.component.mjs +292 -0
  225. package/esm2020/dropdown/dropdown.module.mjs +50 -0
  226. package/{esm2015/dropdown/dropdown.types.js → esm2020/dropdown/dropdown.types.mjs} +0 -0
  227. package/{esm2015/dropdown/index.js → esm2020/dropdown/index.mjs} +0 -0
  228. package/{esm2015/dropdown/ptsecurity-mosaic-dropdown.js → esm2020/dropdown/ptsecurity-mosaic-dropdown.mjs} +0 -0
  229. package/{esm2015/dropdown/public-api.js → esm2020/dropdown/public-api.mjs} +0 -0
  230. package/esm2020/form-field/cleaner.mjs +23 -0
  231. package/{esm2015/form-field/form-field-control.js → esm2020/form-field/form-field-control.mjs} +0 -0
  232. package/{esm2015/form-field/form-field-errors.js → esm2020/form-field/form-field-errors.mjs} +0 -0
  233. package/esm2020/form-field/form-field.mjs +205 -0
  234. package/esm2020/form-field/form-field.module.mjs +52 -0
  235. package/esm2020/form-field/hint.mjs +23 -0
  236. package/{esm2015/form-field/index.js → esm2020/form-field/index.mjs} +0 -0
  237. package/esm2020/form-field/prefix.mjs +13 -0
  238. package/{esm2015/form-field/ptsecurity-mosaic-form-field.js → esm2020/form-field/ptsecurity-mosaic-form-field.mjs} +0 -0
  239. package/{esm2015/form-field/public-api.js → esm2020/form-field/public-api.mjs} +0 -0
  240. package/esm2020/form-field/stepper.mjs +55 -0
  241. package/esm2020/form-field/suffix.mjs +13 -0
  242. package/esm2020/icon/icon.component.mjs +44 -0
  243. package/esm2020/icon/icon.module.mjs +38 -0
  244. package/{esm2015/icon/index.js → esm2020/icon/index.mjs} +0 -0
  245. package/{esm2015/icon/ptsecurity-mosaic-icon.js → esm2020/icon/ptsecurity-mosaic-icon.mjs} +0 -0
  246. package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
  247. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  248. package/{esm2015/input/index.js → esm2020/input/index.mjs} +0 -0
  249. package/{esm2015/input/input-errors.js → esm2020/input/input-errors.mjs} +0 -0
  250. package/esm2020/input/input-number-validators.mjs +92 -0
  251. package/esm2020/input/input-number.mjs +163 -0
  252. package/{esm2015/input/input-value-accessor.js → esm2020/input/input-value-accessor.mjs} +0 -0
  253. package/esm2020/input/input.mjs +333 -0
  254. package/esm2020/input/input.module.mjs +23 -0
  255. package/{esm2015/input/ptsecurity-mosaic-input.js → esm2020/input/ptsecurity-mosaic-input.mjs} +0 -0
  256. package/{esm2015/input/public-api.js → esm2020/input/public-api.mjs} +0 -0
  257. package/{esm2015/link/index.js → esm2020/link/index.mjs} +0 -0
  258. package/esm2020/link/link.component.mjs +107 -0
  259. package/esm2020/link/link.module.mjs +26 -0
  260. package/{esm2015/link/ptsecurity-mosaic-link.js → esm2020/link/ptsecurity-mosaic-link.mjs} +0 -0
  261. package/{esm2015/link/public-api.js → esm2020/link/public-api.mjs} +0 -0
  262. package/{esm2015/list/index.js → esm2020/list/index.mjs} +0 -0
  263. package/esm2020/list/list-selection.component.mjs +687 -0
  264. package/esm2020/list/list.component.mjs +44 -0
  265. package/esm2020/list/list.module.mjs +55 -0
  266. package/{esm2015/list/ptsecurity-mosaic-list.js → esm2020/list/ptsecurity-mosaic-list.mjs} +0 -0
  267. package/{esm2015/list/public-api.js → esm2020/list/public-api.mjs} +0 -0
  268. package/esm2020/modal/css-unit.pipe.mjs +17 -0
  269. package/{esm2015/modal/index.js → esm2020/modal/index.mjs} +0 -0
  270. package/esm2020/modal/modal-control.service.mjs +85 -0
  271. package/{esm2015/modal/modal-ref.class.js → esm2020/modal/modal-ref.class.mjs} +0 -0
  272. package/{esm2015/modal/modal-util.js → esm2020/modal/modal-util.mjs} +0 -0
  273. package/esm2020/modal/modal.component.mjs +501 -0
  274. package/esm2020/modal/modal.directive.mjs +52 -0
  275. package/esm2020/modal/modal.module.mjs +72 -0
  276. package/esm2020/modal/modal.service.mjs +124 -0
  277. package/{esm2015/modal/modal.type.js → esm2020/modal/modal.type.mjs} +0 -0
  278. package/{esm2015/modal/ptsecurity-mosaic-modal.js → esm2020/modal/ptsecurity-mosaic-modal.mjs} +0 -0
  279. package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
  280. package/{esm2015/navbar/index.js → esm2020/navbar/index.mjs} +0 -0
  281. package/esm2020/navbar/navbar-item.component.mjs +583 -0
  282. package/esm2020/navbar/navbar.component.mjs +237 -0
  283. package/esm2020/navbar/navbar.module.mjs +92 -0
  284. package/{esm2015/navbar/ptsecurity-mosaic-navbar.js → esm2020/navbar/ptsecurity-mosaic-navbar.mjs} +0 -0
  285. package/{esm2015/navbar/public-api.js → esm2020/navbar/public-api.mjs} +0 -0
  286. package/esm2020/navbar/vertical-navbar.animation.mjs +10 -0
  287. package/esm2020/navbar/vertical-navbar.component.mjs +114 -0
  288. package/{esm2015/popover/index.js → esm2020/popover/index.mjs} +0 -0
  289. package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
  290. package/esm2020/popover/popover-confirm.component.mjs +108 -0
  291. package/esm2020/popover/popover.component.mjs +253 -0
  292. package/esm2020/popover/popover.module.mjs +24 -0
  293. package/{esm2015/popover/ptsecurity-mosaic-popover.js → esm2020/popover/ptsecurity-mosaic-popover.mjs} +0 -0
  294. package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +0 -0
  295. package/{esm2015/progress-bar/index.js → esm2020/progress-bar/index.mjs} +0 -0
  296. package/esm2020/progress-bar/progress-bar.component.mjs +42 -0
  297. package/esm2020/progress-bar/progress-bar.module.mjs +30 -0
  298. package/{esm2015/progress-bar/ptsecurity-mosaic-progress-bar.js → esm2020/progress-bar/ptsecurity-mosaic-progress-bar.mjs} +0 -0
  299. package/{esm2015/progress-bar/public-api.js → esm2020/progress-bar/public-api.mjs} +0 -0
  300. package/{esm2015/progress-spinner/index.js → esm2020/progress-spinner/index.mjs} +0 -0
  301. package/esm2020/progress-spinner/progress-spinner.component.mjs +46 -0
  302. package/esm2020/progress-spinner/progress-spinner.module.mjs +30 -0
  303. package/{esm2015/progress-spinner/ptsecurity-mosaic-progress-spinner.js → esm2020/progress-spinner/ptsecurity-mosaic-progress-spinner.mjs} +0 -0
  304. package/{esm2015/progress-spinner/public-api.js → esm2020/progress-spinner/public-api.mjs} +0 -0
  305. package/{esm2015/ptsecurity-mosaic.js → esm2020/ptsecurity-mosaic.mjs} +0 -0
  306. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  307. package/{esm2015/radio/index.js → esm2020/radio/index.mjs} +0 -0
  308. package/{esm2015/radio/ptsecurity-mosaic-radio.js → esm2020/radio/ptsecurity-mosaic-radio.mjs} +0 -0
  309. package/{esm2015/radio/public-api.js → esm2020/radio/public-api.mjs} +0 -0
  310. package/esm2020/radio/radio.component.mjs +458 -0
  311. package/esm2020/radio/radio.module.mjs +20 -0
  312. package/{esm2015/select/index.js → esm2020/select/index.mjs} +0 -0
  313. package/{esm2015/select/ptsecurity-mosaic-select.js → esm2020/select/ptsecurity-mosaic-select.mjs} +0 -0
  314. package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
  315. package/esm2020/select/select.component.mjs +1110 -0
  316. package/esm2020/select/select.module.mjs +64 -0
  317. package/{esm2015/sidebar/index.js → esm2020/sidebar/index.mjs} +0 -0
  318. package/{esm2015/sidebar/ptsecurity-mosaic-sidebar.js → esm2020/sidebar/ptsecurity-mosaic-sidebar.mjs} +0 -0
  319. package/{esm2015/sidebar/public-api.js → esm2020/sidebar/public-api.mjs} +0 -0
  320. package/{esm2015/sidebar/sidebar-animations.js → esm2020/sidebar/sidebar-animations.mjs} +0 -0
  321. package/esm2020/sidebar/sidebar.component.mjs +146 -0
  322. package/esm2020/sidebar/sidebar.module.mjs +30 -0
  323. package/{esm2015/sidepanel/index.js → esm2020/sidepanel/index.mjs} +0 -0
  324. package/{esm2015/sidepanel/ptsecurity-mosaic-sidepanel.js → esm2020/sidepanel/ptsecurity-mosaic-sidepanel.mjs} +0 -0
  325. package/{esm2015/sidepanel/public-api.js → esm2020/sidepanel/public-api.mjs} +0 -0
  326. package/{esm2015/sidepanel/sidepanel-animations.js → esm2020/sidepanel/sidepanel-animations.mjs} +0 -0
  327. package/{esm2015/sidepanel/sidepanel-config.js → esm2020/sidepanel/sidepanel-config.mjs} +0 -0
  328. package/esm2020/sidepanel/sidepanel-container.component.mjs +106 -0
  329. package/esm2020/sidepanel/sidepanel-directives.mjs +159 -0
  330. package/{esm2015/sidepanel/sidepanel-ref.js → esm2020/sidepanel/sidepanel-ref.mjs} +0 -0
  331. package/esm2020/sidepanel/sidepanel.module.mjs +74 -0
  332. package/esm2020/sidepanel/sidepanel.service.mjs +167 -0
  333. package/{esm2015/splitter/index.js → esm2020/splitter/index.mjs} +0 -0
  334. package/{esm2015/splitter/ptsecurity-mosaic-splitter.js → esm2020/splitter/ptsecurity-mosaic-splitter.mjs} +0 -0
  335. package/{esm2015/splitter/public-api.js → esm2020/splitter/public-api.mjs} +0 -0
  336. package/esm2020/splitter/splitter.component.mjs +482 -0
  337. package/esm2020/splitter/splitter.module.mjs +40 -0
  338. package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
  339. package/{esm2015/table/ptsecurity-mosaic-table.js → esm2020/table/ptsecurity-mosaic-table.mjs} +0 -0
  340. package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
  341. package/esm2020/table/table.component.mjs +16 -0
  342. package/esm2020/table/table.module.mjs +30 -0
  343. package/{esm2015/tabs/index.js → esm2020/tabs/index.mjs} +0 -0
  344. package/esm2020/tabs/paginated-tab-header.mjs +479 -0
  345. package/{esm2015/tabs/ptsecurity-mosaic-tabs.js → esm2020/tabs/ptsecurity-mosaic-tabs.mjs} +0 -0
  346. package/{esm2015/tabs/public-api.js → esm2020/tabs/public-api.mjs} +0 -0
  347. package/esm2020/tabs/tab-body.component.mjs +178 -0
  348. package/esm2020/tabs/tab-content.directive.mjs +15 -0
  349. package/esm2020/tabs/tab-group.component.mjs +350 -0
  350. package/esm2020/tabs/tab-header.component.mjs +67 -0
  351. package/esm2020/tabs/tab-label-wrapper.directive.mjs +78 -0
  352. package/esm2020/tabs/tab-label.directive.mjs +17 -0
  353. package/{esm2015/tabs/tab-nav-bar/index.js → esm2020/tabs/tab-nav-bar/index.mjs} +0 -0
  354. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +110 -0
  355. package/esm2020/tabs/tab.component.mjs +133 -0
  356. package/{esm2015/tabs/tabs-animations.js → esm2020/tabs/tabs-animations.mjs} +0 -0
  357. package/esm2020/tabs/tabs.module.mjs +104 -0
  358. package/{esm2015/tags/index.js → esm2020/tags/index.mjs} +0 -0
  359. package/{esm2015/tags/ptsecurity-mosaic-tags.js → esm2020/tags/ptsecurity-mosaic-tags.mjs} +0 -0
  360. package/{esm2015/tags/public-api.js → esm2020/tags/public-api.mjs} +0 -0
  361. package/{esm2015/tags/tag-default-options.js → esm2020/tags/tag-default-options.mjs} +0 -0
  362. package/esm2020/tags/tag-input.mjs +229 -0
  363. package/esm2020/tags/tag-list.component.mjs +722 -0
  364. package/{esm2015/tags/tag-text-control.js → esm2020/tags/tag-text-control.mjs} +0 -0
  365. package/esm2020/tags/tag.component.mjs +377 -0
  366. package/esm2020/tags/tag.module.mjs +56 -0
  367. package/{esm2015/textarea/index.js → esm2020/textarea/index.mjs} +0 -0
  368. package/{esm2015/textarea/ptsecurity-mosaic-textarea.js → esm2020/textarea/ptsecurity-mosaic-textarea.mjs} +0 -0
  369. package/{esm2015/textarea/public-api.js → esm2020/textarea/public-api.mjs} +0 -0
  370. package/esm2020/textarea/textarea.component.mjs +268 -0
  371. package/esm2020/textarea/textarea.module.mjs +21 -0
  372. package/{esm2015/timepicker/index.js → esm2020/timepicker/index.mjs} +0 -0
  373. package/{esm2015/timepicker/ptsecurity-mosaic-timepicker.js → esm2020/timepicker/ptsecurity-mosaic-timepicker.mjs} +0 -0
  374. package/{esm2015/timepicker/public-api.js → esm2020/timepicker/public-api.mjs} +0 -0
  375. package/{esm2015/timepicker/timepicker.constants.js → esm2020/timepicker/timepicker.constants.mjs} +0 -0
  376. package/esm2020/timepicker/timepicker.directive.mjs +653 -0
  377. package/esm2020/timepicker/timepicker.module.mjs +34 -0
  378. package/{esm2015/toggle/index.js → esm2020/toggle/index.mjs} +0 -0
  379. package/{esm2015/toggle/ptsecurity-mosaic-toggle.js → esm2020/toggle/ptsecurity-mosaic-toggle.mjs} +0 -0
  380. package/{esm2015/toggle/public-api.js → esm2020/toggle/public-api.mjs} +0 -0
  381. package/esm2020/toggle/toggle.component.mjs +158 -0
  382. package/esm2020/toggle/toggle.module.mjs +20 -0
  383. package/{esm2015/tooltip/index.js → esm2020/tooltip/index.mjs} +0 -0
  384. package/{esm2015/tooltip/ptsecurity-mosaic-tooltip.js → esm2020/tooltip/ptsecurity-mosaic-tooltip.mjs} +0 -0
  385. package/{esm2015/tooltip/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
  386. package/{esm2015/tooltip/tooltip.animations.js → esm2020/tooltip/tooltip.animations.mjs} +0 -0
  387. package/esm2020/tooltip/tooltip.component.mjs +294 -0
  388. package/esm2020/tooltip/tooltip.module.mjs +43 -0
  389. package/{esm2015/tree/control/base-tree-control.js → esm2020/tree/control/base-tree-control.mjs} +0 -0
  390. package/{esm2015/tree/control/flat-tree-control.js → esm2020/tree/control/flat-tree-control.mjs} +0 -0
  391. package/{esm2015/tree/control/nested-tree-control.js → esm2020/tree/control/nested-tree-control.mjs} +0 -0
  392. package/{esm2015/tree/control/tree-control.js → esm2020/tree/control/tree-control.mjs} +0 -0
  393. package/esm2020/tree/data-source/flat-data-source.mjs +162 -0
  394. package/{esm2015/tree/data-source/nested-data-source.js → esm2020/tree/data-source/nested-data-source.mjs} +0 -0
  395. package/{esm2015/tree/index.js → esm2020/tree/index.mjs} +0 -0
  396. package/esm2020/tree/node.mjs +31 -0
  397. package/esm2020/tree/outlet.mjs +15 -0
  398. package/esm2020/tree/padding.directive.mjs +110 -0
  399. package/{esm2015/tree/ptsecurity-mosaic-tree.js → esm2020/tree/ptsecurity-mosaic-tree.mjs} +0 -0
  400. package/{esm2015/tree/public-api.js → esm2020/tree/public-api.mjs} +0 -0
  401. package/esm2020/tree/toggle.mjs +80 -0
  402. package/esm2020/tree/tree-base.mjs +243 -0
  403. package/{esm2015/tree/tree-errors.js → esm2020/tree/tree-errors.mjs} +0 -0
  404. package/esm2020/tree/tree-option.component.mjs +234 -0
  405. package/esm2020/tree/tree-selection.component.mjs +533 -0
  406. package/esm2020/tree/tree.mjs +15 -0
  407. package/esm2020/tree/tree.module.mjs +53 -0
  408. package/{esm2015/tree-select/index.js → esm2020/tree-select/index.mjs} +0 -0
  409. package/{esm2015/tree-select/ptsecurity-mosaic-tree-select.js → esm2020/tree-select/ptsecurity-mosaic-tree-select.mjs} +0 -0
  410. package/{esm2015/tree-select/public-api.js → esm2020/tree-select/public-api.mjs} +0 -0
  411. package/esm2020/tree-select/tree-select.component.mjs +925 -0
  412. package/esm2020/tree-select/tree-select.module.mjs +47 -0
  413. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +756 -0
  414. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -0
  415. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +385 -0
  416. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -0
  417. package/fesm2015/ptsecurity-mosaic-button.mjs +170 -0
  418. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -0
  419. package/fesm2015/ptsecurity-mosaic-card.mjs +113 -0
  420. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -0
  421. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +366 -0
  422. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -0
  423. package/fesm2015/ptsecurity-mosaic-core.mjs +2704 -0
  424. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -0
  425. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +2700 -0
  426. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -0
  427. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs +2925 -0
  428. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -0
  429. package/fesm2015/ptsecurity-mosaic-divider.mjs +61 -0
  430. package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -0
  431. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +1106 -0
  432. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -0
  433. package/fesm2015/ptsecurity-mosaic-form-field.mjs +378 -0
  434. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -0
  435. package/fesm2015/ptsecurity-mosaic-icon.mjs +88 -0
  436. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -0
  437. package/fesm2015/ptsecurity-mosaic-input.mjs +609 -0
  438. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -0
  439. package/fesm2015/ptsecurity-mosaic-link.mjs +137 -0
  440. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -0
  441. package/fesm2015/ptsecurity-mosaic-list.mjs +791 -0
  442. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -0
  443. package/fesm2015/ptsecurity-mosaic-modal.mjs +864 -0
  444. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -0
  445. package/fesm2015/ptsecurity-mosaic-navbar.mjs +1031 -0
  446. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -0
  447. package/fesm2015/ptsecurity-mosaic-popover.mjs +393 -0
  448. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -0
  449. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs +76 -0
  450. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -0
  451. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +80 -0
  452. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -0
  453. package/fesm2015/ptsecurity-mosaic-radio.mjs +481 -0
  454. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -0
  455. package/fesm2015/ptsecurity-mosaic-select.mjs +1175 -0
  456. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -0
  457. package/fesm2015/ptsecurity-mosaic-sidebar.mjs +202 -0
  458. package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -0
  459. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +592 -0
  460. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -0
  461. package/fesm2015/ptsecurity-mosaic-splitter.mjs +526 -0
  462. package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -0
  463. package/fesm2015/ptsecurity-mosaic-table.mjs +50 -0
  464. package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -0
  465. package/fesm2015/ptsecurity-mosaic-tabs.mjs +1511 -0
  466. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -0
  467. package/fesm2015/ptsecurity-mosaic-tags.mjs +1377 -0
  468. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -0
  469. package/fesm2015/ptsecurity-mosaic-textarea.mjs +293 -0
  470. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -0
  471. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +715 -0
  472. package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -0
  473. package/fesm2015/ptsecurity-mosaic-toggle.mjs +180 -0
  474. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -0
  475. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +365 -0
  476. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -0
  477. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +972 -0
  478. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -0
  479. package/fesm2015/ptsecurity-mosaic-tree.mjs +1718 -0
  480. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -0
  481. package/fesm2015/ptsecurity-mosaic.mjs +4 -0
  482. package/fesm2015/ptsecurity-mosaic.mjs.map +1 -0
  483. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs +752 -0
  484. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -0
  485. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs +383 -0
  486. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -0
  487. package/fesm2020/ptsecurity-mosaic-button.mjs +170 -0
  488. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -0
  489. package/fesm2020/ptsecurity-mosaic-card.mjs +113 -0
  490. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -0
  491. package/fesm2020/ptsecurity-mosaic-checkbox.mjs +364 -0
  492. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -0
  493. package/fesm2020/ptsecurity-mosaic-core.mjs +2733 -0
  494. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -0
  495. package/fesm2020/ptsecurity-mosaic-datepicker.mjs +2687 -0
  496. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -0
  497. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +2925 -0
  498. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -0
  499. package/fesm2020/ptsecurity-mosaic-divider.mjs +61 -0
  500. package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -0
  501. package/fesm2020/ptsecurity-mosaic-dropdown.mjs +1093 -0
  502. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -0
  503. package/fesm2020/ptsecurity-mosaic-form-field.mjs +377 -0
  504. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -0
  505. package/fesm2020/ptsecurity-mosaic-icon.mjs +86 -0
  506. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -0
  507. package/fesm2020/ptsecurity-mosaic-input.mjs +605 -0
  508. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -0
  509. package/fesm2020/ptsecurity-mosaic-link.mjs +136 -0
  510. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -0
  511. package/fesm2020/ptsecurity-mosaic-list.mjs +784 -0
  512. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -0
  513. package/fesm2020/ptsecurity-mosaic-modal.mjs +860 -0
  514. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -0
  515. package/fesm2020/ptsecurity-mosaic-navbar.mjs +1015 -0
  516. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -0
  517. package/fesm2020/ptsecurity-mosaic-popover.mjs +389 -0
  518. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -0
  519. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +76 -0
  520. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -0
  521. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +80 -0
  522. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -0
  523. package/fesm2020/ptsecurity-mosaic-radio.mjs +479 -0
  524. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -0
  525. package/fesm2020/ptsecurity-mosaic-select.mjs +1173 -0
  526. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -0
  527. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +202 -0
  528. package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -0
  529. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs +589 -0
  530. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -0
  531. package/fesm2020/ptsecurity-mosaic-splitter.mjs +526 -0
  532. package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -0
  533. package/fesm2020/ptsecurity-mosaic-table.mjs +50 -0
  534. package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -0
  535. package/fesm2020/ptsecurity-mosaic-tabs.mjs +1496 -0
  536. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -0
  537. package/fesm2020/ptsecurity-mosaic-tags.mjs +1370 -0
  538. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -0
  539. package/fesm2020/ptsecurity-mosaic-textarea.mjs +291 -0
  540. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -0
  541. package/fesm2020/ptsecurity-mosaic-timepicker.mjs +713 -0
  542. package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -0
  543. package/fesm2020/ptsecurity-mosaic-toggle.mjs +180 -0
  544. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -0
  545. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +357 -0
  546. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -0
  547. package/fesm2020/ptsecurity-mosaic-tree-select.mjs +970 -0
  548. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -0
  549. package/fesm2020/ptsecurity-mosaic-tree.mjs +1705 -0
  550. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -0
  551. package/fesm2020/ptsecurity-mosaic.mjs +4 -0
  552. package/fesm2020/ptsecurity-mosaic.mjs.map +1 -0
  553. package/form-field/README.md +0 -0
  554. package/form-field/package.json +5 -5
  555. package/icon/README.md +0 -0
  556. package/icon/package.json +5 -5
  557. package/input/package.json +5 -5
  558. package/link/README.md +0 -0
  559. package/link/package.json +5 -5
  560. package/list/README.md +0 -0
  561. package/list/package.json +5 -5
  562. package/modal/README.md +34 -0
  563. package/modal/modal-control.service.d.ts +1 -0
  564. package/modal/package.json +5 -5
  565. package/navbar/README.md +41 -0
  566. package/navbar/navbar-item.component.d.ts +123 -34
  567. package/navbar/navbar.component.d.ts +37 -9
  568. package/navbar/navbar.module.d.ts +2 -1
  569. package/navbar/package.json +5 -5
  570. package/navbar/vertical-navbar.component.d.ts +15 -26
  571. package/package.json +299 -14
  572. package/popover/README.md +32 -0
  573. package/popover/package.json +5 -5
  574. package/prebuilt-themes/dark-theme.css +1 -1
  575. package/prebuilt-themes/default-theme.css +1 -1
  576. package/prebuilt-visual/default-visual.css +1 -1
  577. package/progress-bar/README.md +0 -0
  578. package/progress-bar/package.json +5 -5
  579. package/progress-spinner/README.md +0 -0
  580. package/progress-spinner/package.json +5 -5
  581. package/radio/package.json +5 -5
  582. package/schematics/README.md +35 -0
  583. package/schematics/ng-update/data/index.d.ts +1 -0
  584. package/schematics/ng-update/data/index.js +10 -9
  585. package/schematics/ng-update/data/index.js.map +1 -1
  586. package/schematics/ng-update/data/symbol-removal.d.ts +2 -0
  587. package/schematics/ng-update/data/symbol-removal.js +5 -0
  588. package/schematics/ng-update/data/symbol-removal.js.map +1 -0
  589. package/schematics/ng-update/index.js +3 -3
  590. package/schematics/ng-update/index.js.map +1 -1
  591. package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js +1 -2
  592. package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js.map +1 -1
  593. package/schematics/ng-update/upgrade-data.js +2 -1
  594. package/schematics/ng-update/upgrade-data.js.map +1 -1
  595. package/schematics/tsconfig.lib.json +2 -2
  596. package/select/README.md +0 -0
  597. package/select/package.json +5 -5
  598. package/sidebar/package.json +5 -5
  599. package/sidepanel/package.json +5 -5
  600. package/splitter/package.json +5 -5
  601. package/table/README.md +0 -0
  602. package/table/package.json +5 -5
  603. package/tabs/README.md +0 -0
  604. package/tabs/package.json +5 -5
  605. package/tags/README.md +0 -0
  606. package/tags/package.json +5 -5
  607. package/textarea/README.md +0 -0
  608. package/textarea/package.json +5 -5
  609. package/timepicker/README.md +0 -0
  610. package/timepicker/package.json +5 -5
  611. package/toggle/package.json +5 -5
  612. package/tooltip/package.json +5 -5
  613. package/tree/data-source/flat-data-source.d.ts +2 -2
  614. package/tree/package.json +5 -5
  615. package/tree/tree-option.component.d.ts +5 -3
  616. package/tree/tree-selection.component.d.ts +1 -0
  617. package/tree-select/README.md +0 -0
  618. package/tree-select/package.json +5 -5
  619. package/tree-select/tree-select.component.d.ts +9 -1
  620. package/tree-select/tree-select.module.d.ts +2 -1
  621. package/bundles/ptsecurity-mosaic-autocomplete.umd.js +0 -1160
  622. package/bundles/ptsecurity-mosaic-autocomplete.umd.js.map +0 -1
  623. package/bundles/ptsecurity-mosaic-button-toggle.umd.js +0 -755
  624. package/bundles/ptsecurity-mosaic-button-toggle.umd.js.map +0 -1
  625. package/bundles/ptsecurity-mosaic-button.umd.js +0 -533
  626. package/bundles/ptsecurity-mosaic-button.umd.js.map +0 -1
  627. package/bundles/ptsecurity-mosaic-card.umd.js +0 -479
  628. package/bundles/ptsecurity-mosaic-card.umd.js.map +0 -1
  629. package/bundles/ptsecurity-mosaic-checkbox.umd.js +0 -762
  630. package/bundles/ptsecurity-mosaic-checkbox.umd.js.map +0 -1
  631. package/bundles/ptsecurity-mosaic-core.umd.js +0 -2841
  632. package/bundles/ptsecurity-mosaic-core.umd.js.map +0 -1
  633. package/bundles/ptsecurity-mosaic-datepicker.umd.js +0 -3362
  634. package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +0 -1
  635. package/bundles/ptsecurity-mosaic-design-tokens.umd.js +0 -1871
  636. package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +0 -1
  637. package/bundles/ptsecurity-mosaic-divider.umd.js +0 -106
  638. package/bundles/ptsecurity-mosaic-divider.umd.js.map +0 -1
  639. package/bundles/ptsecurity-mosaic-dropdown.umd.js +0 -1532
  640. package/bundles/ptsecurity-mosaic-dropdown.umd.js.map +0 -1
  641. package/bundles/ptsecurity-mosaic-form-field.umd.js +0 -788
  642. package/bundles/ptsecurity-mosaic-form-field.umd.js.map +0 -1
  643. package/bundles/ptsecurity-mosaic-icon.umd.js +0 -450
  644. package/bundles/ptsecurity-mosaic-icon.umd.js.map +0 -1
  645. package/bundles/ptsecurity-mosaic-input.umd.js +0 -1008
  646. package/bundles/ptsecurity-mosaic-input.umd.js.map +0 -1
  647. package/bundles/ptsecurity-mosaic-link.umd.js +0 -515
  648. package/bundles/ptsecurity-mosaic-link.umd.js.map +0 -1
  649. package/bundles/ptsecurity-mosaic-list.umd.js +0 -1251
  650. package/bundles/ptsecurity-mosaic-list.umd.js.map +0 -1
  651. package/bundles/ptsecurity-mosaic-modal.umd.js +0 -1312
  652. package/bundles/ptsecurity-mosaic-modal.umd.js.map +0 -1
  653. package/bundles/ptsecurity-mosaic-navbar.umd.js +0 -930
  654. package/bundles/ptsecurity-mosaic-navbar.umd.js.map +0 -1
  655. package/bundles/ptsecurity-mosaic-popover.umd.js +0 -836
  656. package/bundles/ptsecurity-mosaic-popover.umd.js.map +0 -1
  657. package/bundles/ptsecurity-mosaic-progress-bar.umd.js +0 -440
  658. package/bundles/ptsecurity-mosaic-progress-bar.umd.js.map +0 -1
  659. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js +0 -448
  660. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js.map +0 -1
  661. package/bundles/ptsecurity-mosaic-radio.umd.js +0 -901
  662. package/bundles/ptsecurity-mosaic-radio.umd.js.map +0 -1
  663. package/bundles/ptsecurity-mosaic-select.umd.js +0 -1606
  664. package/bundles/ptsecurity-mosaic-select.umd.js.map +0 -1
  665. package/bundles/ptsecurity-mosaic-sidebar.umd.js +0 -254
  666. package/bundles/ptsecurity-mosaic-sidebar.umd.js.map +0 -1
  667. package/bundles/ptsecurity-mosaic-sidepanel.umd.js +0 -954
  668. package/bundles/ptsecurity-mosaic-sidepanel.umd.js.map +0 -1
  669. package/bundles/ptsecurity-mosaic-splitter.umd.js +0 -635
  670. package/bundles/ptsecurity-mosaic-splitter.umd.js.map +0 -1
  671. package/bundles/ptsecurity-mosaic-table.umd.js +0 -81
  672. package/bundles/ptsecurity-mosaic-table.umd.js.map +0 -1
  673. package/bundles/ptsecurity-mosaic-tabs.umd.js +0 -2013
  674. package/bundles/ptsecurity-mosaic-tabs.umd.js.map +0 -1
  675. package/bundles/ptsecurity-mosaic-tags.umd.js +0 -1917
  676. package/bundles/ptsecurity-mosaic-tags.umd.js.map +0 -1
  677. package/bundles/ptsecurity-mosaic-textarea.umd.js +0 -664
  678. package/bundles/ptsecurity-mosaic-textarea.umd.js.map +0 -1
  679. package/bundles/ptsecurity-mosaic-timepicker.umd.js +0 -821
  680. package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +0 -1
  681. package/bundles/ptsecurity-mosaic-toggle.umd.js +0 -557
  682. package/bundles/ptsecurity-mosaic-toggle.umd.js.map +0 -1
  683. package/bundles/ptsecurity-mosaic-tooltip.umd.js +0 -777
  684. package/bundles/ptsecurity-mosaic-tooltip.umd.js.map +0 -1
  685. package/bundles/ptsecurity-mosaic-tree-select.umd.js +0 -1369
  686. package/bundles/ptsecurity-mosaic-tree-select.umd.js.map +0 -1
  687. package/bundles/ptsecurity-mosaic-tree.umd.js +0 -2301
  688. package/bundles/ptsecurity-mosaic-tree.umd.js.map +0 -1
  689. package/bundles/ptsecurity-mosaic.umd.js +0 -11
  690. package/bundles/ptsecurity-mosaic.umd.js.map +0 -1
  691. package/design-tokens/tokens/components/checkbox.json5 +0 -39
  692. package/design-tokens/tokens/components/modal.json5 +0 -67
  693. package/design-tokens/tokens/components/navbar.json5 +0 -64
  694. package/design-tokens/tokens/components/radio.json5 +0 -45
  695. package/design-tokens/tokens/components/tags.json5 +0 -126
  696. package/design-tokens/tokens/components/toggle.json5 +0 -55
  697. package/design-tokens/tokens.d.ts +0 -7636
  698. package/esm2015/autocomplete/autocomplete-origin.directive.js +0 -21
  699. package/esm2015/autocomplete/autocomplete-trigger.directive.js +0 -555
  700. package/esm2015/autocomplete/autocomplete.component.js +0 -163
  701. package/esm2015/autocomplete/autocomplete.module.js +0 -34
  702. package/esm2015/button/button.component.js +0 -129
  703. package/esm2015/button/button.module.js +0 -42
  704. package/esm2015/button-toggle/button-toggle.component.js +0 -370
  705. package/esm2015/button-toggle/button-toggle.module.js +0 -19
  706. package/esm2015/card/card.component.js +0 -88
  707. package/esm2015/card/card.module.js +0 -30
  708. package/esm2015/checkbox/checkbox-module.js +0 -19
  709. package/esm2015/checkbox/checkbox-required-validator.js +0 -27
  710. package/esm2015/checkbox/checkbox.js +0 -325
  711. package/esm2015/core/common-behaviors/common-module.js +0 -83
  712. package/esm2015/core/error/error-options.js +0 -26
  713. package/esm2015/core/formatters/date/formatter.js +0 -288
  714. package/esm2015/core/formatters/date/templates/en-US.js +0 -280
  715. package/esm2015/core/formatters/date/templates/ru-RU.js +0 -280
  716. package/esm2015/core/formatters/index.js +0 -20
  717. package/esm2015/core/formatters/number/formatter.js +0 -99
  718. package/esm2015/core/forms/forms-module.js +0 -24
  719. package/esm2015/core/forms/forms.directive.js +0 -66
  720. package/esm2015/core/highlight/highlight.pipe.js +0 -17
  721. package/esm2015/core/highlight/index.js +0 -19
  722. package/esm2015/core/line/line.js +0 -70
  723. package/esm2015/core/option/action.js +0 -131
  724. package/esm2015/core/option/optgroup.js +0 -40
  725. package/esm2015/core/option/option-module.js +0 -21
  726. package/esm2015/core/option/option.js +0 -262
  727. package/esm2015/core/pop-up/pop-up-trigger.js +0 -239
  728. package/esm2015/core/pop-up/pop-up.js +0 -87
  729. package/esm2015/core/public-api.js +0 -17
  730. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +0 -45
  731. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.module.js +0 -18
  732. package/esm2015/core/services/measure-scrollbar.service.js +0 -48
  733. package/esm2015/datepicker/calendar-body.component.js +0 -114
  734. package/esm2015/datepicker/calendar.component.js +0 -377
  735. package/esm2015/datepicker/datepicker-input.directive.js +0 -892
  736. package/esm2015/datepicker/datepicker-intl.js +0 -40
  737. package/esm2015/datepicker/datepicker-module.js +0 -107
  738. package/esm2015/datepicker/datepicker-toggle.component.js +0 -94
  739. package/esm2015/datepicker/datepicker.component.js +0 -418
  740. package/esm2015/datepicker/month-view.component.js +0 -263
  741. package/esm2015/datepicker/multi-year-view.component.js +0 -224
  742. package/esm2015/datepicker/year-view.component.js +0 -259
  743. package/esm2015/design-tokens/public-api.js +0 -2
  744. package/esm2015/design-tokens/tokens.js +0 -930
  745. package/esm2015/divider/divider.component.js +0 -46
  746. package/esm2015/divider/divider.module.js +0 -18
  747. package/esm2015/dropdown/dropdown-content.directive.js +0 -66
  748. package/esm2015/dropdown/dropdown-item.component.js +0 -149
  749. package/esm2015/dropdown/dropdown-trigger.directive.js +0 -486
  750. package/esm2015/dropdown/dropdown.component.js +0 -302
  751. package/esm2015/dropdown/dropdown.module.js +0 -50
  752. package/esm2015/form-field/cleaner.js +0 -23
  753. package/esm2015/form-field/form-field.js +0 -224
  754. package/esm2015/form-field/form-field.module.js +0 -52
  755. package/esm2015/form-field/hint.js +0 -23
  756. package/esm2015/form-field/prefix.js +0 -13
  757. package/esm2015/form-field/stepper.js +0 -55
  758. package/esm2015/form-field/suffix.js +0 -13
  759. package/esm2015/icon/icon.component.js +0 -51
  760. package/esm2015/icon/icon.module.js +0 -38
  761. package/esm2015/input/input-number-validators.js +0 -92
  762. package/esm2015/input/input-number.js +0 -163
  763. package/esm2015/input/input.js +0 -333
  764. package/esm2015/input/input.module.js +0 -23
  765. package/esm2015/link/link.component.js +0 -108
  766. package/esm2015/link/link.module.js +0 -26
  767. package/esm2015/list/list-selection.component.js +0 -711
  768. package/esm2015/list/list.component.js +0 -58
  769. package/esm2015/list/list.module.js +0 -55
  770. package/esm2015/modal/css-unit.pipe.js +0 -17
  771. package/esm2015/modal/modal-control.service.js +0 -63
  772. package/esm2015/modal/modal.component.js +0 -508
  773. package/esm2015/modal/modal.directive.js +0 -52
  774. package/esm2015/modal/modal.module.js +0 -72
  775. package/esm2015/modal/modal.service.js +0 -124
  776. package/esm2015/navbar/navbar-item.component.js +0 -209
  777. package/esm2015/navbar/navbar.component.js +0 -118
  778. package/esm2015/navbar/navbar.module.js +0 -76
  779. package/esm2015/navbar/vertical-navbar.animation.js +0 -10
  780. package/esm2015/navbar/vertical-navbar.component.js +0 -140
  781. package/esm2015/popover/popover-confirm.component.js +0 -116
  782. package/esm2015/popover/popover.component.js +0 -262
  783. package/esm2015/popover/popover.module.js +0 -24
  784. package/esm2015/progress-bar/progress-bar.component.js +0 -50
  785. package/esm2015/progress-bar/progress-bar.module.js +0 -30
  786. package/esm2015/progress-spinner/progress-spinner.component.js +0 -54
  787. package/esm2015/progress-spinner/progress-spinner.module.js +0 -30
  788. package/esm2015/radio/radio.component.js +0 -467
  789. package/esm2015/radio/radio.module.js +0 -20
  790. package/esm2015/select/select.component.js +0 -1122
  791. package/esm2015/select/select.module.js +0 -64
  792. package/esm2015/sidebar/sidebar.component.js +0 -155
  793. package/esm2015/sidebar/sidebar.module.js +0 -30
  794. package/esm2015/sidepanel/sidepanel-container.component.js +0 -114
  795. package/esm2015/sidepanel/sidepanel-directives.js +0 -159
  796. package/esm2015/sidepanel/sidepanel.module.js +0 -74
  797. package/esm2015/sidepanel/sidepanel.service.js +0 -164
  798. package/esm2015/splitter/splitter.component.js +0 -489
  799. package/esm2015/splitter/splitter.module.js +0 -40
  800. package/esm2015/table/table.component.js +0 -16
  801. package/esm2015/table/table.module.js +0 -30
  802. package/esm2015/tabs/paginated-tab-header.js +0 -482
  803. package/esm2015/tabs/tab-body.component.js +0 -186
  804. package/esm2015/tabs/tab-content.directive.js +0 -15
  805. package/esm2015/tabs/tab-group.component.js +0 -359
  806. package/esm2015/tabs/tab-header.component.js +0 -76
  807. package/esm2015/tabs/tab-label-wrapper.directive.js +0 -78
  808. package/esm2015/tabs/tab-label.directive.js +0 -17
  809. package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +0 -118
  810. package/esm2015/tabs/tab.component.js +0 -133
  811. package/esm2015/tabs/tabs.module.js +0 -104
  812. package/esm2015/tags/tag-input.js +0 -229
  813. package/esm2015/tags/tag-list.component.js +0 -732
  814. package/esm2015/tags/tag.component.js +0 -386
  815. package/esm2015/tags/tag.module.js +0 -56
  816. package/esm2015/textarea/textarea.component.js +0 -268
  817. package/esm2015/textarea/textarea.module.js +0 -21
  818. package/esm2015/timepicker/timepicker.directive.js +0 -653
  819. package/esm2015/timepicker/timepicker.module.js +0 -34
  820. package/esm2015/toggle/toggle.component.js +0 -169
  821. package/esm2015/toggle/toggle.module.js +0 -20
  822. package/esm2015/tooltip/tooltip.component.js +0 -299
  823. package/esm2015/tooltip/tooltip.module.js +0 -43
  824. package/esm2015/tree/data-source/flat-data-source.js +0 -162
  825. package/esm2015/tree/node.js +0 -31
  826. package/esm2015/tree/outlet.js +0 -15
  827. package/esm2015/tree/padding.directive.js +0 -111
  828. package/esm2015/tree/toggle.js +0 -89
  829. package/esm2015/tree/tree-base.js +0 -243
  830. package/esm2015/tree/tree-option.component.js +0 -238
  831. package/esm2015/tree/tree-selection.component.js +0 -541
  832. package/esm2015/tree/tree.js +0 -23
  833. package/esm2015/tree/tree.module.js +0 -53
  834. package/esm2015/tree-select/tree-select.component.js +0 -901
  835. package/esm2015/tree-select/tree-select.module.js +0 -43
  836. package/fesm2015/ptsecurity-mosaic-autocomplete.js +0 -761
  837. package/fesm2015/ptsecurity-mosaic-autocomplete.js.map +0 -1
  838. package/fesm2015/ptsecurity-mosaic-button-toggle.js +0 -391
  839. package/fesm2015/ptsecurity-mosaic-button-toggle.js.map +0 -1
  840. package/fesm2015/ptsecurity-mosaic-button.js +0 -174
  841. package/fesm2015/ptsecurity-mosaic-button.js.map +0 -1
  842. package/fesm2015/ptsecurity-mosaic-card.js +0 -121
  843. package/fesm2015/ptsecurity-mosaic-card.js.map +0 -1
  844. package/fesm2015/ptsecurity-mosaic-checkbox.js +0 -374
  845. package/fesm2015/ptsecurity-mosaic-checkbox.js.map +0 -1
  846. package/fesm2015/ptsecurity-mosaic-core.js +0 -2680
  847. package/fesm2015/ptsecurity-mosaic-core.js.map +0 -1
  848. package/fesm2015/ptsecurity-mosaic-datepicker.js +0 -2738
  849. package/fesm2015/ptsecurity-mosaic-datepicker.js.map +0 -1
  850. package/fesm2015/ptsecurity-mosaic-design-tokens.js +0 -936
  851. package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +0 -1
  852. package/fesm2015/ptsecurity-mosaic-divider.js +0 -68
  853. package/fesm2015/ptsecurity-mosaic-divider.js.map +0 -1
  854. package/fesm2015/ptsecurity-mosaic-dropdown.js +0 -1116
  855. package/fesm2015/ptsecurity-mosaic-dropdown.js.map +0 -1
  856. package/fesm2015/ptsecurity-mosaic-form-field.js +0 -396
  857. package/fesm2015/ptsecurity-mosaic-form-field.js.map +0 -1
  858. package/fesm2015/ptsecurity-mosaic-icon.js +0 -93
  859. package/fesm2015/ptsecurity-mosaic-icon.js.map +0 -1
  860. package/fesm2015/ptsecurity-mosaic-input.js +0 -605
  861. package/fesm2015/ptsecurity-mosaic-input.js.map +0 -1
  862. package/fesm2015/ptsecurity-mosaic-link.js +0 -137
  863. package/fesm2015/ptsecurity-mosaic-link.js.map +0 -1
  864. package/fesm2015/ptsecurity-mosaic-list.js +0 -822
  865. package/fesm2015/ptsecurity-mosaic-list.js.map +0 -1
  866. package/fesm2015/ptsecurity-mosaic-modal.js +0 -845
  867. package/fesm2015/ptsecurity-mosaic-modal.js.map +0 -1
  868. package/fesm2015/ptsecurity-mosaic-navbar.js +0 -539
  869. package/fesm2015/ptsecurity-mosaic-navbar.js.map +0 -1
  870. package/fesm2015/ptsecurity-mosaic-popover.js +0 -406
  871. package/fesm2015/ptsecurity-mosaic-popover.js.map +0 -1
  872. package/fesm2015/ptsecurity-mosaic-progress-bar.js +0 -84
  873. package/fesm2015/ptsecurity-mosaic-progress-bar.js.map +0 -1
  874. package/fesm2015/ptsecurity-mosaic-progress-spinner.js +0 -88
  875. package/fesm2015/ptsecurity-mosaic-progress-spinner.js.map +0 -1
  876. package/fesm2015/ptsecurity-mosaic-radio.js +0 -488
  877. package/fesm2015/ptsecurity-mosaic-radio.js.map +0 -1
  878. package/fesm2015/ptsecurity-mosaic-select.js +0 -1185
  879. package/fesm2015/ptsecurity-mosaic-select.js.map +0 -1
  880. package/fesm2015/ptsecurity-mosaic-sidebar.js +0 -211
  881. package/fesm2015/ptsecurity-mosaic-sidebar.js.map +0 -1
  882. package/fesm2015/ptsecurity-mosaic-sidepanel.js +0 -594
  883. package/fesm2015/ptsecurity-mosaic-sidepanel.js.map +0 -1
  884. package/fesm2015/ptsecurity-mosaic-splitter.js +0 -533
  885. package/fesm2015/ptsecurity-mosaic-splitter.js.map +0 -1
  886. package/fesm2015/ptsecurity-mosaic-table.js +0 -50
  887. package/fesm2015/ptsecurity-mosaic-table.js.map +0 -1
  888. package/fesm2015/ptsecurity-mosaic-tabs.js +0 -1533
  889. package/fesm2015/ptsecurity-mosaic-tabs.js.map +0 -1
  890. package/fesm2015/ptsecurity-mosaic-tags.js +0 -1389
  891. package/fesm2015/ptsecurity-mosaic-tags.js.map +0 -1
  892. package/fesm2015/ptsecurity-mosaic-textarea.js +0 -291
  893. package/fesm2015/ptsecurity-mosaic-textarea.js.map +0 -1
  894. package/fesm2015/ptsecurity-mosaic-timepicker.js +0 -713
  895. package/fesm2015/ptsecurity-mosaic-timepicker.js.map +0 -1
  896. package/fesm2015/ptsecurity-mosaic-toggle.js +0 -191
  897. package/fesm2015/ptsecurity-mosaic-toggle.js.map +0 -1
  898. package/fesm2015/ptsecurity-mosaic-tooltip.js +0 -362
  899. package/fesm2015/ptsecurity-mosaic-tooltip.js.map +0 -1
  900. package/fesm2015/ptsecurity-mosaic-tree-select.js +0 -943
  901. package/fesm2015/ptsecurity-mosaic-tree-select.js.map +0 -1
  902. package/fesm2015/ptsecurity-mosaic-tree.js +0 -1735
  903. package/fesm2015/ptsecurity-mosaic-tree.js.map +0 -1
  904. package/fesm2015/ptsecurity-mosaic.js +0 -4
  905. package/fesm2015/ptsecurity-mosaic.js.map +0 -1
@@ -1,1185 +0,0 @@
1
- import * as i7 from '@angular/cdk/overlay';
2
- import { CdkConnectedOverlay, OverlayModule } from '@angular/cdk/overlay';
3
- import * as i8 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i0 from '@angular/core';
6
- import { Directive, ContentChild, EventEmitter, isDevMode, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, Self, ViewChild, ViewChildren, ContentChildren, Input, Output, NgModule } from '@angular/core';
7
- import * as i2 from '@ptsecurity/mosaic/core';
8
- import { mixinTabIndex, mixinDisabled, mixinErrorState, getMcSelectDynamicMultipleError, getMcSelectNonFunctionValueError, setMosaicValidation, getMcSelectNonArrayValueError, SELECT_PANEL_PADDING_X, SELECT_PANEL_INDENT_PADDING_X, SELECT_PANEL_VIEWPORT_PADDING, MC_SELECT_SCROLL_STRATEGY, MC_VALIDATION, MC_OPTION_PARENT_COMPONENT, McOption, McOptgroup, mcSelectAnimations, McOptionModule, MC_SELECT_SCROLL_STRATEGY_PROVIDER } from '@ptsecurity/mosaic/core';
9
- import * as i1 from '@ptsecurity/mosaic/form-field';
10
- import { McFormFieldControl, McFormFieldModule } from '@ptsecurity/mosaic/form-field';
11
- import * as i6 from '@ptsecurity/mosaic/icon';
12
- import { McIconModule } from '@ptsecurity/mosaic/icon';
13
- import * as i5 from '@ptsecurity/mosaic/tags';
14
- import { McTag, McTagsModule } from '@ptsecurity/mosaic/tags';
15
- import * as i3 from '@angular/cdk/bidi';
16
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
17
- import { SelectionModel } from '@angular/cdk/collections';
18
- import * as i4 from '@angular/forms';
19
- import { NG_VALIDATORS } from '@angular/forms';
20
- import { ActiveDescendantKeyManager } from '@ptsecurity/cdk/a11y';
21
- import { ESCAPE, SPACE, HOME, END, DOWN_ARROW, UP_ARROW, LEFT_ARROW, RIGHT_ARROW, ENTER, PAGE_UP, PAGE_DOWN, A } from '@ptsecurity/cdk/keycodes';
22
- import { McInput } from '@ptsecurity/mosaic/input';
23
- import { Subscription, Subject, defer, merge } from 'rxjs';
24
- import { take, switchMap, filter, map, distinctUntilChanged, takeUntil, startWith } from 'rxjs/operators';
25
-
26
- /* tslint:disable:no-empty */
27
- let nextUniqueId = 0;
28
- /** Change event object that is emitted when the select value has changed. */
29
- class McSelectChange {
30
- constructor(source, value) {
31
- this.source = source;
32
- this.value = value;
33
- }
34
- }
35
- class McSelectSearch {
36
- constructor(formField) {
37
- this.searchChangesSubscription = new Subscription();
38
- this.isSearchChanged = false;
39
- formField.canCleanerClearByEsc = false;
40
- }
41
- focus() {
42
- this.input.focus();
43
- }
44
- reset() {
45
- this.input.ngControl.reset();
46
- }
47
- ngAfterContentInit() {
48
- if (!this.input) {
49
- throw Error('McSelectSearch does not work without mcInput');
50
- }
51
- if (!this.input.ngControl) {
52
- throw Error('McSelectSearch does not work without ngControl');
53
- }
54
- Promise.resolve().then(() => {
55
- this.searchChangesSubscription = this.input.ngControl.valueChanges.subscribe(() => {
56
- this.isSearchChanged = true;
57
- });
58
- });
59
- }
60
- ngOnDestroy() {
61
- this.searchChangesSubscription.unsubscribe();
62
- }
63
- handleKeydown(event) {
64
- // tslint:disable-next-line:deprecation
65
- if (event.keyCode === ESCAPE) {
66
- if (this.input.value) {
67
- this.reset();
68
- event.stopPropagation();
69
- }
70
- }
71
- // tslint:disable-next-line:deprecation
72
- if ([SPACE, HOME, END].includes(event.keyCode)) {
73
- event.stopPropagation();
74
- }
75
- }
76
- }
77
- /** @nocollapse */ McSelectSearch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectSearch, deps: [{ token: i1.McFormField }], target: i0.ɵɵFactoryTarget.Directive });
78
- /** @nocollapse */ McSelectSearch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McSelectSearch, selector: "[mcSelectSearch]", host: { listeners: { "keydown": "handleKeydown($event)" } }, queries: [{ propertyName: "input", first: true, predicate: McInput, descendants: true }], exportAs: ["mcSelectSearch"], ngImport: i0 });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectSearch, decorators: [{
80
- type: Directive,
81
- args: [{
82
- selector: '[mcSelectSearch]',
83
- exportAs: 'mcSelectSearch',
84
- host: {
85
- '(keydown)': 'handleKeydown($event)'
86
- }
87
- }]
88
- }], ctorParameters: function () { return [{ type: i1.McFormField }]; }, propDecorators: { input: [{
89
- type: ContentChild,
90
- args: [McInput, { static: false }]
91
- }] } });
92
- class McSelectSearchEmptyResult {
93
- }
94
- /** @nocollapse */ McSelectSearchEmptyResult.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectSearchEmptyResult, deps: [], target: i0.ɵɵFactoryTarget.Directive });
95
- /** @nocollapse */ McSelectSearchEmptyResult.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McSelectSearchEmptyResult, selector: "[mc-select-search-empty-result]", exportAs: ["mcSelectSearchEmptyResult"], ngImport: i0 });
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectSearchEmptyResult, decorators: [{
97
- type: Directive,
98
- args: [{
99
- selector: '[mc-select-search-empty-result]',
100
- exportAs: 'mcSelectSearchEmptyResult'
101
- }]
102
- }] });
103
- class McSelectTrigger {
104
- }
105
- /** @nocollapse */ McSelectTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
106
- /** @nocollapse */ McSelectTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: McSelectTrigger, selector: "mc-select-trigger", ngImport: i0 });
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectTrigger, decorators: [{
108
- type: Directive,
109
- args: [{ selector: 'mc-select-trigger' }]
110
- }] });
111
- class McSelectBase {
112
- constructor(elementRef, defaultErrorStateMatcher, parentForm, parentFormGroup, ngControl) {
113
- this.elementRef = elementRef;
114
- this.defaultErrorStateMatcher = defaultErrorStateMatcher;
115
- this.parentForm = parentForm;
116
- this.parentFormGroup = parentFormGroup;
117
- this.ngControl = ngControl;
118
- }
119
- }
120
- // tslint:disable-next-line:naming-convention
121
- const McSelectMixinBase = mixinTabIndex(mixinDisabled(mixinErrorState(McSelectBase)));
122
- class McSelect extends McSelectMixinBase {
123
- constructor(_changeDetectorRef, _ngZone, _renderer, defaultErrorStateMatcher, elementRef, rawValidators, _dir, parentForm, parentFormGroup, _parentFormField, ngControl, ngModel, formControlName, _scrollStrategyFactory, mcValidation) {
124
- super(elementRef, defaultErrorStateMatcher, parentForm, parentFormGroup, ngControl);
125
- this._changeDetectorRef = _changeDetectorRef;
126
- this._ngZone = _ngZone;
127
- this._renderer = _renderer;
128
- this.rawValidators = rawValidators;
129
- this._dir = _dir;
130
- this._parentFormField = _parentFormField;
131
- this.ngModel = ngModel;
132
- this.formControlName = formControlName;
133
- this._scrollStrategyFactory = _scrollStrategyFactory;
134
- this.mcValidation = mcValidation;
135
- /** A name for this control that can be used by `mc-form-field`. */
136
- this.controlType = 'select';
137
- this.hiddenItems = 0;
138
- /** The cached font-size of the trigger element. */
139
- this.triggerFontSize = 0;
140
- this.previousSelectionModelSelected = [];
141
- /** The value of the select panel's transform-origin property. */
142
- this.transformOrigin = 'top';
143
- /** Emits when the panel element is finished transforming in. */
144
- this.panelDoneAnimatingStream = new Subject();
145
- /** Strategy that will be used to handle scrolling while the select panel is open. */
146
- this.scrollStrategy = this._scrollStrategyFactory();
147
- /**
148
- * The y-offset of the overlay panel in relation to the trigger's top start corner.
149
- * This must be adjusted to align the selected option text over the trigger text.
150
- * when the panel opens. Will change based on the y-position of the selected option.
151
- */
152
- this.offsetY = 0;
153
- /**
154
- * This position config ensures that the top "start" corner of the overlay
155
- * is aligned with with the top "start" of the origin by default (overlapping
156
- * the trigger completely). If the panel cannot fit below the trigger, it
157
- * will fall back to a position above the trigger.
158
- */
159
- this.positions = [
160
- {
161
- originX: 'start',
162
- originY: 'bottom',
163
- overlayX: 'start',
164
- overlayY: 'top'
165
- },
166
- {
167
- originX: 'start',
168
- originY: 'top',
169
- overlayX: 'start',
170
- overlayY: 'bottom'
171
- }
172
- ];
173
- this.hiddenItemsText = '...ещё';
174
- this.backdropClass = 'cdk-overlay-transparent-backdrop';
175
- /** Combined stream of all of the child options' change events. */
176
- this.optionSelectionChanges = defer(() => {
177
- if (this.options) {
178
- return merge(...this.options.map((option) => option.onSelectionChange), ...this.selectionModel.selected.map((option) => option.onSelectionChange));
179
- }
180
- return this._ngZone.onStable
181
- .asObservable()
182
- .pipe(take(1), switchMap(() => this.optionSelectionChanges));
183
- });
184
- /** Event emitted when the select panel has been toggled. */
185
- this.openedChange = new EventEmitter();
186
- /** Event emitted when the select has been opened. */
187
- this.openedStream = this.openedChange.pipe(filter((o) => o), map(() => { }));
188
- /** Event emitted when the select has been closed. */
189
- this.closedStream = this.openedChange.pipe(filter((o) => !o), map(() => { }));
190
- /** Event emitted when the selected value has been changed by the user. */
191
- this.selectionChange = new EventEmitter();
192
- /**
193
- * Event that emits whenever the raw value of the select changes. This is here primarily
194
- * to facilitate the two-way binding for the `value` input.
195
- * @docs-private
196
- */
197
- this.valueChange = new EventEmitter();
198
- this._hasBackdrop = false;
199
- this._required = false;
200
- this._multiple = false;
201
- this._focused = false;
202
- this.panelOpen = false;
203
- this.closeSubscription = Subscription.EMPTY;
204
- /** The scroll position of the overlay panel, calculated to center the selected option. */
205
- this.scrollTop = 0;
206
- /** Unique id for this input. */
207
- this.uid = `mc-select-${nextUniqueId++}`;
208
- /** Emits whenever the component is destroyed. */
209
- this.destroy = new Subject();
210
- /** `View -> model callback called when value changes` */
211
- this.onChange = () => { };
212
- /** `View -> model callback called when select has been touched` */
213
- this.onTouched = () => { };
214
- /** Comparison function to specify which option is displayed. Defaults to object equality. */
215
- this._compareWith = (o1, o2) => o1 === o2;
216
- if (this.ngControl) {
217
- // Note: we provide the value accessor through here, instead of
218
- // the `providers` to avoid running into a circular import.
219
- this.ngControl.valueAccessor = this;
220
- }
221
- // Force setter to be called in case id was not specified.
222
- this.id = this.id;
223
- }
224
- get hasBackdrop() {
225
- return this._hasBackdrop;
226
- }
227
- set hasBackdrop(value) {
228
- this._hasBackdrop = coerceBooleanProperty(value);
229
- }
230
- get placeholder() {
231
- return this._placeholder;
232
- }
233
- set placeholder(value) {
234
- this._placeholder = value;
235
- this.stateChanges.next();
236
- }
237
- get required() {
238
- return this._required;
239
- }
240
- set required(value) {
241
- this._required = coerceBooleanProperty(value);
242
- this.stateChanges.next();
243
- }
244
- get multiple() {
245
- return this._multiple;
246
- }
247
- set multiple(value) {
248
- if (this.selectionModel) {
249
- throw getMcSelectDynamicMultipleError();
250
- }
251
- this._multiple = coerceBooleanProperty(value);
252
- }
253
- /**
254
- * Function to compare the option values with the selected values. The first argument
255
- * is a value from an option. The second is a value from the selection. A boolean
256
- * should be returned.
257
- */
258
- get compareWith() {
259
- return this._compareWith;
260
- }
261
- set compareWith(fn) {
262
- /* tslint:disable-next-line:strict-type-predicates */
263
- if (typeof fn !== 'function') {
264
- throw getMcSelectNonFunctionValueError();
265
- }
266
- this._compareWith = fn;
267
- if (this.selectionModel) {
268
- // A different comparator means the selection could change.
269
- this.initializeSelection();
270
- }
271
- }
272
- /** Value of the select control. */
273
- get value() {
274
- return this._value;
275
- }
276
- set value(newValue) {
277
- if (newValue !== this._value) {
278
- this.writeValue(newValue);
279
- this._value = newValue;
280
- }
281
- }
282
- get id() {
283
- return this._id;
284
- }
285
- set id(value) {
286
- this._id = value || this.uid;
287
- this.stateChanges.next();
288
- }
289
- /** Whether the select is focused. */
290
- get focused() {
291
- return this._focused || this.panelOpen;
292
- }
293
- set focused(value) {
294
- this._focused = value;
295
- }
296
- get isEmptySearchResult() {
297
- return this.search && this.options.length === 0 && !!this.search.input.value;
298
- }
299
- get canShowCleaner() {
300
- return this.cleaner && this.selectionModel.hasValue();
301
- }
302
- get selected() {
303
- return this.multiple ? this.selectionModel.selected : this.selectionModel.selected[0];
304
- }
305
- get triggerValue() {
306
- if (this.empty) {
307
- return '';
308
- }
309
- return this.selectionModel.selected[0].viewValue;
310
- }
311
- get triggerValues() {
312
- if (this.empty) {
313
- return [];
314
- }
315
- const selectedOptions = this.selectionModel.selected;
316
- if (this.isRtl()) {
317
- selectedOptions.reverse();
318
- }
319
- return selectedOptions;
320
- }
321
- get empty() {
322
- return !this.selectionModel || this.selectionModel.isEmpty();
323
- }
324
- ngOnInit() {
325
- this.selectionModel = new SelectionModel(this.multiple);
326
- this.stateChanges.next();
327
- // We need `distinctUntilChanged` here, because some browsers will
328
- // fire the animation end event twice for the same animation. See:
329
- // https://github.com/angular/angular/issues/24084
330
- this.panelDoneAnimatingStream
331
- .pipe(distinctUntilChanged(), takeUntil(this.destroy))
332
- .subscribe(() => {
333
- if (this.panelOpen) {
334
- this.scrollTop = 0;
335
- if (this.search) {
336
- this.search.focus();
337
- }
338
- this.openedChange.emit(true);
339
- }
340
- else {
341
- this.openedChange.emit(false);
342
- this._changeDetectorRef.markForCheck();
343
- }
344
- });
345
- }
346
- ngAfterContentInit() {
347
- if (this.mcValidation.useValidation) {
348
- setMosaicValidation(this);
349
- }
350
- this.initKeyManager();
351
- this.selectionModel.changed
352
- .pipe(takeUntil(this.destroy))
353
- .subscribe((event) => {
354
- event.added.forEach((option) => option.select());
355
- event.removed.forEach((option) => option.deselect());
356
- });
357
- this.options.changes
358
- .pipe(startWith(null), takeUntil(this.destroy))
359
- .subscribe(() => {
360
- this.resetOptions();
361
- this.initializeSelection();
362
- });
363
- }
364
- ngAfterViewInit() {
365
- this.tags.changes
366
- .subscribe(() => {
367
- setTimeout(() => this.calculateHiddenItems(), 0);
368
- });
369
- }
370
- ngDoCheck() {
371
- if (this.ngControl) {
372
- this.updateErrorState();
373
- }
374
- }
375
- ngOnChanges(changes) {
376
- // Updating the disabled state is handled by `mixinDisabled`, but we need to additionally let
377
- // the parent form field know to run change detection when the disabled state changes.
378
- if (changes.disabled) {
379
- this.stateChanges.next();
380
- }
381
- }
382
- ngOnDestroy() {
383
- this.destroy.next();
384
- this.destroy.complete();
385
- this.stateChanges.complete();
386
- this.closeSubscription.unsubscribe();
387
- }
388
- hiddenItemsTextFormatter(hiddenItemsText, hiddenItems) {
389
- return `${hiddenItemsText} ${hiddenItems}`;
390
- }
391
- clearValue($event) {
392
- $event.stopPropagation();
393
- this.selectionModel.clear();
394
- this.keyManager.setActiveItem(-1);
395
- this.propagateChanges();
396
- }
397
- resetSearch() {
398
- if (!this.search) {
399
- return;
400
- }
401
- this.search.reset();
402
- /*
403
- todo the incorrect behaviour of keyManager is possible here
404
- to avoid first item selection (to provide correct options flipping on closed select)
405
- we should process options update like it is the first options appearance
406
- */
407
- this.search.isSearchChanged = false;
408
- }
409
- /** Toggles the overlay panel open or closed. */
410
- toggle() {
411
- if (this.panelOpen) {
412
- this.close();
413
- }
414
- else {
415
- this.open();
416
- }
417
- }
418
- /** Opens the overlay panel. */
419
- open() {
420
- var _a;
421
- if (this.disabled || !((_a = this.options) === null || _a === void 0 ? void 0 : _a.length) || this.panelOpen) {
422
- return;
423
- }
424
- this.triggerRect = this.trigger.nativeElement.getBoundingClientRect();
425
- // Note: The computed font-size will be a string pixel value (e.g. "16px").
426
- // `parseInt` ignores the trailing 'px' and converts this to a number.
427
- this.triggerFontSize = parseInt(getComputedStyle(this.trigger.nativeElement)['font-size']);
428
- this.panelOpen = true;
429
- this.keyManager.withHorizontalOrientation(null);
430
- this.highlightCorrectOption();
431
- this._changeDetectorRef.markForCheck();
432
- // Set the font size on the panel element once it exists.
433
- this._ngZone.onStable.asObservable()
434
- .pipe(take(1))
435
- .subscribe(() => {
436
- this.scrollActiveOptionIntoView();
437
- if (this.triggerFontSize && this.overlayDir.overlayRef && this.overlayDir.overlayRef.overlayElement) {
438
- this.overlayDir.overlayRef.overlayElement.style.fontSize = `${this.triggerFontSize}px`;
439
- }
440
- });
441
- }
442
- /** Closes the overlay panel and focuses the host element. */
443
- close() {
444
- if (!this.panelOpen) {
445
- return;
446
- }
447
- // the order of calls is important
448
- this.resetSearch();
449
- this.panelOpen = false;
450
- this.keyManager.withHorizontalOrientation(this.isRtl() ? 'rtl' : 'ltr');
451
- this._changeDetectorRef.markForCheck();
452
- this.onTouched();
453
- }
454
- /**
455
- * Sets the select's value. Part of the ControlValueAccessor interface
456
- * required to integrate with Angular's core forms API.
457
- *
458
- * @param value New value to be written to the model.
459
- */
460
- writeValue(value) {
461
- if (this.options) {
462
- this.setSelectionByValue(value);
463
- }
464
- }
465
- /**
466
- * Saves a callback function to be invoked when the select's value
467
- * changes from user input. Part of the ControlValueAccessor interface
468
- * required to integrate with Angular's core forms API.
469
- *
470
- * @param fn Callback to be triggered when the value changes.
471
- */
472
- registerOnChange(fn) {
473
- this.onChange = fn;
474
- }
475
- /**
476
- * Saves a callback function to be invoked when the select is blurred
477
- * by the user. Part of the ControlValueAccessor interface required
478
- * to integrate with Angular's core forms API.
479
- *
480
- * @param fn Callback to be triggered when the component has been touched.
481
- */
482
- registerOnTouched(fn) {
483
- this.onTouched = fn;
484
- }
485
- /**
486
- * Disables the select. Part of the ControlValueAccessor interface required
487
- * to integrate with Angular's core forms API.
488
- *
489
- * @param isDisabled Sets whether the component is disabled.
490
- */
491
- setDisabledState(isDisabled) {
492
- this.disabled = isDisabled;
493
- this._changeDetectorRef.markForCheck();
494
- this.stateChanges.next();
495
- }
496
- isRtl() {
497
- return this._dir ? this._dir.value === 'rtl' : false;
498
- }
499
- handleKeydown(event) {
500
- if (this.disabled) {
501
- return;
502
- }
503
- if (this.panelOpen) {
504
- this.handleOpenKeydown(event);
505
- }
506
- else {
507
- this.handleClosedKeydown(event);
508
- }
509
- }
510
- onFocus() {
511
- if (!this.disabled) {
512
- this._focused = true;
513
- this.stateChanges.next();
514
- }
515
- }
516
- /**
517
- * Calls the touched callback only if the panel is closed. Otherwise, the trigger will
518
- * "blur" to the panel when it opens, causing a false positive.
519
- */
520
- onBlur() {
521
- this._focused = false;
522
- if (!this.disabled && !this.panelOpen) {
523
- this.onTouched();
524
- this._changeDetectorRef.markForCheck();
525
- this.stateChanges.next();
526
- }
527
- }
528
- /**
529
- * Callback that is invoked when the overlay panel has been attached.
530
- */
531
- onAttached() {
532
- this.overlayDir.positionChange
533
- .pipe(take(1))
534
- .subscribe(() => {
535
- this._changeDetectorRef.detectChanges();
536
- this.setOverlayPosition();
537
- this.optionsContainer.nativeElement.scrollTop = this.scrollTop;
538
- this.updateScrollSize();
539
- });
540
- this.closeSubscription = this.closingActions()
541
- .subscribe(() => this.close());
542
- }
543
- /** Returns the theme to be used on the panel. */
544
- getPanelTheme() {
545
- return this._parentFormField ? `mc-${this._parentFormField.color}` : '';
546
- }
547
- /** Focuses the select element. */
548
- focus() {
549
- this.elementRef.nativeElement.focus();
550
- }
551
- /**
552
- * Implemented as part of McFormFieldControl.
553
- * @docs-private
554
- */
555
- onContainerClick() {
556
- this.focus();
557
- }
558
- /** Invoked when an option is clicked. */
559
- onRemoveMatcherItem(option, $event) {
560
- $event.stopPropagation();
561
- option.deselect();
562
- }
563
- calculateHiddenItems() {
564
- if (this.customTrigger || this.empty || !this.multiple) {
565
- return;
566
- }
567
- let visibleItems = 0;
568
- const totalItemsWidth = this.getTotalItemsWidthInMatcher();
569
- let totalVisibleItemsWidth = 0;
570
- this.tags.forEach((tag) => {
571
- if (tag.nativeElement.offsetTop < tag.nativeElement.offsetHeight) {
572
- totalVisibleItemsWidth += this.getItemWidth(tag.nativeElement);
573
- visibleItems++;
574
- }
575
- });
576
- this.hiddenItems = this.selected.length - visibleItems;
577
- if (this.hiddenItems) {
578
- const itemsCounter = this.trigger.nativeElement.querySelector('.mc-select__match-hidden-text');
579
- const matcherList = this.trigger.nativeElement.querySelector('.mc-select__match-list');
580
- const itemsCounterShowed = itemsCounter.offsetTop < itemsCounter.offsetHeight;
581
- // const itemsCounterWidth: number = itemsCounter.getBoundingClientRect().width;
582
- const itemsCounterWidth = 86;
583
- const matcherListWidth = matcherList.getBoundingClientRect().width;
584
- const matcherWidth = matcherListWidth + itemsCounterWidth;
585
- if (itemsCounterShowed && (totalItemsWidth < matcherWidth)) {
586
- this.hiddenItems = 0;
587
- }
588
- if (totalVisibleItemsWidth === matcherListWidth ||
589
- (totalVisibleItemsWidth + itemsCounterWidth) < matcherListWidth) {
590
- this._changeDetectorRef.markForCheck();
591
- return;
592
- }
593
- else if (!itemsCounterShowed && (totalItemsWidth + itemsCounterWidth) > matcherWidth) {
594
- this.hiddenItems++;
595
- }
596
- }
597
- this._changeDetectorRef.markForCheck();
598
- }
599
- getItemHeight() {
600
- return this.options.first ? this.options.first.getHeight() : 0;
601
- }
602
- closingActions() {
603
- return merge(this.overlayDir.overlayRef.outsidePointerEvents()
604
- .pipe(filter((event) => !this.elementRef.nativeElement.contains(event.target))), this.overlayDir.overlayRef.detachments());
605
- }
606
- getHeightOfOptionsContainer() {
607
- return this.optionsContainer.nativeElement.getClientRects()[0].height;
608
- }
609
- updateScrollSize() {
610
- if (!this.options.first) {
611
- return;
612
- }
613
- this.keyManager.withScrollSize(Math.floor(this.getHeightOfOptionsContainer() / this.options.first.getHeight()));
614
- }
615
- getTotalItemsWidthInMatcher() {
616
- const triggerClone = this.trigger.nativeElement.cloneNode(true);
617
- triggerClone.querySelector('.mc-select__match-hidden-text').remove();
618
- this._renderer.setStyle(triggerClone, 'position', 'absolute');
619
- this._renderer.setStyle(triggerClone, 'visibility', 'hidden');
620
- this._renderer.setStyle(triggerClone, 'top', '-100%');
621
- this._renderer.setStyle(triggerClone, 'left', '0');
622
- this._renderer.appendChild(this.trigger.nativeElement, triggerClone);
623
- let totalItemsWidth = 0;
624
- triggerClone.querySelectorAll('mc-tag').forEach((item) => {
625
- totalItemsWidth += this.getItemWidth(item);
626
- });
627
- triggerClone.remove();
628
- return totalItemsWidth;
629
- }
630
- getItemWidth(element) {
631
- const computedStyle = window.getComputedStyle(element);
632
- const width = parseInt(computedStyle.width);
633
- const marginLeft = parseInt(computedStyle.marginLeft);
634
- const marginRight = parseInt(computedStyle.marginRight);
635
- return width + marginLeft + marginRight;
636
- }
637
- /** Handles keyboard events while the select is closed. */
638
- handleClosedKeydown(event) {
639
- /* tslint:disable-next-line */
640
- const keyCode = event.keyCode;
641
- const isArrowKey = [DOWN_ARROW, UP_ARROW, LEFT_ARROW, RIGHT_ARROW].includes(keyCode);
642
- const isOpenKey = [ENTER, SPACE].includes(keyCode);
643
- // Open the select on ALT + arrow key to match the native <select>
644
- if (isOpenKey || ((this.multiple || event.altKey) && isArrowKey)) {
645
- event.preventDefault(); // prevents the page from scrolling down when pressing space
646
- this.open();
647
- }
648
- else if (!this.multiple) {
649
- this.keyManager.onKeydown(event);
650
- }
651
- }
652
- /** Handles keyboard events when the selected is open. */
653
- handleOpenKeydown(event) {
654
- /* tslint:disable-next-line */
655
- const keyCode = event.keyCode;
656
- const isArrowKey = keyCode === DOWN_ARROW || keyCode === UP_ARROW;
657
- if (isArrowKey && event.altKey) {
658
- // Close the select on ALT + arrow key to match the native <select>
659
- event.preventDefault();
660
- this.close();
661
- }
662
- else if (keyCode === HOME) {
663
- event.preventDefault();
664
- this.keyManager.setFirstItemActive();
665
- }
666
- else if (keyCode === END) {
667
- event.preventDefault();
668
- this.keyManager.setLastItemActive();
669
- }
670
- else if (keyCode === PAGE_UP) {
671
- event.preventDefault();
672
- this.keyManager.setPreviousPageItemActive();
673
- }
674
- else if (keyCode === PAGE_DOWN) {
675
- event.preventDefault();
676
- this.keyManager.setNextPageItemActive();
677
- }
678
- else if ((keyCode === ENTER || keyCode === SPACE) && this.keyManager.activeItem) {
679
- event.preventDefault();
680
- this.keyManager.activeItem.selectViaInteraction();
681
- }
682
- else if (this._multiple && keyCode === A && event.ctrlKey) {
683
- event.preventDefault();
684
- const hasDeselectedOptions = this.options.some((option) => !option.selected);
685
- this.options.forEach((option) => {
686
- if (hasDeselectedOptions && !option.disabled) {
687
- option.select();
688
- }
689
- else {
690
- option.deselect();
691
- }
692
- });
693
- }
694
- else {
695
- const previouslyFocusedIndex = this.keyManager.activeItemIndex;
696
- this.keyManager.onKeydown(event);
697
- if (this._multiple && isArrowKey && event.shiftKey && this.keyManager.activeItem &&
698
- this.keyManager.activeItemIndex !== previouslyFocusedIndex) {
699
- this.keyManager.activeItem.selectViaInteraction();
700
- }
701
- if (this.search) {
702
- this.search.focus();
703
- }
704
- }
705
- }
706
- initializeSelection() {
707
- // Defer setting the value in order to avoid the "Expression
708
- // has changed after it was checked" errors from Angular.
709
- Promise.resolve().then(() => {
710
- this.setSelectionByValue(this.ngControl ? this.ngControl.value : this._value);
711
- });
712
- }
713
- /**
714
- * Sets the selected option based on a value. If no option can be
715
- * found with the designated value, the select trigger is cleared.
716
- */
717
- setSelectionByValue(value) {
718
- this.previousSelectionModelSelected = this.selectionModel.selected;
719
- if (this.multiple && value) {
720
- if (!Array.isArray(value)) {
721
- throw getMcSelectNonArrayValueError();
722
- }
723
- this.selectionModel.clear();
724
- value.forEach((currentValue) => this.selectValue(currentValue));
725
- this.sortValues();
726
- }
727
- else {
728
- this.selectionModel.clear();
729
- const correspondingOption = this.selectValue(value);
730
- // Shift focus to the active item. Note that we shouldn't do this in multiple
731
- // mode, because we don't know what option the user interacted with last.
732
- if (correspondingOption) {
733
- this.keyManager.setActiveItem(correspondingOption);
734
- }
735
- }
736
- this._changeDetectorRef.markForCheck();
737
- }
738
- getCorrespondOption(value) {
739
- return [
740
- ...this.options.toArray(),
741
- ...this.previousSelectionModelSelected
742
- ].find((option) => {
743
- try {
744
- // Treat null as a special reset value.
745
- return option.value != null && this.compareWith(option.value, value);
746
- }
747
- catch (error) {
748
- if (isDevMode()) {
749
- // Notify developers of errors in their comparator.
750
- console.warn(error);
751
- }
752
- return false;
753
- }
754
- });
755
- }
756
- /**
757
- * Finds and selects and option based on its value.
758
- * @returns Option that has the corresponding value.
759
- */
760
- selectValue(value) {
761
- const correspondingOption = this.getCorrespondOption(value);
762
- if (correspondingOption) {
763
- this.selectionModel.select(correspondingOption);
764
- }
765
- return correspondingOption;
766
- }
767
- /** Sets up a key manager to listen to keyboard events on the overlay panel. */
768
- initKeyManager() {
769
- const typeAheadDebounce = 200;
770
- this.keyManager = new ActiveDescendantKeyManager(this.options)
771
- .withTypeAhead(typeAheadDebounce, this.search ? -1 : 0)
772
- .withVerticalOrientation()
773
- .withHorizontalOrientation(this.isRtl() ? 'rtl' : 'ltr');
774
- this.keyManager.tabOut
775
- .pipe(takeUntil(this.destroy))
776
- .subscribe(() => {
777
- // Restore focus to the trigger before closing. Ensures that the focus
778
- // position won't be lost if the user got focus into the overlay.
779
- this.focus();
780
- this.close();
781
- });
782
- this.keyManager.change
783
- .pipe(takeUntil(this.destroy))
784
- .subscribe(() => {
785
- if (this.panelOpen && this.panel) {
786
- this.scrollActiveOptionIntoView();
787
- }
788
- else if (!this.panelOpen && !this.multiple && this.keyManager.activeItem) {
789
- this.keyManager.activeItem.selectViaInteraction();
790
- }
791
- });
792
- }
793
- /** Drops current option subscriptions and IDs and resets from scratch. */
794
- resetOptions() {
795
- const changedOrDestroyed = merge(this.options.changes, this.destroy);
796
- this.optionSelectionChanges
797
- .pipe(takeUntil(changedOrDestroyed))
798
- .subscribe((event) => {
799
- this.onSelect(event.source, event.isUserInput);
800
- if (this.search && this.search.isSearchChanged) {
801
- Promise.resolve().then(() => this.keyManager.updateActiveItem(0));
802
- this.search.isSearchChanged = false;
803
- }
804
- if (event.isUserInput && !this.multiple && this.panelOpen) {
805
- this.close();
806
- this.focus();
807
- }
808
- });
809
- // Listen to changes in the internal state of the options and react accordingly.
810
- // Handles cases like the labels of the selected options changing.
811
- merge(...this.options.map((option) => option.stateChanges))
812
- .pipe(takeUntil(changedOrDestroyed))
813
- .subscribe(() => {
814
- this._changeDetectorRef.markForCheck();
815
- this.stateChanges.next();
816
- });
817
- }
818
- /** Invoked when an option is clicked. */
819
- onSelect(option, isUserInput) {
820
- const wasSelected = this.selectionModel.isSelected(option);
821
- if (option.value == null && !this._multiple) {
822
- option.deselect();
823
- this.selectionModel.clear();
824
- this.propagateChanges(option.value);
825
- }
826
- else {
827
- if (option.selected) {
828
- this.selectionModel.select(option);
829
- }
830
- else {
831
- this.selectionModel.deselect(option);
832
- }
833
- if (isUserInput) {
834
- this.keyManager.setActiveItem(option);
835
- }
836
- if (this.multiple) {
837
- this.sortValues();
838
- if (isUserInput) {
839
- // In case the user selected the option with their mouse, we
840
- // want to restore focus back to the trigger, in order to
841
- // prevent the select keyboard controls from clashing with
842
- // the ones from `mc-option`.
843
- // If search is avaliable then we focus search again.
844
- if (this.search) {
845
- this.search.focus();
846
- }
847
- else {
848
- this.focus();
849
- }
850
- }
851
- }
852
- }
853
- if (wasSelected !== this.selectionModel.isSelected(option)) {
854
- this.propagateChanges();
855
- }
856
- this.stateChanges.next();
857
- }
858
- /** Sorts the selected values in the selected based on their order in the panel. */
859
- sortValues() {
860
- if (this.multiple) {
861
- const options = this.options.toArray();
862
- this.selectionModel.sort((a, b) => {
863
- return this.sortComparator ? this.sortComparator(a, b, options) :
864
- options.indexOf(a) - options.indexOf(b);
865
- });
866
- this.stateChanges.next();
867
- }
868
- }
869
- /** Emits change event to set the model value. */
870
- propagateChanges(fallbackValue) {
871
- let valueToEmit = null;
872
- if (this.multiple) {
873
- valueToEmit = this.selected.map((option) => option.value);
874
- }
875
- else {
876
- valueToEmit = this.selected ? this.selected.value : fallbackValue;
877
- }
878
- this._value = valueToEmit;
879
- this.valueChange.emit(valueToEmit);
880
- this.onChange(valueToEmit);
881
- this.selectionChange.emit(new McSelectChange(this, valueToEmit));
882
- this._changeDetectorRef.markForCheck();
883
- }
884
- /**
885
- * Highlights the selected item. If no option is selected, it will highlight
886
- * the first item instead.
887
- */
888
- highlightCorrectOption() {
889
- if (this.keyManager) {
890
- if (this.empty) {
891
- this.keyManager.setFirstItemActive();
892
- }
893
- else {
894
- this.keyManager.setActiveItem(this.selectionModel.selected[0]);
895
- }
896
- }
897
- }
898
- /** Scrolls the active option into view. */
899
- scrollActiveOptionIntoView() {
900
- if (!this.keyManager.activeItem) {
901
- return;
902
- }
903
- this.keyManager.activeItem.focus();
904
- }
905
- /**
906
- * Sets the x-offset of the overlay panel in relation to the trigger's top start corner.
907
- * This must be adjusted to align the selected option text over the trigger text when
908
- * the panel opens. Will change based on LTR or RTL text direction. Note that the offset
909
- * can't be calculated until the panel has been attached, because we need to know the
910
- * content width in order to constrain the panel within the viewport.
911
- */
912
- setOverlayPosition() {
913
- this.resetOverlay();
914
- const overlayRect = this.getOverlayRect();
915
- // Window width without scrollbar
916
- const windowWidth = this.getOverlayWidth();
917
- const isRtl = this.isRtl();
918
- /* tslint:disable-next-line:no-magic-numbers */
919
- const paddingWidth = SELECT_PANEL_PADDING_X * 2;
920
- let offsetX;
921
- let overlayMaxWidth;
922
- const selected = this.selectionModel.selected[0] || this.options.first;
923
- offsetX = selected && selected.group ? SELECT_PANEL_INDENT_PADDING_X : SELECT_PANEL_PADDING_X;
924
- // Invert the offset in LTR.
925
- if (!isRtl) {
926
- offsetX *= -1;
927
- }
928
- // Determine if select overflows on either side.
929
- const leftOverflow = 0 - (overlayRect.left + offsetX - (isRtl ? paddingWidth : 0));
930
- const rightOverflow = overlayRect.right + offsetX - windowWidth
931
- + (isRtl ? 0 : paddingWidth);
932
- // If the element overflows on either side, reduce the offset to allow it to fit.
933
- if (leftOverflow > 0 || rightOverflow > 0) {
934
- [offsetX, overlayMaxWidth] = this.calculateOverlayXPosition(overlayRect, windowWidth, offsetX);
935
- this.overlayDir.overlayRef.overlayElement.style.maxWidth = `${overlayMaxWidth}px`;
936
- }
937
- // Set the offset directly in order to avoid having to go through change detection and
938
- // potentially triggering "changed after it was checked" errors. Round the value to avoid
939
- // blurry content in some browsers.
940
- this.overlayDir.offsetX = Math.round(offsetX);
941
- this.overlayDir.overlayRef.updatePosition();
942
- }
943
- calculateOverlayXPosition(overlayRect, windowWidth, basicOffsetX) {
944
- let offsetX = basicOffsetX;
945
- const leftIndent = this.triggerRect.left;
946
- const rightIndent = windowWidth - this.triggerRect.right;
947
- // Setting direction of dropdown expansion
948
- const isRightDirection = leftIndent <= rightIndent;
949
- let maxDropdownWidth;
950
- let overlayMaxWidth;
951
- const triggerWidth = this.triggerRect.width + SELECT_PANEL_INDENT_PADDING_X;
952
- if (isRightDirection) {
953
- maxDropdownWidth = rightIndent + triggerWidth - SELECT_PANEL_VIEWPORT_PADDING;
954
- overlayMaxWidth = overlayRect.width < maxDropdownWidth ? overlayRect.width : maxDropdownWidth;
955
- }
956
- else {
957
- let leftOffset;
958
- maxDropdownWidth = leftIndent + triggerWidth - SELECT_PANEL_VIEWPORT_PADDING;
959
- if (overlayRect.width < maxDropdownWidth) {
960
- overlayMaxWidth = overlayRect.width;
961
- leftOffset = this.triggerRect.right - overlayMaxWidth;
962
- }
963
- else {
964
- overlayMaxWidth = maxDropdownWidth;
965
- leftOffset = this.triggerRect.right - (overlayMaxWidth - SELECT_PANEL_INDENT_PADDING_X);
966
- }
967
- offsetX -= this.triggerRect.left - leftOffset;
968
- }
969
- return [offsetX, overlayMaxWidth];
970
- }
971
- resetOverlay() {
972
- this.overlayDir.offsetX = 0;
973
- this.overlayDir.overlayRef.overlayElement.style.maxWidth = 'unset';
974
- this.overlayDir.overlayRef.updatePosition();
975
- }
976
- getOverlayRect() {
977
- return this.overlayDir.overlayRef.overlayElement.getBoundingClientRect();
978
- }
979
- getOverlayWidth() {
980
- return this.scrollStrategy._overlayRef.hostElement.clientWidth;
981
- }
982
- }
983
- /** @nocollapse */ McSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i2.ErrorStateMatcher }, { token: i0.ElementRef }, { token: NG_VALIDATORS, optional: true }, { token: i3.Directionality, optional: true }, { token: i4.NgForm, optional: true }, { token: i4.FormGroupDirective, optional: true }, { token: i1.McFormField, optional: true }, { token: i4.NgControl, optional: true, self: true }, { token: i4.NgModel, optional: true, self: true }, { token: i4.FormControlName, optional: true, self: true }, { token: MC_SELECT_SCROLL_STRATEGY }, { token: MC_VALIDATION, optional: true }], target: i0.ɵɵFactoryTarget.Component });
984
- /** @nocollapse */ McSelect.ɵcmp = i0.ɵɵ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: [
985
- { provide: McFormFieldControl, useExisting: McSelect },
986
- { provide: MC_OPTION_PARENT_COMPONENT, useExisting: McSelect }
987
- ], 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: McOption, descendants: true }, { propertyName: "optionGroups", predicate: 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: CdkConnectedOverlay, descendants: true }, { propertyName: "tags", predicate: McTag, descendants: true }], exportAs: ["mcSelect"], usesInheritance: true, usesOnChanges: true, ngImport: i0, 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.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.McIcon, selector: "[mc-icon]", inputs: ["color"] }], directives: [{ type: i7.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { type: i8.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i8.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i8.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i6.McIconCSSStyler, selector: "[mc-icon]" }, { type: i7.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.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
988
- mcSelectAnimations.transformPanel,
989
- mcSelectAnimations.fadeInContent
990
- ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
991
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelect, decorators: [{
992
- type: Component,
993
- args: [{
994
- selector: 'mc-select',
995
- exportAs: 'mcSelect',
996
- templateUrl: 'select.html',
997
- styleUrls: ['./select.scss'],
998
- inputs: ['disabled', 'tabIndex'],
999
- encapsulation: ViewEncapsulation.None,
1000
- changeDetection: ChangeDetectionStrategy.OnPush,
1001
- host: {
1002
- '[attr.id]': 'id',
1003
- '[attr.tabindex]': 'tabIndex',
1004
- '[attr.disabled]': 'disabled || null',
1005
- class: 'mc-select',
1006
- '[class.mc-disabled]': 'disabled',
1007
- '[class.mc-invalid]': 'errorState',
1008
- '(keydown)': 'handleKeydown($event)',
1009
- '(focus)': 'onFocus()',
1010
- '(blur)': 'onBlur()',
1011
- '(window:resize)': 'calculateHiddenItems()'
1012
- },
1013
- animations: [
1014
- mcSelectAnimations.transformPanel,
1015
- mcSelectAnimations.fadeInContent
1016
- ],
1017
- providers: [
1018
- { provide: McFormFieldControl, useExisting: McSelect },
1019
- { provide: MC_OPTION_PARENT_COMPONENT, useExisting: McSelect }
1020
- ]
1021
- }]
1022
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i2.ErrorStateMatcher }, { type: i0.ElementRef }, { type: undefined, decorators: [{
1023
- type: Optional
1024
- }, {
1025
- type: Inject,
1026
- args: [NG_VALIDATORS]
1027
- }] }, { type: i3.Directionality, decorators: [{
1028
- type: Optional
1029
- }] }, { type: i4.NgForm, decorators: [{
1030
- type: Optional
1031
- }] }, { type: i4.FormGroupDirective, decorators: [{
1032
- type: Optional
1033
- }] }, { type: i1.McFormField, decorators: [{
1034
- type: Optional
1035
- }] }, { type: i4.NgControl, decorators: [{
1036
- type: Self
1037
- }, {
1038
- type: Optional
1039
- }] }, { type: i4.NgModel, decorators: [{
1040
- type: Optional
1041
- }, {
1042
- type: Self
1043
- }] }, { type: i4.FormControlName, decorators: [{
1044
- type: Optional
1045
- }, {
1046
- type: Self
1047
- }] }, { type: undefined, decorators: [{
1048
- type: Inject,
1049
- args: [MC_SELECT_SCROLL_STRATEGY]
1050
- }] }, { type: undefined, decorators: [{
1051
- type: Optional
1052
- }, {
1053
- type: Inject,
1054
- args: [MC_VALIDATION]
1055
- }] }]; }, propDecorators: { trigger: [{
1056
- type: ViewChild,
1057
- args: ['trigger', { static: false }]
1058
- }], panel: [{
1059
- type: ViewChild,
1060
- args: ['panel', { static: false }]
1061
- }], optionsContainer: [{
1062
- type: ViewChild,
1063
- args: ['optionsContainer', { static: false }]
1064
- }], overlayDir: [{
1065
- type: ViewChild,
1066
- args: [CdkConnectedOverlay, { static: false }]
1067
- }], tags: [{
1068
- type: ViewChildren,
1069
- args: [McTag]
1070
- }], customTrigger: [{
1071
- type: ContentChild,
1072
- args: [McSelectTrigger, { static: false }]
1073
- }], cleaner: [{
1074
- type: ContentChild,
1075
- args: ['mcSelectCleaner', { static: true }]
1076
- }], options: [{
1077
- type: ContentChildren,
1078
- args: [McOption, { descendants: true }]
1079
- }], optionGroups: [{
1080
- type: ContentChildren,
1081
- args: [McOptgroup]
1082
- }], search: [{
1083
- type: ContentChild,
1084
- args: [McSelectSearch, { static: false }]
1085
- }], hiddenItemsText: [{
1086
- type: Input
1087
- }], panelClass: [{
1088
- type: Input
1089
- }], backdropClass: [{
1090
- type: Input
1091
- }], errorStateMatcher: [{
1092
- type: Input
1093
- }], sortComparator: [{
1094
- type: Input
1095
- }], openedChange: [{
1096
- type: Output
1097
- }], openedStream: [{
1098
- type: Output,
1099
- args: ['opened']
1100
- }], closedStream: [{
1101
- type: Output,
1102
- args: ['closed']
1103
- }], selectionChange: [{
1104
- type: Output
1105
- }], valueChange: [{
1106
- type: Output
1107
- }], hasBackdrop: [{
1108
- type: Input
1109
- }], placeholder: [{
1110
- type: Input
1111
- }], required: [{
1112
- type: Input
1113
- }], multiple: [{
1114
- type: Input
1115
- }], compareWith: [{
1116
- type: Input
1117
- }], value: [{
1118
- type: Input
1119
- }], id: [{
1120
- type: Input
1121
- }], hiddenItemsTextFormatter: [{
1122
- type: Input
1123
- }] } });
1124
-
1125
- class McSelectModule {
1126
- }
1127
- /** @nocollapse */ McSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1128
- /** @nocollapse */ McSelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectModule, declarations: [McSelect,
1129
- McSelectSearch,
1130
- McSelectSearchEmptyResult,
1131
- McSelectTrigger], imports: [CommonModule,
1132
- OverlayModule,
1133
- McOptionModule,
1134
- McIconModule,
1135
- McTagsModule], exports: [McFormFieldModule,
1136
- McSelect,
1137
- McSelectSearch,
1138
- McSelectSearchEmptyResult,
1139
- McSelectTrigger,
1140
- McOptionModule,
1141
- CommonModule] });
1142
- /** @nocollapse */ McSelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectModule, providers: [MC_SELECT_SCROLL_STRATEGY_PROVIDER], imports: [[
1143
- CommonModule,
1144
- OverlayModule,
1145
- McOptionModule,
1146
- McIconModule,
1147
- McTagsModule
1148
- ], McFormFieldModule,
1149
- McOptionModule,
1150
- CommonModule] });
1151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: McSelectModule, decorators: [{
1152
- type: NgModule,
1153
- args: [{
1154
- imports: [
1155
- CommonModule,
1156
- OverlayModule,
1157
- McOptionModule,
1158
- McIconModule,
1159
- McTagsModule
1160
- ],
1161
- exports: [
1162
- McFormFieldModule,
1163
- McSelect,
1164
- McSelectSearch,
1165
- McSelectSearchEmptyResult,
1166
- McSelectTrigger,
1167
- McOptionModule,
1168
- CommonModule
1169
- ],
1170
- declarations: [
1171
- McSelect,
1172
- McSelectSearch,
1173
- McSelectSearchEmptyResult,
1174
- McSelectTrigger
1175
- ],
1176
- providers: [MC_SELECT_SCROLL_STRATEGY_PROVIDER]
1177
- }]
1178
- }] });
1179
-
1180
- /**
1181
- * Generated bundle index. Do not edit.
1182
- */
1183
-
1184
- export { McSelect, McSelectBase, McSelectChange, McSelectModule, McSelectSearch, McSelectSearchEmptyResult, McSelectTrigger };
1185
- //# sourceMappingURL=ptsecurity-mosaic-select.js.map