@angular/material 16.2.1 → 17.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (757) hide show
  1. package/_index.scss +19 -63
  2. package/autocomplete/index.d.ts +41 -72
  3. package/autocomplete/testing/index.d.ts +5 -23
  4. package/button/_fab-theme.scss +12 -0
  5. package/card/_card-theme.scss +86 -44
  6. package/checkbox/_checkbox-theme.scss +78 -43
  7. package/checkbox/index.d.ts +22 -42
  8. package/checkbox/testing/index.d.ts +6 -12
  9. package/core/index.d.ts +17 -28
  10. package/core/style/_validation.scss +43 -0
  11. package/core/theming/_inspection.scss +229 -0
  12. package/core/theming/_theming.scss +110 -10
  13. package/core/tokens/m2/mat/_form-field.scss +34 -1
  14. package/core/tokens/m2/mat/_slider.scss +43 -0
  15. package/core/tokens/m2/mdc/_filled-text-field.scss +1 -1
  16. package/core/tokens/m2/mdc/_outlined-text-field.scss +1 -1
  17. package/core/tokens/m2/mdc/_slider.scss +154 -0
  18. package/dialog/index.d.ts +44 -86
  19. package/dialog/testing/index.d.ts +6 -18
  20. package/esm2022/autocomplete/autocomplete-origin.mjs +9 -17
  21. package/esm2022/autocomplete/autocomplete-trigger.mjs +32 -41
  22. package/esm2022/autocomplete/autocomplete.mjs +59 -72
  23. package/esm2022/autocomplete/testing/autocomplete-harness.mjs +20 -33
  24. package/esm2022/button/fab.mjs +8 -8
  25. package/esm2022/card/card.mjs +2 -2
  26. package/esm2022/checkbox/checkbox.mjs +72 -79
  27. package/esm2022/checkbox/testing/checkbox-harness.mjs +41 -36
  28. package/esm2022/core/datetime/native-date-adapter.mjs +14 -11
  29. package/esm2022/core/option/optgroup.mjs +19 -26
  30. package/esm2022/core/option/option.mjs +25 -35
  31. package/esm2022/core/version.mjs +1 -1
  32. package/esm2022/dialog/dialog-container.mjs +50 -75
  33. package/esm2022/dialog/dialog-ref.mjs +1 -1
  34. package/esm2022/dialog/dialog.mjs +16 -46
  35. package/esm2022/dialog/public-api.mjs +2 -2
  36. package/esm2022/dialog/testing/dialog-harness.mjs +13 -16
  37. package/esm2022/dialog/testing/dialog-opener.mjs +17 -27
  38. package/esm2022/dialog/testing/index.mjs +2 -2
  39. package/esm2022/form-field/form-field.mjs +3 -3
  40. package/esm2022/form-field/testing/error-harness.mjs +10 -12
  41. package/esm2022/form-field/testing/form-field-harness.mjs +45 -48
  42. package/esm2022/list/action-list.mjs +2 -2
  43. package/esm2022/list/list.mjs +2 -2
  44. package/esm2022/list/nav-list.mjs +2 -2
  45. package/esm2022/list/selection-list.mjs +2 -2
  46. package/esm2022/menu/menu-content.mjs +9 -16
  47. package/esm2022/menu/menu-trigger.mjs +14 -25
  48. package/esm2022/menu/menu.mjs +15 -29
  49. package/esm2022/menu/public-api.mjs +3 -3
  50. package/esm2022/menu/testing/menu-harness.mjs +29 -43
  51. package/esm2022/paginator/paginator.mjs +24 -38
  52. package/esm2022/paginator/testing/paginator-harness.mjs +25 -27
  53. package/esm2022/progress-bar/progress-bar.mjs +2 -2
  54. package/esm2022/progress-spinner/progress-spinner.mjs +2 -2
  55. package/esm2022/radio/radio.mjs +58 -83
  56. package/esm2022/radio/testing/radio-harness.mjs +31 -38
  57. package/esm2022/select/select.mjs +194 -212
  58. package/esm2022/select/testing/select-harness.mjs +18 -23
  59. package/esm2022/slide-toggle/slide-toggle.mjs +43 -53
  60. package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +33 -40
  61. package/esm2022/slider/slider.mjs +2 -2
  62. package/esm2022/snack-bar/snack-bar-container.mjs +17 -32
  63. package/esm2022/snack-bar/snack-bar-ref.mjs +1 -1
  64. package/esm2022/snack-bar/snack-bar.mjs +11 -25
  65. package/esm2022/snack-bar/testing/snack-bar-harness.mjs +18 -31
  66. package/esm2022/table/table-data-source.mjs +15 -18
  67. package/esm2022/table/testing/cell-harness.mjs +4 -4
  68. package/esm2022/table/testing/row-harness.mjs +4 -4
  69. package/esm2022/table/testing/table-harness.mjs +22 -24
  70. package/esm2022/tabs/public-api.mjs +7 -8
  71. package/esm2022/tabs/tab-body.mjs +13 -29
  72. package/esm2022/tabs/tab-group.mjs +55 -79
  73. package/esm2022/tabs/tab-header.mjs +13 -34
  74. package/esm2022/tabs/tab-label-wrapper.mjs +6 -18
  75. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +119 -168
  76. package/esm2022/tabs/tab.mjs +25 -37
  77. package/esm2022/tooltip/testing/tooltip-harness.mjs +21 -23
  78. package/esm2022/tooltip/tooltip.mjs +68 -101
  79. package/fesm2022/autocomplete/testing.mjs +20 -33
  80. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  81. package/fesm2022/autocomplete.mjs +97 -127
  82. package/fesm2022/autocomplete.mjs.map +1 -1
  83. package/fesm2022/button.mjs +8 -8
  84. package/fesm2022/button.mjs.map +1 -1
  85. package/fesm2022/card.mjs +2 -2
  86. package/fesm2022/card.mjs.map +1 -1
  87. package/fesm2022/checkbox/testing.mjs +41 -36
  88. package/fesm2022/checkbox/testing.mjs.map +1 -1
  89. package/fesm2022/checkbox.mjs +72 -79
  90. package/fesm2022/checkbox.mjs.map +1 -1
  91. package/fesm2022/core.mjs +49 -61
  92. package/fesm2022/core.mjs.map +1 -1
  93. package/fesm2022/dialog/testing.mjs +30 -43
  94. package/fesm2022/dialog/testing.mjs.map +1 -1
  95. package/fesm2022/dialog.mjs +65 -120
  96. package/fesm2022/dialog.mjs.map +1 -1
  97. package/fesm2022/form-field/testing.mjs +54 -59
  98. package/fesm2022/form-field/testing.mjs.map +1 -1
  99. package/fesm2022/form-field.mjs +2 -2
  100. package/fesm2022/form-field.mjs.map +1 -1
  101. package/fesm2022/list.mjs +8 -8
  102. package/fesm2022/list.mjs.map +1 -1
  103. package/fesm2022/menu/testing.mjs +30 -44
  104. package/fesm2022/menu/testing.mjs.map +1 -1
  105. package/fesm2022/menu.mjs +34 -66
  106. package/fesm2022/menu.mjs.map +1 -1
  107. package/fesm2022/paginator/testing.mjs +25 -27
  108. package/fesm2022/paginator/testing.mjs.map +1 -1
  109. package/fesm2022/paginator.mjs +24 -38
  110. package/fesm2022/paginator.mjs.map +1 -1
  111. package/fesm2022/progress-bar.mjs +2 -2
  112. package/fesm2022/progress-bar.mjs.map +1 -1
  113. package/fesm2022/progress-spinner.mjs +2 -2
  114. package/fesm2022/progress-spinner.mjs.map +1 -1
  115. package/fesm2022/radio/testing.mjs +31 -38
  116. package/fesm2022/radio/testing.mjs.map +1 -1
  117. package/fesm2022/radio.mjs +59 -84
  118. package/fesm2022/radio.mjs.map +1 -1
  119. package/fesm2022/select/testing.mjs +18 -23
  120. package/fesm2022/select/testing.mjs.map +1 -1
  121. package/fesm2022/select.mjs +196 -214
  122. package/fesm2022/select.mjs.map +1 -1
  123. package/fesm2022/slide-toggle/testing.mjs +33 -40
  124. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  125. package/fesm2022/slide-toggle.mjs +43 -53
  126. package/fesm2022/slide-toggle.mjs.map +1 -1
  127. package/fesm2022/slider.mjs +2 -2
  128. package/fesm2022/slider.mjs.map +1 -1
  129. package/fesm2022/snack-bar/testing.mjs +19 -32
  130. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  131. package/fesm2022/snack-bar.mjs +26 -55
  132. package/fesm2022/snack-bar.mjs.map +1 -1
  133. package/fesm2022/table/testing.mjs +28 -30
  134. package/fesm2022/table/testing.mjs.map +1 -1
  135. package/fesm2022/table.mjs +15 -18
  136. package/fesm2022/table.mjs.map +1 -1
  137. package/fesm2022/tabs.mjs +234 -368
  138. package/fesm2022/tabs.mjs.map +1 -1
  139. package/fesm2022/tooltip/testing.mjs +21 -23
  140. package/fesm2022/tooltip/testing.mjs.map +1 -1
  141. package/fesm2022/tooltip.mjs +69 -102
  142. package/fesm2022/tooltip.mjs.map +1 -1
  143. package/form-field/_form-field-focus-overlay.scss +13 -18
  144. package/form-field/_form-field-native-select.scss +30 -67
  145. package/form-field/_form-field-subscript.scss +4 -8
  146. package/form-field/_form-field-theme.scss +15 -48
  147. package/form-field/_mdc-text-field-structure-overrides.scss +20 -0
  148. package/form-field/testing/index.d.ts +14 -44
  149. package/list/_list-theme.scss +9 -0
  150. package/menu/index.d.ts +22 -44
  151. package/menu/testing/index.d.ts +6 -23
  152. package/package.json +7 -286
  153. package/paginator/index.d.ts +6 -22
  154. package/paginator/testing/index.d.ts +9 -22
  155. package/prebuilt-themes/deeppurple-amber.css +1 -1
  156. package/prebuilt-themes/indigo-pink.css +1 -1
  157. package/prebuilt-themes/pink-bluegrey.css +1 -1
  158. package/prebuilt-themes/purple-green.css +1 -1
  159. package/progress-bar/_progress-bar-theme.scss +9 -0
  160. package/progress-spinner/_progress-spinner-theme.scss +11 -0
  161. package/radio/index.d.ts +22 -45
  162. package/radio/testing/index.d.ts +7 -23
  163. package/schematics/migration.json +4 -4
  164. package/schematics/ng-add/index.js +2 -2
  165. package/schematics/ng-add/index.mjs +2 -2
  166. package/schematics/ng-generate/mdc-migration/index_bundled.js +2 -2
  167. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
  168. package/schematics/ng-update/index_bundled.js +4 -4
  169. package/schematics/ng-update/index_bundled.js.map +1 -1
  170. package/select/index.d.ts +47 -68
  171. package/select/testing/index.d.ts +9 -22
  172. package/slide-toggle/index.d.ts +17 -27
  173. package/slide-toggle/testing/index.d.ts +6 -13
  174. package/slider/_slider-theme.scss +64 -64
  175. package/snack-bar/_snack-bar-theme.scss +8 -0
  176. package/snack-bar/index.d.ts +40 -62
  177. package/snack-bar/testing/index.d.ts +5 -20
  178. package/table/index.d.ts +2 -31
  179. package/table/testing/index.d.ts +17 -34
  180. package/tabs/index.d.ts +60 -144
  181. package/tooltip/_tooltip-theme.scss +12 -3
  182. package/tooltip/index.d.ts +26 -49
  183. package/tooltip/testing/index.d.ts +7 -17
  184. package/_theming.scss +0 -43
  185. package/_token-theming.scss +0 -2
  186. package/autocomplete/_autocomplete-theme.import.scss +0 -1
  187. package/badge/_badge-legacy-index.scss +0 -3
  188. package/badge/_badge-theme.import.scss +0 -11
  189. package/bottom-sheet/_bottom-sheet-legacy-index.scss +0 -2
  190. package/bottom-sheet/_bottom-sheet-theme.import.scss +0 -10
  191. package/button/_button-base.import.scss +0 -4
  192. package/button/_button-theme.import.scss +0 -13
  193. package/button-toggle/_button-toggle-legacy-index.scss +0 -2
  194. package/button-toggle/_button-toggle-theme.import.scss +0 -15
  195. package/button-toggle/_button-toggle-variables.import.scss +0 -1
  196. package/card/_card-theme.import.scss +0 -3
  197. package/checkbox/_checkbox-theme.import.scss +0 -10
  198. package/chips/_chips-theme.import.scss +0 -4
  199. package/core/_core-legacy-index.scss +0 -16
  200. package/core/_core.import.scss +0 -60
  201. package/core/color/_all-color.import.scss +0 -53
  202. package/core/color/_color-legacy-index.scss +0 -1
  203. package/core/density/private/_all-density.import.scss +0 -15
  204. package/core/density/private/_compatibility.import.scss +0 -4
  205. package/core/density/private/_density-legacy-index.scss +0 -5
  206. package/core/focus-indicators/_focus-indicators-legacy-index.scss +0 -5
  207. package/core/focus-indicators/_focus-indicators.import.scss +0 -23
  208. package/core/mdc-helpers/_mdc-helpers.import.scss +0 -9
  209. package/core/option/_optgroup-theme.import.scss +0 -4
  210. package/core/option/_option-legacy-index.scss +0 -5
  211. package/core/option/_option-theme.import.scss +0 -4
  212. package/core/ripple/_ripple-legacy-index.scss +0 -3
  213. package/core/ripple/_ripple.import.scss +0 -20
  214. package/core/selection/pseudo-checkbox/_pseudo-checkbox-legacy-index.scss +0 -2
  215. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.import.scss +0 -17
  216. package/core/style/_button-common.import.scss +0 -4
  217. package/core/style/_checkbox-common.import.scss +0 -11
  218. package/core/style/_elevation.import.scss +0 -17
  219. package/core/style/_form-common.import.scss +0 -16
  220. package/core/style/_layout-common.import.scss +0 -1
  221. package/core/style/_list-common.import.scss +0 -2
  222. package/core/style/_menu-common.import.scss +0 -18
  223. package/core/style/_private.import.scss +0 -15
  224. package/core/style/_style-legacy-index.scss +0 -24
  225. package/core/style/_variables.import.scss +0 -8
  226. package/core/style/_vendor-prefixes.import.scss +0 -1
  227. package/core/theming/_all-theme.import.scss +0 -86
  228. package/core/theming/_palette.import.scss +0 -12
  229. package/core/theming/_theming-legacy-index.scss +0 -22
  230. package/core/theming/_theming.import.scss +0 -24
  231. package/core/typography/_all-typography.import.scss +0 -76
  232. package/core/typography/_typography-legacy-index.scss +0 -18
  233. package/core/typography/_typography-utils.import.scss +0 -9
  234. package/core/typography/_typography.import.scss +0 -14
  235. package/datepicker/_datepicker-legacy-index.scss +0 -9
  236. package/datepicker/_datepicker-theme.import.scss +0 -17
  237. package/dialog/_dialog-legacy-padding.import.scss +0 -1
  238. package/dialog/_dialog-theme.import.scss +0 -1
  239. package/dialog/_mdc-dialog-structure-overrides.import.scss +0 -1
  240. package/divider/_divider-legacy-index.scss +0 -3
  241. package/divider/_divider-offset.import.scss +0 -1
  242. package/divider/_divider-theme.import.scss +0 -6
  243. package/esm2022/legacy-autocomplete/autocomplete-module.mjs +0 -51
  244. package/esm2022/legacy-autocomplete/autocomplete-origin.mjs +0 -28
  245. package/esm2022/legacy-autocomplete/autocomplete-trigger.mjs +0 -60
  246. package/esm2022/legacy-autocomplete/autocomplete.mjs +0 -40
  247. package/esm2022/legacy-autocomplete/index.mjs +0 -9
  248. package/esm2022/legacy-autocomplete/legacy-autocomplete_public_index.mjs +0 -5
  249. package/esm2022/legacy-autocomplete/public-api.mjs +0 -48
  250. package/esm2022/legacy-autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  251. package/esm2022/legacy-autocomplete/testing/autocomplete-harness.mjs +0 -39
  252. package/esm2022/legacy-autocomplete/testing/index.mjs +0 -9
  253. package/esm2022/legacy-autocomplete/testing/public-api.mjs +0 -9
  254. package/esm2022/legacy-button/button-module.mjs +0 -29
  255. package/esm2022/legacy-button/button.mjs +0 -177
  256. package/esm2022/legacy-button/index.mjs +0 -9
  257. package/esm2022/legacy-button/legacy-button_public_index.mjs +0 -5
  258. package/esm2022/legacy-button/public-api.mjs +0 -10
  259. package/esm2022/legacy-button/testing/button-harness.mjs +0 -82
  260. package/esm2022/legacy-button/testing/index.mjs +0 -9
  261. package/esm2022/legacy-button/testing/public-api.mjs +0 -9
  262. package/esm2022/legacy-card/card-module.mjs +0 -87
  263. package/esm2022/legacy-card/card.mjs +0 -276
  264. package/esm2022/legacy-card/index.mjs +0 -9
  265. package/esm2022/legacy-card/legacy-card_public_index.mjs +0 -5
  266. package/esm2022/legacy-card/public-api.mjs +0 -10
  267. package/esm2022/legacy-card/testing/card-harness-filters.mjs +0 -9
  268. package/esm2022/legacy-card/testing/card-harness.mjs +0 -47
  269. package/esm2022/legacy-card/testing/index.mjs +0 -9
  270. package/esm2022/legacy-card/testing/public-api.mjs +0 -9
  271. package/esm2022/legacy-checkbox/checkbox-module.mjs +0 -31
  272. package/esm2022/legacy-checkbox/checkbox.mjs +0 -137
  273. package/esm2022/legacy-checkbox/index.mjs +0 -9
  274. package/esm2022/legacy-checkbox/legacy-checkbox_public_index.mjs +0 -5
  275. package/esm2022/legacy-checkbox/public-api.mjs +0 -36
  276. package/esm2022/legacy-checkbox/testing/checkbox-harness.mjs +0 -46
  277. package/esm2022/legacy-checkbox/testing/index.mjs +0 -9
  278. package/esm2022/legacy-checkbox/testing/public-api.mjs +0 -9
  279. package/esm2022/legacy-chips/chip-default-options.mjs +0 -15
  280. package/esm2022/legacy-chips/chip-input.mjs +0 -198
  281. package/esm2022/legacy-chips/chip-list.mjs +0 -718
  282. package/esm2022/legacy-chips/chip-text-control.mjs +0 -9
  283. package/esm2022/legacy-chips/chip.mjs +0 -445
  284. package/esm2022/legacy-chips/chips-module.mjs +0 -68
  285. package/esm2022/legacy-chips/index.mjs +0 -9
  286. package/esm2022/legacy-chips/legacy-chips_public_index.mjs +0 -5
  287. package/esm2022/legacy-chips/public-api.mjs +0 -13
  288. package/esm2022/legacy-chips/testing/chip-avatar-harness.mjs +0 -26
  289. package/esm2022/legacy-chips/testing/chip-harness-filters.mjs +0 -2
  290. package/esm2022/legacy-chips/testing/chip-harness.mjs +0 -95
  291. package/esm2022/legacy-chips/testing/chip-input-harness.mjs +0 -86
  292. package/esm2022/legacy-chips/testing/chip-list-harness.mjs +0 -90
  293. package/esm2022/legacy-chips/testing/chip-listbox-harness.mjs +0 -48
  294. package/esm2022/legacy-chips/testing/chip-option-harness.mjs +0 -49
  295. package/esm2022/legacy-chips/testing/chip-remove-harness.mjs +0 -30
  296. package/esm2022/legacy-chips/testing/index.mjs +0 -9
  297. package/esm2022/legacy-chips/testing/public-api.mjs +0 -14
  298. package/esm2022/legacy-core/index.mjs +0 -9
  299. package/esm2022/legacy-core/legacy-core_public_index.mjs +0 -5
  300. package/esm2022/legacy-core/option/index.mjs +0 -69
  301. package/esm2022/legacy-core/option/optgroup.mjs +0 -30
  302. package/esm2022/legacy-core/option/option.mjs +0 -54
  303. package/esm2022/legacy-core/public-api.mjs +0 -170
  304. package/esm2022/legacy-core/testing/index.mjs +0 -9
  305. package/esm2022/legacy-core/testing/optgroup-harness-filters.mjs +0 -9
  306. package/esm2022/legacy-core/testing/optgroup-harness.mjs +0 -47
  307. package/esm2022/legacy-core/testing/option-harness-filters.mjs +0 -9
  308. package/esm2022/legacy-core/testing/option-harness.mjs +0 -58
  309. package/esm2022/legacy-core/testing/public-api.mjs +0 -12
  310. package/esm2022/legacy-dialog/dialog-animations.mjs +0 -17
  311. package/esm2022/legacy-dialog/dialog-config.mjs +0 -22
  312. package/esm2022/legacy-dialog/dialog-container.mjs +0 -85
  313. package/esm2022/legacy-dialog/dialog-content-directives.mjs +0 -209
  314. package/esm2022/legacy-dialog/dialog-module.mjs +0 -57
  315. package/esm2022/legacy-dialog/dialog-ref.mjs +0 -16
  316. package/esm2022/legacy-dialog/dialog.mjs +0 -106
  317. package/esm2022/legacy-dialog/index.mjs +0 -9
  318. package/esm2022/legacy-dialog/legacy-dialog_public_index.mjs +0 -5
  319. package/esm2022/legacy-dialog/public-api.mjs +0 -40
  320. package/esm2022/legacy-dialog/testing/dialog-harness.mjs +0 -36
  321. package/esm2022/legacy-dialog/testing/dialog-opener.mjs +0 -56
  322. package/esm2022/legacy-dialog/testing/index.mjs +0 -9
  323. package/esm2022/legacy-dialog/testing/public-api.mjs +0 -10
  324. package/esm2022/legacy-form-field/error.mjs +0 -46
  325. package/esm2022/legacy-form-field/form-field-module.mjs +0 -67
  326. package/esm2022/legacy-form-field/form-field.mjs +0 -530
  327. package/esm2022/legacy-form-field/hint.mjs +0 -56
  328. package/esm2022/legacy-form-field/index.mjs +0 -9
  329. package/esm2022/legacy-form-field/label.mjs +0 -25
  330. package/esm2022/legacy-form-field/legacy-form-field_public_index.mjs +0 -5
  331. package/esm2022/legacy-form-field/placeholder.mjs +0 -26
  332. package/esm2022/legacy-form-field/prefix.mjs +0 -27
  333. package/esm2022/legacy-form-field/public-api.mjs +0 -62
  334. package/esm2022/legacy-form-field/suffix.mjs +0 -27
  335. package/esm2022/legacy-form-field/testing/error-harness.mjs +0 -26
  336. package/esm2022/legacy-form-field/testing/form-field-harness.mjs +0 -73
  337. package/esm2022/legacy-form-field/testing/index.mjs +0 -9
  338. package/esm2022/legacy-form-field/testing/public-api.mjs +0 -19
  339. package/esm2022/legacy-input/index.mjs +0 -9
  340. package/esm2022/legacy-input/input-module.mjs +0 -45
  341. package/esm2022/legacy-input/input.mjs +0 -62
  342. package/esm2022/legacy-input/legacy-input_public_index.mjs +0 -5
  343. package/esm2022/legacy-input/public-api.mjs +0 -21
  344. package/esm2022/legacy-input/testing/index.mjs +0 -9
  345. package/esm2022/legacy-input/testing/public-api.mjs +0 -24
  346. package/esm2022/legacy-list/index.mjs +0 -9
  347. package/esm2022/legacy-list/legacy-list_public_index.mjs +0 -5
  348. package/esm2022/legacy-list/list-module.mjs +0 -75
  349. package/esm2022/legacy-list/list.mjs +0 -223
  350. package/esm2022/legacy-list/public-api.mjs +0 -22
  351. package/esm2022/legacy-list/selection-list.mjs +0 -619
  352. package/esm2022/legacy-list/testing/action-list-harness.mjs +0 -67
  353. package/esm2022/legacy-list/testing/index.mjs +0 -9
  354. package/esm2022/legacy-list/testing/list-harness-base.mjs +0 -97
  355. package/esm2022/legacy-list/testing/list-harness-filters.mjs +0 -9
  356. package/esm2022/legacy-list/testing/list-harness.mjs +0 -51
  357. package/esm2022/legacy-list/testing/list-item-harness-base.mjs +0 -74
  358. package/esm2022/legacy-list/testing/nav-list-harness.mjs +0 -71
  359. package/esm2022/legacy-list/testing/public-api.mjs +0 -12
  360. package/esm2022/legacy-list/testing/selection-list-harness.mjs +0 -129
  361. package/esm2022/legacy-menu/index.mjs +0 -9
  362. package/esm2022/legacy-menu/legacy-menu_public_index.mjs +0 -5
  363. package/esm2022/legacy-menu/menu-content.mjs +0 -27
  364. package/esm2022/legacy-menu/menu-item.mjs +0 -41
  365. package/esm2022/legacy-menu/menu-module.mjs +0 -50
  366. package/esm2022/legacy-menu/menu-trigger.mjs +0 -31
  367. package/esm2022/legacy-menu/menu.mjs +0 -40
  368. package/esm2022/legacy-menu/public-api.mjs +0 -49
  369. package/esm2022/legacy-menu/testing/index.mjs +0 -9
  370. package/esm2022/legacy-menu/testing/menu-harness.mjs +0 -56
  371. package/esm2022/legacy-menu/testing/public-api.mjs +0 -9
  372. package/esm2022/legacy-paginator/index.mjs +0 -9
  373. package/esm2022/legacy-paginator/legacy-paginator_public_index.mjs +0 -5
  374. package/esm2022/legacy-paginator/paginator-module.mjs +0 -49
  375. package/esm2022/legacy-paginator/paginator.mjs +0 -53
  376. package/esm2022/legacy-paginator/public-api.mjs +0 -36
  377. package/esm2022/legacy-paginator/testing/index.mjs +0 -9
  378. package/esm2022/legacy-paginator/testing/paginator-harness.mjs +0 -41
  379. package/esm2022/legacy-paginator/testing/public-api.mjs +0 -15
  380. package/esm2022/legacy-progress-bar/index.mjs +0 -9
  381. package/esm2022/legacy-progress-bar/legacy-progress-bar_public_index.mjs +0 -5
  382. package/esm2022/legacy-progress-bar/progress-bar-module.mjs +0 -30
  383. package/esm2022/legacy-progress-bar/progress-bar.mjs +0 -190
  384. package/esm2022/legacy-progress-bar/public-api.mjs +0 -11
  385. package/esm2022/legacy-progress-bar/testing/index.mjs +0 -9
  386. package/esm2022/legacy-progress-bar/testing/progress-bar-harness.mjs +0 -38
  387. package/esm2022/legacy-progress-bar/testing/public-api.mjs +0 -9
  388. package/esm2022/legacy-progress-spinner/index.mjs +0 -9
  389. package/esm2022/legacy-progress-spinner/legacy-progress-spinner_public_index.mjs +0 -5
  390. package/esm2022/legacy-progress-spinner/progress-spinner-module.mjs +0 -30
  391. package/esm2022/legacy-progress-spinner/progress-spinner.mjs +0 -286
  392. package/esm2022/legacy-progress-spinner/public-api.mjs +0 -19
  393. package/esm2022/legacy-progress-spinner/testing/index.mjs +0 -9
  394. package/esm2022/legacy-progress-spinner/testing/progress-spinner-harness.mjs +0 -39
  395. package/esm2022/legacy-progress-spinner/testing/public-api.mjs +0 -9
  396. package/esm2022/legacy-radio/index.mjs +0 -9
  397. package/esm2022/legacy-radio/legacy-radio_public_index.mjs +0 -5
  398. package/esm2022/legacy-radio/public-api.mjs +0 -31
  399. package/esm2022/legacy-radio/radio-module.mjs +0 -29
  400. package/esm2022/legacy-radio/radio.mjs +0 -112
  401. package/esm2022/legacy-radio/testing/index.mjs +0 -9
  402. package/esm2022/legacy-radio/testing/public-api.mjs +0 -9
  403. package/esm2022/legacy-radio/testing/radio-harness.mjs +0 -58
  404. package/esm2022/legacy-select/index.mjs +0 -9
  405. package/esm2022/legacy-select/legacy-select_public_index.mjs +0 -5
  406. package/esm2022/legacy-select/public-api.mjs +0 -37
  407. package/esm2022/legacy-select/select-animations.mjs +0 -56
  408. package/esm2022/legacy-select/select-errors.mjs +0 -39
  409. package/esm2022/legacy-select/select-module.mjs +0 -51
  410. package/esm2022/legacy-select/select.mjs +0 -447
  411. package/esm2022/legacy-select/testing/index.mjs +0 -9
  412. package/esm2022/legacy-select/testing/public-api.mjs +0 -9
  413. package/esm2022/legacy-select/testing/select-harness-filters.mjs +0 -9
  414. package/esm2022/legacy-select/testing/select-harness.mjs +0 -36
  415. package/esm2022/legacy-slide-toggle/index.mjs +0 -9
  416. package/esm2022/legacy-slide-toggle/legacy-slide-toggle_public_index.mjs +0 -5
  417. package/esm2022/legacy-slide-toggle/public-api.mjs +0 -32
  418. package/esm2022/legacy-slide-toggle/slide-toggle-config.mjs +0 -18
  419. package/esm2022/legacy-slide-toggle/slide-toggle-module.mjs +0 -42
  420. package/esm2022/legacy-slide-toggle/slide-toggle.mjs +0 -137
  421. package/esm2022/legacy-slide-toggle/testing/index.mjs +0 -9
  422. package/esm2022/legacy-slide-toggle/testing/public-api.mjs +0 -15
  423. package/esm2022/legacy-slide-toggle/testing/slide-toggle-harness.mjs +0 -50
  424. package/esm2022/legacy-slider/index.mjs +0 -9
  425. package/esm2022/legacy-slider/legacy-slider_public_index.mjs +0 -5
  426. package/esm2022/legacy-slider/public-api.mjs +0 -10
  427. package/esm2022/legacy-slider/slider-module.mjs +0 -30
  428. package/esm2022/legacy-slider/slider.mjs +0 -847
  429. package/esm2022/legacy-slider/testing/index.mjs +0 -9
  430. package/esm2022/legacy-slider/testing/public-api.mjs +0 -9
  431. package/esm2022/legacy-slider/testing/slider-harness-filters.mjs +0 -2
  432. package/esm2022/legacy-slider/testing/slider-harness.mjs +0 -122
  433. package/esm2022/legacy-snack-bar/index.mjs +0 -9
  434. package/esm2022/legacy-snack-bar/legacy-snack-bar_public_index.mjs +0 -5
  435. package/esm2022/legacy-snack-bar/public-api.mjs +0 -53
  436. package/esm2022/legacy-snack-bar/simple-snack-bar.mjs +0 -45
  437. package/esm2022/legacy-snack-bar/snack-bar-container.mjs +0 -39
  438. package/esm2022/legacy-snack-bar/snack-bar-module.mjs +0 -34
  439. package/esm2022/legacy-snack-bar/snack-bar.mjs +0 -47
  440. package/esm2022/legacy-snack-bar/testing/index.mjs +0 -9
  441. package/esm2022/legacy-snack-bar/testing/public-api.mjs +0 -9
  442. package/esm2022/legacy-snack-bar/testing/snack-bar-harness.mjs +0 -46
  443. package/esm2022/legacy-table/cell.mjs +0 -163
  444. package/esm2022/legacy-table/index.mjs +0 -9
  445. package/esm2022/legacy-table/legacy-table_public_index.mjs +0 -5
  446. package/esm2022/legacy-table/public-api.mjs +0 -20
  447. package/esm2022/legacy-table/row.mjs +0 -165
  448. package/esm2022/legacy-table/table-data-source.mjs +0 -27
  449. package/esm2022/legacy-table/table-module.mjs +0 -98
  450. package/esm2022/legacy-table/table.mjs +0 -72
  451. package/esm2022/legacy-table/testing/cell-harness.mjs +0 -62
  452. package/esm2022/legacy-table/testing/index.mjs +0 -9
  453. package/esm2022/legacy-table/testing/public-api.mjs +0 -27
  454. package/esm2022/legacy-table/testing/row-harness.mjs +0 -76
  455. package/esm2022/legacy-table/testing/table-harness.mjs +0 -34
  456. package/esm2022/legacy-table/text-column.mjs +0 -65
  457. package/esm2022/legacy-tabs/index.mjs +0 -9
  458. package/esm2022/legacy-tabs/ink-bar.mjs +0 -73
  459. package/esm2022/legacy-tabs/legacy-tabs_public_index.mjs +0 -5
  460. package/esm2022/legacy-tabs/public-api.mjs +0 -94
  461. package/esm2022/legacy-tabs/tab-body.mjs +0 -64
  462. package/esm2022/legacy-tabs/tab-content.mjs +0 -27
  463. package/esm2022/legacy-tabs/tab-group.mjs +0 -72
  464. package/esm2022/legacy-tabs/tab-header.mjs +0 -75
  465. package/esm2022/legacy-tabs/tab-label-wrapper.mjs +0 -30
  466. package/esm2022/legacy-tabs/tab-label.mjs +0 -27
  467. package/esm2022/legacy-tabs/tab-nav-bar/index.mjs +0 -9
  468. package/esm2022/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +0 -164
  469. package/esm2022/legacy-tabs/tab.mjs +0 -46
  470. package/esm2022/legacy-tabs/tabs-module.mjs +0 -99
  471. package/esm2022/legacy-tabs/testing/index.mjs +0 -9
  472. package/esm2022/legacy-tabs/testing/public-api.mjs +0 -12
  473. package/esm2022/legacy-tabs/testing/tab-group-harness.mjs +0 -61
  474. package/esm2022/legacy-tabs/testing/tab-harness-filters.mjs +0 -2
  475. package/esm2022/legacy-tabs/testing/tab-harness.mjs +0 -71
  476. package/esm2022/legacy-tabs/testing/tab-link-harness.mjs +0 -45
  477. package/esm2022/legacy-tabs/testing/tab-nav-bar-harness.mjs +0 -70
  478. package/esm2022/legacy-tabs/testing/tab-nav-panel-harness.mjs +0 -31
  479. package/esm2022/legacy-tooltip/index.mjs +0 -9
  480. package/esm2022/legacy-tooltip/legacy-tooltip_public_index.mjs +0 -5
  481. package/esm2022/legacy-tooltip/public-api.mjs +0 -47
  482. package/esm2022/legacy-tooltip/testing/index.mjs +0 -9
  483. package/esm2022/legacy-tooltip/testing/public-api.mjs +0 -9
  484. package/esm2022/legacy-tooltip/testing/tooltip-harness.mjs +0 -35
  485. package/esm2022/legacy-tooltip/tooltip-animations.mjs +0 -28
  486. package/esm2022/legacy-tooltip/tooltip-module.mjs +0 -35
  487. package/esm2022/legacy-tooltip/tooltip.mjs +0 -108
  488. package/expansion/_expansion-legacy-index.scss +0 -2
  489. package/expansion/_expansion-theme.import.scss +0 -12
  490. package/expansion/_expansion-variables.import.scss +0 -1
  491. package/fesm2022/legacy-autocomplete/testing.mjs +0 -35
  492. package/fesm2022/legacy-autocomplete/testing.mjs.map +0 -1
  493. package/fesm2022/legacy-autocomplete.mjs +0 -146
  494. package/fesm2022/legacy-autocomplete.mjs.map +0 -1
  495. package/fesm2022/legacy-button/testing.mjs +0 -78
  496. package/fesm2022/legacy-button/testing.mjs.map +0 -1
  497. package/fesm2022/legacy-button.mjs +0 -194
  498. package/fesm2022/legacy-button.mjs.map +0 -1
  499. package/fesm2022/legacy-card/testing.mjs +0 -43
  500. package/fesm2022/legacy-card/testing.mjs.map +0 -1
  501. package/fesm2022/legacy-card.mjs +0 -353
  502. package/fesm2022/legacy-card.mjs.map +0 -1
  503. package/fesm2022/legacy-checkbox/testing.mjs +0 -42
  504. package/fesm2022/legacy-checkbox/testing.mjs.map +0 -1
  505. package/fesm2022/legacy-checkbox.mjs +0 -157
  506. package/fesm2022/legacy-checkbox.mjs.map +0 -1
  507. package/fesm2022/legacy-chips/testing.mjs +0 -365
  508. package/fesm2022/legacy-chips/testing.mjs.map +0 -1
  509. package/fesm2022/legacy-chips.mjs +0 -1399
  510. package/fesm2022/legacy-chips.mjs.map +0 -1
  511. package/fesm2022/legacy-core/testing.mjs +0 -92
  512. package/fesm2022/legacy-core/testing.mjs.map +0 -1
  513. package/fesm2022/legacy-core.mjs +0 -92
  514. package/fesm2022/legacy-core.mjs.map +0 -1
  515. package/fesm2022/legacy-dialog/testing.mjs +0 -80
  516. package/fesm2022/legacy-dialog/testing.mjs.map +0 -1
  517. package/fesm2022/legacy-dialog.mjs +0 -449
  518. package/fesm2022/legacy-dialog.mjs.map +0 -1
  519. package/fesm2022/legacy-form-field/testing.mjs +0 -87
  520. package/fesm2022/legacy-form-field/testing.mjs.map +0 -1
  521. package/fesm2022/legacy-form-field.mjs +0 -726
  522. package/fesm2022/legacy-form-field.mjs.map +0 -1
  523. package/fesm2022/legacy-input/testing.mjs +0 -2
  524. package/fesm2022/legacy-input/testing.mjs.map +0 -1
  525. package/fesm2022/legacy-input.mjs +0 -97
  526. package/fesm2022/legacy-input.mjs.map +0 -1
  527. package/fesm2022/legacy-list/testing.mjs +0 -436
  528. package/fesm2022/legacy-list/testing.mjs.map +0 -1
  529. package/fesm2022/legacy-list.mjs +0 -891
  530. package/fesm2022/legacy-list.mjs.map +0 -1
  531. package/fesm2022/legacy-menu/testing.mjs +0 -52
  532. package/fesm2022/legacy-menu/testing.mjs.map +0 -1
  533. package/fesm2022/legacy-menu.mjs +0 -145
  534. package/fesm2022/legacy-menu.mjs.map +0 -1
  535. package/fesm2022/legacy-paginator/testing.mjs +0 -38
  536. package/fesm2022/legacy-paginator/testing.mjs.map +0 -1
  537. package/fesm2022/legacy-paginator.mjs +0 -92
  538. package/fesm2022/legacy-paginator.mjs.map +0 -1
  539. package/fesm2022/legacy-progress-bar/testing.mjs +0 -34
  540. package/fesm2022/legacy-progress-bar/testing.mjs.map +0 -1
  541. package/fesm2022/legacy-progress-bar.mjs +0 -210
  542. package/fesm2022/legacy-progress-bar.mjs.map +0 -1
  543. package/fesm2022/legacy-progress-spinner/testing.mjs +0 -35
  544. package/fesm2022/legacy-progress-spinner/testing.mjs.map +0 -1
  545. package/fesm2022/legacy-progress-spinner.mjs +0 -312
  546. package/fesm2022/legacy-progress-spinner.mjs.map +0 -1
  547. package/fesm2022/legacy-radio/testing.mjs +0 -54
  548. package/fesm2022/legacy-radio/testing.mjs.map +0 -1
  549. package/fesm2022/legacy-radio.mjs +0 -130
  550. package/fesm2022/legacy-radio.mjs.map +0 -1
  551. package/fesm2022/legacy-select/testing.mjs +0 -32
  552. package/fesm2022/legacy-select/testing.mjs.map +0 -1
  553. package/fesm2022/legacy-select.mjs +0 -541
  554. package/fesm2022/legacy-select.mjs.map +0 -1
  555. package/fesm2022/legacy-slide-toggle/testing.mjs +0 -47
  556. package/fesm2022/legacy-slide-toggle/testing.mjs.map +0 -1
  557. package/fesm2022/legacy-slide-toggle.mjs +0 -177
  558. package/fesm2022/legacy-slide-toggle.mjs.map +0 -1
  559. package/fesm2022/legacy-slider/testing.mjs +0 -118
  560. package/fesm2022/legacy-slider/testing.mjs.map +0 -1
  561. package/fesm2022/legacy-slider.mjs +0 -863
  562. package/fesm2022/legacy-slider.mjs.map +0 -1
  563. package/fesm2022/legacy-snack-bar/testing.mjs +0 -42
  564. package/fesm2022/legacy-snack-bar/testing.mjs.map +0 -1
  565. package/fesm2022/legacy-snack-bar.mjs +0 -128
  566. package/fesm2022/legacy-snack-bar.mjs.map +0 -1
  567. package/fesm2022/legacy-table/testing.mjs +0 -150
  568. package/fesm2022/legacy-table/testing.mjs.map +0 -1
  569. package/fesm2022/legacy-table.mjs +0 -538
  570. package/fesm2022/legacy-table.mjs.map +0 -1
  571. package/fesm2022/legacy-tabs/testing.mjs +0 -239
  572. package/fesm2022/legacy-tabs/testing.mjs.map +0 -1
  573. package/fesm2022/legacy-tabs.mjs +0 -549
  574. package/fesm2022/legacy-tabs.mjs.map +0 -1
  575. package/fesm2022/legacy-tooltip/testing.mjs +0 -31
  576. package/fesm2022/legacy-tooltip/testing.mjs.map +0 -1
  577. package/fesm2022/legacy-tooltip.mjs +0 -148
  578. package/fesm2022/legacy-tooltip.mjs.map +0 -1
  579. package/form-field/_form-field-theme.import.scss +0 -29
  580. package/form-field/_mdc-text-field-theme-variable-refresh.scss +0 -88
  581. package/grid-list/_grid-list-legacy-index.scss +0 -2
  582. package/grid-list/_grid-list-theme.import.scss +0 -10
  583. package/icon/_icon-legacy-index.scss +0 -2
  584. package/icon/_icon-theme.import.scss +0 -5
  585. package/input/_input-theme.import.scss +0 -1
  586. package/legacy-autocomplete/_autocomplete-legacy-index.scss +0 -2
  587. package/legacy-autocomplete/_autocomplete-theme.import.scss +0 -7
  588. package/legacy-autocomplete/_autocomplete-theme.scss +0 -57
  589. package/legacy-autocomplete/index.d.ts +0 -115
  590. package/legacy-autocomplete/testing/index.d.ts +0 -41
  591. package/legacy-button/_button-base.import.scss +0 -21
  592. package/legacy-button/_button-base.scss +0 -114
  593. package/legacy-button/_button-legacy-index.scss +0 -22
  594. package/legacy-button/_button-theme.import.scss +0 -11
  595. package/legacy-button/_button-theme.scss +0 -223
  596. package/legacy-button/index.d.ts +0 -87
  597. package/legacy-button/testing/index.d.ts +0 -49
  598. package/legacy-card/_card-legacy-index.scss +0 -2
  599. package/legacy-card/_card-theme.import.scss +0 -10
  600. package/legacy-card/_card-theme.scss +0 -78
  601. package/legacy-card/index.d.ts +0 -201
  602. package/legacy-card/testing/index.d.ts +0 -56
  603. package/legacy-checkbox/_checkbox-legacy-index.scss +0 -2
  604. package/legacy-checkbox/_checkbox-theme.import.scss +0 -7
  605. package/legacy-checkbox/_checkbox-theme.scss +0 -138
  606. package/legacy-checkbox/index.d.ts +0 -116
  607. package/legacy-checkbox/testing/index.d.ts +0 -30
  608. package/legacy-chips/_chips-legacy-index.scss +0 -7
  609. package/legacy-chips/_chips-theme.import.scss +0 -14
  610. package/legacy-chips/_chips-theme.scss +0 -133
  611. package/legacy-chips/index.d.ts +0 -705
  612. package/legacy-chips/testing/index.d.ts +0 -316
  613. package/legacy-core/_core-theme.scss +0 -65
  614. package/legacy-core/_core.import.scss +0 -5
  615. package/legacy-core/_core.scss +0 -18
  616. package/legacy-core/color/_all-color.import.scss +0 -4
  617. package/legacy-core/color/_all-color.scss +0 -28
  618. package/legacy-core/density/private/_all-density.import.scss +0 -3
  619. package/legacy-core/density/private/_all-density.scss +0 -46
  620. package/legacy-core/density/private/_compatibility.import.scss +0 -4
  621. package/legacy-core/density/private/_compatibility.scss +0 -74
  622. package/legacy-core/index.d.ts +0 -218
  623. package/legacy-core/option/_optgroup-theme.import.scss +0 -27
  624. package/legacy-core/option/_optgroup-theme.scss +0 -52
  625. package/legacy-core/option/_option-legacy-index.scss +0 -5
  626. package/legacy-core/option/_option-theme.import.scss +0 -27
  627. package/legacy-core/option/_option-theme.scss +0 -86
  628. package/legacy-core/testing/index.d.ts +0 -80
  629. package/legacy-core/theming/_all-theme.import.scss +0 -3
  630. package/legacy-core/theming/_all-theme.scss +0 -89
  631. package/legacy-core/typography/_all-typography.import.scss +0 -4
  632. package/legacy-core/typography/_all-typography.scss +0 -105
  633. package/legacy-dialog/_dialog-legacy-index.scss +0 -2
  634. package/legacy-dialog/_dialog-theme.import.scss +0 -10
  635. package/legacy-dialog/_dialog-theme.scss +0 -53
  636. package/legacy-dialog/index.d.ts +0 -271
  637. package/legacy-dialog/testing/index.d.ts +0 -63
  638. package/legacy-form-field/_form-field-fill-theme.import.scss +0 -13
  639. package/legacy-form-field/_form-field-fill-theme.scss +0 -136
  640. package/legacy-form-field/_form-field-legacy-index.scss +0 -29
  641. package/legacy-form-field/_form-field-legacy-theme.import.scss +0 -14
  642. package/legacy-form-field/_form-field-legacy-theme.scss +0 -204
  643. package/legacy-form-field/_form-field-outline-theme.import.scss +0 -13
  644. package/legacy-form-field/_form-field-outline-theme.scss +0 -167
  645. package/legacy-form-field/_form-field-standard-theme.import.scss +0 -11
  646. package/legacy-form-field/_form-field-standard-theme.scss +0 -55
  647. package/legacy-form-field/_form-field-theme.import.scss +0 -29
  648. package/legacy-form-field/_form-field-theme.scss +0 -278
  649. package/legacy-form-field/index.d.ts +0 -370
  650. package/legacy-form-field/testing/index.d.ts +0 -76
  651. package/legacy-input/_input-legacy-index.scss +0 -2
  652. package/legacy-input/_input-theme.import.scss +0 -11
  653. package/legacy-input/_input-theme.scss +0 -115
  654. package/legacy-input/index.d.ts +0 -41
  655. package/legacy-input/testing/index.d.ts +0 -20
  656. package/legacy-list/_list-legacy-index.scss +0 -2
  657. package/legacy-list/_list-theme.import.scss +0 -10
  658. package/legacy-list/_list-theme.scss +0 -124
  659. package/legacy-list/index.d.ts +0 -396
  660. package/legacy-list/testing/index.d.ts +0 -419
  661. package/legacy-menu/_menu-legacy-index.scss +0 -2
  662. package/legacy-menu/_menu-theme.import.scss +0 -10
  663. package/legacy-menu/_menu-theme.scss +0 -84
  664. package/legacy-menu/index.d.ts +0 -127
  665. package/legacy-menu/testing/index.d.ts +0 -47
  666. package/legacy-paginator/_paginator-legacy-index.scss +0 -2
  667. package/legacy-paginator/_paginator-theme.import.scss +0 -11
  668. package/legacy-paginator/_paginator-theme.scss +0 -92
  669. package/legacy-paginator/_paginator-variables.import.scss +0 -1
  670. package/legacy-paginator/_paginator-variables.scss +0 -13
  671. package/legacy-paginator/index.d.ts +0 -87
  672. package/legacy-paginator/testing/index.d.ts +0 -36
  673. package/legacy-prebuilt-themes/legacy-deeppurple-amber.css +0 -1
  674. package/legacy-prebuilt-themes/legacy-indigo-pink.css +0 -1
  675. package/legacy-prebuilt-themes/legacy-pink-bluegrey.css +0 -1
  676. package/legacy-prebuilt-themes/legacy-purple-green.css +0 -1
  677. package/legacy-progress-bar/_progress-bar-legacy-index.scss +0 -2
  678. package/legacy-progress-bar/_progress-bar-theme.import.scss +0 -6
  679. package/legacy-progress-bar/_progress-bar-theme.scss +0 -93
  680. package/legacy-progress-bar/index.d.ts +0 -131
  681. package/legacy-progress-bar/testing/index.d.ts +0 -28
  682. package/legacy-progress-spinner/_progress-spinner-legacy-index.scss +0 -3
  683. package/legacy-progress-spinner/_progress-spinner-theme.import.scss +0 -7
  684. package/legacy-progress-spinner/_progress-spinner-theme.scss +0 -52
  685. package/legacy-progress-spinner/index.d.ts +0 -129
  686. package/legacy-progress-spinner/testing/index.d.ts +0 -29
  687. package/legacy-radio/_radio-legacy-index.scss +0 -2
  688. package/legacy-radio/_radio-theme.import.scss +0 -8
  689. package/legacy-radio/_radio-theme.scss +0 -104
  690. package/legacy-radio/index.d.ts +0 -75
  691. package/legacy-radio/testing/index.d.ts +0 -50
  692. package/legacy-select/_select-legacy-index.scss +0 -2
  693. package/legacy-select/_select-theme.import.scss +0 -11
  694. package/legacy-select/_select-theme.scss +0 -107
  695. package/legacy-select/index.d.ts +0 -230
  696. package/legacy-select/testing/index.d.ts +0 -38
  697. package/legacy-slide-toggle/_slide-toggle-legacy-index.scss +0 -3
  698. package/legacy-slide-toggle/_slide-toggle-theme.import.scss +0 -11
  699. package/legacy-slide-toggle/_slide-toggle-theme.scss +0 -111
  700. package/legacy-slide-toggle/index.d.ts +0 -113
  701. package/legacy-slide-toggle/testing/index.d.ts +0 -34
  702. package/legacy-slider/_slider-legacy-index.scss +0 -3
  703. package/legacy-slider/_slider-theme.import.scss +0 -8
  704. package/legacy-slider/_slider-theme.scss +0 -210
  705. package/legacy-slider/index.d.ts +0 -303
  706. package/legacy-slider/testing/index.d.ts +0 -68
  707. package/legacy-snack-bar/_snack-bar-legacy-index.scss +0 -2
  708. package/legacy-snack-bar/_snack-bar-theme.import.scss +0 -11
  709. package/legacy-snack-bar/_snack-bar-theme.scss +0 -72
  710. package/legacy-snack-bar/index.d.ts +0 -118
  711. package/legacy-snack-bar/testing/index.d.ts +0 -28
  712. package/legacy-table/_table-legacy-index.scss +0 -3
  713. package/legacy-table/_table-theme.import.scss +0 -8
  714. package/legacy-table/_table-theme.scss +0 -78
  715. package/legacy-table/index.d.ts +0 -298
  716. package/legacy-table/testing/index.d.ts +0 -149
  717. package/legacy-tabs/_tabs-common.import.scss +0 -11
  718. package/legacy-tabs/_tabs-common.scss +0 -173
  719. package/legacy-tabs/_tabs-legacy-index.scss +0 -6
  720. package/legacy-tabs/_tabs-theme.import.scss +0 -9
  721. package/legacy-tabs/_tabs-theme.scss +0 -188
  722. package/legacy-tabs/index.d.ts +0 -338
  723. package/legacy-tabs/testing/index.d.ts +0 -195
  724. package/legacy-tooltip/_tooltip-legacy-index.scss +0 -3
  725. package/legacy-tooltip/_tooltip-theme.import.scss +0 -9
  726. package/legacy-tooltip/_tooltip-theme.scss +0 -67
  727. package/legacy-tooltip/index.d.ts +0 -117
  728. package/legacy-tooltip/testing/index.d.ts +0 -30
  729. package/list/_list-theme.import.scss +0 -1
  730. package/menu/_menu-theme.import.scss +0 -2
  731. package/paginator/_paginator-theme.import.scss +0 -6
  732. package/paginator/_paginator-variables.import.scss +0 -1
  733. package/progress-bar/_progress-bar-theme.import.scss +0 -3
  734. package/progress-spinner/_progress-spinner-theme.import.scss +0 -3
  735. package/radio/_radio-theme.import.scss +0 -4
  736. package/select/_select-theme.import.scss +0 -7
  737. package/sidenav/_sidenav-legacy-index.scss +0 -2
  738. package/sidenav/_sidenav-theme.import.scss +0 -8
  739. package/slide-toggle/_slide-toggle-theme.import.scss +0 -7
  740. package/slider/_slider-theme.import.scss +0 -2
  741. package/snack-bar/_snack-bar-theme.import.scss +0 -5
  742. package/sort/_sort-legacy-index.scss +0 -2
  743. package/sort/_sort-theme.import.scss +0 -5
  744. package/stepper/_stepper-legacy-index.scss +0 -7
  745. package/stepper/_stepper-theme.import.scss +0 -16
  746. package/stepper/_stepper-variables.import.scss +0 -6
  747. package/table/_table-flex-styles.import.scss +0 -1
  748. package/table/_table-theme.import.scss +0 -8
  749. package/tabs/_tabs-common.import.scss +0 -11
  750. package/tabs/_tabs-theme.import.scss +0 -5
  751. package/toolbar/_toolbar-legacy-index.scss +0 -4
  752. package/toolbar/_toolbar-theme.import.scss +0 -14
  753. package/toolbar/_toolbar-variables.import.scss +0 -1
  754. package/tooltip/_tooltip-theme.import.scss +0 -2
  755. package/tree/_tree-legacy-index.scss +0 -2
  756. package/tree/_tree-theme.import.scss +0 -9
  757. package/tree/_tree-variables.import.scss +0 -1
@@ -1,726 +0,0 @@
1
- import * as i4 from '@angular/cdk/observers';
2
- import { ObserversModule } from '@angular/cdk/observers';
3
- import * as i3 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
5
- import * as i0 from '@angular/core';
6
- import { Directive, Attribute, Input, InjectionToken, Component, ViewEncapsulation, ChangeDetectionStrategy, Optional, Inject, ViewChild, ContentChild, ContentChildren, NgModule } from '@angular/core';
7
- import { mixinColor, MatCommonModule } from '@angular/material/core';
8
- import { MAT_ERROR, getMatFormFieldPlaceholderConflictError, getMatFormFieldDuplicatedHintError, getMatFormFieldMissingControlError, MAT_FORM_FIELD, MatFormFieldControl, MAT_PREFIX, MAT_SUFFIX, matFormFieldAnimations } from '@angular/material/form-field';
9
- export { MAT_ERROR as MAT_LEGACY_ERROR, MAT_FORM_FIELD as MAT_LEGACY_FORM_FIELD, MAT_PREFIX as MAT_LEGACY_PREFIX, MAT_SUFFIX as MAT_LEGACY_SUFFIX, MatFormFieldControl as MatLegacyFormFieldControl, getMatFormFieldDuplicatedHintError as getMatLegacyFormFieldDuplicatedHintError, getMatFormFieldMissingControlError as getMatLegacyFormFieldMissingControlError, getMatFormFieldPlaceholderConflictError as getMatLegacyFormFieldPlaceholderConflictError, matFormFieldAnimations as matLegacyFormFieldAnimations } from '@angular/material/form-field';
10
- import * as i1 from '@angular/cdk/bidi';
11
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
12
- import { Subject, merge, fromEvent } from 'rxjs';
13
- import { startWith, takeUntil, take } from 'rxjs/operators';
14
- import * as i2 from '@angular/cdk/platform';
15
- import { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';
16
-
17
- let nextUniqueId$2 = 0;
18
- /**
19
- * Single error message to be shown underneath the form field.
20
- * @deprecated Use `MatError` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
21
- * @breaking-change 17.0.0
22
- */
23
- class MatLegacyError {
24
- constructor(ariaLive, elementRef) {
25
- this.id = `mat-error-${nextUniqueId$2++}`;
26
- // If no aria-live value is set add 'polite' as a default. This is preferred over setting
27
- // role='alert' so that screen readers do not interrupt the current task to read this aloud.
28
- if (!ariaLive) {
29
- elementRef.nativeElement.setAttribute('aria-live', 'polite');
30
- }
31
- }
32
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyError, deps: [{ token: 'aria-live', attribute: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
33
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyError, selector: "mat-error", inputs: { id: "id" }, host: { attributes: { "aria-atomic": "true" }, properties: { "attr.id": "id" }, classAttribute: "mat-error" }, providers: [{ provide: MAT_ERROR, useExisting: MatLegacyError }], ngImport: i0 }); }
34
- }
35
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyError, decorators: [{
36
- type: Directive,
37
- args: [{
38
- selector: 'mat-error',
39
- host: {
40
- 'class': 'mat-error',
41
- '[attr.id]': 'id',
42
- 'aria-atomic': 'true',
43
- },
44
- providers: [{ provide: MAT_ERROR, useExisting: MatLegacyError }],
45
- }]
46
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
47
- type: Attribute,
48
- args: ['aria-live']
49
- }] }, { type: i0.ElementRef }]; }, propDecorators: { id: [{
50
- type: Input
51
- }] } });
52
-
53
- let nextUniqueId$1 = 0;
54
- /**
55
- * Injection token that can be used to reference instances of `MatHint`. It serves as
56
- * alternative token to the actual `MatHint` class which could cause unnecessary
57
- * retention of the class and its directive metadata.
58
- *
59
- * *Note*: This is not part of the public API as the MDC-based form-field will not
60
- * need a lightweight token for `MatHint` and we want to reduce breaking changes.
61
- *
62
- * @deprecated Use `_MAT_HINT` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
63
- * @breaking-change 17.0.0
64
- */
65
- const _MAT_LEGACY_HINT = new InjectionToken('MatHint');
66
- /**
67
- * Hint text to be shown underneath the form field control.
68
- * @deprecated Use `MatHint` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
69
- * @breaking-change 17.0.0
70
- */
71
- class MatLegacyHint {
72
- constructor() {
73
- /** Whether to align the hint label at the start or end of the line. */
74
- this.align = 'start';
75
- /** Unique ID for the hint. Used for the aria-describedby on the form field control. */
76
- this.id = `mat-hint-${nextUniqueId$1++}`;
77
- }
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyHint, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
79
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyHint, selector: "mat-hint", inputs: { align: "align", id: "id" }, host: { properties: { "class.mat-form-field-hint-end": "align === \"end\"", "attr.id": "id", "attr.align": "null" }, classAttribute: "mat-hint" }, providers: [{ provide: _MAT_LEGACY_HINT, useExisting: MatLegacyHint }], ngImport: i0 }); }
80
- }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyHint, decorators: [{
82
- type: Directive,
83
- args: [{
84
- selector: 'mat-hint',
85
- host: {
86
- 'class': 'mat-hint',
87
- '[class.mat-form-field-hint-end]': 'align === "end"',
88
- '[attr.id]': 'id',
89
- // Remove align attribute to prevent it from interfering with layout.
90
- '[attr.align]': 'null',
91
- },
92
- providers: [{ provide: _MAT_LEGACY_HINT, useExisting: MatLegacyHint }],
93
- }]
94
- }], propDecorators: { align: [{
95
- type: Input
96
- }], id: [{
97
- type: Input
98
- }] } });
99
-
100
- /**
101
- * The floating label for a `mat-form-field`.
102
- * @deprecated Use `MatLabel` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
103
- * @breaking-change 17.0.0
104
- */
105
- class MatLegacyLabel {
106
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyLabel, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
107
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyLabel, selector: "mat-label", ngImport: i0 }); }
108
- }
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyLabel, decorators: [{
110
- type: Directive,
111
- args: [{
112
- selector: 'mat-label',
113
- }]
114
- }] });
115
-
116
- /**
117
- * The placeholder text for an `MatFormField`.
118
- * @deprecated Use `<mat-label>` to specify the label and the `placeholder` attribute to specify the
119
- * placeholder.
120
- * @breaking-change 8.0.0
121
- */
122
- class MatLegacyPlaceholder {
123
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyPlaceholder, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
124
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyPlaceholder, selector: "mat-placeholder", ngImport: i0 }); }
125
- }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyPlaceholder, decorators: [{
127
- type: Directive,
128
- args: [{
129
- selector: 'mat-placeholder',
130
- }]
131
- }] });
132
-
133
- let nextUniqueId = 0;
134
- const floatingLabelScale = 0.75;
135
- const outlineGapPadding = 5;
136
- /**
137
- * Boilerplate for applying mixins to MatFormField.
138
- * @docs-private
139
- */
140
- const _MatFormFieldBase = mixinColor(class {
141
- constructor(_elementRef) {
142
- this._elementRef = _elementRef;
143
- }
144
- }, 'primary');
145
- /**
146
- * Injection token that can be used to configure the
147
- * default options for all form field within an app.
148
- * @deprecated Use `MAT_FORM_FIELD_DEFAULT_OPTIONS` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
149
- * @breaking-change 17.0.0
150
- */
151
- const MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS = new InjectionToken('MAT_FORM_FIELD_DEFAULT_OPTIONS');
152
- /**
153
- * Container for form controls that applies Material Design styling and behavior.
154
- * @deprecated Use `MatFormField` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
155
- * @breaking-change 17.0.0
156
- */
157
- class MatLegacyFormField extends _MatFormFieldBase {
158
- /** The form field appearance style. */
159
- get appearance() {
160
- return this._appearance;
161
- }
162
- set appearance(value) {
163
- const oldValue = this._appearance;
164
- this._appearance = value || this._defaults?.appearance || 'legacy';
165
- if (this._appearance === 'outline' && oldValue !== value) {
166
- this._outlineGapCalculationNeededOnStable = true;
167
- }
168
- }
169
- /** Whether the required marker should be hidden. */
170
- get hideRequiredMarker() {
171
- return this._hideRequiredMarker;
172
- }
173
- set hideRequiredMarker(value) {
174
- this._hideRequiredMarker = coerceBooleanProperty(value);
175
- }
176
- /** Whether the floating label should always float or not. */
177
- _shouldAlwaysFloat() {
178
- return this.floatLabel === 'always' && !this._showAlwaysAnimate;
179
- }
180
- /** Whether the label can float or not. */
181
- _canLabelFloat() {
182
- return this.floatLabel !== 'never';
183
- }
184
- /** Text for the form field hint. */
185
- get hintLabel() {
186
- return this._hintLabel;
187
- }
188
- set hintLabel(value) {
189
- this._hintLabel = value;
190
- this._processHints();
191
- }
192
- /**
193
- * Whether the label should always float, never float or float as the user types.
194
- *
195
- * Note: only the legacy appearance supports the `never` option. `never` was originally added as a
196
- * way to make the floating label emulate the behavior of a standard input placeholder. However
197
- * the form field now supports both floating labels and placeholders. Therefore in the non-legacy
198
- * appearances the `never` option has been disabled in favor of just using the placeholder.
199
- */
200
- get floatLabel() {
201
- return this.appearance !== 'legacy' && this._floatLabel === 'never' ? 'auto' : this._floatLabel;
202
- }
203
- set floatLabel(value) {
204
- if (value !== this._floatLabel) {
205
- this._floatLabel = value || this._getDefaultFloatLabelState();
206
- this._changeDetectorRef.markForCheck();
207
- }
208
- }
209
- get _control() {
210
- // TODO(crisbeto): we need this workaround in order to support both Ivy and ViewEngine.
211
- // We should clean this up once Ivy is the default renderer.
212
- return this._explicitFormFieldControl || this._controlNonStatic || this._controlStatic;
213
- }
214
- set _control(value) {
215
- this._explicitFormFieldControl = value;
216
- }
217
- constructor(elementRef, _changeDetectorRef, _dir, _defaults, _platform, _ngZone, _animationMode) {
218
- super(elementRef);
219
- this._changeDetectorRef = _changeDetectorRef;
220
- this._dir = _dir;
221
- this._defaults = _defaults;
222
- this._platform = _platform;
223
- this._ngZone = _ngZone;
224
- /**
225
- * Whether the outline gap needs to be calculated
226
- * immediately on the next change detection run.
227
- */
228
- this._outlineGapCalculationNeededImmediately = false;
229
- /** Whether the outline gap needs to be calculated next time the zone has stabilized. */
230
- this._outlineGapCalculationNeededOnStable = false;
231
- this._destroyed = new Subject();
232
- this._hideRequiredMarker = false;
233
- /** Override for the logic that disables the label animation in certain cases. */
234
- this._showAlwaysAnimate = false;
235
- /** State of the mat-hint and mat-error animations. */
236
- this._subscriptAnimationState = '';
237
- this._hintLabel = '';
238
- // Unique id for the hint label.
239
- this._hintLabelId = `mat-hint-${nextUniqueId++}`;
240
- // Unique id for the label element.
241
- this._labelId = `mat-form-field-label-${nextUniqueId++}`;
242
- this.floatLabel = this._getDefaultFloatLabelState();
243
- this._animationsEnabled = _animationMode !== 'NoopAnimations';
244
- // Set the default through here so we invoke the setter on the first run.
245
- this.appearance = _defaults?.appearance || 'legacy';
246
- if (_defaults) {
247
- this._hideRequiredMarker = Boolean(_defaults.hideRequiredMarker);
248
- if (_defaults.color) {
249
- this.color = this.defaultColor = _defaults.color;
250
- }
251
- }
252
- }
253
- /**
254
- * Gets the id of the label element. If no label is present, returns `null`.
255
- */
256
- getLabelId() {
257
- return this._hasFloatingLabel() ? this._labelId : null;
258
- }
259
- /**
260
- * Gets an ElementRef for the element that a overlay attached to the form field should be
261
- * positioned relative to.
262
- */
263
- getConnectedOverlayOrigin() {
264
- return this._connectionContainerRef || this._elementRef;
265
- }
266
- ngAfterContentInit() {
267
- this._validateControlChild();
268
- const control = this._control;
269
- if (control.controlType) {
270
- this._elementRef.nativeElement.classList.add(`mat-form-field-type-${control.controlType}`);
271
- }
272
- // Subscribe to changes in the child control state in order to update the form field UI.
273
- control.stateChanges.pipe(startWith(null)).subscribe(() => {
274
- this._validatePlaceholders();
275
- this._syncDescribedByIds();
276
- this._changeDetectorRef.markForCheck();
277
- });
278
- // Run change detection if the value changes.
279
- if (control.ngControl && control.ngControl.valueChanges) {
280
- control.ngControl.valueChanges
281
- .pipe(takeUntil(this._destroyed))
282
- .subscribe(() => this._changeDetectorRef.markForCheck());
283
- }
284
- // Note that we have to run outside of the `NgZone` explicitly,
285
- // in order to avoid throwing users into an infinite loop
286
- // if `zone-patch-rxjs` is included.
287
- this._ngZone.runOutsideAngular(() => {
288
- this._ngZone.onStable.pipe(takeUntil(this._destroyed)).subscribe(() => {
289
- if (this._outlineGapCalculationNeededOnStable) {
290
- this.updateOutlineGap();
291
- }
292
- });
293
- });
294
- // Run change detection and update the outline if the suffix or prefix changes.
295
- merge(this._prefixChildren.changes, this._suffixChildren.changes).subscribe(() => {
296
- this._outlineGapCalculationNeededOnStable = true;
297
- this._changeDetectorRef.markForCheck();
298
- });
299
- // Re-validate when the number of hints changes.
300
- this._hintChildren.changes.pipe(startWith(null)).subscribe(() => {
301
- this._processHints();
302
- this._changeDetectorRef.markForCheck();
303
- });
304
- // Update the aria-described by when the number of errors changes.
305
- this._errorChildren.changes.pipe(startWith(null)).subscribe(() => {
306
- this._syncDescribedByIds();
307
- this._changeDetectorRef.markForCheck();
308
- });
309
- if (this._dir) {
310
- this._dir.change.pipe(takeUntil(this._destroyed)).subscribe(() => {
311
- if (typeof requestAnimationFrame === 'function') {
312
- this._ngZone.runOutsideAngular(() => {
313
- requestAnimationFrame(() => this.updateOutlineGap());
314
- });
315
- }
316
- else {
317
- this.updateOutlineGap();
318
- }
319
- });
320
- }
321
- }
322
- ngAfterContentChecked() {
323
- this._validateControlChild();
324
- if (this._outlineGapCalculationNeededImmediately) {
325
- this.updateOutlineGap();
326
- }
327
- }
328
- ngAfterViewInit() {
329
- // Avoid animations on load.
330
- this._subscriptAnimationState = 'enter';
331
- this._changeDetectorRef.detectChanges();
332
- }
333
- ngOnDestroy() {
334
- this._destroyed.next();
335
- this._destroyed.complete();
336
- }
337
- /**
338
- * Determines whether a class from the AbstractControlDirective
339
- * should be forwarded to the host element.
340
- */
341
- _shouldForward(prop) {
342
- const control = this._control ? this._control.ngControl : null;
343
- return control && control[prop];
344
- }
345
- _hasPlaceholder() {
346
- return !!((this._control && this._control.placeholder) || this._placeholderChild);
347
- }
348
- _hasLabel() {
349
- return !!(this._labelChildNonStatic || this._labelChildStatic);
350
- }
351
- _shouldLabelFloat() {
352
- return (this._canLabelFloat() &&
353
- ((this._control && this._control.shouldLabelFloat) || this._shouldAlwaysFloat()));
354
- }
355
- _hideControlPlaceholder() {
356
- // In the legacy appearance the placeholder is promoted to a label if no label is given.
357
- return ((this.appearance === 'legacy' && !this._hasLabel()) ||
358
- (this._hasLabel() && !this._shouldLabelFloat()));
359
- }
360
- _hasFloatingLabel() {
361
- // In the legacy appearance the placeholder is promoted to a label if no label is given.
362
- return this._hasLabel() || (this.appearance === 'legacy' && this._hasPlaceholder());
363
- }
364
- /** Determines whether to display hints or errors. */
365
- _getDisplayedMessages() {
366
- return this._errorChildren && this._errorChildren.length > 0 && this._control.errorState
367
- ? 'error'
368
- : 'hint';
369
- }
370
- /** Animates the placeholder up and locks it in position. */
371
- _animateAndLockLabel() {
372
- if (this._hasFloatingLabel() && this._canLabelFloat()) {
373
- // If animations are disabled, we shouldn't go in here,
374
- // because the `transitionend` will never fire.
375
- if (this._animationsEnabled && this._label) {
376
- this._showAlwaysAnimate = true;
377
- fromEvent(this._label.nativeElement, 'transitionend')
378
- .pipe(take(1))
379
- .subscribe(() => {
380
- this._showAlwaysAnimate = false;
381
- });
382
- }
383
- this.floatLabel = 'always';
384
- this._changeDetectorRef.markForCheck();
385
- }
386
- }
387
- /**
388
- * Ensure that there is only one placeholder (either `placeholder` attribute on the child control
389
- * or child element with the `mat-placeholder` directive).
390
- */
391
- _validatePlaceholders() {
392
- if (this._control.placeholder &&
393
- this._placeholderChild &&
394
- (typeof ngDevMode === 'undefined' || ngDevMode)) {
395
- throw getMatFormFieldPlaceholderConflictError();
396
- }
397
- }
398
- /** Does any extra processing that is required when handling the hints. */
399
- _processHints() {
400
- this._validateHints();
401
- this._syncDescribedByIds();
402
- }
403
- /**
404
- * Ensure that there is a maximum of one of each `<mat-hint>` alignment specified, with the
405
- * attribute being considered as `align="start"`.
406
- */
407
- _validateHints() {
408
- if (this._hintChildren && (typeof ngDevMode === 'undefined' || ngDevMode)) {
409
- let startHint;
410
- let endHint;
411
- this._hintChildren.forEach((hint) => {
412
- if (hint.align === 'start') {
413
- if (startHint || this.hintLabel) {
414
- throw getMatFormFieldDuplicatedHintError('start');
415
- }
416
- startHint = hint;
417
- }
418
- else if (hint.align === 'end') {
419
- if (endHint) {
420
- throw getMatFormFieldDuplicatedHintError('end');
421
- }
422
- endHint = hint;
423
- }
424
- });
425
- }
426
- }
427
- /** Gets the default float label state. */
428
- _getDefaultFloatLabelState() {
429
- return (this._defaults && this._defaults.floatLabel) || 'auto';
430
- }
431
- /**
432
- * Sets the list of element IDs that describe the child control. This allows the control to update
433
- * its `aria-describedby` attribute accordingly.
434
- */
435
- _syncDescribedByIds() {
436
- if (this._control) {
437
- let ids = [];
438
- // TODO(wagnermaciel): Remove the type check when we find the root cause of this bug.
439
- if (this._control.userAriaDescribedBy &&
440
- typeof this._control.userAriaDescribedBy === 'string') {
441
- ids.push(...this._control.userAriaDescribedBy.split(' '));
442
- }
443
- if (this._getDisplayedMessages() === 'hint') {
444
- const startHint = this._hintChildren
445
- ? this._hintChildren.find(hint => hint.align === 'start')
446
- : null;
447
- const endHint = this._hintChildren
448
- ? this._hintChildren.find(hint => hint.align === 'end')
449
- : null;
450
- if (startHint) {
451
- ids.push(startHint.id);
452
- }
453
- else if (this._hintLabel) {
454
- ids.push(this._hintLabelId);
455
- }
456
- if (endHint) {
457
- ids.push(endHint.id);
458
- }
459
- }
460
- else if (this._errorChildren) {
461
- ids.push(...this._errorChildren.map(error => error.id));
462
- }
463
- this._control.setDescribedByIds(ids);
464
- }
465
- }
466
- /** Throws an error if the form field's control is missing. */
467
- _validateControlChild() {
468
- if (!this._control && (typeof ngDevMode === 'undefined' || ngDevMode)) {
469
- throw getMatFormFieldMissingControlError();
470
- }
471
- }
472
- /**
473
- * Updates the width and position of the gap in the outline. Only relevant for the outline
474
- * appearance.
475
- */
476
- updateOutlineGap() {
477
- const labelEl = this._label ? this._label.nativeElement : null;
478
- const container = this._connectionContainerRef.nativeElement;
479
- const outlineStartSelector = '.mat-form-field-outline-start';
480
- const outlineGapSelector = '.mat-form-field-outline-gap';
481
- // getBoundingClientRect isn't available on the server.
482
- if (this.appearance !== 'outline' || !this._platform.isBrowser) {
483
- return;
484
- }
485
- // If there is no content, set the gap elements to zero.
486
- if (!labelEl || !labelEl.children.length || !labelEl.textContent.trim()) {
487
- const gapElements = container.querySelectorAll(`${outlineStartSelector}, ${outlineGapSelector}`);
488
- for (let i = 0; i < gapElements.length; i++) {
489
- gapElements[i].style.width = '0';
490
- }
491
- return;
492
- }
493
- // If the element is not present in the DOM, the outline gap will need to be calculated
494
- // the next time it is checked and in the DOM.
495
- if (!this._isAttachedToDOM()) {
496
- this._outlineGapCalculationNeededImmediately = true;
497
- return;
498
- }
499
- let startWidth = 0;
500
- let gapWidth = 0;
501
- const startEls = container.querySelectorAll(outlineStartSelector);
502
- const gapEls = container.querySelectorAll(outlineGapSelector);
503
- if (this._label && this._label.nativeElement.children.length) {
504
- const containerRect = container.getBoundingClientRect();
505
- // If the container's width and height are zero, it means that the element is
506
- // invisible and we can't calculate the outline gap. Mark the element as needing
507
- // to be checked the next time the zone stabilizes. We can't do this immediately
508
- // on the next change detection, because even if the element becomes visible,
509
- // the `ClientRect` won't be recalculated immediately. We reset the
510
- // `_outlineGapCalculationNeededImmediately` flag some we don't run the checks twice.
511
- if (containerRect.width === 0 && containerRect.height === 0) {
512
- this._outlineGapCalculationNeededOnStable = true;
513
- this._outlineGapCalculationNeededImmediately = false;
514
- return;
515
- }
516
- const containerStart = this._getStartEnd(containerRect);
517
- const labelChildren = labelEl.children;
518
- const labelStart = this._getStartEnd(labelChildren[0].getBoundingClientRect());
519
- let labelWidth = 0;
520
- for (let i = 0; i < labelChildren.length; i++) {
521
- labelWidth += labelChildren[i].offsetWidth;
522
- }
523
- startWidth = Math.abs(labelStart - containerStart) - outlineGapPadding;
524
- gapWidth = labelWidth > 0 ? labelWidth * floatingLabelScale + outlineGapPadding * 2 : 0;
525
- }
526
- for (let i = 0; i < startEls.length; i++) {
527
- startEls[i].style.width = `${startWidth}px`;
528
- }
529
- for (let i = 0; i < gapEls.length; i++) {
530
- gapEls[i].style.width = `${gapWidth}px`;
531
- }
532
- this._outlineGapCalculationNeededOnStable = this._outlineGapCalculationNeededImmediately =
533
- false;
534
- }
535
- /** Gets the start end of the rect considering the current directionality. */
536
- _getStartEnd(rect) {
537
- return this._dir && this._dir.value === 'rtl' ? rect.right : rect.left;
538
- }
539
- /** Checks whether the form field is attached to the DOM. */
540
- _isAttachedToDOM() {
541
- const element = this._elementRef.nativeElement;
542
- if (element.getRootNode) {
543
- const rootNode = element.getRootNode();
544
- // If the element is inside the DOM the root node will be either the document
545
- // or the closest shadow root, otherwise it'll be the element itself.
546
- return rootNode && rootNode !== element;
547
- }
548
- // Otherwise fall back to checking if it's in the document. This doesn't account for
549
- // shadow DOM, however browser that support shadow DOM should support `getRootNode` as well.
550
- return document.documentElement.contains(element);
551
- }
552
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyFormField, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.Directionality, optional: true }, { token: MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS, optional: true }, { token: i2.Platform }, { token: i0.NgZone }, { token: ANIMATION_MODULE_TYPE, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
553
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyFormField, selector: "mat-form-field", inputs: { color: "color", appearance: "appearance", hideRequiredMarker: "hideRequiredMarker", hintLabel: "hintLabel", floatLabel: "floatLabel" }, host: { attributes: { "ngSkipHydration": "" }, properties: { "class.mat-form-field-appearance-standard": "appearance == \"standard\"", "class.mat-form-field-appearance-fill": "appearance == \"fill\"", "class.mat-form-field-appearance-outline": "appearance == \"outline\"", "class.mat-form-field-appearance-legacy": "appearance == \"legacy\"", "class.mat-form-field-invalid": "_control.errorState", "class.mat-form-field-can-float": "_canLabelFloat()", "class.mat-form-field-should-float": "_shouldLabelFloat()", "class.mat-form-field-has-label": "_hasFloatingLabel()", "class.mat-form-field-hide-placeholder": "_hideControlPlaceholder()", "class.mat-form-field-disabled": "_control.disabled", "class.mat-form-field-autofilled": "_control.autofilled", "class.mat-focused": "_control.focused", "class.ng-untouched": "_shouldForward(\"untouched\")", "class.ng-touched": "_shouldForward(\"touched\")", "class.ng-pristine": "_shouldForward(\"pristine\")", "class.ng-dirty": "_shouldForward(\"dirty\")", "class.ng-valid": "_shouldForward(\"valid\")", "class.ng-invalid": "_shouldForward(\"invalid\")", "class.ng-pending": "_shouldForward(\"pending\")", "class._mat-animation-noopable": "!_animationsEnabled" }, classAttribute: "mat-form-field" }, providers: [{ provide: MAT_FORM_FIELD, useExisting: MatLegacyFormField }], queries: [{ propertyName: "_controlNonStatic", first: true, predicate: MatFormFieldControl, descendants: true }, { propertyName: "_controlStatic", first: true, predicate: MatFormFieldControl, descendants: true, static: true }, { propertyName: "_labelChildNonStatic", first: true, predicate: MatLegacyLabel, descendants: true }, { propertyName: "_labelChildStatic", first: true, predicate: MatLegacyLabel, descendants: true, static: true }, { propertyName: "_placeholderChild", first: true, predicate: MatLegacyPlaceholder, descendants: true }, { propertyName: "_errorChildren", predicate: MAT_ERROR, descendants: true }, { propertyName: "_hintChildren", predicate: _MAT_LEGACY_HINT, descendants: true }, { propertyName: "_prefixChildren", predicate: MAT_PREFIX, descendants: true }, { propertyName: "_suffixChildren", predicate: MAT_SUFFIX, descendants: true }], viewQueries: [{ propertyName: "_connectionContainerRef", first: true, predicate: ["connectionContainer"], descendants: true, static: true }, { propertyName: "_inputContainerRef", first: true, predicate: ["inputContainer"], descendants: true }, { propertyName: "_label", first: true, predicate: ["label"], descendants: true }], exportAs: ["matFormField"], usesInheritance: true, ngImport: i0, template: "<div class=\"mat-form-field-wrapper\">\n <div class=\"mat-form-field-flex\" #connectionContainer\n (click)=\"_control.onContainerClick($event)\">\n\n <!-- Outline used for outline appearance. -->\n <ng-container *ngIf=\"appearance == 'outline'\">\n <div class=\"mat-form-field-outline\">\n <div class=\"mat-form-field-outline-start\"></div>\n <div class=\"mat-form-field-outline-gap\"></div>\n <div class=\"mat-form-field-outline-end\"></div>\n </div>\n <div class=\"mat-form-field-outline mat-form-field-outline-thick\">\n <div class=\"mat-form-field-outline-start\"></div>\n <div class=\"mat-form-field-outline-gap\"></div>\n <div class=\"mat-form-field-outline-end\"></div>\n </div>\n </ng-container>\n\n <div\n class=\"mat-form-field-prefix\"\n *ngIf=\"_prefixChildren.length\"\n (cdkObserveContent)=\"updateOutlineGap()\"\n [cdkObserveContentDisabled]=\"appearance != 'outline'\">\n <ng-content select=\"[matPrefix]\"></ng-content>\n </div>\n\n <div class=\"mat-form-field-infix\" #inputContainer>\n <ng-content></ng-content>\n\n <span class=\"mat-form-field-label-wrapper\">\n <!-- We add aria-owns as a workaround for an issue in JAWS & NVDA where the label isn't\n read if it comes before the control in the DOM. -->\n <label class=\"mat-form-field-label\"\n (cdkObserveContent)=\"updateOutlineGap()\"\n [cdkObserveContentDisabled]=\"appearance != 'outline'\"\n [id]=\"_labelId\"\n [attr.for]=\"_control.id\"\n [attr.aria-owns]=\"_control.id\"\n [class.mat-empty]=\"_control.empty && !_shouldAlwaysFloat()\"\n [class.mat-form-field-empty]=\"_control.empty && !_shouldAlwaysFloat()\"\n [class.mat-accent]=\"color == 'accent'\"\n [class.mat-warn]=\"color == 'warn'\"\n #label\n *ngIf=\"_hasFloatingLabel()\"\n [ngSwitch]=\"_hasLabel()\">\n\n <!-- @breaking-change 8.0.0 remove in favor of mat-label element an placeholder attr. -->\n <ng-container *ngSwitchCase=\"false\">\n <ng-content select=\"mat-placeholder\"></ng-content>\n <span>{{_control.placeholder}}</span>\n </ng-container>\n\n <ng-content select=\"mat-label\" *ngSwitchCase=\"true\"></ng-content>\n\n <!-- @breaking-change 8.0.0 remove `mat-placeholder-required` class -->\n <span\n class=\"mat-placeholder-required mat-form-field-required-marker\"\n aria-hidden=\"true\"\n *ngIf=\"!hideRequiredMarker && _control.required && !_control.disabled\">&#32;*</span>\n </label>\n </span>\n </div>\n\n <div class=\"mat-form-field-suffix\" *ngIf=\"_suffixChildren.length\">\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </div>\n\n <!-- Underline used for legacy, standard, and box appearances. -->\n <div class=\"mat-form-field-underline\"\n *ngIf=\"appearance != 'outline'\">\n <span class=\"mat-form-field-ripple\"\n [class.mat-accent]=\"color == 'accent'\"\n [class.mat-warn]=\"color == 'warn'\"></span>\n </div>\n\n <div class=\"mat-form-field-subscript-wrapper\"\n [ngSwitch]=\"_getDisplayedMessages()\">\n <div *ngSwitchCase=\"'error'\" [@transitionMessages]=\"_subscriptAnimationState\">\n <ng-content select=\"mat-error\"></ng-content>\n </div>\n\n <div class=\"mat-form-field-hint-wrapper\" *ngSwitchCase=\"'hint'\"\n [@transitionMessages]=\"_subscriptAnimationState\">\n <!-- TODO(mmalerba): use an actual <mat-hint> once all selectors are switched to mat-* -->\n <div *ngIf=\"hintLabel\" [id]=\"_hintLabelId\" class=\"mat-hint\">{{hintLabel}}</div>\n <ng-content select=\"mat-hint:not([align='end'])\"></ng-content>\n <div class=\"mat-form-field-hint-spacer\"></div>\n <ng-content select=\"mat-hint[align='end']\"></ng-content>\n </div>\n </div>\n</div>\n", styles: [".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}", ".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:\"\";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}", ".mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:\" \";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:\"\";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}", ".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}", ".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}", ".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i4.CdkObserveContent, selector: "[cdkObserveContent]", inputs: ["cdkObserveContentDisabled", "debounce"], outputs: ["cdkObserveContent"], exportAs: ["cdkObserveContent"] }], animations: [matFormFieldAnimations.transitionMessages], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
554
- }
555
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyFormField, decorators: [{
556
- type: Component,
557
- args: [{ selector: 'mat-form-field', exportAs: 'matFormField', animations: [matFormFieldAnimations.transitionMessages], host: {
558
- 'class': 'mat-form-field',
559
- '[class.mat-form-field-appearance-standard]': 'appearance == "standard"',
560
- '[class.mat-form-field-appearance-fill]': 'appearance == "fill"',
561
- '[class.mat-form-field-appearance-outline]': 'appearance == "outline"',
562
- '[class.mat-form-field-appearance-legacy]': 'appearance == "legacy"',
563
- '[class.mat-form-field-invalid]': '_control.errorState',
564
- '[class.mat-form-field-can-float]': '_canLabelFloat()',
565
- '[class.mat-form-field-should-float]': '_shouldLabelFloat()',
566
- '[class.mat-form-field-has-label]': '_hasFloatingLabel()',
567
- '[class.mat-form-field-hide-placeholder]': '_hideControlPlaceholder()',
568
- '[class.mat-form-field-disabled]': '_control.disabled',
569
- '[class.mat-form-field-autofilled]': '_control.autofilled',
570
- '[class.mat-focused]': '_control.focused',
571
- '[class.ng-untouched]': '_shouldForward("untouched")',
572
- '[class.ng-touched]': '_shouldForward("touched")',
573
- '[class.ng-pristine]': '_shouldForward("pristine")',
574
- '[class.ng-dirty]': '_shouldForward("dirty")',
575
- '[class.ng-valid]': '_shouldForward("valid")',
576
- '[class.ng-invalid]': '_shouldForward("invalid")',
577
- '[class.ng-pending]': '_shouldForward("pending")',
578
- '[class._mat-animation-noopable]': '!_animationsEnabled',
579
- 'ngSkipHydration': '',
580
- }, inputs: ['color'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: MAT_FORM_FIELD, useExisting: MatLegacyFormField }], template: "<div class=\"mat-form-field-wrapper\">\n <div class=\"mat-form-field-flex\" #connectionContainer\n (click)=\"_control.onContainerClick($event)\">\n\n <!-- Outline used for outline appearance. -->\n <ng-container *ngIf=\"appearance == 'outline'\">\n <div class=\"mat-form-field-outline\">\n <div class=\"mat-form-field-outline-start\"></div>\n <div class=\"mat-form-field-outline-gap\"></div>\n <div class=\"mat-form-field-outline-end\"></div>\n </div>\n <div class=\"mat-form-field-outline mat-form-field-outline-thick\">\n <div class=\"mat-form-field-outline-start\"></div>\n <div class=\"mat-form-field-outline-gap\"></div>\n <div class=\"mat-form-field-outline-end\"></div>\n </div>\n </ng-container>\n\n <div\n class=\"mat-form-field-prefix\"\n *ngIf=\"_prefixChildren.length\"\n (cdkObserveContent)=\"updateOutlineGap()\"\n [cdkObserveContentDisabled]=\"appearance != 'outline'\">\n <ng-content select=\"[matPrefix]\"></ng-content>\n </div>\n\n <div class=\"mat-form-field-infix\" #inputContainer>\n <ng-content></ng-content>\n\n <span class=\"mat-form-field-label-wrapper\">\n <!-- We add aria-owns as a workaround for an issue in JAWS & NVDA where the label isn't\n read if it comes before the control in the DOM. -->\n <label class=\"mat-form-field-label\"\n (cdkObserveContent)=\"updateOutlineGap()\"\n [cdkObserveContentDisabled]=\"appearance != 'outline'\"\n [id]=\"_labelId\"\n [attr.for]=\"_control.id\"\n [attr.aria-owns]=\"_control.id\"\n [class.mat-empty]=\"_control.empty && !_shouldAlwaysFloat()\"\n [class.mat-form-field-empty]=\"_control.empty && !_shouldAlwaysFloat()\"\n [class.mat-accent]=\"color == 'accent'\"\n [class.mat-warn]=\"color == 'warn'\"\n #label\n *ngIf=\"_hasFloatingLabel()\"\n [ngSwitch]=\"_hasLabel()\">\n\n <!-- @breaking-change 8.0.0 remove in favor of mat-label element an placeholder attr. -->\n <ng-container *ngSwitchCase=\"false\">\n <ng-content select=\"mat-placeholder\"></ng-content>\n <span>{{_control.placeholder}}</span>\n </ng-container>\n\n <ng-content select=\"mat-label\" *ngSwitchCase=\"true\"></ng-content>\n\n <!-- @breaking-change 8.0.0 remove `mat-placeholder-required` class -->\n <span\n class=\"mat-placeholder-required mat-form-field-required-marker\"\n aria-hidden=\"true\"\n *ngIf=\"!hideRequiredMarker && _control.required && !_control.disabled\">&#32;*</span>\n </label>\n </span>\n </div>\n\n <div class=\"mat-form-field-suffix\" *ngIf=\"_suffixChildren.length\">\n <ng-content select=\"[matSuffix]\"></ng-content>\n </div>\n </div>\n\n <!-- Underline used for legacy, standard, and box appearances. -->\n <div class=\"mat-form-field-underline\"\n *ngIf=\"appearance != 'outline'\">\n <span class=\"mat-form-field-ripple\"\n [class.mat-accent]=\"color == 'accent'\"\n [class.mat-warn]=\"color == 'warn'\"></span>\n </div>\n\n <div class=\"mat-form-field-subscript-wrapper\"\n [ngSwitch]=\"_getDisplayedMessages()\">\n <div *ngSwitchCase=\"'error'\" [@transitionMessages]=\"_subscriptAnimationState\">\n <ng-content select=\"mat-error\"></ng-content>\n </div>\n\n <div class=\"mat-form-field-hint-wrapper\" *ngSwitchCase=\"'hint'\"\n [@transitionMessages]=\"_subscriptAnimationState\">\n <!-- TODO(mmalerba): use an actual <mat-hint> once all selectors are switched to mat-* -->\n <div *ngIf=\"hintLabel\" [id]=\"_hintLabelId\" class=\"mat-hint\">{{hintLabel}}</div>\n <ng-content select=\"mat-hint:not([align='end'])\"></ng-content>\n <div class=\"mat-form-field-hint-spacer\"></div>\n <ng-content select=\"mat-hint[align='end']\"></ng-content>\n </div>\n </div>\n</div>\n", styles: [".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.cdk-high-contrast-active .mat-form-field-disabled .mat-form-field-label{color:GrayText}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}.mat-form-field .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-button-base,.mat-form-field .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-button-base{width:40px;height:40px;padding:8px 0}.mat-form-field .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{font-size:1em;display:inline-block;margin:-2px 0 1px}.mat-form-field-type-mat-date-range-input .mat-form-field-infix{width:200px}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button{font-size:inherit;width:1.5em;height:1.5em;padding:0}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle .mat-mdc-icon-button .mat-icon{line-height:1.5em;margin:0}.mat-form-field .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-datepicker-toggle .mat-mdc-button-base{vertical-align:baseline}", ".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-form-field-flex{outline:dashed 3px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:\"\";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}", ".mat-input-element{font:inherit;background:rgba(0,0,0,0);color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element:not([type=password])::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:\" \";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{opacity:0}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,0) !important;-webkit-text-fill-color:rgba(0,0,0,0);transition:none}.cdk-high-contrast-active .mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{opacity:0}._mat-animation-noopable .mat-input-element::placeholder{transition:none}._mat-animation-noopable .mat-input-element::-moz-placeholder{transition:none}._mat-animation-noopable .mat-input-element::-webkit-input-placeholder{transition:none}._mat-animation-noopable .mat-input-element:-ms-input-placeholder{transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:\"\";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}", ".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px)}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px;border-top-color:GrayText}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}", ".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:rgba(0,0,0,0)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{border:3px dashed}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.cdk-high-contrast-active .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:GrayText}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}", ".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"] }]
581
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.Directionality, decorators: [{
582
- type: Optional
583
- }] }, { type: undefined, decorators: [{
584
- type: Optional
585
- }, {
586
- type: Inject,
587
- args: [MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS]
588
- }] }, { type: i2.Platform }, { type: i0.NgZone }, { type: undefined, decorators: [{
589
- type: Optional
590
- }, {
591
- type: Inject,
592
- args: [ANIMATION_MODULE_TYPE]
593
- }] }]; }, propDecorators: { appearance: [{
594
- type: Input
595
- }], hideRequiredMarker: [{
596
- type: Input
597
- }], hintLabel: [{
598
- type: Input
599
- }], floatLabel: [{
600
- type: Input
601
- }], _connectionContainerRef: [{
602
- type: ViewChild,
603
- args: ['connectionContainer', { static: true }]
604
- }], _inputContainerRef: [{
605
- type: ViewChild,
606
- args: ['inputContainer']
607
- }], _label: [{
608
- type: ViewChild,
609
- args: ['label']
610
- }], _controlNonStatic: [{
611
- type: ContentChild,
612
- args: [MatFormFieldControl]
613
- }], _controlStatic: [{
614
- type: ContentChild,
615
- args: [MatFormFieldControl, { static: true }]
616
- }], _labelChildNonStatic: [{
617
- type: ContentChild,
618
- args: [MatLegacyLabel]
619
- }], _labelChildStatic: [{
620
- type: ContentChild,
621
- args: [MatLegacyLabel, { static: true }]
622
- }], _placeholderChild: [{
623
- type: ContentChild,
624
- args: [MatLegacyPlaceholder]
625
- }], _errorChildren: [{
626
- type: ContentChildren,
627
- args: [MAT_ERROR, { descendants: true }]
628
- }], _hintChildren: [{
629
- type: ContentChildren,
630
- args: [_MAT_LEGACY_HINT, { descendants: true }]
631
- }], _prefixChildren: [{
632
- type: ContentChildren,
633
- args: [MAT_PREFIX, { descendants: true }]
634
- }], _suffixChildren: [{
635
- type: ContentChildren,
636
- args: [MAT_SUFFIX, { descendants: true }]
637
- }] } });
638
-
639
- /**
640
- * Prefix to be placed in front of the form field.
641
- * @deprecated Use `MatPrefix` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
642
- * @breaking-change 17.0.0
643
- */
644
- class MatLegacyPrefix {
645
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyPrefix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
646
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacyPrefix, selector: "[matPrefix]", providers: [{ provide: MAT_PREFIX, useExisting: MatLegacyPrefix }], ngImport: i0 }); }
647
- }
648
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyPrefix, decorators: [{
649
- type: Directive,
650
- args: [{
651
- selector: '[matPrefix]',
652
- providers: [{ provide: MAT_PREFIX, useExisting: MatLegacyPrefix }],
653
- }]
654
- }] });
655
-
656
- /**
657
- * Suffix to be placed at the end of the form field.
658
- * @deprecated Use `MatSuffix` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
659
- * @breaking-change 17.0.0
660
- */
661
- class MatLegacySuffix {
662
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacySuffix, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
663
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: MatLegacySuffix, selector: "[matSuffix]", providers: [{ provide: MAT_SUFFIX, useExisting: MatLegacySuffix }], ngImport: i0 }); }
664
- }
665
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacySuffix, decorators: [{
666
- type: Directive,
667
- args: [{
668
- selector: '[matSuffix]',
669
- providers: [{ provide: MAT_SUFFIX, useExisting: MatLegacySuffix }],
670
- }]
671
- }] });
672
-
673
- /**
674
- * @deprecated Use `MatFormFieldModule` from `@angular/material/form-field` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
675
- * @breaking-change 17.0.0
676
- */
677
- class MatLegacyFormFieldModule {
678
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyFormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
679
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyFormFieldModule, declarations: [MatLegacyError,
680
- MatLegacyFormField,
681
- MatLegacyHint,
682
- MatLegacyLabel,
683
- MatLegacyPlaceholder,
684
- MatLegacyPrefix,
685
- MatLegacySuffix], imports: [CommonModule, MatCommonModule, ObserversModule], exports: [MatCommonModule,
686
- MatLegacyError,
687
- MatLegacyFormField,
688
- MatLegacyHint,
689
- MatLegacyLabel,
690
- MatLegacyPlaceholder,
691
- MatLegacyPrefix,
692
- MatLegacySuffix] }); }
693
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyFormFieldModule, imports: [CommonModule, MatCommonModule, ObserversModule, MatCommonModule] }); }
694
- }
695
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MatLegacyFormFieldModule, decorators: [{
696
- type: NgModule,
697
- args: [{
698
- declarations: [
699
- MatLegacyError,
700
- MatLegacyFormField,
701
- MatLegacyHint,
702
- MatLegacyLabel,
703
- MatLegacyPlaceholder,
704
- MatLegacyPrefix,
705
- MatLegacySuffix,
706
- ],
707
- imports: [CommonModule, MatCommonModule, ObserversModule],
708
- exports: [
709
- MatCommonModule,
710
- MatLegacyError,
711
- MatLegacyFormField,
712
- MatLegacyHint,
713
- MatLegacyLabel,
714
- MatLegacyPlaceholder,
715
- MatLegacyPrefix,
716
- MatLegacySuffix,
717
- ],
718
- }]
719
- }] });
720
-
721
- /**
722
- * Generated bundle index. Do not edit.
723
- */
724
-
725
- export { MAT_LEGACY_FORM_FIELD_DEFAULT_OPTIONS, MatLegacyError, MatLegacyFormField, MatLegacyFormFieldModule, MatLegacyHint, MatLegacyLabel, MatLegacyPlaceholder, MatLegacyPrefix, MatLegacySuffix, _MAT_LEGACY_HINT };
726
- //# sourceMappingURL=legacy-form-field.mjs.map