@angular/material 19.0.0-next.0 → 19.0.0-next.10

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 (836) hide show
  1. package/_index.scss +7 -7
  2. package/autocomplete/_autocomplete-theme.scss +37 -24
  3. package/autocomplete/index.d.ts +5 -15
  4. package/badge/_badge-theme.scss +38 -24
  5. package/badge/index.d.ts +3 -7
  6. package/bottom-sheet/_bottom-sheet-theme.scss +32 -20
  7. package/bottom-sheet/index.d.ts +5 -15
  8. package/button/_button-base.scss +2 -4
  9. package/button/_button-theme.scss +229 -105
  10. package/button/_fab-theme.scss +95 -44
  11. package/button/_icon-button-theme.scss +38 -25
  12. package/button/index.d.ts +24 -36
  13. package/button-toggle/_button-toggle-theme.scss +62 -37
  14. package/button-toggle/index.d.ts +5 -8
  15. package/card/_card-theme.scss +79 -38
  16. package/card/index.d.ts +2 -2
  17. package/checkbox/_checkbox-common.scss +9 -9
  18. package/checkbox/_checkbox-theme.scss +16 -10
  19. package/checkbox/index.d.ts +16 -14
  20. package/chips/_chips-theme.scss +64 -30
  21. package/chips/index.d.ts +19 -35
  22. package/core/_core-theme.scss +59 -55
  23. package/core/_core.scss +23 -12
  24. package/core/focus-indicators/_private.scss +21 -82
  25. package/core/index.d.ts +116 -200
  26. package/core/option/_optgroup-theme.scss +29 -18
  27. package/core/option/_option-theme.scss +34 -21
  28. package/core/ripple/_ripple-theme.scss +33 -21
  29. package/core/ripple/_ripple.scss +1 -1
  30. package/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss +54 -27
  31. package/core/style/_elevation.scss +1 -1
  32. package/core/style/_list-common.scss +2 -2
  33. package/core/style/_menu-common.scss +2 -1
  34. package/core/style/_sass-utils.scss +4 -0
  35. package/core/theming/_all-theme.scss +3 -0
  36. package/core/theming/_config-validation.scss +4 -4
  37. package/core/theming/_definition.scss +12 -2
  38. package/core/theming/_palettes.scss +132 -45
  39. package/core/tokens/_density.scss +1 -0
  40. package/core/tokens/_m3-system.scss +281 -0
  41. package/core/tokens/_m3-tokens.scss +8 -149
  42. package/core/tokens/_token-utils.scss +104 -46
  43. package/core/tokens/m2/_index.scss +2 -0
  44. package/core/tokens/m2/mat/_badge.scss +12 -3
  45. package/core/tokens/m2/mat/_datepicker.scss +1 -1
  46. package/core/tokens/m2/mat/_timepicker.scss +44 -0
  47. package/core/tokens/m2/mdc/_radio.scss +1 -1
  48. package/core/tokens/m3/_index.scss +2 -0
  49. package/core/tokens/m3/definitions/_md-comp-elevated-card.scss +1 -1
  50. package/core/tokens/m3/definitions/_md-sys-color.scss +6 -6
  51. package/core/tokens/m3/mat/_badge.scss +3 -0
  52. package/core/tokens/m3/mat/_datepicker.scss +2 -2
  53. package/core/tokens/m3/mat/_sidenav.scss +0 -1
  54. package/core/tokens/m3/mat/_timepicker.scss +22 -0
  55. package/core/typography/_all-typography.scss +2 -0
  56. package/datepicker/_datepicker-theme.scss +53 -32
  57. package/datepicker/index.d.ts +45 -71
  58. package/dialog/_dialog-theme.scss +46 -23
  59. package/dialog/index.d.ts +17 -38
  60. package/dialog/testing/index.d.ts +1 -1
  61. package/divider/_divider-theme.scss +28 -17
  62. package/expansion/_expansion-theme.scss +36 -24
  63. package/expansion/index.d.ts +9 -13
  64. package/fesm2022/autocomplete/testing.mjs.map +1 -1
  65. package/fesm2022/autocomplete.mjs +43 -75
  66. package/fesm2022/autocomplete.mjs.map +1 -1
  67. package/fesm2022/badge/testing.mjs.map +1 -1
  68. package/fesm2022/badge.mjs +25 -45
  69. package/fesm2022/badge.mjs.map +1 -1
  70. package/fesm2022/bottom-sheet/testing.mjs.map +1 -1
  71. package/fesm2022/bottom-sheet.mjs +26 -41
  72. package/fesm2022/bottom-sheet.mjs.map +1 -1
  73. package/fesm2022/button/testing.mjs.map +1 -1
  74. package/fesm2022/button-toggle/testing.mjs.map +1 -1
  75. package/fesm2022/button-toggle.mjs +30 -45
  76. package/fesm2022/button-toggle.mjs.map +1 -1
  77. package/fesm2022/button.mjs +79 -157
  78. package/fesm2022/button.mjs.map +1 -1
  79. package/fesm2022/card/testing.mjs.map +1 -1
  80. package/fesm2022/card.mjs +53 -68
  81. package/fesm2022/card.mjs.map +1 -1
  82. package/fesm2022/checkbox/testing.mjs.map +1 -1
  83. package/fesm2022/checkbox.mjs +41 -44
  84. package/fesm2022/checkbox.mjs.map +1 -1
  85. package/fesm2022/chips/testing.mjs.map +1 -1
  86. package/fesm2022/chips.mjs +131 -184
  87. package/fesm2022/chips.mjs.map +1 -1
  88. package/fesm2022/core/testing.mjs.map +1 -1
  89. package/fesm2022/core.mjs +370 -411
  90. package/fesm2022/core.mjs.map +1 -1
  91. package/fesm2022/datepicker/testing.mjs.map +1 -1
  92. package/fesm2022/datepicker.mjs +208 -349
  93. package/fesm2022/datepicker.mjs.map +1 -1
  94. package/fesm2022/dialog/testing.mjs +3 -4
  95. package/fesm2022/dialog/testing.mjs.map +1 -1
  96. package/fesm2022/dialog.mjs +51 -114
  97. package/fesm2022/dialog.mjs.map +1 -1
  98. package/fesm2022/divider/testing.mjs.map +1 -1
  99. package/fesm2022/divider.mjs +8 -8
  100. package/fesm2022/divider.mjs.map +1 -1
  101. package/fesm2022/expansion/testing.mjs.map +1 -1
  102. package/fesm2022/expansion.mjs +60 -98
  103. package/fesm2022/expansion.mjs.map +1 -1
  104. package/fesm2022/form-field/testing/control.mjs.map +1 -1
  105. package/fesm2022/form-field/testing.mjs.map +1 -1
  106. package/fesm2022/form-field.mjs +91 -102
  107. package/fesm2022/form-field.mjs.map +1 -1
  108. package/fesm2022/grid-list/testing.mjs.map +1 -1
  109. package/fesm2022/grid-list.mjs +39 -49
  110. package/fesm2022/grid-list.mjs.map +1 -1
  111. package/fesm2022/icon/testing.mjs +7 -7
  112. package/fesm2022/icon/testing.mjs.map +1 -1
  113. package/fesm2022/icon.mjs +24 -34
  114. package/fesm2022/icon.mjs.map +1 -1
  115. package/fesm2022/input/testing.mjs +7 -1
  116. package/fesm2022/input/testing.mjs.map +1 -1
  117. package/fesm2022/input.mjs +99 -66
  118. package/fesm2022/input.mjs.map +1 -1
  119. package/fesm2022/list/testing.mjs.map +1 -1
  120. package/fesm2022/list.mjs +112 -158
  121. package/fesm2022/list.mjs.map +1 -1
  122. package/fesm2022/material.mjs.map +1 -1
  123. package/fesm2022/menu/testing.mjs.map +1 -1
  124. package/fesm2022/menu.mjs +69 -118
  125. package/fesm2022/menu.mjs.map +1 -1
  126. package/fesm2022/paginator/testing.mjs +2 -2
  127. package/fesm2022/paginator/testing.mjs.map +1 -1
  128. package/fesm2022/paginator.mjs +11 -11
  129. package/fesm2022/paginator.mjs.map +1 -1
  130. package/fesm2022/progress-bar/testing.mjs.map +1 -1
  131. package/fesm2022/progress-bar.mjs +19 -26
  132. package/fesm2022/progress-bar.mjs.map +1 -1
  133. package/fesm2022/progress-spinner/testing.mjs.map +1 -1
  134. package/fesm2022/progress-spinner.mjs +15 -21
  135. package/fesm2022/progress-spinner.mjs.map +1 -1
  136. package/fesm2022/radio/testing.mjs.map +1 -1
  137. package/fesm2022/radio.mjs +33 -45
  138. package/fesm2022/radio.mjs.map +1 -1
  139. package/fesm2022/select/testing.mjs.map +1 -1
  140. package/fesm2022/select.mjs +39 -72
  141. package/fesm2022/select.mjs.map +1 -1
  142. package/fesm2022/sidenav/testing.mjs.map +1 -1
  143. package/fesm2022/sidenav.mjs +72 -94
  144. package/fesm2022/sidenav.mjs.map +1 -1
  145. package/fesm2022/slide-toggle/testing.mjs.map +1 -1
  146. package/fesm2022/slide-toggle.mjs +31 -38
  147. package/fesm2022/slide-toggle.mjs.map +1 -1
  148. package/fesm2022/slider/testing.mjs.map +1 -1
  149. package/fesm2022/slider.mjs +66 -74
  150. package/fesm2022/slider.mjs.map +1 -1
  151. package/fesm2022/snack-bar/testing.mjs.map +1 -1
  152. package/fesm2022/snack-bar.mjs +52 -68
  153. package/fesm2022/snack-bar.mjs.map +1 -1
  154. package/fesm2022/sort/testing.mjs.map +1 -1
  155. package/fesm2022/sort.mjs +34 -52
  156. package/fesm2022/sort.mjs.map +1 -1
  157. package/fesm2022/stepper/testing.mjs.map +1 -1
  158. package/fesm2022/stepper.mjs +63 -77
  159. package/fesm2022/stepper.mjs.map +1 -1
  160. package/fesm2022/table/testing.mjs.map +1 -1
  161. package/fesm2022/table.mjs +59 -75
  162. package/fesm2022/table.mjs.map +1 -1
  163. package/fesm2022/tabs/testing.mjs.map +1 -1
  164. package/fesm2022/tabs.mjs +140 -199
  165. package/fesm2022/tabs.mjs.map +1 -1
  166. package/fesm2022/timepicker/testing.mjs +196 -0
  167. package/fesm2022/timepicker/testing.mjs.map +1 -0
  168. package/fesm2022/timepicker.mjs +842 -0
  169. package/fesm2022/timepicker.mjs.map +1 -0
  170. package/fesm2022/toolbar/testing.mjs.map +1 -1
  171. package/fesm2022/toolbar.mjs +18 -23
  172. package/fesm2022/toolbar.mjs.map +1 -1
  173. package/fesm2022/tooltip/testing.mjs.map +1 -1
  174. package/fesm2022/tooltip.mjs +69 -75
  175. package/fesm2022/tooltip.mjs.map +1 -1
  176. package/fesm2022/tree/testing.mjs.map +1 -1
  177. package/fesm2022/tree.mjs +36 -69
  178. package/fesm2022/tree.mjs.map +1 -1
  179. package/form-field/_form-field-high-contrast.scss +4 -4
  180. package/form-field/_form-field-theme.scss +114 -61
  181. package/form-field/_mdc-text-field-structure.scss +57 -49
  182. package/form-field/index.d.ts +13 -25
  183. package/grid-list/_grid-list-theme.scss +25 -15
  184. package/grid-list/index.d.ts +6 -8
  185. package/icon/_icon-theme.scss +22 -14
  186. package/icon/index.d.ts +3 -3
  187. package/input/_input-theme.scss +18 -11
  188. package/input/index.d.ts +24 -9
  189. package/list/_list-inherited-structure.scss +1 -13
  190. package/list/_list-item-hcm-indicator.scss +1 -1
  191. package/list/_list-theme.scss +89 -47
  192. package/list/index.d.ts +10 -14
  193. package/menu/_menu-theme.scss +33 -21
  194. package/menu/index.d.ts +15 -50
  195. package/package.json +10 -146
  196. package/paginator/_paginator-theme.scss +39 -23
  197. package/prebuilt-themes/azure-blue.css +1 -1
  198. package/prebuilt-themes/cyan-orange.css +1 -1
  199. package/prebuilt-themes/deeppurple-amber.css +1 -1
  200. package/prebuilt-themes/indigo-pink.css +1 -1
  201. package/prebuilt-themes/magenta-violet.css +1 -1
  202. package/prebuilt-themes/pink-bluegrey.css +1 -1
  203. package/prebuilt-themes/purple-green.css +1 -1
  204. package/prebuilt-themes/rose-red.css +1 -1
  205. package/progress-bar/_progress-bar-theme.scss +20 -16
  206. package/progress-bar/index.d.ts +3 -5
  207. package/progress-spinner/_progress-spinner-theme.scss +41 -25
  208. package/progress-spinner/index.d.ts +2 -2
  209. package/radio/_radio-theme.scss +60 -32
  210. package/radio/index.d.ts +5 -8
  211. package/schematics/collection.json +3 -3
  212. package/schematics/ng-add/fonts/material-fonts.d.ts +1 -1
  213. package/schematics/ng-add/fonts/material-fonts.js +2 -2
  214. package/schematics/ng-add/fonts/material-fonts.mjs +2 -2
  215. package/schematics/ng-add/index.d.ts +1 -1
  216. package/schematics/ng-add/index.js +3 -3
  217. package/schematics/ng-add/index.mjs +3 -3
  218. package/schematics/ng-add/package-config.d.ts +1 -1
  219. package/schematics/ng-add/package-config.js +2 -2
  220. package/schematics/ng-add/package-config.mjs +2 -2
  221. package/schematics/ng-add/schema.d.ts +1 -1
  222. package/schematics/ng-add/schema.js +2 -2
  223. package/schematics/ng-add/schema.mjs +2 -2
  224. package/schematics/ng-add/setup-project.d.ts +1 -1
  225. package/schematics/ng-add/setup-project.js +3 -3
  226. package/schematics/ng-add/setup-project.mjs +3 -3
  227. package/schematics/ng-add/theming/create-custom-theme.d.ts +1 -1
  228. package/schematics/ng-add/theming/create-custom-theme.js +2 -7
  229. package/schematics/ng-add/theming/create-custom-theme.mjs +2 -7
  230. package/schematics/ng-add/theming/theming.d.ts +1 -1
  231. package/schematics/ng-add/theming/theming.js +2 -2
  232. package/schematics/ng-add/theming/theming.mjs +2 -2
  233. package/schematics/ng-generate/address-form/index.d.ts +1 -1
  234. package/schematics/ng-generate/address-form/index.js +2 -2
  235. package/schematics/ng-generate/address-form/index.mjs +2 -2
  236. package/schematics/ng-generate/address-form/schema.d.ts +1 -1
  237. package/schematics/ng-generate/address-form/schema.js +2 -2
  238. package/schematics/ng-generate/address-form/schema.mjs +2 -2
  239. package/schematics/ng-generate/dashboard/index.d.ts +1 -1
  240. package/schematics/ng-generate/dashboard/index.js +2 -2
  241. package/schematics/ng-generate/dashboard/index.mjs +2 -2
  242. package/schematics/ng-generate/dashboard/schema.d.ts +1 -1
  243. package/schematics/ng-generate/dashboard/schema.js +2 -2
  244. package/schematics/ng-generate/dashboard/schema.mjs +2 -2
  245. package/schematics/ng-generate/navigation/index.d.ts +1 -1
  246. package/schematics/ng-generate/navigation/index.js +2 -2
  247. package/schematics/ng-generate/navigation/index.mjs +2 -2
  248. package/schematics/ng-generate/navigation/schema.d.ts +1 -1
  249. package/schematics/ng-generate/navigation/schema.js +2 -2
  250. package/schematics/ng-generate/navigation/schema.mjs +2 -2
  251. package/schematics/ng-generate/table/index.d.ts +1 -1
  252. package/schematics/ng-generate/table/index.js +2 -2
  253. package/schematics/ng-generate/table/index.mjs +2 -2
  254. package/schematics/ng-generate/table/schema.d.ts +1 -1
  255. package/schematics/ng-generate/table/schema.js +2 -2
  256. package/schematics/ng-generate/table/schema.mjs +2 -2
  257. package/schematics/ng-generate/{m3-theme → theme-color}/index_bundled.js +481 -289
  258. package/schematics/ng-generate/theme-color/index_bundled.js.map +7 -0
  259. package/schematics/ng-generate/{m3-theme → theme-color}/schema.json +7 -13
  260. package/schematics/ng-generate/tree/index.d.ts +1 -1
  261. package/schematics/ng-generate/tree/index.js +2 -2
  262. package/schematics/ng-generate/tree/index.mjs +2 -2
  263. package/schematics/ng-generate/tree/schema.d.ts +1 -1
  264. package/schematics/ng-generate/tree/schema.js +2 -2
  265. package/schematics/ng-generate/tree/schema.mjs +2 -2
  266. package/schematics/ng-update/index_bundled.js +6545 -29
  267. package/schematics/ng-update/index_bundled.js.map +4 -4
  268. package/select/_select-theme.scss +38 -25
  269. package/select/index.d.ts +5 -15
  270. package/sidenav/_sidenav-theme.scss +28 -17
  271. package/sidenav/index.d.ts +7 -17
  272. package/slide-toggle/_slide-toggle-theme.scss +61 -35
  273. package/slide-toggle/index.d.ts +2 -2
  274. package/slider/_slider-theme.scss +62 -38
  275. package/slider/index.d.ts +8 -8
  276. package/snack-bar/_snack-bar-theme.scss +29 -17
  277. package/snack-bar/index.d.ts +6 -22
  278. package/sort/_sort-theme.scss +33 -21
  279. package/sort/index.d.ts +4 -20
  280. package/stepper/_stepper-theme.scss +40 -27
  281. package/stepper/index.d.ts +6 -13
  282. package/table/_table-theme.scss +36 -23
  283. package/tabs/_tabs-common.scss +13 -11
  284. package/tabs/_tabs-theme.scss +97 -50
  285. package/tabs/index.d.ts +28 -35
  286. package/timepicker/_timepicker-theme.scss +124 -0
  287. package/timepicker/index.d.ts +297 -0
  288. package/timepicker/testing/index.d.ts +113 -0
  289. package/toolbar/_toolbar-theme.scss +35 -22
  290. package/toolbar/index.d.ts +3 -4
  291. package/tooltip/_tooltip-theme.scss +18 -15
  292. package/tooltip/index.d.ts +5 -12
  293. package/tree/_tree-theme.scss +33 -21
  294. package/tree/index.d.ts +5 -18
  295. package/core/focus-indicators/_focus-indicators-theme.scss +0 -11
  296. package/core/focus-indicators/_focus-indicators.scss +0 -6
  297. package/esm2022/autocomplete/animations.mjs +0 -24
  298. package/esm2022/autocomplete/autocomplete-origin.mjs +0 -31
  299. package/esm2022/autocomplete/autocomplete-trigger.mjs +0 -902
  300. package/esm2022/autocomplete/autocomplete.mjs +0 -238
  301. package/esm2022/autocomplete/autocomplete_public_index.mjs +0 -5
  302. package/esm2022/autocomplete/index.mjs +0 -9
  303. package/esm2022/autocomplete/module.mjs +0 -61
  304. package/esm2022/autocomplete/public-api.mjs +0 -14
  305. package/esm2022/autocomplete/testing/autocomplete-harness-filters.mjs +0 -9
  306. package/esm2022/autocomplete/testing/autocomplete-harness.mjs +0 -105
  307. package/esm2022/autocomplete/testing/index.mjs +0 -9
  308. package/esm2022/autocomplete/testing/public-api.mjs +0 -10
  309. package/esm2022/badge/badge-module.mjs +0 -27
  310. package/esm2022/badge/badge.mjs +0 -301
  311. package/esm2022/badge/badge_public_index.mjs +0 -5
  312. package/esm2022/badge/index.mjs +0 -9
  313. package/esm2022/badge/public-api.mjs +0 -10
  314. package/esm2022/badge/testing/badge-harness-filters.mjs +0 -9
  315. package/esm2022/badge/testing/badge-harness.mjs +0 -71
  316. package/esm2022/badge/testing/index.mjs +0 -9
  317. package/esm2022/badge/testing/public-api.mjs +0 -10
  318. package/esm2022/bottom-sheet/bottom-sheet-animations.mjs +0 -26
  319. package/esm2022/bottom-sheet/bottom-sheet-config.mjs +0 -48
  320. package/esm2022/bottom-sheet/bottom-sheet-container.mjs +0 -85
  321. package/esm2022/bottom-sheet/bottom-sheet-module.mjs +0 -28
  322. package/esm2022/bottom-sheet/bottom-sheet-ref.mjs +0 -104
  323. package/esm2022/bottom-sheet/bottom-sheet.mjs +0 -115
  324. package/esm2022/bottom-sheet/bottom-sheet_public_index.mjs +0 -5
  325. package/esm2022/bottom-sheet/index.mjs +0 -9
  326. package/esm2022/bottom-sheet/public-api.mjs +0 -14
  327. package/esm2022/bottom-sheet/testing/bottom-sheet-harness-filters.mjs +0 -9
  328. package/esm2022/bottom-sheet/testing/bottom-sheet-harness.mjs +0 -35
  329. package/esm2022/bottom-sheet/testing/index.mjs +0 -9
  330. package/esm2022/bottom-sheet/testing/public-api.mjs +0 -10
  331. package/esm2022/button/button-base.mjs +0 -230
  332. package/esm2022/button/button.mjs +0 -67
  333. package/esm2022/button/button_public_index.mjs +0 -5
  334. package/esm2022/button/fab.mjs +0 -166
  335. package/esm2022/button/icon-button.mjs +0 -56
  336. package/esm2022/button/index.mjs +0 -9
  337. package/esm2022/button/module.mjs +0 -65
  338. package/esm2022/button/public-api.mjs +0 -13
  339. package/esm2022/button/testing/button-harness-filters.mjs +0 -9
  340. package/esm2022/button/testing/button-harness.mjs +0 -80
  341. package/esm2022/button/testing/index.mjs +0 -9
  342. package/esm2022/button/testing/public-api.mjs +0 -10
  343. package/esm2022/button-toggle/button-toggle-module.mjs +0 -24
  344. package/esm2022/button-toggle/button-toggle.mjs +0 -651
  345. package/esm2022/button-toggle/button-toggle_public_index.mjs +0 -5
  346. package/esm2022/button-toggle/index.mjs +0 -9
  347. package/esm2022/button-toggle/public-api.mjs +0 -10
  348. package/esm2022/button-toggle/testing/button-toggle-group-harness-filters.mjs +0 -9
  349. package/esm2022/button-toggle/testing/button-toggle-group-harness.mjs +0 -47
  350. package/esm2022/button-toggle/testing/button-toggle-harness-filters.mjs +0 -9
  351. package/esm2022/button-toggle/testing/button-toggle-harness.mjs +0 -105
  352. package/esm2022/button-toggle/testing/index.mjs +0 -9
  353. package/esm2022/button-toggle/testing/public-api.mjs +0 -12
  354. package/esm2022/card/card.mjs +0 -273
  355. package/esm2022/card/card_public_index.mjs +0 -5
  356. package/esm2022/card/index.mjs +0 -9
  357. package/esm2022/card/module.mjs +0 -67
  358. package/esm2022/card/public-api.mjs +0 -10
  359. package/esm2022/card/testing/card-harness-filters.mjs +0 -9
  360. package/esm2022/card/testing/card-harness.mjs +0 -50
  361. package/esm2022/card/testing/index.mjs +0 -9
  362. package/esm2022/card/testing/public-api.mjs +0 -10
  363. package/esm2022/checkbox/checkbox-config.mjs +0 -22
  364. package/esm2022/checkbox/checkbox-required-validator.mjs +0 -41
  365. package/esm2022/checkbox/checkbox.mjs +0 -443
  366. package/esm2022/checkbox/checkbox_public_index.mjs +0 -5
  367. package/esm2022/checkbox/index.mjs +0 -9
  368. package/esm2022/checkbox/module.mjs +0 -41
  369. package/esm2022/checkbox/public-api.mjs +0 -12
  370. package/esm2022/checkbox/testing/checkbox-harness-filters.mjs +0 -9
  371. package/esm2022/checkbox/testing/checkbox-harness.mjs +0 -138
  372. package/esm2022/checkbox/testing/index.mjs +0 -9
  373. package/esm2022/checkbox/testing/public-api.mjs +0 -9
  374. package/esm2022/chips/chip-action.mjs +0 -113
  375. package/esm2022/chips/chip-edit-input.mjs +0 -61
  376. package/esm2022/chips/chip-grid.mjs +0 -420
  377. package/esm2022/chips/chip-icons.mjs +0 -107
  378. package/esm2022/chips/chip-input.mjs +0 -192
  379. package/esm2022/chips/chip-listbox.mjs +0 -369
  380. package/esm2022/chips/chip-option.mjs +0 -190
  381. package/esm2022/chips/chip-row.mjs +0 -173
  382. package/esm2022/chips/chip-set.mjs +0 -283
  383. package/esm2022/chips/chip-text-control.mjs +0 -9
  384. package/esm2022/chips/chip.mjs +0 -322
  385. package/esm2022/chips/chips_public_index.mjs +0 -5
  386. package/esm2022/chips/index.mjs +0 -9
  387. package/esm2022/chips/module.mjs +0 -85
  388. package/esm2022/chips/public-api.mjs +0 -20
  389. package/esm2022/chips/testing/chip-avatar-harness.mjs +0 -22
  390. package/esm2022/chips/testing/chip-edit-input-harness.mjs +0 -33
  391. package/esm2022/chips/testing/chip-grid-harness.mjs +0 -45
  392. package/esm2022/chips/testing/chip-harness-filters.mjs +0 -9
  393. package/esm2022/chips/testing/chip-harness.mjs +0 -62
  394. package/esm2022/chips/testing/chip-input-harness.mjs +0 -85
  395. package/esm2022/chips/testing/chip-listbox-harness.mjs +0 -61
  396. package/esm2022/chips/testing/chip-option-harness.mjs +0 -45
  397. package/esm2022/chips/testing/chip-remove-harness.mjs +0 -26
  398. package/esm2022/chips/testing/chip-row-harness.mjs +0 -40
  399. package/esm2022/chips/testing/chip-set-harness.mjs +0 -26
  400. package/esm2022/chips/testing/index.mjs +0 -9
  401. package/esm2022/chips/testing/public-api.mjs +0 -19
  402. package/esm2022/chips/tokens.mjs +0 -39
  403. package/esm2022/core/animation/animation.mjs +0 -21
  404. package/esm2022/core/common-behaviors/color.mjs +0 -33
  405. package/esm2022/core/common-behaviors/common-module.mjs +0 -127
  406. package/esm2022/core/common-behaviors/constructor.mjs +0 -9
  407. package/esm2022/core/common-behaviors/disable-ripple.mjs +0 -24
  408. package/esm2022/core/common-behaviors/disabled.mjs +0 -23
  409. package/esm2022/core/common-behaviors/error-state.mjs +0 -66
  410. package/esm2022/core/common-behaviors/index.mjs +0 -15
  411. package/esm2022/core/common-behaviors/initialized.mjs +0 -62
  412. package/esm2022/core/common-behaviors/tabindex.mjs +0 -25
  413. package/esm2022/core/core_public_index.mjs +0 -5
  414. package/esm2022/core/datetime/date-adapter.mjs +0 -109
  415. package/esm2022/core/datetime/date-formats.mjs +0 -10
  416. package/esm2022/core/datetime/index.mjs +0 -46
  417. package/esm2022/core/datetime/native-date-adapter.mjs +0 -221
  418. package/esm2022/core/datetime/native-date-formats.mjs +0 -19
  419. package/esm2022/core/error/error-options.mjs +0 -33
  420. package/esm2022/core/index.mjs +0 -9
  421. package/esm2022/core/internal-form-field/internal-form-field.mjs +0 -29
  422. package/esm2022/core/line/line.mjs +0 -64
  423. package/esm2022/core/option/index.mjs +0 -30
  424. package/esm2022/core/option/optgroup.mjs +0 -71
  425. package/esm2022/core/option/option-parent.mjs +0 -13
  426. package/esm2022/core/option/option.mjs +0 -283
  427. package/esm2022/core/private/index.mjs +0 -9
  428. package/esm2022/core/private/ripple-loader.mjs +0 -160
  429. package/esm2022/core/public-api.mjs +0 -19
  430. package/esm2022/core/ripple/index.mjs +0 -27
  431. package/esm2022/core/ripple/ripple-event-manager.mjs +0 -69
  432. package/esm2022/core/ripple/ripple-ref.mjs +0 -39
  433. package/esm2022/core/ripple/ripple-renderer.mjs +0 -354
  434. package/esm2022/core/ripple/ripple.mjs +0 -156
  435. package/esm2022/core/selection/index.mjs +0 -10
  436. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +0 -24
  437. package/esm2022/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +0 -62
  438. package/esm2022/core/testing/index.mjs +0 -9
  439. package/esm2022/core/testing/optgroup-harness-filters.mjs +0 -9
  440. package/esm2022/core/testing/optgroup-harness.mjs +0 -43
  441. package/esm2022/core/testing/option-harness-filters.mjs +0 -9
  442. package/esm2022/core/testing/option-harness.mjs +0 -53
  443. package/esm2022/core/testing/public-api.mjs +0 -12
  444. package/esm2022/core/version.mjs +0 -11
  445. package/esm2022/datepicker/aria-accessible-name.mjs +0 -159
  446. package/esm2022/datepicker/calendar-body.mjs +0 -509
  447. package/esm2022/datepicker/calendar.mjs +0 -426
  448. package/esm2022/datepicker/date-range-input-parts.mjs +0 -372
  449. package/esm2022/datepicker/date-range-input.mjs +0 -369
  450. package/esm2022/datepicker/date-range-picker.mjs +0 -51
  451. package/esm2022/datepicker/date-range-selection-strategy.mjs +0 -97
  452. package/esm2022/datepicker/date-selection-model.mjs +0 -188
  453. package/esm2022/datepicker/datepicker-actions.mjs +0 -91
  454. package/esm2022/datepicker/datepicker-animations.mjs +0 -35
  455. package/esm2022/datepicker/datepicker-base.mjs +0 -609
  456. package/esm2022/datepicker/datepicker-errors.mjs +0 -14
  457. package/esm2022/datepicker/datepicker-input-base.mjs +0 -311
  458. package/esm2022/datepicker/datepicker-input.mjs +0 -200
  459. package/esm2022/datepicker/datepicker-intl.mjs +0 -69
  460. package/esm2022/datepicker/datepicker-module.mjs +0 -138
  461. package/esm2022/datepicker/datepicker-toggle.mjs +0 -113
  462. package/esm2022/datepicker/datepicker.mjs +0 -38
  463. package/esm2022/datepicker/datepicker_public_index.mjs +0 -5
  464. package/esm2022/datepicker/index.mjs +0 -9
  465. package/esm2022/datepicker/month-view.mjs +0 -460
  466. package/esm2022/datepicker/multi-year-view.mjs +0 -330
  467. package/esm2022/datepicker/public-api.mjs +0 -27
  468. package/esm2022/datepicker/testing/calendar-cell-harness.mjs +0 -138
  469. package/esm2022/datepicker/testing/calendar-harness.mjs +0 -83
  470. package/esm2022/datepicker/testing/date-range-input-harness.mjs +0 -98
  471. package/esm2022/datepicker/testing/datepicker-harness-filters.mjs +0 -9
  472. package/esm2022/datepicker/testing/datepicker-input-harness-base.mjs +0 -81
  473. package/esm2022/datepicker/testing/datepicker-input-harness.mjs +0 -58
  474. package/esm2022/datepicker/testing/datepicker-toggle-harness.mjs +0 -41
  475. package/esm2022/datepicker/testing/datepicker-trigger-harness-base.mjs +0 -65
  476. package/esm2022/datepicker/testing/index.mjs +0 -9
  477. package/esm2022/datepicker/testing/public-api.mjs +0 -14
  478. package/esm2022/datepicker/year-view.mjs +0 -324
  479. package/esm2022/dialog/dialog-animations.mjs +0 -38
  480. package/esm2022/dialog/dialog-config.mjs +0 -59
  481. package/esm2022/dialog/dialog-container.mjs +0 -253
  482. package/esm2022/dialog/dialog-content-directives.mjs +0 -212
  483. package/esm2022/dialog/dialog-ref.mjs +0 -177
  484. package/esm2022/dialog/dialog.mjs +0 -212
  485. package/esm2022/dialog/dialog_public_index.mjs +0 -5
  486. package/esm2022/dialog/index.mjs +0 -9
  487. package/esm2022/dialog/module.mjs +0 -45
  488. package/esm2022/dialog/public-api.mjs +0 -15
  489. package/esm2022/dialog/testing/dialog-harness-filters.mjs +0 -9
  490. package/esm2022/dialog/testing/dialog-harness.mjs +0 -84
  491. package/esm2022/dialog/testing/dialog-opener.mjs +0 -58
  492. package/esm2022/dialog/testing/index.mjs +0 -10
  493. package/esm2022/dialog/testing/public-api.mjs +0 -10
  494. package/esm2022/divider/divider-module.mjs +0 -24
  495. package/esm2022/divider/divider.mjs +0 -48
  496. package/esm2022/divider/divider_public_index.mjs +0 -5
  497. package/esm2022/divider/index.mjs +0 -9
  498. package/esm2022/divider/public-api.mjs +0 -10
  499. package/esm2022/divider/testing/divider-harness-filters.mjs +0 -9
  500. package/esm2022/divider/testing/divider-harness.mjs +0 -22
  501. package/esm2022/divider/testing/index.mjs +0 -9
  502. package/esm2022/divider/testing/public-api.mjs +0 -10
  503. package/esm2022/expansion/accordion-base.mjs +0 -14
  504. package/esm2022/expansion/accordion.mjs +0 -96
  505. package/esm2022/expansion/expansion-animations.mjs +0 -51
  506. package/esm2022/expansion/expansion-module.mjs +0 -65
  507. package/esm2022/expansion/expansion-panel-base.mjs +0 -14
  508. package/esm2022/expansion/expansion-panel-content.mjs +0 -35
  509. package/esm2022/expansion/expansion-panel-header.mjs +0 -218
  510. package/esm2022/expansion/expansion-panel.mjs +0 -211
  511. package/esm2022/expansion/expansion_public_index.mjs +0 -5
  512. package/esm2022/expansion/index.mjs +0 -9
  513. package/esm2022/expansion/public-api.mjs +0 -16
  514. package/esm2022/expansion/testing/accordion-harness.mjs +0 -31
  515. package/esm2022/expansion/testing/expansion-harness-filters.mjs +0 -9
  516. package/esm2022/expansion/testing/expansion-harness.mjs +0 -128
  517. package/esm2022/expansion/testing/index.mjs +0 -9
  518. package/esm2022/expansion/testing/public-api.mjs +0 -11
  519. package/esm2022/form-field/directives/error.mjs +0 -48
  520. package/esm2022/form-field/directives/floating-label.mjs +0 -135
  521. package/esm2022/form-field/directives/hint.mjs +0 -40
  522. package/esm2022/form-field/directives/label.mjs +0 -22
  523. package/esm2022/form-field/directives/line-ripple.mjs +0 -60
  524. package/esm2022/form-field/directives/notched-outline.mjs +0 -66
  525. package/esm2022/form-field/directives/prefix.mjs +0 -38
  526. package/esm2022/form-field/directives/suffix.mjs +0 -38
  527. package/esm2022/form-field/form-field-animations.mjs +0 -24
  528. package/esm2022/form-field/form-field-control.mjs +0 -11
  529. package/esm2022/form-field/form-field-errors.mjs +0 -20
  530. package/esm2022/form-field/form-field.mjs +0 -620
  531. package/esm2022/form-field/form-field_public_index.mjs +0 -5
  532. package/esm2022/form-field/index.mjs +0 -9
  533. package/esm2022/form-field/module.mjs +0 -51
  534. package/esm2022/form-field/public-api.mjs +0 -18
  535. package/esm2022/form-field/testing/control/form-field-control-harness.mjs +0 -15
  536. package/esm2022/form-field/testing/control/index.mjs +0 -9
  537. package/esm2022/form-field/testing/error-harness.mjs +0 -29
  538. package/esm2022/form-field/testing/form-field-harness-filters.mjs +0 -9
  539. package/esm2022/form-field/testing/form-field-harness.mjs +0 -179
  540. package/esm2022/form-field/testing/index.mjs +0 -9
  541. package/esm2022/form-field/testing/public-api.mjs +0 -15
  542. package/esm2022/grid-list/grid-list-base.mjs +0 -14
  543. package/esm2022/grid-list/grid-list-module.mjs +0 -59
  544. package/esm2022/grid-list/grid-list.mjs +0 -146
  545. package/esm2022/grid-list/grid-list_public_index.mjs +0 -5
  546. package/esm2022/grid-list/grid-tile.mjs +0 -128
  547. package/esm2022/grid-list/index.mjs +0 -9
  548. package/esm2022/grid-list/public-api.mjs +0 -14
  549. package/esm2022/grid-list/testing/grid-list-harness-filters.mjs +0 -9
  550. package/esm2022/grid-list/testing/grid-list-harness.mjs +0 -76
  551. package/esm2022/grid-list/testing/grid-tile-harness.mjs +0 -71
  552. package/esm2022/grid-list/testing/index.mjs +0 -9
  553. package/esm2022/grid-list/testing/public-api.mjs +0 -11
  554. package/esm2022/grid-list/tile-coordinator.mjs +0 -145
  555. package/esm2022/grid-list/tile-styler.mjs +0 -231
  556. package/esm2022/icon/fake-svgs.mjs +0 -62
  557. package/esm2022/icon/icon-module.mjs +0 -24
  558. package/esm2022/icon/icon-registry.mjs +0 -593
  559. package/esm2022/icon/icon.mjs +0 -379
  560. package/esm2022/icon/icon_public_index.mjs +0 -5
  561. package/esm2022/icon/index.mjs +0 -9
  562. package/esm2022/icon/public-api.mjs +0 -11
  563. package/esm2022/icon/testing/fake-icon-registry.mjs +0 -92
  564. package/esm2022/icon/testing/icon-harness-filters.mjs +0 -14
  565. package/esm2022/icon/testing/icon-harness.mjs +0 -60
  566. package/esm2022/icon/testing/index.mjs +0 -9
  567. package/esm2022/icon/testing/public-api.mjs +0 -11
  568. package/esm2022/icon/testing/testing_public_index.mjs +0 -5
  569. package/esm2022/icon/trusted-types.mjs +0 -43
  570. package/esm2022/index.mjs +0 -14
  571. package/esm2022/input/index.mjs +0 -9
  572. package/esm2022/input/input-errors.mjs +0 -12
  573. package/esm2022/input/input-value-accessor.mjs +0 -16
  574. package/esm2022/input/input.mjs +0 -490
  575. package/esm2022/input/input_public_index.mjs +0 -5
  576. package/esm2022/input/module.mjs +0 -26
  577. package/esm2022/input/public-api.mjs +0 -14
  578. package/esm2022/input/testing/index.mjs +0 -9
  579. package/esm2022/input/testing/input-harness-filters.mjs +0 -9
  580. package/esm2022/input/testing/input-harness.mjs +0 -113
  581. package/esm2022/input/testing/native-option-harness.mjs +0 -42
  582. package/esm2022/input/testing/native-select-harness-filters.mjs +0 -9
  583. package/esm2022/input/testing/native-select-harness.mjs +0 -79
  584. package/esm2022/input/testing/public-api.mjs +0 -13
  585. package/esm2022/list/action-list.mjs +0 -31
  586. package/esm2022/list/index.mjs +0 -9
  587. package/esm2022/list/list-base.mjs +0 -284
  588. package/esm2022/list/list-item-sections.mjs +0 -144
  589. package/esm2022/list/list-module.mjs +0 -97
  590. package/esm2022/list/list-option-types.mjs +0 -16
  591. package/esm2022/list/list-option.mjs +0 -295
  592. package/esm2022/list/list.mjs +0 -103
  593. package/esm2022/list/list_public_index.mjs +0 -5
  594. package/esm2022/list/nav-list.mjs +0 -37
  595. package/esm2022/list/public-api.mjs +0 -18
  596. package/esm2022/list/selection-list.mjs +0 -391
  597. package/esm2022/list/subheader.mjs +0 -28
  598. package/esm2022/list/testing/action-list-harness.mjs +0 -59
  599. package/esm2022/list/testing/index.mjs +0 -9
  600. package/esm2022/list/testing/list-harness-base.mjs +0 -95
  601. package/esm2022/list/testing/list-harness-filters.mjs +0 -9
  602. package/esm2022/list/testing/list-harness.mjs +0 -41
  603. package/esm2022/list/testing/list-item-harness-base.mjs +0 -162
  604. package/esm2022/list/testing/nav-list-harness.mjs +0 -69
  605. package/esm2022/list/testing/public-api.mjs +0 -14
  606. package/esm2022/list/testing/selection-list-harness.mjs +0 -122
  607. package/esm2022/list/tokens.mjs +0 -11
  608. package/esm2022/menu/index.mjs +0 -9
  609. package/esm2022/menu/menu-animations.mjs +0 -61
  610. package/esm2022/menu/menu-content.mjs +0 -87
  611. package/esm2022/menu/menu-errors.mjs +0 -35
  612. package/esm2022/menu/menu-item.mjs +0 -148
  613. package/esm2022/menu/menu-panel.mjs +0 -14
  614. package/esm2022/menu/menu-positions.mjs +0 -9
  615. package/esm2022/menu/menu-trigger.mjs +0 -542
  616. package/esm2022/menu/menu.mjs +0 -405
  617. package/esm2022/menu/menu_public_index.mjs +0 -5
  618. package/esm2022/menu/module.mjs +0 -63
  619. package/esm2022/menu/public-api.mjs +0 -16
  620. package/esm2022/menu/testing/index.mjs +0 -9
  621. package/esm2022/menu/testing/menu-harness-filters.mjs +0 -9
  622. package/esm2022/menu/testing/menu-harness.mjs +0 -166
  623. package/esm2022/menu/testing/public-api.mjs +0 -10
  624. package/esm2022/paginator/index.mjs +0 -9
  625. package/esm2022/paginator/module.mjs +0 -28
  626. package/esm2022/paginator/paginator-intl.mjs +0 -62
  627. package/esm2022/paginator/paginator.mjs +0 -266
  628. package/esm2022/paginator/paginator_public_index.mjs +0 -5
  629. package/esm2022/paginator/public-api.mjs +0 -11
  630. package/esm2022/paginator/testing/index.mjs +0 -9
  631. package/esm2022/paginator/testing/paginator-harness-filters.mjs +0 -9
  632. package/esm2022/paginator/testing/paginator-harness.mjs +0 -98
  633. package/esm2022/paginator/testing/public-api.mjs +0 -10
  634. package/esm2022/progress-bar/index.mjs +0 -9
  635. package/esm2022/progress-bar/module.mjs +0 -24
  636. package/esm2022/progress-bar/progress-bar.mjs +0 -181
  637. package/esm2022/progress-bar/progress-bar_public_index.mjs +0 -5
  638. package/esm2022/progress-bar/public-api.mjs +0 -10
  639. package/esm2022/progress-bar/testing/index.mjs +0 -9
  640. package/esm2022/progress-bar/testing/progress-bar-harness-filters.mjs +0 -9
  641. package/esm2022/progress-bar/testing/progress-bar-harness.mjs +0 -33
  642. package/esm2022/progress-bar/testing/public-api.mjs +0 -10
  643. package/esm2022/progress-bar/testing/testing_public_index.mjs +0 -5
  644. package/esm2022/progress-spinner/index.mjs +0 -9
  645. package/esm2022/progress-spinner/module.mjs +0 -25
  646. package/esm2022/progress-spinner/progress-spinner.mjs +0 -166
  647. package/esm2022/progress-spinner/progress-spinner_public_index.mjs +0 -5
  648. package/esm2022/progress-spinner/public-api.mjs +0 -10
  649. package/esm2022/progress-spinner/testing/index.mjs +0 -9
  650. package/esm2022/progress-spinner/testing/progress-spinner-harness-filters.mjs +0 -9
  651. package/esm2022/progress-spinner/testing/progress-spinner-harness.mjs +0 -35
  652. package/esm2022/progress-spinner/testing/public-api.mjs +0 -10
  653. package/esm2022/progress-spinner/testing/testing_public_index.mjs +0 -5
  654. package/esm2022/radio/index.mjs +0 -9
  655. package/esm2022/radio/module.mjs +0 -25
  656. package/esm2022/radio/public-api.mjs +0 -10
  657. package/esm2022/radio/radio.mjs +0 -680
  658. package/esm2022/radio/radio_public_index.mjs +0 -5
  659. package/esm2022/radio/testing/index.mjs +0 -9
  660. package/esm2022/radio/testing/public-api.mjs +0 -10
  661. package/esm2022/radio/testing/radio-harness-filters.mjs +0 -9
  662. package/esm2022/radio/testing/radio-harness.mjs +0 -228
  663. package/esm2022/select/index.mjs +0 -9
  664. package/esm2022/select/module.mjs +0 -59
  665. package/esm2022/select/public-api.mjs +0 -15
  666. package/esm2022/select/select-animations.mjs +0 -38
  667. package/esm2022/select/select-errors.mjs +0 -35
  668. package/esm2022/select/select.mjs +0 -1160
  669. package/esm2022/select/select_public_index.mjs +0 -5
  670. package/esm2022/select/testing/index.mjs +0 -9
  671. package/esm2022/select/testing/public-api.mjs +0 -10
  672. package/esm2022/select/testing/select-harness-filters.mjs +0 -9
  673. package/esm2022/select/testing/select-harness.mjs +0 -129
  674. package/esm2022/sidenav/drawer-animations.mjs +0 -33
  675. package/esm2022/sidenav/drawer.mjs +0 -863
  676. package/esm2022/sidenav/index.mjs +0 -9
  677. package/esm2022/sidenav/public-api.mjs +0 -12
  678. package/esm2022/sidenav/sidenav-module.mjs +0 -60
  679. package/esm2022/sidenav/sidenav.mjs +0 -148
  680. package/esm2022/sidenav/sidenav_public_index.mjs +0 -5
  681. package/esm2022/sidenav/testing/drawer-container-harness.mjs +0 -36
  682. package/esm2022/sidenav/testing/drawer-content-harness.mjs +0 -23
  683. package/esm2022/sidenav/testing/drawer-harness-filters.mjs +0 -9
  684. package/esm2022/sidenav/testing/drawer-harness.mjs +0 -49
  685. package/esm2022/sidenav/testing/index.mjs +0 -9
  686. package/esm2022/sidenav/testing/public-api.mjs +0 -15
  687. package/esm2022/sidenav/testing/sidenav-container-harness.mjs +0 -36
  688. package/esm2022/sidenav/testing/sidenav-content-harness.mjs +0 -23
  689. package/esm2022/sidenav/testing/sidenav-harness.mjs +0 -28
  690. package/esm2022/slide-toggle/index.mjs +0 -9
  691. package/esm2022/slide-toggle/module.mjs +0 -41
  692. package/esm2022/slide-toggle/public-api.mjs +0 -12
  693. package/esm2022/slide-toggle/slide-toggle-config.mjs +0 -14
  694. package/esm2022/slide-toggle/slide-toggle-required-validator.mjs +0 -44
  695. package/esm2022/slide-toggle/slide-toggle.mjs +0 -273
  696. package/esm2022/slide-toggle/slide-toggle_public_index.mjs +0 -5
  697. package/esm2022/slide-toggle/testing/index.mjs +0 -9
  698. package/esm2022/slide-toggle/testing/public-api.mjs +0 -10
  699. package/esm2022/slide-toggle/testing/slide-toggle-harness-filters.mjs +0 -9
  700. package/esm2022/slide-toggle/testing/slide-toggle-harness.mjs +0 -110
  701. package/esm2022/slider/index.mjs +0 -9
  702. package/esm2022/slider/module.mjs +0 -39
  703. package/esm2022/slider/public-api.mjs +0 -13
  704. package/esm2022/slider/slider-input.mjs +0 -701
  705. package/esm2022/slider/slider-interface.mjs +0 -56
  706. package/esm2022/slider/slider-thumb.mjs +0 -231
  707. package/esm2022/slider/slider.mjs +0 -746
  708. package/esm2022/slider/slider_public_index.mjs +0 -5
  709. package/esm2022/slider/testing/index.mjs +0 -9
  710. package/esm2022/slider/testing/public-api.mjs +0 -11
  711. package/esm2022/slider/testing/slider-harness-filters.mjs +0 -7
  712. package/esm2022/slider/testing/slider-harness.mjs +0 -67
  713. package/esm2022/slider/testing/slider-thumb-harness.mjs +0 -95
  714. package/esm2022/snack-bar/index.mjs +0 -9
  715. package/esm2022/snack-bar/module.mjs +0 -47
  716. package/esm2022/snack-bar/public-api.mjs +0 -16
  717. package/esm2022/snack-bar/simple-snack-bar.mjs +0 -40
  718. package/esm2022/snack-bar/snack-bar-animations.mjs +0 -30
  719. package/esm2022/snack-bar/snack-bar-config.mjs +0 -33
  720. package/esm2022/snack-bar/snack-bar-container.mjs +0 -277
  721. package/esm2022/snack-bar/snack-bar-content.mjs +0 -55
  722. package/esm2022/snack-bar/snack-bar-ref.mjs +0 -89
  723. package/esm2022/snack-bar/snack-bar.mjs +0 -267
  724. package/esm2022/snack-bar/snack-bar_public_index.mjs +0 -5
  725. package/esm2022/snack-bar/testing/index.mjs +0 -9
  726. package/esm2022/snack-bar/testing/public-api.mjs +0 -10
  727. package/esm2022/snack-bar/testing/snack-bar-harness-filters.mjs +0 -9
  728. package/esm2022/snack-bar/testing/snack-bar-harness.mjs +0 -101
  729. package/esm2022/sort/index.mjs +0 -9
  730. package/esm2022/sort/public-api.mjs +0 -14
  731. package/esm2022/sort/sort-animations.mjs +0 -69
  732. package/esm2022/sort/sort-direction.mjs +0 -9
  733. package/esm2022/sort/sort-errors.mjs +0 -24
  734. package/esm2022/sort/sort-header-intl.mjs +0 -41
  735. package/esm2022/sort/sort-header.mjs +0 -317
  736. package/esm2022/sort/sort-module.mjs +0 -27
  737. package/esm2022/sort/sort.mjs +0 -155
  738. package/esm2022/sort/sort_public_index.mjs +0 -5
  739. package/esm2022/sort/testing/index.mjs +0 -9
  740. package/esm2022/sort/testing/public-api.mjs +0 -11
  741. package/esm2022/sort/testing/sort-harness-filters.mjs +0 -2
  742. package/esm2022/sort/testing/sort-harness.mjs +0 -36
  743. package/esm2022/sort/testing/sort-header-harness.mjs +0 -56
  744. package/esm2022/stepper/index.mjs +0 -9
  745. package/esm2022/stepper/public-api.mjs +0 -17
  746. package/esm2022/stepper/step-content.mjs +0 -27
  747. package/esm2022/stepper/step-header.mjs +0 -105
  748. package/esm2022/stepper/step-label.mjs +0 -22
  749. package/esm2022/stepper/stepper-animations.mjs +0 -47
  750. package/esm2022/stepper/stepper-button.mjs +0 -43
  751. package/esm2022/stepper/stepper-icon.mjs +0 -30
  752. package/esm2022/stepper/stepper-intl.mjs +0 -43
  753. package/esm2022/stepper/stepper-module.mjs +0 -88
  754. package/esm2022/stepper/stepper.mjs +0 -205
  755. package/esm2022/stepper/stepper_public_index.mjs +0 -5
  756. package/esm2022/stepper/testing/index.mjs +0 -9
  757. package/esm2022/stepper/testing/public-api.mjs +0 -12
  758. package/esm2022/stepper/testing/step-harness-filters.mjs +0 -7
  759. package/esm2022/stepper/testing/step-harness.mjs +0 -90
  760. package/esm2022/stepper/testing/stepper-button-harnesses.mjs +0 -48
  761. package/esm2022/stepper/testing/stepper-harness.mjs +0 -51
  762. package/esm2022/table/cell.mjs +0 -147
  763. package/esm2022/table/index.mjs +0 -9
  764. package/esm2022/table/module.mjs +0 -93
  765. package/esm2022/table/public-api.mjs +0 -14
  766. package/esm2022/table/row.mjs +0 -163
  767. package/esm2022/table/table-data-source.mjs +0 -317
  768. package/esm2022/table/table.mjs +0 -122
  769. package/esm2022/table/table_public_index.mjs +0 -5
  770. package/esm2022/table/testing/cell-harness.mjs +0 -77
  771. package/esm2022/table/testing/index.mjs +0 -9
  772. package/esm2022/table/testing/public-api.mjs +0 -12
  773. package/esm2022/table/testing/row-harness.mjs +0 -84
  774. package/esm2022/table/testing/table-harness-filters.mjs +0 -2
  775. package/esm2022/table/testing/table-harness.mjs +0 -86
  776. package/esm2022/table/text-column.mjs +0 -60
  777. package/esm2022/tabs/index.mjs +0 -9
  778. package/esm2022/tabs/ink-bar.mjs +0 -149
  779. package/esm2022/tabs/module.mjs +0 -60
  780. package/esm2022/tabs/paginated-tab-header.mjs +0 -539
  781. package/esm2022/tabs/public-api.mjs +0 -21
  782. package/esm2022/tabs/tab-body.mjs +0 -199
  783. package/esm2022/tabs/tab-config.mjs +0 -11
  784. package/esm2022/tabs/tab-content.mjs +0 -32
  785. package/esm2022/tabs/tab-group.mjs +0 -469
  786. package/esm2022/tabs/tab-header.mjs +0 -86
  787. package/esm2022/tabs/tab-label-wrapper.mjs +0 -49
  788. package/esm2022/tabs/tab-label.mjs +0 -44
  789. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +0 -388
  790. package/esm2022/tabs/tab.mjs +0 -128
  791. package/esm2022/tabs/tabs-animations.mjs +0 -45
  792. package/esm2022/tabs/tabs_public_index.mjs +0 -5
  793. package/esm2022/tabs/testing/index.mjs +0 -9
  794. package/esm2022/tabs/testing/public-api.mjs +0 -13
  795. package/esm2022/tabs/testing/tab-group-harness.mjs +0 -56
  796. package/esm2022/tabs/testing/tab-harness-filters.mjs +0 -2
  797. package/esm2022/tabs/testing/tab-harness.mjs +0 -66
  798. package/esm2022/tabs/testing/tab-link-harness.mjs +0 -40
  799. package/esm2022/tabs/testing/tab-nav-bar-harness.mjs +0 -66
  800. package/esm2022/tabs/testing/tab-nav-panel-harness.mjs +0 -27
  801. package/esm2022/toolbar/index.mjs +0 -9
  802. package/esm2022/toolbar/public-api.mjs +0 -10
  803. package/esm2022/toolbar/testing/index.mjs +0 -9
  804. package/esm2022/toolbar/testing/public-api.mjs +0 -10
  805. package/esm2022/toolbar/testing/toolbar-harness-filters.mjs +0 -9
  806. package/esm2022/toolbar/testing/toolbar-harness.mjs +0 -44
  807. package/esm2022/toolbar/toolbar-module.mjs +0 -24
  808. package/esm2022/toolbar/toolbar.mjs +0 -84
  809. package/esm2022/toolbar/toolbar_public_index.mjs +0 -5
  810. package/esm2022/tooltip/index.mjs +0 -9
  811. package/esm2022/tooltip/module.mjs +0 -29
  812. package/esm2022/tooltip/public-api.mjs +0 -11
  813. package/esm2022/tooltip/testing/index.mjs +0 -9
  814. package/esm2022/tooltip/testing/public-api.mjs +0 -10
  815. package/esm2022/tooltip/testing/tooltip-harness-filters.mjs +0 -9
  816. package/esm2022/tooltip/testing/tooltip-harness.mjs +0 -66
  817. package/esm2022/tooltip/tooltip-animations.mjs +0 -24
  818. package/esm2022/tooltip/tooltip.mjs +0 -920
  819. package/esm2022/tooltip/tooltip_public_index.mjs +0 -5
  820. package/esm2022/tree/data-source/flat-data-source.mjs +0 -156
  821. package/esm2022/tree/data-source/nested-data-source.mjs +0 -38
  822. package/esm2022/tree/index.mjs +0 -9
  823. package/esm2022/tree/node.mjs +0 -220
  824. package/esm2022/tree/outlet.mjs +0 -46
  825. package/esm2022/tree/padding.mjs +0 -46
  826. package/esm2022/tree/public-api.mjs +0 -16
  827. package/esm2022/tree/testing/index.mjs +0 -9
  828. package/esm2022/tree/testing/node-harness.mjs +0 -73
  829. package/esm2022/tree/testing/public-api.mjs +0 -11
  830. package/esm2022/tree/testing/tree-harness-filters.mjs +0 -9
  831. package/esm2022/tree/testing/tree-harness.mjs +0 -123
  832. package/esm2022/tree/toggle.mjs +0 -27
  833. package/esm2022/tree/tree-module.mjs +0 -50
  834. package/esm2022/tree/tree.mjs +0 -34
  835. package/esm2022/tree/tree_public_index.mjs +0 -5
  836. package/schematics/ng-generate/m3-theme/index_bundled.js.map +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/input/testing/input-harness.ts","../../../../../../../src/material/input/testing/native-option-harness.ts","../../../../../../../src/material/input/testing/native-select-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatFormFieldControlHarness} from '@angular/material/form-field/testing/control';\nimport {InputHarnessFilters} from './input-harness-filters';\n\n/** Harness for interacting with a standard Material inputs in tests. */\nexport class MatInputHarness extends MatFormFieldControlHarness {\n // TODO: We do not want to handle `select` elements with `matNativeControl` because\n // not all methods of this harness work reasonably for native select elements.\n // For more details. See: https://github.com/angular/components/pull/18221.\n static hostSelector = '[matInput], input[matNativeControl], textarea[matNativeControl]';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatInputHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: InputHarnessFilters = {}): HarnessPredicate<MatInputHarness> {\n return new HarnessPredicate(MatInputHarness, options)\n .addOption('value', options.value, (harness, value) => {\n return HarnessPredicate.stringMatches(harness.getValue(), value);\n })\n .addOption('placeholder', options.placeholder, (harness, placeholder) => {\n return HarnessPredicate.stringMatches(harness.getPlaceholder(), placeholder);\n });\n }\n\n /** Whether the input is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('disabled');\n }\n\n /** Whether the input is required. */\n async isRequired(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('required');\n }\n\n /** Whether the input is readonly. */\n async isReadonly(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('readOnly');\n }\n\n /** Gets the value of the input. */\n async getValue(): Promise<string> {\n // The \"value\" property of the native input is never undefined.\n return await (await this.host()).getProperty<string>('value');\n }\n\n /** Gets the name of the input. */\n async getName(): Promise<string> {\n // The \"name\" property of the native input is never undefined.\n return await (await this.host()).getProperty<string>('name');\n }\n\n /**\n * Gets the type of the input. Returns \"textarea\" if the input is\n * a textarea.\n */\n async getType(): Promise<string> {\n // The \"type\" property of the native input is never undefined.\n return await (await this.host()).getProperty<string>('type');\n }\n\n /** Gets the placeholder of the input. */\n async getPlaceholder(): Promise<string> {\n const host = await this.host();\n const [nativePlaceholder, fallback] = await parallel(() => [\n host.getProperty('placeholder'),\n host.getAttribute('data-placeholder'),\n ]);\n return nativePlaceholder || fallback || '';\n }\n\n /** Gets the id of the input. */\n async getId(): Promise<string> {\n // The input directive always assigns a unique id to the input in\n // case no id has been explicitly specified.\n return await (await this.host()).getProperty<string>('id');\n }\n\n /**\n * Focuses the input and returns a promise that indicates when the\n * action is complete.\n */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /**\n * Blurs the input and returns a promise that indicates when the\n * action is complete.\n */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /**\n * Sets the value of the input. The value will be set by simulating\n * keypresses that correspond to the given value.\n */\n async setValue(newValue: string): Promise<void> {\n const inputEl = await this.host();\n await inputEl.clear();\n // We don't want to send keys for the value if the value is an empty\n // string in order to clear the value. Sending keys with an empty string\n // still results in unnecessary focus events.\n if (newValue) {\n await inputEl.sendKeys(newValue);\n }\n\n // Some input types won't respond to key presses (e.g. `color`) so to be sure that the\n // value is set, we also set the property after the keyboard sequence. Note that we don't\n // want to do it before, because it can cause the value to be entered twice.\n await inputEl.setInputValue(newValue);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {NativeOptionHarnessFilters} from './native-select-harness-filters';\n\n/** Harness for interacting with a native `option` in tests. */\nexport class MatNativeOptionHarness extends ComponentHarness {\n /** Selector used to locate option instances. */\n static hostSelector = 'select[matNativeControl] option';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatNativeOptionHarness` that meets\n * certain criteria.\n * @param options Options for filtering which option instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: NativeOptionHarnessFilters = {}) {\n return new HarnessPredicate(MatNativeOptionHarness, options)\n .addOption('text', options.text, async (harness, title) =>\n HarnessPredicate.stringMatches(await harness.getText(), title),\n )\n .addOption(\n 'index',\n options.index,\n async (harness, index) => (await harness.getIndex()) === index,\n )\n .addOption(\n 'isSelected',\n options.isSelected,\n async (harness, isSelected) => (await harness.isSelected()) === isSelected,\n );\n }\n\n /** Gets the option's label text. */\n async getText(): Promise<string> {\n return (await this.host()).getProperty<string>('label');\n }\n\n /** Index of the option within the native `select` element. */\n async getIndex(): Promise<number> {\n return (await this.host()).getProperty<number>('index');\n }\n\n /** Gets whether the option is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('disabled');\n }\n\n /** Gets whether the option is selected. */\n async isSelected(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('selected');\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatFormFieldControlHarness} from '@angular/material/form-field/testing/control';\nimport {MatNativeOptionHarness} from './native-option-harness';\nimport {\n NativeOptionHarnessFilters,\n NativeSelectHarnessFilters,\n} from './native-select-harness-filters';\n\n/** Harness for interacting with a native `select` in tests. */\nexport class MatNativeSelectHarness extends MatFormFieldControlHarness {\n static hostSelector = 'select[matNativeControl]';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatNativeSelectHarness` that meets\n * certain criteria.\n * @param options Options for filtering which select instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: NativeSelectHarnessFilters = {}): HarnessPredicate<MatNativeSelectHarness> {\n return new HarnessPredicate(MatNativeSelectHarness, options);\n }\n\n /** Gets a boolean promise indicating if the select is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('disabled');\n }\n\n /** Gets a boolean promise indicating if the select is required. */\n async isRequired(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('required');\n }\n\n /** Gets a boolean promise indicating if the select is in multi-selection mode. */\n async isMultiple(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('multiple');\n }\n\n /** Gets the name of the select. */\n async getName(): Promise<string> {\n // The \"name\" property of the native select is never undefined.\n return await (await this.host()).getProperty<string>('name');\n }\n\n /** Gets the id of the select. */\n async getId(): Promise<string> {\n // We're guaranteed to have an id, because the `matNativeControl` always assigns one.\n return await (await this.host()).getProperty<string>('id');\n }\n\n /** Focuses the select and returns a void promise that indicates when the action is complete. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the select and returns a void promise that indicates when the action is complete. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the select is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Gets the options inside the select panel. */\n async getOptions(filter: NativeOptionHarnessFilters = {}): Promise<MatNativeOptionHarness[]> {\n return this.locatorForAll(MatNativeOptionHarness.with(filter))();\n }\n\n /**\n * Selects the options that match the passed-in filter. If the select is in multi-selection\n * mode all options will be clicked, otherwise the harness will pick the first matching option.\n */\n async selectOptions(filter: NativeOptionHarnessFilters = {}): Promise<void> {\n const [isMultiple, options] = await parallel(() => {\n return [this.isMultiple(), this.getOptions(filter)];\n });\n\n if (options.length === 0) {\n throw Error('Select does not have options matching the specified filter');\n }\n\n const [host, optionIndexes] = await parallel(() => [\n this.host(),\n parallel(() => options.slice(0, isMultiple ? undefined : 1).map(option => option.getIndex())),\n ]);\n\n await host.selectOptions(...optionIndexes);\n }\n}\n"],"names":[],"mappings":";;;AAYA;AACM,MAAO,eAAgB,SAAQ,0BAA0B,CAAA;;;;aAItD,IAAY,CAAA,YAAA,GAAG,iEAAiE,CAAC,EAAA;AAExF;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAAC,OAAA,GAA+B,EAAE,EAAA;AAC3C,QAAA,OAAO,IAAI,gBAAgB,CAAC,eAAe,EAAE,OAAO,CAAC;AAClD,aAAA,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAAI;YACpD,OAAO,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC;AACnE,SAAC,CAAC;AACD,aAAA,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE,WAAW,KAAI;YACtE,OAAO,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,WA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AK,CAAC,EAAE;AACxB,YAAA,MAAM,KAAK,CAAC,4DAA4D,CAAC,CAAC;SAC3E;QAED,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,MAAM,QAAQ,CAAC,MAAM;YACjD,IAAI,CAAC,IAAI,EAAE;AACX,YAAA,QAAQ,CAAC,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;AAC9F,SAAA,CAAC,CAAC;AAEH,QAAA,MAAM,IAAI,CAAC,aAAa,CAAC,GAAG,aAAa,CAAC,CAAC;KAC5C;;;;;"}
1
+ {"version":3,"file":"testing.mjs","sources":["../../../../../../../src/material/input/testing/input-harness.ts","../../../../../../../src/material/input/testing/native-option-harness.ts","../../../../../../../src/material/input/testing/native-select-harness.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatFormFieldControlHarness} from '@angular/material/form-field/testing/control';\nimport {coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {InputHarnessFilters} from './input-harness-filters';\n\n/** Harness for interacting with a standard Material inputs in tests. */\nexport class MatInputHarness extends MatFormFieldControlHarness {\n // TODO: We do not want to handle `select` elements with `matNativeControl` because\n // not all methods of this harness work reasonably for native select elements.\n // For more details. See: https://github.com/angular/components/pull/18221.\n static hostSelector = '[matInput], input[matNativeControl], textarea[matNativeControl]';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatInputHarness` that meets\n * certain criteria.\n * @param options Options for filtering which input instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: InputHarnessFilters = {}): HarnessPredicate<MatInputHarness> {\n return new HarnessPredicate(MatInputHarness, options)\n .addOption('value', options.value, (harness, value) => {\n return HarnessPredicate.stringMatches(harness.getValue(), value);\n })\n .addOption('placeholder', options.placeholder, (harness, placeholder) => {\n return HarnessPredicate.stringMatches(harness.getPlaceholder(), placeholder);\n });\n }\n\n /** Whether the input is disabled. */\n async isDisabled(): Promise<boolean> {\n const host = await this.host();\n const disabled = await host.getAttribute('disabled');\n\n if (disabled !== null) {\n return coerceBooleanProperty(disabled);\n }\n\n return (await host.getAttribute('aria-disabled')) === 'true';\n }\n\n /** Whether the input is required. */\n async isRequired(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('required');\n }\n\n /** Whether the input is readonly. */\n async isReadonly(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('readOnly');\n }\n\n /** Gets the value of the input. */\n async getValue(): Promise<string> {\n // The \"value\" property of the native input is never undefined.\n return await (await this.host()).getProperty<string>('value');\n }\n\n /** Gets the name of the input. */\n async getName(): Promise<string> {\n // The \"name\" property of the native input is never undefined.\n return await (await this.host()).getProperty<string>('name');\n }\n\n /**\n * Gets the type of the input. Returns \"textarea\" if the input is\n * a textarea.\n */\n async getType(): Promise<string> {\n // The \"type\" property of the native input is never undefined.\n return await (await this.host()).getProperty<string>('type');\n }\n\n /** Gets the placeholder of the input. */\n async getPlaceholder(): Promise<string> {\n const host = await this.host();\n const [nativePlaceholder, fallback] = await parallel(() => [\n host.getProperty('placeholder'),\n host.getAttribute('data-placeholder'),\n ]);\n return nativePlaceholder || fallback || '';\n }\n\n /** Gets the id of the input. */\n async getId(): Promise<string> {\n // The input directive always assigns a unique id to the input in\n // case no id has been explicitly specified.\n return await (await this.host()).getProperty<string>('id');\n }\n\n /**\n * Focuses the input and returns a promise that indicates when the\n * action is complete.\n */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /**\n * Blurs the input and returns a promise that indicates when the\n * action is complete.\n */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the input is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /**\n * Sets the value of the input. The value will be set by simulating\n * keypresses that correspond to the given value.\n */\n async setValue(newValue: string): Promise<void> {\n const inputEl = await this.host();\n await inputEl.clear();\n // We don't want to send keys for the value if the value is an empty\n // string in order to clear the value. Sending keys with an empty string\n // still results in unnecessary focus events.\n if (newValue) {\n await inputEl.sendKeys(newValue);\n }\n\n // Some input types won't respond to key presses (e.g. `color`) so to be sure that the\n // value is set, we also set the property after the keyboard sequence. Note that we don't\n // want to do it before, because it can cause the value to be entered twice.\n await inputEl.setInputValue(newValue);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';\nimport {NativeOptionHarnessFilters} from './native-select-harness-filters';\n\n/** Harness for interacting with a native `option` in tests. */\nexport class MatNativeOptionHarness extends ComponentHarness {\n /** Selector used to locate option instances. */\n static hostSelector = 'select[matNativeControl] option';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatNativeOptionHarness` that meets\n * certain criteria.\n * @param options Options for filtering which option instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: NativeOptionHarnessFilters = {}) {\n return new HarnessPredicate(MatNativeOptionHarness, options)\n .addOption('text', options.text, async (harness, title) =>\n HarnessPredicate.stringMatches(await harness.getText(), title),\n )\n .addOption(\n 'index',\n options.index,\n async (harness, index) => (await harness.getIndex()) === index,\n )\n .addOption(\n 'isSelected',\n options.isSelected,\n async (harness, isSelected) => (await harness.isSelected()) === isSelected,\n );\n }\n\n /** Gets the option's label text. */\n async getText(): Promise<string> {\n return (await this.host()).getProperty<string>('label');\n }\n\n /** Index of the option within the native `select` element. */\n async getIndex(): Promise<number> {\n return (await this.host()).getProperty<number>('index');\n }\n\n /** Gets whether the option is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('disabled');\n }\n\n /** Gets whether the option is selected. */\n async isSelected(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('selected');\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {HarnessPredicate, parallel} from '@angular/cdk/testing';\nimport {MatFormFieldControlHarness} from '@angular/material/form-field/testing/control';\nimport {MatNativeOptionHarness} from './native-option-harness';\nimport {\n NativeOptionHarnessFilters,\n NativeSelectHarnessFilters,\n} from './native-select-harness-filters';\n\n/** Harness for interacting with a native `select` in tests. */\nexport class MatNativeSelectHarness extends MatFormFieldControlHarness {\n static hostSelector = 'select[matNativeControl]';\n\n /**\n * Gets a `HarnessPredicate` that can be used to search for a `MatNativeSelectHarness` that meets\n * certain criteria.\n * @param options Options for filtering which select instances are considered a match.\n * @return a `HarnessPredicate` configured with the given options.\n */\n static with(options: NativeSelectHarnessFilters = {}): HarnessPredicate<MatNativeSelectHarness> {\n return new HarnessPredicate(MatNativeSelectHarness, options);\n }\n\n /** Gets a boolean promise indicating if the select is disabled. */\n async isDisabled(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('disabled');\n }\n\n /** Gets a boolean promise indicating if the select is required. */\n async isRequired(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('required');\n }\n\n /** Gets a boolean promise indicating if the select is in multi-selection mode. */\n async isMultiple(): Promise<boolean> {\n return (await this.host()).getProperty<boolean>('multiple');\n }\n\n /** Gets the name of the select. */\n async getName(): Promise<string> {\n // The \"name\" property of the native select is never undefined.\n return await (await this.host()).getProperty<string>('name');\n }\n\n /** Gets the id of the select. */\n async getId(): Promise<string> {\n // We're guaranteed to have an id, because the `matNativeControl` always assigns one.\n return await (await this.host()).getProperty<string>('id');\n }\n\n /** Focuses the select and returns a void promise that indicates when the action is complete. */\n async focus(): Promise<void> {\n return (await this.host()).focus();\n }\n\n /** Blurs the select and returns a void promise that indicates when the action is complete. */\n async blur(): Promise<void> {\n return (await this.host()).blur();\n }\n\n /** Whether the select is focused. */\n async isFocused(): Promise<boolean> {\n return (await this.host()).isFocused();\n }\n\n /** Gets the options inside the select panel. */\n async getOptions(filter: NativeOptionHarnessFilters = {}): Promise<MatNativeOptionHarness[]> {\n return this.locatorForAll(MatNativeOptionHarness.with(filter))();\n }\n\n /**\n * Selects the options that match the passed-in filter. If the select is in multi-selection\n * mode all options will be clicked, otherwise the harness will pick the first matching option.\n */\n async selectOptions(filter: NativeOptionHarnessFilters = {}): Promise<void> {\n const [isMultiple, options] = await parallel(() => {\n return [this.isMultiple(), this.getOptions(filter)];\n });\n\n if (options.length === 0) {\n throw Error('Select does not have options matching the specified filter');\n }\n\n const [host, optionIndexes] = await parallel(() => [\n this.host(),\n parallel(() => options.slice(0, isMultiple ? undefined : 1).map(option => option.getIndex())),\n ]);\n\n await host.selectOptions(...optionIndexes);\n }\n}\n"],"names":[],"mappings":";;;;AAaA;AACM,MAAO,eAAgB,SAAQ,0BAA0B,CAAA;;;;aAItD,IAAY,CAAA,YAAA,GAAG,iEAAiE,CAAC,EAAA;AAExF;;;;;AAKG;AACH,IAAA,OAAO,IAAI,CAAC,OAAA,GAA+B,EAAE,EAAA;AAC3C,QAAA,OAAO,IAAI,gBAAgB,CAAC,eAAe,EAAE,OAAO,CAAC;AAClD,aAAA,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,KAAI;YACpD,OAAO,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,KAAK,CAAC,CAAC;AACnE,SAAC,CAAC;AACD,aAAA,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC,WAAW,EAAE,CAAC,OAAO,EAAE,WAAW,KAAI;YACtE,OAAO,gBAAgB,CAAC,aAAa,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,WAAW,CAAC,CAAC;AAC/E,SAAC,CAAC,CAAC;KACN;;AAGD,IAAA,M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AK;AAChD,YAAA,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;AACtD,SAAC,CAAC,CAAC;AAEH,QAAA,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;AACxB,YAAA,MAAM,KAAK,CAAC,4DAA4D,CAAC,CAAC;SAC3E;QAED,MAAM,CAAC,IAAI,EAAE,aAAa,CAAC,GAAG,MAAM,QAAQ,CAAC,MAAM;YACjD,IAAI,CAAC,IAAI,EAAE;AACX,YAAA,QAAQ,CAAC,MAAM,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;AAC9F,SAAA,CAAC,CAAC;AAEH,QAAA,MAAM,IAAI,CAAC,aAAa,CAAC,GAAG,aAAa,CAAC,CAAC;KAC5C;;;;;"}
@@ -1,15 +1,10 @@
1
1
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
2
- import * as i1 from '@angular/cdk/platform';
3
- import { getSupportedInputTypes } from '@angular/cdk/platform';
4
- import * as i4 from '@angular/cdk/text-field';
5
- import { TextFieldModule } from '@angular/cdk/text-field';
2
+ import { getSupportedInputTypes, Platform } from '@angular/cdk/platform';
3
+ import { AutofillMonitor, TextFieldModule } from '@angular/cdk/text-field';
6
4
  import * as i0 from '@angular/core';
7
- import { InjectionToken, Directive, Optional, Self, Inject, Input, NgModule } from '@angular/core';
8
- import * as i2 from '@angular/forms';
9
- import { Validators } from '@angular/forms';
10
- import * as i3 from '@angular/material/core';
11
- import { _ErrorStateTracker, MatCommonModule } from '@angular/material/core';
12
- import * as i5 from '@angular/material/form-field';
5
+ import { InjectionToken, inject, ElementRef, NgZone, isSignal, effect, booleanAttribute, Directive, Input, NgModule } from '@angular/core';
6
+ import { Validators, NgControl, NgForm, FormGroupDirective } from '@angular/forms';
7
+ import { ErrorStateMatcher, _ErrorStateTracker, MatCommonModule } from '@angular/material/core';
13
8
  import { MAT_FORM_FIELD, MatFormFieldControl, MatFormFieldModule } from '@angular/material/form-field';
14
9
  export { MatError, MatFormField, MatHint, MatLabel, MatPrefix, MatSuffix } from '@angular/material/form-field';
15
10
  import { Subject } from 'rxjs';
@@ -40,6 +35,8 @@ const MAT_INPUT_INVALID_TYPES = [
40
35
  'submit',
41
36
  ];
42
37
  let nextUniqueId = 0;
38
+ /** Injection token that can be used to provide the default options for the input. */
39
+ const MAT_INPUT_CONFIG = new InjectionToken('MAT_INPUT_CONFIG');
43
40
  class MatInput {
44
41
  /**
45
42
  * Implemented as part of MatFormFieldControl.
@@ -104,11 +101,18 @@ class MatInput {
104
101
  * @docs-private
105
102
  */
106
103
  get value() {
107
- return this._inputValueAccessor.value;
104
+ return this._signalBasedValueAccessor
105
+ ? this._signalBasedValueAccessor.value()
106
+ : this._inputValueAccessor.value;
108
107
  }
109
108
  set value(value) {
110
109
  if (value !== this.value) {
111
- this._inputValueAccessor.value = value;
110
+ if (this._signalBasedValueAccessor) {
111
+ this._signalBasedValueAccessor.value.set(value);
112
+ }
113
+ else {
114
+ this._inputValueAccessor.value = value;
115
+ }
112
116
  this.stateChanges.next();
113
117
  }
114
118
  }
@@ -126,18 +130,16 @@ class MatInput {
126
130
  set errorState(value) {
127
131
  this._errorStateTracker.errorState = value;
128
132
  }
129
- constructor(_elementRef, _platform, ngControl, parentForm, parentFormGroup, defaultErrorStateMatcher, inputValueAccessor, _autofillMonitor, _ngZone,
130
- // TODO: Remove this once the legacy appearance has been removed. We only need
131
- // to inject the form field for determining whether the placeholder has been promoted.
132
- _formField) {
133
- this._elementRef = _elementRef;
134
- this._platform = _platform;
135
- this.ngControl = ngControl;
136
- this._autofillMonitor = _autofillMonitor;
137
- this._ngZone = _ngZone;
138
- this._formField = _formField;
133
+ constructor() {
134
+ this._elementRef = inject(ElementRef);
135
+ this._platform = inject(Platform);
136
+ this.ngControl = inject(NgControl, { optional: true, self: true });
137
+ this._autofillMonitor = inject(AutofillMonitor);
138
+ this._ngZone = inject(NgZone);
139
+ this._formField = inject(MAT_FORM_FIELD, { optional: true });
139
140
  this._uid = `mat-input-${nextUniqueId++}`;
140
141
  this._webkitBlinkWheelListenerAttached = false;
142
+ this._config = inject(MAT_INPUT_CONFIG, { optional: true });
141
143
  /**
142
144
  * Implemented as part of MatFormFieldControl.
143
145
  * @docs-private
@@ -191,32 +193,54 @@ class MatInput {
191
193
  // on number inputs
192
194
  // on blink and webkit browsers.
193
195
  };
196
+ const parentForm = inject(NgForm, { optional: true });
197
+ const parentFormGroup = inject(FormGroupDirective, { optional: true });
198
+ const defaultErrorStateMatcher = inject(ErrorStateMatcher);
199
+ const accessor = inject(MAT_INPUT_VALUE_ACCESSOR, { optional: true, self: true });
194
200
  const element = this._elementRef.nativeElement;
195
201
  const nodeName = element.nodeName.toLowerCase();
196
- // If no input value accessor was explicitly specified, use the element as the input value
197
- // accessor.
198
- this._inputValueAccessor = inputValueAccessor || element;
202
+ if (accessor) {
203
+ if (isSignal(accessor.value)) {
204
+ this._signalBasedValueAccessor = accessor;
205
+ }
206
+ else {
207
+ this._inputValueAccessor = accessor;
208
+ }
209
+ }
210
+ else {
211
+ // If no input value accessor was explicitly specified, use the element as the input value
212
+ // accessor.
213
+ this._inputValueAccessor = element;
214
+ }
199
215
  this._previousNativeValue = this.value;
200
216
  // Force setter to be called in case id was not specified.
201
217
  this.id = this.id;
202
218
  // On some versions of iOS the caret gets stuck in the wrong place when holding down the delete
203
219
  // key. In order to get around this we need to "jiggle" the caret loose. Since this bug only
204
220
  // exists on iOS, we only bother to install the listener on iOS.
205
- if (_platform.IOS) {
206
- _ngZone.runOutsideAngular(() => {
207
- _elementRef.nativeElement.addEventListener('keyup', this._iOSKeyupListener);
221
+ if (this._platform.IOS) {
222
+ this._ngZone.runOutsideAngular(() => {
223
+ element.addEventListener('keyup', this._iOSKeyupListener);
208
224
  });
209
225
  }
210
- this._errorStateTracker = new _ErrorStateTracker(defaultErrorStateMatcher, ngControl, parentFormGroup, parentForm, this.stateChanges);
226
+ this._errorStateTracker = new _ErrorStateTracker(defaultErrorStateMatcher, this.ngControl, parentFormGroup, parentForm, this.stateChanges);
211
227
  this._isServer = !this._platform.isBrowser;
212
228
  this._isNativeSelect = nodeName === 'select';
213
229
  this._isTextarea = nodeName === 'textarea';
214
- this._isInFormField = !!_formField;
230
+ this._isInFormField = !!this._formField;
231
+ this.disabledInteractive = this._config?.disabledInteractive || false;
215
232
  if (this._isNativeSelect) {
216
233
  this.controlType = element.multiple
217
234
  ? 'mat-native-select-multiple'
218
235
  : 'mat-native-select';
219
236
  }
237
+ if (this._signalBasedValueAccessor) {
238
+ effect(() => {
239
+ // Read the value so the effect can register the dependency.
240
+ this._signalBasedValueAccessor.value();
241
+ this.stateChanges.next();
242
+ });
243
+ }
220
244
  }
221
245
  ngAfterViewInit() {
222
246
  if (this._platform.isBrowser) {
@@ -274,10 +298,25 @@ class MatInput {
274
298
  }
275
299
  /** Callback for the cases where the focused state of the input changes. */
276
300
  _focusChanged(isFocused) {
277
- if (isFocused !== this.focused) {
278
- this.focused = isFocused;
279
- this.stateChanges.next();
301
+ if (isFocused === this.focused) {
302
+ return;
303
+ }
304
+ if (!this._isNativeSelect && isFocused && this.disabled && this.disabledInteractive) {
305
+ const element = this._elementRef.nativeElement;
306
+ // Focusing an input that has text will cause all the text to be selected. Clear it since
307
+ // the user won't be able to change it. This is based on the internal implementation.
308
+ if (element.type === 'number') {
309
+ // setSelectionRange doesn't work on number inputs so it needs to be set briefly to text.
310
+ element.type = 'text';
311
+ element.setSelectionRange(0, 0);
312
+ element.type = 'number';
313
+ }
314
+ else {
315
+ element.setSelectionRange(0, 0);
316
+ }
280
317
  }
318
+ this.focused = isFocused;
319
+ this.stateChanges.next();
281
320
  }
282
321
  _onInput() {
283
322
  // This is a noop function and is used to let Angular know whenever the value changes.
@@ -357,7 +396,7 @@ class MatInput {
357
396
  !!(selectElement.selectedIndex > -1 && firstOption && firstOption.label));
358
397
  }
359
398
  else {
360
- return this.focused || !this.empty;
399
+ return (this.focused && !this.disabled) || !this.empty;
361
400
  }
362
401
  }
363
402
  /**
@@ -411,10 +450,20 @@ class MatInput {
411
450
  this._webkitBlinkWheelListenerAttached = true;
412
451
  }
413
452
  }
414
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: MatInput, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i2.NgControl, optional: true, self: true }, { token: i2.NgForm, optional: true }, { token: i2.FormGroupDirective, optional: true }, { token: i3.ErrorStateMatcher }, { token: MAT_INPUT_VALUE_ACCESSOR, optional: true, self: true }, { token: i4.AutofillMonitor }, { token: i0.NgZone }, { token: MAT_FORM_FIELD, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
415
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0-next.2", type: MatInput, isStandalone: true, selector: "input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]", inputs: { disabled: "disabled", id: "id", placeholder: "placeholder", name: "name", required: "required", type: "type", errorStateMatcher: "errorStateMatcher", userAriaDescribedBy: ["aria-describedby", "userAriaDescribedBy"], value: "value", readonly: "readonly" }, host: { listeners: { "focus": "_focusChanged(true)", "blur": "_focusChanged(false)", "input": "_onInput()" }, properties: { "class.mat-input-server": "_isServer", "class.mat-mdc-form-field-textarea-control": "_isInFormField && _isTextarea", "class.mat-mdc-form-field-input-control": "_isInFormField", "class.mdc-text-field__input": "_isInFormField", "class.mat-mdc-native-select-inline": "_isInlineSelect()", "id": "id", "disabled": "disabled", "required": "required", "attr.name": "name || null", "attr.readonly": "readonly && !_isNativeSelect || null", "attr.aria-invalid": "(empty && required) ? null : errorState", "attr.aria-required": "required", "attr.id": "id" }, classAttribute: "mat-mdc-input-element" }, providers: [{ provide: MatFormFieldControl, useExisting: MatInput }], exportAs: ["matInput"], usesOnChanges: true, ngImport: i0 }); }
453
+ /** Gets the value to set on the `readonly` attribute. */
454
+ _getReadonlyAttribute() {
455
+ if (this._isNativeSelect) {
456
+ return null;
457
+ }
458
+ if (this.readonly || (this.disabled && this.disabledInteractive)) {
459
+ return 'true';
460
+ }
461
+ return null;
462
+ }
463
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: MatInput, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
464
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.10", type: MatInput, isStandalone: true, selector: "input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]", inputs: { disabled: "disabled", id: "id", placeholder: "placeholder", name: "name", required: "required", type: "type", errorStateMatcher: "errorStateMatcher", userAriaDescribedBy: ["aria-describedby", "userAriaDescribedBy"], value: "value", readonly: "readonly", disabledInteractive: ["disabledInteractive", "disabledInteractive", booleanAttribute] }, host: { listeners: { "focus": "_focusChanged(true)", "blur": "_focusChanged(false)", "input": "_onInput()" }, properties: { "class.mat-input-server": "_isServer", "class.mat-mdc-form-field-textarea-control": "_isInFormField && _isTextarea", "class.mat-mdc-form-field-input-control": "_isInFormField", "class.mat-mdc-input-disabled-interactive": "disabledInteractive", "class.mdc-text-field__input": "_isInFormField", "class.mat-mdc-native-select-inline": "_isInlineSelect()", "id": "id", "disabled": "disabled && !disabledInteractive", "required": "required", "attr.name": "name || null", "attr.readonly": "_getReadonlyAttribute()", "attr.aria-disabled": "disabled && disabledInteractive ? \"true\" : null", "attr.aria-invalid": "(empty && required) ? null : errorState", "attr.aria-required": "required", "attr.id": "id" }, classAttribute: "mat-mdc-input-element" }, providers: [{ provide: MatFormFieldControl, useExisting: MatInput }], exportAs: ["matInput"], usesOnChanges: true, ngImport: i0 }); }
416
465
  }
417
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: MatInput, decorators: [{
466
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: MatInput, decorators: [{
418
467
  type: Directive,
419
468
  args: [{
420
469
  selector: `input[matInput], textarea[matInput], select[matNativeControl],
@@ -428,15 +477,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
428
477
  '[class.mat-input-server]': '_isServer',
429
478
  '[class.mat-mdc-form-field-textarea-control]': '_isInFormField && _isTextarea',
430
479
  '[class.mat-mdc-form-field-input-control]': '_isInFormField',
480
+ '[class.mat-mdc-input-disabled-interactive]': 'disabledInteractive',
431
481
  '[class.mdc-text-field__input]': '_isInFormField',
432
482
  '[class.mat-mdc-native-select-inline]': '_isInlineSelect()',
433
483
  // Native input properties that are overwritten by Angular inputs need to be synced with
434
484
  // the native input element. Otherwise property bindings for those don't work.
435
485
  '[id]': 'id',
436
- '[disabled]': 'disabled',
486
+ '[disabled]': 'disabled && !disabledInteractive',
437
487
  '[required]': 'required',
438
488
  '[attr.name]': 'name || null',
439
- '[attr.readonly]': 'readonly && !_isNativeSelect || null',
489
+ '[attr.readonly]': '_getReadonlyAttribute()',
490
+ '[attr.aria-disabled]': 'disabled && disabledInteractive ? "true" : null',
440
491
  // Only mark the input as invalid for assistive technology if it has a value since the
441
492
  // state usually overlaps with `aria-required` when the input is empty and can be redundant.
442
493
  '[attr.aria-invalid]': '(empty && required) ? null : errorState',
@@ -449,29 +500,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
449
500
  '(input)': '_onInput()',
450
501
  },
451
502
  providers: [{ provide: MatFormFieldControl, useExisting: MatInput }],
452
- standalone: true,
453
503
  }]
454
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Platform }, { type: i2.NgControl, decorators: [{
455
- type: Optional
456
- }, {
457
- type: Self
458
- }] }, { type: i2.NgForm, decorators: [{
459
- type: Optional
460
- }] }, { type: i2.FormGroupDirective, decorators: [{
461
- type: Optional
462
- }] }, { type: i3.ErrorStateMatcher }, { type: undefined, decorators: [{
463
- type: Optional
464
- }, {
465
- type: Self
466
- }, {
467
- type: Inject,
468
- args: [MAT_INPUT_VALUE_ACCESSOR]
469
- }] }, { type: i4.AutofillMonitor }, { type: i0.NgZone }, { type: i5.MatFormField, decorators: [{
470
- type: Optional
471
- }, {
472
- type: Inject,
473
- args: [MAT_FORM_FIELD]
474
- }] }], propDecorators: { disabled: [{
504
+ }], ctorParameters: () => [], propDecorators: { disabled: [{
475
505
  type: Input
476
506
  }], id: [{
477
507
  type: Input
@@ -492,14 +522,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
492
522
  type: Input
493
523
  }], readonly: [{
494
524
  type: Input
525
+ }], disabledInteractive: [{
526
+ type: Input,
527
+ args: [{ transform: booleanAttribute }]
495
528
  }] } });
496
529
 
497
530
  class MatInputModule {
498
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: MatInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
499
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0-next.2", ngImport: i0, type: MatInputModule, imports: [MatCommonModule, MatFormFieldModule, MatInput], exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule] }); }
500
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: MatInputModule, imports: [MatCommonModule, MatFormFieldModule, MatFormFieldModule, TextFieldModule, MatCommonModule] }); }
531
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: MatInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
532
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.10", ngImport: i0, type: MatInputModule, imports: [MatCommonModule, MatFormFieldModule, MatInput], exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule] }); }
533
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: MatInputModule, imports: [MatCommonModule, MatFormFieldModule, MatFormFieldModule, TextFieldModule, MatCommonModule] }); }
501
534
  }
502
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2", ngImport: i0, type: MatInputModule, decorators: [{
535
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: MatInputModule, decorators: [{
503
536
  type: NgModule,
504
537
  args: [{
505
538
  imports: [MatCommonModule, MatFormFieldModule, MatInput],
@@ -511,5 +544,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0-next.2",
511
544
  * Generated bundle index. Do not edit.
512
545
  */
513
546
 
514
- export { MAT_INPUT_VALUE_ACCESSOR, MatInput, MatInputModule, getMatInputUnsupportedTypeError };
547
+ export { MAT_INPUT_CONFIG, MAT_INPUT_VALUE_ACCESSOR, MatInput, MatInputModule, getMatInputUnsupportedTypeError };
515
548
  //# sourceMappingURL=input.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.mjs","sources":["../../../../../../src/material/input/input-errors.ts","../../../../../../src/material/input/input-value-accessor.ts","../../../../../../src/material/input/input.ts","../../../../../../src/material/input/module.ts","../../../../../../src/material/input/input_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/** @docs-private */\nexport function getMatInputUnsupportedTypeError(type: string): Error {\n return Error(`Input type \"${type}\" isn't supported by matInput.`);\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {InjectionToken} from '@angular/core';\n\n/**\n * This token is used to inject the object whose value should be set into `MatInput`. If none is\n * provided, the native `HTMLInputElement` is used. Directives like `MatDatepickerInput` can provide\n * themselves for this token, in order to make `MatInput` delegate the getting and setting of the\n * value to them.\n */\nexport const MAT_INPUT_VALUE_ACCESSOR = new InjectionToken<{value: any}>(\n 'MAT_INPUT_VALUE_ACCESSOR',\n);\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {getSupportedInputTypes, Platform} from '@angular/cdk/platform';\nimport {AutofillMonitor} from '@angular/cdk/text-field';\nimport {\n AfterViewInit,\n Directive,\n DoCheck,\n ElementRef,\n Inject,\n Input,\n NgZone,\n OnChanges,\n OnDestroy,\n Optional,\n Self,\n} from '@angular/core';\nimport {FormGroupDirective, NgControl, NgForm, Validators} from '@angular/forms';\nimport {ErrorStateMatcher, _ErrorStateTracker} from '@angular/material/core';\nimport {MatFormFieldControl, MatFormField, MAT_FORM_FIELD} from '@angular/material/form-field';\nimport {Subject} from 'rxjs';\nimport {getMatInputUnsupportedTypeError} from './input-errors';\nimport {MAT_INPUT_VALUE_ACCESSOR} from './input-value-accessor';\n\n// Invalid input type. Using one of these will throw an MatInputUnsupportedTypeError.\nconst MAT_INPUT_INVALID_TYPES = [\n 'button',\n 'checkbox',\n 'file',\n 'hidden',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n];\n\nlet nextUniqueId = 0;\n\n@Directive({\n selector: `input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]`,\n exportAs: 'matInput',\n host: {\n 'class': 'mat-mdc-input-element',\n // The BaseMatInput parent class adds `mat-input-element`, `mat-form-field-control` and\n // `mat-form-field-autofill-control` to the CSS class list, but this should not be added for\n // this MDC equivalent input.\n '[class.mat-input-server]': '_isServer',\n '[class.mat-mdc-form-field-textarea-control]': '_isInFormField && _isTextarea',\n '[class.mat-mdc-form-field-input-control]': '_isInFormField',\n '[class.mdc-text-field__input]': '_isInFormField',\n '[class.mat-mdc-native-select-inline]': '_isInlineSelect()',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[id]': 'id',\n '[disabled]': 'disabled',\n '[required]': 'required',\n '[attr.name]': 'name || null',\n '[attr.readonly]': 'readonly && !_isNativeSelect || null',\n // Only mark the input as invalid for assistive technology if it has a value since the\n // state usually overlaps with `aria-required` when the input is empty and can be redundant.\n '[attr.aria-invalid]': '(empty && required) ? null : errorState',\n '[attr.aria-required]': 'required',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[attr.id]': 'id',\n '(focus)': '_focusChanged(true)',\n '(blur)': '_focusChanged(false)',\n '(input)': '_onInput()',\n },\n providers: [{provide: MatFormFieldControl, useExisting: MatInput}],\n standalone: true,\n})\nexport class MatInput\n implements MatFormFieldControl<any>, OnChanges, OnDestroy, AfterViewInit, DoCheck\n{\n protected _uid = `mat-input-${nextUniqueId++}`;\n protected _previousNativeValue: any;\n private _inputValueAccessor: {value: any};\n private _previousPlaceholder: string | null;\n private _errorStateTracker: _ErrorStateTracker;\n private _webkitBlinkWheelListenerAttached = false;\n\n /** Whether the component is being rendered on the server. */\n readonly _isServer: boolean;\n\n /** Whether the component is a native html select. */\n readonly _isNativeSelect: boolean;\n\n /** Whether the component is a textarea. */\n readonly _isTextarea: boolean;\n\n /** Whether the input is inside of a form field. */\n readonly _isInFormField: boolean;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n focused: boolean = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n readonly stateChanges: Subject<void> = new Subject<void>();\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n controlType: string = 'mat-input';\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n autofilled = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: BooleanInput) {\n this._disabled = coerceBooleanProperty(value);\n\n // Browsers may not fire the blur event if the input is disabled too quickly.\n // Reset from here to ensure that the element doesn't become stuck.\n if (this.focused) {\n this.focused = false;\n this.stateChanges.next();\n }\n }\n protected _disabled = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get id(): string {\n return this._id;\n }\n set id(value: string) {\n this._id = value || this._uid;\n }\n protected _id: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input() placeholder: string;\n\n /**\n * Name of the input.\n * @docs-private\n */\n @Input() name: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get required(): boolean {\n return this._required ?? this.ngControl?.control?.hasValidator(Validators.required) ?? false;\n }\n set required(value: BooleanInput) {\n this._required = coerceBooleanProperty(value);\n }\n protected _required: boolean | undefined;\n\n /** Input type of the element. */\n @Input()\n get type(): string {\n return this._type;\n }\n set type(value: string) {\n this._type = value || 'text';\n this._validateType();\n\n // When using Angular inputs, developers are no longer able to set the properties on the native\n // input element. To ensure that bindings for `type` work, we need to sync the setter\n // with the native property. Textarea elements don't support the type property or attribute.\n if (!this._isTextarea && getSupportedInputTypes().has(this._type)) {\n (this._elementRef.nativeElement as HTMLInputElement).type = this._type;\n }\n\n this._ensureWheelDefaultBehavior();\n }\n protected _type = 'text';\n\n /** An object used to control when error messages are shown. */\n @Input()\n get errorStateMatcher() {\n return this._errorStateTracker.matcher;\n }\n set errorStateMatcher(value: ErrorStateMatcher) {\n this._errorStateTracker.matcher = value;\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input('aria-describedby') userAriaDescribedBy: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get value(): string {\n return this._inputValueAccessor.value;\n }\n set value(value: any) {\n if (value !== this.value) {\n this._inputValueAccessor.value = value;\n this.stateChanges.next();\n }\n }\n\n /** Whether the element is readonly. */\n @Input()\n get readonly(): boolean {\n return this._readonly;\n }\n set readonly(value: BooleanInput) {\n this._readonly = coerceBooleanProperty(value);\n }\n private _readonly = false;\n\n /** Whether the input is in an error state. */\n get errorState() {\n return this._errorStateTracker.errorState;\n }\n set errorState(value: boolean) {\n this._errorStateTracker.errorState = value;\n }\n\n protected _neverEmptyInputTypes = [\n 'date',\n 'datetime',\n 'datetime-local',\n 'month',\n 'time',\n 'week',\n ].filter(t => getSupportedInputTypes().has(t));\n\n constructor(\n protected _elementRef: ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>,\n protected _platform: Platform,\n @Optional() @Self() public ngControl: NgControl,\n @Optional() parentForm: NgForm,\n @Optional() parentFormGroup: FormGroupDirective,\n defaultErrorStateMatcher: ErrorStateMatcher,\n @Optional() @Self() @Inject(MAT_INPUT_VALUE_ACCESSOR) inputValueAccessor: any,\n private _autofillMonitor: AutofillMonitor,\n private _ngZone: NgZone,\n // TODO: Remove this once the legacy appearance has been removed. We only need\n // to inject the form field for determining whether the placeholder has been promoted.\n @Optional() @Inject(MAT_FORM_FIELD) protected _formField?: MatFormField,\n ) {\n const element = this._elementRef.nativeElement;\n const nodeName = element.nodeName.toLowerCase();\n\n // If no input value accessor was explicitly specified, use the element as the input value\n // accessor.\n this._inputValueAccessor = inputValueAccessor || element;\n\n this._previousNativeValue = this.value;\n\n // Force setter to be called in case id was not specified.\n this.id = this.id;\n\n // On some versions of iOS the caret gets stuck in the wrong place when holding down the delete\n // key. In order to get around this we need to \"jiggle\" the caret loose. Since this bug only\n // exists on iOS, we only bother to install the listener on iOS.\n if (_platform.IOS) {\n _ngZone.runOutsideAngular(() => {\n _elementRef.nativeElement.addEventListener('keyup', this._iOSKeyupListener);\n });\n }\n\n this._errorStateTracker = new _ErrorStateTracker(\n defaultErrorStateMatcher,\n ngControl,\n parentFormGroup,\n parentForm,\n this.stateChanges,\n );\n this._isServer = !this._platform.isBrowser;\n this._isNativeSelect = nodeName === 'select';\n this._isTextarea = nodeName === 'textarea';\n this._isInFormField = !!_formField;\n\n if (this._isNativeSelect) {\n this.controlType = (element as HTMLSelectElement).multiple\n ? 'mat-native-select-multiple'\n : 'mat-native-select';\n }\n }\n\n ngAfterViewInit() {\n if (this._platform.isBrowser) {\n this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(event => {\n this.autofilled = event.isAutofilled;\n this.stateChanges.next();\n });\n }\n }\n\n ngOnChanges() {\n this.stateChanges.next();\n }\n\n ngOnDestroy() {\n this.stateChanges.complete();\n\n if (this._platform.isBrowser) {\n this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);\n }\n\n if (this._platform.IOS) {\n this._elementRef.nativeElement.removeEventListener('keyup', this._iOSKeyupListener);\n }\n\n if (this._webkitBlinkWheelListenerAttached) {\n this._elementRef.nativeElement.removeEventListener('wheel', this._webkitBlinkWheelListener);\n }\n }\n\n ngDoCheck() {\n if (this.ngControl) {\n // We need to re-evaluate this on every change detection cycle, because there are some\n // error triggers that we can't subscribe to (e.g. parent form submissions). This means\n // that whatever logic is in here has to be super lean or we risk destroying the performance.\n this.updateErrorState();\n\n // Since the input isn't a `ControlValueAccessor`, we don't have a good way of knowing when\n // the disabled state has changed. We can't use the `ngControl.statusChanges`, because it\n // won't fire if the input is disabled with `emitEvents = false`, despite the input becoming\n // disabled.\n if (this.ngControl.disabled !== null && this.ngControl.disabled !== this.disabled) {\n this.disabled = this.ngControl.disabled;\n this.stateChanges.next();\n }\n }\n\n // We need to dirty-check the native element's value, because there are some cases where\n // we won't be notified when it changes (e.g. the consumer isn't using forms or they're\n // updating the value using `emitEvent: false`).\n this._dirtyCheckNativeValue();\n\n // We need to dirty-check and set the placeholder attribute ourselves, because whether it's\n // present or not depends on a query which is prone to \"changed after checked\" errors.\n this._dirtyCheckPlaceholder();\n }\n\n /** Focuses the input. */\n focus(options?: FocusOptions): void {\n this._elementRef.nativeElement.focus(options);\n }\n\n /** Refreshes the error state of the input. */\n updateErrorState() {\n this._errorStateTracker.updateErrorState();\n }\n\n /** Callback for the cases where the focused state of the input changes. */\n _focusChanged(isFocused: boolean) {\n if (isFocused !== this.focused) {\n this.focused = isFocused;\n this.stateChanges.next();\n }\n }\n\n _onInput() {\n // This is a noop function and is used to let Angular know whenever the value changes.\n // Angular will run a new change detection each time the `input` event has been dispatched.\n // It's necessary that Angular recognizes the value change, because when floatingLabel\n // is set to false and Angular forms aren't used, the placeholder won't recognize the\n // value changes and will not disappear.\n // Listening to the input event wouldn't be necessary when the input is using the\n // FormsModule or ReactiveFormsModule, because Angular forms also listens to input events.\n }\n\n /** Does some manual dirty checking on the native input `value` property. */\n protected _dirtyCheckNativeValue() {\n const newValue = this._elementRef.nativeElement.value;\n\n if (this._previousNativeValue !== newValue) {\n this._previousNativeValue = newValue;\n this.stateChanges.next();\n }\n }\n\n /** Does some manual dirty checking on the native input `placeholder` attribute. */\n private _dirtyCheckPlaceholder() {\n const placeholder = this._getPlaceholder();\n if (placeholder !== this._previousPlaceholder) {\n const element = this._elementRef.nativeElement;\n this._previousPlaceholder = placeholder;\n placeholder\n ? element.setAttribute('placeholder', placeholder)\n : element.removeAttribute('placeholder');\n }\n }\n\n /** Gets the current placeholder of the form field. */\n protected _getPlaceholder(): string | null {\n return this.placeholder || null;\n }\n\n /** Make sure the input is a supported type. */\n protected _validateType() {\n if (\n MAT_INPUT_INVALID_TYPES.indexOf(this._type) > -1 &&\n (typeof ngDevMode === 'undefined' || ngDevMode)\n ) {\n throw getMatInputUnsupportedTypeError(this._type);\n }\n }\n\n /** Checks whether the input type is one of the types that are never empty. */\n protected _isNeverEmpty() {\n return this._neverEmptyInputTypes.indexOf(this._type) > -1;\n }\n\n /** Checks whether the input is invalid based on the native validation. */\n protected _isBadInput() {\n // The `validity` property won't be present on platform-server.\n let validity = (this._elementRef.nativeElement as HTMLInputElement).validity;\n return validity && validity.badInput;\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get empty(): boolean {\n return (\n !this._isNeverEmpty() &&\n !this._elementRef.nativeElement.value &&\n !this._isBadInput() &&\n !this.autofilled\n );\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get shouldLabelFloat(): boolean {\n if (this._isNativeSelect) {\n // For a single-selection `<select>`, the label should float when the selected option has\n // a non-empty display value. For a `<select multiple>`, the label *always* floats to avoid\n // overlapping the label with the options.\n const selectElement = this._elementRef.nativeElement as HTMLSelectElement;\n const firstOption: HTMLOptionElement | undefined = selectElement.options[0];\n\n // On most browsers the `selectedIndex` will always be 0, however on IE and Edge it'll be\n // -1 if the `value` is set to something, that isn't in the list of options, at a later point.\n return (\n this.focused ||\n selectElement.multiple ||\n !this.empty ||\n !!(selectElement.selectedIndex > -1 && firstOption && firstOption.label)\n );\n } else {\n return this.focused || !this.empty;\n }\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n setDescribedByIds(ids: string[]) {\n if (ids.length) {\n this._elementRef.nativeElement.setAttribute('aria-describedby', ids.join(' '));\n } else {\n this._elementRef.nativeElement.removeAttribute('aria-describedby');\n }\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n onContainerClick() {\n // Do not re-focus the input element if the element is already focused. Otherwise it can happen\n // that someone clicks on a time input and the cursor resets to the \"hours\" field while the\n // \"minutes\" field was actually clicked. See: https://github.com/angular/components/issues/12849\n if (!this.focused) {\n this.focus();\n }\n }\n\n /** Whether the form control is a native select that is displayed inline. */\n _isInlineSelect(): boolean {\n const element = this._elementRef.nativeElement as HTMLSelectElement;\n return this._isNativeSelect && (element.multiple || element.size > 1);\n }\n\n private _iOSKeyupListener = (event: Event): void => {\n const el = event.target as HTMLInputElement;\n\n // Note: We specifically check for 0, rather than `!el.selectionStart`, because the two\n // indicate different things. If the value is 0, it means that the caret is at the start\n // of the input, whereas a value of `null` means that the input doesn't support\n // manipulating the selection range. Inputs that don't support setting the selection range\n // will throw an error so we want to avoid calling `setSelectionRange` on them. See:\n // https://html.spec.whatwg.org/multipage/input.html#do-not-apply\n if (!el.value && el.selectionStart === 0 && el.selectionEnd === 0) {\n // Note: Just setting `0, 0` doesn't fix the issue. Setting\n // `1, 1` fixes it for the first time that you type text and\n // then hold delete. Toggling to `1, 1` and then back to\n // `0, 0` seems to completely fix it.\n el.setSelectionRange(1, 1);\n el.setSelectionRange(0, 0);\n }\n };\n\n private _webkitBlinkWheelListener = (): void => {\n // This is a noop function and is used to enable mouse wheel input\n // on number inputs\n // on blink and webkit browsers.\n };\n\n /**\n * In blink and webkit browsers a focused number input does not increment or decrement its value\n * on mouse wheel interaction unless a wheel event listener is attached to it or one of its ancestors or a passive wheel listener is attached somewhere in the DOM.\n * For example: Hitting a tooltip once enables the mouse wheel input for all number inputs as long as it exists.\n * In order to get reliable and intuitive behavior we apply a wheel event on our own\n * thus making sure increment and decrement by mouse wheel works every time.\n * @docs-private\n */\n private _ensureWheelDefaultBehavior(): void {\n if (\n !this._webkitBlinkWheelListenerAttached &&\n this._type === 'number' &&\n (this._platform.BLINK || this._platform.WEBKIT)\n ) {\n this._ngZone.runOutsideAngular(() => {\n this._elementRef.nativeElement.addEventListener('wheel', this._webkitBlinkWheelListener);\n });\n this._webkitBlinkWheelListenerAttached = true;\n }\n\n if (this._webkitBlinkWheelListenerAttached && this._type !== 'number') {\n this._elementRef.nativeElement.removeEventListener('wheel', this._webkitBlinkWheelListener);\n this._webkitBlinkWheelListenerAttached = true;\n }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {TextFieldModule} from '@angular/cdk/text-field';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatInput} from './input';\n\n@NgModule({\n imports: [MatCommonModule, MatFormFieldModule, MatInput],\n exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule],\n})\nexport class MatInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAQA;AACM,SAAU,+BAA+B,CAAC,IAAY,EAAA;AAC1D,IAAA,OAAO,KAAK,CAAC,CAAA,YAAA,EAAe,IAAI,CAAA,8BAAA,CAAgC,CAAC,CAAC;AACpE;;ACDA;;;;;AAKG;MACU,wBAAwB,GAAG,IAAI,cAAc,CACxD,0BAA0B;;ACc5B;AACA,MAAM,uBAAuB,GAAG;IAC9B,QAAQ;IACR,UAAU;IACV,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;CACT,CAAC;AAEF,IAAI,YAAY,GAAG,CAAC,CAAC;MAqCR,QAAQ,CAAA;AA8CnB;;;AAGG;AACH,IAAA,IACI,QAAQ,GAAA;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;IACD,IAAI,QAAQ,CAAC,KAAmB,EAAA;AAC9B,QAAA,IAAI,CAAC,SAAS,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC;;;AAI9C,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE;AAChB,YAAA,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;AACrB,YAAA,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;SAC1B;KACF;AAGD;;;AAGG;AACH,IAAA,IACI,EAAE,GAAA;QACJ,OAAO,IAAI,CAAC,GAAG,CAAC;KACjB;IACD,IAAI,EAAE,CAAC,KAAa,EAAA;QAClB,IAAI,CAAC,GAAG,GAAG,KAAK,IAAI,IAAI,CAAC,IAAI,CAAC;KAC/B;AAeD;;;AAGG;AACH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QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,kBAAkB,EAAE,QAAQ,CAAC;oBACxD,OAAO,EAAE,CAAC,QAAQ,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,CAAC;AAC1E,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"input.mjs","sources":["../../../../../../src/material/input/input-errors.ts","../../../../../../src/material/input/input-value-accessor.ts","../../../../../../src/material/input/input.ts","../../../../../../src/material/input/module.ts","../../../../../../src/material/input/input_public_index.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/** @docs-private */\nexport function getMatInputUnsupportedTypeError(type: string): Error {\n return Error(`Input type \"${type}\" isn't supported by matInput.`);\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {InjectionToken, WritableSignal} from '@angular/core';\n\n/**\n * This token is used to inject the object whose value should be set into `MatInput`. If none is\n * provided, the native `HTMLInputElement` is used. Directives like `MatDatepickerInput` can provide\n * themselves for this token, in order to make `MatInput` delegate the getting and setting of the\n * value to them.\n */\nexport const MAT_INPUT_VALUE_ACCESSOR = new InjectionToken<{value: any | WritableSignal<any>}>(\n 'MAT_INPUT_VALUE_ACCESSOR',\n);\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {BooleanInput, coerceBooleanProperty} from '@angular/cdk/coercion';\nimport {getSupportedInputTypes, Platform} from '@angular/cdk/platform';\nimport {AutofillMonitor} from '@angular/cdk/text-field';\nimport {\n AfterViewInit,\n booleanAttribute,\n Directive,\n DoCheck,\n effect,\n ElementRef,\n inject,\n InjectionToken,\n Input,\n isSignal,\n NgZone,\n OnChanges,\n OnDestroy,\n WritableSignal,\n} from '@angular/core';\nimport {FormGroupDirective, NgControl, NgForm, Validators} from '@angular/forms';\nimport {ErrorStateMatcher, _ErrorStateTracker} from '@angular/material/core';\nimport {MatFormFieldControl, MatFormField, MAT_FORM_FIELD} from '@angular/material/form-field';\nimport {Subject} from 'rxjs';\nimport {getMatInputUnsupportedTypeError} from './input-errors';\nimport {MAT_INPUT_VALUE_ACCESSOR} from './input-value-accessor';\n\n// Invalid input type. Using one of these will throw an MatInputUnsupportedTypeError.\nconst MAT_INPUT_INVALID_TYPES = [\n 'button',\n 'checkbox',\n 'file',\n 'hidden',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit',\n];\n\nlet nextUniqueId = 0;\n\n/** Object that can be used to configure the default options for the input. */\nexport interface MatInputConfig {\n /** Whether disabled inputs should be interactive. */\n disabledInteractive?: boolean;\n}\n\n/** Injection token that can be used to provide the default options for the input. */\nexport const MAT_INPUT_CONFIG = new InjectionToken<MatInputConfig>('MAT_INPUT_CONFIG');\n\n@Directive({\n selector: `input[matInput], textarea[matInput], select[matNativeControl],\n input[matNativeControl], textarea[matNativeControl]`,\n exportAs: 'matInput',\n host: {\n 'class': 'mat-mdc-input-element',\n // The BaseMatInput parent class adds `mat-input-element`, `mat-form-field-control` and\n // `mat-form-field-autofill-control` to the CSS class list, but this should not be added for\n // this MDC equivalent input.\n '[class.mat-input-server]': '_isServer',\n '[class.mat-mdc-form-field-textarea-control]': '_isInFormField && _isTextarea',\n '[class.mat-mdc-form-field-input-control]': '_isInFormField',\n '[class.mat-mdc-input-disabled-interactive]': 'disabledInteractive',\n '[class.mdc-text-field__input]': '_isInFormField',\n '[class.mat-mdc-native-select-inline]': '_isInlineSelect()',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[id]': 'id',\n '[disabled]': 'disabled && !disabledInteractive',\n '[required]': 'required',\n '[attr.name]': 'name || null',\n '[attr.readonly]': '_getReadonlyAttribute()',\n '[attr.aria-disabled]': 'disabled && disabledInteractive ? \"true\" : null',\n // Only mark the input as invalid for assistive technology if it has a value since the\n // state usually overlaps with `aria-required` when the input is empty and can be redundant.\n '[attr.aria-invalid]': '(empty && required) ? null : errorState',\n '[attr.aria-required]': 'required',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[attr.id]': 'id',\n '(focus)': '_focusChanged(true)',\n '(blur)': '_focusChanged(false)',\n '(input)': '_onInput()',\n },\n providers: [{provide: MatFormFieldControl, useExisting: MatInput}],\n})\nexport class MatInput\n implements MatFormFieldControl<any>, OnChanges, OnDestroy, AfterViewInit, DoCheck\n{\n protected _elementRef =\n inject<ElementRef<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>>(ElementRef);\n protected _platform = inject(Platform);\n ngControl = inject(NgControl, {optional: true, self: true})!;\n private _autofillMonitor = inject(AutofillMonitor);\n private _ngZone = inject(NgZone);\n protected _formField? = inject<MatFormField>(MAT_FORM_FIELD, {optional: true});\n\n protected _uid = `mat-input-${nextUniqueId++}`;\n protected _previousNativeValue: any;\n private _inputValueAccessor: {value: any};\n private _signalBasedValueAccessor?: {value: WritableSignal<any>};\n private _previousPlaceholder: string | null;\n private _errorStateTracker: _ErrorStateTracker;\n private _webkitBlinkWheelListenerAttached = false;\n private _config = inject(MAT_INPUT_CONFIG, {optional: true});\n\n /** Whether the component is being rendered on the server. */\n readonly _isServer: boolean;\n\n /** Whether the component is a native html select. */\n readonly _isNativeSelect: boolean;\n\n /** Whether the component is a textarea. */\n readonly _isTextarea: boolean;\n\n /** Whether the input is inside of a form field. */\n readonly _isInFormField: boolean;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n focused: boolean = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n readonly stateChanges: Subject<void> = new Subject<void>();\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n controlType: string = 'mat-input';\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n autofilled = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get disabled(): boolean {\n return this._disabled;\n }\n set disabled(value: BooleanInput) {\n this._disabled = coerceBooleanProperty(value);\n\n // Browsers may not fire the blur event if the input is disabled too quickly.\n // Reset from here to ensure that the element doesn't become stuck.\n if (this.focused) {\n this.focused = false;\n this.stateChanges.next();\n }\n }\n protected _disabled = false;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get id(): string {\n return this._id;\n }\n set id(value: string) {\n this._id = value || this._uid;\n }\n protected _id: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input() placeholder: string;\n\n /**\n * Name of the input.\n * @docs-private\n */\n @Input() name: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get required(): boolean {\n return this._required ?? this.ngControl?.control?.hasValidator(Validators.required) ?? false;\n }\n set required(value: BooleanInput) {\n this._required = coerceBooleanProperty(value);\n }\n protected _required: boolean | undefined;\n\n /** Input type of the element. */\n @Input()\n get type(): string {\n return this._type;\n }\n set type(value: string) {\n this._type = value || 'text';\n this._validateType();\n\n // When using Angular inputs, developers are no longer able to set the properties on the native\n // input element. To ensure that bindings for `type` work, we need to sync the setter\n // with the native property. Textarea elements don't support the type property or attribute.\n if (!this._isTextarea && getSupportedInputTypes().has(this._type)) {\n (this._elementRef.nativeElement as HTMLInputElement).type = this._type;\n }\n\n this._ensureWheelDefaultBehavior();\n }\n protected _type = 'text';\n\n /** An object used to control when error messages are shown. */\n @Input()\n get errorStateMatcher() {\n return this._errorStateTracker.matcher;\n }\n set errorStateMatcher(value: ErrorStateMatcher) {\n this._errorStateTracker.matcher = value;\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input('aria-describedby') userAriaDescribedBy: string;\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n @Input()\n get value(): string {\n return this._signalBasedValueAccessor\n ? this._signalBasedValueAccessor.value()\n : this._inputValueAccessor.value;\n }\n set value(value: any) {\n if (value !== this.value) {\n if (this._signalBasedValueAccessor) {\n this._signalBasedValueAccessor.value.set(value);\n } else {\n this._inputValueAccessor.value = value;\n }\n\n this.stateChanges.next();\n }\n }\n\n /** Whether the element is readonly. */\n @Input()\n get readonly(): boolean {\n return this._readonly;\n }\n set readonly(value: BooleanInput) {\n this._readonly = coerceBooleanProperty(value);\n }\n private _readonly = false;\n\n /** Whether the input should remain interactive when it is disabled. */\n @Input({transform: booleanAttribute})\n disabledInteractive: boolean;\n\n /** Whether the input is in an error state. */\n get errorState() {\n return this._errorStateTracker.errorState;\n }\n set errorState(value: boolean) {\n this._errorStateTracker.errorState = value;\n }\n\n protected _neverEmptyInputTypes = [\n 'date',\n 'datetime',\n 'datetime-local',\n 'month',\n 'time',\n 'week',\n ].filter(t => getSupportedInputTypes().has(t));\n\n constructor(...args: unknown[]);\n\n constructor() {\n const parentForm = inject(NgForm, {optional: true});\n const parentFormGroup = inject(FormGroupDirective, {optional: true});\n const defaultErrorStateMatcher = inject(ErrorStateMatcher);\n const accessor = inject(MAT_INPUT_VALUE_ACCESSOR, {optional: true, self: true});\n\n const element = this._elementRef.nativeElement;\n const nodeName = element.nodeName.toLowerCase();\n\n if (accessor) {\n if (isSignal(accessor.value)) {\n this._signalBasedValueAccessor = accessor;\n } else {\n this._inputValueAccessor = accessor;\n }\n } else {\n // If no input value accessor was explicitly specified, use the element as the input value\n // accessor.\n this._inputValueAccessor = element;\n }\n\n this._previousNativeValue = this.value;\n\n // Force setter to be called in case id was not specified.\n this.id = this.id;\n\n // On some versions of iOS the caret gets stuck in the wrong place when holding down the delete\n // key. In order to get around this we need to \"jiggle\" the caret loose. Since this bug only\n // exists on iOS, we only bother to install the listener on iOS.\n if (this._platform.IOS) {\n this._ngZone.runOutsideAngular(() => {\n element.addEventListener('keyup', this._iOSKeyupListener);\n });\n }\n\n this._errorStateTracker = new _ErrorStateTracker(\n defaultErrorStateMatcher,\n this.ngControl,\n parentFormGroup,\n parentForm,\n this.stateChanges,\n );\n this._isServer = !this._platform.isBrowser;\n this._isNativeSelect = nodeName === 'select';\n this._isTextarea = nodeName === 'textarea';\n this._isInFormField = !!this._formField;\n this.disabledInteractive = this._config?.disabledInteractive || false;\n\n if (this._isNativeSelect) {\n this.controlType = (element as HTMLSelectElement).multiple\n ? 'mat-native-select-multiple'\n : 'mat-native-select';\n }\n\n if (this._signalBasedValueAccessor) {\n effect(() => {\n // Read the value so the effect can register the dependency.\n this._signalBasedValueAccessor!.value();\n this.stateChanges.next();\n });\n }\n }\n\n ngAfterViewInit() {\n if (this._platform.isBrowser) {\n this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(event => {\n this.autofilled = event.isAutofilled;\n this.stateChanges.next();\n });\n }\n }\n\n ngOnChanges() {\n this.stateChanges.next();\n }\n\n ngOnDestroy() {\n this.stateChanges.complete();\n\n if (this._platform.isBrowser) {\n this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);\n }\n\n if (this._platform.IOS) {\n this._elementRef.nativeElement.removeEventListener('keyup', this._iOSKeyupListener);\n }\n\n if (this._webkitBlinkWheelListenerAttached) {\n this._elementRef.nativeElement.removeEventListener('wheel', this._webkitBlinkWheelListener);\n }\n }\n\n ngDoCheck() {\n if (this.ngControl) {\n // We need to re-evaluate this on every change detection cycle, because there are some\n // error triggers that we can't subscribe to (e.g. parent form submissions). This means\n // that whatever logic is in here has to be super lean or we risk destroying the performance.\n this.updateErrorState();\n\n // Since the input isn't a `ControlValueAccessor`, we don't have a good way of knowing when\n // the disabled state has changed. We can't use the `ngControl.statusChanges`, because it\n // won't fire if the input is disabled with `emitEvents = false`, despite the input becoming\n // disabled.\n if (this.ngControl.disabled !== null && this.ngControl.disabled !== this.disabled) {\n this.disabled = this.ngControl.disabled;\n this.stateChanges.next();\n }\n }\n\n // We need to dirty-check the native element's value, because there are some cases where\n // we won't be notified when it changes (e.g. the consumer isn't using forms or they're\n // updating the value using `emitEvent: false`).\n this._dirtyCheckNativeValue();\n\n // We need to dirty-check and set the placeholder attribute ourselves, because whether it's\n // present or not depends on a query which is prone to \"changed after checked\" errors.\n this._dirtyCheckPlaceholder();\n }\n\n /** Focuses the input. */\n focus(options?: FocusOptions): void {\n this._elementRef.nativeElement.focus(options);\n }\n\n /** Refreshes the error state of the input. */\n updateErrorState() {\n this._errorStateTracker.updateErrorState();\n }\n\n /** Callback for the cases where the focused state of the input changes. */\n _focusChanged(isFocused: boolean) {\n if (isFocused === this.focused) {\n return;\n }\n\n if (!this._isNativeSelect && isFocused && this.disabled && this.disabledInteractive) {\n const element = this._elementRef.nativeElement as HTMLInputElement;\n\n // Focusing an input that has text will cause all the text to be selected. Clear it since\n // the user won't be able to change it. This is based on the internal implementation.\n if (element.type === 'number') {\n // setSelectionRange doesn't work on number inputs so it needs to be set briefly to text.\n element.type = 'text';\n element.setSelectionRange(0, 0);\n element.type = 'number';\n } else {\n element.setSelectionRange(0, 0);\n }\n }\n\n this.focused = isFocused;\n this.stateChanges.next();\n }\n\n _onInput() {\n // This is a noop function and is used to let Angular know whenever the value changes.\n // Angular will run a new change detection each time the `input` event has been dispatched.\n // It's necessary that Angular recognizes the value change, because when floatingLabel\n // is set to false and Angular forms aren't used, the placeholder won't recognize the\n // value changes and will not disappear.\n // Listening to the input event wouldn't be necessary when the input is using the\n // FormsModule or ReactiveFormsModule, because Angular forms also listens to input events.\n }\n\n /** Does some manual dirty checking on the native input `value` property. */\n protected _dirtyCheckNativeValue() {\n const newValue = this._elementRef.nativeElement.value;\n\n if (this._previousNativeValue !== newValue) {\n this._previousNativeValue = newValue;\n this.stateChanges.next();\n }\n }\n\n /** Does some manual dirty checking on the native input `placeholder` attribute. */\n private _dirtyCheckPlaceholder() {\n const placeholder = this._getPlaceholder();\n if (placeholder !== this._previousPlaceholder) {\n const element = this._elementRef.nativeElement;\n this._previousPlaceholder = placeholder;\n placeholder\n ? element.setAttribute('placeholder', placeholder)\n : element.removeAttribute('placeholder');\n }\n }\n\n /** Gets the current placeholder of the form field. */\n protected _getPlaceholder(): string | null {\n return this.placeholder || null;\n }\n\n /** Make sure the input is a supported type. */\n protected _validateType() {\n if (\n MAT_INPUT_INVALID_TYPES.indexOf(this._type) > -1 &&\n (typeof ngDevMode === 'undefined' || ngDevMode)\n ) {\n throw getMatInputUnsupportedTypeError(this._type);\n }\n }\n\n /** Checks whether the input type is one of the types that are never empty. */\n protected _isNeverEmpty() {\n return this._neverEmptyInputTypes.indexOf(this._type) > -1;\n }\n\n /** Checks whether the input is invalid based on the native validation. */\n protected _isBadInput() {\n // The `validity` property won't be present on platform-server.\n let validity = (this._elementRef.nativeElement as HTMLInputElement).validity;\n return validity && validity.badInput;\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get empty(): boolean {\n return (\n !this._isNeverEmpty() &&\n !this._elementRef.nativeElement.value &&\n !this._isBadInput() &&\n !this.autofilled\n );\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n get shouldLabelFloat(): boolean {\n if (this._isNativeSelect) {\n // For a single-selection `<select>`, the label should float when the selected option has\n // a non-empty display value. For a `<select multiple>`, the label *always* floats to avoid\n // overlapping the label with the options.\n const selectElement = this._elementRef.nativeElement as HTMLSelectElement;\n const firstOption: HTMLOptionElement | undefined = selectElement.options[0];\n\n // On most browsers the `selectedIndex` will always be 0, however on IE and Edge it'll be\n // -1 if the `value` is set to something, that isn't in the list of options, at a later point.\n return (\n this.focused ||\n selectElement.multiple ||\n !this.empty ||\n !!(selectElement.selectedIndex > -1 && firstOption && firstOption.label)\n );\n } else {\n return (this.focused && !this.disabled) || !this.empty;\n }\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n setDescribedByIds(ids: string[]) {\n if (ids.length) {\n this._elementRef.nativeElement.setAttribute('aria-describedby', ids.join(' '));\n } else {\n this._elementRef.nativeElement.removeAttribute('aria-describedby');\n }\n }\n\n /**\n * Implemented as part of MatFormFieldControl.\n * @docs-private\n */\n onContainerClick() {\n // Do not re-focus the input element if the element is already focused. Otherwise it can happen\n // that someone clicks on a time input and the cursor resets to the \"hours\" field while the\n // \"minutes\" field was actually clicked. See: https://github.com/angular/components/issues/12849\n if (!this.focused) {\n this.focus();\n }\n }\n\n /** Whether the form control is a native select that is displayed inline. */\n _isInlineSelect(): boolean {\n const element = this._elementRef.nativeElement as HTMLSelectElement;\n return this._isNativeSelect && (element.multiple || element.size > 1);\n }\n\n private _iOSKeyupListener = (event: Event): void => {\n const el = event.target as HTMLInputElement;\n\n // Note: We specifically check for 0, rather than `!el.selectionStart`, because the two\n // indicate different things. If the value is 0, it means that the caret is at the start\n // of the input, whereas a value of `null` means that the input doesn't support\n // manipulating the selection range. Inputs that don't support setting the selection range\n // will throw an error so we want to avoid calling `setSelectionRange` on them. See:\n // https://html.spec.whatwg.org/multipage/input.html#do-not-apply\n if (!el.value && el.selectionStart === 0 && el.selectionEnd === 0) {\n // Note: Just setting `0, 0` doesn't fix the issue. Setting\n // `1, 1` fixes it for the first time that you type text and\n // then hold delete. Toggling to `1, 1` and then back to\n // `0, 0` seems to completely fix it.\n el.setSelectionRange(1, 1);\n el.setSelectionRange(0, 0);\n }\n };\n\n private _webkitBlinkWheelListener = (): void => {\n // This is a noop function and is used to enable mouse wheel input\n // on number inputs\n // on blink and webkit browsers.\n };\n\n /**\n * In blink and webkit browsers a focused number input does not increment or decrement its value\n * on mouse wheel interaction unless a wheel event listener is attached to it or one of its ancestors or a passive wheel listener is attached somewhere in the DOM.\n * For example: Hitting a tooltip once enables the mouse wheel input for all number inputs as long as it exists.\n * In order to get reliable and intuitive behavior we apply a wheel event on our own\n * thus making sure increment and decrement by mouse wheel works every time.\n * @docs-private\n */\n private _ensureWheelDefaultBehavior(): void {\n if (\n !this._webkitBlinkWheelListenerAttached &&\n this._type === 'number' &&\n (this._platform.BLINK || this._platform.WEBKIT)\n ) {\n this._ngZone.runOutsideAngular(() => {\n this._elementRef.nativeElement.addEventListener('wheel', this._webkitBlinkWheelListener);\n });\n this._webkitBlinkWheelListenerAttached = true;\n }\n\n if (this._webkitBlinkWheelListenerAttached && this._type !== 'number') {\n this._elementRef.nativeElement.removeEventListener('wheel', this._webkitBlinkWheelListener);\n this._webkitBlinkWheelListenerAttached = true;\n }\n }\n\n /** Gets the value to set on the `readonly` attribute. */\n protected _getReadonlyAttribute(): string | null {\n if (this._isNativeSelect) {\n return null;\n }\n\n if (this.readonly || (this.disabled && this.disabledInteractive)) {\n return 'true';\n }\n\n return null;\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {TextFieldModule} from '@angular/cdk/text-field';\nimport {NgModule} from '@angular/core';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatInput} from './input';\n\n@NgModule({\n imports: [MatCommonModule, MatFormFieldModule, MatInput],\n exports: [MatInput, MatFormFieldModule, TextFieldModule, MatCommonModule],\n})\nexport class MatInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAQA;AACM,SAAU,+BAA+B,CAAC,IAAY,EAAA;AAC1D,IAAA,OAAO,KAAK,CAAC,CAAA,YAAA,EAAe,IAAI,CAAA,8BAAA,CAAgC,CAAC,CAAC;AACpE;;ACDA;;;;;AAKG;MACU,wBAAwB,GAAG,IAAI,cAAc,CACxD,0BAA0B;;ACiB5B;AACA,MAAM,uBAAuB,GAAG;IAC9B,QAAQ;IACR,UAAU;IACV,MAAM;IACN,QAAQ;IACR,OAAO;IACP,OAAO;IACP,OAAO;IACP,OAAO;IACP,QAAQ;CACT,CAAC;AAEF,IAAI,YAAY,GAAG,CAAC,CAAC;AAQr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