@ptsecurity/mosaic 12.1.0 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (731) hide show
  1. package/_theming.scss +113 -66
  2. package/_visual.scss +11 -9
  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 +4 -4
  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-trigger.d.ts +9 -12
  20. package/datepicker/README.md +0 -0
  21. package/datepicker/package.json +5 -5
  22. package/design-tokens/package.json +5 -5
  23. package/design-tokens/style-dictionary/build.js +6 -0
  24. package/design-tokens/style-dictionary/configs/index.js +2 -1
  25. package/design-tokens/tokens/components/navbar.json5 +12 -9
  26. package/design-tokens/tokens.d.ts +11 -9
  27. package/divider/README.md +0 -0
  28. package/divider/package.json +5 -5
  29. package/dropdown/dropdown-item.component.d.ts +1 -0
  30. package/dropdown/package.json +5 -5
  31. package/{esm2015/autocomplete/autocomplete-origin.directive.js → esm2020/autocomplete/autocomplete-origin.directive.mjs} +4 -4
  32. package/{esm2015/autocomplete/autocomplete-trigger.directive.js → esm2020/autocomplete/autocomplete-trigger.directive.mjs} +4 -4
  33. package/esm2020/autocomplete/autocomplete.component.mjs +154 -0
  34. package/{esm2015/autocomplete/autocomplete.module.js → esm2020/autocomplete/autocomplete.module.mjs} +5 -5
  35. package/{esm2015/autocomplete/index.js → esm2020/autocomplete/index.mjs} +0 -0
  36. package/{esm2015/autocomplete/ptsecurity-mosaic-autocomplete.js → esm2020/autocomplete/ptsecurity-mosaic-autocomplete.mjs} +0 -0
  37. package/{esm2015/autocomplete/public-api.js → esm2020/autocomplete/public-api.mjs} +0 -0
  38. package/esm2020/button/button.component.mjs +129 -0
  39. package/esm2020/button/button.module.mjs +38 -0
  40. package/{esm2015/button/index.js → esm2020/button/index.mjs} +0 -0
  41. package/{esm2015/button/ptsecurity-mosaic-button.js → esm2020/button/ptsecurity-mosaic-button.mjs} +0 -0
  42. package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
  43. package/esm2020/button-toggle/button-toggle.component.mjs +362 -0
  44. package/{esm2015/button-toggle/button-toggle.module.js → esm2020/button-toggle/button-toggle.module.mjs} +5 -5
  45. package/{esm2015/button-toggle/index.js → esm2020/button-toggle/index.mjs} +0 -0
  46. package/{esm2015/button-toggle/ptsecurity-mosaic-button-toggle.js → esm2020/button-toggle/ptsecurity-mosaic-button-toggle.mjs} +0 -0
  47. package/{esm2015/button-toggle/public-api.js → esm2020/button-toggle/public-api.mjs} +0 -0
  48. package/esm2020/card/card.component.mjs +80 -0
  49. package/{esm2015/card/card.module.js → esm2020/card/card.module.mjs} +5 -5
  50. package/{esm2015/card/index.js → esm2020/card/index.mjs} +0 -0
  51. package/{esm2015/card/ptsecurity-mosaic-card.js → esm2020/card/ptsecurity-mosaic-card.mjs} +0 -0
  52. package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
  53. package/{esm2015/checkbox/checkbox-config.js → esm2020/checkbox/checkbox-config.mjs} +0 -0
  54. package/{esm2015/checkbox/checkbox-module.js → esm2020/checkbox/checkbox-module.mjs} +5 -5
  55. package/{esm2015/checkbox/checkbox-required-validator.js → esm2020/checkbox/checkbox-required-validator.mjs} +4 -4
  56. package/esm2020/checkbox/checkbox.mjs +315 -0
  57. package/{esm2015/checkbox/index.js → esm2020/checkbox/index.mjs} +0 -0
  58. package/{esm2015/checkbox/ptsecurity-mosaic-checkbox.js → esm2020/checkbox/ptsecurity-mosaic-checkbox.mjs} +0 -0
  59. package/{esm2015/checkbox/public-api.js → esm2020/checkbox/public-api.mjs} +0 -0
  60. package/{esm2015/core/animation/animation.js → esm2020/core/animation/animation.mjs} +0 -0
  61. package/{esm2015/core/animation/fade-animations.js → esm2020/core/animation/fade-animations.mjs} +0 -0
  62. package/{esm2015/core/animation/index.js → esm2020/core/animation/index.mjs} +0 -0
  63. package/{esm2015/core/animation/select-animations.js → esm2020/core/animation/select-animations.mjs} +0 -0
  64. package/{esm2015/core/common-behaviors/color.js → esm2020/core/common-behaviors/color.mjs} +0 -0
  65. package/{esm2015/core/common-behaviors/common-module.js → esm2020/core/common-behaviors/common-module.mjs} +5 -5
  66. package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
  67. package/{esm2015/core/common-behaviors/disabled.js → esm2020/core/common-behaviors/disabled.mjs} +0 -0
  68. package/{esm2015/core/common-behaviors/error-state.js → esm2020/core/common-behaviors/error-state.mjs} +0 -0
  69. package/{esm2015/core/common-behaviors/index.js → esm2020/core/common-behaviors/index.mjs} +0 -0
  70. package/{esm2015/core/common-behaviors/tabindex.js → esm2020/core/common-behaviors/tabindex.mjs} +0 -0
  71. package/{esm2015/core/error/error-options.js → esm2020/core/error/error-options.mjs} +7 -7
  72. package/esm2020/core/formatters/date/formatter.mjs +314 -0
  73. package/esm2020/core/formatters/date/templates/en-US.mjs +280 -0
  74. package/esm2020/core/formatters/date/templates/ru-RU.mjs +280 -0
  75. package/{esm2015/core/formatters/index.js → esm2020/core/formatters/index.mjs} +5 -5
  76. package/esm2020/core/formatters/number/formatter.mjs +105 -0
  77. package/{esm2015/core/forms/forms-module.js → esm2020/core/forms/forms-module.mjs} +5 -5
  78. package/{esm2015/core/forms/forms.directive.js → esm2020/core/forms/forms.directive.mjs} +7 -7
  79. package/{esm2015/core/forms/index.js → esm2020/core/forms/index.mjs} +0 -0
  80. package/{esm2015/core/highlight/highlight.pipe.js → esm2020/core/highlight/highlight.pipe.mjs} +4 -4
  81. package/{esm2015/core/highlight/index.js → esm2020/core/highlight/index.mjs} +5 -5
  82. package/{esm2015/core/index.js → esm2020/core/index.mjs} +0 -0
  83. package/{esm2015/core/label/label-options.js → esm2020/core/label/label-options.mjs} +0 -0
  84. package/{esm2015/core/line/line.js → esm2020/core/line/line.mjs} +8 -8
  85. package/esm2020/core/option/action.mjs +121 -0
  86. package/{esm2015/core/option/index.js → esm2020/core/option/index.mjs} +0 -0
  87. package/esm2020/core/option/optgroup.mjs +31 -0
  88. package/{esm2015/core/option/option-module.js → esm2020/core/option/option-module.mjs} +5 -5
  89. package/esm2020/core/option/option.mjs +254 -0
  90. package/{esm2015/core/overlay/overlay-position-map.js → esm2020/core/overlay/overlay-position-map.mjs} +0 -0
  91. package/{esm2015/core/pop-up/constants.js → esm2020/core/pop-up/constants.mjs} +0 -0
  92. package/{esm2015/core/pop-up/index.js → esm2020/core/pop-up/index.mjs} +0 -0
  93. package/esm2020/core/pop-up/pop-up-trigger.mjs +246 -0
  94. package/esm2020/core/pop-up/pop-up.mjs +91 -0
  95. package/{esm2015/core/ptsecurity-mosaic-core.js → esm2020/core/ptsecurity-mosaic-core.mjs} +0 -0
  96. package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
  97. package/{esm2015/core/select/constants.js → esm2020/core/select/constants.mjs} +0 -0
  98. package/{esm2015/core/select/errors.js → esm2020/core/select/errors.mjs} +0 -0
  99. package/{esm2015/core/select/events.js → esm2020/core/select/events.mjs} +0 -0
  100. package/{esm2015/core/select/index.js → esm2020/core/select/index.mjs} +0 -0
  101. package/{esm2015/core/selection/constants.js → esm2020/core/selection/constants.mjs} +0 -0
  102. package/{esm2015/core/selection/index.js → esm2020/core/selection/index.mjs} +0 -0
  103. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +37 -0
  104. package/{esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.module.js → esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.module.mjs} +5 -5
  105. package/{esm2015/core/services/measure-scrollbar.service.js → esm2020/core/services/measure-scrollbar.service.mjs} +4 -4
  106. package/{esm2015/core/utils/index.js → esm2020/core/utils/index.mjs} +0 -0
  107. package/{esm2015/core/utils/public-api.js → esm2020/core/utils/public-api.mjs} +0 -0
  108. package/{esm2015/core/utils/utils.js → esm2020/core/utils/utils.mjs} +0 -0
  109. package/{esm2015/core/validation/index.js → esm2020/core/validation/index.mjs} +0 -0
  110. package/{esm2015/core/validation/validation.js → esm2020/core/validation/validation.mjs} +0 -0
  111. package/esm2020/datepicker/calendar-body.component.mjs +106 -0
  112. package/esm2020/datepicker/calendar.component.mjs +362 -0
  113. package/{esm2015/datepicker/datepicker-animations.js → esm2020/datepicker/datepicker-animations.mjs} +0 -0
  114. package/{esm2015/datepicker/datepicker-errors.js → esm2020/datepicker/datepicker-errors.mjs} +0 -0
  115. package/esm2020/datepicker/datepicker-input.directive.mjs +900 -0
  116. package/{esm2015/datepicker/datepicker-intl.js → esm2020/datepicker/datepicker-intl.mjs} +4 -4
  117. package/{esm2015/datepicker/datepicker-module.js → esm2020/datepicker/datepicker-module.mjs} +5 -5
  118. package/esm2020/datepicker/datepicker-toggle.component.mjs +86 -0
  119. package/esm2020/datepicker/datepicker.component.mjs +408 -0
  120. package/{esm2015/datepicker/index.js → esm2020/datepicker/index.mjs} +0 -0
  121. package/{esm2015/datepicker/month-view.component.js → esm2020/datepicker/month-view.component.mjs} +5 -11
  122. package/{esm2015/datepicker/multi-year-view.component.js → esm2020/datepicker/multi-year-view.component.mjs} +5 -11
  123. package/{esm2015/datepicker/ptsecurity-mosaic-datepicker.js → esm2020/datepicker/ptsecurity-mosaic-datepicker.mjs} +0 -0
  124. package/{esm2015/datepicker/public-api.js → esm2020/datepicker/public-api.mjs} +0 -0
  125. package/{esm2015/datepicker/year-view.component.js → esm2020/datepicker/year-view.component.mjs} +5 -11
  126. package/{esm2015/design-tokens/index.js → esm2020/design-tokens/index.mjs} +0 -0
  127. package/{esm2015/design-tokens/ptsecurity-mosaic-design-tokens.js → esm2020/design-tokens/ptsecurity-mosaic-design-tokens.mjs} +0 -0
  128. package/{esm2015/design-tokens/public-api.js → esm2020/design-tokens/public-api.mjs} +0 -0
  129. package/{esm2015/design-tokens/tokens.js → esm2020/design-tokens/tokens.mjs} +12 -10
  130. package/{esm2015/divider/divider.component.js → esm2020/divider/divider.component.mjs} +6 -13
  131. package/{esm2015/divider/divider.module.js → esm2020/divider/divider.module.mjs} +5 -5
  132. package/{esm2015/divider/index.js → esm2020/divider/index.mjs} +0 -0
  133. package/{esm2015/divider/ptsecurity-mosaic-divider.js → esm2020/divider/ptsecurity-mosaic-divider.mjs} +0 -0
  134. package/{esm2015/divider/public-api.js → esm2020/divider/public-api.mjs} +0 -0
  135. package/{esm2015/dropdown/dropdown-animations.js → esm2020/dropdown/dropdown-animations.mjs} +0 -0
  136. package/{esm2015/dropdown/dropdown-content.directive.js → esm2020/dropdown/dropdown-content.directive.mjs} +6 -8
  137. package/{esm2015/dropdown/dropdown-errors.js → esm2020/dropdown/dropdown-errors.mjs} +0 -0
  138. package/esm2020/dropdown/dropdown-item.component.mjs +139 -0
  139. package/esm2020/dropdown/dropdown-trigger.directive.mjs +485 -0
  140. package/esm2020/dropdown/dropdown.component.mjs +292 -0
  141. package/{esm2015/dropdown/dropdown.module.js → esm2020/dropdown/dropdown.module.mjs} +5 -5
  142. package/{esm2015/dropdown/dropdown.types.js → esm2020/dropdown/dropdown.types.mjs} +0 -0
  143. package/{esm2015/dropdown/index.js → esm2020/dropdown/index.mjs} +0 -0
  144. package/{esm2015/dropdown/ptsecurity-mosaic-dropdown.js → esm2020/dropdown/ptsecurity-mosaic-dropdown.mjs} +0 -0
  145. package/{esm2015/dropdown/public-api.js → esm2020/dropdown/public-api.mjs} +0 -0
  146. package/esm2020/form-field/cleaner.mjs +23 -0
  147. package/{esm2015/form-field/form-field-control.js → esm2020/form-field/form-field-control.mjs} +0 -0
  148. package/{esm2015/form-field/form-field-errors.js → esm2020/form-field/form-field-errors.mjs} +0 -0
  149. package/esm2020/form-field/form-field.mjs +205 -0
  150. package/{esm2015/form-field/form-field.module.js → esm2020/form-field/form-field.module.mjs} +5 -5
  151. package/{esm2015/form-field/hint.js → esm2020/form-field/hint.mjs} +4 -4
  152. package/{esm2015/form-field/index.js → esm2020/form-field/index.mjs} +0 -0
  153. package/{esm2015/form-field/prefix.js → esm2020/form-field/prefix.mjs} +4 -4
  154. package/{esm2015/form-field/ptsecurity-mosaic-form-field.js → esm2020/form-field/ptsecurity-mosaic-form-field.mjs} +0 -0
  155. package/{esm2015/form-field/public-api.js → esm2020/form-field/public-api.mjs} +0 -0
  156. package/{esm2015/form-field/stepper.js → esm2020/form-field/stepper.mjs} +4 -4
  157. package/{esm2015/form-field/suffix.js → esm2020/form-field/suffix.mjs} +4 -4
  158. package/esm2020/icon/icon.component.mjs +44 -0
  159. package/{esm2015/icon/icon.module.js → esm2020/icon/icon.module.mjs} +5 -5
  160. package/{esm2015/icon/index.js → esm2020/icon/index.mjs} +0 -0
  161. package/{esm2015/icon/ptsecurity-mosaic-icon.js → esm2020/icon/ptsecurity-mosaic-icon.mjs} +0 -0
  162. package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
  163. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  164. package/{esm2015/input/index.js → esm2020/input/index.mjs} +0 -0
  165. package/{esm2015/input/input-errors.js → esm2020/input/input-errors.mjs} +0 -0
  166. package/esm2020/input/input-number-validators.mjs +92 -0
  167. package/{esm2015/input/input-number.js → esm2020/input/input-number.mjs} +4 -4
  168. package/{esm2015/input/input-value-accessor.js → esm2020/input/input-value-accessor.mjs} +0 -0
  169. package/{esm2015/input/input.js → esm2020/input/input.mjs} +7 -7
  170. package/{esm2015/input/input.module.js → esm2020/input/input.module.mjs} +5 -5
  171. package/{esm2015/input/ptsecurity-mosaic-input.js → esm2020/input/ptsecurity-mosaic-input.mjs} +0 -0
  172. package/{esm2015/input/public-api.js → esm2020/input/public-api.mjs} +0 -0
  173. package/{esm2015/link/index.js → esm2020/link/index.mjs} +0 -0
  174. package/esm2020/link/link.component.mjs +107 -0
  175. package/{esm2015/link/link.module.js → esm2020/link/link.module.mjs} +5 -5
  176. package/{esm2015/link/ptsecurity-mosaic-link.js → esm2020/link/ptsecurity-mosaic-link.mjs} +0 -0
  177. package/{esm2015/link/public-api.js → esm2020/link/public-api.mjs} +0 -0
  178. package/{esm2015/list/index.js → esm2020/list/index.mjs} +0 -0
  179. package/esm2020/list/list-selection.component.mjs +693 -0
  180. package/esm2020/list/list.component.mjs +44 -0
  181. package/{esm2015/list/list.module.js → esm2020/list/list.module.mjs} +5 -5
  182. package/{esm2015/list/ptsecurity-mosaic-list.js → esm2020/list/ptsecurity-mosaic-list.mjs} +0 -0
  183. package/{esm2015/list/public-api.js → esm2020/list/public-api.mjs} +0 -0
  184. package/{esm2015/modal/css-unit.pipe.js → esm2020/modal/css-unit.pipe.mjs} +4 -4
  185. package/{esm2015/modal/index.js → esm2020/modal/index.mjs} +0 -0
  186. package/{esm2015/modal/modal-control.service.js → esm2020/modal/modal-control.service.mjs} +4 -4
  187. package/{esm2015/modal/modal-ref.class.js → esm2020/modal/modal-ref.class.mjs} +0 -0
  188. package/{esm2015/modal/modal-util.js → esm2020/modal/modal-util.mjs} +0 -0
  189. package/esm2020/modal/modal.component.mjs +501 -0
  190. package/{esm2015/modal/modal.directive.js → esm2020/modal/modal.directive.mjs} +13 -13
  191. package/esm2020/modal/modal.module.mjs +72 -0
  192. package/esm2020/modal/modal.service.mjs +124 -0
  193. package/{esm2015/modal/modal.type.js → esm2020/modal/modal.type.mjs} +0 -0
  194. package/{esm2015/modal/ptsecurity-mosaic-modal.js → esm2020/modal/ptsecurity-mosaic-modal.mjs} +0 -0
  195. package/{esm2015/modal/public-api.js → esm2020/modal/public-api.mjs} +0 -0
  196. package/{esm2015/navbar/index.js → esm2020/navbar/index.mjs} +0 -0
  197. package/esm2020/navbar/navbar-item.component.mjs +577 -0
  198. package/esm2020/navbar/navbar.component.mjs +237 -0
  199. package/esm2020/navbar/navbar.module.mjs +92 -0
  200. package/{esm2015/navbar/ptsecurity-mosaic-navbar.js → esm2020/navbar/ptsecurity-mosaic-navbar.mjs} +0 -0
  201. package/{esm2015/navbar/public-api.js → esm2020/navbar/public-api.mjs} +0 -0
  202. package/{esm2015/navbar/vertical-navbar.animation.js → esm2020/navbar/vertical-navbar.animation.mjs} +2 -2
  203. package/esm2020/navbar/vertical-navbar.component.mjs +114 -0
  204. package/{esm2015/popover/index.js → esm2020/popover/index.mjs} +0 -0
  205. package/{esm2015/popover/popover-animations.js → esm2020/popover/popover-animations.mjs} +0 -0
  206. package/esm2020/popover/popover-confirm.component.mjs +108 -0
  207. package/esm2020/popover/popover.component.mjs +253 -0
  208. package/esm2020/popover/popover.module.mjs +24 -0
  209. package/{esm2015/popover/ptsecurity-mosaic-popover.js → esm2020/popover/ptsecurity-mosaic-popover.mjs} +0 -0
  210. package/{esm2015/popover/public-api.js → esm2020/popover/public-api.mjs} +2 -1
  211. package/{esm2015/progress-bar/index.js → esm2020/progress-bar/index.mjs} +0 -0
  212. package/esm2020/progress-bar/progress-bar.component.mjs +42 -0
  213. package/{esm2015/progress-bar/progress-bar.module.js → esm2020/progress-bar/progress-bar.module.mjs} +5 -5
  214. package/{esm2015/progress-bar/ptsecurity-mosaic-progress-bar.js → esm2020/progress-bar/ptsecurity-mosaic-progress-bar.mjs} +0 -0
  215. package/{esm2015/progress-bar/public-api.js → esm2020/progress-bar/public-api.mjs} +0 -0
  216. package/{esm2015/progress-spinner/index.js → esm2020/progress-spinner/index.mjs} +0 -0
  217. package/esm2020/progress-spinner/progress-spinner.component.mjs +46 -0
  218. package/{esm2015/progress-spinner/progress-spinner.module.js → esm2020/progress-spinner/progress-spinner.module.mjs} +5 -5
  219. package/{esm2015/progress-spinner/ptsecurity-mosaic-progress-spinner.js → esm2020/progress-spinner/ptsecurity-mosaic-progress-spinner.mjs} +0 -0
  220. package/{esm2015/progress-spinner/public-api.js → esm2020/progress-spinner/public-api.mjs} +0 -0
  221. package/{esm2015/ptsecurity-mosaic.js → esm2020/ptsecurity-mosaic.mjs} +0 -0
  222. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  223. package/{esm2015/radio/index.js → esm2020/radio/index.mjs} +0 -0
  224. package/{esm2015/radio/ptsecurity-mosaic-radio.js → esm2020/radio/ptsecurity-mosaic-radio.mjs} +0 -0
  225. package/{esm2015/radio/public-api.js → esm2020/radio/public-api.mjs} +0 -0
  226. package/esm2020/radio/radio.component.mjs +458 -0
  227. package/{esm2015/radio/radio.module.js → esm2020/radio/radio.module.mjs} +5 -5
  228. package/{esm2015/select/index.js → esm2020/select/index.mjs} +0 -0
  229. package/{esm2015/select/ptsecurity-mosaic-select.js → esm2020/select/ptsecurity-mosaic-select.mjs} +0 -0
  230. package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
  231. package/esm2020/select/select.component.mjs +1110 -0
  232. package/{esm2015/select/select.module.js → esm2020/select/select.module.mjs} +5 -5
  233. package/{esm2015/sidebar/index.js → esm2020/sidebar/index.mjs} +0 -0
  234. package/{esm2015/sidebar/ptsecurity-mosaic-sidebar.js → esm2020/sidebar/ptsecurity-mosaic-sidebar.mjs} +0 -0
  235. package/{esm2015/sidebar/public-api.js → esm2020/sidebar/public-api.mjs} +0 -0
  236. package/{esm2015/sidebar/sidebar-animations.js → esm2020/sidebar/sidebar-animations.mjs} +0 -0
  237. package/esm2020/sidebar/sidebar.component.mjs +146 -0
  238. package/{esm2015/sidebar/sidebar.module.js → esm2020/sidebar/sidebar.module.mjs} +5 -5
  239. package/{esm2015/sidepanel/index.js → esm2020/sidepanel/index.mjs} +0 -0
  240. package/{esm2015/sidepanel/ptsecurity-mosaic-sidepanel.js → esm2020/sidepanel/ptsecurity-mosaic-sidepanel.mjs} +0 -0
  241. package/{esm2015/sidepanel/public-api.js → esm2020/sidepanel/public-api.mjs} +0 -0
  242. package/{esm2015/sidepanel/sidepanel-animations.js → esm2020/sidepanel/sidepanel-animations.mjs} +0 -0
  243. package/{esm2015/sidepanel/sidepanel-config.js → esm2020/sidepanel/sidepanel-config.mjs} +0 -0
  244. package/esm2020/sidepanel/sidepanel-container.component.mjs +106 -0
  245. package/esm2020/sidepanel/sidepanel-directives.mjs +159 -0
  246. package/{esm2015/sidepanel/sidepanel-ref.js → esm2020/sidepanel/sidepanel-ref.mjs} +0 -0
  247. package/esm2020/sidepanel/sidepanel.module.mjs +74 -0
  248. package/esm2020/sidepanel/sidepanel.service.mjs +167 -0
  249. package/{esm2015/splitter/index.js → esm2020/splitter/index.mjs} +0 -0
  250. package/{esm2015/splitter/ptsecurity-mosaic-splitter.js → esm2020/splitter/ptsecurity-mosaic-splitter.mjs} +0 -0
  251. package/{esm2015/splitter/public-api.js → esm2020/splitter/public-api.mjs} +0 -0
  252. package/esm2020/splitter/splitter.component.mjs +480 -0
  253. package/esm2020/splitter/splitter.module.mjs +40 -0
  254. package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
  255. package/{esm2015/table/ptsecurity-mosaic-table.js → esm2020/table/ptsecurity-mosaic-table.mjs} +0 -0
  256. package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
  257. package/{esm2015/table/table.component.js → esm2020/table/table.component.mjs} +4 -4
  258. package/{esm2015/table/table.module.js → esm2020/table/table.module.mjs} +5 -5
  259. package/{esm2015/tabs/index.js → esm2020/tabs/index.mjs} +0 -0
  260. package/esm2020/tabs/paginated-tab-header.mjs +479 -0
  261. package/{esm2015/tabs/ptsecurity-mosaic-tabs.js → esm2020/tabs/ptsecurity-mosaic-tabs.mjs} +0 -0
  262. package/{esm2015/tabs/public-api.js → esm2020/tabs/public-api.mjs} +0 -0
  263. package/esm2020/tabs/tab-body.component.mjs +178 -0
  264. package/{esm2015/tabs/tab-content.directive.js → esm2020/tabs/tab-content.directive.mjs} +4 -4
  265. package/esm2020/tabs/tab-group.component.mjs +350 -0
  266. package/esm2020/tabs/tab-header.component.mjs +67 -0
  267. package/{esm2015/tabs/tab-label-wrapper.directive.js → esm2020/tabs/tab-label-wrapper.directive.mjs} +4 -4
  268. package/{esm2015/tabs/tab-label.directive.js → esm2020/tabs/tab-label.directive.mjs} +4 -4
  269. package/{esm2015/tabs/tab-nav-bar/index.js → esm2020/tabs/tab-nav-bar/index.mjs} +0 -0
  270. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +110 -0
  271. package/{esm2015/tabs/tab.component.js → esm2020/tabs/tab.component.mjs} +4 -4
  272. package/{esm2015/tabs/tabs-animations.js → esm2020/tabs/tabs-animations.mjs} +0 -0
  273. package/{esm2015/tabs/tabs.module.js → esm2020/tabs/tabs.module.mjs} +5 -5
  274. package/{esm2015/tags/index.js → esm2020/tags/index.mjs} +0 -0
  275. package/{esm2015/tags/ptsecurity-mosaic-tags.js → esm2020/tags/ptsecurity-mosaic-tags.mjs} +0 -0
  276. package/{esm2015/tags/public-api.js → esm2020/tags/public-api.mjs} +0 -0
  277. package/{esm2015/tags/tag-default-options.js → esm2020/tags/tag-default-options.mjs} +0 -0
  278. package/{esm2015/tags/tag-input.js → esm2020/tags/tag-input.mjs} +4 -4
  279. package/esm2020/tags/tag-list.component.mjs +722 -0
  280. package/{esm2015/tags/tag-text-control.js → esm2020/tags/tag-text-control.mjs} +0 -0
  281. package/esm2020/tags/tag.component.mjs +374 -0
  282. package/{esm2015/tags/tag.module.js → esm2020/tags/tag.module.mjs} +5 -5
  283. package/{esm2015/textarea/index.js → esm2020/textarea/index.mjs} +0 -0
  284. package/{esm2015/textarea/ptsecurity-mosaic-textarea.js → esm2020/textarea/ptsecurity-mosaic-textarea.mjs} +0 -0
  285. package/{esm2015/textarea/public-api.js → esm2020/textarea/public-api.mjs} +0 -0
  286. package/{esm2015/textarea/textarea.component.js → esm2020/textarea/textarea.component.mjs} +4 -4
  287. package/{esm2015/textarea/textarea.module.js → esm2020/textarea/textarea.module.mjs} +5 -5
  288. package/{esm2015/timepicker/index.js → esm2020/timepicker/index.mjs} +0 -0
  289. package/{esm2015/timepicker/ptsecurity-mosaic-timepicker.js → esm2020/timepicker/ptsecurity-mosaic-timepicker.mjs} +0 -0
  290. package/{esm2015/timepicker/public-api.js → esm2020/timepicker/public-api.mjs} +0 -0
  291. package/{esm2015/timepicker/timepicker.constants.js → esm2020/timepicker/timepicker.constants.mjs} +0 -0
  292. package/esm2020/timepicker/timepicker.directive.mjs +653 -0
  293. package/{esm2015/timepicker/timepicker.module.js → esm2020/timepicker/timepicker.module.mjs} +5 -5
  294. package/{esm2015/toggle/index.js → esm2020/toggle/index.mjs} +0 -0
  295. package/{esm2015/toggle/ptsecurity-mosaic-toggle.js → esm2020/toggle/ptsecurity-mosaic-toggle.mjs} +0 -0
  296. package/{esm2015/toggle/public-api.js → esm2020/toggle/public-api.mjs} +0 -0
  297. package/esm2020/toggle/toggle.component.mjs +158 -0
  298. package/{esm2015/toggle/toggle.module.js → esm2020/toggle/toggle.module.mjs} +5 -5
  299. package/{esm2015/tooltip/index.js → esm2020/tooltip/index.mjs} +0 -0
  300. package/{esm2015/tooltip/ptsecurity-mosaic-tooltip.js → esm2020/tooltip/ptsecurity-mosaic-tooltip.mjs} +0 -0
  301. package/{esm2015/tooltip/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
  302. package/{esm2015/tooltip/tooltip.animations.js → esm2020/tooltip/tooltip.animations.mjs} +0 -0
  303. package/esm2020/tooltip/tooltip.component.mjs +291 -0
  304. package/{esm2015/tooltip/tooltip.module.js → esm2020/tooltip/tooltip.module.mjs} +5 -5
  305. package/{esm2015/tree/control/base-tree-control.js → esm2020/tree/control/base-tree-control.mjs} +0 -0
  306. package/{esm2015/tree/control/flat-tree-control.js → esm2020/tree/control/flat-tree-control.mjs} +0 -0
  307. package/{esm2015/tree/control/nested-tree-control.js → esm2020/tree/control/nested-tree-control.mjs} +0 -0
  308. package/{esm2015/tree/control/tree-control.js → esm2020/tree/control/tree-control.mjs} +0 -0
  309. package/{esm2015/tree/data-source/flat-data-source.js → esm2020/tree/data-source/flat-data-source.mjs} +0 -0
  310. package/{esm2015/tree/data-source/nested-data-source.js → esm2020/tree/data-source/nested-data-source.mjs} +0 -0
  311. package/{esm2015/tree/index.js → esm2020/tree/index.mjs} +0 -0
  312. package/{esm2015/tree/node.js → esm2020/tree/node.mjs} +4 -4
  313. package/{esm2015/tree/outlet.js → esm2020/tree/outlet.mjs} +4 -4
  314. package/esm2020/tree/padding.directive.mjs +110 -0
  315. package/{esm2015/tree/ptsecurity-mosaic-tree.js → esm2020/tree/ptsecurity-mosaic-tree.mjs} +0 -0
  316. package/{esm2015/tree/public-api.js → esm2020/tree/public-api.mjs} +0 -0
  317. package/esm2020/tree/toggle.mjs +80 -0
  318. package/{esm2015/tree/tree-base.js → esm2020/tree/tree-base.mjs} +7 -7
  319. package/{esm2015/tree/tree-errors.js → esm2020/tree/tree-errors.mjs} +0 -0
  320. package/esm2020/tree/tree-option.component.mjs +226 -0
  321. package/esm2020/tree/tree-selection.component.mjs +530 -0
  322. package/esm2020/tree/tree.mjs +15 -0
  323. package/esm2020/tree/tree.module.mjs +53 -0
  324. package/{esm2015/tree-select/index.js → esm2020/tree-select/index.mjs} +0 -0
  325. package/{esm2015/tree-select/ptsecurity-mosaic-tree-select.js → esm2020/tree-select/ptsecurity-mosaic-tree-select.mjs} +0 -0
  326. package/{esm2015/tree-select/public-api.js → esm2020/tree-select/public-api.mjs} +0 -0
  327. package/esm2020/tree-select/tree-select.component.mjs +889 -0
  328. package/{esm2015/tree-select/tree-select.module.js → esm2020/tree-select/tree-select.module.mjs} +5 -5
  329. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs +756 -0
  330. package/fesm2015/ptsecurity-mosaic-autocomplete.mjs.map +1 -0
  331. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs +385 -0
  332. package/fesm2015/ptsecurity-mosaic-button-toggle.mjs.map +1 -0
  333. package/fesm2015/ptsecurity-mosaic-button.mjs +170 -0
  334. package/fesm2015/ptsecurity-mosaic-button.mjs.map +1 -0
  335. package/fesm2015/{ptsecurity-mosaic-card.js → ptsecurity-mosaic-card.mjs} +10 -18
  336. package/fesm2015/ptsecurity-mosaic-card.mjs.map +1 -0
  337. package/fesm2015/ptsecurity-mosaic-checkbox.mjs +366 -0
  338. package/fesm2015/ptsecurity-mosaic-checkbox.mjs.map +1 -0
  339. package/fesm2015/{ptsecurity-mosaic-core.js → ptsecurity-mosaic-core.mjs} +186 -241
  340. package/fesm2015/ptsecurity-mosaic-core.mjs.map +1 -0
  341. package/fesm2015/ptsecurity-mosaic-datepicker.mjs +2700 -0
  342. package/fesm2015/ptsecurity-mosaic-datepicker.mjs.map +1 -0
  343. package/fesm2015/{ptsecurity-mosaic-design-tokens.js → ptsecurity-mosaic-design-tokens.mjs} +13 -11
  344. package/fesm2015/ptsecurity-mosaic-design-tokens.mjs.map +1 -0
  345. package/fesm2015/ptsecurity-mosaic-divider.mjs +61 -0
  346. package/fesm2015/ptsecurity-mosaic-divider.mjs.map +1 -0
  347. package/fesm2015/ptsecurity-mosaic-dropdown.mjs +1106 -0
  348. package/fesm2015/ptsecurity-mosaic-dropdown.mjs.map +1 -0
  349. package/fesm2015/ptsecurity-mosaic-form-field.mjs +378 -0
  350. package/fesm2015/ptsecurity-mosaic-form-field.mjs.map +1 -0
  351. package/fesm2015/ptsecurity-mosaic-icon.mjs +88 -0
  352. package/fesm2015/ptsecurity-mosaic-icon.mjs.map +1 -0
  353. package/fesm2015/ptsecurity-mosaic-input.mjs +609 -0
  354. package/fesm2015/ptsecurity-mosaic-input.mjs.map +1 -0
  355. package/fesm2015/{ptsecurity-mosaic-link.js → ptsecurity-mosaic-link.mjs} +8 -8
  356. package/fesm2015/ptsecurity-mosaic-link.mjs.map +1 -0
  357. package/fesm2015/ptsecurity-mosaic-list.mjs +796 -0
  358. package/fesm2015/ptsecurity-mosaic-list.mjs.map +1 -0
  359. package/fesm2015/ptsecurity-mosaic-modal.mjs +842 -0
  360. package/fesm2015/ptsecurity-mosaic-modal.mjs.map +1 -0
  361. package/fesm2015/ptsecurity-mosaic-navbar.mjs +1025 -0
  362. package/fesm2015/ptsecurity-mosaic-navbar.mjs.map +1 -0
  363. package/fesm2015/ptsecurity-mosaic-popover.mjs +393 -0
  364. package/fesm2015/ptsecurity-mosaic-popover.mjs.map +1 -0
  365. package/fesm2015/{ptsecurity-mosaic-progress-bar.js → ptsecurity-mosaic-progress-bar.mjs} +10 -18
  366. package/fesm2015/ptsecurity-mosaic-progress-bar.mjs.map +1 -0
  367. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs +80 -0
  368. package/fesm2015/ptsecurity-mosaic-progress-spinner.mjs.map +1 -0
  369. package/fesm2015/ptsecurity-mosaic-radio.mjs +481 -0
  370. package/fesm2015/ptsecurity-mosaic-radio.mjs.map +1 -0
  371. package/fesm2015/ptsecurity-mosaic-select.mjs +1175 -0
  372. package/fesm2015/ptsecurity-mosaic-select.mjs.map +1 -0
  373. package/fesm2015/{ptsecurity-mosaic-sidebar.js → ptsecurity-mosaic-sidebar.mjs} +16 -25
  374. package/fesm2015/ptsecurity-mosaic-sidebar.mjs.map +1 -0
  375. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs +592 -0
  376. package/fesm2015/ptsecurity-mosaic-sidepanel.mjs.map +1 -0
  377. package/fesm2015/ptsecurity-mosaic-splitter.mjs +524 -0
  378. package/fesm2015/ptsecurity-mosaic-splitter.mjs.map +1 -0
  379. package/fesm2015/{ptsecurity-mosaic-table.js → ptsecurity-mosaic-table.mjs} +8 -8
  380. package/fesm2015/ptsecurity-mosaic-table.mjs.map +1 -0
  381. package/fesm2015/ptsecurity-mosaic-tabs.mjs +1511 -0
  382. package/fesm2015/ptsecurity-mosaic-tabs.mjs.map +1 -0
  383. package/fesm2015/ptsecurity-mosaic-tags.mjs +1372 -0
  384. package/fesm2015/ptsecurity-mosaic-tags.mjs.map +1 -0
  385. package/fesm2015/ptsecurity-mosaic-textarea.mjs +293 -0
  386. package/fesm2015/ptsecurity-mosaic-textarea.mjs.map +1 -0
  387. package/fesm2015/ptsecurity-mosaic-timepicker.mjs +715 -0
  388. package/fesm2015/ptsecurity-mosaic-timepicker.mjs.map +1 -0
  389. package/fesm2015/{ptsecurity-mosaic-toggle.js → ptsecurity-mosaic-toggle.mjs} +12 -23
  390. package/fesm2015/ptsecurity-mosaic-toggle.mjs.map +1 -0
  391. package/fesm2015/ptsecurity-mosaic-tooltip.mjs +362 -0
  392. package/fesm2015/ptsecurity-mosaic-tooltip.mjs.map +1 -0
  393. package/fesm2015/ptsecurity-mosaic-tree-select.mjs +932 -0
  394. package/fesm2015/ptsecurity-mosaic-tree-select.mjs.map +1 -0
  395. package/fesm2015/ptsecurity-mosaic-tree.mjs +1707 -0
  396. package/fesm2015/ptsecurity-mosaic-tree.mjs.map +1 -0
  397. package/fesm2015/{ptsecurity-mosaic.js → ptsecurity-mosaic.mjs} +1 -1
  398. package/fesm2015/ptsecurity-mosaic.mjs.map +1 -0
  399. package/{fesm2015/ptsecurity-mosaic-autocomplete.js → fesm2020/ptsecurity-mosaic-autocomplete.mjs} +17 -26
  400. package/fesm2020/ptsecurity-mosaic-autocomplete.mjs.map +1 -0
  401. package/{fesm2015/ptsecurity-mosaic-button-toggle.js → fesm2020/ptsecurity-mosaic-button-toggle.mjs} +15 -23
  402. package/fesm2020/ptsecurity-mosaic-button-toggle.mjs.map +1 -0
  403. package/fesm2020/ptsecurity-mosaic-button.mjs +170 -0
  404. package/fesm2020/ptsecurity-mosaic-button.mjs.map +1 -0
  405. package/fesm2020/ptsecurity-mosaic-card.mjs +113 -0
  406. package/fesm2020/ptsecurity-mosaic-card.mjs.map +1 -0
  407. package/{fesm2015/ptsecurity-mosaic-checkbox.js → fesm2020/ptsecurity-mosaic-checkbox.mjs} +13 -23
  408. package/fesm2020/ptsecurity-mosaic-checkbox.mjs.map +1 -0
  409. package/fesm2020/ptsecurity-mosaic-core.mjs +2688 -0
  410. package/fesm2020/ptsecurity-mosaic-core.mjs.map +1 -0
  411. package/{fesm2015/ptsecurity-mosaic-datepicker.js → fesm2020/ptsecurity-mosaic-datepicker.mjs} +77 -121
  412. package/fesm2020/ptsecurity-mosaic-datepicker.mjs.map +1 -0
  413. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs +939 -0
  414. package/fesm2020/ptsecurity-mosaic-design-tokens.mjs.map +1 -0
  415. package/fesm2020/ptsecurity-mosaic-divider.mjs +61 -0
  416. package/fesm2020/ptsecurity-mosaic-divider.mjs.map +1 -0
  417. package/{fesm2015/ptsecurity-mosaic-dropdown.js → fesm2020/ptsecurity-mosaic-dropdown.mjs} +45 -53
  418. package/fesm2020/ptsecurity-mosaic-dropdown.mjs.map +1 -0
  419. package/fesm2020/ptsecurity-mosaic-form-field.mjs +377 -0
  420. package/fesm2020/ptsecurity-mosaic-form-field.mjs.map +1 -0
  421. package/fesm2020/ptsecurity-mosaic-icon.mjs +86 -0
  422. package/fesm2020/ptsecurity-mosaic-icon.mjs.map +1 -0
  423. package/{fesm2015/ptsecurity-mosaic-input.js → fesm2020/ptsecurity-mosaic-input.mjs} +41 -27
  424. package/fesm2020/ptsecurity-mosaic-input.mjs.map +1 -0
  425. package/fesm2020/ptsecurity-mosaic-link.mjs +136 -0
  426. package/fesm2020/ptsecurity-mosaic-link.mjs.map +1 -0
  427. package/{fesm2015/ptsecurity-mosaic-list.js → fesm2020/ptsecurity-mosaic-list.mjs} +41 -70
  428. package/fesm2020/ptsecurity-mosaic-list.mjs.map +1 -0
  429. package/{fesm2015/ptsecurity-mosaic-modal.js → fesm2020/ptsecurity-mosaic-modal.mjs} +63 -59
  430. package/fesm2020/ptsecurity-mosaic-modal.mjs.map +1 -0
  431. package/fesm2020/ptsecurity-mosaic-navbar.mjs +1009 -0
  432. package/fesm2020/ptsecurity-mosaic-navbar.mjs.map +1 -0
  433. package/fesm2020/ptsecurity-mosaic-popover.mjs +389 -0
  434. package/fesm2020/ptsecurity-mosaic-popover.mjs.map +1 -0
  435. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs +76 -0
  436. package/fesm2020/ptsecurity-mosaic-progress-bar.mjs.map +1 -0
  437. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs +80 -0
  438. package/fesm2020/ptsecurity-mosaic-progress-spinner.mjs.map +1 -0
  439. package/{fesm2015/ptsecurity-mosaic-radio.js → fesm2020/ptsecurity-mosaic-radio.mjs} +13 -22
  440. package/fesm2020/ptsecurity-mosaic-radio.mjs.map +1 -0
  441. package/{fesm2015/ptsecurity-mosaic-select.js → fesm2020/ptsecurity-mosaic-select.mjs} +23 -35
  442. package/fesm2020/ptsecurity-mosaic-select.mjs.map +1 -0
  443. package/fesm2020/ptsecurity-mosaic-sidebar.mjs +202 -0
  444. package/fesm2020/ptsecurity-mosaic-sidebar.mjs.map +1 -0
  445. package/{fesm2015/ptsecurity-mosaic-sidepanel.js → fesm2020/ptsecurity-mosaic-sidepanel.mjs} +57 -53
  446. package/fesm2020/ptsecurity-mosaic-sidepanel.mjs.map +1 -0
  447. package/fesm2020/ptsecurity-mosaic-splitter.mjs +524 -0
  448. package/fesm2020/ptsecurity-mosaic-splitter.mjs.map +1 -0
  449. package/fesm2020/ptsecurity-mosaic-table.mjs +50 -0
  450. package/fesm2020/ptsecurity-mosaic-table.mjs.map +1 -0
  451. package/{fesm2015/ptsecurity-mosaic-tabs.js → fesm2020/ptsecurity-mosaic-tabs.mjs} +65 -102
  452. package/fesm2020/ptsecurity-mosaic-tabs.mjs.map +1 -0
  453. package/{fesm2015/ptsecurity-mosaic-tags.js → fesm2020/ptsecurity-mosaic-tags.mjs} +29 -47
  454. package/fesm2020/ptsecurity-mosaic-tags.mjs.map +1 -0
  455. package/{fesm2015/ptsecurity-mosaic-textarea.js → fesm2020/ptsecurity-mosaic-textarea.mjs} +8 -8
  456. package/fesm2020/ptsecurity-mosaic-textarea.mjs.map +1 -0
  457. package/{fesm2015/ptsecurity-mosaic-timepicker.js → fesm2020/ptsecurity-mosaic-timepicker.mjs} +16 -15
  458. package/fesm2020/ptsecurity-mosaic-timepicker.mjs.map +1 -0
  459. package/fesm2020/ptsecurity-mosaic-toggle.mjs +180 -0
  460. package/fesm2020/ptsecurity-mosaic-toggle.mjs.map +1 -0
  461. package/fesm2020/ptsecurity-mosaic-tooltip.mjs +354 -0
  462. package/fesm2020/ptsecurity-mosaic-tooltip.mjs.map +1 -0
  463. package/{fesm2015/ptsecurity-mosaic-tree-select.js → fesm2020/ptsecurity-mosaic-tree-select.mjs} +16 -27
  464. package/fesm2020/ptsecurity-mosaic-tree-select.mjs.map +1 -0
  465. package/{fesm2015/ptsecurity-mosaic-tree.js → fesm2020/ptsecurity-mosaic-tree.mjs} +61 -108
  466. package/fesm2020/ptsecurity-mosaic-tree.mjs.map +1 -0
  467. package/fesm2020/ptsecurity-mosaic.mjs +4 -0
  468. package/fesm2020/ptsecurity-mosaic.mjs.map +1 -0
  469. package/form-field/README.md +0 -0
  470. package/form-field/cleaner.d.ts +2 -0
  471. package/form-field/package.json +5 -5
  472. package/icon/README.md +0 -0
  473. package/icon/package.json +5 -5
  474. package/input/input-number-validators.d.ts +2 -2
  475. package/input/package.json +5 -5
  476. package/link/README.md +0 -0
  477. package/link/package.json +5 -5
  478. package/list/README.md +0 -0
  479. package/list/package.json +5 -5
  480. package/modal/README.md +34 -0
  481. package/modal/modal.component.d.ts +2 -0
  482. package/modal/modal.module.d.ts +1 -1
  483. package/modal/package.json +5 -5
  484. package/navbar/README.md +41 -0
  485. package/navbar/navbar-item.component.d.ts +122 -34
  486. package/navbar/navbar.component.d.ts +37 -9
  487. package/navbar/navbar.module.d.ts +2 -1
  488. package/navbar/package.json +5 -5
  489. package/navbar/vertical-navbar.component.d.ts +15 -26
  490. package/package.json +299 -14
  491. package/popover/README.md +32 -0
  492. package/popover/package.json +5 -5
  493. package/popover/popover-confirm.component.d.ts +33 -0
  494. package/popover/popover.component.d.ts +14 -4
  495. package/popover/popover.module.d.ts +6 -3
  496. package/popover/public-api.d.ts +1 -0
  497. package/prebuilt-themes/dark-theme.css +1 -1
  498. package/prebuilt-themes/default-theme.css +1 -1
  499. package/prebuilt-visual/default-visual.css +1 -1
  500. package/progress-bar/README.md +0 -0
  501. package/progress-bar/package.json +5 -5
  502. package/progress-spinner/README.md +0 -0
  503. package/progress-spinner/package.json +5 -5
  504. package/radio/package.json +5 -5
  505. package/schematics/README.md +35 -0
  506. package/schematics/ng-update/data/index.d.ts +1 -0
  507. package/schematics/ng-update/data/index.js +10 -9
  508. package/schematics/ng-update/data/index.js.map +1 -1
  509. package/schematics/ng-update/data/symbol-removal.d.ts +2 -0
  510. package/schematics/ng-update/data/symbol-removal.js +5 -0
  511. package/schematics/ng-update/data/symbol-removal.js.map +1 -0
  512. package/schematics/ng-update/index.js +3 -3
  513. package/schematics/ng-update/index.js.map +1 -1
  514. package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js +1 -2
  515. package/schematics/ng-update/update-9.0.0/secondary-entry-points-migration.js.map +1 -1
  516. package/schematics/ng-update/upgrade-data.js +2 -1
  517. package/schematics/ng-update/upgrade-data.js.map +1 -1
  518. package/schematics/tsconfig.lib.json +2 -2
  519. package/select/README.md +0 -0
  520. package/select/package.json +5 -5
  521. package/select/select.component.d.ts +2 -7
  522. package/sidebar/package.json +5 -5
  523. package/sidepanel/package.json +5 -5
  524. package/sidepanel/sidepanel-directives.d.ts +2 -0
  525. package/sidepanel/sidepanel.module.d.ts +2 -1
  526. package/splitter/package.json +5 -5
  527. package/splitter/splitter.component.d.ts +46 -5
  528. package/splitter/splitter.module.d.ts +1 -1
  529. package/table/README.md +0 -0
  530. package/table/package.json +5 -5
  531. package/tabs/README.md +0 -0
  532. package/tabs/package.json +5 -5
  533. package/tags/README.md +0 -0
  534. package/tags/package.json +5 -5
  535. package/textarea/README.md +0 -0
  536. package/textarea/package.json +5 -5
  537. package/timepicker/README.md +0 -0
  538. package/timepicker/package.json +5 -5
  539. package/toggle/package.json +5 -5
  540. package/tooltip/package.json +5 -5
  541. package/tooltip/tooltip.component.d.ts +12 -3
  542. package/tree/package.json +5 -5
  543. package/tree/padding.directive.d.ts +1 -1
  544. package/tree/tree-option.component.d.ts +1 -1
  545. package/tree/tree-selection.component.d.ts +2 -2
  546. package/tree/tree.module.d.ts +1 -1
  547. package/tree-select/README.md +0 -0
  548. package/tree-select/package.json +5 -5
  549. package/tree-select/tree-select.component.d.ts +2 -7
  550. package/bundles/ptsecurity-mosaic-autocomplete.umd.js +0 -1162
  551. package/bundles/ptsecurity-mosaic-autocomplete.umd.js.map +0 -1
  552. package/bundles/ptsecurity-mosaic-button-toggle.umd.js +0 -757
  553. package/bundles/ptsecurity-mosaic-button-toggle.umd.js.map +0 -1
  554. package/bundles/ptsecurity-mosaic-button.umd.js +0 -535
  555. package/bundles/ptsecurity-mosaic-button.umd.js.map +0 -1
  556. package/bundles/ptsecurity-mosaic-card.umd.js +0 -481
  557. package/bundles/ptsecurity-mosaic-card.umd.js.map +0 -1
  558. package/bundles/ptsecurity-mosaic-checkbox.umd.js +0 -764
  559. package/bundles/ptsecurity-mosaic-checkbox.umd.js.map +0 -1
  560. package/bundles/ptsecurity-mosaic-core.umd.js +0 -2887
  561. package/bundles/ptsecurity-mosaic-core.umd.js.map +0 -1
  562. package/bundles/ptsecurity-mosaic-datepicker.umd.js +0 -3357
  563. package/bundles/ptsecurity-mosaic-datepicker.umd.js.map +0 -1
  564. package/bundles/ptsecurity-mosaic-design-tokens.umd.js +0 -1872
  565. package/bundles/ptsecurity-mosaic-design-tokens.umd.js.map +0 -1
  566. package/bundles/ptsecurity-mosaic-divider.umd.js +0 -108
  567. package/bundles/ptsecurity-mosaic-divider.umd.js.map +0 -1
  568. package/bundles/ptsecurity-mosaic-dropdown.umd.js +0 -1519
  569. package/bundles/ptsecurity-mosaic-dropdown.umd.js.map +0 -1
  570. package/bundles/ptsecurity-mosaic-form-field.umd.js +0 -789
  571. package/bundles/ptsecurity-mosaic-form-field.umd.js.map +0 -1
  572. package/bundles/ptsecurity-mosaic-icon.umd.js +0 -452
  573. package/bundles/ptsecurity-mosaic-icon.umd.js.map +0 -1
  574. package/bundles/ptsecurity-mosaic-input.umd.js +0 -996
  575. package/bundles/ptsecurity-mosaic-input.umd.js.map +0 -1
  576. package/bundles/ptsecurity-mosaic-link.umd.js +0 -517
  577. package/bundles/ptsecurity-mosaic-link.umd.js.map +0 -1
  578. package/bundles/ptsecurity-mosaic-list.umd.js +0 -1250
  579. package/bundles/ptsecurity-mosaic-list.umd.js.map +0 -1
  580. package/bundles/ptsecurity-mosaic-modal.umd.js +0 -1304
  581. package/bundles/ptsecurity-mosaic-modal.umd.js.map +0 -1
  582. package/bundles/ptsecurity-mosaic-navbar.umd.js +0 -932
  583. package/bundles/ptsecurity-mosaic-navbar.umd.js.map +0 -1
  584. package/bundles/ptsecurity-mosaic-popover.umd.js +0 -655
  585. package/bundles/ptsecurity-mosaic-popover.umd.js.map +0 -1
  586. package/bundles/ptsecurity-mosaic-progress-bar.umd.js +0 -442
  587. package/bundles/ptsecurity-mosaic-progress-bar.umd.js.map +0 -1
  588. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js +0 -450
  589. package/bundles/ptsecurity-mosaic-progress-spinner.umd.js.map +0 -1
  590. package/bundles/ptsecurity-mosaic-radio.umd.js +0 -903
  591. package/bundles/ptsecurity-mosaic-radio.umd.js.map +0 -1
  592. package/bundles/ptsecurity-mosaic-select.umd.js +0 -1608
  593. package/bundles/ptsecurity-mosaic-select.umd.js.map +0 -1
  594. package/bundles/ptsecurity-mosaic-sidebar.umd.js +0 -256
  595. package/bundles/ptsecurity-mosaic-sidebar.umd.js.map +0 -1
  596. package/bundles/ptsecurity-mosaic-sidepanel.umd.js +0 -950
  597. package/bundles/ptsecurity-mosaic-sidepanel.umd.js.map +0 -1
  598. package/bundles/ptsecurity-mosaic-splitter.umd.js +0 -438
  599. package/bundles/ptsecurity-mosaic-splitter.umd.js.map +0 -1
  600. package/bundles/ptsecurity-mosaic-table.umd.js +0 -83
  601. package/bundles/ptsecurity-mosaic-table.umd.js.map +0 -1
  602. package/bundles/ptsecurity-mosaic-tabs.umd.js +0 -2015
  603. package/bundles/ptsecurity-mosaic-tabs.umd.js.map +0 -1
  604. package/bundles/ptsecurity-mosaic-tags.umd.js +0 -1913
  605. package/bundles/ptsecurity-mosaic-tags.umd.js.map +0 -1
  606. package/bundles/ptsecurity-mosaic-textarea.umd.js +0 -666
  607. package/bundles/ptsecurity-mosaic-textarea.umd.js.map +0 -1
  608. package/bundles/ptsecurity-mosaic-timepicker.umd.js +0 -822
  609. package/bundles/ptsecurity-mosaic-timepicker.umd.js.map +0 -1
  610. package/bundles/ptsecurity-mosaic-toggle.umd.js +0 -559
  611. package/bundles/ptsecurity-mosaic-toggle.umd.js.map +0 -1
  612. package/bundles/ptsecurity-mosaic-tooltip.umd.js +0 -728
  613. package/bundles/ptsecurity-mosaic-tooltip.umd.js.map +0 -1
  614. package/bundles/ptsecurity-mosaic-tree-select.umd.js +0 -1370
  615. package/bundles/ptsecurity-mosaic-tree-select.umd.js.map +0 -1
  616. package/bundles/ptsecurity-mosaic-tree.umd.js +0 -2309
  617. package/bundles/ptsecurity-mosaic-tree.umd.js.map +0 -1
  618. package/bundles/ptsecurity-mosaic.umd.js +0 -11
  619. package/bundles/ptsecurity-mosaic.umd.js.map +0 -1
  620. package/esm2015/autocomplete/autocomplete.component.js +0 -163
  621. package/esm2015/button/button.component.js +0 -129
  622. package/esm2015/button/button.module.js +0 -42
  623. package/esm2015/button-toggle/button-toggle.component.js +0 -370
  624. package/esm2015/card/card.component.js +0 -88
  625. package/esm2015/checkbox/checkbox.js +0 -325
  626. package/esm2015/core/formatters/date/formatter.js +0 -287
  627. package/esm2015/core/formatters/date/templates/en-US.js +0 -280
  628. package/esm2015/core/formatters/date/templates/ru-RU.js +0 -280
  629. package/esm2015/core/formatters/number/formatter.js +0 -99
  630. package/esm2015/core/option/action.js +0 -131
  631. package/esm2015/core/option/optgroup.js +0 -40
  632. package/esm2015/core/option/option.js +0 -262
  633. package/esm2015/core/pop-up/pop-up-trigger.js +0 -273
  634. package/esm2015/core/pop-up/pop-up.js +0 -87
  635. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +0 -45
  636. package/esm2015/datepicker/calendar-body.component.js +0 -114
  637. package/esm2015/datepicker/calendar.component.js +0 -377
  638. package/esm2015/datepicker/datepicker-input.directive.js +0 -885
  639. package/esm2015/datepicker/datepicker-toggle.component.js +0 -94
  640. package/esm2015/datepicker/datepicker.component.js +0 -418
  641. package/esm2015/dropdown/dropdown-item.component.js +0 -142
  642. package/esm2015/dropdown/dropdown-trigger.directive.js +0 -478
  643. package/esm2015/dropdown/dropdown.component.js +0 -302
  644. package/esm2015/form-field/cleaner.js +0 -19
  645. package/esm2015/form-field/form-field.js +0 -224
  646. package/esm2015/icon/icon.component.js +0 -51
  647. package/esm2015/input/input-number-validators.js +0 -78
  648. package/esm2015/link/link.component.js +0 -108
  649. package/esm2015/list/list-selection.component.js +0 -708
  650. package/esm2015/list/list.component.js +0 -58
  651. package/esm2015/modal/modal.component.js +0 -506
  652. package/esm2015/modal/modal.module.js +0 -70
  653. package/esm2015/modal/modal.service.js +0 -117
  654. package/esm2015/navbar/navbar-item.component.js +0 -209
  655. package/esm2015/navbar/navbar.component.js +0 -118
  656. package/esm2015/navbar/navbar.module.js +0 -76
  657. package/esm2015/navbar/vertical-navbar.component.js +0 -140
  658. package/esm2015/popover/popover.component.js +0 -219
  659. package/esm2015/popover/popover.module.js +0 -21
  660. package/esm2015/progress-bar/progress-bar.component.js +0 -50
  661. package/esm2015/progress-spinner/progress-spinner.component.js +0 -54
  662. package/esm2015/radio/radio.component.js +0 -467
  663. package/esm2015/select/select.component.js +0 -1122
  664. package/esm2015/sidebar/sidebar.component.js +0 -155
  665. package/esm2015/sidepanel/sidepanel-container.component.js +0 -113
  666. package/esm2015/sidepanel/sidepanel-directives.js +0 -155
  667. package/esm2015/sidepanel/sidepanel.module.js +0 -70
  668. package/esm2015/sidepanel/sidepanel.service.js +0 -163
  669. package/esm2015/splitter/splitter.component.js +0 -331
  670. package/esm2015/splitter/splitter.module.js +0 -38
  671. package/esm2015/tabs/paginated-tab-header.js +0 -482
  672. package/esm2015/tabs/tab-body.component.js +0 -186
  673. package/esm2015/tabs/tab-group.component.js +0 -359
  674. package/esm2015/tabs/tab-header.component.js +0 -76
  675. package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +0 -118
  676. package/esm2015/tags/tag-list.component.js +0 -732
  677. package/esm2015/tags/tag.component.js +0 -382
  678. package/esm2015/timepicker/timepicker.directive.js +0 -652
  679. package/esm2015/toggle/toggle.component.js +0 -169
  680. package/esm2015/tooltip/tooltip.component.js +0 -260
  681. package/esm2015/tree/padding.directive.js +0 -114
  682. package/esm2015/tree/toggle.js +0 -89
  683. package/esm2015/tree/tree-option.component.js +0 -238
  684. package/esm2015/tree/tree-selection.component.js +0 -541
  685. package/esm2015/tree/tree.js +0 -23
  686. package/esm2015/tree/tree.module.js +0 -56
  687. package/esm2015/tree-select/tree-select.component.js +0 -900
  688. package/fesm2015/ptsecurity-mosaic-autocomplete.js.map +0 -1
  689. package/fesm2015/ptsecurity-mosaic-button-toggle.js.map +0 -1
  690. package/fesm2015/ptsecurity-mosaic-button.js +0 -174
  691. package/fesm2015/ptsecurity-mosaic-button.js.map +0 -1
  692. package/fesm2015/ptsecurity-mosaic-card.js.map +0 -1
  693. package/fesm2015/ptsecurity-mosaic-checkbox.js.map +0 -1
  694. package/fesm2015/ptsecurity-mosaic-core.js.map +0 -1
  695. package/fesm2015/ptsecurity-mosaic-datepicker.js.map +0 -1
  696. package/fesm2015/ptsecurity-mosaic-design-tokens.js.map +0 -1
  697. package/fesm2015/ptsecurity-mosaic-divider.js +0 -68
  698. package/fesm2015/ptsecurity-mosaic-divider.js.map +0 -1
  699. package/fesm2015/ptsecurity-mosaic-dropdown.js.map +0 -1
  700. package/fesm2015/ptsecurity-mosaic-form-field.js +0 -393
  701. package/fesm2015/ptsecurity-mosaic-form-field.js.map +0 -1
  702. package/fesm2015/ptsecurity-mosaic-icon.js +0 -93
  703. package/fesm2015/ptsecurity-mosaic-icon.js.map +0 -1
  704. package/fesm2015/ptsecurity-mosaic-input.js.map +0 -1
  705. package/fesm2015/ptsecurity-mosaic-link.js.map +0 -1
  706. package/fesm2015/ptsecurity-mosaic-list.js.map +0 -1
  707. package/fesm2015/ptsecurity-mosaic-modal.js.map +0 -1
  708. package/fesm2015/ptsecurity-mosaic-navbar.js +0 -539
  709. package/fesm2015/ptsecurity-mosaic-navbar.js.map +0 -1
  710. package/fesm2015/ptsecurity-mosaic-popover.js +0 -257
  711. package/fesm2015/ptsecurity-mosaic-popover.js.map +0 -1
  712. package/fesm2015/ptsecurity-mosaic-progress-bar.js.map +0 -1
  713. package/fesm2015/ptsecurity-mosaic-progress-spinner.js +0 -88
  714. package/fesm2015/ptsecurity-mosaic-progress-spinner.js.map +0 -1
  715. package/fesm2015/ptsecurity-mosaic-radio.js.map +0 -1
  716. package/fesm2015/ptsecurity-mosaic-select.js.map +0 -1
  717. package/fesm2015/ptsecurity-mosaic-sidebar.js.map +0 -1
  718. package/fesm2015/ptsecurity-mosaic-sidepanel.js.map +0 -1
  719. package/fesm2015/ptsecurity-mosaic-splitter.js +0 -373
  720. package/fesm2015/ptsecurity-mosaic-splitter.js.map +0 -1
  721. package/fesm2015/ptsecurity-mosaic-table.js.map +0 -1
  722. package/fesm2015/ptsecurity-mosaic-tabs.js.map +0 -1
  723. package/fesm2015/ptsecurity-mosaic-tags.js.map +0 -1
  724. package/fesm2015/ptsecurity-mosaic-textarea.js.map +0 -1
  725. package/fesm2015/ptsecurity-mosaic-timepicker.js.map +0 -1
  726. package/fesm2015/ptsecurity-mosaic-toggle.js.map +0 -1
  727. package/fesm2015/ptsecurity-mosaic-tooltip.js +0 -323
  728. package/fesm2015/ptsecurity-mosaic-tooltip.js.map +0 -1
  729. package/fesm2015/ptsecurity-mosaic-tree-select.js.map +0 -1
  730. package/fesm2015/ptsecurity-mosaic-tree.js.map +0 -1
  731. package/fesm2015/ptsecurity-mosaic.js.map +0 -1
@@ -1,1162 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/coercion'), require('@angular/core'), require('@ptsecurity/cdk/a11y'), require('@ptsecurity/mosaic/core'), require('@angular/common'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('@angular/forms'), require('@ptsecurity/cdk/keycodes'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/bidi'), require('@ptsecurity/mosaic/form-field'), require('@angular/cdk/scrolling')) :
3
- typeof define === 'function' && define.amd ? define('@ptsecurity/mosaic/autocomplete', ['exports', '@angular/cdk/coercion', '@angular/core', '@ptsecurity/cdk/a11y', '@ptsecurity/mosaic/core', '@angular/common', '@angular/cdk/overlay', '@angular/cdk/portal', '@angular/forms', '@ptsecurity/cdk/keycodes', 'rxjs', 'rxjs/operators', '@angular/cdk/bidi', '@ptsecurity/mosaic/form-field', '@angular/cdk/scrolling'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ptsecurity = global.ptsecurity || {}, global.ptsecurity.mosaic = global.ptsecurity.mosaic || {}, global.ptsecurity.mosaic.autocomplete = {}), global.ng.cdk.coercion, global.ng.core, global.mc.cdk.a11y, global.ptsecurity.mosaic.core, global.ng.common, global.ng.cdk.overlay, global.ng.cdk.portal, global.ng.forms, global.mc.cdk.keycodes, global.rxjs, global.rxjs.operators, global.ng.cdk.bidi, global.ptsecurity.mosaic['form-field'], global.ng.cdk.scrolling));
5
- }(this, (function (exports, coercion, i0, a11y, core, i1, i1$1, portal, forms, keycodes, rxjs, operators, i2, i3, i4) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () {
17
- return e[k];
18
- }
19
- });
20
- }
21
- });
22
- }
23
- n['default'] = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
- var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
30
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
32
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
33
-
34
- /**
35
- * Autocomplete IDs need to be unique across components, so this counter exists outside of
36
- * the component definition.
37
- */
38
- var uniqueAutocompleteIdCounter = 0;
39
- var McAutocompleteSelectedEvent = /** @class */ (function () {
40
- function McAutocompleteSelectedEvent(source, option) {
41
- this.source = source;
42
- this.option = option;
43
- }
44
- return McAutocompleteSelectedEvent;
45
- }());
46
- /** Injection token to be used to override the default options for `mc-autocomplete`. */
47
- var MC_AUTOCOMPLETE_DEFAULT_OPTIONS = new i0.InjectionToken('mc-autocomplete-default-options', {
48
- providedIn: 'root',
49
- factory: MC_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY
50
- });
51
- // tslint:disable-next-line naming-convention
52
- function MC_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY() {
53
- return { autoActiveFirstOption: true };
54
- }
55
- var McAutocomplete = /** @class */ (function () {
56
- function McAutocomplete(changeDetectorRef, elementRef, defaults) {
57
- this.changeDetectorRef = changeDetectorRef;
58
- this.elementRef = elementRef;
59
- /** Unique ID to be used by autocomplete trigger's "aria-owns" property. */
60
- this.id = "mc-autocomplete-" + uniqueAutocompleteIdCounter++;
61
- /** Whether the autocomplete panel should be visible, depending on option length. */
62
- this.showPanel = false;
63
- /** Function that maps an option's control value to its display value in the trigger. */
64
- this.displayWith = null;
65
- /** Event that is emitted whenever an option from the list is selected. */
66
- this.optionSelected = new i0.EventEmitter();
67
- /** Event that is emitted when the autocomplete panel is opened. */
68
- this.opened = new i0.EventEmitter();
69
- /** Event that is emitted when the autocomplete panel is closed. */
70
- this.closed = new i0.EventEmitter();
71
- this._classList = {};
72
- this._isOpen = false;
73
- this._openOnFocus = true;
74
- this._autoActiveFirstOption = !!defaults.autoActiveFirstOption;
75
- }
76
- Object.defineProperty(McAutocomplete.prototype, "classList", {
77
- /**
78
- * Takes classes set on the host mc-autocomplete element and applies them to the panel
79
- * inside the overlay container to allow for easy styling.
80
- */
81
- get: function () {
82
- return this._classList;
83
- },
84
- set: function (value) {
85
- var _this = this;
86
- if (value && value.length) {
87
- value.split(' ')
88
- .forEach(function (className) { return _this._classList[className.trim()] = true; });
89
- this.elementRef.nativeElement.className = '';
90
- }
91
- },
92
- enumerable: false,
93
- configurable: true
94
- });
95
- Object.defineProperty(McAutocomplete.prototype, "autoActiveFirstOption", {
96
- /**
97
- * Whether the first option should be highlighted when the autocomplete panel is opened.
98
- * Can be configured globally through the `MC_AUTOCOMPLETE_DEFAULT_OPTIONS` token.
99
- */
100
- get: function () {
101
- return this._autoActiveFirstOption;
102
- },
103
- set: function (value) {
104
- this._autoActiveFirstOption = coercion.coerceBooleanProperty(value);
105
- },
106
- enumerable: false,
107
- configurable: true
108
- });
109
- Object.defineProperty(McAutocomplete.prototype, "isOpen", {
110
- get: function () {
111
- return this._isOpen && this.showPanel;
112
- },
113
- set: function (value) {
114
- this._isOpen = value;
115
- },
116
- enumerable: false,
117
- configurable: true
118
- });
119
- Object.defineProperty(McAutocomplete.prototype, "openOnFocus", {
120
- get: function () {
121
- return this._openOnFocus;
122
- },
123
- set: function (value) {
124
- this._openOnFocus = value;
125
- },
126
- enumerable: false,
127
- configurable: true
128
- });
129
- McAutocomplete.prototype.ngAfterContentInit = function () {
130
- this.keyManager = new a11y.ActiveDescendantKeyManager(this.options);
131
- this.setVisibility();
132
- };
133
- McAutocomplete.prototype.setScrollTop = function (scrollTop) {
134
- if (this.panel) {
135
- this.panel.nativeElement.scrollTop = scrollTop;
136
- }
137
- };
138
- McAutocomplete.prototype.getScrollTop = function () {
139
- return this.panel ? this.panel.nativeElement.scrollTop : 0;
140
- };
141
- McAutocomplete.prototype.setVisibility = function () {
142
- this.showPanel = !!this.options.length;
143
- this._classList['mc-autocomplete_visible'] = this.showPanel;
144
- this._classList['mc-autocomplete_hidden'] = !this.showPanel;
145
- this.changeDetectorRef.markForCheck();
146
- };
147
- McAutocomplete.prototype.emitSelectEvent = function (option) {
148
- var event = new McAutocompleteSelectedEvent(this, option);
149
- this.optionSelected.emit(event);
150
- };
151
- McAutocomplete.prototype.onKeydown = function (event) {
152
- this.keyManager.onKeydown(event);
153
- };
154
- return McAutocomplete;
155
- }());
156
- /** @nocollapse */ McAutocomplete.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocomplete, deps: [{ token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.ElementRef }, { token: MC_AUTOCOMPLETE_DEFAULT_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
157
- /** @nocollapse */ McAutocomplete.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.5", type: McAutocomplete, selector: "mc-autocomplete", inputs: { displayWith: "displayWith", panelWidth: "panelWidth", classList: ["class", "classList"], autoActiveFirstOption: "autoActiveFirstOption", openOnFocus: "openOnFocus" }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed" }, host: { classAttribute: "mc-autocomplete" }, providers: [{
158
- provide: core.MC_OPTION_PARENT_COMPONENT, useExisting: McAutocomplete
159
- }], queries: [{ propertyName: "options", predicate: core.McOption, descendants: true }, { propertyName: "optionGroups", predicate: core.McOptgroup }], viewQueries: [{ propertyName: "template", first: true, predicate: i0.TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["mcAutocomplete"], ngImport: i0__namespace, template: "<ng-template>\n <div class=\"mc-autocomplete-panel\" role=\"listbox\" [id]=\"id\" [ngClass]=\"classList\" #panel>\n <ng-content></ng-content>\n </div>\n</ng-template>\n", styles: [".mc-autocomplete-trigger{text-overflow:ellipsis}.mc-autocomplete-panel{visibility:hidden;position:relative;overflow:auto;-webkit-overflow-scrolling:touch;margin-top:-1px;min-width:100%;width:100%;max-width:none;max-height:256px;max-height:var(--mc-autocomplete-size-panel-max-height, 256px);border-width:1px;border-style:solid;border-bottom-left-radius:3px;border-bottom-left-radius:var(--mc-autocomplete-size-panel-border-radius, 3px);border-bottom-right-radius:3px;border-bottom-right-radius:var(--mc-autocomplete-size-panel-border-radius, 3px);padding:4px 0;padding:var(--mc-autocomplete-size-panel-padding, 4px 0)}.mc-autocomplete-panel.mc-autocomplete_visible{visibility:visible}.mc-autocomplete-panel.mc-autocomplete_hidden{visibility:hidden}.mc-autocomplete-panel-above .mc-autocomplete-panel{border-radius:3px 3px 0 0;border-radius:var(--mc-autocomplete-size-panel-border-radius, 3px) var(--mc-autocomplete-size-panel-border-radius, 3px) 0 0}.mc-autocomplete-panel .mc-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mc-autocomplete-panel{outline:solid 1px}.cdk-high-contrast-active :host .mc-autocomplete-panel{outline:solid 1px}\n"], directives: [{ type: i1__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
160
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocomplete, decorators: [{
161
- type: i0.Component,
162
- args: [{
163
- selector: 'mc-autocomplete',
164
- exportAs: 'mcAutocomplete',
165
- templateUrl: 'autocomplete.html',
166
- styleUrls: ['autocomplete.scss'],
167
- host: {
168
- class: 'mc-autocomplete'
169
- },
170
- encapsulation: i0.ViewEncapsulation.None,
171
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
172
- providers: [{
173
- provide: core.MC_OPTION_PARENT_COMPONENT, useExisting: McAutocomplete
174
- }]
175
- }]
176
- }], ctorParameters: function () {
177
- return [{ type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.ElementRef }, { type: undefined, decorators: [{
178
- type: i0.Inject,
179
- args: [MC_AUTOCOMPLETE_DEFAULT_OPTIONS]
180
- }] }];
181
- }, propDecorators: { template: [{
182
- type: i0.ViewChild,
183
- args: [i0.TemplateRef, { static: true }]
184
- }], panel: [{
185
- type: i0.ViewChild,
186
- args: ['panel', { static: false }]
187
- }], options: [{
188
- type: i0.ContentChildren,
189
- args: [core.McOption, { descendants: true }]
190
- }], optionGroups: [{
191
- type: i0.ContentChildren,
192
- args: [core.McOptgroup]
193
- }], displayWith: [{
194
- type: i0.Input
195
- }], panelWidth: [{
196
- type: i0.Input
197
- }], optionSelected: [{
198
- type: i0.Output
199
- }], opened: [{
200
- type: i0.Output
201
- }], closed: [{
202
- type: i0.Output
203
- }], classList: [{
204
- type: i0.Input,
205
- args: ['class']
206
- }], autoActiveFirstOption: [{
207
- type: i0.Input
208
- }], openOnFocus: [{
209
- type: i0.Input
210
- }] } });
211
-
212
- /**
213
- * Directive applied to an element to make it usable
214
- * as a connection point for an autocomplete panel.
215
- */
216
- var McAutocompleteOrigin = /** @class */ (function () {
217
- function McAutocompleteOrigin(elementRef) {
218
- this.elementRef = elementRef;
219
- }
220
- return McAutocompleteOrigin;
221
- }());
222
- /** @nocollapse */ McAutocompleteOrigin.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocompleteOrigin, deps: [{ token: i0__namespace.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
223
- /** @nocollapse */ McAutocompleteOrigin.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: McAutocompleteOrigin, selector: "[mcAutocompleteOrigin]", exportAs: ["mcAutocompleteOrigin"], ngImport: i0__namespace });
224
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocompleteOrigin, decorators: [{
225
- type: i0.Directive,
226
- args: [{
227
- selector: '[mcAutocompleteOrigin]',
228
- exportAs: 'mcAutocompleteOrigin'
229
- }]
230
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; } });
231
-
232
- /*! *****************************************************************************
233
- Copyright (c) Microsoft Corporation.
234
-
235
- Permission to use, copy, modify, and/or distribute this software for any
236
- purpose with or without fee is hereby granted.
237
-
238
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
239
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
240
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
241
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
242
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
243
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
244
- PERFORMANCE OF THIS SOFTWARE.
245
- ***************************************************************************** */
246
- /* global Reflect, Promise */
247
- var extendStatics = function (d, b) {
248
- extendStatics = Object.setPrototypeOf ||
249
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
250
- function (d, b) { for (var p in b)
251
- if (Object.prototype.hasOwnProperty.call(b, p))
252
- d[p] = b[p]; };
253
- return extendStatics(d, b);
254
- };
255
- function __extends(d, b) {
256
- if (typeof b !== "function" && b !== null)
257
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
258
- extendStatics(d, b);
259
- function __() { this.constructor = d; }
260
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
261
- }
262
- var __assign = function () {
263
- __assign = Object.assign || function __assign(t) {
264
- for (var s, i = 1, n = arguments.length; i < n; i++) {
265
- s = arguments[i];
266
- for (var p in s)
267
- if (Object.prototype.hasOwnProperty.call(s, p))
268
- t[p] = s[p];
269
- }
270
- return t;
271
- };
272
- return __assign.apply(this, arguments);
273
- };
274
- function __rest(s, e) {
275
- var t = {};
276
- for (var p in s)
277
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
278
- t[p] = s[p];
279
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
280
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
281
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
282
- t[p[i]] = s[p[i]];
283
- }
284
- return t;
285
- }
286
- function __decorate(decorators, target, key, desc) {
287
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
288
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
289
- r = Reflect.decorate(decorators, target, key, desc);
290
- else
291
- for (var i = decorators.length - 1; i >= 0; i--)
292
- if (d = decorators[i])
293
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
294
- return c > 3 && r && Object.defineProperty(target, key, r), r;
295
- }
296
- function __param(paramIndex, decorator) {
297
- return function (target, key) { decorator(target, key, paramIndex); };
298
- }
299
- function __metadata(metadataKey, metadataValue) {
300
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
301
- return Reflect.metadata(metadataKey, metadataValue);
302
- }
303
- function __awaiter(thisArg, _arguments, P, generator) {
304
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
305
- return new (P || (P = Promise))(function (resolve, reject) {
306
- function fulfilled(value) { try {
307
- step(generator.next(value));
308
- }
309
- catch (e) {
310
- reject(e);
311
- } }
312
- function rejected(value) { try {
313
- step(generator["throw"](value));
314
- }
315
- catch (e) {
316
- reject(e);
317
- } }
318
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
319
- step((generator = generator.apply(thisArg, _arguments || [])).next());
320
- });
321
- }
322
- function __generator(thisArg, body) {
323
- var _ = { label: 0, sent: function () { if (t[0] & 1)
324
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
325
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
326
- function verb(n) { return function (v) { return step([n, v]); }; }
327
- function step(op) {
328
- if (f)
329
- throw new TypeError("Generator is already executing.");
330
- while (_)
331
- try {
332
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
333
- return t;
334
- if (y = 0, t)
335
- op = [op[0] & 2, t.value];
336
- switch (op[0]) {
337
- case 0:
338
- case 1:
339
- t = op;
340
- break;
341
- case 4:
342
- _.label++;
343
- return { value: op[1], done: false };
344
- case 5:
345
- _.label++;
346
- y = op[1];
347
- op = [0];
348
- continue;
349
- case 7:
350
- op = _.ops.pop();
351
- _.trys.pop();
352
- continue;
353
- default:
354
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
355
- _ = 0;
356
- continue;
357
- }
358
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
359
- _.label = op[1];
360
- break;
361
- }
362
- if (op[0] === 6 && _.label < t[1]) {
363
- _.label = t[1];
364
- t = op;
365
- break;
366
- }
367
- if (t && _.label < t[2]) {
368
- _.label = t[2];
369
- _.ops.push(op);
370
- break;
371
- }
372
- if (t[2])
373
- _.ops.pop();
374
- _.trys.pop();
375
- continue;
376
- }
377
- op = body.call(thisArg, _);
378
- }
379
- catch (e) {
380
- op = [6, e];
381
- y = 0;
382
- }
383
- finally {
384
- f = t = 0;
385
- }
386
- if (op[0] & 5)
387
- throw op[1];
388
- return { value: op[0] ? op[1] : void 0, done: true };
389
- }
390
- }
391
- var __createBinding = Object.create ? (function (o, m, k, k2) {
392
- if (k2 === undefined)
393
- k2 = k;
394
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
395
- }) : (function (o, m, k, k2) {
396
- if (k2 === undefined)
397
- k2 = k;
398
- o[k2] = m[k];
399
- });
400
- function __exportStar(m, o) {
401
- for (var p in m)
402
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
403
- __createBinding(o, m, p);
404
- }
405
- function __values(o) {
406
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
407
- if (m)
408
- return m.call(o);
409
- if (o && typeof o.length === "number")
410
- return {
411
- next: function () {
412
- if (o && i >= o.length)
413
- o = void 0;
414
- return { value: o && o[i++], done: !o };
415
- }
416
- };
417
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
418
- }
419
- function __read(o, n) {
420
- var m = typeof Symbol === "function" && o[Symbol.iterator];
421
- if (!m)
422
- return o;
423
- var i = m.call(o), r, ar = [], e;
424
- try {
425
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
426
- ar.push(r.value);
427
- }
428
- catch (error) {
429
- e = { error: error };
430
- }
431
- finally {
432
- try {
433
- if (r && !r.done && (m = i["return"]))
434
- m.call(i);
435
- }
436
- finally {
437
- if (e)
438
- throw e.error;
439
- }
440
- }
441
- return ar;
442
- }
443
- /** @deprecated */
444
- function __spread() {
445
- for (var ar = [], i = 0; i < arguments.length; i++)
446
- ar = ar.concat(__read(arguments[i]));
447
- return ar;
448
- }
449
- /** @deprecated */
450
- function __spreadArrays() {
451
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
452
- s += arguments[i].length;
453
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
454
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
455
- r[k] = a[j];
456
- return r;
457
- }
458
- function __spreadArray(to, from, pack) {
459
- if (pack || arguments.length === 2)
460
- for (var i = 0, l = from.length, ar; i < l; i++) {
461
- if (ar || !(i in from)) {
462
- if (!ar)
463
- ar = Array.prototype.slice.call(from, 0, i);
464
- ar[i] = from[i];
465
- }
466
- }
467
- return to.concat(ar || Array.prototype.slice.call(from));
468
- }
469
- function __await(v) {
470
- return this instanceof __await ? (this.v = v, this) : new __await(v);
471
- }
472
- function __asyncGenerator(thisArg, _arguments, generator) {
473
- if (!Symbol.asyncIterator)
474
- throw new TypeError("Symbol.asyncIterator is not defined.");
475
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
476
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
477
- function verb(n) { if (g[n])
478
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
479
- function resume(n, v) { try {
480
- step(g[n](v));
481
- }
482
- catch (e) {
483
- settle(q[0][3], e);
484
- } }
485
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
486
- function fulfill(value) { resume("next", value); }
487
- function reject(value) { resume("throw", value); }
488
- function settle(f, v) { if (f(v), q.shift(), q.length)
489
- resume(q[0][0], q[0][1]); }
490
- }
491
- function __asyncDelegator(o) {
492
- var i, p;
493
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
494
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
495
- }
496
- function __asyncValues(o) {
497
- if (!Symbol.asyncIterator)
498
- throw new TypeError("Symbol.asyncIterator is not defined.");
499
- var m = o[Symbol.asyncIterator], i;
500
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
501
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
502
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
503
- }
504
- function __makeTemplateObject(cooked, raw) {
505
- if (Object.defineProperty) {
506
- Object.defineProperty(cooked, "raw", { value: raw });
507
- }
508
- else {
509
- cooked.raw = raw;
510
- }
511
- return cooked;
512
- }
513
- ;
514
- var __setModuleDefault = Object.create ? (function (o, v) {
515
- Object.defineProperty(o, "default", { enumerable: true, value: v });
516
- }) : function (o, v) {
517
- o["default"] = v;
518
- };
519
- function __importStar(mod) {
520
- if (mod && mod.__esModule)
521
- return mod;
522
- var result = {};
523
- if (mod != null)
524
- for (var k in mod)
525
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
526
- __createBinding(result, mod, k);
527
- __setModuleDefault(result, mod);
528
- return result;
529
- }
530
- function __importDefault(mod) {
531
- return (mod && mod.__esModule) ? mod : { default: mod };
532
- }
533
- function __classPrivateFieldGet(receiver, state, kind, f) {
534
- if (kind === "a" && !f)
535
- throw new TypeError("Private accessor was defined without a getter");
536
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
537
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
538
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
539
- }
540
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
541
- if (kind === "m")
542
- throw new TypeError("Private method is not writable");
543
- if (kind === "a" && !f)
544
- throw new TypeError("Private accessor was defined without a setter");
545
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
546
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
547
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
548
- }
549
-
550
- /**
551
- * The following style constants are necessary to save here in order
552
- * to properly calculate the scrollTop of the panel. Because we are not
553
- * actually focusing the active item, scroll must be handled manually.
554
- */
555
- /** The height of each autocomplete option. */
556
- var AUTOCOMPLETE_OPTION_HEIGHT = 32;
557
- /** The total height of the autocomplete panel. */
558
- var AUTOCOMPLETE_PANEL_HEIGHT = 256;
559
- var AUTOCOMPLETE_BORDER_WIDTH = 2;
560
- /** Injection token that determines the scroll handling while the autocomplete panel is open. */
561
- var MC_AUTOCOMPLETE_SCROLL_STRATEGY = new i0.InjectionToken('mc-autocomplete-scroll-strategy');
562
- // tslint:disable-next-line naming-convention
563
- function MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY(overlay) {
564
- return function () { return overlay.scrollStrategies.reposition(); };
565
- }
566
- var MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER = {
567
- provide: MC_AUTOCOMPLETE_SCROLL_STRATEGY,
568
- deps: [i1$1.Overlay],
569
- useFactory: MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY
570
- };
571
- /**
572
- * Provider that allows the autocomplete to register as a ControlValueAccessor.
573
- * @docs-private
574
- */
575
- var MAT_AUTOCOMPLETE_VALUE_ACCESSOR = {
576
- provide: forms.NG_VALUE_ACCESSOR,
577
- useExisting: i0.forwardRef(function () { return McAutocompleteTrigger; }),
578
- multi: true
579
- };
580
- /**
581
- * Creates an error to be thrown when attempting to use an autocomplete trigger without a panel.
582
- * @docs-private
583
- */
584
- function getMcAutocompleteMissingPanelError() {
585
- return Error('Attempting to open an undefined instance of `mc-autocomplete`. ' +
586
- 'Make sure that the id passed to the `mcAutocomplete` is correct and that ' +
587
- 'you\'re attempting to open it after the ngAfterContentInit hook.');
588
- }
589
- var McAutocompleteTrigger = /** @class */ (function () {
590
- function McAutocompleteTrigger(elementRef, viewContainerRef, changeDetectorRef, overlay, zone, scrollStrategy, dir, formField, document,
591
- // @breaking-change 8.0.0 Make `_viewportRuler` required.
592
- viewportRuler) {
593
- var _this = this;
594
- this.elementRef = elementRef;
595
- this.viewContainerRef = viewContainerRef;
596
- this.changeDetectorRef = changeDetectorRef;
597
- this.overlay = overlay;
598
- this.zone = zone;
599
- this.dir = dir;
600
- this.formField = formField;
601
- this.document = document;
602
- this.viewportRuler = viewportRuler;
603
- // @ts-ignore
604
- this.optionSelections = rxjs.defer(function () {
605
- if (_this.autocomplete && _this.autocomplete.options) {
606
- return rxjs.merge.apply(void 0, __spreadArray([], __read(_this.autocomplete.options.map(function (option) { return option.onSelectionChange; }))));
607
- }
608
- // If there are any subscribers before `ngAfterViewInit`, the `autocomplete` will be undefined.
609
- // Return a stream that we'll replace with the real one once everything is in place.
610
- return _this.zone.onStable
611
- .asObservable()
612
- .pipe(operators.take(1), operators.switchMap(function () { return _this.optionSelections; }));
613
- });
614
- /**
615
- * `autocomplete` attribute to be set on the input element.
616
- * @docs-private
617
- */
618
- this.autocompleteAttribute = 'off';
619
- this._autocompleteDisabled = false;
620
- this.overlayAttached = false;
621
- this.componentDestroyed = false;
622
- /** Subscription to viewport size changes. */
623
- this.viewportSubscription = rxjs.Subscription.EMPTY;
624
- /**
625
- * Whether the autocomplete can open the next time it is focused. Used to prevent a focused,
626
- * closed autocomplete from being reopened if the user switches to another browser tab and then
627
- * comes back.
628
- */
629
- this.canOpenOnNextFocus = true;
630
- /** Stream of keyboard events that can close the panel. */
631
- this.closeKeyEventStream = new rxjs.Subject();
632
- /** `View -> model callback called when value changes` */
633
- // tslint:disable-next-line no-empty
634
- this.onChange = function () { };
635
- /** `View -> model callback called when autocomplete has been touched` */
636
- // tslint:disable-next-line no-empty
637
- this.onTouched = function () { };
638
- /**
639
- * Event handler for when the window is blurred. Needs to be an
640
- * arrow function in order to preserve the context.
641
- */
642
- this.windowBlurHandler = function () {
643
- // If the user blurred the window while the autocomplete is focused, it means that it'll be
644
- // refocused when they come back. In this case we want to skip the first focus event, if the
645
- // pane was closed, in order to avoid reopening it unintentionally.
646
- _this.canOpenOnNextFocus = _this.document.activeElement !== _this.elementRef.nativeElement || _this.panelOpen;
647
- };
648
- // tslint:disable-next-line no-typeof-undefined
649
- if (typeof window !== 'undefined') {
650
- zone.runOutsideAngular(function () {
651
- window.addEventListener('blur', _this.windowBlurHandler);
652
- });
653
- }
654
- this.scrollStrategy = scrollStrategy;
655
- }
656
- Object.defineProperty(McAutocompleteTrigger.prototype, "activeOption", {
657
- /** The currently active option, coerced to MatOption type. */
658
- get: function () {
659
- if (this.autocomplete && this.autocomplete.keyManager) {
660
- return this.autocomplete.keyManager.activeItem;
661
- }
662
- return null;
663
- },
664
- enumerable: false,
665
- configurable: true
666
- });
667
- Object.defineProperty(McAutocompleteTrigger.prototype, "panelOpen", {
668
- get: function () {
669
- return this.overlayAttached && this.autocomplete.showPanel;
670
- },
671
- enumerable: false,
672
- configurable: true
673
- });
674
- Object.defineProperty(McAutocompleteTrigger.prototype, "autocompleteDisabled", {
675
- /**
676
- * Whether the autocomplete is disabled. When disabled, the element will
677
- * act as a regular input and the user won't be able to open the panel.
678
- */
679
- get: function () {
680
- return this._autocompleteDisabled;
681
- },
682
- set: function (value) {
683
- this._autocompleteDisabled = coercion.coerceBooleanProperty(value);
684
- },
685
- enumerable: false,
686
- configurable: true
687
- });
688
- McAutocompleteTrigger.prototype.ngOnDestroy = function () {
689
- // tslint:disable-next-line no-typeof-undefined
690
- if (typeof window !== 'undefined') {
691
- window.removeEventListener('blur', this.windowBlurHandler);
692
- }
693
- this.viewportSubscription.unsubscribe();
694
- this.componentDestroyed = true;
695
- this.destroyPanel();
696
- this.closeKeyEventStream.complete();
697
- };
698
- /** Opens the autocomplete suggestion panel. */
699
- McAutocompleteTrigger.prototype.openPanel = function () {
700
- this.attachOverlay();
701
- };
702
- McAutocompleteTrigger.prototype.closePanel = function () {
703
- if (!this.overlayAttached) {
704
- return;
705
- }
706
- if (this.panelOpen) {
707
- this.autocomplete.closed.emit();
708
- }
709
- this.autocomplete.isOpen = this.overlayAttached = false;
710
- if (this.overlayRef && this.overlayRef.hasAttached()) {
711
- this.overlayRef.detach();
712
- this.closingActionsSubscription.unsubscribe();
713
- }
714
- // Note that in some cases this can end up being called after the component is destroyed.
715
- // Add a check to ensure that we don't try to run change detection on a destroyed view.
716
- if (!this.componentDestroyed) {
717
- // We need to trigger change detection manually, because
718
- // `fromEvent` doesn't seem to do it at the proper time.
719
- // This ensures that the label is reset when the
720
- // user clicks outside.
721
- this.changeDetectorRef.detectChanges();
722
- }
723
- };
724
- /**
725
- * Updates the position of the autocomplete suggestion panel to ensure that it fits all options
726
- * within the viewport.
727
- */
728
- McAutocompleteTrigger.prototype.updatePosition = function () {
729
- if (this.overlayAttached) {
730
- this.overlayRef.updatePosition();
731
- }
732
- };
733
- Object.defineProperty(McAutocompleteTrigger.prototype, "panelClosingActions", {
734
- /**
735
- * A stream of actions that should close the autocomplete panel, including
736
- * when an option is selected, on blur, and when TAB is pressed.
737
- */
738
- get: function () {
739
- var _this = this;
740
- return rxjs.merge(this.optionSelections, this.autocomplete.keyManager.tabOut.pipe(operators.filter(function () { return _this.overlayAttached; })), this.closeKeyEventStream, this.getOutsideClickStream(), this.overlayRef ?
741
- this.overlayRef.detachments().pipe(operators.filter(function () { return _this.overlayAttached; })) :
742
- rxjs.of()).pipe(
743
- // Normalize the output so we return a consistent type.
744
- operators.map(function (event) { return event instanceof core.McOptionSelectionChange ? event : null; }));
745
- },
746
- enumerable: false,
747
- configurable: true
748
- });
749
- // Implemented as part of ControlValueAccessor.
750
- McAutocompleteTrigger.prototype.writeValue = function (value) {
751
- var _this = this;
752
- Promise.resolve(null).then(function () { return _this.setTriggerValue(value); });
753
- };
754
- // Implemented as part of ControlValueAccessor.
755
- McAutocompleteTrigger.prototype.registerOnChange = function (fn) {
756
- this.onChange = fn;
757
- };
758
- // Implemented as part of ControlValueAccessor.
759
- McAutocompleteTrigger.prototype.registerOnTouched = function (fn) {
760
- this.onTouched = fn;
761
- };
762
- // Implemented as part of ControlValueAccessor.
763
- McAutocompleteTrigger.prototype.setDisabledState = function (isDisabled) {
764
- this.elementRef.nativeElement.disabled = isDisabled;
765
- };
766
- McAutocompleteTrigger.prototype.handleKeydown = function (event) {
767
- // tslint:disable-next-line deprecation
768
- var keyCode = event.keyCode;
769
- // Prevent the default action on all escape key presses. This is here primarily to bring IE
770
- // in line with other browsers. By default, pressing escape on IE will cause it to revert
771
- // the input value to the one that it had on focus, however it won't dispatch any events
772
- // which means that the model value will be out of sync with the view.
773
- if (keyCode === keycodes.ESCAPE) {
774
- event.preventDefault();
775
- }
776
- if (this.activeOption && keyCode === keycodes.ENTER && this.panelOpen) {
777
- this.activeOption.selectViaInteraction();
778
- this.resetActiveItem();
779
- event.preventDefault();
780
- }
781
- else if (this.autocomplete) {
782
- var prevActiveItem = this.autocomplete.keyManager.activeItem;
783
- if (this.panelOpen || keyCode === keycodes.TAB) {
784
- this.autocomplete.onKeydown(event);
785
- }
786
- else if (keyCode === keycodes.DOWN_ARROW && this.canOpen()) {
787
- this.openPanel();
788
- }
789
- var isArrowKey = keyCode === keycodes.UP_ARROW || keyCode === keycodes.DOWN_ARROW;
790
- if (isArrowKey || this.autocomplete.keyManager.activeItem !== prevActiveItem) {
791
- this.scrollToOption();
792
- }
793
- }
794
- };
795
- McAutocompleteTrigger.prototype.handleInput = function (event) {
796
- var target = event.target;
797
- var value = target.value;
798
- // Based on `NumberValueAccessor` from forms.
799
- if (target.type === 'number') {
800
- value = value === '' ? null : parseFloat(value);
801
- }
802
- // If the input has a placeholder, IE will fire the `input` event on page load,
803
- // focus and blur, in addition to when the user actually changed the value. To
804
- // filter out all of the extra events, we save the value on focus and between
805
- // `input` events, and we check whether it changed.
806
- // See: https://connect.microsoft.com/IE/feedback/details/885747/
807
- if (this.previousValue !== value) {
808
- this.previousValue = value;
809
- this.onChange(value);
810
- if (this.canOpen() && this.document.activeElement === event.target) {
811
- this.openPanel();
812
- }
813
- }
814
- };
815
- McAutocompleteTrigger.prototype.handleFocus = function () {
816
- if (!this.canOpenOnNextFocus) {
817
- this.canOpenOnNextFocus = true;
818
- }
819
- else if (this.canOpen() && this.autocomplete.openOnFocus) {
820
- this.previousValue = this.elementRef.nativeElement.value;
821
- this.attachOverlay();
822
- }
823
- };
824
- McAutocompleteTrigger.prototype.handleClick = function ($event) {
825
- if (this.canOpen() && this.document.activeElement === $event.target) {
826
- this.openPanel();
827
- }
828
- };
829
- /** Stream of clicks outside of the autocomplete panel. */
830
- McAutocompleteTrigger.prototype.getOutsideClickStream = function () {
831
- var _this = this;
832
- return rxjs.merge(
833
- // tslint:disable-next-line: no-unnecessary-type-assertion
834
- rxjs.fromEvent(this.document, 'click'),
835
- // tslint:disable-next-line: no-unnecessary-type-assertion
836
- rxjs.fromEvent(this.document, 'touchend'))
837
- .pipe(operators.filter(function (event) {
838
- var clickTarget = event.target;
839
- var formField = _this.formField ? _this.formField._elementRef.nativeElement : null;
840
- var customOrigin = _this.connectedTo ? _this.connectedTo.elementRef.nativeElement : null;
841
- return _this.overlayAttached &&
842
- clickTarget !== _this.elementRef.nativeElement &&
843
- (!formField || !formField.contains(clickTarget)) &&
844
- (!customOrigin || !customOrigin.contains(clickTarget)) &&
845
- (!!_this.overlayRef && !_this.overlayRef.overlayElement.contains(clickTarget));
846
- }));
847
- };
848
- /**
849
- * Given that we are not actually focusing active options, we must manually adjust scroll
850
- * to reveal options below the fold. First, we find the offset of the option from the top
851
- * of the panel. If that offset is below the fold, the new scrollTop will be the offset -
852
- * the panel height + the option height, so the active option will be just visible at the
853
- * bottom of the panel. If that offset is above the top of the visible panel, the new scrollTop
854
- * will become the offset. If that offset is visible within the panel already, the scrollTop is
855
- * not adjusted.
856
- */
857
- McAutocompleteTrigger.prototype.scrollToOption = function () {
858
- var index = this.autocomplete.keyManager.activeItemIndex || 0;
859
- var labelCount = core.countGroupLabelsBeforeOption(index, this.autocomplete.options, this.autocomplete.optionGroups);
860
- var newScrollPosition = core.getOptionScrollPosition(index + labelCount, AUTOCOMPLETE_OPTION_HEIGHT, this.autocomplete.getScrollTop(), AUTOCOMPLETE_PANEL_HEIGHT);
861
- this.autocomplete.setScrollTop(newScrollPosition);
862
- };
863
- /**
864
- * This method listens to a stream of panel closing actions and resets the
865
- * stream every time the option list changes.
866
- */
867
- McAutocompleteTrigger.prototype.subscribeToClosingActions = function () {
868
- var _this = this;
869
- var firstStable = this.zone.onStable.asObservable()
870
- .pipe(operators.take(1));
871
- var optionChanges = this.autocomplete.options.changes
872
- .pipe(operators.tap(function () { return _this.positionStrategy.reapplyLastPosition(); }),
873
- // Defer emitting to the stream until the next tick, because changing
874
- // bindings in here will cause "changed after checked" errors.
875
- operators.delay(0));
876
- // When the zone is stable initially, and when the option list changes...
877
- return rxjs.merge(firstStable, optionChanges)
878
- .pipe(
879
- // create a new stream of panelClosingActions, replacing any previous streams
880
- // that were created, and flatten it so our stream only emits closing events...
881
- operators.switchMap(function () {
882
- var wasOpen = _this.panelOpen;
883
- _this.resetActiveItem();
884
- _this.autocomplete.setVisibility();
885
- if (_this.panelOpen) {
886
- _this.overlayRef.updatePosition();
887
- // If the `panelOpen` state changed, we need to make sure to emit the `opened`
888
- // event, because we may not have emitted it when the panel was attached. This
889
- // can happen if the users opens the panel and there are no options, but the
890
- // options come in slightly later or as a result of the value changing.
891
- if (wasOpen !== _this.panelOpen) {
892
- _this.autocomplete.opened.emit();
893
- }
894
- }
895
- return _this.panelClosingActions;
896
- }),
897
- // when the first closing event occurs...
898
- operators.take(1))
899
- // set the value, close the panel, and complete.
900
- .subscribe(function (event) { return _this.setValueAndClose(event); });
901
- };
902
- /** Destroys the autocomplete suggestion panel. */
903
- McAutocompleteTrigger.prototype.destroyPanel = function () {
904
- if (this.overlayRef) {
905
- this.closePanel();
906
- this.overlayRef.dispose();
907
- this.overlayRef = null;
908
- }
909
- };
910
- McAutocompleteTrigger.prototype.setTriggerValue = function (value) {
911
- var toDisplay = this.autocomplete && this.autocomplete.displayWith ?
912
- this.autocomplete.displayWith(value) :
913
- value;
914
- // Simply falling back to an empty string if the display value is falsy does not work properly.
915
- // The display value can also be the number zero and shouldn't fall back to an empty string.
916
- var inputValue = toDisplay != null ? toDisplay : '';
917
- // If it's used within a `MatFormField`, we should set it through the property so it can go
918
- // through change detection.
919
- if (this.formField) {
920
- this.formField.control.value = inputValue;
921
- }
922
- else {
923
- this.elementRef.nativeElement.value = inputValue;
924
- }
925
- this.previousValue = inputValue;
926
- };
927
- /** This method closes the panel, and if a value is specified, also sets the associated
928
- * control to that value. It will also mark the control as dirty if this interaction
929
- * stemmed from the user.
930
- */
931
- McAutocompleteTrigger.prototype.setValueAndClose = function (event) {
932
- if (event && event.source) {
933
- this.clearPreviousSelectedOption(event.source);
934
- this.setTriggerValue(event.source.value);
935
- this.onChange(event.source.value);
936
- this.elementRef.nativeElement.focus();
937
- this.autocomplete.emitSelectEvent(event.source);
938
- }
939
- this.closePanel();
940
- };
941
- /** Clear any previous selected option and emit a selection change event for this option */
942
- McAutocompleteTrigger.prototype.clearPreviousSelectedOption = function (skip) {
943
- this.autocomplete.options.forEach(function (option) {
944
- if (option !== skip && option.selected) {
945
- option.deselect();
946
- }
947
- });
948
- };
949
- McAutocompleteTrigger.prototype.attachOverlay = function () {
950
- var _this = this;
951
- if (!this.autocomplete) {
952
- throw getMcAutocompleteMissingPanelError();
953
- }
954
- var overlayRef = this.overlayRef;
955
- if (!overlayRef) {
956
- this.portal = new portal.TemplatePortal(this.autocomplete.template, this.viewContainerRef);
957
- overlayRef = this.overlay.create(this.getOverlayConfig());
958
- this.overlayRef = overlayRef;
959
- // Use the `keydownEvents` in order to take advantage of
960
- // the overlay event targeting provided by the CDK overlay.
961
- overlayRef.keydownEvents().subscribe(function (event) {
962
- // Close when pressing ESCAPE or ALT + UP_ARROW, based on the a11y guidelines.
963
- // See: https://www.w3.org/TR/wai-aria-practices-1.1/#textbox-keyboard-interaction
964
- // tslint:disable-next-line deprecation
965
- if (event.keyCode === keycodes.ESCAPE || (event.keyCode === keycodes.UP_ARROW && event.altKey)) {
966
- _this.resetActiveItem();
967
- _this.closeKeyEventStream.next();
968
- }
969
- });
970
- if (this.viewportRuler) {
971
- this.viewportSubscription = this.viewportRuler.change().subscribe(function () {
972
- if (_this.panelOpen && overlayRef) {
973
- overlayRef.updateSize({ width: _this.getPanelWidth() });
974
- }
975
- });
976
- }
977
- }
978
- else {
979
- var position = overlayRef.getConfig().positionStrategy;
980
- // Update the trigger, panel width and direction, in case anything has changed.
981
- position.setOrigin(this.getConnectedElement());
982
- overlayRef.updateSize({ width: this.getPanelWidth() });
983
- }
984
- if (overlayRef && !overlayRef.hasAttached()) {
985
- overlayRef.attach(this.portal);
986
- this.closingActionsSubscription = this.subscribeToClosingActions();
987
- }
988
- var wasOpen = this.panelOpen;
989
- this.autocomplete.setVisibility();
990
- this.autocomplete.isOpen = this.overlayAttached = true;
991
- // We need to do an extra `panelOpen` check in here, because the
992
- // autocomplete won't be shown if there are no options.
993
- if (this.panelOpen && wasOpen !== this.panelOpen) {
994
- this.autocomplete.opened.emit();
995
- }
996
- };
997
- McAutocompleteTrigger.prototype.getOverlayConfig = function () {
998
- return new i1$1.OverlayConfig({
999
- positionStrategy: this.getOverlayPosition(),
1000
- scrollStrategy: this.scrollStrategy(),
1001
- width: this.getPanelWidth(),
1002
- direction: this.dir
1003
- });
1004
- };
1005
- McAutocompleteTrigger.prototype.getOverlayPosition = function () {
1006
- this.positionStrategy = this.overlay.position()
1007
- .flexibleConnectedTo(this.getConnectedElement())
1008
- .withFlexibleDimensions(false)
1009
- .withPush(false)
1010
- .withPositions([
1011
- {
1012
- originX: 'start',
1013
- originY: 'bottom',
1014
- overlayX: 'start',
1015
- overlayY: 'top'
1016
- },
1017
- {
1018
- originX: 'start',
1019
- originY: 'top',
1020
- overlayX: 'start',
1021
- overlayY: 'bottom',
1022
- // The overlay edge connected to the trigger should have squared corners, while
1023
- // the opposite end has rounded corners. We apply a CSS class to swap the
1024
- // border-radius based on the overlay position.
1025
- panelClass: 'mc-autocomplete-panel-above'
1026
- }
1027
- ]);
1028
- return this.positionStrategy;
1029
- };
1030
- McAutocompleteTrigger.prototype.getConnectedElement = function () {
1031
- if (this.connectedTo) {
1032
- return this.connectedTo.elementRef;
1033
- }
1034
- return this.formField ? this.formField.getConnectedOverlayOrigin() : this.elementRef;
1035
- };
1036
- McAutocompleteTrigger.prototype.getPanelWidth = function () {
1037
- return this.autocomplete.panelWidth || this.getHostWidth() - AUTOCOMPLETE_BORDER_WIDTH;
1038
- };
1039
- McAutocompleteTrigger.prototype.getHostWidth = function () {
1040
- return this.getConnectedElement().nativeElement.getBoundingClientRect().width;
1041
- };
1042
- /**
1043
- * Resets the active item to -1 so arrow events will activate the
1044
- * correct options, or to 0 if the consumer opted into it.
1045
- */
1046
- McAutocompleteTrigger.prototype.resetActiveItem = function () {
1047
- if (this.autocomplete.autoActiveFirstOption) {
1048
- this.autocomplete.keyManager.setFirstItemActive();
1049
- }
1050
- else {
1051
- this.autocomplete.keyManager.setActiveItem(-1);
1052
- }
1053
- };
1054
- McAutocompleteTrigger.prototype.canOpen = function () {
1055
- var element = this.elementRef.nativeElement;
1056
- return !element.readOnly && !element.disabled && !this._autocompleteDisabled;
1057
- };
1058
- return McAutocompleteTrigger;
1059
- }());
1060
- /** @nocollapse */ McAutocompleteTrigger.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocompleteTrigger, deps: [{ token: i0__namespace.ElementRef }, { token: i0__namespace.ViewContainerRef }, { token: i0__namespace.ChangeDetectorRef }, { token: i1__namespace$1.Overlay }, { token: i0__namespace.NgZone }, { token: MC_AUTOCOMPLETE_SCROLL_STRATEGY }, { token: i2__namespace.Directionality, optional: true }, { token: i3__namespace.McFormField, host: true, optional: true }, { token: i1.DOCUMENT, optional: true }, { token: i4__namespace.ViewportRuler }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1061
- /** @nocollapse */ McAutocompleteTrigger.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.5", type: McAutocompleteTrigger, selector: "input[mcAutocomplete], textarea[mcAutocomplete]", inputs: { autocomplete: ["mcAutocomplete", "autocomplete"], connectedTo: ["mcAutocompleteConnectedTo", "connectedTo"], autocompleteAttribute: ["autocomplete", "autocompleteAttribute"], autocompleteDisabled: ["mcAutocompleteDisabled", "autocompleteDisabled"] }, host: { listeners: { "focusin": "handleFocus()", "blur": "onTouched()", "input": "handleInput($event)", "keydown": "handleKeydown($event)", "click": "handleClick($event)" }, properties: { "attr.autocomplete": "autocompleteAttribute" }, classAttribute: "mc-autocomplete-trigger" }, providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR], exportAs: ["mcAutocompleteTrigger"], ngImport: i0__namespace });
1062
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocompleteTrigger, decorators: [{
1063
- type: i0.Directive,
1064
- args: [{
1065
- selector: "input[mcAutocomplete], textarea[mcAutocomplete]",
1066
- host: {
1067
- class: 'mc-autocomplete-trigger',
1068
- '[attr.autocomplete]': 'autocompleteAttribute',
1069
- // Note: we use `focusin`, as opposed to `focus`, in order to open the panel
1070
- // a little earlier. This avoids issues where IE delays the focusing of the input.
1071
- '(focusin)': 'handleFocus()',
1072
- '(blur)': 'onTouched()',
1073
- '(input)': 'handleInput($event)',
1074
- '(keydown)': 'handleKeydown($event)',
1075
- '(click)': 'handleClick($event)'
1076
- },
1077
- exportAs: 'mcAutocompleteTrigger',
1078
- providers: [MAT_AUTOCOMPLETE_VALUE_ACCESSOR]
1079
- }]
1080
- }], ctorParameters: function () {
1081
- return [{ type: i0__namespace.ElementRef }, { type: i0__namespace.ViewContainerRef }, { type: i0__namespace.ChangeDetectorRef }, { type: i1__namespace$1.Overlay }, { type: i0__namespace.NgZone }, { type: undefined, decorators: [{
1082
- type: i0.Inject,
1083
- args: [MC_AUTOCOMPLETE_SCROLL_STRATEGY]
1084
- }] }, { type: i2__namespace.Directionality, decorators: [{
1085
- type: i0.Optional
1086
- }] }, { type: i3__namespace.McFormField, decorators: [{
1087
- type: i0.Optional
1088
- }, {
1089
- type: i0.Host
1090
- }] }, { type: undefined, decorators: [{
1091
- type: i0.Optional
1092
- }, {
1093
- type: i0.Inject,
1094
- args: [i1.DOCUMENT]
1095
- }] }, { type: i4__namespace.ViewportRuler }];
1096
- }, propDecorators: { autocomplete: [{
1097
- type: i0.Input,
1098
- args: ['mcAutocomplete']
1099
- }], connectedTo: [{
1100
- type: i0.Input,
1101
- args: ['mcAutocompleteConnectedTo']
1102
- }], autocompleteAttribute: [{
1103
- type: i0.Input,
1104
- args: ['autocomplete']
1105
- }], autocompleteDisabled: [{
1106
- type: i0.Input,
1107
- args: ['mcAutocompleteDisabled']
1108
- }] } });
1109
-
1110
- var McAutocompleteModule = /** @class */ (function () {
1111
- function McAutocompleteModule() {
1112
- }
1113
- return McAutocompleteModule;
1114
- }());
1115
- /** @nocollapse */ McAutocompleteModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocompleteModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1116
- /** @nocollapse */ McAutocompleteModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocompleteModule, declarations: [McAutocomplete, McAutocompleteTrigger, McAutocompleteOrigin], imports: [core.McOptionModule, i1$1.OverlayModule, core.McCommonModule, i1.CommonModule], exports: [McAutocomplete,
1117
- core.McOptionModule,
1118
- McAutocompleteTrigger,
1119
- McAutocompleteOrigin,
1120
- core.McCommonModule] });
1121
- /** @nocollapse */ McAutocompleteModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocompleteModule, providers: [MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER], imports: [[core.McOptionModule, i1$1.OverlayModule, core.McCommonModule, i1.CommonModule], core.McOptionModule,
1122
- core.McCommonModule] });
1123
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.5", ngImport: i0__namespace, type: McAutocompleteModule, decorators: [{
1124
- type: i0.NgModule,
1125
- args: [{
1126
- imports: [core.McOptionModule, i1$1.OverlayModule, core.McCommonModule, i1.CommonModule],
1127
- exports: [
1128
- McAutocomplete,
1129
- core.McOptionModule,
1130
- McAutocompleteTrigger,
1131
- McAutocompleteOrigin,
1132
- core.McCommonModule
1133
- ],
1134
- declarations: [McAutocomplete, McAutocompleteTrigger, McAutocompleteOrigin],
1135
- providers: [MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER]
1136
- }]
1137
- }] });
1138
-
1139
- /**
1140
- * Generated bundle index. Do not edit.
1141
- */
1142
-
1143
- exports.AUTOCOMPLETE_BORDER_WIDTH = AUTOCOMPLETE_BORDER_WIDTH;
1144
- exports.AUTOCOMPLETE_OPTION_HEIGHT = AUTOCOMPLETE_OPTION_HEIGHT;
1145
- exports.AUTOCOMPLETE_PANEL_HEIGHT = AUTOCOMPLETE_PANEL_HEIGHT;
1146
- exports.MAT_AUTOCOMPLETE_VALUE_ACCESSOR = MAT_AUTOCOMPLETE_VALUE_ACCESSOR;
1147
- exports.MC_AUTOCOMPLETE_DEFAULT_OPTIONS = MC_AUTOCOMPLETE_DEFAULT_OPTIONS;
1148
- exports.MC_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY = MC_AUTOCOMPLETE_DEFAULT_OPTIONS_FACTORY;
1149
- exports.MC_AUTOCOMPLETE_SCROLL_STRATEGY = MC_AUTOCOMPLETE_SCROLL_STRATEGY;
1150
- exports.MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY = MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY;
1151
- exports.MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER = MC_AUTOCOMPLETE_SCROLL_STRATEGY_FACTORY_PROVIDER;
1152
- exports.McAutocomplete = McAutocomplete;
1153
- exports.McAutocompleteModule = McAutocompleteModule;
1154
- exports.McAutocompleteOrigin = McAutocompleteOrigin;
1155
- exports.McAutocompleteSelectedEvent = McAutocompleteSelectedEvent;
1156
- exports.McAutocompleteTrigger = McAutocompleteTrigger;
1157
- exports.getMcAutocompleteMissingPanelError = getMcAutocompleteMissingPanelError;
1158
-
1159
- Object.defineProperty(exports, '__esModule', { value: true });
1160
-
1161
- })));
1162
- //# sourceMappingURL=ptsecurity-mosaic-autocomplete.umd.js.map