@angular/material 13.0.0-next.4 → 13.0.0-next.8

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 (1684) hide show
  1. package/autocomplete/autocomplete-module.d.ts +11 -7
  2. package/autocomplete/autocomplete-origin.d.ts +5 -0
  3. package/autocomplete/autocomplete-trigger.d.ts +5 -0
  4. package/autocomplete/autocomplete.d.ts +6 -1
  5. package/autocomplete/package.json +5 -5
  6. package/autocomplete/testing/package.json +5 -5
  7. package/badge/badge-module.d.ts +7 -7
  8. package/badge/badge.d.ts +19 -15
  9. package/badge/package.json +5 -5
  10. package/badge/testing/package.json +5 -5
  11. package/bottom-sheet/bottom-sheet-container.d.ts +6 -3
  12. package/bottom-sheet/bottom-sheet-module.d.ts +8 -7
  13. package/bottom-sheet/bottom-sheet.d.ts +3 -7
  14. package/bottom-sheet/package.json +5 -5
  15. package/bottom-sheet/testing/package.json +5 -5
  16. package/button/button-module.d.ts +6 -7
  17. package/button/button.d.ts +6 -1
  18. package/button/package.json +5 -5
  19. package/button/testing/package.json +5 -5
  20. package/button-toggle/button-toggle-module.d.ts +6 -7
  21. package/button-toggle/button-toggle.d.ts +6 -1
  22. package/button-toggle/package.json +5 -5
  23. package/button-toggle/testing/package.json +5 -5
  24. package/card/card-module.d.ts +6 -7
  25. package/card/card.d.ts +29 -7
  26. package/card/package.json +5 -5
  27. package/card/testing/package.json +5 -5
  28. package/checkbox/checkbox-module.d.ts +11 -7
  29. package/checkbox/checkbox-required-validator.d.ts +3 -0
  30. package/checkbox/checkbox.d.ts +4 -1
  31. package/checkbox/package.json +5 -5
  32. package/checkbox/testing/package.json +5 -5
  33. package/chips/chip-input.d.ts +3 -0
  34. package/chips/chip-list.d.ts +4 -1
  35. package/chips/chip.d.ts +10 -1
  36. package/chips/chips-module.d.ts +8 -7
  37. package/chips/package.json +5 -5
  38. package/chips/testing/package.json +5 -5
  39. package/core/common-behaviors/color.d.ts +2 -6
  40. package/core/common-behaviors/common-module.d.ts +5 -4
  41. package/core/common-behaviors/disable-ripple.d.ts +2 -6
  42. package/core/common-behaviors/disabled.d.ts +2 -6
  43. package/core/common-behaviors/error-state.d.ts +2 -6
  44. package/core/common-behaviors/index.d.ts +7 -6
  45. package/core/common-behaviors/initialized.d.ts +2 -6
  46. package/core/common-behaviors/tabindex.d.ts +2 -6
  47. package/core/datetime/index.d.ts +8 -7
  48. package/core/datetime/native-date-adapter.d.ts +3 -0
  49. package/core/error/error-options.d.ts +5 -7
  50. package/core/index.d.ts +0 -1
  51. package/core/line/line.d.ts +7 -0
  52. package/core/option/index.d.ts +10 -7
  53. package/core/option/optgroup.d.ts +6 -1
  54. package/core/option/option.d.ts +5 -0
  55. package/core/package.json +5 -5
  56. package/core/ripple/index.d.ts +7 -7
  57. package/core/ripple/ripple.d.ts +3 -0
  58. package/core/selection/index.d.ts +6 -7
  59. package/core/selection/pseudo-checkbox/pseudo-checkbox.d.ts +3 -7
  60. package/core/testing/package.json +5 -5
  61. package/core/typography/_typography.scss +7 -2
  62. package/datepicker/_datepicker-theme.scss +1 -4
  63. package/datepicker/calendar-body.d.ts +3 -0
  64. package/datepicker/calendar.d.ts +5 -0
  65. package/datepicker/date-range-input-parts.d.ts +8 -1
  66. package/datepicker/date-range-input.d.ts +3 -0
  67. package/datepicker/date-range-picker.d.ts +3 -7
  68. package/datepicker/date-range-selection-strategy.d.ts +3 -0
  69. package/datepicker/date-selection-model.d.ts +7 -0
  70. package/datepicker/datepicker-actions.d.ts +7 -0
  71. package/datepicker/datepicker-base.d.ts +7 -12
  72. package/datepicker/datepicker-input-base.d.ts +3 -0
  73. package/datepicker/datepicker-input.d.ts +3 -0
  74. package/datepicker/datepicker-intl.d.ts +3 -7
  75. package/datepicker/datepicker-module.d.ts +24 -7
  76. package/datepicker/datepicker-toggle.d.ts +5 -0
  77. package/datepicker/datepicker.d.ts +3 -7
  78. package/datepicker/index.d.ts +0 -4
  79. package/datepicker/month-view.d.ts +3 -7
  80. package/datepicker/multi-year-view.d.ts +3 -7
  81. package/datepicker/package.json +5 -5
  82. package/datepicker/testing/package.json +5 -5
  83. package/datepicker/year-view.d.ts +3 -7
  84. package/dialog/dialog-container.d.ts +5 -0
  85. package/dialog/dialog-content-directives.d.ts +9 -0
  86. package/dialog/dialog-module.d.ts +9 -7
  87. package/dialog/dialog.d.ts +5 -7
  88. package/dialog/package.json +5 -5
  89. package/dialog/testing/dialog-harness.d.ts +14 -11
  90. package/dialog/testing/package.json +5 -5
  91. package/divider/divider-module.d.ts +6 -7
  92. package/divider/divider.d.ts +3 -7
  93. package/divider/package.json +5 -5
  94. package/divider/testing/package.json +5 -5
  95. package/esm2020/autocomplete/autocomplete-module.mjs +58 -0
  96. package/esm2020/autocomplete/autocomplete-origin.mjs +38 -0
  97. package/esm2020/autocomplete/autocomplete-trigger.mjs +651 -0
  98. package/esm2020/autocomplete/autocomplete.mjs +216 -0
  99. package/{esm2015/autocomplete/index.js → esm2020/autocomplete/index.mjs} +0 -0
  100. package/{esm2015/autocomplete/public-api.js → esm2020/autocomplete/public-api.mjs} +0 -0
  101. package/{esm2015/autocomplete/testing/autocomplete-harness-filters.js → esm2020/autocomplete/testing/autocomplete-harness-filters.mjs} +0 -0
  102. package/esm2020/autocomplete/testing/autocomplete-harness.mjs +101 -0
  103. package/{esm2015/autocomplete/testing/index.js → esm2020/autocomplete/testing/index.mjs} +0 -0
  104. package/{esm2015/autocomplete/testing/public-api.js → esm2020/autocomplete/testing/public-api.mjs} +0 -0
  105. package/esm2020/badge/badge-module.mjs +33 -0
  106. package/esm2020/badge/badge.mjs +228 -0
  107. package/{esm2015/badge/index.js → esm2020/badge/index.mjs} +0 -0
  108. package/{esm2015/badge/public-api.js → esm2020/badge/public-api.mjs} +0 -0
  109. package/{esm2015/badge/testing/badge-harness-filters.js → esm2020/badge/testing/badge-harness-filters.mjs} +0 -0
  110. package/esm2020/badge/testing/badge-harness.mjs +72 -0
  111. package/{esm2015/badge/testing/index.js → esm2020/badge/testing/index.mjs} +0 -0
  112. package/{esm2015/badge/testing/public-api.js → esm2020/badge/testing/public-api.mjs} +0 -0
  113. package/{esm2015/bottom-sheet/bottom-sheet-animations.js → esm2020/bottom-sheet/bottom-sheet-animations.mjs} +0 -0
  114. package/{esm2015/bottom-sheet/bottom-sheet-config.js → esm2020/bottom-sheet/bottom-sheet-config.mjs} +0 -0
  115. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +230 -0
  116. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +38 -0
  117. package/esm2020/bottom-sheet/bottom-sheet-ref.mjs +91 -0
  118. package/esm2020/bottom-sheet/bottom-sheet.mjs +172 -0
  119. package/{esm2015/bottom-sheet/index.js → esm2020/bottom-sheet/index.mjs} +0 -0
  120. package/{esm2015/bottom-sheet/public-api.js → esm2020/bottom-sheet/public-api.mjs} +0 -0
  121. package/{esm2015/bottom-sheet/testing/bottom-sheet-harness-filters.js → esm2020/bottom-sheet/testing/bottom-sheet-harness-filters.mjs} +0 -0
  122. package/esm2020/bottom-sheet/testing/bottom-sheet-harness.mjs +35 -0
  123. package/{esm2015/bottom-sheet/testing/index.js → esm2020/bottom-sheet/testing/index.mjs} +0 -0
  124. package/{esm2015/bottom-sheet/testing/public-api.js → esm2020/bottom-sheet/testing/public-api.mjs} +0 -0
  125. package/esm2020/button/button-module.mjs +42 -0
  126. package/esm2020/button/button.mjs +153 -0
  127. package/{esm2015/button/index.js → esm2020/button/index.mjs} +0 -0
  128. package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
  129. package/{esm2015/button/testing/button-harness-filters.js → esm2020/button/testing/button-harness-filters.mjs} +0 -0
  130. package/esm2020/button/testing/button-harness.mjs +51 -0
  131. package/{esm2015/button/testing/index.js → esm2020/button/testing/index.mjs} +0 -0
  132. package/{esm2015/button/testing/public-api.js → esm2020/button/testing/public-api.mjs} +0 -0
  133. package/esm2020/button-toggle/button-toggle-module.mjs +25 -0
  134. package/esm2020/button-toggle/button-toggle.mjs +470 -0
  135. package/{esm2015/button-toggle/index.js → esm2020/button-toggle/index.mjs} +0 -0
  136. package/{esm2015/button-toggle/public-api.js → esm2020/button-toggle/public-api.mjs} +0 -0
  137. package/{esm2015/button-toggle/testing/button-toggle-group-harness-filters.js → esm2020/button-toggle/testing/button-toggle-group-harness-filters.mjs} +0 -0
  138. package/esm2020/button-toggle/testing/button-toggle-group-harness.mjs +45 -0
  139. package/{esm2015/button-toggle/testing/button-toggle-harness-filters.js → esm2020/button-toggle/testing/button-toggle-harness-filters.mjs} +0 -0
  140. package/esm2020/button-toggle/testing/button-toggle-harness.mjs +98 -0
  141. package/{esm2015/button-toggle/testing/index.js → esm2020/button-toggle/testing/index.mjs} +0 -0
  142. package/{esm2015/button-toggle/testing/public-api.js → esm2020/button-toggle/testing/public-api.mjs} +0 -0
  143. package/esm2020/card/card-module.mjs +61 -0
  144. package/esm2020/card/card.mjs +247 -0
  145. package/{esm2015/card/index.js → esm2020/card/index.mjs} +0 -0
  146. package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
  147. package/{esm2015/card/testing/card-harness-filters.js → esm2020/card/testing/card-harness-filters.mjs} +0 -0
  148. package/esm2020/card/testing/card-harness.mjs +43 -0
  149. package/{esm2015/card/testing/index.js → esm2020/card/testing/index.mjs} +0 -0
  150. package/{esm2015/card/testing/public-api.js → esm2020/card/testing/public-api.mjs} +0 -0
  151. package/{esm2015/checkbox/checkbox-config.js → esm2020/checkbox/checkbox-config.mjs} +0 -0
  152. package/esm2020/checkbox/checkbox-module.mjs +46 -0
  153. package/esm2020/checkbox/checkbox-required-validator.mjs +33 -0
  154. package/esm2020/checkbox/checkbox.mjs +403 -0
  155. package/{esm2015/checkbox/index.js → esm2020/checkbox/index.mjs} +0 -0
  156. package/{esm2015/checkbox/public-api.js → esm2020/checkbox/public-api.mjs} +0 -0
  157. package/{esm2015/checkbox/testing/checkbox-harness-filters.js → esm2020/checkbox/testing/checkbox-harness-filters.mjs} +0 -0
  158. package/esm2020/checkbox/testing/checkbox-harness.mjs +123 -0
  159. package/{esm2015/checkbox/testing/index.js → esm2020/checkbox/testing/index.mjs} +0 -0
  160. package/{esm2015/checkbox/testing/public-api.js → esm2020/checkbox/testing/public-api.mjs} +0 -0
  161. package/{esm2015/chips/chip-default-options.js → esm2020/chips/chip-default-options.mjs} +0 -0
  162. package/esm2020/chips/chip-input.mjs +192 -0
  163. package/esm2020/chips/chip-list.mjs +673 -0
  164. package/{esm2015/chips/chip-text-control.js → esm2020/chips/chip-text-control.mjs} +0 -0
  165. package/esm2020/chips/chip.mjs +415 -0
  166. package/esm2020/chips/chips-module.mjs +64 -0
  167. package/{esm2015/chips/index.js → esm2020/chips/index.mjs} +0 -0
  168. package/{esm2015/chips/public-api.js → esm2020/chips/public-api.mjs} +0 -0
  169. package/{esm2015/chips/testing/chip-avatar-harness.js → esm2020/chips/testing/chip-avatar-harness.mjs} +0 -0
  170. package/{esm2015/chips/testing/chip-harness-filters.js → esm2020/chips/testing/chip-harness-filters.mjs} +0 -0
  171. package/esm2020/chips/testing/chip-harness.mjs +91 -0
  172. package/esm2020/chips/testing/chip-input-harness.mjs +82 -0
  173. package/esm2020/chips/testing/chip-list-harness.mjs +82 -0
  174. package/esm2020/chips/testing/chip-listbox-harness.mjs +44 -0
  175. package/esm2020/chips/testing/chip-option-harness.mjs +45 -0
  176. package/esm2020/chips/testing/chip-remove-harness.mjs +26 -0
  177. package/{esm2015/chips/testing/index.js → esm2020/chips/testing/index.mjs} +0 -0
  178. package/{esm2015/chips/testing/public-api.js → esm2020/chips/testing/public-api.mjs} +0 -0
  179. package/{esm2015/core/animation/animation.js → esm2020/core/animation/animation.mjs} +0 -0
  180. package/esm2020/core/common-behaviors/color.mjs +31 -0
  181. package/esm2020/core/common-behaviors/common-module.mjs +122 -0
  182. package/{esm2015/core/common-behaviors/constructor.js → esm2020/core/common-behaviors/constructor.mjs} +0 -0
  183. package/esm2020/core/common-behaviors/disable-ripple.mjs +20 -0
  184. package/esm2020/core/common-behaviors/disabled.mjs +19 -0
  185. package/esm2020/core/common-behaviors/error-state.mjs +36 -0
  186. package/esm2020/core/common-behaviors/index.mjs +15 -0
  187. package/esm2020/core/common-behaviors/initialized.mjs +58 -0
  188. package/esm2020/core/common-behaviors/tabindex.mjs +23 -0
  189. package/{esm2015/core/datetime/date-adapter.js → esm2020/core/datetime/date-adapter.mjs} +0 -0
  190. package/{esm2015/core/datetime/date-formats.js → esm2020/core/datetime/date-formats.mjs} +0 -0
  191. package/esm2020/core/datetime/index.mjs +47 -0
  192. package/esm2020/core/datetime/native-date-adapter.mjs +218 -0
  193. package/{esm2015/core/datetime/native-date-formats.js → esm2020/core/datetime/native-date-formats.mjs} +0 -0
  194. package/esm2020/core/error/error-options.mjs +33 -0
  195. package/esm2020/core/index.mjs +5 -0
  196. package/esm2020/core/line/line.mjs +64 -0
  197. package/esm2020/core/option/index.mjs +32 -0
  198. package/esm2020/core/option/optgroup.mjs +73 -0
  199. package/{esm2015/core/option/option-parent.js → esm2020/core/option/option-parent.mjs} +0 -0
  200. package/esm2020/core/option/option.mjs +276 -0
  201. package/{esm2015/core/public-api.js → esm2020/core/public-api.mjs} +0 -0
  202. package/esm2020/core/ripple/index.mjs +29 -0
  203. package/{esm2015/core/ripple/ripple-ref.js → esm2020/core/ripple/ripple-ref.mjs} +0 -0
  204. package/esm2020/core/ripple/ripple-renderer.mjs +261 -0
  205. package/esm2020/core/ripple/ripple.mjs +152 -0
  206. package/esm2020/core/selection/index.mjs +26 -0
  207. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +54 -0
  208. package/{esm2015/core/testing/index.js → esm2020/core/testing/index.mjs} +0 -0
  209. package/{esm2015/core/testing/optgroup-harness-filters.js → esm2020/core/testing/optgroup-harness-filters.mjs} +0 -0
  210. package/esm2020/core/testing/optgroup-harness.mjs +44 -0
  211. package/{esm2015/core/testing/option-harness-filters.js → esm2020/core/testing/option-harness-filters.mjs} +0 -0
  212. package/esm2020/core/testing/option-harness.mjs +54 -0
  213. package/{esm2015/core/testing/public-api.js → esm2020/core/testing/public-api.mjs} +0 -0
  214. package/esm2020/core/version.mjs +11 -0
  215. package/esm2020/datepicker/calendar-body.mjs +298 -0
  216. package/esm2020/datepicker/calendar.mjs +354 -0
  217. package/esm2020/datepicker/date-range-input-parts.mjs +342 -0
  218. package/esm2020/datepicker/date-range-input.mjs +331 -0
  219. package/esm2020/datepicker/date-range-picker.mjs +48 -0
  220. package/esm2020/datepicker/date-range-selection-strategy.mjs +59 -0
  221. package/esm2020/datepicker/date-selection-model.mjs +187 -0
  222. package/esm2020/datepicker/datepicker-actions.mjs +89 -0
  223. package/{esm2015/datepicker/datepicker-animations.js → esm2020/datepicker/datepicker-animations.mjs} +0 -0
  224. package/esm2020/datepicker/datepicker-base.mjs +549 -0
  225. package/{esm2015/datepicker/datepicker-errors.js → esm2020/datepicker/datepicker-errors.mjs} +0 -0
  226. package/esm2020/datepicker/datepicker-input-base.mjs +298 -0
  227. package/esm2020/datepicker/datepicker-input.mjs +183 -0
  228. package/esm2020/datepicker/datepicker-intl.mjs +53 -0
  229. package/esm2020/datepicker/datepicker-module.mjs +148 -0
  230. package/esm2020/datepicker/datepicker-toggle.mjs +113 -0
  231. package/esm2020/datepicker/datepicker.mjs +37 -0
  232. package/esm2020/datepicker/index.mjs +5 -0
  233. package/esm2020/datepicker/month-view.mjs +364 -0
  234. package/esm2020/datepicker/multi-year-view.mjs +289 -0
  235. package/{esm2015/datepicker/public-api.js → esm2020/datepicker/public-api.mjs} +0 -0
  236. package/esm2020/datepicker/testing/calendar-cell-harness.mjs +138 -0
  237. package/esm2020/datepicker/testing/calendar-harness.mjs +76 -0
  238. package/esm2020/datepicker/testing/date-range-input-harness.mjs +99 -0
  239. package/{esm2015/datepicker/testing/datepicker-harness-filters.js → esm2020/datepicker/testing/datepicker-harness-filters.mjs} +0 -0
  240. package/esm2020/datepicker/testing/datepicker-input-harness-base.mjs +81 -0
  241. package/esm2020/datepicker/testing/datepicker-input-harness.mjs +58 -0
  242. package/esm2020/datepicker/testing/datepicker-toggle-harness.mjs +41 -0
  243. package/esm2020/datepicker/testing/datepicker-trigger-harness-base.mjs +65 -0
  244. package/{esm2015/datepicker/testing/index.js → esm2020/datepicker/testing/index.mjs} +0 -0
  245. package/{esm2015/datepicker/testing/public-api.js → esm2020/datepicker/testing/public-api.mjs} +0 -0
  246. package/esm2020/datepicker/year-view.mjs +281 -0
  247. package/{esm2015/dialog/dialog-animations.js → esm2020/dialog/dialog-animations.mjs} +0 -0
  248. package/{esm2015/dialog/dialog-config.js → esm2020/dialog/dialog-config.mjs} +0 -0
  249. package/esm2020/dialog/dialog-container.mjs +282 -0
  250. package/esm2020/dialog/dialog-content-directives.mjs +172 -0
  251. package/esm2020/dialog/dialog-module.mjs +69 -0
  252. package/esm2020/dialog/dialog-ref.mjs +196 -0
  253. package/esm2020/dialog/dialog.mjs +358 -0
  254. package/{esm2015/dialog/index.js → esm2020/dialog/index.mjs} +0 -0
  255. package/{esm2015/dialog/public-api.js → esm2020/dialog/public-api.mjs} +0 -0
  256. package/{esm2015/dialog/testing/dialog-harness-filters.js → esm2020/dialog/testing/dialog-harness-filters.mjs} +0 -0
  257. package/esm2020/dialog/testing/dialog-harness.mjs +83 -0
  258. package/{esm2015/dialog/testing/index.js → esm2020/dialog/testing/index.mjs} +0 -0
  259. package/{esm2015/dialog/testing/public-api.js → esm2020/dialog/testing/public-api.mjs} +0 -0
  260. package/esm2020/divider/divider-module.mjs +25 -0
  261. package/esm2020/divider/divider.mjs +40 -0
  262. package/{esm2015/divider/index.js → esm2020/divider/index.mjs} +0 -0
  263. package/{esm2015/divider/public-api.js → esm2020/divider/public-api.mjs} +0 -0
  264. package/{esm2015/divider/testing/divider-harness-filters.js → esm2020/divider/testing/divider-harness-filters.mjs} +0 -0
  265. package/esm2020/divider/testing/divider-harness.mjs +22 -0
  266. package/{esm2015/divider/testing/index.js → esm2020/divider/testing/index.mjs} +0 -0
  267. package/{esm2015/divider/testing/public-api.js → esm2020/divider/testing/public-api.mjs} +0 -0
  268. package/{esm2015/expansion/accordion-base.js → esm2020/expansion/accordion-base.mjs} +0 -0
  269. package/esm2020/expansion/accordion.mjs +93 -0
  270. package/{esm2015/expansion/expansion-animations.js → esm2020/expansion/expansion-animations.mjs} +0 -0
  271. package/esm2020/expansion/expansion-module.mjs +59 -0
  272. package/esm2020/expansion/expansion-panel-content.mjs +27 -0
  273. package/esm2020/expansion/expansion-panel-header.mjs +226 -0
  274. package/esm2020/expansion/expansion-panel.mjs +195 -0
  275. package/{esm2015/expansion/index.js → esm2020/expansion/index.mjs} +0 -0
  276. package/{esm2015/expansion/public-api.js → esm2020/expansion/public-api.mjs} +0 -0
  277. package/esm2020/expansion/testing/accordion-harness.mjs +31 -0
  278. package/{esm2015/expansion/testing/expansion-harness-filters.js → esm2020/expansion/testing/expansion-harness-filters.mjs} +0 -0
  279. package/esm2020/expansion/testing/expansion-harness.mjs +120 -0
  280. package/{esm2015/expansion/testing/index.js → esm2020/expansion/testing/index.mjs} +0 -0
  281. package/{esm2015/expansion/testing/public-api.js → esm2020/expansion/testing/public-api.mjs} +0 -0
  282. package/esm2020/form-field/error.mjs +47 -0
  283. package/{esm2015/form-field/form-field-animations.js → esm2020/form-field/form-field-animations.mjs} +0 -0
  284. package/esm2020/form-field/form-field-control.mjs +11 -0
  285. package/{esm2015/form-field/form-field-errors.js → esm2020/form-field/form-field-errors.mjs} +0 -0
  286. package/esm2020/form-field/form-field-module.mjs +73 -0
  287. package/esm2020/form-field/form-field.mjs +510 -0
  288. package/esm2020/form-field/hint.mjs +49 -0
  289. package/{esm2015/form-field/index.js → esm2020/form-field/index.mjs} +0 -0
  290. package/esm2020/form-field/label.mjs +21 -0
  291. package/esm2020/form-field/placeholder.mjs +26 -0
  292. package/esm2020/form-field/prefix.mjs +28 -0
  293. package/{esm2015/form-field/public-api.js → esm2020/form-field/public-api.mjs} +0 -0
  294. package/esm2020/form-field/suffix.mjs +28 -0
  295. package/{esm2015/form-field/testing/control/form-field-control-harness.js → esm2020/form-field/testing/control/form-field-control-harness.mjs} +0 -0
  296. package/{esm2015/form-field/testing/control/index.js → esm2020/form-field/testing/control/index.mjs} +0 -0
  297. package/{esm2015/form-field/testing/form-field-harness-filters.js → esm2020/form-field/testing/form-field-harness-filters.mjs} +0 -0
  298. package/esm2020/form-field/testing/form-field-harness.mjs +181 -0
  299. package/{esm2015/form-field/testing/index.js → esm2020/form-field/testing/index.mjs} +0 -0
  300. package/{esm2015/form-field/testing/public-api.js → esm2020/form-field/testing/public-api.mjs} +0 -0
  301. package/{esm2015/grid-list/grid-list-base.js → esm2020/grid-list/grid-list-base.mjs} +0 -0
  302. package/esm2020/grid-list/grid-list-module.mjs +55 -0
  303. package/esm2020/grid-list/grid-list.mjs +135 -0
  304. package/esm2020/grid-list/grid-tile.mjs +117 -0
  305. package/esm2020/grid-list/index.mjs +5 -0
  306. package/{esm2015/grid-list/public-api.js → esm2020/grid-list/public-api.mjs} +0 -0
  307. package/{esm2015/grid-list/testing/grid-list-harness-filters.js → esm2020/grid-list/testing/grid-list-harness-filters.mjs} +0 -0
  308. package/esm2020/grid-list/testing/grid-list-harness.mjs +72 -0
  309. package/esm2020/grid-list/testing/grid-tile-harness.mjs +65 -0
  310. package/{esm2015/grid-list/testing/index.js → esm2020/grid-list/testing/index.mjs} +0 -0
  311. package/{esm2015/grid-list/testing/public-api.js → esm2020/grid-list/testing/public-api.mjs} +0 -0
  312. package/{esm2015/grid-list/tile-coordinator.js → esm2020/grid-list/tile-coordinator.mjs} +0 -0
  313. package/{esm2015/grid-list/tile-styler.js → esm2020/grid-list/tile-styler.mjs} +0 -0
  314. package/{esm2015/icon/fake-svgs.js → esm2020/icon/fake-svgs.mjs} +0 -0
  315. package/esm2020/icon/icon-module.mjs +25 -0
  316. package/esm2020/icon/icon-registry.mjs +582 -0
  317. package/esm2020/icon/icon.mjs +357 -0
  318. package/{esm2015/icon/index.js → esm2020/icon/index.mjs} +0 -0
  319. package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
  320. package/esm2020/icon/testing/fake-icon-registry.mjs +92 -0
  321. package/{esm2015/icon/testing/icon-harness-filters.js → esm2020/icon/testing/icon-harness-filters.mjs} +0 -0
  322. package/esm2020/icon/testing/icon-harness.mjs +54 -0
  323. package/{esm2015/icon/testing/index.js → esm2020/icon/testing/index.mjs} +0 -0
  324. package/{esm2015/icon/testing/public-api.js → esm2020/icon/testing/public-api.mjs} +0 -0
  325. package/esm2020/icon/trusted-types.mjs +43 -0
  326. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  327. package/{esm2015/input/index.js → esm2020/input/index.mjs} +0 -0
  328. package/{esm2015/input/input-errors.js → esm2020/input/input-errors.mjs} +0 -0
  329. package/esm2020/input/input-module.mjs +51 -0
  330. package/{esm2015/input/input-value-accessor.js → esm2020/input/input-value-accessor.mjs} +0 -0
  331. package/esm2020/input/input.mjs +428 -0
  332. package/esm2020/input/public-api.mjs +12 -0
  333. package/{esm2015/input/testing/index.js → esm2020/input/testing/index.mjs} +0 -0
  334. package/{esm2015/input/testing/input-harness-filters.js → esm2020/input/testing/input-harness-filters.mjs} +0 -0
  335. package/esm2020/input/testing/input-harness.mjs +113 -0
  336. package/esm2020/input/testing/native-option-harness.mjs +42 -0
  337. package/{esm2015/input/testing/native-select-harness-filters.js → esm2020/input/testing/native-select-harness-filters.mjs} +0 -0
  338. package/esm2020/input/testing/native-select-harness.mjs +79 -0
  339. package/{esm2015/input/testing/public-api.js → esm2020/input/testing/public-api.mjs} +0 -0
  340. package/{esm2015/list/index.js → esm2020/list/index.mjs} +0 -0
  341. package/esm2020/list/list-module.mjs +71 -0
  342. package/esm2020/list/list.mjs +216 -0
  343. package/{esm2015/list/public-api.js → esm2020/list/public-api.mjs} +0 -0
  344. package/esm2020/list/selection-list.mjs +612 -0
  345. package/esm2020/list/testing/action-list-harness.mjs +59 -0
  346. package/{esm2015/list/testing/index.js → esm2020/list/testing/index.mjs} +0 -0
  347. package/esm2020/list/testing/list-harness-base.mjs +88 -0
  348. package/{esm2015/list/testing/list-harness-filters.js → esm2020/list/testing/list-harness-filters.mjs} +0 -0
  349. package/{esm2015/list/testing/list-harness.js → esm2020/list/testing/list-harness.mjs} +0 -0
  350. package/esm2020/list/testing/list-item-harness-base.mjs +72 -0
  351. package/esm2020/list/testing/nav-list-harness.mjs +64 -0
  352. package/{esm2015/list/testing/public-api.js → esm2020/list/testing/public-api.mjs} +0 -0
  353. package/esm2020/list/testing/selection-list-harness.mjs +125 -0
  354. package/esm2020/menu/index.mjs +5 -0
  355. package/{esm2015/menu/menu-animations.js → esm2020/menu/menu-animations.mjs} +0 -0
  356. package/esm2020/menu/menu-content.mjs +97 -0
  357. package/{esm2015/menu/menu-errors.js → esm2020/menu/menu-errors.mjs} +0 -0
  358. package/esm2020/menu/menu-item.mjs +164 -0
  359. package/esm2020/menu/menu-module.mjs +58 -0
  360. package/{esm2015/menu/menu-panel.js → esm2020/menu/menu-panel.mjs} +0 -0
  361. package/{esm2015/menu/menu-positions.js → esm2020/menu/menu-positions.mjs} +0 -0
  362. package/esm2020/menu/menu-trigger.mjs +540 -0
  363. package/esm2020/menu/menu.mjs +401 -0
  364. package/esm2020/menu/public-api.mjs +16 -0
  365. package/{esm2015/menu/testing/index.js → esm2020/menu/testing/index.mjs} +0 -0
  366. package/{esm2015/menu/testing/menu-harness-filters.js → esm2020/menu/testing/menu-harness-filters.mjs} +0 -0
  367. package/esm2020/menu/testing/menu-harness.mjs +183 -0
  368. package/{esm2015/menu/testing/public-api.js → esm2020/menu/testing/public-api.mjs} +0 -0
  369. package/{esm2015/paginator/index.js → esm2020/paginator/index.mjs} +0 -0
  370. package/esm2020/paginator/paginator-intl.mjs +64 -0
  371. package/esm2020/paginator/paginator-module.mjs +47 -0
  372. package/esm2020/paginator/paginator.mjs +268 -0
  373. package/{esm2015/paginator/public-api.js → esm2020/paginator/public-api.mjs} +0 -0
  374. package/{esm2015/paginator/testing/index.js → esm2020/paginator/testing/index.mjs} +0 -0
  375. package/{esm2015/paginator/testing/paginator-harness-filters.js → esm2020/paginator/testing/paginator-harness-filters.mjs} +0 -0
  376. package/esm2020/paginator/testing/paginator-harness.mjs +91 -0
  377. package/{esm2015/paginator/testing/public-api.js → esm2020/paginator/testing/public-api.mjs} +0 -0
  378. package/{esm2015/progress-bar/index.js → esm2020/progress-bar/index.mjs} +0 -0
  379. package/esm2020/progress-bar/progress-bar-module.mjs +26 -0
  380. package/esm2020/progress-bar/progress-bar.mjs +187 -0
  381. package/{esm2015/progress-bar/public-api.js → esm2020/progress-bar/public-api.mjs} +0 -0
  382. package/{esm2015/progress-bar/testing/index.js → esm2020/progress-bar/testing/index.mjs} +0 -0
  383. package/{esm2015/progress-bar/testing/progress-bar-harness-filters.js → esm2020/progress-bar/testing/progress-bar-harness-filters.mjs} +0 -0
  384. package/esm2020/progress-bar/testing/progress-bar-harness.mjs +34 -0
  385. package/{esm2015/progress-bar/testing/public-api.js → esm2020/progress-bar/testing/public-api.mjs} +0 -0
  386. package/{esm2015/progress-spinner/index.js → esm2020/progress-spinner/index.mjs} +0 -0
  387. package/esm2020/progress-spinner/progress-spinner-module.mjs +36 -0
  388. package/esm2020/progress-spinner/progress-spinner.mjs +280 -0
  389. package/{esm2015/progress-spinner/public-api.js → esm2020/progress-spinner/public-api.mjs} +0 -0
  390. package/{esm2015/progress-spinner/testing/index.js → esm2020/progress-spinner/testing/index.mjs} +0 -0
  391. package/{esm2015/progress-spinner/testing/progress-spinner-harness-filters.js → esm2020/progress-spinner/testing/progress-spinner-harness-filters.mjs} +0 -0
  392. package/esm2020/progress-spinner/testing/progress-spinner-harness.mjs +35 -0
  393. package/{esm2015/progress-spinner/testing/public-api.js → esm2020/progress-spinner/testing/public-api.mjs} +0 -0
  394. package/{esm2015/radio/index.js → esm2020/radio/index.mjs} +0 -0
  395. package/{esm2015/radio/public-api.js → esm2020/radio/public-api.mjs} +0 -0
  396. package/esm2020/radio/radio-module.mjs +25 -0
  397. package/esm2020/radio/radio.mjs +570 -0
  398. package/{esm2015/radio/testing/index.js → esm2020/radio/testing/index.mjs} +0 -0
  399. package/{esm2015/radio/testing/public-api.js → esm2020/radio/testing/public-api.mjs} +0 -0
  400. package/{esm2015/radio/testing/radio-harness-filters.js → esm2020/radio/testing/radio-harness-filters.mjs} +0 -0
  401. package/esm2020/radio/testing/radio-harness.mjs +231 -0
  402. package/{esm2015/select/index.js → esm2020/select/index.mjs} +0 -0
  403. package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
  404. package/{esm2015/select/select-animations.js → esm2020/select/select-animations.mjs} +0 -0
  405. package/{esm2015/select/select-errors.js → esm2020/select/select-errors.mjs} +0 -0
  406. package/esm2020/select/select-module.mjs +58 -0
  407. package/esm2020/select/select.mjs +1188 -0
  408. package/{esm2015/select/testing/index.js → esm2020/select/testing/index.mjs} +0 -0
  409. package/{esm2015/select/testing/public-api.js → esm2020/select/testing/public-api.mjs} +0 -0
  410. package/{esm2015/select/testing/select-harness-filters.js → esm2020/select/testing/select-harness-filters.mjs} +0 -0
  411. package/esm2020/select/testing/select-harness.mjs +130 -0
  412. package/{esm2015/sidenav/drawer-animations.js → esm2020/sidenav/drawer-animations.mjs} +0 -0
  413. package/esm2020/sidenav/drawer.mjs +788 -0
  414. package/esm2020/sidenav/index.mjs +5 -0
  415. package/{esm2015/sidenav/public-api.js → esm2020/sidenav/public-api.mjs} +0 -0
  416. package/esm2020/sidenav/sidenav-module.mjs +71 -0
  417. package/esm2020/sidenav/sidenav.mjs +115 -0
  418. package/esm2020/sidenav/testing/drawer-container-harness.mjs +36 -0
  419. package/{esm2015/sidenav/testing/drawer-content-harness.js → esm2020/sidenav/testing/drawer-content-harness.mjs} +0 -0
  420. package/{esm2015/sidenav/testing/drawer-harness-filters.js → esm2020/sidenav/testing/drawer-harness-filters.mjs} +0 -0
  421. package/esm2020/sidenav/testing/drawer-harness.mjs +50 -0
  422. package/{esm2015/sidenav/testing/index.js → esm2020/sidenav/testing/index.mjs} +0 -0
  423. package/{esm2015/sidenav/testing/public-api.js → esm2020/sidenav/testing/public-api.mjs} +0 -0
  424. package/esm2020/sidenav/testing/sidenav-container-harness.mjs +36 -0
  425. package/{esm2015/sidenav/testing/sidenav-content-harness.js → esm2020/sidenav/testing/sidenav-content-harness.mjs} +0 -0
  426. package/esm2020/sidenav/testing/sidenav-harness.mjs +29 -0
  427. package/{esm2015/slide-toggle/index.js → esm2020/slide-toggle/index.mjs} +0 -0
  428. package/{esm2015/slide-toggle/public-api.js → esm2020/slide-toggle/public-api.mjs} +0 -0
  429. package/{esm2015/slide-toggle/slide-toggle-config.js → esm2020/slide-toggle/slide-toggle-config.mjs} +0 -0
  430. package/esm2020/slide-toggle/slide-toggle-module.mjs +57 -0
  431. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +36 -0
  432. package/esm2020/slide-toggle/slide-toggle.mjs +253 -0
  433. package/{esm2015/slide-toggle/testing/index.js → esm2020/slide-toggle/testing/index.mjs} +0 -0
  434. package/{esm2015/slide-toggle/testing/public-api.js → esm2020/slide-toggle/testing/public-api.mjs} +0 -0
  435. package/{esm2015/slide-toggle/testing/slide-toggle-harness-filters.js → esm2020/slide-toggle/testing/slide-toggle-harness-filters.mjs} +0 -0
  436. package/esm2020/slide-toggle/testing/slide-toggle-harness.mjs +110 -0
  437. package/{esm2015/slider/index.js → esm2020/slider/index.mjs} +0 -0
  438. package/{esm2015/slider/public-api.js → esm2020/slider/public-api.mjs} +0 -0
  439. package/esm2020/slider/slider-module.mjs +26 -0
  440. package/esm2020/slider/slider.mjs +801 -0
  441. package/{esm2015/slider/testing/index.js → esm2020/slider/testing/index.mjs} +0 -0
  442. package/{esm2015/slider/testing/public-api.js → esm2020/slider/testing/public-api.mjs} +0 -0
  443. package/{esm2015/slider/testing/slider-harness-filters.js → esm2020/slider/testing/slider-harness-filters.mjs} +0 -0
  444. package/esm2020/slider/testing/slider-harness.mjs +114 -0
  445. package/{esm2015/snack-bar/index.js → esm2020/snack-bar/index.mjs} +0 -0
  446. package/{esm2015/snack-bar/public-api.js → esm2020/snack-bar/public-api.mjs} +0 -0
  447. package/esm2020/snack-bar/simple-snack-bar.mjs +44 -0
  448. package/{esm2015/snack-bar/snack-bar-animations.js → esm2020/snack-bar/snack-bar-animations.mjs} +0 -0
  449. package/{esm2015/snack-bar/snack-bar-config.js → esm2020/snack-bar/snack-bar-config.mjs} +0 -0
  450. package/esm2020/snack-bar/snack-bar-container.mjs +205 -0
  451. package/esm2020/snack-bar/snack-bar-module.mjs +47 -0
  452. package/esm2020/snack-bar/snack-bar-ref.mjs +90 -0
  453. package/esm2020/snack-bar/snack-bar.mjs +265 -0
  454. package/{esm2015/snack-bar/testing/index.js → esm2020/snack-bar/testing/index.mjs} +0 -0
  455. package/{esm2015/snack-bar/testing/public-api.js → esm2020/snack-bar/testing/public-api.mjs} +0 -0
  456. package/{esm2015/snack-bar/testing/snack-bar-harness-filters.js → esm2020/snack-bar/testing/snack-bar-harness-filters.mjs} +0 -0
  457. package/esm2020/snack-bar/testing/snack-bar-harness.mjs +118 -0
  458. package/{esm2015/sort/index.js → esm2020/sort/index.mjs} +0 -0
  459. package/{esm2015/sort/public-api.js → esm2020/sort/public-api.mjs} +0 -0
  460. package/{esm2015/sort/sort-animations.js → esm2020/sort/sort-animations.mjs} +0 -0
  461. package/{esm2015/sort/sort-direction.js → esm2020/sort/sort-direction.mjs} +0 -0
  462. package/{esm2015/sort/sort-errors.js → esm2020/sort/sort-errors.mjs} +0 -0
  463. package/esm2020/sort/sort-header-intl.mjs +43 -0
  464. package/esm2020/sort/sort-header.mjs +275 -0
  465. package/esm2020/sort/sort-module.mjs +29 -0
  466. package/esm2020/sort/sort.mjs +154 -0
  467. package/{esm2015/sort/testing/index.js → esm2020/sort/testing/index.mjs} +0 -0
  468. package/{esm2015/sort/testing/public-api.js → esm2020/sort/testing/public-api.mjs} +0 -0
  469. package/{esm2015/sort/testing/sort-harness-filters.js → esm2020/sort/testing/sort-harness-filters.mjs} +0 -0
  470. package/esm2020/sort/testing/sort-harness.mjs +36 -0
  471. package/esm2020/sort/testing/sort-header-harness.mjs +56 -0
  472. package/{esm2015/stepper/index.js → esm2020/stepper/index.mjs} +0 -0
  473. package/{esm2015/stepper/public-api.js → esm2020/stepper/public-api.mjs} +0 -0
  474. package/esm2020/stepper/step-content.mjs +26 -0
  475. package/esm2020/stepper/step-header.mjs +110 -0
  476. package/esm2020/stepper/step-label.mjs +21 -0
  477. package/{esm2015/stepper/stepper-animations.js → esm2020/stepper/stepper-animations.mjs} +0 -0
  478. package/esm2020/stepper/stepper-button.mjs +43 -0
  479. package/esm2020/stepper/stepper-icon.mjs +29 -0
  480. package/esm2020/stepper/stepper-intl.mjs +43 -0
  481. package/esm2020/stepper/stepper-module.mjs +97 -0
  482. package/esm2020/stepper/stepper.mjs +213 -0
  483. package/{esm2015/stepper/testing/index.js → esm2020/stepper/testing/index.mjs} +0 -0
  484. package/{esm2015/stepper/testing/public-api.js → esm2020/stepper/testing/public-api.mjs} +0 -0
  485. package/{esm2015/stepper/testing/step-harness-filters.js → esm2020/stepper/testing/step-harness-filters.mjs} +0 -0
  486. package/esm2020/stepper/testing/step-harness.mjs +90 -0
  487. package/esm2020/stepper/testing/stepper-button-harnesses.mjs +50 -0
  488. package/esm2020/stepper/testing/stepper-harness.mjs +50 -0
  489. package/esm2020/table/cell.mjs +139 -0
  490. package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
  491. package/{esm2015/table/public-api.js → esm2020/table/public-api.mjs} +0 -0
  492. package/esm2020/table/row.mjs +139 -0
  493. package/esm2020/table/table-data-source.mjs +310 -0
  494. package/esm2020/table/table-module.mjs +101 -0
  495. package/esm2020/table/table.mjs +71 -0
  496. package/esm2020/table/testing/cell-harness.mjs +72 -0
  497. package/{esm2015/table/testing/index.js → esm2020/table/testing/index.mjs} +0 -0
  498. package/{esm2015/table/testing/public-api.js → esm2020/table/testing/public-api.mjs} +0 -0
  499. package/esm2020/table/testing/row-harness.mjs +84 -0
  500. package/{esm2015/table/testing/table-harness-filters.js → esm2020/table/testing/table-harness-filters.mjs} +0 -0
  501. package/esm2020/table/testing/table-harness.mjs +88 -0
  502. package/esm2020/table/text-column.mjs +58 -0
  503. package/esm2020/tabs/index.mjs +5 -0
  504. package/esm2020/tabs/ink-bar.mjs +93 -0
  505. package/esm2020/tabs/paginated-tab-header.mjs +480 -0
  506. package/esm2020/tabs/public-api.mjs +20 -0
  507. package/esm2020/tabs/tab-body.mjs +214 -0
  508. package/{esm2015/tabs/tab-config.js → esm2020/tabs/tab-config.mjs} +0 -0
  509. package/esm2020/tabs/tab-content.mjs +32 -0
  510. package/esm2020/tabs/tab-group.mjs +382 -0
  511. package/esm2020/tabs/tab-header.mjs +101 -0
  512. package/esm2020/tabs/tab-label-wrapper.mjs +41 -0
  513. package/esm2020/tabs/tab-label.mjs +43 -0
  514. package/{esm2015/tabs/tab-nav-bar/index.js → esm2020/tabs/tab-nav-bar/index.mjs} +0 -0
  515. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +263 -0
  516. package/esm2020/tabs/tab.mjs +106 -0
  517. package/{esm2015/tabs/tabs-animations.js → esm2020/tabs/tabs-animations.mjs} +0 -0
  518. package/esm2020/tabs/tabs-module.mjs +93 -0
  519. package/{esm2015/tabs/testing/index.js → esm2020/tabs/testing/index.mjs} +0 -0
  520. package/{esm2015/tabs/testing/public-api.js → esm2020/tabs/testing/public-api.mjs} +0 -0
  521. package/esm2020/tabs/testing/tab-group-harness.mjs +58 -0
  522. package/{esm2015/tabs/testing/tab-harness-filters.js → esm2020/tabs/testing/tab-harness-filters.mjs} +0 -0
  523. package/esm2020/tabs/testing/tab-harness.mjs +66 -0
  524. package/esm2020/tabs/testing/tab-link-harness.mjs +42 -0
  525. package/esm2020/tabs/testing/tab-nav-bar-harness.mjs +54 -0
  526. package/{esm2015/toolbar/index.js → esm2020/toolbar/index.mjs} +0 -0
  527. package/{esm2015/toolbar/public-api.js → esm2020/toolbar/public-api.mjs} +0 -0
  528. package/{esm2015/toolbar/testing/index.js → esm2020/toolbar/testing/index.mjs} +0 -0
  529. package/{esm2015/toolbar/testing/public-api.js → esm2020/toolbar/testing/public-api.mjs} +0 -0
  530. package/{esm2015/toolbar/testing/toolbar-harness-filters.js → esm2020/toolbar/testing/toolbar-harness-filters.mjs} +0 -0
  531. package/esm2020/toolbar/testing/toolbar-harness.mjs +40 -0
  532. package/esm2020/toolbar/toolbar-module.mjs +25 -0
  533. package/esm2020/toolbar/toolbar.mjs +88 -0
  534. package/{esm2015/tooltip/index.js → esm2020/tooltip/index.mjs} +0 -0
  535. package/{esm2015/tooltip/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
  536. package/{esm2015/tooltip/testing/index.js → esm2020/tooltip/testing/index.mjs} +0 -0
  537. package/{esm2015/tooltip/testing/public-api.js → esm2020/tooltip/testing/public-api.mjs} +0 -0
  538. package/{esm2015/tooltip/testing/tooltip-harness-filters.js → esm2020/tooltip/testing/tooltip-harness-filters.mjs} +0 -0
  539. package/esm2020/tooltip/testing/tooltip-harness.mjs +57 -0
  540. package/{esm2015/tooltip/tooltip-animations.js → esm2020/tooltip/tooltip-animations.mjs} +0 -0
  541. package/esm2020/tooltip/tooltip-module.mjs +44 -0
  542. package/esm2020/tooltip/tooltip.mjs +739 -0
  543. package/{esm2015/tree/data-source/flat-data-source.js → esm2020/tree/data-source/flat-data-source.mjs} +0 -0
  544. package/{esm2015/tree/data-source/nested-data-source.js → esm2020/tree/data-source/nested-data-source.mjs} +0 -0
  545. package/{esm2015/tree/index.js → esm2020/tree/index.mjs} +0 -0
  546. package/esm2020/tree/node.mjs +143 -0
  547. package/esm2020/tree/outlet.mjs +41 -0
  548. package/esm2020/tree/padding.mjs +37 -0
  549. package/{esm2015/tree/public-api.js → esm2020/tree/public-api.mjs} +0 -0
  550. package/{esm2015/tree/testing/index.js → esm2020/tree/testing/index.mjs} +0 -0
  551. package/esm2020/tree/testing/node-harness.mjs +69 -0
  552. package/{esm2015/tree/testing/public-api.js → esm2020/tree/testing/public-api.mjs} +0 -0
  553. package/{esm2015/tree/testing/tree-harness-filters.js → esm2020/tree/testing/tree-harness-filters.mjs} +0 -0
  554. package/esm2020/tree/testing/tree-harness.mjs +123 -0
  555. package/esm2020/tree/toggle.mjs +36 -0
  556. package/esm2020/tree/tree-module.mjs +51 -0
  557. package/esm2020/tree/tree.mjs +37 -0
  558. package/expansion/accordion.d.ts +3 -0
  559. package/expansion/expansion-module.d.ts +12 -7
  560. package/expansion/expansion-panel-content.d.ts +3 -0
  561. package/expansion/expansion-panel-header.d.ts +8 -1
  562. package/expansion/expansion-panel.d.ts +5 -0
  563. package/expansion/package.json +5 -5
  564. package/expansion/testing/package.json +5 -5
  565. package/fesm2015/autocomplete/testing.mjs +132 -0
  566. package/fesm2015/autocomplete/testing.mjs.map +1 -0
  567. package/fesm2015/autocomplete.mjs +958 -0
  568. package/fesm2015/autocomplete.mjs.map +1 -0
  569. package/fesm2015/badge/testing.mjs +97 -0
  570. package/fesm2015/badge/testing.mjs.map +1 -0
  571. package/fesm2015/badge.mjs +266 -0
  572. package/fesm2015/badge.mjs.map +1 -0
  573. package/fesm2015/bottom-sheet/testing.mjs +52 -0
  574. package/fesm2015/bottom-sheet/testing.mjs.map +1 -0
  575. package/fesm2015/bottom-sheet.mjs +596 -0
  576. package/fesm2015/bottom-sheet.mjs.map +1 -0
  577. package/fesm2015/button/testing.mjs +76 -0
  578. package/fesm2015/button/testing.mjs.map +1 -0
  579. package/fesm2015/button-toggle/testing.mjs +181 -0
  580. package/fesm2015/button-toggle/testing.mjs.map +1 -0
  581. package/fesm2015/button-toggle.mjs +502 -0
  582. package/fesm2015/button-toggle.mjs.map +1 -0
  583. package/fesm2015/button.mjs +202 -0
  584. package/fesm2015/button.mjs.map +1 -0
  585. package/fesm2015/card/testing.mjs +64 -0
  586. package/fesm2015/card/testing.mjs.map +1 -0
  587. package/fesm2015/card.mjs +322 -0
  588. package/fesm2015/card.mjs.map +1 -0
  589. package/fesm2015/checkbox/testing.mjs +168 -0
  590. package/fesm2015/checkbox/testing.mjs.map +1 -0
  591. package/fesm2015/checkbox.mjs +503 -0
  592. package/fesm2015/checkbox.mjs.map +1 -0
  593. package/fesm2015/chips/testing.mjs +423 -0
  594. package/fesm2015/chips/testing.mjs.map +1 -0
  595. package/fesm2015/chips.mjs +1354 -0
  596. package/fesm2015/chips.mjs.map +1 -0
  597. package/fesm2015/core/testing.mjs +120 -0
  598. package/fesm2015/core/testing.mjs.map +1 -0
  599. package/fesm2015/core.mjs +1719 -0
  600. package/fesm2015/core.mjs.map +1 -0
  601. package/fesm2015/datepicker/testing.mjs +635 -0
  602. package/fesm2015/datepicker/testing.mjs.map +1 -0
  603. package/fesm2015/datepicker.mjs +3948 -0
  604. package/fesm2015/datepicker.mjs.map +1 -0
  605. package/fesm2015/dialog/testing.mjs +119 -0
  606. package/fesm2015/dialog/testing.mjs.map +1 -0
  607. package/fesm2015/dialog.mjs +1155 -0
  608. package/fesm2015/dialog.mjs.map +1 -0
  609. package/fesm2015/divider/testing.mjs +39 -0
  610. package/fesm2015/divider/testing.mjs.map +1 -0
  611. package/fesm2015/divider.mjs +77 -0
  612. package/fesm2015/divider.mjs.map +1 -0
  613. package/fesm2015/expansion/testing.mjs +187 -0
  614. package/fesm2015/expansion/testing.mjs.map +1 -0
  615. package/fesm2015/expansion.mjs +641 -0
  616. package/fesm2015/expansion.mjs.map +1 -0
  617. package/fesm2015/form-field/testing/control.mjs +26 -0
  618. package/fesm2015/form-field/testing/control.mjs.map +1 -0
  619. package/fesm2015/form-field/testing.mjs +231 -0
  620. package/fesm2015/form-field/testing.mjs.map +1 -0
  621. package/fesm2015/form-field.mjs +814 -0
  622. package/fesm2015/form-field.mjs.map +1 -0
  623. package/fesm2015/grid-list/testing.mjs +161 -0
  624. package/fesm2015/grid-list/testing.mjs.map +1 -0
  625. package/fesm2015/grid-list.mjs +700 -0
  626. package/fesm2015/grid-list.mjs.map +1 -0
  627. package/fesm2015/icon/testing.mjs +163 -0
  628. package/fesm2015/icon/testing.mjs.map +1 -0
  629. package/fesm2015/icon.mjs +1016 -0
  630. package/fesm2015/icon.mjs.map +1 -0
  631. package/fesm2015/input/testing.mjs +281 -0
  632. package/fesm2015/input/testing.mjs.map +1 -0
  633. package/fesm2015/input.mjs +515 -0
  634. package/fesm2015/input.mjs.map +1 -0
  635. package/fesm2015/list/testing.mjs +486 -0
  636. package/fesm2015/list/testing.mjs.map +1 -0
  637. package/fesm2015/list.mjs +908 -0
  638. package/fesm2015/list.mjs.map +1 -0
  639. package/fesm2015/material.mjs +16 -0
  640. package/fesm2015/material.mjs.map +1 -0
  641. package/fesm2015/menu/testing.mjs +235 -0
  642. package/fesm2015/menu/testing.mjs.map +1 -0
  643. package/fesm2015/menu.mjs +1363 -0
  644. package/fesm2015/menu.mjs.map +1 -0
  645. package/fesm2015/paginator/testing.mjs +118 -0
  646. package/fesm2015/paginator/testing.mjs.map +1 -0
  647. package/fesm2015/paginator.mjs +387 -0
  648. package/fesm2015/paginator.mjs.map +1 -0
  649. package/fesm2015/progress-bar/testing.mjs +51 -0
  650. package/fesm2015/progress-bar/testing.mjs.map +1 -0
  651. package/fesm2015/progress-bar.mjs +225 -0
  652. package/fesm2015/progress-bar.mjs.map +1 -0
  653. package/fesm2015/progress-spinner/testing.mjs +52 -0
  654. package/fesm2015/progress-spinner/testing.mjs.map +1 -0
  655. package/fesm2015/progress-spinner.mjs +330 -0
  656. package/fesm2015/progress-spinner.mjs.map +1 -0
  657. package/fesm2015/radio/testing.mjs +284 -0
  658. package/fesm2015/radio/testing.mjs.map +1 -0
  659. package/fesm2015/radio.mjs +599 -0
  660. package/fesm2015/radio.mjs.map +1 -0
  661. package/fesm2015/select/testing.mjs +169 -0
  662. package/fesm2015/select/testing.mjs.map +1 -0
  663. package/fesm2015/select.mjs +1346 -0
  664. package/fesm2015/select.mjs.map +1 -0
  665. package/fesm2015/sidenav/testing.mjs +195 -0
  666. package/fesm2015/sidenav/testing.mjs.map +1 -0
  667. package/fesm2015/sidenav.mjs +1013 -0
  668. package/fesm2015/sidenav.mjs.map +1 -0
  669. package/fesm2015/slide-toggle/testing.mjs +151 -0
  670. package/fesm2015/slide-toggle/testing.mjs.map +1 -0
  671. package/fesm2015/slide-toggle.mjs +359 -0
  672. package/fesm2015/slide-toggle.mjs.map +1 -0
  673. package/fesm2015/slider/testing.mjs +153 -0
  674. package/fesm2015/slider/testing.mjs.map +1 -0
  675. package/fesm2015/slider.mjs +830 -0
  676. package/fesm2015/slider.mjs.map +1 -0
  677. package/fesm2015/snack-bar/testing.mjs +153 -0
  678. package/fesm2015/snack-bar/testing.mjs.map +1 -0
  679. package/fesm2015/snack-bar.mjs +698 -0
  680. package/fesm2015/snack-bar.mjs.map +1 -0
  681. package/fesm2015/sort/testing.mjs +110 -0
  682. package/fesm2015/sort/testing.mjs.map +1 -0
  683. package/fesm2015/sort.mjs +605 -0
  684. package/fesm2015/sort.mjs.map +1 -0
  685. package/fesm2015/stepper/testing.mjs +216 -0
  686. package/fesm2015/stepper/testing.mjs.map +1 -0
  687. package/fesm2015/stepper.mjs +579 -0
  688. package/fesm2015/stepper.mjs.map +1 -0
  689. package/fesm2015/table/testing.mjs +259 -0
  690. package/fesm2015/table/testing.mjs.map +1 -0
  691. package/fesm2015/table.mjs +817 -0
  692. package/fesm2015/table.mjs.map +1 -0
  693. package/fesm2015/tabs/testing.mjs +245 -0
  694. package/fesm2015/tabs/testing.mjs.map +1 -0
  695. package/fesm2015/tabs.mjs +1846 -0
  696. package/fesm2015/tabs.mjs.map +1 -0
  697. package/fesm2015/toolbar/testing.mjs +59 -0
  698. package/fesm2015/toolbar/testing.mjs.map +1 -0
  699. package/fesm2015/toolbar.mjs +118 -0
  700. package/fesm2015/toolbar.mjs.map +1 -0
  701. package/fesm2015/tooltip/testing.mjs +80 -0
  702. package/fesm2015/tooltip/testing.mjs.map +1 -0
  703. package/fesm2015/tooltip.mjs +820 -0
  704. package/fesm2015/tooltip.mjs.map +1 -0
  705. package/fesm2015/tree/testing.mjs +215 -0
  706. package/fesm2015/tree/testing.mjs.map +1 -0
  707. package/fesm2015/tree.mjs +520 -0
  708. package/fesm2015/tree.mjs.map +1 -0
  709. package/fesm2020/autocomplete/testing.mjs +128 -0
  710. package/fesm2020/autocomplete/testing.mjs.map +1 -0
  711. package/fesm2020/autocomplete.mjs +958 -0
  712. package/fesm2020/autocomplete.mjs.map +1 -0
  713. package/fesm2020/badge/testing.mjs +99 -0
  714. package/fesm2020/badge/testing.mjs.map +1 -0
  715. package/fesm2020/badge.mjs +271 -0
  716. package/fesm2020/badge.mjs.map +1 -0
  717. package/fesm2020/bottom-sheet/testing.mjs +62 -0
  718. package/fesm2020/bottom-sheet/testing.mjs.map +1 -0
  719. package/fesm2020/bottom-sheet.mjs +592 -0
  720. package/fesm2020/bottom-sheet.mjs.map +1 -0
  721. package/fesm2020/button/testing.mjs +78 -0
  722. package/fesm2020/button/testing.mjs.map +1 -0
  723. package/fesm2020/button-toggle/testing.mjs +176 -0
  724. package/fesm2020/button-toggle/testing.mjs.map +1 -0
  725. package/fesm2020/button-toggle.mjs +505 -0
  726. package/fesm2020/button-toggle.mjs.map +1 -0
  727. package/fesm2020/button.mjs +205 -0
  728. package/fesm2020/button.mjs.map +1 -0
  729. package/fesm2020/card/testing.mjs +70 -0
  730. package/fesm2020/card/testing.mjs.map +1 -0
  731. package/fesm2020/card.mjs +320 -0
  732. package/fesm2020/card.mjs.map +1 -0
  733. package/fesm2020/checkbox/testing.mjs +150 -0
  734. package/fesm2020/checkbox/testing.mjs.map +1 -0
  735. package/fesm2020/checkbox.mjs +507 -0
  736. package/fesm2020/checkbox.mjs.map +1 -0
  737. package/fesm2020/chips/testing.mjs +398 -0
  738. package/fesm2020/chips/testing.mjs.map +1 -0
  739. package/fesm2020/chips.mjs +1346 -0
  740. package/fesm2020/chips.mjs.map +1 -0
  741. package/fesm2020/core/testing.mjs +131 -0
  742. package/fesm2020/core/testing.mjs.map +1 -0
  743. package/fesm2020/core.mjs +1731 -0
  744. package/fesm2020/core.mjs.map +1 -0
  745. package/fesm2020/datepicker/testing.mjs +572 -0
  746. package/fesm2020/datepicker/testing.mjs.map +1 -0
  747. package/fesm2020/datepicker.mjs +3921 -0
  748. package/fesm2020/datepicker.mjs.map +1 -0
  749. package/fesm2020/dialog/testing.mjs +110 -0
  750. package/fesm2020/dialog/testing.mjs.map +1 -0
  751. package/fesm2020/dialog.mjs +1147 -0
  752. package/fesm2020/dialog.mjs.map +1 -0
  753. package/fesm2020/divider/testing.mjs +49 -0
  754. package/fesm2020/divider/testing.mjs.map +1 -0
  755. package/fesm2020/divider.mjs +77 -0
  756. package/fesm2020/divider.mjs.map +1 -0
  757. package/fesm2020/expansion/testing.mjs +176 -0
  758. package/fesm2020/expansion/testing.mjs.map +1 -0
  759. package/fesm2020/expansion.mjs +644 -0
  760. package/fesm2020/expansion.mjs.map +1 -0
  761. package/fesm2020/form-field/testing/control.mjs +26 -0
  762. package/fesm2020/form-field/testing/control.mjs.map +1 -0
  763. package/fesm2020/form-field/testing.mjs +209 -0
  764. package/fesm2020/form-field/testing.mjs.map +1 -0
  765. package/fesm2020/form-field.mjs +817 -0
  766. package/fesm2020/form-field.mjs.map +1 -0
  767. package/fesm2020/grid-list/testing.mjs +162 -0
  768. package/fesm2020/grid-list/testing.mjs.map +1 -0
  769. package/fesm2020/grid-list.mjs +696 -0
  770. package/fesm2020/grid-list.mjs.map +1 -0
  771. package/fesm2020/icon/testing.mjs +169 -0
  772. package/fesm2020/icon/testing.mjs.map +1 -0
  773. package/fesm2020/icon.mjs +1010 -0
  774. package/fesm2020/icon.mjs.map +1 -0
  775. package/fesm2020/input/testing.mjs +265 -0
  776. package/fesm2020/input/testing.mjs.map +1 -0
  777. package/fesm2020/input.mjs +512 -0
  778. package/fesm2020/input.mjs.map +1 -0
  779. package/fesm2020/list/testing.mjs +464 -0
  780. package/fesm2020/list/testing.mjs.map +1 -0
  781. package/fesm2020/list.mjs +901 -0
  782. package/fesm2020/list.mjs.map +1 -0
  783. package/fesm2020/material.mjs +16 -0
  784. package/fesm2020/material.mjs.map +1 -0
  785. package/fesm2020/menu/testing.mjs +210 -0
  786. package/fesm2020/menu/testing.mjs.map +1 -0
  787. package/fesm2020/menu.mjs +1365 -0
  788. package/fesm2020/menu.mjs.map +1 -0
  789. package/fesm2020/paginator/testing.mjs +118 -0
  790. package/fesm2020/paginator/testing.mjs.map +1 -0
  791. package/fesm2020/paginator.mjs +385 -0
  792. package/fesm2020/paginator.mjs.map +1 -0
  793. package/fesm2020/progress-bar/testing.mjs +61 -0
  794. package/fesm2020/progress-bar/testing.mjs.map +1 -0
  795. package/fesm2020/progress-bar.mjs +223 -0
  796. package/fesm2020/progress-bar.mjs.map +1 -0
  797. package/fesm2020/progress-spinner/testing.mjs +62 -0
  798. package/fesm2020/progress-spinner/testing.mjs.map +1 -0
  799. package/fesm2020/progress-spinner.mjs +326 -0
  800. package/fesm2020/progress-spinner.mjs.map +1 -0
  801. package/fesm2020/radio/testing.mjs +258 -0
  802. package/fesm2020/radio/testing.mjs.map +1 -0
  803. package/fesm2020/radio.mjs +604 -0
  804. package/fesm2020/radio.mjs.map +1 -0
  805. package/fesm2020/select/testing.mjs +157 -0
  806. package/fesm2020/select/testing.mjs.map +1 -0
  807. package/fesm2020/select.mjs +1338 -0
  808. package/fesm2020/select.mjs.map +1 -0
  809. package/fesm2020/sidenav/testing.mjs +214 -0
  810. package/fesm2020/sidenav/testing.mjs.map +1 -0
  811. package/fesm2020/sidenav.mjs +1004 -0
  812. package/fesm2020/sidenav.mjs.map +1 -0
  813. package/fesm2020/slide-toggle/testing.mjs +137 -0
  814. package/fesm2020/slide-toggle/testing.mjs.map +1 -0
  815. package/fesm2020/slide-toggle.mjs +364 -0
  816. package/fesm2020/slide-toggle.mjs.map +1 -0
  817. package/fesm2020/slider/testing.mjs +133 -0
  818. package/fesm2020/slider/testing.mjs.map +1 -0
  819. package/fesm2020/slider.mjs +835 -0
  820. package/fesm2020/slider.mjs.map +1 -0
  821. package/fesm2020/snack-bar/testing.mjs +145 -0
  822. package/fesm2020/snack-bar/testing.mjs.map +1 -0
  823. package/fesm2020/snack-bar.mjs +701 -0
  824. package/fesm2020/snack-bar.mjs.map +1 -0
  825. package/fesm2020/sort/testing.mjs +109 -0
  826. package/fesm2020/sort/testing.mjs.map +1 -0
  827. package/fesm2020/sort.mjs +609 -0
  828. package/fesm2020/sort.mjs.map +1 -0
  829. package/fesm2020/stepper/testing.mjs +206 -0
  830. package/fesm2020/stepper/testing.mjs.map +1 -0
  831. package/fesm2020/stepper.mjs +589 -0
  832. package/fesm2020/stepper.mjs.map +1 -0
  833. package/fesm2020/table/testing.mjs +259 -0
  834. package/fesm2020/table/testing.mjs.map +1 -0
  835. package/fesm2020/table.mjs +814 -0
  836. package/fesm2020/table.mjs.map +1 -0
  837. package/fesm2020/tabs/testing.mjs +234 -0
  838. package/fesm2020/tabs/testing.mjs.map +1 -0
  839. package/fesm2020/tabs.mjs +1829 -0
  840. package/fesm2020/tabs.mjs.map +1 -0
  841. package/fesm2020/toolbar/testing.mjs +67 -0
  842. package/fesm2020/toolbar/testing.mjs.map +1 -0
  843. package/fesm2020/toolbar.mjs +123 -0
  844. package/fesm2020/toolbar.mjs.map +1 -0
  845. package/fesm2020/tooltip/testing.mjs +84 -0
  846. package/fesm2020/tooltip/testing.mjs.map +1 -0
  847. package/fesm2020/tooltip.mjs +815 -0
  848. package/fesm2020/tooltip.mjs.map +1 -0
  849. package/fesm2020/tree/testing.mjs +217 -0
  850. package/fesm2020/tree/testing.mjs.map +1 -0
  851. package/fesm2020/tree.mjs +514 -0
  852. package/fesm2020/tree.mjs.map +1 -0
  853. package/form-field/error.d.ts +3 -0
  854. package/form-field/form-field-control.d.ts +3 -0
  855. package/form-field/form-field-module.d.ts +14 -7
  856. package/form-field/form-field.d.ts +4 -1
  857. package/form-field/hint.d.ts +3 -0
  858. package/form-field/label.d.ts +3 -7
  859. package/form-field/package.json +5 -5
  860. package/form-field/placeholder.d.ts +3 -7
  861. package/form-field/prefix.d.ts +3 -0
  862. package/form-field/suffix.d.ts +3 -0
  863. package/form-field/testing/control/package.json +5 -5
  864. package/form-field/testing/package.json +5 -5
  865. package/grid-list/grid-list-module.d.ts +7 -7
  866. package/grid-list/grid-list.d.ts +3 -0
  867. package/grid-list/grid-tile.d.ts +11 -0
  868. package/grid-list/index.d.ts +0 -1
  869. package/grid-list/package.json +5 -5
  870. package/grid-list/testing/package.json +5 -5
  871. package/icon/icon-module.d.ts +6 -7
  872. package/icon/icon-registry.d.ts +3 -7
  873. package/icon/icon.d.ts +4 -1
  874. package/icon/package.json +5 -5
  875. package/icon/testing/fake-icon-registry.d.ts +6 -0
  876. package/icon/testing/package.json +5 -5
  877. package/input/input-module.d.ts +8 -7
  878. package/input/input.d.ts +4 -1
  879. package/input/package.json +5 -5
  880. package/input/public-api.d.ts +0 -1
  881. package/input/testing/package.json +5 -5
  882. package/list/list-module.d.ts +9 -7
  883. package/list/list.d.ts +15 -2
  884. package/list/package.json +5 -5
  885. package/list/selection-list.d.ts +7 -2
  886. package/list/testing/package.json +5 -5
  887. package/menu/index.d.ts +0 -2
  888. package/menu/menu-content.d.ts +11 -11
  889. package/menu/menu-item.d.ts +4 -1
  890. package/menu/menu-module.d.ts +12 -13
  891. package/menu/menu-trigger.d.ts +12 -2
  892. package/menu/menu.d.ts +5 -0
  893. package/menu/package.json +5 -5
  894. package/menu/public-api.d.ts +1 -1
  895. package/menu/testing/package.json +5 -5
  896. package/package.json +612 -8
  897. package/paginator/package.json +5 -5
  898. package/paginator/paginator-intl.d.ts +3 -0
  899. package/paginator/paginator-module.d.ts +10 -7
  900. package/paginator/paginator.d.ts +6 -1
  901. package/paginator/testing/package.json +5 -5
  902. package/prebuilt-themes/deeppurple-amber.css +1 -1
  903. package/prebuilt-themes/indigo-pink.css +1 -1
  904. package/prebuilt-themes/pink-bluegrey.css +1 -1
  905. package/prebuilt-themes/purple-green.css +1 -1
  906. package/progress-bar/package.json +5 -5
  907. package/progress-bar/progress-bar-module.d.ts +7 -7
  908. package/progress-bar/progress-bar.d.ts +4 -1
  909. package/progress-bar/testing/package.json +5 -5
  910. package/progress-spinner/package.json +5 -5
  911. package/progress-spinner/progress-spinner-module.d.ts +7 -0
  912. package/progress-spinner/progress-spinner.d.ts +6 -1
  913. package/progress-spinner/testing/package.json +5 -5
  914. package/radio/package.json +5 -5
  915. package/radio/radio-module.d.ts +6 -7
  916. package/radio/radio.d.ts +10 -1
  917. package/radio/testing/package.json +5 -5
  918. package/schematics/ng-add/fonts/material-fonts.js +8 -17
  919. package/schematics/ng-add/fonts/material-fonts.mjs +8 -17
  920. package/schematics/ng-add/index.js +8 -8
  921. package/schematics/ng-add/index.mjs +8 -8
  922. package/schematics/ng-add/setup-project.js +23 -32
  923. package/schematics/ng-add/setup-project.mjs +23 -32
  924. package/schematics/ng-add/theming/create-custom-theme.js +2 -2
  925. package/schematics/ng-add/theming/create-custom-theme.mjs +2 -2
  926. package/schematics/ng-add/theming/theming.js +35 -46
  927. package/schematics/ng-add/theming/theming.mjs +35 -46
  928. package/schematics/ng-generate/address-form/index.js +13 -22
  929. package/schematics/ng-generate/address-form/index.mjs +13 -22
  930. package/schematics/ng-generate/dashboard/index.js +13 -22
  931. package/schematics/ng-generate/dashboard/index.mjs +13 -22
  932. package/schematics/ng-generate/navigation/index.js +13 -22
  933. package/schematics/ng-generate/navigation/index.mjs +13 -22
  934. package/schematics/ng-generate/table/index.js +10 -19
  935. package/schematics/ng-generate/table/index.mjs +10 -19
  936. package/schematics/ng-generate/tree/index.js +10 -19
  937. package/schematics/ng-generate/tree/index.mjs +10 -19
  938. package/schematics/ng-update/data/constructor-checks.js +5 -1
  939. package/schematics/ng-update/data/constructor-checks.mjs +5 -1
  940. package/schematics/ng-update/index.js +9 -9
  941. package/schematics/ng-update/index.mjs +9 -9
  942. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.js +24 -24
  943. package/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.mjs +24 -24
  944. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.js +5 -5
  945. package/schematics/ng-update/migrations/hammer-gestures-v9/import-manager.mjs +5 -5
  946. package/schematics/ng-update/migrations/misc-checks/misc-class-inheritance.js +2 -2
  947. package/schematics/ng-update/migrations/misc-checks/misc-class-inheritance.mjs +2 -2
  948. package/schematics/ng-update/migrations/misc-checks/misc-imports.js +2 -2
  949. package/schematics/ng-update/migrations/misc-checks/misc-imports.mjs +2 -2
  950. package/schematics/ng-update/migrations/misc-checks/misc-template.js +4 -4
  951. package/schematics/ng-update/migrations/misc-checks/misc-template.mjs +4 -4
  952. package/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.js +7 -7
  953. package/schematics/ng-update/migrations/misc-ripples-v7/ripple-speed-factor-migration.mjs +7 -7
  954. package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.js +2 -3
  955. package/schematics/ng-update/migrations/package-imports-v8/secondary-entry-points-migration.mjs +2 -3
  956. package/schematics/ng-update/migrations/theming-api-v12/migration.d.ts +6 -6
  957. package/schematics/ng-update/migrations/theming-api-v12/migration.js +12 -12
  958. package/schematics/ng-update/migrations/theming-api-v12/migration.mjs +12 -12
  959. package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.js +3 -3
  960. package/schematics/ng-update/migrations/theming-api-v12/theming-api-migration.mjs +3 -3
  961. package/schematics/ng-update/typescript/module-specifiers.js +3 -3
  962. package/schematics/ng-update/typescript/module-specifiers.mjs +3 -3
  963. package/schematics/package.json +3 -0
  964. package/schematics/paths.js +3 -3
  965. package/schematics/paths.mjs +3 -3
  966. package/select/package.json +5 -5
  967. package/select/select-module.d.ts +10 -7
  968. package/select/select.d.ts +8 -1
  969. package/select/testing/package.json +5 -5
  970. package/sidenav/drawer.d.ts +7 -0
  971. package/sidenav/index.d.ts +0 -1
  972. package/sidenav/package.json +5 -5
  973. package/sidenav/sidenav-module.d.ts +10 -0
  974. package/sidenav/sidenav.d.ts +7 -0
  975. package/sidenav/testing/package.json +5 -5
  976. package/slide-toggle/package.json +5 -5
  977. package/slide-toggle/slide-toggle-module.d.ts +11 -7
  978. package/slide-toggle/slide-toggle-required-validator.d.ts +3 -0
  979. package/slide-toggle/slide-toggle.d.ts +4 -1
  980. package/slide-toggle/testing/package.json +5 -5
  981. package/slider/package.json +5 -5
  982. package/slider/slider-module.d.ts +7 -7
  983. package/slider/slider.d.ts +4 -1
  984. package/slider/testing/package.json +5 -5
  985. package/snack-bar/package.json +5 -5
  986. package/snack-bar/simple-snack-bar.d.ts +3 -7
  987. package/snack-bar/snack-bar-container.d.ts +3 -0
  988. package/snack-bar/snack-bar-module.d.ts +11 -7
  989. package/snack-bar/snack-bar.d.ts +3 -0
  990. package/snack-bar/testing/package.json +5 -5
  991. package/snack-bar/testing/snack-bar-harness.d.ts +8 -9
  992. package/sort/package.json +5 -5
  993. package/sort/sort-header-intl.d.ts +3 -0
  994. package/sort/sort-header.d.ts +4 -1
  995. package/sort/sort-module.d.ts +8 -7
  996. package/sort/sort.d.ts +4 -1
  997. package/sort/testing/package.json +5 -5
  998. package/stepper/package.json +5 -5
  999. package/stepper/step-content.d.ts +3 -0
  1000. package/stepper/step-header.d.ts +6 -1
  1001. package/stepper/step-label.d.ts +3 -7
  1002. package/stepper/stepper-button.d.ts +5 -0
  1003. package/stepper/stepper-icon.d.ts +3 -0
  1004. package/stepper/stepper-intl.d.ts +7 -0
  1005. package/stepper/stepper-module.d.ts +16 -7
  1006. package/stepper/stepper.d.ts +11 -0
  1007. package/stepper/testing/package.json +5 -5
  1008. package/table/cell.d.ts +15 -7
  1009. package/table/package.json +5 -5
  1010. package/table/row.d.ts +15 -0
  1011. package/table/table-module.d.ts +10 -7
  1012. package/table/table.d.ts +5 -0
  1013. package/table/testing/package.json +5 -5
  1014. package/table/text-column.d.ts +3 -0
  1015. package/tabs/index.d.ts +0 -4
  1016. package/tabs/ink-bar.d.ts +3 -0
  1017. package/tabs/package.json +5 -5
  1018. package/tabs/paginated-tab-header.d.ts +3 -0
  1019. package/tabs/public-api.d.ts +1 -1
  1020. package/tabs/tab-body.d.ts +7 -0
  1021. package/tabs/tab-content.d.ts +3 -0
  1022. package/tabs/tab-group.d.ts +6 -1
  1023. package/tabs/tab-header.d.ts +5 -0
  1024. package/tabs/tab-label-wrapper.d.ts +4 -1
  1025. package/tabs/tab-label.d.ts +11 -1
  1026. package/tabs/tab-nav-bar/tab-nav-bar.d.ts +10 -1
  1027. package/tabs/tab.d.ts +5 -2
  1028. package/tabs/tabs-module.d.ts +18 -7
  1029. package/tabs/testing/package.json +5 -5
  1030. package/toolbar/package.json +5 -5
  1031. package/toolbar/testing/package.json +5 -5
  1032. package/toolbar/toolbar-module.d.ts +6 -7
  1033. package/toolbar/toolbar.d.ts +6 -1
  1034. package/tooltip/package.json +5 -5
  1035. package/tooltip/testing/package.json +5 -5
  1036. package/tooltip/tooltip-module.d.ts +10 -7
  1037. package/tooltip/tooltip.d.ts +11 -2
  1038. package/tree/node.d.ts +8 -1
  1039. package/tree/outlet.d.ts +3 -0
  1040. package/tree/package.json +5 -5
  1041. package/tree/padding.d.ts +3 -0
  1042. package/tree/testing/package.json +5 -5
  1043. package/tree/toggle.d.ts +3 -7
  1044. package/tree/tree-module.d.ts +11 -7
  1045. package/tree/tree.d.ts +3 -0
  1046. package/autocomplete/index.metadata.json +0 -1
  1047. package/badge/index.metadata.json +0 -1
  1048. package/bottom-sheet/index.metadata.json +0 -1
  1049. package/bundles/material-autocomplete-testing.umd.js +0 -564
  1050. package/bundles/material-autocomplete-testing.umd.js.map +0 -1
  1051. package/bundles/material-autocomplete.umd.js +0 -1266
  1052. package/bundles/material-autocomplete.umd.js.map +0 -1
  1053. package/bundles/material-badge-testing.umd.js +0 -474
  1054. package/bundles/material-badge-testing.umd.js.map +0 -1
  1055. package/bundles/material-badge.umd.js +0 -606
  1056. package/bundles/material-badge.umd.js.map +0 -1
  1057. package/bundles/material-bottom-sheet-testing.umd.js +0 -396
  1058. package/bundles/material-bottom-sheet-testing.umd.js.map +0 -1
  1059. package/bundles/material-bottom-sheet.umd.js +0 -955
  1060. package/bundles/material-bottom-sheet.umd.js.map +0 -1
  1061. package/bundles/material-button-testing.umd.js +0 -444
  1062. package/bundles/material-button-testing.umd.js.map +0 -1
  1063. package/bundles/material-button-toggle-testing.umd.js +0 -628
  1064. package/bundles/material-button-toggle-testing.umd.js.map +0 -1
  1065. package/bundles/material-button-toggle.umd.js +0 -850
  1066. package/bundles/material-button-toggle.umd.js.map +0 -1
  1067. package/bundles/material-button.umd.js +0 -545
  1068. package/bundles/material-button.umd.js.map +0 -1
  1069. package/bundles/material-card-testing.umd.js +0 -408
  1070. package/bundles/material-card-testing.umd.js.map +0 -1
  1071. package/bundles/material-card.umd.js +0 -337
  1072. package/bundles/material-card.umd.js.map +0 -1
  1073. package/bundles/material-checkbox-testing.umd.js +0 -615
  1074. package/bundles/material-checkbox-testing.umd.js.map +0 -1
  1075. package/bundles/material-checkbox.umd.js +0 -829
  1076. package/bundles/material-checkbox.umd.js.map +0 -1
  1077. package/bundles/material-chips-testing.umd.js +0 -1023
  1078. package/bundles/material-chips-testing.umd.js.map +0 -1
  1079. package/bundles/material-chips.umd.js +0 -1753
  1080. package/bundles/material-chips.umd.js.map +0 -1
  1081. package/bundles/material-core-testing.umd.js +0 -518
  1082. package/bundles/material-core-testing.umd.js.map +0 -1
  1083. package/bundles/material-core.umd.js +0 -2186
  1084. package/bundles/material-core.umd.js.map +0 -1
  1085. package/bundles/material-datepicker-testing.umd.js +0 -1366
  1086. package/bundles/material-datepicker-testing.umd.js.map +0 -1
  1087. package/bundles/material-datepicker.umd.js +0 -4344
  1088. package/bundles/material-datepicker.umd.js.map +0 -1
  1089. package/bundles/material-dialog-testing.umd.js +0 -500
  1090. package/bundles/material-dialog-testing.umd.js.map +0 -1
  1091. package/bundles/material-dialog.umd.js +0 -1487
  1092. package/bundles/material-dialog.umd.js.map +0 -1
  1093. package/bundles/material-divider-testing.umd.js +0 -380
  1094. package/bundles/material-divider-testing.umd.js.map +0 -1
  1095. package/bundles/material-divider.umd.js +0 -95
  1096. package/bundles/material-divider.umd.js.map +0 -1
  1097. package/bundles/material-expansion-testing.umd.js +0 -627
  1098. package/bundles/material-expansion-testing.umd.js.map +0 -1
  1099. package/bundles/material-expansion.umd.js +0 -949
  1100. package/bundles/material-expansion.umd.js.map +0 -1
  1101. package/bundles/material-form-field-testing-control.umd.js +0 -350
  1102. package/bundles/material-form-field-testing-control.umd.js.map +0 -1
  1103. package/bundles/material-form-field-testing.umd.js +0 -708
  1104. package/bundles/material-form-field-testing.umd.js.map +0 -1
  1105. package/bundles/material-form-field.umd.js +0 -1131
  1106. package/bundles/material-form-field.umd.js.map +0 -1
  1107. package/bundles/material-grid-list-testing.umd.js +0 -566
  1108. package/bundles/material-grid-list-testing.umd.js.map +0 -1
  1109. package/bundles/material-grid-list.umd.js +0 -1070
  1110. package/bundles/material-grid-list.umd.js.map +0 -1
  1111. package/bundles/material-icon-testing.umd.js +0 -527
  1112. package/bundles/material-icon-testing.umd.js.map +0 -1
  1113. package/bundles/material-icon.umd.js +0 -1391
  1114. package/bundles/material-icon.umd.js.map +0 -1
  1115. package/bundles/material-input-testing.umd.js +0 -806
  1116. package/bundles/material-input-testing.umd.js.map +0 -1
  1117. package/bundles/material-input.umd.js +0 -875
  1118. package/bundles/material-input.umd.js.map +0 -1
  1119. package/bundles/material-list-testing.umd.js +0 -1092
  1120. package/bundles/material-list-testing.umd.js.map +0 -1
  1121. package/bundles/material-list.umd.js +0 -1284
  1122. package/bundles/material-list.umd.js.map +0 -1
  1123. package/bundles/material-menu-testing.umd.js +0 -722
  1124. package/bundles/material-menu-testing.umd.js.map +0 -1
  1125. package/bundles/material-menu.umd.js +0 -1661
  1126. package/bundles/material-menu.umd.js.map +0 -1
  1127. package/bundles/material-paginator-testing.umd.js +0 -504
  1128. package/bundles/material-paginator-testing.umd.js.map +0 -1
  1129. package/bundles/material-paginator.umd.js +0 -746
  1130. package/bundles/material-paginator.umd.js.map +0 -1
  1131. package/bundles/material-progress-bar-testing.umd.js +0 -395
  1132. package/bundles/material-progress-bar-testing.umd.js.map +0 -1
  1133. package/bundles/material-progress-bar.umd.js +0 -546
  1134. package/bundles/material-progress-bar.umd.js.map +0 -1
  1135. package/bundles/material-progress-spinner-testing.umd.js +0 -399
  1136. package/bundles/material-progress-spinner-testing.umd.js.map +0 -1
  1137. package/bundles/material-progress-spinner.umd.js +0 -631
  1138. package/bundles/material-progress-spinner.umd.js.map +0 -1
  1139. package/bundles/material-radio-testing.umd.js +0 -812
  1140. package/bundles/material-radio-testing.umd.js.map +0 -1
  1141. package/bundles/material-radio.umd.js +0 -971
  1142. package/bundles/material-radio.umd.js.map +0 -1
  1143. package/bundles/material-select-testing.umd.js +0 -620
  1144. package/bundles/material-select-testing.umd.js.map +0 -1
  1145. package/bundles/material-select.umd.js +0 -1665
  1146. package/bundles/material-select.umd.js.map +0 -1
  1147. package/bundles/material-sidenav-testing.umd.js +0 -603
  1148. package/bundles/material-sidenav-testing.umd.js.map +0 -1
  1149. package/bundles/material-sidenav.umd.js +0 -1368
  1150. package/bundles/material-sidenav.umd.js.map +0 -1
  1151. package/bundles/material-slide-toggle-testing.umd.js +0 -582
  1152. package/bundles/material-slide-toggle-testing.umd.js.map +0 -1
  1153. package/bundles/material-slide-toggle.umd.js +0 -670
  1154. package/bundles/material-slide-toggle.umd.js.map +0 -1
  1155. package/bundles/material-slider-testing.umd.js +0 -587
  1156. package/bundles/material-slider-testing.umd.js.map +0 -1
  1157. package/bundles/material-slider.umd.js +0 -1186
  1158. package/bundles/material-slider.umd.js.map +0 -1
  1159. package/bundles/material-snack-bar-testing.umd.js +0 -554
  1160. package/bundles/material-snack-bar-testing.umd.js.map +0 -1
  1161. package/bundles/material-snack-bar.umd.js +0 -1076
  1162. package/bundles/material-snack-bar.umd.js.map +0 -1
  1163. package/bundles/material-sort-testing.umd.js +0 -493
  1164. package/bundles/material-sort-testing.umd.js.map +0 -1
  1165. package/bundles/material-sort.umd.js +0 -943
  1166. package/bundles/material-sort.umd.js.map +0 -1
  1167. package/bundles/material-stepper-testing.umd.js +0 -703
  1168. package/bundles/material-stepper-testing.umd.js.map +0 -1
  1169. package/bundles/material-stepper.umd.js +0 -893
  1170. package/bundles/material-stepper.umd.js.map +0 -1
  1171. package/bundles/material-table-testing.umd.js +0 -700
  1172. package/bundles/material-table-testing.umd.js.map +0 -1
  1173. package/bundles/material-table.umd.js +0 -1121
  1174. package/bundles/material-table.umd.js.map +0 -1
  1175. package/bundles/material-tabs-testing.umd.js +0 -744
  1176. package/bundles/material-tabs-testing.umd.js.map +0 -1
  1177. package/bundles/material-tabs.umd.js +0 -2169
  1178. package/bundles/material-tabs.umd.js.map +0 -1
  1179. package/bundles/material-toolbar-testing.umd.js +0 -406
  1180. package/bundles/material-toolbar-testing.umd.js.map +0 -1
  1181. package/bundles/material-toolbar.umd.js +0 -454
  1182. package/bundles/material-toolbar.umd.js.map +0 -1
  1183. package/bundles/material-tooltip-testing.umd.js +0 -460
  1184. package/bundles/material-tooltip-testing.umd.js.map +0 -1
  1185. package/bundles/material-tooltip.umd.js +0 -1170
  1186. package/bundles/material-tooltip.umd.js.map +0 -1
  1187. package/bundles/material-tree-testing.umd.js +0 -636
  1188. package/bundles/material-tree-testing.umd.js.map +0 -1
  1189. package/bundles/material-tree.umd.js +0 -837
  1190. package/bundles/material-tree.umd.js.map +0 -1
  1191. package/bundles/material.umd.js +0 -26
  1192. package/bundles/material.umd.js.map +0 -1
  1193. package/button/index.metadata.json +0 -1
  1194. package/button-toggle/index.metadata.json +0 -1
  1195. package/card/index.metadata.json +0 -1
  1196. package/checkbox/index.metadata.json +0 -1
  1197. package/chips/index.metadata.json +0 -1
  1198. package/core/index.metadata.json +0 -1
  1199. package/datepicker/index.metadata.json +0 -1
  1200. package/dialog/index.metadata.json +0 -1
  1201. package/divider/index.metadata.json +0 -1
  1202. package/esm2015/autocomplete/autocomplete-module.js +0 -38
  1203. package/esm2015/autocomplete/autocomplete-origin.js +0 -35
  1204. package/esm2015/autocomplete/autocomplete-trigger.js +0 -627
  1205. package/esm2015/autocomplete/autocomplete.externs.js +0 -6
  1206. package/esm2015/autocomplete/autocomplete.js +0 -202
  1207. package/esm2015/autocomplete/testing/autocomplete-harness.js +0 -120
  1208. package/esm2015/autocomplete/testing/testing.externs.js +0 -0
  1209. package/esm2015/badge/badge-module.js +0 -24
  1210. package/esm2015/badge/badge.externs.js +0 -6
  1211. package/esm2015/badge/badge.js +0 -230
  1212. package/esm2015/badge/testing/badge-harness.js +0 -85
  1213. package/esm2015/badge/testing/testing.externs.js +0 -0
  1214. package/esm2015/bottom-sheet/bottom-sheet-container.js +0 -253
  1215. package/esm2015/bottom-sheet/bottom-sheet-module.js +0 -27
  1216. package/esm2015/bottom-sheet/bottom-sheet-ref.js +0 -91
  1217. package/esm2015/bottom-sheet/bottom-sheet.externs.js +0 -6
  1218. package/esm2015/bottom-sheet/bottom-sheet.js +0 -167
  1219. package/esm2015/bottom-sheet/testing/bottom-sheet-harness.js +0 -40
  1220. package/esm2015/bottom-sheet/testing/testing.externs.js +0 -0
  1221. package/esm2015/button/button-module.js +0 -30
  1222. package/esm2015/button/button.externs.js +0 -6
  1223. package/esm2015/button/button.js +0 -163
  1224. package/esm2015/button/testing/button-harness.js +0 -64
  1225. package/esm2015/button/testing/testing.externs.js +0 -0
  1226. package/esm2015/button-toggle/button-toggle-module.js +0 -20
  1227. package/esm2015/button-toggle/button-toggle.externs.js +0 -6
  1228. package/esm2015/button-toggle/button-toggle.js +0 -441
  1229. package/esm2015/button-toggle/testing/button-toggle-group-harness.js +0 -54
  1230. package/esm2015/button-toggle/testing/button-toggle-harness.js +0 -125
  1231. package/esm2015/button-toggle/testing/testing.externs.js +0 -0
  1232. package/esm2015/card/card-module.js +0 -40
  1233. package/esm2015/card/card.externs.js +0 -6
  1234. package/esm2015/card/card.js +0 -223
  1235. package/esm2015/card/testing/card-harness.js +0 -52
  1236. package/esm2015/card/testing/testing.externs.js +0 -0
  1237. package/esm2015/checkbox/checkbox-module.js +0 -34
  1238. package/esm2015/checkbox/checkbox-required-validator.js +0 -29
  1239. package/esm2015/checkbox/checkbox.externs.js +0 -6
  1240. package/esm2015/checkbox/checkbox.js +0 -385
  1241. package/esm2015/checkbox/testing/checkbox-harness.js +0 -156
  1242. package/esm2015/checkbox/testing/testing.externs.js +0 -0
  1243. package/esm2015/chips/chip-input.js +0 -180
  1244. package/esm2015/chips/chip-list.js +0 -663
  1245. package/esm2015/chips/chip.js +0 -394
  1246. package/esm2015/chips/chips-module.js +0 -43
  1247. package/esm2015/chips/chips.externs.js +0 -6
  1248. package/esm2015/chips/testing/chip-harness.js +0 -110
  1249. package/esm2015/chips/testing/chip-input-harness.js +0 -101
  1250. package/esm2015/chips/testing/chip-list-harness.js +0 -99
  1251. package/esm2015/chips/testing/chip-listbox-harness.js +0 -49
  1252. package/esm2015/chips/testing/chip-option-harness.js +0 -54
  1253. package/esm2015/chips/testing/chip-remove-harness.js +0 -29
  1254. package/esm2015/chips/testing/testing.externs.js +0 -0
  1255. package/esm2015/core/common-behaviors/color.js +0 -31
  1256. package/esm2015/core/common-behaviors/common-module.js +0 -122
  1257. package/esm2015/core/common-behaviors/disable-ripple.js +0 -20
  1258. package/esm2015/core/common-behaviors/disabled.js +0 -19
  1259. package/esm2015/core/common-behaviors/error-state.js +0 -36
  1260. package/esm2015/core/common-behaviors/index.js +0 -15
  1261. package/esm2015/core/common-behaviors/initialized.js +0 -58
  1262. package/esm2015/core/common-behaviors/tabindex.js +0 -23
  1263. package/esm2015/core/core.externs.js +0 -6
  1264. package/esm2015/core/datetime/index.js +0 -38
  1265. package/esm2015/core/datetime/native-date-adapter.js +0 -213
  1266. package/esm2015/core/error/error-options.js +0 -29
  1267. package/esm2015/core/index.js +0 -6
  1268. package/esm2015/core/line/line.js +0 -57
  1269. package/esm2015/core/option/index.js +0 -27
  1270. package/esm2015/core/option/optgroup.js +0 -84
  1271. package/esm2015/core/option/option.js +0 -274
  1272. package/esm2015/core/ripple/index.js +0 -24
  1273. package/esm2015/core/ripple/ripple-renderer.js +0 -261
  1274. package/esm2015/core/ripple/ripple.js +0 -128
  1275. package/esm2015/core/selection/index.js +0 -21
  1276. package/esm2015/core/selection/pseudo-checkbox/pseudo-checkbox.js +0 -55
  1277. package/esm2015/core/testing/optgroup-harness.js +0 -51
  1278. package/esm2015/core/testing/option-harness.js +0 -67
  1279. package/esm2015/core/testing/testing.externs.js +0 -0
  1280. package/esm2015/core/version.js +0 -11
  1281. package/esm2015/datepicker/calendar-body.js +0 -291
  1282. package/esm2015/datepicker/calendar.js +0 -330
  1283. package/esm2015/datepicker/date-range-input-parts.js +0 -315
  1284. package/esm2015/datepicker/date-range-input.js +0 -316
  1285. package/esm2015/datepicker/date-range-picker.js +0 -40
  1286. package/esm2015/datepicker/date-range-selection-strategy.js +0 -58
  1287. package/esm2015/datepicker/date-selection-model.js +0 -189
  1288. package/esm2015/datepicker/datepicker-actions.js +0 -89
  1289. package/esm2015/datepicker/datepicker-base.js +0 -542
  1290. package/esm2015/datepicker/datepicker-input-base.js +0 -290
  1291. package/esm2015/datepicker/datepicker-input.js +0 -164
  1292. package/esm2015/datepicker/datepicker-intl.js +0 -51
  1293. package/esm2015/datepicker/datepicker-module.js +0 -93
  1294. package/esm2015/datepicker/datepicker-toggle.js +0 -104
  1295. package/esm2015/datepicker/datepicker.externs.js +0 -6
  1296. package/esm2015/datepicker/datepicker.js +0 -30
  1297. package/esm2015/datepicker/index.js +0 -9
  1298. package/esm2015/datepicker/month-view.js +0 -344
  1299. package/esm2015/datepicker/multi-year-view.js +0 -280
  1300. package/esm2015/datepicker/testing/calendar-cell-harness.js +0 -181
  1301. package/esm2015/datepicker/testing/calendar-harness.js +0 -91
  1302. package/esm2015/datepicker/testing/date-range-input-harness.js +0 -116
  1303. package/esm2015/datepicker/testing/datepicker-input-harness-base.js +0 -102
  1304. package/esm2015/datepicker/testing/datepicker-input-harness.js +0 -69
  1305. package/esm2015/datepicker/testing/datepicker-toggle-harness.js +0 -48
  1306. package/esm2015/datepicker/testing/datepicker-trigger-harness-base.js +0 -77
  1307. package/esm2015/datepicker/testing/testing.externs.js +0 -0
  1308. package/esm2015/datepicker/year-view.js +0 -268
  1309. package/esm2015/dialog/dialog-container.js +0 -295
  1310. package/esm2015/dialog/dialog-content-directives.js +0 -159
  1311. package/esm2015/dialog/dialog-module.js +0 -46
  1312. package/esm2015/dialog/dialog-ref.js +0 -196
  1313. package/esm2015/dialog/dialog.externs.js +0 -6
  1314. package/esm2015/dialog/dialog.js +0 -353
  1315. package/esm2015/dialog/testing/dialog-harness.js +0 -103
  1316. package/esm2015/dialog/testing/testing.externs.js +0 -0
  1317. package/esm2015/divider/divider-module.js +0 -20
  1318. package/esm2015/divider/divider.externs.js +0 -6
  1319. package/esm2015/divider/divider.js +0 -43
  1320. package/esm2015/divider/testing/divider-harness.js +0 -27
  1321. package/esm2015/divider/testing/testing.externs.js +0 -0
  1322. package/esm2015/expansion/accordion.js +0 -83
  1323. package/esm2015/expansion/expansion-module.js +0 -42
  1324. package/esm2015/expansion/expansion-panel-content.js +0 -26
  1325. package/esm2015/expansion/expansion-panel-header.js +0 -214
  1326. package/esm2015/expansion/expansion-panel.js +0 -186
  1327. package/esm2015/expansion/expansion.externs.js +0 -6
  1328. package/esm2015/expansion/testing/accordion-harness.js +0 -36
  1329. package/esm2015/expansion/testing/expansion-harness.js +0 -149
  1330. package/esm2015/expansion/testing/testing.externs.js +0 -0
  1331. package/esm2015/form-field/error.js +0 -45
  1332. package/esm2015/form-field/form-field-control.js +0 -15
  1333. package/esm2015/form-field/form-field-module.js +0 -49
  1334. package/esm2015/form-field/form-field.externs.js +0 -6
  1335. package/esm2015/form-field/form-field.js +0 -482
  1336. package/esm2015/form-field/hint.js +0 -45
  1337. package/esm2015/form-field/label.js +0 -17
  1338. package/esm2015/form-field/placeholder.js +0 -22
  1339. package/esm2015/form-field/prefix.js +0 -24
  1340. package/esm2015/form-field/suffix.js +0 -24
  1341. package/esm2015/form-field/testing/control/control.externs.js +0 -0
  1342. package/esm2015/form-field/testing/form-field-harness.js +0 -218
  1343. package/esm2015/form-field/testing/testing.externs.js +0 -0
  1344. package/esm2015/grid-list/grid-list-module.js +0 -37
  1345. package/esm2015/grid-list/grid-list.externs.js +0 -6
  1346. package/esm2015/grid-list/grid-list.js +0 -135
  1347. package/esm2015/grid-list/grid-tile.js +0 -116
  1348. package/esm2015/grid-list/index.js +0 -6
  1349. package/esm2015/grid-list/testing/grid-list-harness.js +0 -79
  1350. package/esm2015/grid-list/testing/grid-tile-harness.js +0 -80
  1351. package/esm2015/grid-list/testing/testing.externs.js +0 -0
  1352. package/esm2015/icon/icon-module.js +0 -20
  1353. package/esm2015/icon/icon-registry.js +0 -581
  1354. package/esm2015/icon/icon.externs.js +0 -6
  1355. package/esm2015/icon/icon.js +0 -362
  1356. package/esm2015/icon/testing/fake-icon-registry.js +0 -85
  1357. package/esm2015/icon/testing/icon-harness.js +0 -63
  1358. package/esm2015/icon/testing/testing.externs.js +0 -6
  1359. package/esm2015/icon/trusted-types.js +0 -44
  1360. package/esm2015/input/autosize.js +0 -44
  1361. package/esm2015/input/input-module.js +0 -35
  1362. package/esm2015/input/input.externs.js +0 -6
  1363. package/esm2015/input/input.js +0 -395
  1364. package/esm2015/input/public-api.js +0 -13
  1365. package/esm2015/input/testing/input-harness.js +0 -138
  1366. package/esm2015/input/testing/native-option-harness.js +0 -51
  1367. package/esm2015/input/testing/native-select-harness.js +0 -100
  1368. package/esm2015/input/testing/testing.externs.js +0 -0
  1369. package/esm2015/list/list-module.js +0 -45
  1370. package/esm2015/list/list.externs.js +0 -6
  1371. package/esm2015/list/list.js +0 -218
  1372. package/esm2015/list/selection-list.js +0 -608
  1373. package/esm2015/list/testing/action-list-harness.js +0 -68
  1374. package/esm2015/list/testing/list-harness-base.js +0 -97
  1375. package/esm2015/list/testing/list-item-harness-base.js +0 -85
  1376. package/esm2015/list/testing/nav-list-harness.js +0 -75
  1377. package/esm2015/list/testing/selection-list-harness.js +0 -152
  1378. package/esm2015/list/testing/testing.externs.js +0 -0
  1379. package/esm2015/material.externs.js +0 -0
  1380. package/esm2015/menu/index.js +0 -7
  1381. package/esm2015/menu/menu-content.js +0 -92
  1382. package/esm2015/menu/menu-item.js +0 -164
  1383. package/esm2015/menu/menu-module.js +0 -49
  1384. package/esm2015/menu/menu-trigger.js +0 -493
  1385. package/esm2015/menu/menu.externs.js +0 -6
  1386. package/esm2015/menu/menu.js +0 -381
  1387. package/esm2015/menu/public-api.js +0 -16
  1388. package/esm2015/menu/testing/menu-harness.js +0 -223
  1389. package/esm2015/menu/testing/testing.externs.js +0 -0
  1390. package/esm2015/paginator/paginator-intl.js +0 -62
  1391. package/esm2015/paginator/paginator-module.js +0 -32
  1392. package/esm2015/paginator/paginator.externs.js +0 -6
  1393. package/esm2015/paginator/paginator.js +0 -263
  1394. package/esm2015/paginator/testing/paginator-harness.js +0 -106
  1395. package/esm2015/paginator/testing/testing.externs.js +0 -0
  1396. package/esm2015/progress-bar/progress-bar-module.js +0 -21
  1397. package/esm2015/progress-bar/progress-bar.externs.js +0 -6
  1398. package/esm2015/progress-bar/progress-bar.js +0 -179
  1399. package/esm2015/progress-bar/testing/progress-bar-harness.js +0 -39
  1400. package/esm2015/progress-bar/testing/testing.externs.js +0 -0
  1401. package/esm2015/progress-spinner/progress-spinner-module.js +0 -28
  1402. package/esm2015/progress-spinner/progress-spinner.externs.js +0 -6
  1403. package/esm2015/progress-spinner/progress-spinner.js +0 -274
  1404. package/esm2015/progress-spinner/testing/progress-spinner-harness.js +0 -40
  1405. package/esm2015/progress-spinner/testing/testing.externs.js +0 -0
  1406. package/esm2015/radio/radio-module.js +0 -20
  1407. package/esm2015/radio/radio.externs.js +0 -6
  1408. package/esm2015/radio/radio.js +0 -546
  1409. package/esm2015/radio/testing/radio-harness.js +0 -272
  1410. package/esm2015/radio/testing/testing.externs.js +0 -0
  1411. package/esm2015/select/select-module.js +0 -37
  1412. package/esm2015/select/select.externs.js +0 -6
  1413. package/esm2015/select/select.js +0 -1138
  1414. package/esm2015/select/testing/select-harness.js +0 -157
  1415. package/esm2015/select/testing/testing.externs.js +0 -0
  1416. package/esm2015/sidenav/drawer.js +0 -766
  1417. package/esm2015/sidenav/index.js +0 -6
  1418. package/esm2015/sidenav/sidenav-module.js +0 -45
  1419. package/esm2015/sidenav/sidenav.externs.js +0 -6
  1420. package/esm2015/sidenav/sidenav.js +0 -118
  1421. package/esm2015/sidenav/testing/drawer-container-harness.js +0 -41
  1422. package/esm2015/sidenav/testing/drawer-harness.js +0 -57
  1423. package/esm2015/sidenav/testing/sidenav-container-harness.js +0 -41
  1424. package/esm2015/sidenav/testing/sidenav-harness.js +0 -32
  1425. package/esm2015/sidenav/testing/testing.externs.js +0 -0
  1426. package/esm2015/slide-toggle/slide-toggle-module.js +0 -40
  1427. package/esm2015/slide-toggle/slide-toggle-required-validator.js +0 -32
  1428. package/esm2015/slide-toggle/slide-toggle.externs.js +0 -6
  1429. package/esm2015/slide-toggle/slide-toggle.js +0 -236
  1430. package/esm2015/slide-toggle/testing/slide-toggle-harness.js +0 -139
  1431. package/esm2015/slide-toggle/testing/testing.externs.js +0 -0
  1432. package/esm2015/slider/slider-module.js +0 -21
  1433. package/esm2015/slider/slider.externs.js +0 -6
  1434. package/esm2015/slider/slider.js +0 -788
  1435. package/esm2015/slider/testing/slider-harness.js +0 -141
  1436. package/esm2015/slider/testing/testing.externs.js +0 -0
  1437. package/esm2015/snack-bar/simple-snack-bar.js +0 -45
  1438. package/esm2015/snack-bar/snack-bar-container.js +0 -224
  1439. package/esm2015/snack-bar/snack-bar-module.js +0 -32
  1440. package/esm2015/snack-bar/snack-bar-ref.js +0 -90
  1441. package/esm2015/snack-bar/snack-bar.externs.js +0 -6
  1442. package/esm2015/snack-bar/snack-bar.js +0 -265
  1443. package/esm2015/snack-bar/testing/snack-bar-harness.js +0 -142
  1444. package/esm2015/snack-bar/testing/testing.externs.js +0 -0
  1445. package/esm2015/sort/sort-header-intl.js +0 -41
  1446. package/esm2015/sort/sort-header.js +0 -268
  1447. package/esm2015/sort/sort-module.js +0 -24
  1448. package/esm2015/sort/sort.externs.js +0 -6
  1449. package/esm2015/sort/sort.js +0 -140
  1450. package/esm2015/sort/testing/sort-harness.js +0 -41
  1451. package/esm2015/sort/testing/sort-header-harness.js +0 -67
  1452. package/esm2015/sort/testing/testing.externs.js +0 -0
  1453. package/esm2015/stepper/step-content.js +0 -25
  1454. package/esm2015/stepper/step-header.js +0 -108
  1455. package/esm2015/stepper/step-label.js +0 -17
  1456. package/esm2015/stepper/stepper-button.js +0 -36
  1457. package/esm2015/stepper/stepper-icon.js +0 -28
  1458. package/esm2015/stepper/stepper-intl.js +0 -37
  1459. package/esm2015/stepper/stepper-module.js +0 -61
  1460. package/esm2015/stepper/stepper.externs.js +0 -6
  1461. package/esm2015/stepper/stepper.js +0 -187
  1462. package/esm2015/stepper/testing/step-harness.js +0 -111
  1463. package/esm2015/stepper/testing/stepper-button-harnesses.js +0 -55
  1464. package/esm2015/stepper/testing/stepper-harness.js +0 -57
  1465. package/esm2015/stepper/testing/testing.externs.js +0 -0
  1466. package/esm2015/table/cell.js +0 -114
  1467. package/esm2015/table/row.js +0 -116
  1468. package/esm2015/table/table-data-source.js +0 -312
  1469. package/esm2015/table/table-module.js +0 -50
  1470. package/esm2015/table/table.externs.js +0 -6
  1471. package/esm2015/table/table.js +0 -63
  1472. package/esm2015/table/testing/cell-harness.js +0 -77
  1473. package/esm2015/table/testing/row-harness.js +0 -91
  1474. package/esm2015/table/testing/table-harness.js +0 -99
  1475. package/esm2015/table/testing/testing.externs.js +0 -0
  1476. package/esm2015/table/text-column.js +0 -44
  1477. package/esm2015/tabs/index.js +0 -9
  1478. package/esm2015/tabs/ink-bar.js +0 -87
  1479. package/esm2015/tabs/paginated-tab-header.js +0 -477
  1480. package/esm2015/tabs/public-api.js +0 -20
  1481. package/esm2015/tabs/tab-body.js +0 -212
  1482. package/esm2015/tabs/tab-content.js +0 -31
  1483. package/esm2015/tabs/tab-group.js +0 -357
  1484. package/esm2015/tabs/tab-header.js +0 -94
  1485. package/esm2015/tabs/tab-label-wrapper.js +0 -47
  1486. package/esm2015/tabs/tab-label.js +0 -25
  1487. package/esm2015/tabs/tab-nav-bar/tab-nav-bar.js +0 -241
  1488. package/esm2015/tabs/tab.js +0 -106
  1489. package/esm2015/tabs/tabs-module.js +0 -60
  1490. package/esm2015/tabs/tabs.externs.js +0 -6
  1491. package/esm2015/tabs/testing/tab-group-harness.js +0 -65
  1492. package/esm2015/tabs/testing/tab-harness.js +0 -85
  1493. package/esm2015/tabs/testing/tab-link-harness.js +0 -51
  1494. package/esm2015/tabs/testing/tab-nav-bar-harness.js +0 -61
  1495. package/esm2015/tabs/testing/testing.externs.js +0 -0
  1496. package/esm2015/toolbar/testing/testing.externs.js +0 -0
  1497. package/esm2015/toolbar/testing/toolbar-harness.js +0 -47
  1498. package/esm2015/toolbar/toolbar-module.js +0 -20
  1499. package/esm2015/toolbar/toolbar.externs.js +0 -6
  1500. package/esm2015/toolbar/toolbar.js +0 -91
  1501. package/esm2015/tooltip/testing/testing.externs.js +0 -0
  1502. package/esm2015/tooltip/testing/tooltip-harness.js +0 -68
  1503. package/esm2015/tooltip/tooltip-module.js +0 -31
  1504. package/esm2015/tooltip/tooltip.externs.js +0 -6
  1505. package/esm2015/tooltip/tooltip.js +0 -737
  1506. package/esm2015/tree/node.js +0 -131
  1507. package/esm2015/tree/outlet.js +0 -33
  1508. package/esm2015/tree/padding.js +0 -31
  1509. package/esm2015/tree/testing/node-harness.js +0 -84
  1510. package/esm2015/tree/testing/testing.externs.js +0 -0
  1511. package/esm2015/tree/testing/tree-harness.js +0 -129
  1512. package/esm2015/tree/toggle.js +0 -32
  1513. package/esm2015/tree/tree-module.js +0 -34
  1514. package/esm2015/tree/tree.externs.js +0 -6
  1515. package/esm2015/tree/tree.js +0 -43
  1516. package/expansion/index.metadata.json +0 -1
  1517. package/fesm2015/autocomplete/testing.js +0 -147
  1518. package/fesm2015/autocomplete/testing.js.map +0 -1
  1519. package/fesm2015/autocomplete.js +0 -901
  1520. package/fesm2015/autocomplete.js.map +0 -1
  1521. package/fesm2015/badge/testing.js +0 -112
  1522. package/fesm2015/badge/testing.js.map +0 -1
  1523. package/fesm2015/badge.js +0 -265
  1524. package/fesm2015/badge.js.map +0 -1
  1525. package/fesm2015/bottom-sheet/testing.js +0 -67
  1526. package/fesm2015/bottom-sheet/testing.js.map +0 -1
  1527. package/fesm2015/bottom-sheet.js +0 -603
  1528. package/fesm2015/bottom-sheet.js.map +0 -1
  1529. package/fesm2015/button/testing.js +0 -91
  1530. package/fesm2015/button/testing.js.map +0 -1
  1531. package/fesm2015/button-toggle/testing.js +0 -211
  1532. package/fesm2015/button-toggle/testing.js.map +0 -1
  1533. package/fesm2015/button-toggle.js +0 -473
  1534. package/fesm2015/button-toggle.js.map +0 -1
  1535. package/fesm2015/button.js +0 -205
  1536. package/fesm2015/button.js.map +0 -1
  1537. package/fesm2015/card/testing.js +0 -79
  1538. package/fesm2015/card/testing.js.map +0 -1
  1539. package/fesm2015/card.js +0 -276
  1540. package/fesm2015/card.js.map +0 -1
  1541. package/fesm2015/checkbox/testing.js +0 -183
  1542. package/fesm2015/checkbox/testing.js.map +0 -1
  1543. package/fesm2015/checkbox.js +0 -476
  1544. package/fesm2015/checkbox.js.map +0 -1
  1545. package/fesm2015/chips/testing.js +0 -465
  1546. package/fesm2015/chips/testing.js.map +0 -1
  1547. package/fesm2015/chips.js +0 -1286
  1548. package/fesm2015/chips.js.map +0 -1
  1549. package/fesm2015/core/testing.js +0 -150
  1550. package/fesm2015/core/testing.js.map +0 -1
  1551. package/fesm2015/core.js +0 -1692
  1552. package/fesm2015/core.js.map +0 -1
  1553. package/fesm2015/datepicker/testing.js +0 -692
  1554. package/fesm2015/datepicker/testing.js.map +0 -1
  1555. package/fesm2015/datepicker.js +0 -3745
  1556. package/fesm2015/datepicker.js.map +0 -1
  1557. package/fesm2015/dialog/testing.js +0 -130
  1558. package/fesm2015/dialog/testing.js.map +0 -1
  1559. package/fesm2015/dialog.js +0 -1127
  1560. package/fesm2015/dialog.js.map +0 -1
  1561. package/fesm2015/divider/testing.js +0 -54
  1562. package/fesm2015/divider/testing.js.map +0 -1
  1563. package/fesm2015/divider.js +0 -76
  1564. package/fesm2015/divider.js.map +0 -1
  1565. package/fesm2015/expansion/testing.js +0 -209
  1566. package/fesm2015/expansion/testing.js.map +0 -1
  1567. package/fesm2015/expansion.js +0 -600
  1568. package/fesm2015/expansion.js.map +0 -1
  1569. package/fesm2015/form-field/testing/control.js +0 -26
  1570. package/fesm2015/form-field/testing/control.js.map +0 -1
  1571. package/fesm2015/form-field/testing.js +0 -246
  1572. package/fesm2015/form-field/testing.js.map +0 -1
  1573. package/fesm2015/form-field.js +0 -757
  1574. package/fesm2015/form-field.js.map +0 -1
  1575. package/fesm2015/grid-list/testing.js +0 -183
  1576. package/fesm2015/grid-list/testing.js.map +0 -1
  1577. package/fesm2015/grid-list.js +0 -680
  1578. package/fesm2015/grid-list.js.map +0 -1
  1579. package/fesm2015/icon/testing.js +0 -171
  1580. package/fesm2015/icon/testing.js.map +0 -1
  1581. package/fesm2015/icon.js +0 -1012
  1582. package/fesm2015/icon.js.map +0 -1
  1583. package/fesm2015/input/testing.js +0 -318
  1584. package/fesm2015/input/testing.js.map +0 -1
  1585. package/fesm2015/input.js +0 -506
  1586. package/fesm2015/input.js.map +0 -1
  1587. package/fesm2015/list/testing.js +0 -529
  1588. package/fesm2015/list/testing.js.map +0 -1
  1589. package/fesm2015/list.js +0 -876
  1590. package/fesm2015/list.js.map +0 -1
  1591. package/fesm2015/material.js +0 -16
  1592. package/fesm2015/material.js.map +0 -1
  1593. package/fesm2015/menu/testing.js +0 -250
  1594. package/fesm2015/menu/testing.js.map +0 -1
  1595. package/fesm2015/menu.js +0 -1292
  1596. package/fesm2015/menu.js.map +0 -1
  1597. package/fesm2015/paginator/testing.js +0 -133
  1598. package/fesm2015/paginator/testing.js.map +0 -1
  1599. package/fesm2015/paginator.js +0 -366
  1600. package/fesm2015/paginator.js.map +0 -1
  1601. package/fesm2015/progress-bar/testing.js +0 -66
  1602. package/fesm2015/progress-bar/testing.js.map +0 -1
  1603. package/fesm2015/progress-bar.js +0 -211
  1604. package/fesm2015/progress-bar.js.map +0 -1
  1605. package/fesm2015/progress-spinner/testing.js +0 -67
  1606. package/fesm2015/progress-spinner/testing.js.map +0 -1
  1607. package/fesm2015/progress-spinner.js +0 -313
  1608. package/fesm2015/progress-spinner.js.map +0 -1
  1609. package/fesm2015/radio/testing.js +0 -299
  1610. package/fesm2015/radio/testing.js.map +0 -1
  1611. package/fesm2015/radio.js +0 -578
  1612. package/fesm2015/radio.js.map +0 -1
  1613. package/fesm2015/select/testing.js +0 -184
  1614. package/fesm2015/select/testing.js.map +0 -1
  1615. package/fesm2015/select.js +0 -1269
  1616. package/fesm2015/select.js.map +0 -1
  1617. package/fesm2015/sidenav/testing.js +0 -231
  1618. package/fesm2015/sidenav/testing.js.map +0 -1
  1619. package/fesm2015/sidenav.js +0 -965
  1620. package/fesm2015/sidenav.js.map +0 -1
  1621. package/fesm2015/slide-toggle/testing.js +0 -166
  1622. package/fesm2015/slide-toggle/testing.js.map +0 -1
  1623. package/fesm2015/slide-toggle.js +0 -329
  1624. package/fesm2015/slide-toggle.js.map +0 -1
  1625. package/fesm2015/slider/testing.js +0 -160
  1626. package/fesm2015/slider/testing.js.map +0 -1
  1627. package/fesm2015/slider.js +0 -820
  1628. package/fesm2015/slider.js.map +0 -1
  1629. package/fesm2015/snack-bar/testing.js +0 -169
  1630. package/fesm2015/snack-bar/testing.js.map +0 -1
  1631. package/fesm2015/snack-bar.js +0 -713
  1632. package/fesm2015/snack-bar.js.map +0 -1
  1633. package/fesm2015/sort/testing.js +0 -124
  1634. package/fesm2015/sort/testing.js.map +0 -1
  1635. package/fesm2015/sort.js +0 -587
  1636. package/fesm2015/sort.js.map +0 -1
  1637. package/fesm2015/stepper/testing.js +0 -237
  1638. package/fesm2015/stepper/testing.js.map +0 -1
  1639. package/fesm2015/stepper.js +0 -519
  1640. package/fesm2015/stepper.js.map +0 -1
  1641. package/fesm2015/table/testing.js +0 -280
  1642. package/fesm2015/table/testing.js.map +0 -1
  1643. package/fesm2015/table.js +0 -701
  1644. package/fesm2015/table.js.map +0 -1
  1645. package/fesm2015/tabs/testing.js +0 -273
  1646. package/fesm2015/tabs/testing.js.map +0 -1
  1647. package/fesm2015/tabs.js +0 -1746
  1648. package/fesm2015/tabs.js.map +0 -1
  1649. package/fesm2015/toolbar/testing.js +0 -74
  1650. package/fesm2015/toolbar/testing.js.map +0 -1
  1651. package/fesm2015/toolbar.js +0 -123
  1652. package/fesm2015/toolbar.js.map +0 -1
  1653. package/fesm2015/tooltip/testing.js +0 -95
  1654. package/fesm2015/tooltip/testing.js.map +0 -1
  1655. package/fesm2015/tooltip.js +0 -802
  1656. package/fesm2015/tooltip.js.map +0 -1
  1657. package/fesm2015/tree/testing.js +0 -237
  1658. package/fesm2015/tree/testing.js.map +0 -1
  1659. package/fesm2015/tree.js +0 -479
  1660. package/fesm2015/tree.js.map +0 -1
  1661. package/form-field/index.metadata.json +0 -1
  1662. package/grid-list/index.metadata.json +0 -1
  1663. package/icon/index.metadata.json +0 -1
  1664. package/icon/testing/index.metadata.json +0 -1
  1665. package/input/autosize.d.ts +0 -23
  1666. package/input/index.metadata.json +0 -1
  1667. package/list/index.metadata.json +0 -1
  1668. package/menu/index.metadata.json +0 -1
  1669. package/paginator/index.metadata.json +0 -1
  1670. package/progress-bar/index.metadata.json +0 -1
  1671. package/progress-spinner/index.metadata.json +0 -1
  1672. package/radio/index.metadata.json +0 -1
  1673. package/select/index.metadata.json +0 -1
  1674. package/sidenav/index.metadata.json +0 -1
  1675. package/slide-toggle/index.metadata.json +0 -1
  1676. package/slider/index.metadata.json +0 -1
  1677. package/snack-bar/index.metadata.json +0 -1
  1678. package/sort/index.metadata.json +0 -1
  1679. package/stepper/index.metadata.json +0 -1
  1680. package/table/index.metadata.json +0 -1
  1681. package/tabs/index.metadata.json +0 -1
  1682. package/toolbar/index.metadata.json +0 -1
  1683. package/tooltip/index.metadata.json +0 -1
  1684. package/tree/index.metadata.json +0 -1
@@ -1,2186 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/cdk/a11y'), require('@angular/cdk/bidi'), require('@angular/cdk'), require('@angular/common'), require('@angular/cdk/coercion'), require('rxjs'), require('@angular/cdk/platform'), require('rxjs/operators'), require('@angular/platform-browser/animations'), require('@angular/cdk/keycodes')) :
3
- typeof define === 'function' && define.amd ? define('@angular/material/core', ['exports', '@angular/core', '@angular/cdk/a11y', '@angular/cdk/bidi', '@angular/cdk', '@angular/common', '@angular/cdk/coercion', 'rxjs', '@angular/cdk/platform', 'rxjs/operators', '@angular/platform-browser/animations', '@angular/cdk/keycodes'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}, global.ng.material.core = {}), global.ng.core, global.ng.cdk.a11y, global.ng.cdk.bidi, global.ng.cdk, global.ng.common, global.ng.cdk.coercion, global.rxjs, global.ng.cdk.platform, global.rxjs.operators, global.ng.platformBrowser.animations, global.ng.cdk.keycodes));
5
- }(this, (function (exports, i0, a11y, bidi, cdk, common, coercion, rxjs, platform, operators, animations, keycodes) { '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
-
29
- /**
30
- * @license
31
- * Copyright Google LLC All Rights Reserved.
32
- *
33
- * Use of this source code is governed by an MIT-style license that can be
34
- * found in the LICENSE file at https://angular.io/license
35
- */
36
- /** Current version of Angular Material. */
37
- var VERSION$1 = new i0.Version('13.0.0-next.4');
38
-
39
- /**
40
- * @license
41
- * Copyright Google LLC All Rights Reserved.
42
- *
43
- * Use of this source code is governed by an MIT-style license that can be
44
- * found in the LICENSE file at https://angular.io/license
45
- */
46
- /** @docs-private */
47
- var AnimationCurves = /** @class */ (function () {
48
- function AnimationCurves() {
49
- }
50
- return AnimationCurves;
51
- }());
52
- AnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';
53
- AnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';
54
- AnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';
55
- AnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';
56
- /** @docs-private */
57
- var AnimationDurations = /** @class */ (function () {
58
- function AnimationDurations() {
59
- }
60
- return AnimationDurations;
61
- }());
62
- AnimationDurations.COMPLEX = '375ms';
63
- AnimationDurations.ENTERING = '225ms';
64
- AnimationDurations.EXITING = '195ms';
65
-
66
- /**
67
- * @license
68
- * Copyright Google LLC All Rights Reserved.
69
- *
70
- * Use of this source code is governed by an MIT-style license that can be
71
- * found in the LICENSE file at https://angular.io/license
72
- */
73
- // Private version constant to circumvent test/build issues,
74
- // i.e. avoid core to depend on the @angular/material primary entry-point
75
- // Can be removed once the Material primary entry-point no longer
76
- // re-exports all secondary entry-points
77
- var VERSION = new i0.Version('13.0.0-next.4');
78
- /** @docs-private */
79
- function MATERIAL_SANITY_CHECKS_FACTORY() {
80
- return true;
81
- }
82
- /** Injection token that configures whether the Material sanity checks are enabled. */
83
- var MATERIAL_SANITY_CHECKS = new i0.InjectionToken('mat-sanity-checks', {
84
- providedIn: 'root',
85
- factory: MATERIAL_SANITY_CHECKS_FACTORY,
86
- });
87
- /**
88
- * Module that captures anything that should be loaded and/or run for *all* Angular Material
89
- * components. This includes Bidi, etc.
90
- *
91
- * This module should be imported to each top-level component module (e.g., MatTabsModule).
92
- */
93
- var MatCommonModule = /** @class */ (function () {
94
- function MatCommonModule(highContrastModeDetector, sanityChecks, document) {
95
- /** Whether we've done the global sanity checks (e.g. a theme is loaded, there is a doctype). */
96
- this._hasDoneGlobalChecks = false;
97
- this._document = document;
98
- // While A11yModule also does this, we repeat it here to avoid importing A11yModule
99
- // in MatCommonModule.
100
- highContrastModeDetector._applyBodyHighContrastModeCssClasses();
101
- // Note that `_sanityChecks` is typed to `any`, because AoT
102
- // throws an error if we use the `SanityChecks` type directly.
103
- this._sanityChecks = sanityChecks;
104
- if (!this._hasDoneGlobalChecks) {
105
- this._checkDoctypeIsDefined();
106
- this._checkThemeIsPresent();
107
- this._checkCdkVersionMatch();
108
- this._hasDoneGlobalChecks = true;
109
- }
110
- }
111
- /** Use defaultView of injected document if available or fallback to global window reference */
112
- MatCommonModule.prototype._getWindow = function () {
113
- var win = this._document.defaultView || window;
114
- return typeof win === 'object' && win ? win : null;
115
- };
116
- /** Gets whether a specific sanity check is enabled. */
117
- MatCommonModule.prototype._checkIsEnabled = function (name) {
118
- // TODO(crisbeto): we can't use `ngDevMode` here yet, because ViewEngine apps might not support
119
- // it. Since these checks can have performance implications and they aren't tree shakeable
120
- // in their current form, we can leave the `isDevMode` check in for now.
121
- // tslint:disable-next-line:ban
122
- if (!i0.isDevMode() || this._isTestEnv()) {
123
- return false;
124
- }
125
- if (typeof this._sanityChecks === 'boolean') {
126
- return this._sanityChecks;
127
- }
128
- return !!this._sanityChecks[name];
129
- };
130
- /** Whether the code is running in tests. */
131
- MatCommonModule.prototype._isTestEnv = function () {
132
- var window = this._getWindow();
133
- return window && (window.__karma__ || window.jasmine);
134
- };
135
- MatCommonModule.prototype._checkDoctypeIsDefined = function () {
136
- if (this._checkIsEnabled('doctype') && !this._document.doctype) {
137
- console.warn('Current document does not have a doctype. This may cause ' +
138
- 'some Angular Material components not to behave as expected.');
139
- }
140
- };
141
- MatCommonModule.prototype._checkThemeIsPresent = function () {
142
- // We need to assert that the `body` is defined, because these checks run very early
143
- // and the `body` won't be defined if the consumer put their scripts in the `head`.
144
- if (!this._checkIsEnabled('theme') || !this._document.body ||
145
- typeof getComputedStyle !== 'function') {
146
- return;
147
- }
148
- var testElement = this._document.createElement('div');
149
- testElement.classList.add('mat-theme-loaded-marker');
150
- this._document.body.appendChild(testElement);
151
- var computedStyle = getComputedStyle(testElement);
152
- // In some situations the computed style of the test element can be null. For example in
153
- // Firefox, the computed style is null if an application is running inside of a hidden iframe.
154
- // See: https://bugzilla.mozilla.org/show_bug.cgi?id=548397
155
- if (computedStyle && computedStyle.display !== 'none') {
156
- console.warn('Could not find Angular Material core theme. Most Material ' +
157
- 'components may not work as expected. For more info refer ' +
158
- 'to the theming guide: https://material.angular.io/guide/theming');
159
- }
160
- this._document.body.removeChild(testElement);
161
- };
162
- /** Checks whether the material version matches the cdk version */
163
- MatCommonModule.prototype._checkCdkVersionMatch = function () {
164
- if (this._checkIsEnabled('version') && VERSION.full !== cdk.VERSION.full) {
165
- console.warn('The Angular Material version (' + VERSION.full + ') does not match ' +
166
- 'the Angular CDK version (' + cdk.VERSION.full + ').\n' +
167
- 'Please ensure the versions of these two packages exactly match.');
168
- }
169
- };
170
- return MatCommonModule;
171
- }());
172
- MatCommonModule.decorators = [
173
- { type: i0.NgModule, args: [{
174
- imports: [bidi.BidiModule],
175
- exports: [bidi.BidiModule],
176
- },] }
177
- ];
178
- MatCommonModule.ctorParameters = function () { return [
179
- { type: a11y.HighContrastModeDetector },
180
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MATERIAL_SANITY_CHECKS,] }] },
181
- { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] }
182
- ]; };
183
-
184
- /*! *****************************************************************************
185
- Copyright (c) Microsoft Corporation.
186
-
187
- Permission to use, copy, modify, and/or distribute this software for any
188
- purpose with or without fee is hereby granted.
189
-
190
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
191
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
192
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
193
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
194
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
195
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
196
- PERFORMANCE OF THIS SOFTWARE.
197
- ***************************************************************************** */
198
- /* global Reflect, Promise */
199
- var extendStatics = function (d, b) {
200
- extendStatics = Object.setPrototypeOf ||
201
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
202
- function (d, b) { for (var p in b)
203
- if (Object.prototype.hasOwnProperty.call(b, p))
204
- d[p] = b[p]; };
205
- return extendStatics(d, b);
206
- };
207
- function __extends(d, b) {
208
- if (typeof b !== "function" && b !== null)
209
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
210
- extendStatics(d, b);
211
- function __() { this.constructor = d; }
212
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
213
- }
214
- var __assign = function () {
215
- __assign = Object.assign || function __assign(t) {
216
- for (var s, i = 1, n = arguments.length; i < n; i++) {
217
- s = arguments[i];
218
- for (var p in s)
219
- if (Object.prototype.hasOwnProperty.call(s, p))
220
- t[p] = s[p];
221
- }
222
- return t;
223
- };
224
- return __assign.apply(this, arguments);
225
- };
226
- function __rest(s, e) {
227
- var t = {};
228
- for (var p in s)
229
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
230
- t[p] = s[p];
231
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
232
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
233
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
234
- t[p[i]] = s[p[i]];
235
- }
236
- return t;
237
- }
238
- function __decorate(decorators, target, key, desc) {
239
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
240
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
241
- r = Reflect.decorate(decorators, target, key, desc);
242
- else
243
- for (var i = decorators.length - 1; i >= 0; i--)
244
- if (d = decorators[i])
245
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
246
- return c > 3 && r && Object.defineProperty(target, key, r), r;
247
- }
248
- function __param(paramIndex, decorator) {
249
- return function (target, key) { decorator(target, key, paramIndex); };
250
- }
251
- function __metadata(metadataKey, metadataValue) {
252
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
253
- return Reflect.metadata(metadataKey, metadataValue);
254
- }
255
- function __awaiter(thisArg, _arguments, P, generator) {
256
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
257
- return new (P || (P = Promise))(function (resolve, reject) {
258
- function fulfilled(value) { try {
259
- step(generator.next(value));
260
- }
261
- catch (e) {
262
- reject(e);
263
- } }
264
- function rejected(value) { try {
265
- step(generator["throw"](value));
266
- }
267
- catch (e) {
268
- reject(e);
269
- } }
270
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
271
- step((generator = generator.apply(thisArg, _arguments || [])).next());
272
- });
273
- }
274
- function __generator(thisArg, body) {
275
- var _ = { label: 0, sent: function () { if (t[0] & 1)
276
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
277
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
278
- function verb(n) { return function (v) { return step([n, v]); }; }
279
- function step(op) {
280
- if (f)
281
- throw new TypeError("Generator is already executing.");
282
- while (_)
283
- try {
284
- 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)
285
- return t;
286
- if (y = 0, t)
287
- op = [op[0] & 2, t.value];
288
- switch (op[0]) {
289
- case 0:
290
- case 1:
291
- t = op;
292
- break;
293
- case 4:
294
- _.label++;
295
- return { value: op[1], done: false };
296
- case 5:
297
- _.label++;
298
- y = op[1];
299
- op = [0];
300
- continue;
301
- case 7:
302
- op = _.ops.pop();
303
- _.trys.pop();
304
- continue;
305
- default:
306
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
307
- _ = 0;
308
- continue;
309
- }
310
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
311
- _.label = op[1];
312
- break;
313
- }
314
- if (op[0] === 6 && _.label < t[1]) {
315
- _.label = t[1];
316
- t = op;
317
- break;
318
- }
319
- if (t && _.label < t[2]) {
320
- _.label = t[2];
321
- _.ops.push(op);
322
- break;
323
- }
324
- if (t[2])
325
- _.ops.pop();
326
- _.trys.pop();
327
- continue;
328
- }
329
- op = body.call(thisArg, _);
330
- }
331
- catch (e) {
332
- op = [6, e];
333
- y = 0;
334
- }
335
- finally {
336
- f = t = 0;
337
- }
338
- if (op[0] & 5)
339
- throw op[1];
340
- return { value: op[0] ? op[1] : void 0, done: true };
341
- }
342
- }
343
- var __createBinding = Object.create ? (function (o, m, k, k2) {
344
- if (k2 === undefined)
345
- k2 = k;
346
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
347
- }) : (function (o, m, k, k2) {
348
- if (k2 === undefined)
349
- k2 = k;
350
- o[k2] = m[k];
351
- });
352
- function __exportStar(m, o) {
353
- for (var p in m)
354
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
355
- __createBinding(o, m, p);
356
- }
357
- function __values(o) {
358
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
359
- if (m)
360
- return m.call(o);
361
- if (o && typeof o.length === "number")
362
- return {
363
- next: function () {
364
- if (o && i >= o.length)
365
- o = void 0;
366
- return { value: o && o[i++], done: !o };
367
- }
368
- };
369
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
370
- }
371
- function __read(o, n) {
372
- var m = typeof Symbol === "function" && o[Symbol.iterator];
373
- if (!m)
374
- return o;
375
- var i = m.call(o), r, ar = [], e;
376
- try {
377
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
378
- ar.push(r.value);
379
- }
380
- catch (error) {
381
- e = { error: error };
382
- }
383
- finally {
384
- try {
385
- if (r && !r.done && (m = i["return"]))
386
- m.call(i);
387
- }
388
- finally {
389
- if (e)
390
- throw e.error;
391
- }
392
- }
393
- return ar;
394
- }
395
- /** @deprecated */
396
- function __spread() {
397
- for (var ar = [], i = 0; i < arguments.length; i++)
398
- ar = ar.concat(__read(arguments[i]));
399
- return ar;
400
- }
401
- /** @deprecated */
402
- function __spreadArrays() {
403
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
404
- s += arguments[i].length;
405
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
406
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
407
- r[k] = a[j];
408
- return r;
409
- }
410
- function __spreadArray(to, from, pack) {
411
- if (pack || arguments.length === 2)
412
- for (var i = 0, l = from.length, ar; i < l; i++) {
413
- if (ar || !(i in from)) {
414
- if (!ar)
415
- ar = Array.prototype.slice.call(from, 0, i);
416
- ar[i] = from[i];
417
- }
418
- }
419
- return to.concat(ar || from);
420
- }
421
- function __await(v) {
422
- return this instanceof __await ? (this.v = v, this) : new __await(v);
423
- }
424
- function __asyncGenerator(thisArg, _arguments, generator) {
425
- if (!Symbol.asyncIterator)
426
- throw new TypeError("Symbol.asyncIterator is not defined.");
427
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
428
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
429
- function verb(n) { if (g[n])
430
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
431
- function resume(n, v) { try {
432
- step(g[n](v));
433
- }
434
- catch (e) {
435
- settle(q[0][3], e);
436
- } }
437
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
438
- function fulfill(value) { resume("next", value); }
439
- function reject(value) { resume("throw", value); }
440
- function settle(f, v) { if (f(v), q.shift(), q.length)
441
- resume(q[0][0], q[0][1]); }
442
- }
443
- function __asyncDelegator(o) {
444
- var i, p;
445
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
446
- 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; }
447
- }
448
- function __asyncValues(o) {
449
- if (!Symbol.asyncIterator)
450
- throw new TypeError("Symbol.asyncIterator is not defined.");
451
- var m = o[Symbol.asyncIterator], i;
452
- 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);
453
- 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); }); }; }
454
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
455
- }
456
- function __makeTemplateObject(cooked, raw) {
457
- if (Object.defineProperty) {
458
- Object.defineProperty(cooked, "raw", { value: raw });
459
- }
460
- else {
461
- cooked.raw = raw;
462
- }
463
- return cooked;
464
- }
465
- ;
466
- var __setModuleDefault = Object.create ? (function (o, v) {
467
- Object.defineProperty(o, "default", { enumerable: true, value: v });
468
- }) : function (o, v) {
469
- o["default"] = v;
470
- };
471
- function __importStar(mod) {
472
- if (mod && mod.__esModule)
473
- return mod;
474
- var result = {};
475
- if (mod != null)
476
- for (var k in mod)
477
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
478
- __createBinding(result, mod, k);
479
- __setModuleDefault(result, mod);
480
- return result;
481
- }
482
- function __importDefault(mod) {
483
- return (mod && mod.__esModule) ? mod : { default: mod };
484
- }
485
- function __classPrivateFieldGet(receiver, state, kind, f) {
486
- if (kind === "a" && !f)
487
- throw new TypeError("Private accessor was defined without a getter");
488
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
489
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
490
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
491
- }
492
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
493
- if (kind === "m")
494
- throw new TypeError("Private method is not writable");
495
- if (kind === "a" && !f)
496
- throw new TypeError("Private accessor was defined without a setter");
497
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
498
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
499
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
500
- }
501
-
502
- function mixinDisabled(base) {
503
- return /** @class */ (function (_super) {
504
- __extends(class_1, _super);
505
- function class_1() {
506
- var args = [];
507
- for (var _i = 0; _i < arguments.length; _i++) {
508
- args[_i] = arguments[_i];
509
- }
510
- var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
511
- _this._disabled = false;
512
- return _this;
513
- }
514
- Object.defineProperty(class_1.prototype, "disabled", {
515
- get: function () { return this._disabled; },
516
- set: function (value) { this._disabled = coercion.coerceBooleanProperty(value); },
517
- enumerable: false,
518
- configurable: true
519
- });
520
- return class_1;
521
- }(base));
522
- }
523
-
524
- /**
525
- * @license
526
- * Copyright Google LLC All Rights Reserved.
527
- *
528
- * Use of this source code is governed by an MIT-style license that can be
529
- * found in the LICENSE file at https://angular.io/license
530
- */
531
- function mixinColor(base, defaultColor) {
532
- return /** @class */ (function (_super) {
533
- __extends(class_1, _super);
534
- function class_1() {
535
- var args = [];
536
- for (var _i = 0; _i < arguments.length; _i++) {
537
- args[_i] = arguments[_i];
538
- }
539
- var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
540
- _this.defaultColor = defaultColor;
541
- // Set the default color that can be specified from the mixin.
542
- _this.color = defaultColor;
543
- return _this;
544
- }
545
- Object.defineProperty(class_1.prototype, "color", {
546
- get: function () { return this._color; },
547
- set: function (value) {
548
- var colorPalette = value || this.defaultColor;
549
- if (colorPalette !== this._color) {
550
- if (this._color) {
551
- this._elementRef.nativeElement.classList.remove("mat-" + this._color);
552
- }
553
- if (colorPalette) {
554
- this._elementRef.nativeElement.classList.add("mat-" + colorPalette);
555
- }
556
- this._color = colorPalette;
557
- }
558
- },
559
- enumerable: false,
560
- configurable: true
561
- });
562
- return class_1;
563
- }(base));
564
- }
565
-
566
- function mixinDisableRipple(base) {
567
- return /** @class */ (function (_super) {
568
- __extends(class_1, _super);
569
- function class_1() {
570
- var args = [];
571
- for (var _i = 0; _i < arguments.length; _i++) {
572
- args[_i] = arguments[_i];
573
- }
574
- var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
575
- _this._disableRipple = false;
576
- return _this;
577
- }
578
- Object.defineProperty(class_1.prototype, "disableRipple", {
579
- /** Whether the ripple effect is disabled or not. */
580
- get: function () { return this._disableRipple; },
581
- set: function (value) { this._disableRipple = coercion.coerceBooleanProperty(value); },
582
- enumerable: false,
583
- configurable: true
584
- });
585
- return class_1;
586
- }(base));
587
- }
588
-
589
- function mixinTabIndex(base, defaultTabIndex) {
590
- if (defaultTabIndex === void 0) { defaultTabIndex = 0; }
591
- return /** @class */ (function (_super) {
592
- __extends(class_1, _super);
593
- function class_1() {
594
- var args = [];
595
- for (var _i = 0; _i < arguments.length; _i++) {
596
- args[_i] = arguments[_i];
597
- }
598
- var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
599
- _this._tabIndex = defaultTabIndex;
600
- _this.defaultTabIndex = defaultTabIndex;
601
- return _this;
602
- }
603
- Object.defineProperty(class_1.prototype, "tabIndex", {
604
- get: function () { return this.disabled ? -1 : this._tabIndex; },
605
- set: function (value) {
606
- // If the specified tabIndex value is null or undefined, fall back to the default value.
607
- this._tabIndex = value != null ? coercion.coerceNumberProperty(value) : this.defaultTabIndex;
608
- },
609
- enumerable: false,
610
- configurable: true
611
- });
612
- return class_1;
613
- }(base));
614
- }
615
-
616
- function mixinErrorState(base) {
617
- return /** @class */ (function (_super) {
618
- __extends(class_1, _super);
619
- function class_1() {
620
- var args = [];
621
- for (var _i = 0; _i < arguments.length; _i++) {
622
- args[_i] = arguments[_i];
623
- }
624
- var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
625
- // This class member exists as an interop with `MatFormFieldControl` which expects
626
- // a public `stateChanges` observable to emit whenever the form field should be updated.
627
- // The description is not specifically mentioning the error state, as classes using this
628
- // mixin can/should emit an event in other cases too.
629
- /** Emits whenever the component state changes. */
630
- _this.stateChanges = new rxjs.Subject();
631
- /** Whether the component is in an error state. */
632
- _this.errorState = false;
633
- return _this;
634
- }
635
- /** Updates the error state based on the provided error state matcher. */
636
- class_1.prototype.updateErrorState = function () {
637
- var oldState = this.errorState;
638
- var parent = this._parentFormGroup || this._parentForm;
639
- var matcher = this.errorStateMatcher || this._defaultErrorStateMatcher;
640
- var control = this.ngControl ? this.ngControl.control : null;
641
- var newState = matcher.isErrorState(control, parent);
642
- if (newState !== oldState) {
643
- this.errorState = newState;
644
- this.stateChanges.next();
645
- }
646
- };
647
- return class_1;
648
- }(base));
649
- }
650
-
651
- /** Mixin to augment a directive with an initialized property that will emits when ngOnInit ends. */
652
- function mixinInitialized(base) {
653
- return /** @class */ (function (_super) {
654
- __extends(class_1, _super);
655
- function class_1() {
656
- var args = [];
657
- for (var _i = 0; _i < arguments.length; _i++) {
658
- args[_i] = arguments[_i];
659
- }
660
- var _this = _super.apply(this, __spreadArray([], __read(args))) || this;
661
- /** Whether this directive has been marked as initialized. */
662
- _this._isInitialized = false;
663
- /**
664
- * List of subscribers that subscribed before the directive was initialized. Should be notified
665
- * during _markInitialized. Set to null after pending subscribers are notified, and should
666
- * not expect to be populated after.
667
- */
668
- _this._pendingSubscribers = [];
669
- /**
670
- * Observable stream that emits when the directive initializes. If already initialized, the
671
- * subscriber is stored to be notified once _markInitialized is called.
672
- */
673
- _this.initialized = new rxjs.Observable(function (subscriber) {
674
- // If initialized, immediately notify the subscriber. Otherwise store the subscriber to notify
675
- // when _markInitialized is called.
676
- if (_this._isInitialized) {
677
- _this._notifySubscriber(subscriber);
678
- }
679
- else {
680
- _this._pendingSubscribers.push(subscriber);
681
- }
682
- });
683
- return _this;
684
- }
685
- /**
686
- * Marks the state as initialized and notifies pending subscribers. Should be called at the end
687
- * of ngOnInit.
688
- * @docs-private
689
- */
690
- class_1.prototype._markInitialized = function () {
691
- if (this._isInitialized && (typeof ngDevMode === 'undefined' || ngDevMode)) {
692
- throw Error('This directive has already been marked as initialized and ' +
693
- 'should not be called twice.');
694
- }
695
- this._isInitialized = true;
696
- this._pendingSubscribers.forEach(this._notifySubscriber);
697
- this._pendingSubscribers = null;
698
- };
699
- /** Emits and completes the subscriber stream (should only emit once). */
700
- class_1.prototype._notifySubscriber = function (subscriber) {
701
- subscriber.next();
702
- subscriber.complete();
703
- };
704
- return class_1;
705
- }(base));
706
- }
707
-
708
- /**
709
- * @license
710
- * Copyright Google LLC All Rights Reserved.
711
- *
712
- * Use of this source code is governed by an MIT-style license that can be
713
- * found in the LICENSE file at https://angular.io/license
714
- */
715
-
716
- /**
717
- * @license
718
- * Copyright Google LLC All Rights Reserved.
719
- *
720
- * Use of this source code is governed by an MIT-style license that can be
721
- * found in the LICENSE file at https://angular.io/license
722
- */
723
- /** InjectionToken for datepicker that can be used to override default locale code. */
724
- var MAT_DATE_LOCALE = new i0.InjectionToken('MAT_DATE_LOCALE', {
725
- providedIn: 'root',
726
- factory: MAT_DATE_LOCALE_FACTORY,
727
- });
728
- /** @docs-private */
729
- function MAT_DATE_LOCALE_FACTORY() {
730
- return i0.inject(i0.LOCALE_ID);
731
- }
732
- /** Adapts type `D` to be usable as a date by cdk-based components that work with dates. */
733
- var DateAdapter = /** @class */ (function () {
734
- function DateAdapter() {
735
- this._localeChanges = new rxjs.Subject();
736
- /** A stream that emits when the locale changes. */
737
- this.localeChanges = this._localeChanges;
738
- }
739
- /**
740
- * Given a potential date object, returns that same date object if it is
741
- * a valid date, or `null` if it's not a valid date.
742
- * @param obj The object to check.
743
- * @returns A date or `null`.
744
- */
745
- DateAdapter.prototype.getValidDateOrNull = function (obj) {
746
- return this.isDateInstance(obj) && this.isValid(obj) ? obj : null;
747
- };
748
- /**
749
- * Attempts to deserialize a value to a valid date object. This is different from parsing in that
750
- * deserialize should only accept non-ambiguous, locale-independent formats (e.g. a ISO 8601
751
- * string). The default implementation does not allow any deserialization, it simply checks that
752
- * the given value is already a valid date object or null. The `<mat-datepicker>` will call this
753
- * method on all of its `@Input()` properties that accept dates. It is therefore possible to
754
- * support passing values from your backend directly to these properties by overriding this method
755
- * to also deserialize the format used by your backend.
756
- * @param value The value to be deserialized into a date object.
757
- * @returns The deserialized date object, either a valid date, null if the value can be
758
- * deserialized into a null date (e.g. the empty string), or an invalid date.
759
- */
760
- DateAdapter.prototype.deserialize = function (value) {
761
- if (value == null || this.isDateInstance(value) && this.isValid(value)) {
762
- return value;
763
- }
764
- return this.invalid();
765
- };
766
- /**
767
- * Sets the locale used for all dates.
768
- * @param locale The new locale.
769
- */
770
- DateAdapter.prototype.setLocale = function (locale) {
771
- this.locale = locale;
772
- this._localeChanges.next();
773
- };
774
- /**
775
- * Compares two dates.
776
- * @param first The first date to compare.
777
- * @param second The second date to compare.
778
- * @returns 0 if the dates are equal, a number less than 0 if the first date is earlier,
779
- * a number greater than 0 if the first date is later.
780
- */
781
- DateAdapter.prototype.compareDate = function (first, second) {
782
- return this.getYear(first) - this.getYear(second) ||
783
- this.getMonth(first) - this.getMonth(second) ||
784
- this.getDate(first) - this.getDate(second);
785
- };
786
- /**
787
- * Checks if two dates are equal.
788
- * @param first The first date to check.
789
- * @param second The second date to check.
790
- * @returns Whether the two dates are equal.
791
- * Null dates are considered equal to other null dates.
792
- */
793
- DateAdapter.prototype.sameDate = function (first, second) {
794
- if (first && second) {
795
- var firstValid = this.isValid(first);
796
- var secondValid = this.isValid(second);
797
- if (firstValid && secondValid) {
798
- return !this.compareDate(first, second);
799
- }
800
- return firstValid == secondValid;
801
- }
802
- return first == second;
803
- };
804
- /**
805
- * Clamp the given date between min and max dates.
806
- * @param date The date to clamp.
807
- * @param min The minimum value to allow. If null or omitted no min is enforced.
808
- * @param max The maximum value to allow. If null or omitted no max is enforced.
809
- * @returns `min` if `date` is less than `min`, `max` if date is greater than `max`,
810
- * otherwise `date`.
811
- */
812
- DateAdapter.prototype.clampDate = function (date, min, max) {
813
- if (min && this.compareDate(date, min) < 0) {
814
- return min;
815
- }
816
- if (max && this.compareDate(date, max) > 0) {
817
- return max;
818
- }
819
- return date;
820
- };
821
- return DateAdapter;
822
- }());
823
-
824
- /**
825
- * @license
826
- * Copyright Google LLC All Rights Reserved.
827
- *
828
- * Use of this source code is governed by an MIT-style license that can be
829
- * found in the LICENSE file at https://angular.io/license
830
- */
831
- var MAT_DATE_FORMATS = new i0.InjectionToken('mat-date-formats');
832
-
833
- /**
834
- * Matches strings that have the form of a valid RFC 3339 string
835
- * (https://tools.ietf.org/html/rfc3339). Note that the string may not actually be a valid date
836
- * because the regex will match strings an with out of bounds month, date, etc.
837
- */
838
- var ISO_8601_REGEX = /^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;
839
- /** Creates an array and fills it with values. */
840
- function range(length, valueFunction) {
841
- var valuesArray = Array(length);
842
- for (var i = 0; i < length; i++) {
843
- valuesArray[i] = valueFunction(i);
844
- }
845
- return valuesArray;
846
- }
847
- /** Adapts the native JS Date for use with cdk-based components that work with dates. */
848
- var NativeDateAdapter = /** @class */ (function (_super) {
849
- __extends(NativeDateAdapter, _super);
850
- function NativeDateAdapter(matDateLocale,
851
- /**
852
- * @deprecated No longer being used. To be removed.
853
- * @breaking-change 14.0.0
854
- */
855
- _platform) {
856
- var _this = _super.call(this) || this;
857
- /**
858
- * @deprecated No longer being used. To be removed.
859
- * @breaking-change 14.0.0
860
- */
861
- _this.useUtcForDisplay = false;
862
- _super.prototype.setLocale.call(_this, matDateLocale);
863
- return _this;
864
- }
865
- NativeDateAdapter.prototype.getYear = function (date) {
866
- return date.getFullYear();
867
- };
868
- NativeDateAdapter.prototype.getMonth = function (date) {
869
- return date.getMonth();
870
- };
871
- NativeDateAdapter.prototype.getDate = function (date) {
872
- return date.getDate();
873
- };
874
- NativeDateAdapter.prototype.getDayOfWeek = function (date) {
875
- return date.getDay();
876
- };
877
- NativeDateAdapter.prototype.getMonthNames = function (style) {
878
- var _this = this;
879
- var dtf = new Intl.DateTimeFormat(this.locale, { month: style, timeZone: 'utc' });
880
- return range(12, function (i) { return _this._format(dtf, new Date(2017, i, 1)); });
881
- };
882
- NativeDateAdapter.prototype.getDateNames = function () {
883
- var _this = this;
884
- var dtf = new Intl.DateTimeFormat(this.locale, { day: 'numeric', timeZone: 'utc' });
885
- return range(31, function (i) { return _this._format(dtf, new Date(2017, 0, i + 1)); });
886
- };
887
- NativeDateAdapter.prototype.getDayOfWeekNames = function (style) {
888
- var _this = this;
889
- var dtf = new Intl.DateTimeFormat(this.locale, { weekday: style, timeZone: 'utc' });
890
- return range(7, function (i) { return _this._format(dtf, new Date(2017, 0, i + 1)); });
891
- };
892
- NativeDateAdapter.prototype.getYearName = function (date) {
893
- var dtf = new Intl.DateTimeFormat(this.locale, { year: 'numeric', timeZone: 'utc' });
894
- return this._format(dtf, date);
895
- };
896
- NativeDateAdapter.prototype.getFirstDayOfWeek = function () {
897
- // We can't tell using native JS Date what the first day of the week is, we default to Sunday.
898
- return 0;
899
- };
900
- NativeDateAdapter.prototype.getNumDaysInMonth = function (date) {
901
- return this.getDate(this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + 1, 0));
902
- };
903
- NativeDateAdapter.prototype.clone = function (date) {
904
- return new Date(date.getTime());
905
- };
906
- NativeDateAdapter.prototype.createDate = function (year, month, date) {
907
- if (typeof ngDevMode === 'undefined' || ngDevMode) {
908
- // Check for invalid month and date (except upper bound on date which we have to check after
909
- // creating the Date).
910
- if (month < 0 || month > 11) {
911
- throw Error("Invalid month index \"" + month + "\". Month index has to be between 0 and 11.");
912
- }
913
- if (date < 1) {
914
- throw Error("Invalid date \"" + date + "\". Date has to be greater than 0.");
915
- }
916
- }
917
- var result = this._createDateWithOverflow(year, month, date);
918
- // Check that the date wasn't above the upper bound for the month, causing the month to overflow
919
- if (result.getMonth() != month && (typeof ngDevMode === 'undefined' || ngDevMode)) {
920
- throw Error("Invalid date \"" + date + "\" for month with index \"" + month + "\".");
921
- }
922
- return result;
923
- };
924
- NativeDateAdapter.prototype.today = function () {
925
- return new Date();
926
- };
927
- NativeDateAdapter.prototype.parse = function (value) {
928
- // We have no way using the native JS Date to set the parse format or locale, so we ignore these
929
- // parameters.
930
- if (typeof value == 'number') {
931
- return new Date(value);
932
- }
933
- return value ? new Date(Date.parse(value)) : null;
934
- };
935
- NativeDateAdapter.prototype.format = function (date, displayFormat) {
936
- if (!this.isValid(date)) {
937
- throw Error('NativeDateAdapter: Cannot format invalid date.');
938
- }
939
- var dtf = new Intl.DateTimeFormat(this.locale, Object.assign(Object.assign({}, displayFormat), { timeZone: 'utc' }));
940
- return this._format(dtf, date);
941
- };
942
- NativeDateAdapter.prototype.addCalendarYears = function (date, years) {
943
- return this.addCalendarMonths(date, years * 12);
944
- };
945
- NativeDateAdapter.prototype.addCalendarMonths = function (date, months) {
946
- var newDate = this._createDateWithOverflow(this.getYear(date), this.getMonth(date) + months, this.getDate(date));
947
- // It's possible to wind up in the wrong month if the original month has more days than the new
948
- // month. In this case we want to go to the last day of the desired month.
949
- // Note: the additional + 12 % 12 ensures we end up with a positive number, since JS % doesn't
950
- // guarantee this.
951
- if (this.getMonth(newDate) != ((this.getMonth(date) + months) % 12 + 12) % 12) {
952
- newDate = this._createDateWithOverflow(this.getYear(newDate), this.getMonth(newDate), 0);
953
- }
954
- return newDate;
955
- };
956
- NativeDateAdapter.prototype.addCalendarDays = function (date, days) {
957
- return this._createDateWithOverflow(this.getYear(date), this.getMonth(date), this.getDate(date) + days);
958
- };
959
- NativeDateAdapter.prototype.toIso8601 = function (date) {
960
- return [
961
- date.getUTCFullYear(),
962
- this._2digit(date.getUTCMonth() + 1),
963
- this._2digit(date.getUTCDate())
964
- ].join('-');
965
- };
966
- /**
967
- * Returns the given value if given a valid Date or null. Deserializes valid ISO 8601 strings
968
- * (https://www.ietf.org/rfc/rfc3339.txt) into valid Dates and empty string into null. Returns an
969
- * invalid date for all other values.
970
- */
971
- NativeDateAdapter.prototype.deserialize = function (value) {
972
- if (typeof value === 'string') {
973
- if (!value) {
974
- return null;
975
- }
976
- // The `Date` constructor accepts formats other than ISO 8601, so we need to make sure the
977
- // string is the right format first.
978
- if (ISO_8601_REGEX.test(value)) {
979
- var date = new Date(value);
980
- if (this.isValid(date)) {
981
- return date;
982
- }
983
- }
984
- }
985
- return _super.prototype.deserialize.call(this, value);
986
- };
987
- NativeDateAdapter.prototype.isDateInstance = function (obj) {
988
- return obj instanceof Date;
989
- };
990
- NativeDateAdapter.prototype.isValid = function (date) {
991
- return !isNaN(date.getTime());
992
- };
993
- NativeDateAdapter.prototype.invalid = function () {
994
- return new Date(NaN);
995
- };
996
- /** Creates a date but allows the month and date to overflow. */
997
- NativeDateAdapter.prototype._createDateWithOverflow = function (year, month, date) {
998
- // Passing the year to the constructor causes year numbers <100 to be converted to 19xx.
999
- // To work around this we use `setFullYear` and `setHours` instead.
1000
- var d = new Date();
1001
- d.setFullYear(year, month, date);
1002
- d.setHours(0, 0, 0, 0);
1003
- return d;
1004
- };
1005
- /**
1006
- * Pads a number to make it two digits.
1007
- * @param n The number to pad.
1008
- * @returns The padded number.
1009
- */
1010
- NativeDateAdapter.prototype._2digit = function (n) {
1011
- return ('00' + n).slice(-2);
1012
- };
1013
- /**
1014
- * When converting Date object to string, javascript built-in functions may return wrong
1015
- * results because it applies its internal DST rules. The DST rules around the world change
1016
- * very frequently, and the current valid rule is not always valid in previous years though.
1017
- * We work around this problem building a new Date object which has its internal UTC
1018
- * representation with the local date and time.
1019
- * @param dtf Intl.DateTimeFormat object, containg the desired string format. It must have
1020
- * timeZone set to 'utc' to work fine.
1021
- * @param date Date from which we want to get the string representation according to dtf
1022
- * @returns A Date object with its UTC representation based on the passed in date info
1023
- */
1024
- NativeDateAdapter.prototype._format = function (dtf, date) {
1025
- // Passing the year to the constructor causes year numbers <100 to be converted to 19xx.
1026
- // To work around this we use `setUTCFullYear` and `setUTCHours` instead.
1027
- var d = new Date();
1028
- d.setUTCFullYear(date.getFullYear(), date.getMonth(), date.getDate());
1029
- d.setUTCHours(date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());
1030
- return dtf.format(d);
1031
- };
1032
- return NativeDateAdapter;
1033
- }(DateAdapter));
1034
- NativeDateAdapter.decorators = [
1035
- { type: i0.Injectable }
1036
- ];
1037
- NativeDateAdapter.ctorParameters = function () { return [
1038
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_DATE_LOCALE,] }] },
1039
- { type: platform.Platform }
1040
- ]; };
1041
-
1042
- /**
1043
- * @license
1044
- * Copyright Google LLC All Rights Reserved.
1045
- *
1046
- * Use of this source code is governed by an MIT-style license that can be
1047
- * found in the LICENSE file at https://angular.io/license
1048
- */
1049
- var MAT_NATIVE_DATE_FORMATS = {
1050
- parse: {
1051
- dateInput: null,
1052
- },
1053
- display: {
1054
- dateInput: { year: 'numeric', month: 'numeric', day: 'numeric' },
1055
- monthYearLabel: { year: 'numeric', month: 'short' },
1056
- dateA11yLabel: { year: 'numeric', month: 'long', day: 'numeric' },
1057
- monthYearA11yLabel: { year: 'numeric', month: 'long' },
1058
- }
1059
- };
1060
-
1061
- /**
1062
- * @license
1063
- * Copyright Google LLC All Rights Reserved.
1064
- *
1065
- * Use of this source code is governed by an MIT-style license that can be
1066
- * found in the LICENSE file at https://angular.io/license
1067
- */
1068
- var NativeDateModule = /** @class */ (function () {
1069
- function NativeDateModule() {
1070
- }
1071
- return NativeDateModule;
1072
- }());
1073
- NativeDateModule.decorators = [
1074
- { type: i0.NgModule, args: [{
1075
- imports: [platform.PlatformModule],
1076
- providers: [
1077
- { provide: DateAdapter, useClass: NativeDateAdapter },
1078
- ],
1079
- },] }
1080
- ];
1081
- var ɵ0 = MAT_NATIVE_DATE_FORMATS;
1082
- var MatNativeDateModule = /** @class */ (function () {
1083
- function MatNativeDateModule() {
1084
- }
1085
- return MatNativeDateModule;
1086
- }());
1087
- MatNativeDateModule.decorators = [
1088
- { type: i0.NgModule, args: [{
1089
- imports: [NativeDateModule],
1090
- providers: [{ provide: MAT_DATE_FORMATS, useValue: ɵ0 }],
1091
- },] }
1092
- ];
1093
-
1094
- /**
1095
- * @license
1096
- * Copyright Google LLC All Rights Reserved.
1097
- *
1098
- * Use of this source code is governed by an MIT-style license that can be
1099
- * found in the LICENSE file at https://angular.io/license
1100
- */
1101
- /** Error state matcher that matches when a control is invalid and dirty. */
1102
- var ShowOnDirtyErrorStateMatcher = /** @class */ (function () {
1103
- function ShowOnDirtyErrorStateMatcher() {
1104
- }
1105
- ShowOnDirtyErrorStateMatcher.prototype.isErrorState = function (control, form) {
1106
- return !!(control && control.invalid && (control.dirty || (form && form.submitted)));
1107
- };
1108
- return ShowOnDirtyErrorStateMatcher;
1109
- }());
1110
- ShowOnDirtyErrorStateMatcher.decorators = [
1111
- { type: i0.Injectable }
1112
- ];
1113
- /** Provider that defines how form controls behave with regards to displaying error messages. */
1114
- var ErrorStateMatcher = /** @class */ (function () {
1115
- function ErrorStateMatcher() {
1116
- }
1117
- ErrorStateMatcher.prototype.isErrorState = function (control, form) {
1118
- return !!(control && control.invalid && (control.touched || (form && form.submitted)));
1119
- };
1120
- return ErrorStateMatcher;
1121
- }());
1122
- ErrorStateMatcher.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ErrorStateMatcher_Factory() { return new ErrorStateMatcher(); }, token: ErrorStateMatcher, providedIn: "root" });
1123
- ErrorStateMatcher.decorators = [
1124
- { type: i0.Injectable, args: [{ providedIn: 'root' },] }
1125
- ];
1126
-
1127
- /**
1128
- * @license
1129
- * Copyright Google LLC All Rights Reserved.
1130
- *
1131
- * Use of this source code is governed by an MIT-style license that can be
1132
- * found in the LICENSE file at https://angular.io/license
1133
- */
1134
- /**
1135
- * Shared directive to count lines inside a text area, such as a list item.
1136
- * Line elements can be extracted with a @ContentChildren(MatLine) query, then
1137
- * counted by checking the query list's length.
1138
- */
1139
- var MatLine = /** @class */ (function () {
1140
- function MatLine() {
1141
- }
1142
- return MatLine;
1143
- }());
1144
- MatLine.decorators = [
1145
- { type: i0.Directive, args: [{
1146
- selector: '[mat-line], [matLine]',
1147
- host: { 'class': 'mat-line' }
1148
- },] }
1149
- ];
1150
- /**
1151
- * Helper that takes a query list of lines and sets the correct class on the host.
1152
- * @docs-private
1153
- */
1154
- function setLines(lines, element, prefix) {
1155
- if (prefix === void 0) { prefix = 'mat'; }
1156
- // Note: doesn't need to unsubscribe, because `changes`
1157
- // gets completed by Angular when the view is destroyed.
1158
- lines.changes.pipe(operators.startWith(lines)).subscribe(function (_a) {
1159
- var length = _a.length;
1160
- setClass(element, prefix + "-2-line", false);
1161
- setClass(element, prefix + "-3-line", false);
1162
- setClass(element, prefix + "-multi-line", false);
1163
- if (length === 2 || length === 3) {
1164
- setClass(element, prefix + "-" + length + "-line", true);
1165
- }
1166
- else if (length > 3) {
1167
- setClass(element, prefix + "-multi-line", true);
1168
- }
1169
- });
1170
- }
1171
- /** Adds or removes a class from an element. */
1172
- function setClass(element, className, isAdd) {
1173
- var classList = element.nativeElement.classList;
1174
- isAdd ? classList.add(className) : classList.remove(className);
1175
- }
1176
- var MatLineModule = /** @class */ (function () {
1177
- function MatLineModule() {
1178
- }
1179
- return MatLineModule;
1180
- }());
1181
- MatLineModule.decorators = [
1182
- { type: i0.NgModule, args: [{
1183
- imports: [MatCommonModule],
1184
- exports: [MatLine, MatCommonModule],
1185
- declarations: [MatLine],
1186
- },] }
1187
- ];
1188
-
1189
- /**
1190
- * @license
1191
- * Copyright Google LLC All Rights Reserved.
1192
- *
1193
- * Use of this source code is governed by an MIT-style license that can be
1194
- * found in the LICENSE file at https://angular.io/license
1195
- */
1196
- /**
1197
- * Reference to a previously launched ripple element.
1198
- */
1199
- var RippleRef = /** @class */ (function () {
1200
- function RippleRef(_renderer,
1201
- /** Reference to the ripple HTML element. */
1202
- element,
1203
- /** Ripple configuration used for the ripple. */
1204
- config) {
1205
- this._renderer = _renderer;
1206
- this.element = element;
1207
- this.config = config;
1208
- /** Current state of the ripple. */
1209
- this.state = 3 /* HIDDEN */;
1210
- }
1211
- /** Fades out the ripple element. */
1212
- RippleRef.prototype.fadeOut = function () {
1213
- this._renderer.fadeOutRipple(this);
1214
- };
1215
- return RippleRef;
1216
- }());
1217
-
1218
- // TODO: import these values from `@material/ripple` eventually.
1219
- /**
1220
- * Default ripple animation configuration for ripples without an explicit
1221
- * animation config specified.
1222
- */
1223
- var defaultRippleAnimationConfig = {
1224
- enterDuration: 225,
1225
- exitDuration: 150
1226
- };
1227
- /**
1228
- * Timeout for ignoring mouse events. Mouse events will be temporary ignored after touch
1229
- * events to avoid synthetic mouse events.
1230
- */
1231
- var ignoreMouseEventsTimeout = 800;
1232
- /** Options that apply to all the event listeners that are bound by the ripple renderer. */
1233
- var passiveEventOptions = platform.normalizePassiveListenerOptions({ passive: true });
1234
- /** Events that signal that the pointer is down. */
1235
- var pointerDownEvents = ['mousedown', 'touchstart'];
1236
- /** Events that signal that the pointer is up. */
1237
- var pointerUpEvents = ['mouseup', 'mouseleave', 'touchend', 'touchcancel'];
1238
- /**
1239
- * Helper service that performs DOM manipulations. Not intended to be used outside this module.
1240
- * The constructor takes a reference to the ripple directive's host element and a map of DOM
1241
- * event handlers to be installed on the element that triggers ripple animations.
1242
- * This will eventually become a custom renderer once Angular support exists.
1243
- * @docs-private
1244
- */
1245
- var RippleRenderer = /** @class */ (function () {
1246
- function RippleRenderer(_target, _ngZone, elementOrElementRef, platform) {
1247
- this._target = _target;
1248
- this._ngZone = _ngZone;
1249
- /** Whether the pointer is currently down or not. */
1250
- this._isPointerDown = false;
1251
- /** Set of currently active ripple references. */
1252
- this._activeRipples = new Set();
1253
- /** Whether pointer-up event listeners have been registered. */
1254
- this._pointerUpEventsRegistered = false;
1255
- // Only do anything if we're on the browser.
1256
- if (platform.isBrowser) {
1257
- this._containerElement = coercion.coerceElement(elementOrElementRef);
1258
- }
1259
- }
1260
- /**
1261
- * Fades in a ripple at the given coordinates.
1262
- * @param x Coordinate within the element, along the X axis at which to start the ripple.
1263
- * @param y Coordinate within the element, along the Y axis at which to start the ripple.
1264
- * @param config Extra ripple options.
1265
- */
1266
- RippleRenderer.prototype.fadeInRipple = function (x, y, config) {
1267
- var _this = this;
1268
- if (config === void 0) { config = {}; }
1269
- var containerRect = this._containerRect =
1270
- this._containerRect || this._containerElement.getBoundingClientRect();
1271
- var animationConfig = Object.assign(Object.assign({}, defaultRippleAnimationConfig), config.animation);
1272
- if (config.centered) {
1273
- x = containerRect.left + containerRect.width / 2;
1274
- y = containerRect.top + containerRect.height / 2;
1275
- }
1276
- var radius = config.radius || distanceToFurthestCorner(x, y, containerRect);
1277
- var offsetX = x - containerRect.left;
1278
- var offsetY = y - containerRect.top;
1279
- var duration = animationConfig.enterDuration;
1280
- var ripple = document.createElement('div');
1281
- ripple.classList.add('mat-ripple-element');
1282
- ripple.style.left = offsetX - radius + "px";
1283
- ripple.style.top = offsetY - radius + "px";
1284
- ripple.style.height = radius * 2 + "px";
1285
- ripple.style.width = radius * 2 + "px";
1286
- // If a custom color has been specified, set it as inline style. If no color is
1287
- // set, the default color will be applied through the ripple theme styles.
1288
- if (config.color != null) {
1289
- ripple.style.backgroundColor = config.color;
1290
- }
1291
- ripple.style.transitionDuration = duration + "ms";
1292
- this._containerElement.appendChild(ripple);
1293
- // By default the browser does not recalculate the styles of dynamically created
1294
- // ripple elements. This is critical because then the `scale` would not animate properly.
1295
- enforceStyleRecalculation(ripple);
1296
- ripple.style.transform = 'scale(1)';
1297
- // Exposed reference to the ripple that will be returned.
1298
- var rippleRef = new RippleRef(this, ripple, config);
1299
- rippleRef.state = 0 /* FADING_IN */;
1300
- // Add the ripple reference to the list of all active ripples.
1301
- this._activeRipples.add(rippleRef);
1302
- if (!config.persistent) {
1303
- this._mostRecentTransientRipple = rippleRef;
1304
- }
1305
- // Wait for the ripple element to be completely faded in.
1306
- // Once it's faded in, the ripple can be hidden immediately if the mouse is released.
1307
- this._runTimeoutOutsideZone(function () {
1308
- var isMostRecentTransientRipple = rippleRef === _this._mostRecentTransientRipple;
1309
- rippleRef.state = 1 /* VISIBLE */;
1310
- // When the timer runs out while the user has kept their pointer down, we want to
1311
- // keep only the persistent ripples and the latest transient ripple. We do this,
1312
- // because we don't want stacked transient ripples to appear after their enter
1313
- // animation has finished.
1314
- if (!config.persistent && (!isMostRecentTransientRipple || !_this._isPointerDown)) {
1315
- rippleRef.fadeOut();
1316
- }
1317
- }, duration);
1318
- return rippleRef;
1319
- };
1320
- /** Fades out a ripple reference. */
1321
- RippleRenderer.prototype.fadeOutRipple = function (rippleRef) {
1322
- var wasActive = this._activeRipples.delete(rippleRef);
1323
- if (rippleRef === this._mostRecentTransientRipple) {
1324
- this._mostRecentTransientRipple = null;
1325
- }
1326
- // Clear out the cached bounding rect if we have no more ripples.
1327
- if (!this._activeRipples.size) {
1328
- this._containerRect = null;
1329
- }
1330
- // For ripples that are not active anymore, don't re-run the fade-out animation.
1331
- if (!wasActive) {
1332
- return;
1333
- }
1334
- var rippleEl = rippleRef.element;
1335
- var animationConfig = Object.assign(Object.assign({}, defaultRippleAnimationConfig), rippleRef.config.animation);
1336
- rippleEl.style.transitionDuration = animationConfig.exitDuration + "ms";
1337
- rippleEl.style.opacity = '0';
1338
- rippleRef.state = 2 /* FADING_OUT */;
1339
- // Once the ripple faded out, the ripple can be safely removed from the DOM.
1340
- this._runTimeoutOutsideZone(function () {
1341
- rippleRef.state = 3 /* HIDDEN */;
1342
- rippleEl.parentNode.removeChild(rippleEl);
1343
- }, animationConfig.exitDuration);
1344
- };
1345
- /** Fades out all currently active ripples. */
1346
- RippleRenderer.prototype.fadeOutAll = function () {
1347
- this._activeRipples.forEach(function (ripple) { return ripple.fadeOut(); });
1348
- };
1349
- /** Fades out all currently active non-persistent ripples. */
1350
- RippleRenderer.prototype.fadeOutAllNonPersistent = function () {
1351
- this._activeRipples.forEach(function (ripple) {
1352
- if (!ripple.config.persistent) {
1353
- ripple.fadeOut();
1354
- }
1355
- });
1356
- };
1357
- /** Sets up the trigger event listeners */
1358
- RippleRenderer.prototype.setupTriggerEvents = function (elementOrElementRef) {
1359
- var element = coercion.coerceElement(elementOrElementRef);
1360
- if (!element || element === this._triggerElement) {
1361
- return;
1362
- }
1363
- // Remove all previously registered event listeners from the trigger element.
1364
- this._removeTriggerEvents();
1365
- this._triggerElement = element;
1366
- this._registerEvents(pointerDownEvents);
1367
- };
1368
- /**
1369
- * Handles all registered events.
1370
- * @docs-private
1371
- */
1372
- RippleRenderer.prototype.handleEvent = function (event) {
1373
- if (event.type === 'mousedown') {
1374
- this._onMousedown(event);
1375
- }
1376
- else if (event.type === 'touchstart') {
1377
- this._onTouchStart(event);
1378
- }
1379
- else {
1380
- this._onPointerUp();
1381
- }
1382
- // If pointer-up events haven't been registered yet, do so now.
1383
- // We do this on-demand in order to reduce the total number of event listeners
1384
- // registered by the ripples, which speeds up the rendering time for large UIs.
1385
- if (!this._pointerUpEventsRegistered) {
1386
- this._registerEvents(pointerUpEvents);
1387
- this._pointerUpEventsRegistered = true;
1388
- }
1389
- };
1390
- /** Function being called whenever the trigger is being pressed using mouse. */
1391
- RippleRenderer.prototype._onMousedown = function (event) {
1392
- // Screen readers will fire fake mouse events for space/enter. Skip launching a
1393
- // ripple in this case for consistency with the non-screen-reader experience.
1394
- var isFakeMousedown = a11y.isFakeMousedownFromScreenReader(event);
1395
- var isSyntheticEvent = this._lastTouchStartEvent &&
1396
- Date.now() < this._lastTouchStartEvent + ignoreMouseEventsTimeout;
1397
- if (!this._target.rippleDisabled && !isFakeMousedown && !isSyntheticEvent) {
1398
- this._isPointerDown = true;
1399
- this.fadeInRipple(event.clientX, event.clientY, this._target.rippleConfig);
1400
- }
1401
- };
1402
- /** Function being called whenever the trigger is being pressed using touch. */
1403
- RippleRenderer.prototype._onTouchStart = function (event) {
1404
- if (!this._target.rippleDisabled && !a11y.isFakeTouchstartFromScreenReader(event)) {
1405
- // Some browsers fire mouse events after a `touchstart` event. Those synthetic mouse
1406
- // events will launch a second ripple if we don't ignore mouse events for a specific
1407
- // time after a touchstart event.
1408
- this._lastTouchStartEvent = Date.now();
1409
- this._isPointerDown = true;
1410
- // Use `changedTouches` so we skip any touches where the user put
1411
- // their finger down, but used another finger to tap the element again.
1412
- var touches = event.changedTouches;
1413
- for (var i = 0; i < touches.length; i++) {
1414
- this.fadeInRipple(touches[i].clientX, touches[i].clientY, this._target.rippleConfig);
1415
- }
1416
- }
1417
- };
1418
- /** Function being called whenever the trigger is being released. */
1419
- RippleRenderer.prototype._onPointerUp = function () {
1420
- if (!this._isPointerDown) {
1421
- return;
1422
- }
1423
- this._isPointerDown = false;
1424
- // Fade-out all ripples that are visible and not persistent.
1425
- this._activeRipples.forEach(function (ripple) {
1426
- // By default, only ripples that are completely visible will fade out on pointer release.
1427
- // If the `terminateOnPointerUp` option is set, ripples that still fade in will also fade out.
1428
- var isVisible = ripple.state === 1 /* VISIBLE */ ||
1429
- ripple.config.terminateOnPointerUp && ripple.state === 0 /* FADING_IN */;
1430
- if (!ripple.config.persistent && isVisible) {
1431
- ripple.fadeOut();
1432
- }
1433
- });
1434
- };
1435
- /** Runs a timeout outside of the Angular zone to avoid triggering the change detection. */
1436
- RippleRenderer.prototype._runTimeoutOutsideZone = function (fn, delay) {
1437
- if (delay === void 0) { delay = 0; }
1438
- this._ngZone.runOutsideAngular(function () { return setTimeout(fn, delay); });
1439
- };
1440
- /** Registers event listeners for a given list of events. */
1441
- RippleRenderer.prototype._registerEvents = function (eventTypes) {
1442
- var _this = this;
1443
- this._ngZone.runOutsideAngular(function () {
1444
- eventTypes.forEach(function (type) {
1445
- _this._triggerElement.addEventListener(type, _this, passiveEventOptions);
1446
- });
1447
- });
1448
- };
1449
- /** Removes previously registered event listeners from the trigger element. */
1450
- RippleRenderer.prototype._removeTriggerEvents = function () {
1451
- var _this = this;
1452
- if (this._triggerElement) {
1453
- pointerDownEvents.forEach(function (type) {
1454
- _this._triggerElement.removeEventListener(type, _this, passiveEventOptions);
1455
- });
1456
- if (this._pointerUpEventsRegistered) {
1457
- pointerUpEvents.forEach(function (type) {
1458
- _this._triggerElement.removeEventListener(type, _this, passiveEventOptions);
1459
- });
1460
- }
1461
- }
1462
- };
1463
- return RippleRenderer;
1464
- }());
1465
- /** Enforces a style recalculation of a DOM element by computing its styles. */
1466
- function enforceStyleRecalculation(element) {
1467
- // Enforce a style recalculation by calling `getComputedStyle` and accessing any property.
1468
- // Calling `getPropertyValue` is important to let optimizers know that this is not a noop.
1469
- // See: https://gist.github.com/paulirish/5d52fb081b3570c81e3a
1470
- window.getComputedStyle(element).getPropertyValue('opacity');
1471
- }
1472
- /**
1473
- * Returns the distance from the point (x, y) to the furthest corner of a rectangle.
1474
- */
1475
- function distanceToFurthestCorner(x, y, rect) {
1476
- var distX = Math.max(Math.abs(x - rect.left), Math.abs(x - rect.right));
1477
- var distY = Math.max(Math.abs(y - rect.top), Math.abs(y - rect.bottom));
1478
- return Math.sqrt(distX * distX + distY * distY);
1479
- }
1480
-
1481
- /**
1482
- * @license
1483
- * Copyright Google LLC All Rights Reserved.
1484
- *
1485
- * Use of this source code is governed by an MIT-style license that can be
1486
- * found in the LICENSE file at https://angular.io/license
1487
- */
1488
- /** Injection token that can be used to specify the global ripple options. */
1489
- var MAT_RIPPLE_GLOBAL_OPTIONS = new i0.InjectionToken('mat-ripple-global-options');
1490
- var MatRipple = /** @class */ (function () {
1491
- function MatRipple(_elementRef, ngZone, platform, globalOptions, _animationMode) {
1492
- this._elementRef = _elementRef;
1493
- this._animationMode = _animationMode;
1494
- /**
1495
- * If set, the radius in pixels of foreground ripples when fully expanded. If unset, the radius
1496
- * will be the distance from the center of the ripple to the furthest corner of the host element's
1497
- * bounding rectangle.
1498
- */
1499
- this.radius = 0;
1500
- this._disabled = false;
1501
- /** Whether ripple directive is initialized and the input bindings are set. */
1502
- this._isInitialized = false;
1503
- this._globalOptions = globalOptions || {};
1504
- this._rippleRenderer = new RippleRenderer(this, ngZone, _elementRef, platform);
1505
- }
1506
- Object.defineProperty(MatRipple.prototype, "disabled", {
1507
- /**
1508
- * Whether click events will not trigger the ripple. Ripples can be still launched manually
1509
- * by using the `launch()` method.
1510
- */
1511
- get: function () { return this._disabled; },
1512
- set: function (value) {
1513
- if (value) {
1514
- this.fadeOutAllNonPersistent();
1515
- }
1516
- this._disabled = value;
1517
- this._setupTriggerEventsIfEnabled();
1518
- },
1519
- enumerable: false,
1520
- configurable: true
1521
- });
1522
- Object.defineProperty(MatRipple.prototype, "trigger", {
1523
- /**
1524
- * The element that triggers the ripple when click events are received.
1525
- * Defaults to the directive's host element.
1526
- */
1527
- get: function () { return this._trigger || this._elementRef.nativeElement; },
1528
- set: function (trigger) {
1529
- this._trigger = trigger;
1530
- this._setupTriggerEventsIfEnabled();
1531
- },
1532
- enumerable: false,
1533
- configurable: true
1534
- });
1535
- MatRipple.prototype.ngOnInit = function () {
1536
- this._isInitialized = true;
1537
- this._setupTriggerEventsIfEnabled();
1538
- };
1539
- MatRipple.prototype.ngOnDestroy = function () {
1540
- this._rippleRenderer._removeTriggerEvents();
1541
- };
1542
- /** Fades out all currently showing ripple elements. */
1543
- MatRipple.prototype.fadeOutAll = function () {
1544
- this._rippleRenderer.fadeOutAll();
1545
- };
1546
- /** Fades out all currently showing non-persistent ripple elements. */
1547
- MatRipple.prototype.fadeOutAllNonPersistent = function () {
1548
- this._rippleRenderer.fadeOutAllNonPersistent();
1549
- };
1550
- Object.defineProperty(MatRipple.prototype, "rippleConfig", {
1551
- /**
1552
- * Ripple configuration from the directive's input values.
1553
- * @docs-private Implemented as part of RippleTarget
1554
- */
1555
- get: function () {
1556
- return {
1557
- centered: this.centered,
1558
- radius: this.radius,
1559
- color: this.color,
1560
- animation: Object.assign(Object.assign(Object.assign({}, this._globalOptions.animation), (this._animationMode === 'NoopAnimations' ? { enterDuration: 0, exitDuration: 0 } : {})), this.animation),
1561
- terminateOnPointerUp: this._globalOptions.terminateOnPointerUp,
1562
- };
1563
- },
1564
- enumerable: false,
1565
- configurable: true
1566
- });
1567
- Object.defineProperty(MatRipple.prototype, "rippleDisabled", {
1568
- /**
1569
- * Whether ripples on pointer-down are disabled or not.
1570
- * @docs-private Implemented as part of RippleTarget
1571
- */
1572
- get: function () {
1573
- return this.disabled || !!this._globalOptions.disabled;
1574
- },
1575
- enumerable: false,
1576
- configurable: true
1577
- });
1578
- /** Sets up the trigger event listeners if ripples are enabled. */
1579
- MatRipple.prototype._setupTriggerEventsIfEnabled = function () {
1580
- if (!this.disabled && this._isInitialized) {
1581
- this._rippleRenderer.setupTriggerEvents(this.trigger);
1582
- }
1583
- };
1584
- /** Launches a manual ripple at the specified coordinated or just by the ripple config. */
1585
- MatRipple.prototype.launch = function (configOrX, y, config) {
1586
- if (y === void 0) { y = 0; }
1587
- if (typeof configOrX === 'number') {
1588
- return this._rippleRenderer.fadeInRipple(configOrX, y, Object.assign(Object.assign({}, this.rippleConfig), config));
1589
- }
1590
- else {
1591
- return this._rippleRenderer.fadeInRipple(0, 0, Object.assign(Object.assign({}, this.rippleConfig), configOrX));
1592
- }
1593
- };
1594
- return MatRipple;
1595
- }());
1596
- MatRipple.decorators = [
1597
- { type: i0.Directive, args: [{
1598
- selector: '[mat-ripple], [matRipple]',
1599
- exportAs: 'matRipple',
1600
- host: {
1601
- 'class': 'mat-ripple',
1602
- '[class.mat-ripple-unbounded]': 'unbounded'
1603
- }
1604
- },] }
1605
- ];
1606
- MatRipple.ctorParameters = function () { return [
1607
- { type: i0.ElementRef },
1608
- { type: i0.NgZone },
1609
- { type: platform.Platform },
1610
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_RIPPLE_GLOBAL_OPTIONS,] }] },
1611
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1612
- ]; };
1613
- MatRipple.propDecorators = {
1614
- color: [{ type: i0.Input, args: ['matRippleColor',] }],
1615
- unbounded: [{ type: i0.Input, args: ['matRippleUnbounded',] }],
1616
- centered: [{ type: i0.Input, args: ['matRippleCentered',] }],
1617
- radius: [{ type: i0.Input, args: ['matRippleRadius',] }],
1618
- animation: [{ type: i0.Input, args: ['matRippleAnimation',] }],
1619
- disabled: [{ type: i0.Input, args: ['matRippleDisabled',] }],
1620
- trigger: [{ type: i0.Input, args: ['matRippleTrigger',] }]
1621
- };
1622
-
1623
- /**
1624
- * @license
1625
- * Copyright Google LLC All Rights Reserved.
1626
- *
1627
- * Use of this source code is governed by an MIT-style license that can be
1628
- * found in the LICENSE file at https://angular.io/license
1629
- */
1630
- var MatRippleModule = /** @class */ (function () {
1631
- function MatRippleModule() {
1632
- }
1633
- return MatRippleModule;
1634
- }());
1635
- MatRippleModule.decorators = [
1636
- { type: i0.NgModule, args: [{
1637
- imports: [MatCommonModule, platform.PlatformModule],
1638
- exports: [MatRipple, MatCommonModule],
1639
- declarations: [MatRipple],
1640
- },] }
1641
- ];
1642
-
1643
- /**
1644
- * @license
1645
- * Copyright Google LLC All Rights Reserved.
1646
- *
1647
- * Use of this source code is governed by an MIT-style license that can be
1648
- * found in the LICENSE file at https://angular.io/license
1649
- */
1650
- /**
1651
- * Component that shows a simplified checkbox without including any kind of "real" checkbox.
1652
- * Meant to be used when the checkbox is purely decorative and a large number of them will be
1653
- * included, such as for the options in a multi-select. Uses no SVGs or complex animations.
1654
- * Note that theming is meant to be handled by the parent element, e.g.
1655
- * `mat-primary .mat-pseudo-checkbox`.
1656
- *
1657
- * Note that this component will be completely invisible to screen-reader users. This is *not*
1658
- * interchangeable with `<mat-checkbox>` and should *not* be used if the user would directly
1659
- * interact with the checkbox. The pseudo-checkbox should only be used as an implementation detail
1660
- * of more complex components that appropriately handle selected / checked state.
1661
- * @docs-private
1662
- */
1663
- var MatPseudoCheckbox = /** @class */ (function () {
1664
- function MatPseudoCheckbox(_animationMode) {
1665
- this._animationMode = _animationMode;
1666
- /** Display state of the checkbox. */
1667
- this.state = 'unchecked';
1668
- /** Whether the checkbox is disabled. */
1669
- this.disabled = false;
1670
- }
1671
- return MatPseudoCheckbox;
1672
- }());
1673
- MatPseudoCheckbox.decorators = [
1674
- { type: i0.Component, args: [{
1675
- encapsulation: i0.ViewEncapsulation.None,
1676
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1677
- selector: 'mat-pseudo-checkbox',
1678
- template: '',
1679
- host: {
1680
- 'class': 'mat-pseudo-checkbox',
1681
- '[class.mat-pseudo-checkbox-indeterminate]': 'state === "indeterminate"',
1682
- '[class.mat-pseudo-checkbox-checked]': 'state === "checked"',
1683
- '[class.mat-pseudo-checkbox-disabled]': 'disabled',
1684
- '[class._mat-animation-noopable]': '_animationMode === "NoopAnimations"',
1685
- },
1686
- styles: [".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:\"\";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n"]
1687
- },] }
1688
- ];
1689
- MatPseudoCheckbox.ctorParameters = function () { return [
1690
- { type: String, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [animations.ANIMATION_MODULE_TYPE,] }] }
1691
- ]; };
1692
- MatPseudoCheckbox.propDecorators = {
1693
- state: [{ type: i0.Input }],
1694
- disabled: [{ type: i0.Input }]
1695
- };
1696
-
1697
- /**
1698
- * @license
1699
- * Copyright Google LLC All Rights Reserved.
1700
- *
1701
- * Use of this source code is governed by an MIT-style license that can be
1702
- * found in the LICENSE file at https://angular.io/license
1703
- */
1704
- var MatPseudoCheckboxModule = /** @class */ (function () {
1705
- function MatPseudoCheckboxModule() {
1706
- }
1707
- return MatPseudoCheckboxModule;
1708
- }());
1709
- MatPseudoCheckboxModule.decorators = [
1710
- { type: i0.NgModule, args: [{
1711
- imports: [MatCommonModule],
1712
- exports: [MatPseudoCheckbox],
1713
- declarations: [MatPseudoCheckbox]
1714
- },] }
1715
- ];
1716
-
1717
- /**
1718
- * @license
1719
- * Copyright Google LLC All Rights Reserved.
1720
- *
1721
- * Use of this source code is governed by an MIT-style license that can be
1722
- * found in the LICENSE file at https://angular.io/license
1723
- */
1724
- /**
1725
- * Injection token used to provide the parent component to options.
1726
- */
1727
- var MAT_OPTION_PARENT_COMPONENT = new i0.InjectionToken('MAT_OPTION_PARENT_COMPONENT');
1728
-
1729
- // Notes on the accessibility pattern used for `mat-optgroup`.
1730
- // The option group has two different "modes": regular and inert. The regular mode uses the
1731
- // recommended a11y pattern which has `role="group"` on the group element with `aria-labelledby`
1732
- // pointing to the label. This works for `mat-select`, but it seems to hit a bug for autocomplete
1733
- // under VoiceOver where the group doesn't get read out at all. The bug appears to be that if
1734
- // there's __any__ a11y-related attribute on the group (e.g. `role` or `aria-labelledby`),
1735
- // VoiceOver on Safari won't read it out.
1736
- // We've introduced the `inert` mode as a workaround. Under this mode, all a11y attributes are
1737
- // removed from the group, and we get the screen reader to read out the group label by mirroring it
1738
- // inside an invisible element in the option. This is sub-optimal, because the screen reader will
1739
- // repeat the group label on each navigation, whereas the default pattern only reads the group when
1740
- // the user enters a new group. The following alternate approaches were considered:
1741
- // 1. Reading out the group label using the `LiveAnnouncer` solves the problem, but we can't control
1742
- // when the text will be read out so sometimes it comes in too late or never if the user
1743
- // navigates quickly.
1744
- // 2. `<mat-option aria-describedby="groupLabel"` - This works on Safari, but VoiceOver in Chrome
1745
- // won't read out the description at all.
1746
- // 3. `<mat-option aria-labelledby="optionLabel groupLabel"` - This works on Chrome, but Safari
1747
- // doesn't read out the text at all. Furthermore, on
1748
- // Boilerplate for applying mixins to MatOptgroup.
1749
- /** @docs-private */
1750
- var _MatOptgroupMixinBase = mixinDisabled(/** @class */ (function () {
1751
- function class_1() {
1752
- }
1753
- return class_1;
1754
- }()));
1755
- // Counter for unique group ids.
1756
- var _uniqueOptgroupIdCounter = 0;
1757
- var _MatOptgroupBase = /** @class */ (function (_super) {
1758
- __extends(_MatOptgroupBase, _super);
1759
- function _MatOptgroupBase(parent) {
1760
- var _this = this;
1761
- var _a;
1762
- _this = _super.call(this) || this;
1763
- /** Unique id for the underlying label. */
1764
- _this._labelId = "mat-optgroup-label-" + _uniqueOptgroupIdCounter++;
1765
- _this._inert = (_a = parent === null || parent === void 0 ? void 0 : parent.inertGroups) !== null && _a !== void 0 ? _a : false;
1766
- return _this;
1767
- }
1768
- return _MatOptgroupBase;
1769
- }(_MatOptgroupMixinBase));
1770
- _MatOptgroupBase.decorators = [
1771
- { type: i0.Directive }
1772
- ];
1773
- _MatOptgroupBase.ctorParameters = function () { return [
1774
- { type: undefined, decorators: [{ type: i0.Inject, args: [MAT_OPTION_PARENT_COMPONENT,] }, { type: i0.Optional }] }
1775
- ]; };
1776
- _MatOptgroupBase.propDecorators = {
1777
- label: [{ type: i0.Input }]
1778
- };
1779
- /**
1780
- * Injection token that can be used to reference instances of `MatOptgroup`. It serves as
1781
- * alternative token to the actual `MatOptgroup` class which could cause unnecessary
1782
- * retention of the class and its component metadata.
1783
- */
1784
- var MAT_OPTGROUP = new i0.InjectionToken('MatOptgroup');
1785
- /**
1786
- * Component that is used to group instances of `mat-option`.
1787
- */
1788
- var MatOptgroup = /** @class */ (function (_super) {
1789
- __extends(MatOptgroup, _super);
1790
- function MatOptgroup() {
1791
- return _super !== null && _super.apply(this, arguments) || this;
1792
- }
1793
- return MatOptgroup;
1794
- }(_MatOptgroupBase));
1795
- MatOptgroup.decorators = [
1796
- { type: i0.Component, args: [{
1797
- selector: 'mat-optgroup',
1798
- exportAs: 'matOptgroup',
1799
- template: "<span class=\"mat-optgroup-label\" aria-hidden=\"true\" [id]=\"_labelId\">{{ label }} <ng-content></ng-content></span>\n<ng-content select=\"mat-option, ng-container\"></ng-content>\n",
1800
- encapsulation: i0.ViewEncapsulation.None,
1801
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1802
- inputs: ['disabled'],
1803
- host: {
1804
- 'class': 'mat-optgroup',
1805
- '[attr.role]': '_inert ? null : "group"',
1806
- '[attr.aria-disabled]': '_inert ? null : disabled.toString()',
1807
- '[attr.aria-labelledby]': '_inert ? null : _labelId',
1808
- '[class.mat-optgroup-disabled]': 'disabled',
1809
- },
1810
- providers: [{ provide: MAT_OPTGROUP, useExisting: MatOptgroup }],
1811
- styles: [".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"]
1812
- },] }
1813
- ];
1814
-
1815
- /**
1816
- * Option IDs need to be unique across components, so this counter exists outside of
1817
- * the component definition.
1818
- */
1819
- var _uniqueIdCounter = 0;
1820
- /** Event object emitted by MatOption when selected or deselected. */
1821
- var MatOptionSelectionChange = /** @class */ (function () {
1822
- function MatOptionSelectionChange(
1823
- /** Reference to the option that emitted the event. */
1824
- source,
1825
- /** Whether the change in the option's value was a result of a user action. */
1826
- isUserInput) {
1827
- if (isUserInput === void 0) { isUserInput = false; }
1828
- this.source = source;
1829
- this.isUserInput = isUserInput;
1830
- }
1831
- return MatOptionSelectionChange;
1832
- }());
1833
- var _MatOptionBase = /** @class */ (function () {
1834
- function _MatOptionBase(_element, _changeDetectorRef, _parent, group) {
1835
- this._element = _element;
1836
- this._changeDetectorRef = _changeDetectorRef;
1837
- this._parent = _parent;
1838
- this.group = group;
1839
- this._selected = false;
1840
- this._active = false;
1841
- this._disabled = false;
1842
- this._mostRecentViewValue = '';
1843
- /** The unique ID of the option. */
1844
- this.id = "mat-option-" + _uniqueIdCounter++;
1845
- /** Event emitted when the option is selected or deselected. */
1846
- // tslint:disable-next-line:no-output-on-prefix
1847
- this.onSelectionChange = new i0.EventEmitter();
1848
- /** Emits when the state of the option changes and any parents have to be notified. */
1849
- this._stateChanges = new rxjs.Subject();
1850
- }
1851
- Object.defineProperty(_MatOptionBase.prototype, "multiple", {
1852
- /** Whether the wrapping component is in multiple selection mode. */
1853
- get: function () { return this._parent && this._parent.multiple; },
1854
- enumerable: false,
1855
- configurable: true
1856
- });
1857
- Object.defineProperty(_MatOptionBase.prototype, "selected", {
1858
- /** Whether or not the option is currently selected. */
1859
- get: function () { return this._selected; },
1860
- enumerable: false,
1861
- configurable: true
1862
- });
1863
- Object.defineProperty(_MatOptionBase.prototype, "disabled", {
1864
- /** Whether the option is disabled. */
1865
- get: function () { return (this.group && this.group.disabled) || this._disabled; },
1866
- set: function (value) { this._disabled = coercion.coerceBooleanProperty(value); },
1867
- enumerable: false,
1868
- configurable: true
1869
- });
1870
- Object.defineProperty(_MatOptionBase.prototype, "disableRipple", {
1871
- /** Whether ripples for the option are disabled. */
1872
- get: function () { return this._parent && this._parent.disableRipple; },
1873
- enumerable: false,
1874
- configurable: true
1875
- });
1876
- Object.defineProperty(_MatOptionBase.prototype, "active", {
1877
- /**
1878
- * Whether or not the option is currently active and ready to be selected.
1879
- * An active option displays styles as if it is focused, but the
1880
- * focus is actually retained somewhere else. This comes in handy
1881
- * for components like autocomplete where focus must remain on the input.
1882
- */
1883
- get: function () {
1884
- return this._active;
1885
- },
1886
- enumerable: false,
1887
- configurable: true
1888
- });
1889
- Object.defineProperty(_MatOptionBase.prototype, "viewValue", {
1890
- /**
1891
- * The displayed value of the option. It is necessary to show the selected option in the
1892
- * select's trigger.
1893
- */
1894
- get: function () {
1895
- // TODO(kara): Add input property alternative for node envs.
1896
- return (this._getHostElement().textContent || '').trim();
1897
- },
1898
- enumerable: false,
1899
- configurable: true
1900
- });
1901
- /** Selects the option. */
1902
- _MatOptionBase.prototype.select = function () {
1903
- if (!this._selected) {
1904
- this._selected = true;
1905
- this._changeDetectorRef.markForCheck();
1906
- this._emitSelectionChangeEvent();
1907
- }
1908
- };
1909
- /** Deselects the option. */
1910
- _MatOptionBase.prototype.deselect = function () {
1911
- if (this._selected) {
1912
- this._selected = false;
1913
- this._changeDetectorRef.markForCheck();
1914
- this._emitSelectionChangeEvent();
1915
- }
1916
- };
1917
- /** Sets focus onto this option. */
1918
- _MatOptionBase.prototype.focus = function (_origin, options) {
1919
- // Note that we aren't using `_origin`, but we need to keep it because some internal consumers
1920
- // use `MatOption` in a `FocusKeyManager` and we need it to match `FocusableOption`.
1921
- var element = this._getHostElement();
1922
- if (typeof element.focus === 'function') {
1923
- element.focus(options);
1924
- }
1925
- };
1926
- /**
1927
- * This method sets display styles on the option to make it appear
1928
- * active. This is used by the ActiveDescendantKeyManager so key
1929
- * events will display the proper options as active on arrow key events.
1930
- */
1931
- _MatOptionBase.prototype.setActiveStyles = function () {
1932
- if (!this._active) {
1933
- this._active = true;
1934
- this._changeDetectorRef.markForCheck();
1935
- }
1936
- };
1937
- /**
1938
- * This method removes display styles on the option that made it appear
1939
- * active. This is used by the ActiveDescendantKeyManager so key
1940
- * events will display the proper options as active on arrow key events.
1941
- */
1942
- _MatOptionBase.prototype.setInactiveStyles = function () {
1943
- if (this._active) {
1944
- this._active = false;
1945
- this._changeDetectorRef.markForCheck();
1946
- }
1947
- };
1948
- /** Gets the label to be used when determining whether the option should be focused. */
1949
- _MatOptionBase.prototype.getLabel = function () {
1950
- return this.viewValue;
1951
- };
1952
- /** Ensures the option is selected when activated from the keyboard. */
1953
- _MatOptionBase.prototype._handleKeydown = function (event) {
1954
- if ((event.keyCode === keycodes.ENTER || event.keyCode === keycodes.SPACE) && !keycodes.hasModifierKey(event)) {
1955
- this._selectViaInteraction();
1956
- // Prevent the page from scrolling down and form submits.
1957
- event.preventDefault();
1958
- }
1959
- };
1960
- /**
1961
- * `Selects the option while indicating the selection came from the user. Used to
1962
- * determine if the select's view -> model callback should be invoked.`
1963
- */
1964
- _MatOptionBase.prototype._selectViaInteraction = function () {
1965
- if (!this.disabled) {
1966
- this._selected = this.multiple ? !this._selected : true;
1967
- this._changeDetectorRef.markForCheck();
1968
- this._emitSelectionChangeEvent(true);
1969
- }
1970
- };
1971
- /**
1972
- * Gets the `aria-selected` value for the option. We explicitly omit the `aria-selected`
1973
- * attribute from single-selection, unselected options. Including the `aria-selected="false"`
1974
- * attributes adds a significant amount of noise to screen-reader users without providing useful
1975
- * information.
1976
- */
1977
- _MatOptionBase.prototype._getAriaSelected = function () {
1978
- return this.selected || (this.multiple ? false : null);
1979
- };
1980
- /** Returns the correct tabindex for the option depending on disabled state. */
1981
- _MatOptionBase.prototype._getTabIndex = function () {
1982
- return this.disabled ? '-1' : '0';
1983
- };
1984
- /** Gets the host DOM element. */
1985
- _MatOptionBase.prototype._getHostElement = function () {
1986
- return this._element.nativeElement;
1987
- };
1988
- _MatOptionBase.prototype.ngAfterViewChecked = function () {
1989
- // Since parent components could be using the option's label to display the selected values
1990
- // (e.g. `mat-select`) and they don't have a way of knowing if the option's label has changed
1991
- // we have to check for changes in the DOM ourselves and dispatch an event. These checks are
1992
- // relatively cheap, however we still limit them only to selected options in order to avoid
1993
- // hitting the DOM too often.
1994
- if (this._selected) {
1995
- var viewValue = this.viewValue;
1996
- if (viewValue !== this._mostRecentViewValue) {
1997
- this._mostRecentViewValue = viewValue;
1998
- this._stateChanges.next();
1999
- }
2000
- }
2001
- };
2002
- _MatOptionBase.prototype.ngOnDestroy = function () {
2003
- this._stateChanges.complete();
2004
- };
2005
- /** Emits the selection change event. */
2006
- _MatOptionBase.prototype._emitSelectionChangeEvent = function (isUserInput) {
2007
- if (isUserInput === void 0) { isUserInput = false; }
2008
- this.onSelectionChange.emit(new MatOptionSelectionChange(this, isUserInput));
2009
- };
2010
- return _MatOptionBase;
2011
- }());
2012
- _MatOptionBase.decorators = [
2013
- { type: i0.Directive }
2014
- ];
2015
- _MatOptionBase.ctorParameters = function () { return [
2016
- { type: i0.ElementRef },
2017
- { type: i0.ChangeDetectorRef },
2018
- { type: undefined },
2019
- { type: _MatOptgroupBase }
2020
- ]; };
2021
- _MatOptionBase.propDecorators = {
2022
- value: [{ type: i0.Input }],
2023
- id: [{ type: i0.Input }],
2024
- disabled: [{ type: i0.Input }],
2025
- onSelectionChange: [{ type: i0.Output }]
2026
- };
2027
- /**
2028
- * Single option inside of a `<mat-select>` element.
2029
- */
2030
- var MatOption = /** @class */ (function (_super) {
2031
- __extends(MatOption, _super);
2032
- function MatOption(element, changeDetectorRef, parent, group) {
2033
- return _super.call(this, element, changeDetectorRef, parent, group) || this;
2034
- }
2035
- return MatOption;
2036
- }(_MatOptionBase));
2037
- MatOption.decorators = [
2038
- { type: i0.Component, args: [{
2039
- selector: 'mat-option',
2040
- exportAs: 'matOption',
2041
- host: {
2042
- 'role': 'option',
2043
- '[attr.tabindex]': '_getTabIndex()',
2044
- '[class.mat-selected]': 'selected',
2045
- '[class.mat-option-multiple]': 'multiple',
2046
- '[class.mat-active]': 'active',
2047
- '[id]': 'id',
2048
- '[attr.aria-selected]': '_getAriaSelected()',
2049
- '[attr.aria-disabled]': 'disabled.toString()',
2050
- '[class.mat-option-disabled]': 'disabled',
2051
- '(click)': '_selectViaInteraction()',
2052
- '(keydown)': '_handleKeydown($event)',
2053
- 'class': 'mat-option mat-focus-indicator',
2054
- },
2055
- template: "<mat-pseudo-checkbox *ngIf=\"multiple\" class=\"mat-option-pseudo-checkbox\"\n [state]=\"selected ? 'checked' : 'unchecked'\" [disabled]=\"disabled\"></mat-pseudo-checkbox>\n\n<span class=\"mat-option-text\"><ng-content></ng-content></span>\n\n<!-- See a11y notes inside optgroup.ts for context behind this element. -->\n<span class=\"cdk-visually-hidden\" *ngIf=\"group && group._inert\">({{ group.label }})</span>\n\n<div class=\"mat-option-ripple\" mat-ripple\n [matRippleTrigger]=\"_getHostElement()\"\n [matRippleDisabled]=\"disabled || disableRipple\">\n</div>\n",
2056
- encapsulation: i0.ViewEncapsulation.None,
2057
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2058
- styles: [".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"]
2059
- },] }
2060
- ];
2061
- MatOption.ctorParameters = function () { return [
2062
- { type: i0.ElementRef },
2063
- { type: i0.ChangeDetectorRef },
2064
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_OPTION_PARENT_COMPONENT,] }] },
2065
- { type: MatOptgroup, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MAT_OPTGROUP,] }] }
2066
- ]; };
2067
- /**
2068
- * Counts the amount of option group labels that precede the specified option.
2069
- * @param optionIndex Index of the option at which to start counting.
2070
- * @param options Flat list of all of the options.
2071
- * @param optionGroups Flat list of all of the option groups.
2072
- * @docs-private
2073
- */
2074
- function _countGroupLabelsBeforeOption(optionIndex, options, optionGroups) {
2075
- if (optionGroups.length) {
2076
- var optionsArray = options.toArray();
2077
- var groups = optionGroups.toArray();
2078
- var groupCounter = 0;
2079
- for (var i = 0; i < optionIndex + 1; i++) {
2080
- if (optionsArray[i].group && optionsArray[i].group === groups[groupCounter]) {
2081
- groupCounter++;
2082
- }
2083
- }
2084
- return groupCounter;
2085
- }
2086
- return 0;
2087
- }
2088
- /**
2089
- * Determines the position to which to scroll a panel in order for an option to be into view.
2090
- * @param optionOffset Offset of the option from the top of the panel.
2091
- * @param optionHeight Height of the options.
2092
- * @param currentScrollPosition Current scroll position of the panel.
2093
- * @param panelHeight Height of the panel.
2094
- * @docs-private
2095
- */
2096
- function _getOptionScrollPosition(optionOffset, optionHeight, currentScrollPosition, panelHeight) {
2097
- if (optionOffset < currentScrollPosition) {
2098
- return optionOffset;
2099
- }
2100
- if (optionOffset + optionHeight > currentScrollPosition + panelHeight) {
2101
- return Math.max(0, optionOffset - panelHeight + optionHeight);
2102
- }
2103
- return currentScrollPosition;
2104
- }
2105
-
2106
- /**
2107
- * @license
2108
- * Copyright Google LLC All Rights Reserved.
2109
- *
2110
- * Use of this source code is governed by an MIT-style license that can be
2111
- * found in the LICENSE file at https://angular.io/license
2112
- */
2113
- var MatOptionModule = /** @class */ (function () {
2114
- function MatOptionModule() {
2115
- }
2116
- return MatOptionModule;
2117
- }());
2118
- MatOptionModule.decorators = [
2119
- { type: i0.NgModule, args: [{
2120
- imports: [MatRippleModule, common.CommonModule, MatCommonModule, MatPseudoCheckboxModule],
2121
- exports: [MatOption, MatOptgroup],
2122
- declarations: [MatOption, MatOptgroup]
2123
- },] }
2124
- ];
2125
-
2126
- /**
2127
- * @license
2128
- * Copyright Google LLC All Rights Reserved.
2129
- *
2130
- * Use of this source code is governed by an MIT-style license that can be
2131
- * found in the LICENSE file at https://angular.io/license
2132
- */
2133
-
2134
- /**
2135
- * Generated bundle index. Do not edit.
2136
- */
2137
-
2138
- exports.AnimationCurves = AnimationCurves;
2139
- exports.AnimationDurations = AnimationDurations;
2140
- exports.DateAdapter = DateAdapter;
2141
- exports.ErrorStateMatcher = ErrorStateMatcher;
2142
- exports.MATERIAL_SANITY_CHECKS = MATERIAL_SANITY_CHECKS;
2143
- exports.MAT_DATE_FORMATS = MAT_DATE_FORMATS;
2144
- exports.MAT_DATE_LOCALE = MAT_DATE_LOCALE;
2145
- exports.MAT_DATE_LOCALE_FACTORY = MAT_DATE_LOCALE_FACTORY;
2146
- exports.MAT_NATIVE_DATE_FORMATS = MAT_NATIVE_DATE_FORMATS;
2147
- exports.MAT_OPTGROUP = MAT_OPTGROUP;
2148
- exports.MAT_OPTION_PARENT_COMPONENT = MAT_OPTION_PARENT_COMPONENT;
2149
- exports.MAT_RIPPLE_GLOBAL_OPTIONS = MAT_RIPPLE_GLOBAL_OPTIONS;
2150
- exports.MatCommonModule = MatCommonModule;
2151
- exports.MatLine = MatLine;
2152
- exports.MatLineModule = MatLineModule;
2153
- exports.MatNativeDateModule = MatNativeDateModule;
2154
- exports.MatOptgroup = MatOptgroup;
2155
- exports.MatOption = MatOption;
2156
- exports.MatOptionModule = MatOptionModule;
2157
- exports.MatOptionSelectionChange = MatOptionSelectionChange;
2158
- exports.MatPseudoCheckbox = MatPseudoCheckbox;
2159
- exports.MatPseudoCheckboxModule = MatPseudoCheckboxModule;
2160
- exports.MatRipple = MatRipple;
2161
- exports.MatRippleModule = MatRippleModule;
2162
- exports.NativeDateAdapter = NativeDateAdapter;
2163
- exports.NativeDateModule = NativeDateModule;
2164
- exports.RippleRef = RippleRef;
2165
- exports.RippleRenderer = RippleRenderer;
2166
- exports.ShowOnDirtyErrorStateMatcher = ShowOnDirtyErrorStateMatcher;
2167
- exports.VERSION = VERSION$1;
2168
- exports._MatOptgroupBase = _MatOptgroupBase;
2169
- exports._MatOptionBase = _MatOptionBase;
2170
- exports._countGroupLabelsBeforeOption = _countGroupLabelsBeforeOption;
2171
- exports._getOptionScrollPosition = _getOptionScrollPosition;
2172
- exports.defaultRippleAnimationConfig = defaultRippleAnimationConfig;
2173
- exports.mixinColor = mixinColor;
2174
- exports.mixinDisableRipple = mixinDisableRipple;
2175
- exports.mixinDisabled = mixinDisabled;
2176
- exports.mixinErrorState = mixinErrorState;
2177
- exports.mixinInitialized = mixinInitialized;
2178
- exports.mixinTabIndex = mixinTabIndex;
2179
- exports.setLines = setLines;
2180
- exports.ɵ0 = ɵ0;
2181
- exports.ɵangular_material_src_material_core_core_a = MATERIAL_SANITY_CHECKS_FACTORY;
2182
-
2183
- Object.defineProperty(exports, '__esModule', { value: true });
2184
-
2185
- })));
2186
- //# sourceMappingURL=material-core.umd.js.map