@angular/material 15.0.0-next.0 → 15.0.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (589) hide show
  1. package/autocomplete/index.d.ts +6 -6
  2. package/badge/index.d.ts +1 -1
  3. package/bottom-sheet/index.d.ts +1 -1
  4. package/button/index.d.ts +10 -10
  5. package/button/testing/index.d.ts +7 -3
  6. package/button-toggle/index.d.ts +2 -2
  7. package/card/index.d.ts +14 -14
  8. package/checkbox/index.d.ts +3 -3
  9. package/chips/index.d.ts +12 -12
  10. package/core/index.d.ts +7 -7
  11. package/core/theming/_theming.scss +10 -0
  12. package/core/typography/_all-typography.scss +5 -5
  13. package/datepicker/index.d.ts +22 -21
  14. package/dialog/index.d.ts +6 -6
  15. package/divider/index.d.ts +1 -1
  16. package/esm2020/autocomplete/autocomplete-origin.mjs +7 -7
  17. package/esm2020/autocomplete/autocomplete-trigger.mjs +7 -7
  18. package/esm2020/autocomplete/autocomplete.mjs +7 -7
  19. package/esm2020/autocomplete/module.mjs +5 -5
  20. package/esm2020/badge/badge-module.mjs +5 -5
  21. package/esm2020/badge/badge.mjs +4 -4
  22. package/esm2020/bottom-sheet/bottom-sheet-container.mjs +4 -4
  23. package/esm2020/bottom-sheet/bottom-sheet-module.mjs +5 -5
  24. package/esm2020/bottom-sheet/bottom-sheet.mjs +4 -4
  25. package/esm2020/button/button-base.mjs +7 -7
  26. package/esm2020/button/button.mjs +7 -7
  27. package/esm2020/button/fab.mjs +13 -13
  28. package/esm2020/button/icon-button.mjs +7 -7
  29. package/esm2020/button/module.mjs +5 -5
  30. package/esm2020/button/testing/button-harness-filters.mjs +9 -0
  31. package/esm2020/button/testing/button-harness.mjs +1 -1
  32. package/esm2020/button/testing/public-api.mjs +2 -1
  33. package/esm2020/button-toggle/button-toggle-module.mjs +5 -5
  34. package/esm2020/button-toggle/button-toggle.mjs +7 -7
  35. package/esm2020/card/card.mjs +43 -43
  36. package/esm2020/card/module.mjs +5 -5
  37. package/esm2020/checkbox/checkbox-required-validator.mjs +4 -4
  38. package/esm2020/checkbox/checkbox.mjs +7 -7
  39. package/esm2020/checkbox/module.mjs +9 -9
  40. package/esm2020/chips/chip-action.mjs +4 -4
  41. package/esm2020/chips/chip-edit-input.mjs +4 -4
  42. package/esm2020/chips/chip-grid.mjs +4 -4
  43. package/esm2020/chips/chip-icons.mjs +10 -10
  44. package/esm2020/chips/chip-input.mjs +4 -4
  45. package/esm2020/chips/chip-listbox.mjs +4 -4
  46. package/esm2020/chips/chip-option.mjs +4 -4
  47. package/esm2020/chips/chip-row.mjs +4 -4
  48. package/esm2020/chips/chip-set.mjs +4 -4
  49. package/esm2020/chips/chip.mjs +4 -4
  50. package/esm2020/chips/module.mjs +5 -5
  51. package/esm2020/core/common-behaviors/common-module.mjs +5 -5
  52. package/esm2020/core/datetime/index.mjs +9 -9
  53. package/esm2020/core/datetime/native-date-adapter.mjs +4 -4
  54. package/esm2020/core/error/error-options.mjs +7 -7
  55. package/esm2020/core/line/line.mjs +8 -8
  56. package/esm2020/core/option/index.mjs +5 -5
  57. package/esm2020/core/option/optgroup.mjs +7 -7
  58. package/esm2020/core/option/option.mjs +7 -7
  59. package/esm2020/core/ripple/index.mjs +5 -5
  60. package/esm2020/core/ripple/ripple.mjs +4 -4
  61. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox-module.mjs +5 -5
  62. package/esm2020/core/selection/pseudo-checkbox/pseudo-checkbox.mjs +4 -4
  63. package/esm2020/core/version.mjs +1 -1
  64. package/esm2020/datepicker/calendar-body.mjs +4 -4
  65. package/esm2020/datepicker/calendar.mjs +7 -7
  66. package/esm2020/datepicker/date-range-input-parts.mjs +10 -10
  67. package/esm2020/datepicker/date-range-input.mjs +4 -4
  68. package/esm2020/datepicker/date-range-picker.mjs +4 -4
  69. package/esm2020/datepicker/date-range-selection-strategy.mjs +4 -4
  70. package/esm2020/datepicker/date-selection-model.mjs +10 -10
  71. package/esm2020/datepicker/datepicker-actions.mjs +10 -10
  72. package/esm2020/datepicker/datepicker-base.mjs +31 -18
  73. package/esm2020/datepicker/datepicker-input-base.mjs +4 -4
  74. package/esm2020/datepicker/datepicker-input.mjs +4 -4
  75. package/esm2020/datepicker/datepicker-intl.mjs +4 -4
  76. package/esm2020/datepicker/datepicker-module.mjs +5 -5
  77. package/esm2020/datepicker/datepicker-toggle.mjs +7 -7
  78. package/esm2020/datepicker/datepicker.mjs +4 -4
  79. package/esm2020/datepicker/month-view.mjs +4 -4
  80. package/esm2020/datepicker/multi-year-view.mjs +4 -4
  81. package/esm2020/datepicker/year-view.mjs +4 -4
  82. package/esm2020/dialog/dialog-container.mjs +8 -8
  83. package/esm2020/dialog/dialog-content-directives.mjs +13 -13
  84. package/esm2020/dialog/dialog.mjs +7 -7
  85. package/esm2020/dialog/module.mjs +5 -5
  86. package/esm2020/divider/divider-module.mjs +5 -5
  87. package/esm2020/divider/divider.mjs +4 -4
  88. package/esm2020/expansion/accordion.mjs +4 -4
  89. package/esm2020/expansion/expansion-module.mjs +5 -5
  90. package/esm2020/expansion/expansion-panel-content.mjs +4 -4
  91. package/esm2020/expansion/expansion-panel-header.mjs +10 -10
  92. package/esm2020/expansion/expansion-panel.mjs +7 -7
  93. package/esm2020/form-field/directives/error.mjs +4 -4
  94. package/esm2020/form-field/directives/floating-label.mjs +4 -4
  95. package/esm2020/form-field/directives/hint.mjs +4 -4
  96. package/esm2020/form-field/directives/label.mjs +4 -4
  97. package/esm2020/form-field/directives/line-ripple.mjs +4 -4
  98. package/esm2020/form-field/directives/notched-outline.mjs +4 -4
  99. package/esm2020/form-field/directives/prefix.mjs +4 -4
  100. package/esm2020/form-field/directives/suffix.mjs +4 -4
  101. package/esm2020/form-field/form-field-control.mjs +4 -4
  102. package/esm2020/form-field/form-field.mjs +5 -5
  103. package/esm2020/form-field/module.mjs +5 -5
  104. package/esm2020/grid-list/grid-list-module.mjs +5 -5
  105. package/esm2020/grid-list/grid-list.mjs +4 -4
  106. package/esm2020/grid-list/grid-tile.mjs +16 -16
  107. package/esm2020/icon/icon-module.mjs +5 -5
  108. package/esm2020/icon/icon-registry.mjs +4 -4
  109. package/esm2020/icon/icon.mjs +4 -4
  110. package/esm2020/icon/testing/fake-icon-registry.mjs +8 -8
  111. package/esm2020/input/input.mjs +4 -4
  112. package/esm2020/input/module.mjs +5 -5
  113. package/esm2020/legacy-autocomplete/autocomplete-module.mjs +5 -5
  114. package/esm2020/legacy-autocomplete/autocomplete-origin.mjs +4 -4
  115. package/esm2020/legacy-autocomplete/autocomplete-trigger.mjs +4 -4
  116. package/esm2020/legacy-autocomplete/autocomplete.mjs +4 -4
  117. package/esm2020/legacy-button/button-module.mjs +5 -5
  118. package/esm2020/legacy-button/button.mjs +7 -7
  119. package/esm2020/legacy-button/testing/button-harness.mjs +1 -1
  120. package/esm2020/legacy-button/testing/public-api.mjs +1 -1
  121. package/esm2020/legacy-card/card-module.mjs +5 -5
  122. package/esm2020/legacy-card/card.mjs +43 -43
  123. package/esm2020/legacy-checkbox/checkbox-module.mjs +5 -5
  124. package/esm2020/legacy-checkbox/checkbox.mjs +4 -4
  125. package/esm2020/legacy-chips/chip-input.mjs +4 -4
  126. package/esm2020/legacy-chips/chip-list.mjs +4 -4
  127. package/esm2020/legacy-chips/chip.mjs +13 -13
  128. package/esm2020/legacy-chips/chips-module.mjs +5 -5
  129. package/esm2020/legacy-core/option/index.mjs +5 -5
  130. package/esm2020/legacy-core/option/optgroup.mjs +4 -4
  131. package/esm2020/legacy-core/option/option.mjs +4 -4
  132. package/esm2020/legacy-dialog/dialog-container.mjs +4 -4
  133. package/esm2020/legacy-dialog/dialog-content-directives.mjs +13 -13
  134. package/esm2020/legacy-dialog/dialog-module.mjs +5 -5
  135. package/esm2020/legacy-dialog/dialog.mjs +4 -4
  136. package/esm2020/legacy-form-field/error.mjs +4 -4
  137. package/esm2020/legacy-form-field/form-field-module.mjs +5 -5
  138. package/esm2020/legacy-form-field/form-field.mjs +4 -4
  139. package/esm2020/legacy-form-field/hint.mjs +4 -4
  140. package/esm2020/legacy-form-field/label.mjs +4 -4
  141. package/esm2020/legacy-form-field/placeholder.mjs +4 -4
  142. package/esm2020/legacy-form-field/prefix.mjs +4 -4
  143. package/esm2020/legacy-form-field/suffix.mjs +4 -4
  144. package/esm2020/legacy-input/input-module.mjs +5 -5
  145. package/esm2020/legacy-input/input.mjs +4 -4
  146. package/esm2020/legacy-list/list-module.mjs +5 -5
  147. package/esm2020/legacy-list/list.mjs +19 -19
  148. package/esm2020/legacy-list/selection-list.mjs +7 -7
  149. package/esm2020/legacy-menu/menu-content.mjs +4 -4
  150. package/esm2020/legacy-menu/menu-item.mjs +4 -4
  151. package/esm2020/legacy-menu/menu-module.mjs +5 -5
  152. package/esm2020/legacy-menu/menu-trigger.mjs +4 -4
  153. package/esm2020/legacy-menu/menu.mjs +4 -4
  154. package/esm2020/legacy-paginator/paginator-module.mjs +5 -5
  155. package/esm2020/legacy-paginator/paginator.mjs +4 -4
  156. package/esm2020/legacy-progress-bar/progress-bar-module.mjs +5 -5
  157. package/esm2020/legacy-progress-bar/progress-bar.mjs +9 -36
  158. package/esm2020/legacy-progress-bar/public-api.mjs +3 -2
  159. package/esm2020/legacy-progress-bar/testing/progress-bar-harness.mjs +1 -1
  160. package/esm2020/legacy-progress-bar/testing/public-api.mjs +1 -1
  161. package/esm2020/legacy-progress-spinner/progress-spinner-module.mjs +5 -5
  162. package/esm2020/legacy-progress-spinner/progress-spinner.mjs +7 -23
  163. package/esm2020/legacy-progress-spinner/public-api.mjs +3 -2
  164. package/esm2020/legacy-progress-spinner/testing/progress-spinner-harness.mjs +1 -1
  165. package/esm2020/legacy-progress-spinner/testing/public-api.mjs +1 -1
  166. package/esm2020/legacy-radio/radio-module.mjs +5 -5
  167. package/esm2020/legacy-radio/radio.mjs +7 -7
  168. package/esm2020/legacy-select/select-module.mjs +5 -5
  169. package/esm2020/legacy-select/select.mjs +7 -7
  170. package/esm2020/legacy-slide-toggle/slide-toggle-module.mjs +5 -5
  171. package/esm2020/legacy-slide-toggle/slide-toggle.mjs +4 -4
  172. package/esm2020/legacy-slider/slider-module.mjs +5 -5
  173. package/esm2020/legacy-slider/slider.mjs +4 -4
  174. package/esm2020/legacy-snack-bar/simple-snack-bar.mjs +4 -4
  175. package/esm2020/legacy-snack-bar/snack-bar-container.mjs +4 -4
  176. package/esm2020/legacy-snack-bar/snack-bar-module.mjs +5 -5
  177. package/esm2020/legacy-snack-bar/snack-bar.mjs +4 -4
  178. package/esm2020/legacy-table/cell.mjs +22 -22
  179. package/esm2020/legacy-table/row.mjs +22 -22
  180. package/esm2020/legacy-table/table-module.mjs +5 -5
  181. package/esm2020/legacy-table/table.mjs +7 -7
  182. package/esm2020/legacy-table/text-column.mjs +4 -4
  183. package/esm2020/legacy-tabs/ink-bar.mjs +4 -4
  184. package/esm2020/legacy-tabs/tab-body.mjs +7 -7
  185. package/esm2020/legacy-tabs/tab-content.mjs +4 -4
  186. package/esm2020/legacy-tabs/tab-group.mjs +4 -4
  187. package/esm2020/legacy-tabs/tab-header.mjs +4 -4
  188. package/esm2020/legacy-tabs/tab-label-wrapper.mjs +4 -4
  189. package/esm2020/legacy-tabs/tab-label.mjs +4 -4
  190. package/esm2020/legacy-tabs/tab-nav-bar/tab-nav-bar.mjs +10 -10
  191. package/esm2020/legacy-tabs/tab.mjs +4 -4
  192. package/esm2020/legacy-tabs/tabs-module.mjs +5 -5
  193. package/esm2020/legacy-tooltip/tooltip-module.mjs +5 -5
  194. package/esm2020/legacy-tooltip/tooltip.mjs +7 -7
  195. package/esm2020/list/action-list.mjs +4 -4
  196. package/esm2020/list/list-base.mjs +7 -7
  197. package/esm2020/list/list-item-sections.mjs +19 -19
  198. package/esm2020/list/list-module.mjs +5 -5
  199. package/esm2020/list/list-option.mjs +4 -4
  200. package/esm2020/list/list.mjs +7 -7
  201. package/esm2020/list/nav-list.mjs +4 -4
  202. package/esm2020/list/selection-list.mjs +4 -4
  203. package/esm2020/list/subheader.mjs +4 -4
  204. package/esm2020/menu/menu-content.mjs +7 -7
  205. package/esm2020/menu/menu-item.mjs +9 -4
  206. package/esm2020/menu/menu-trigger.mjs +9 -11
  207. package/esm2020/menu/menu.mjs +7 -7
  208. package/esm2020/menu/module.mjs +5 -5
  209. package/esm2020/paginator/module.mjs +5 -5
  210. package/esm2020/paginator/paginator-intl.mjs +4 -4
  211. package/esm2020/paginator/paginator.mjs +7 -7
  212. package/esm2020/progress-bar/module.mjs +5 -5
  213. package/esm2020/progress-bar/progress-bar.mjs +29 -10
  214. package/esm2020/progress-bar/public-api.mjs +1 -2
  215. package/esm2020/progress-bar/testing/progress-bar-harness-filters.mjs +9 -0
  216. package/esm2020/progress-bar/testing/progress-bar-harness.mjs +1 -1
  217. package/esm2020/progress-bar/testing/public-api.mjs +2 -1
  218. package/esm2020/progress-spinner/module.mjs +5 -5
  219. package/esm2020/progress-spinner/progress-spinner.mjs +16 -8
  220. package/esm2020/progress-spinner/public-api.mjs +1 -2
  221. package/esm2020/progress-spinner/testing/progress-spinner-harness-filters.mjs +9 -0
  222. package/esm2020/progress-spinner/testing/progress-spinner-harness.mjs +1 -1
  223. package/esm2020/progress-spinner/testing/public-api.mjs +2 -1
  224. package/esm2020/radio/module.mjs +5 -5
  225. package/esm2020/radio/radio.mjs +13 -13
  226. package/esm2020/select/module.mjs +5 -5
  227. package/esm2020/select/select.mjs +12 -12
  228. package/esm2020/sidenav/drawer.mjs +10 -10
  229. package/esm2020/sidenav/sidenav-module.mjs +5 -5
  230. package/esm2020/sidenav/sidenav.mjs +10 -10
  231. package/esm2020/slide-toggle/module.mjs +9 -9
  232. package/esm2020/slide-toggle/slide-toggle-required-validator.mjs +4 -4
  233. package/esm2020/slide-toggle/slide-toggle.mjs +7 -7
  234. package/esm2020/slider/global-change-and-input-listener.mjs +4 -4
  235. package/esm2020/slider/module.mjs +5 -5
  236. package/esm2020/slider/slider.mjs +11 -11
  237. package/esm2020/snack-bar/module.mjs +5 -5
  238. package/esm2020/snack-bar/simple-snack-bar.mjs +4 -4
  239. package/esm2020/snack-bar/snack-bar-container.mjs +7 -7
  240. package/esm2020/snack-bar/snack-bar-content.mjs +10 -10
  241. package/esm2020/snack-bar/snack-bar.mjs +7 -7
  242. package/esm2020/sort/sort-header-intl.mjs +4 -4
  243. package/esm2020/sort/sort-header.mjs +4 -4
  244. package/esm2020/sort/sort-module.mjs +5 -5
  245. package/esm2020/sort/sort.mjs +4 -4
  246. package/esm2020/stepper/step-content.mjs +4 -4
  247. package/esm2020/stepper/step-header.mjs +4 -4
  248. package/esm2020/stepper/step-label.mjs +4 -4
  249. package/esm2020/stepper/stepper-button.mjs +7 -7
  250. package/esm2020/stepper/stepper-icon.mjs +4 -4
  251. package/esm2020/stepper/stepper-intl.mjs +4 -4
  252. package/esm2020/stepper/stepper-module.mjs +5 -9
  253. package/esm2020/stepper/stepper.mjs +7 -7
  254. package/esm2020/table/cell.mjs +22 -22
  255. package/esm2020/table/module.mjs +5 -5
  256. package/esm2020/table/row.mjs +22 -22
  257. package/esm2020/table/table.mjs +7 -7
  258. package/esm2020/table/text-column.mjs +4 -4
  259. package/esm2020/tabs/module.mjs +5 -5
  260. package/esm2020/tabs/paginated-tab-header.mjs +4 -4
  261. package/esm2020/tabs/tab-body.mjs +10 -10
  262. package/esm2020/tabs/tab-content.mjs +4 -4
  263. package/esm2020/tabs/tab-group.mjs +7 -7
  264. package/esm2020/tabs/tab-header.mjs +7 -7
  265. package/esm2020/tabs/tab-label-wrapper.mjs +7 -7
  266. package/esm2020/tabs/tab-label.mjs +4 -4
  267. package/esm2020/tabs/tab-nav-bar/tab-nav-bar.mjs +16 -16
  268. package/esm2020/tabs/tab.mjs +7 -7
  269. package/esm2020/toolbar/toolbar-module.mjs +5 -5
  270. package/esm2020/toolbar/toolbar.mjs +7 -7
  271. package/esm2020/tooltip/module.mjs +5 -5
  272. package/esm2020/tooltip/tooltip.mjs +13 -13
  273. package/esm2020/tree/node.mjs +10 -10
  274. package/esm2020/tree/outlet.mjs +4 -4
  275. package/esm2020/tree/padding.mjs +4 -4
  276. package/esm2020/tree/toggle.mjs +4 -4
  277. package/esm2020/tree/tree-module.mjs +5 -5
  278. package/esm2020/tree/tree.mjs +4 -4
  279. package/expansion/index.d.ts +7 -7
  280. package/fesm2015/autocomplete.mjs +22 -22
  281. package/fesm2015/autocomplete.mjs.map +1 -1
  282. package/fesm2015/badge.mjs +7 -7
  283. package/fesm2015/badge.mjs.map +1 -1
  284. package/fesm2015/bottom-sheet.mjs +10 -10
  285. package/fesm2015/bottom-sheet.mjs.map +1 -1
  286. package/fesm2015/button/testing.mjs.map +1 -1
  287. package/fesm2015/button-toggle.mjs +10 -10
  288. package/fesm2015/button-toggle.mjs.map +1 -1
  289. package/fesm2015/button.mjs +34 -34
  290. package/fesm2015/button.mjs.map +1 -1
  291. package/fesm2015/card.mjs +46 -46
  292. package/fesm2015/card.mjs.map +1 -1
  293. package/fesm2015/checkbox.mjs +17 -17
  294. package/fesm2015/checkbox.mjs.map +1 -1
  295. package/fesm2015/chips.mjs +40 -40
  296. package/fesm2015/chips.mjs.map +1 -1
  297. package/fesm2015/core.mjs +59 -59
  298. package/fesm2015/core.mjs.map +1 -1
  299. package/fesm2015/datepicker.mjs +106 -94
  300. package/fesm2015/datepicker.mjs.map +1 -1
  301. package/fesm2015/dialog.mjs +29 -29
  302. package/fesm2015/dialog.mjs.map +1 -1
  303. package/fesm2015/divider.mjs +7 -7
  304. package/fesm2015/divider.mjs.map +1 -1
  305. package/fesm2015/expansion.mjs +25 -25
  306. package/fesm2015/expansion.mjs.map +1 -1
  307. package/fesm2015/form-field.mjs +35 -35
  308. package/fesm2015/form-field.mjs.map +1 -1
  309. package/fesm2015/grid-list.mjs +22 -22
  310. package/fesm2015/grid-list.mjs.map +1 -1
  311. package/fesm2015/icon/testing.mjs +7 -7
  312. package/fesm2015/icon/testing.mjs.map +1 -1
  313. package/fesm2015/icon.mjs +10 -10
  314. package/fesm2015/icon.mjs.map +1 -1
  315. package/fesm2015/input.mjs +7 -7
  316. package/fesm2015/input.mjs.map +1 -1
  317. package/fesm2015/legacy-autocomplete.mjs +13 -13
  318. package/fesm2015/legacy-autocomplete.mjs.map +1 -1
  319. package/fesm2015/legacy-button/testing.mjs.map +1 -1
  320. package/fesm2015/legacy-button.mjs +10 -10
  321. package/fesm2015/legacy-button.mjs.map +1 -1
  322. package/fesm2015/legacy-card.mjs +46 -46
  323. package/fesm2015/legacy-card.mjs.map +1 -1
  324. package/fesm2015/legacy-checkbox.mjs +7 -7
  325. package/fesm2015/legacy-checkbox.mjs.map +1 -1
  326. package/fesm2015/legacy-chips.mjs +22 -22
  327. package/fesm2015/legacy-chips.mjs.map +1 -1
  328. package/fesm2015/legacy-core.mjs +10 -10
  329. package/fesm2015/legacy-core.mjs.map +1 -1
  330. package/fesm2015/legacy-dialog.mjs +22 -22
  331. package/fesm2015/legacy-dialog.mjs.map +1 -1
  332. package/fesm2015/legacy-form-field.mjs +25 -25
  333. package/fesm2015/legacy-form-field.mjs.map +1 -1
  334. package/fesm2015/legacy-input.mjs +7 -7
  335. package/fesm2015/legacy-input.mjs.map +1 -1
  336. package/fesm2015/legacy-list.mjs +28 -28
  337. package/fesm2015/legacy-list.mjs.map +1 -1
  338. package/fesm2015/legacy-menu.mjs +16 -16
  339. package/fesm2015/legacy-menu.mjs.map +1 -1
  340. package/fesm2015/legacy-paginator.mjs +7 -7
  341. package/fesm2015/legacy-paginator.mjs.map +1 -1
  342. package/fesm2015/legacy-progress-bar/testing.mjs.map +1 -1
  343. package/fesm2015/legacy-progress-bar.mjs +15 -40
  344. package/fesm2015/legacy-progress-bar.mjs.map +1 -1
  345. package/fesm2015/legacy-progress-spinner/testing.mjs.map +1 -1
  346. package/fesm2015/legacy-progress-spinner.mjs +12 -27
  347. package/fesm2015/legacy-progress-spinner.mjs.map +1 -1
  348. package/fesm2015/legacy-radio.mjs +10 -10
  349. package/fesm2015/legacy-radio.mjs.map +1 -1
  350. package/fesm2015/legacy-select.mjs +10 -10
  351. package/fesm2015/legacy-select.mjs.map +1 -1
  352. package/fesm2015/legacy-slide-toggle.mjs +7 -7
  353. package/fesm2015/legacy-slide-toggle.mjs.map +1 -1
  354. package/fesm2015/legacy-slider.mjs +7 -7
  355. package/fesm2015/legacy-slider.mjs.map +1 -1
  356. package/fesm2015/legacy-snack-bar.mjs +13 -13
  357. package/fesm2015/legacy-snack-bar.mjs.map +1 -1
  358. package/fesm2015/legacy-table.mjs +55 -55
  359. package/fesm2015/legacy-table.mjs.map +1 -1
  360. package/fesm2015/legacy-tabs.mjs +40 -40
  361. package/fesm2015/legacy-tabs.mjs.map +1 -1
  362. package/fesm2015/legacy-tooltip.mjs +10 -10
  363. package/fesm2015/legacy-tooltip.mjs.map +1 -1
  364. package/fesm2015/list.mjs +49 -49
  365. package/fesm2015/list.mjs.map +1 -1
  366. package/fesm2015/menu.mjs +34 -29
  367. package/fesm2015/menu.mjs.map +1 -1
  368. package/fesm2015/paginator.mjs +13 -13
  369. package/fesm2015/paginator.mjs.map +1 -1
  370. package/fesm2015/progress-bar/testing.mjs.map +1 -1
  371. package/fesm2015/progress-bar.mjs +33 -15
  372. package/fesm2015/progress-bar.mjs.map +1 -1
  373. package/fesm2015/progress-spinner/testing.mjs.map +1 -1
  374. package/fesm2015/progress-spinner.mjs +20 -13
  375. package/fesm2015/progress-spinner.mjs.map +1 -1
  376. package/fesm2015/radio.mjs +16 -16
  377. package/fesm2015/radio.mjs.map +1 -1
  378. package/fesm2015/select.mjs +15 -15
  379. package/fesm2015/select.mjs.map +1 -1
  380. package/fesm2015/sidenav.mjs +22 -22
  381. package/fesm2015/sidenav.mjs.map +1 -1
  382. package/fesm2015/slide-toggle.mjs +17 -17
  383. package/fesm2015/slide-toggle.mjs.map +1 -1
  384. package/fesm2015/slider.mjs +17 -17
  385. package/fesm2015/slider.mjs.map +1 -1
  386. package/fesm2015/snack-bar.mjs +28 -28
  387. package/fesm2015/snack-bar.mjs.map +1 -1
  388. package/fesm2015/sort.mjs +13 -13
  389. package/fesm2015/sort.mjs.map +1 -1
  390. package/fesm2015/stepper.mjs +31 -35
  391. package/fesm2015/stepper.mjs.map +1 -1
  392. package/fesm2015/table.mjs +55 -55
  393. package/fesm2015/table.mjs.map +1 -1
  394. package/fesm2015/tabs.mjs +61 -61
  395. package/fesm2015/tabs.mjs.map +1 -1
  396. package/fesm2015/toolbar.mjs +10 -10
  397. package/fesm2015/toolbar.mjs.map +1 -1
  398. package/fesm2015/tooltip.mjs +16 -16
  399. package/fesm2015/tooltip.mjs.map +1 -1
  400. package/fesm2015/tree.mjs +25 -25
  401. package/fesm2015/tree.mjs.map +1 -1
  402. package/fesm2020/autocomplete.mjs +22 -22
  403. package/fesm2020/autocomplete.mjs.map +1 -1
  404. package/fesm2020/badge.mjs +7 -7
  405. package/fesm2020/badge.mjs.map +1 -1
  406. package/fesm2020/bottom-sheet.mjs +10 -10
  407. package/fesm2020/bottom-sheet.mjs.map +1 -1
  408. package/fesm2020/button/testing.mjs +8 -0
  409. package/fesm2020/button/testing.mjs.map +1 -1
  410. package/fesm2020/button-toggle.mjs +10 -10
  411. package/fesm2020/button-toggle.mjs.map +1 -1
  412. package/fesm2020/button.mjs +34 -34
  413. package/fesm2020/button.mjs.map +1 -1
  414. package/fesm2020/card.mjs +46 -46
  415. package/fesm2020/card.mjs.map +1 -1
  416. package/fesm2020/checkbox.mjs +17 -17
  417. package/fesm2020/checkbox.mjs.map +1 -1
  418. package/fesm2020/chips.mjs +40 -40
  419. package/fesm2020/chips.mjs.map +1 -1
  420. package/fesm2020/core.mjs +59 -59
  421. package/fesm2020/core.mjs.map +1 -1
  422. package/fesm2020/datepicker.mjs +106 -94
  423. package/fesm2020/datepicker.mjs.map +1 -1
  424. package/fesm2020/dialog.mjs +29 -29
  425. package/fesm2020/dialog.mjs.map +1 -1
  426. package/fesm2020/divider.mjs +7 -7
  427. package/fesm2020/divider.mjs.map +1 -1
  428. package/fesm2020/expansion.mjs +25 -25
  429. package/fesm2020/expansion.mjs.map +1 -1
  430. package/fesm2020/form-field.mjs +35 -35
  431. package/fesm2020/form-field.mjs.map +1 -1
  432. package/fesm2020/grid-list.mjs +22 -22
  433. package/fesm2020/grid-list.mjs.map +1 -1
  434. package/fesm2020/icon/testing.mjs +7 -7
  435. package/fesm2020/icon/testing.mjs.map +1 -1
  436. package/fesm2020/icon.mjs +10 -10
  437. package/fesm2020/icon.mjs.map +1 -1
  438. package/fesm2020/input.mjs +7 -7
  439. package/fesm2020/input.mjs.map +1 -1
  440. package/fesm2020/legacy-autocomplete.mjs +13 -13
  441. package/fesm2020/legacy-autocomplete.mjs.map +1 -1
  442. package/fesm2020/legacy-button/testing.mjs.map +1 -1
  443. package/fesm2020/legacy-button.mjs +10 -10
  444. package/fesm2020/legacy-button.mjs.map +1 -1
  445. package/fesm2020/legacy-card.mjs +46 -46
  446. package/fesm2020/legacy-card.mjs.map +1 -1
  447. package/fesm2020/legacy-checkbox.mjs +7 -7
  448. package/fesm2020/legacy-checkbox.mjs.map +1 -1
  449. package/fesm2020/legacy-chips.mjs +22 -22
  450. package/fesm2020/legacy-chips.mjs.map +1 -1
  451. package/fesm2020/legacy-core.mjs +10 -10
  452. package/fesm2020/legacy-core.mjs.map +1 -1
  453. package/fesm2020/legacy-dialog.mjs +22 -22
  454. package/fesm2020/legacy-dialog.mjs.map +1 -1
  455. package/fesm2020/legacy-form-field.mjs +25 -25
  456. package/fesm2020/legacy-form-field.mjs.map +1 -1
  457. package/fesm2020/legacy-input.mjs +7 -7
  458. package/fesm2020/legacy-input.mjs.map +1 -1
  459. package/fesm2020/legacy-list.mjs +28 -28
  460. package/fesm2020/legacy-list.mjs.map +1 -1
  461. package/fesm2020/legacy-menu.mjs +16 -16
  462. package/fesm2020/legacy-menu.mjs.map +1 -1
  463. package/fesm2020/legacy-paginator.mjs +7 -7
  464. package/fesm2020/legacy-paginator.mjs.map +1 -1
  465. package/fesm2020/legacy-progress-bar/testing.mjs.map +1 -1
  466. package/fesm2020/legacy-progress-bar.mjs +15 -40
  467. package/fesm2020/legacy-progress-bar.mjs.map +1 -1
  468. package/fesm2020/legacy-progress-spinner/testing.mjs.map +1 -1
  469. package/fesm2020/legacy-progress-spinner.mjs +12 -27
  470. package/fesm2020/legacy-progress-spinner.mjs.map +1 -1
  471. package/fesm2020/legacy-radio.mjs +10 -10
  472. package/fesm2020/legacy-radio.mjs.map +1 -1
  473. package/fesm2020/legacy-select.mjs +10 -10
  474. package/fesm2020/legacy-select.mjs.map +1 -1
  475. package/fesm2020/legacy-slide-toggle.mjs +7 -7
  476. package/fesm2020/legacy-slide-toggle.mjs.map +1 -1
  477. package/fesm2020/legacy-slider.mjs +7 -7
  478. package/fesm2020/legacy-slider.mjs.map +1 -1
  479. package/fesm2020/legacy-snack-bar.mjs +13 -13
  480. package/fesm2020/legacy-snack-bar.mjs.map +1 -1
  481. package/fesm2020/legacy-table.mjs +55 -55
  482. package/fesm2020/legacy-table.mjs.map +1 -1
  483. package/fesm2020/legacy-tabs.mjs +40 -40
  484. package/fesm2020/legacy-tabs.mjs.map +1 -1
  485. package/fesm2020/legacy-tooltip.mjs +10 -10
  486. package/fesm2020/legacy-tooltip.mjs.map +1 -1
  487. package/fesm2020/list.mjs +49 -49
  488. package/fesm2020/list.mjs.map +1 -1
  489. package/fesm2020/menu.mjs +32 -29
  490. package/fesm2020/menu.mjs.map +1 -1
  491. package/fesm2020/paginator.mjs +13 -13
  492. package/fesm2020/paginator.mjs.map +1 -1
  493. package/fesm2020/progress-bar/testing.mjs +8 -0
  494. package/fesm2020/progress-bar/testing.mjs.map +1 -1
  495. package/fesm2020/progress-bar.mjs +33 -15
  496. package/fesm2020/progress-bar.mjs.map +1 -1
  497. package/fesm2020/progress-spinner/testing.mjs +8 -0
  498. package/fesm2020/progress-spinner/testing.mjs.map +1 -1
  499. package/fesm2020/progress-spinner.mjs +20 -13
  500. package/fesm2020/progress-spinner.mjs.map +1 -1
  501. package/fesm2020/radio.mjs +16 -16
  502. package/fesm2020/radio.mjs.map +1 -1
  503. package/fesm2020/select.mjs +15 -15
  504. package/fesm2020/select.mjs.map +1 -1
  505. package/fesm2020/sidenav.mjs +22 -22
  506. package/fesm2020/sidenav.mjs.map +1 -1
  507. package/fesm2020/slide-toggle.mjs +17 -17
  508. package/fesm2020/slide-toggle.mjs.map +1 -1
  509. package/fesm2020/slider.mjs +17 -17
  510. package/fesm2020/slider.mjs.map +1 -1
  511. package/fesm2020/snack-bar.mjs +28 -28
  512. package/fesm2020/snack-bar.mjs.map +1 -1
  513. package/fesm2020/sort.mjs +13 -13
  514. package/fesm2020/sort.mjs.map +1 -1
  515. package/fesm2020/stepper.mjs +31 -35
  516. package/fesm2020/stepper.mjs.map +1 -1
  517. package/fesm2020/table.mjs +55 -55
  518. package/fesm2020/table.mjs.map +1 -1
  519. package/fesm2020/tabs.mjs +61 -61
  520. package/fesm2020/tabs.mjs.map +1 -1
  521. package/fesm2020/toolbar.mjs +10 -10
  522. package/fesm2020/toolbar.mjs.map +1 -1
  523. package/fesm2020/tooltip.mjs +16 -16
  524. package/fesm2020/tooltip.mjs.map +1 -1
  525. package/fesm2020/tree.mjs +25 -25
  526. package/fesm2020/tree.mjs.map +1 -1
  527. package/form-field/_form-field-native-select.scss +2 -0
  528. package/form-field/_mdc-text-field-structure-overrides.scss +3 -0
  529. package/form-field/index.d.ts +10 -10
  530. package/grid-list/index.d.ts +6 -6
  531. package/icon/index.d.ts +1 -1
  532. package/input/index.d.ts +1 -1
  533. package/legacy-autocomplete/index.d.ts +3 -3
  534. package/legacy-button/index.d.ts +2 -2
  535. package/legacy-button/testing/index.d.ts +2 -10
  536. package/legacy-card/index.d.ts +14 -14
  537. package/legacy-checkbox/index.d.ts +1 -1
  538. package/legacy-chips/index.d.ts +6 -6
  539. package/legacy-core/index.d.ts +2 -2
  540. package/legacy-dialog/index.d.ts +5 -5
  541. package/legacy-form-field/index.d.ts +7 -7
  542. package/legacy-input/index.d.ts +1 -1
  543. package/legacy-list/index.d.ts +8 -8
  544. package/legacy-menu/index.d.ts +4 -4
  545. package/legacy-paginator/index.d.ts +1 -1
  546. package/legacy-progress-bar/index.d.ts +15 -63
  547. package/legacy-progress-bar/testing/index.d.ts +2 -8
  548. package/legacy-progress-spinner/index.d.ts +9 -43
  549. package/legacy-progress-spinner/testing/index.d.ts +2 -8
  550. package/legacy-radio/index.d.ts +2 -2
  551. package/legacy-select/index.d.ts +2 -2
  552. package/legacy-slide-toggle/index.d.ts +1 -1
  553. package/legacy-slider/index.d.ts +1 -1
  554. package/legacy-snack-bar/index.d.ts +2 -2
  555. package/legacy-table/index.d.ts +17 -17
  556. package/legacy-tabs/index.d.ts +12 -12
  557. package/legacy-tooltip/index.d.ts +2 -2
  558. package/list/index.d.ts +15 -15
  559. package/menu/index.d.ts +8 -7
  560. package/package.json +49 -49
  561. package/paginator/index.d.ts +4 -4
  562. package/prebuilt-themes/deeppurple-amber.css +1 -1
  563. package/prebuilt-themes/indigo-pink.css +1 -1
  564. package/prebuilt-themes/pink-bluegrey.css +1 -1
  565. package/prebuilt-themes/purple-green.css +1 -1
  566. package/progress-bar/_progress-bar-theme.scss +14 -9
  567. package/progress-bar/index.d.ts +40 -15
  568. package/progress-bar/testing/index.d.ts +4 -2
  569. package/progress-spinner/index.d.ts +24 -7
  570. package/progress-spinner/testing/index.d.ts +6 -4
  571. package/radio/index.d.ts +4 -4
  572. package/schematics/ng-generate/mdc-migration/index_bundled.js +112 -36
  573. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +2 -2
  574. package/schematics/ng-generate/mdc-migration/mdc_migration_bundle_metadata.json +1 -1
  575. package/select/index.d.ts +3 -3
  576. package/sidenav/index.d.ts +6 -6
  577. package/slide-toggle/index.d.ts +3 -3
  578. package/slider/index.d.ts +3 -3
  579. package/snack-bar/index.d.ts +6 -6
  580. package/sort/index.d.ts +2 -2
  581. package/stepper/index.d.ts +11 -12
  582. package/table/index.d.ts +17 -17
  583. package/tabs/index.d.ts +19 -19
  584. package/toolbar/index.d.ts +2 -2
  585. package/tooltip/index.d.ts +4 -4
  586. package/tree/index.d.ts +7 -7
  587. package/esm2020/legacy-button/testing/button-harness-filters.mjs +0 -9
  588. package/esm2020/legacy-progress-bar/testing/progress-bar-harness-filters.mjs +0 -9
  589. package/esm2020/legacy-progress-spinner/testing/progress-spinner-harness-filters.mjs +0 -9
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-progress-spinner.mjs","sources":["../../../../../../src/material/legacy-progress-spinner/progress-spinner.ts","../../../../../../src/material/legacy-progress-spinner/progress-spinner.html","../../../../../../src/material/legacy-progress-spinner/progress-spinner-module.ts","../../../../../../src/material/legacy-progress-spinner/public-api.ts","../../../../../../src/material/legacy-progress-spinner/index.ts","../../../../../../src/material/legacy-progress-spinner/legacy-progress-spinner_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\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {Platform, _getShadowRoot} from '@angular/cdk/platform';\nimport {ViewportRuler} from '@angular/cdk/scrolling';\nimport {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n InjectionToken,\n Input,\n Optional,\n ViewEncapsulation,\n OnInit,\n ChangeDetectorRef,\n OnDestroy,\n NgZone,\n} from '@angular/core';\nimport {CanColor, mixinColor, ThemePalette} from '@angular/material/core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {Subscription} from 'rxjs';\n\n/**\n * Possible mode for a progress spinner.\n * @deprecated Use `ProgressSpinnerMode` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport type LegacyProgressSpinnerMode = 'determinate' | 'indeterminate';\n\n/**\n * Base reference size of the spinner.\n * @docs-private\n */\nconst BASE_SIZE = 100;\n\n/**\n * Base reference stroke width of the spinner.\n * @docs-private\n */\nconst BASE_STROKE_WIDTH = 10;\n\n// Boilerplate for applying mixins to MatLegacyProgressSpinner.\n/** @docs-private */\nconst _MatProgressSpinnerBase = mixinColor(\n class {\n constructor(public _elementRef: ElementRef) {}\n },\n 'primary',\n);\n\n/**\n * Default `mat-progress-spinner` options that can be overridden.\n * @deprecated Use `MatProgressSpinnerDefaultOptions` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport interface MatLegacyProgressSpinnerDefaultOptions {\n /** Default color of the spinner. */\n color?: ThemePalette;\n /** Diameter of the spinner. */\n diameter?: number;\n /** Width of the spinner's stroke. */\n strokeWidth?: number;\n /**\n * Whether the animations should be force to be enabled, ignoring if the current environment is\n * using NoopAnimationsModule.\n */\n _forceAnimations?: boolean;\n}\n\n/**\n * Injection token to be used to override the default options for `mat-progress-spinner`.\n * @deprecated Use `MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport const MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS =\n new InjectionToken<MatLegacyProgressSpinnerDefaultOptions>(\n 'mat-progress-spinner-default-options',\n {\n providedIn: 'root',\n factory: MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY,\n },\n );\n\n/**\n * @docs-private\n * @deprecated Use `MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport function MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY(): MatLegacyProgressSpinnerDefaultOptions {\n return {diameter: BASE_SIZE};\n}\n\n// .0001 percentage difference is necessary in order to avoid unwanted animation frames\n// for example because the animation duration is 4 seconds, .1% accounts to 4ms\n// which are enough to see the flicker described in\n// https://github.com/angular/components/issues/8984\nconst INDETERMINATE_ANIMATION_TEMPLATE = `\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n`;\n\n/**\n * `<mat-progress-spinner>` component.\n * @deprecated Use `MatProgressSpinner` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Component({\n selector: 'mat-progress-spinner, mat-spinner',\n exportAs: 'matProgressSpinner',\n host: {\n 'role': 'progressbar',\n // `mat-spinner` is here for backward compatibility.\n 'class': 'mat-progress-spinner mat-spinner',\n // set tab index to -1 so screen readers will read the aria-label\n // Note: there is a known issue with JAWS that does not read progressbar aria labels on FireFox\n 'tabindex': '-1',\n '[class._mat-animation-noopable]': `_noopAnimations`,\n '[style.width.px]': 'diameter',\n '[style.height.px]': 'diameter',\n '[attr.aria-valuemin]': 'mode === \"determinate\" ? 0 : null',\n '[attr.aria-valuemax]': 'mode === \"determinate\" ? 100 : null',\n '[attr.aria-valuenow]': 'mode === \"determinate\" ? value : null',\n '[attr.mode]': 'mode',\n },\n inputs: ['color'],\n templateUrl: 'progress-spinner.html',\n styleUrls: ['progress-spinner.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatLegacyProgressSpinner\n extends _MatProgressSpinnerBase\n implements OnInit, OnDestroy, CanColor\n{\n private _diameter = BASE_SIZE;\n private _value = 0;\n private _strokeWidth: number;\n private _resizeSubscription = Subscription.EMPTY;\n\n /**\n * Element to which we should add the generated style tags for the indeterminate animation.\n * For most elements this is the document, but for the ones in the Shadow DOM we need to\n * use the shadow root.\n */\n private _styleRoot: Node;\n\n /**\n * Tracks diameters of existing instances to de-dupe generated styles (default d = 100).\n * We need to keep track of which elements the diameters were attached to, because for\n * elements in the Shadow DOM the style tags are attached to the shadow root, rather\n * than the document head.\n */\n private static _diameters = new WeakMap<Node, Set<number>>();\n\n /** Whether the _mat-animation-noopable class should be applied, disabling animations. */\n _noopAnimations: boolean;\n\n /** A string that is used for setting the spinner animation-name CSS property */\n _spinnerAnimationLabel: string;\n\n /** The diameter of the progress spinner (will set width and height of svg). */\n @Input()\n get diameter(): number {\n return this._diameter;\n }\n set diameter(size: NumberInput) {\n this._diameter = coerceNumberProperty(size);\n this._spinnerAnimationLabel = this._getSpinnerAnimationLabel();\n\n // If this is set before `ngOnInit`, the style root may not have been resolved yet.\n if (this._styleRoot) {\n this._attachStyleNode();\n }\n }\n\n /** Stroke width of the progress spinner. */\n @Input()\n get strokeWidth(): number {\n return this._strokeWidth || this.diameter / 10;\n }\n set strokeWidth(value: NumberInput) {\n this._strokeWidth = coerceNumberProperty(value);\n }\n\n /** Mode of the progress circle */\n @Input() mode: LegacyProgressSpinnerMode = 'determinate';\n\n /** Value of the progress circle. */\n @Input()\n get value(): number {\n return this.mode === 'determinate' ? this._value : 0;\n }\n set value(newValue: NumberInput) {\n this._value = Math.max(0, Math.min(100, coerceNumberProperty(newValue)));\n }\n\n constructor(\n elementRef: ElementRef<HTMLElement>,\n _platform: Platform,\n @Optional() @Inject(DOCUMENT) private _document: any,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode: string,\n @Inject(MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS)\n defaults?: MatLegacyProgressSpinnerDefaultOptions,\n /**\n * @deprecated `changeDetectorRef`, `viewportRuler` and `ngZone`\n * parameters to become required.\n * @breaking-change 14.0.0\n */\n changeDetectorRef?: ChangeDetectorRef,\n viewportRuler?: ViewportRuler,\n ngZone?: NgZone,\n ) {\n super(elementRef);\n\n const trackedDiameters = MatLegacyProgressSpinner._diameters;\n this._spinnerAnimationLabel = this._getSpinnerAnimationLabel();\n\n // The base size is already inserted via the component's structural styles. We still\n // need to track it so we don't end up adding the same styles again.\n if (!trackedDiameters.has(_document.head)) {\n trackedDiameters.set(_document.head, new Set<number>([BASE_SIZE]));\n }\n\n this._noopAnimations =\n animationMode === 'NoopAnimations' && !!defaults && !defaults._forceAnimations;\n\n if (elementRef.nativeElement.nodeName.toLowerCase() === 'mat-spinner') {\n this.mode = 'indeterminate';\n }\n\n if (defaults) {\n if (defaults.color) {\n this.color = this.defaultColor = defaults.color;\n }\n\n if (defaults.diameter) {\n this.diameter = defaults.diameter;\n }\n\n if (defaults.strokeWidth) {\n this.strokeWidth = defaults.strokeWidth;\n }\n }\n\n // Safari has an issue where the circle isn't positioned correctly when the page has a\n // different zoom level from the default. This handler triggers a recalculation of the\n // `transform-origin` when the page zoom level changes.\n // See `_getCircleTransformOrigin` for more info.\n // @breaking-change 14.0.0 Remove null checks for `_changeDetectorRef`,\n // `viewportRuler` and `ngZone`.\n if (_platform.isBrowser && _platform.SAFARI && viewportRuler && changeDetectorRef && ngZone) {\n this._resizeSubscription = viewportRuler.change(150).subscribe(() => {\n // When the window is resize while the spinner is in `indeterminate` mode, we\n // have to mark for check so the transform origin of the circle can be recomputed.\n if (this.mode === 'indeterminate') {\n ngZone.run(() => changeDetectorRef.markForCheck());\n }\n });\n }\n }\n\n ngOnInit() {\n const element = this._elementRef.nativeElement;\n\n // Note that we need to look up the root node in ngOnInit, rather than the constructor, because\n // Angular seems to create the element outside the shadow root and then moves it inside, if the\n // node is inside an `ngIf` and a ShadowDom-encapsulated component.\n this._styleRoot = _getShadowRoot(element) || this._document.head;\n this._attachStyleNode();\n element.classList.add('mat-progress-spinner-indeterminate-animation');\n }\n\n ngOnDestroy() {\n this._resizeSubscription.unsubscribe();\n }\n\n /** The radius of the spinner, adjusted for stroke width. */\n _getCircleRadius() {\n return (this.diameter - BASE_STROKE_WIDTH) / 2;\n }\n\n /** The view box of the spinner's svg element. */\n _getViewBox() {\n const viewBox = this._getCircleRadius() * 2 + this.strokeWidth;\n return `0 0 ${viewBox} ${viewBox}`;\n }\n\n /** The stroke circumference of the svg circle. */\n _getStrokeCircumference(): number {\n return 2 * Math.PI * this._getCircleRadius();\n }\n\n /** The dash offset of the svg circle. */\n _getStrokeDashOffset() {\n if (this.mode === 'determinate') {\n return (this._getStrokeCircumference() * (100 - this._value)) / 100;\n }\n\n return null;\n }\n\n /** Stroke width of the circle in percent. */\n _getCircleStrokeWidth() {\n return (this.strokeWidth / this.diameter) * 100;\n }\n\n /** Gets the `transform-origin` for the inner circle element. */\n _getCircleTransformOrigin(svg: HTMLElement): string {\n // Safari has an issue where the `transform-origin` doesn't work as expected when the page\n // has a different zoom level from the default. The problem appears to be that a zoom\n // is applied on the `svg` node itself. We can work around it by calculating the origin\n // based on the zoom level. On all other browsers the `currentScale` appears to always be 1.\n const scale = ((svg as unknown as SVGSVGElement).currentScale ?? 1) * 50;\n return `${scale}% ${scale}%`;\n }\n\n /** Dynamically generates a style tag containing the correct animation for this diameter. */\n private _attachStyleNode(): void {\n const styleRoot = this._styleRoot;\n const currentDiameter = this._diameter;\n const diameters = MatLegacyProgressSpinner._diameters;\n let diametersForElement = diameters.get(styleRoot);\n\n if (!diametersForElement || !diametersForElement.has(currentDiameter)) {\n const styleTag: HTMLStyleElement = this._document.createElement('style');\n styleTag.setAttribute('mat-spinner-animation', this._spinnerAnimationLabel);\n styleTag.textContent = this._getAnimationText();\n styleRoot.appendChild(styleTag);\n\n if (!diametersForElement) {\n diametersForElement = new Set<number>();\n diameters.set(styleRoot, diametersForElement);\n }\n\n diametersForElement.add(currentDiameter);\n }\n }\n\n /** Generates animation styles adjusted for the spinner's diameter. */\n private _getAnimationText(): string {\n const strokeCircumference = this._getStrokeCircumference();\n return (\n INDETERMINATE_ANIMATION_TEMPLATE\n // Animation should begin at 5% and end at 80%\n .replace(/START_VALUE/g, `${0.95 * strokeCircumference}`)\n .replace(/END_VALUE/g, `${0.2 * strokeCircumference}`)\n .replace(/DIAMETER/g, `${this._spinnerAnimationLabel}`)\n );\n }\n\n /** Returns the circle diameter formatted for use with the animation-name CSS property. */\n private _getSpinnerAnimationLabel(): string {\n // The string of a float point number will include a period ‘.’ character,\n // which is not valid for a CSS animation-name.\n return this.diameter.toString().replace('.', '_');\n }\n}\n","<!--\n preserveAspectRatio of xMidYMid meet as the center of the viewport is the circle's\n center. The center of the circle will remain at the center of the mat-progress-spinner\n element containing the SVG.\n-->\n<!--\n All children need to be hidden for screen readers in order to support ChromeVox.\n More context in the issue: https://github.com/angular/components/issues/22165.\n-->\n<svg\n [style.width.px]=\"diameter\"\n [style.height.px]=\"diameter\"\n [attr.viewBox]=\"_getViewBox()\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n [ngSwitch]=\"mode === 'indeterminate'\"\n aria-hidden=\"true\"\n #svg>\n\n <!--\n Technically we can reuse the same `circle` element, however Safari has an issue that breaks\n the SVG rendering in determinate mode, after switching between indeterminate and determinate.\n Using a different element avoids the issue. An alternative to this is adding `display: none`\n for a split second and then removing it when switching between modes, but it's hard to know\n for how long to hide the element and it can cause the UI to blink.\n -->\n <circle\n *ngSwitchCase=\"true\"\n cx=\"50%\"\n cy=\"50%\"\n [attr.r]=\"_getCircleRadius()\"\n [style.animation-name]=\"'mat-progress-spinner-stroke-rotate-' + _spinnerAnimationLabel\"\n [style.stroke-dashoffset.px]=\"_getStrokeDashOffset()\"\n [style.stroke-dasharray.px]=\"_getStrokeCircumference()\"\n [style.stroke-width.%]=\"_getCircleStrokeWidth()\"\n [style.transform-origin]=\"_getCircleTransformOrigin(svg)\"></circle>\n\n <circle\n *ngSwitchCase=\"false\"\n cx=\"50%\"\n cy=\"50%\"\n [attr.r]=\"_getCircleRadius()\"\n [style.stroke-dashoffset.px]=\"_getStrokeDashOffset()\"\n [style.stroke-dasharray.px]=\"_getStrokeCircumference()\"\n [style.stroke-width.%]=\"_getCircleStrokeWidth()\"\n [style.transform-origin]=\"_getCircleTransformOrigin(svg)\"></circle>\n</svg>\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 */\nimport {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatLegacyProgressSpinner} from './progress-spinner';\n\n/**\n * @deprecated Use `MatProgressSpinnerModule` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [MatCommonModule, CommonModule],\n exports: [MatLegacyProgressSpinner, MatCommonModule],\n declarations: [MatLegacyProgressSpinner],\n})\nexport class MatLegacyProgressSpinnerModule {}\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 {MatLegacyProgressSpinner} from './progress-spinner';\n\nexport {MatLegacyProgressSpinnerModule} from './progress-spinner-module';\nexport {\n MatLegacyProgressSpinner,\n MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS,\n LegacyProgressSpinnerMode,\n MatLegacyProgressSpinnerDefaultOptions,\n MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY,\n} from './progress-spinner';\n\n/**\n * @deprecated Import Progress Spinner instead. Note that the\n * `mat-spinner` selector isn't deprecated.\n * @breaking-change 8.0.0\n */\n// tslint:disable-next-line:variable-name\nexport const MatLegacySpinner = MatLegacyProgressSpinner;\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\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;AAMG;AA+BH;;;AAGG;AACH,MAAM,SAAS,GAAG,GAAG,CAAC;AAEtB;;;AAGG;AACH,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B;AACA;AACA,MAAM,uBAAuB,GAAG,UAAU,CACxC,MAAA;AACE,IAAA,WAAA,CAAmB,WAAuB,EAAA;AAAvB,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;KAAI;CAC/C,EACD,SAAS,CACV,CAAC;AAqBF;;;;AAIG;MACU,2CAA2C,GACtD,IAAI,cAAc,CAChB,sCAAsC,EACtC;AACE,IAAA,UAAU,EAAE,MAAM;AAClB,IAAA,OAAO,EAAE,mDAAmD;AAC7D,CAAA,EACD;AAEJ;;;;AAIG;SACa,mDAAmD,GAAA;AACjE,IAAA,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAC,CAAC;AAC/B,CAAC;AAED;AACA;AACA;AACA;AACA,MAAM,gCAAgC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;CAsBxC,CAAC;AAEF;;;;AAIG;AAyBG,MAAO,wBACX,SAAQ,uBAAuB,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;AACO,MAAM,gBAAgB,GAAG;;ACzBhC;;;;;;AAMG;;ACNH;;AAEG;;;;"}
1
+ {"version":3,"file":"legacy-progress-spinner.mjs","sources":["../../../../../../src/material/legacy-progress-spinner/progress-spinner.ts","../../../../../../src/material/legacy-progress-spinner/progress-spinner.html","../../../../../../src/material/legacy-progress-spinner/progress-spinner-module.ts","../../../../../../src/material/legacy-progress-spinner/public-api.ts","../../../../../../src/material/legacy-progress-spinner/index.ts","../../../../../../src/material/legacy-progress-spinner/legacy-progress-spinner_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\nimport {coerceNumberProperty, NumberInput} from '@angular/cdk/coercion';\nimport {Platform, _getShadowRoot} from '@angular/cdk/platform';\nimport {ViewportRuler} from '@angular/cdk/scrolling';\nimport {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n Input,\n Optional,\n ViewEncapsulation,\n OnInit,\n ChangeDetectorRef,\n OnDestroy,\n NgZone,\n} from '@angular/core';\nimport {CanColor, mixinColor} from '@angular/material/core';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {\n MatProgressSpinnerDefaultOptions,\n MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS,\n ProgressSpinnerMode,\n} from '@angular/material/progress-spinner';\nimport {Subscription} from 'rxjs';\n\n/**\n * Base reference size of the spinner.\n * @docs-private\n */\nconst BASE_SIZE = 100;\n\n/**\n * Base reference stroke width of the spinner.\n * @docs-private\n */\nconst BASE_STROKE_WIDTH = 10;\n\n// Boilerplate for applying mixins to MatLegacyProgressSpinner.\n/** @docs-private */\nconst _MatProgressSpinnerBase = mixinColor(\n class {\n constructor(public _elementRef: ElementRef) {}\n },\n 'primary',\n);\n\n// .0001 percentage difference is necessary in order to avoid unwanted animation frames\n// for example because the animation duration is 4 seconds, .1% accounts to 4ms\n// which are enough to see the flicker described in\n// https://github.com/angular/components/issues/8984\nconst INDETERMINATE_ANIMATION_TEMPLATE = `\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n`;\n\n/**\n * `<mat-progress-spinner>` component.\n * @deprecated Use `MatProgressSpinner` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Component({\n selector: 'mat-progress-spinner, mat-spinner',\n exportAs: 'matProgressSpinner',\n host: {\n 'role': 'progressbar',\n // `mat-spinner` is here for backward compatibility.\n 'class': 'mat-progress-spinner mat-spinner',\n // set tab index to -1 so screen readers will read the aria-label\n // Note: there is a known issue with JAWS that does not read progressbar aria labels on FireFox\n 'tabindex': '-1',\n '[class._mat-animation-noopable]': `_noopAnimations`,\n '[style.width.px]': 'diameter',\n '[style.height.px]': 'diameter',\n '[attr.aria-valuemin]': 'mode === \"determinate\" ? 0 : null',\n '[attr.aria-valuemax]': 'mode === \"determinate\" ? 100 : null',\n '[attr.aria-valuenow]': 'mode === \"determinate\" ? value : null',\n '[attr.mode]': 'mode',\n },\n inputs: ['color'],\n templateUrl: 'progress-spinner.html',\n styleUrls: ['progress-spinner.css'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class MatLegacyProgressSpinner\n extends _MatProgressSpinnerBase\n implements OnInit, OnDestroy, CanColor\n{\n private _diameter = BASE_SIZE;\n private _value = 0;\n private _strokeWidth: number;\n private _resizeSubscription = Subscription.EMPTY;\n\n /**\n * Element to which we should add the generated style tags for the indeterminate animation.\n * For most elements this is the document, but for the ones in the Shadow DOM we need to\n * use the shadow root.\n */\n private _styleRoot: Node;\n\n /**\n * Tracks diameters of existing instances to de-dupe generated styles (default d = 100).\n * We need to keep track of which elements the diameters were attached to, because for\n * elements in the Shadow DOM the style tags are attached to the shadow root, rather\n * than the document head.\n */\n private static _diameters = new WeakMap<Node, Set<number>>();\n\n /** Whether the _mat-animation-noopable class should be applied, disabling animations. */\n _noopAnimations: boolean;\n\n /** A string that is used for setting the spinner animation-name CSS property */\n _spinnerAnimationLabel: string;\n\n /** The diameter of the progress spinner (will set width and height of svg). */\n @Input()\n get diameter(): number {\n return this._diameter;\n }\n set diameter(size: NumberInput) {\n this._diameter = coerceNumberProperty(size);\n this._spinnerAnimationLabel = this._getSpinnerAnimationLabel();\n\n // If this is set before `ngOnInit`, the style root may not have been resolved yet.\n if (this._styleRoot) {\n this._attachStyleNode();\n }\n }\n\n /** Stroke width of the progress spinner. */\n @Input()\n get strokeWidth(): number {\n return this._strokeWidth || this.diameter / 10;\n }\n set strokeWidth(value: NumberInput) {\n this._strokeWidth = coerceNumberProperty(value);\n }\n\n /** Mode of the progress circle */\n @Input() mode: ProgressSpinnerMode = 'determinate';\n\n /** Value of the progress circle. */\n @Input()\n get value(): number {\n return this.mode === 'determinate' ? this._value : 0;\n }\n set value(newValue: NumberInput) {\n this._value = Math.max(0, Math.min(100, coerceNumberProperty(newValue)));\n }\n\n constructor(\n elementRef: ElementRef<HTMLElement>,\n _platform: Platform,\n @Optional() @Inject(DOCUMENT) private _document: any,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode: string,\n @Inject(MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS)\n defaults?: MatProgressSpinnerDefaultOptions,\n /**\n * @deprecated `changeDetectorRef`, `viewportRuler` and `ngZone`\n * parameters to become required.\n * @breaking-change 14.0.0\n */\n changeDetectorRef?: ChangeDetectorRef,\n viewportRuler?: ViewportRuler,\n ngZone?: NgZone,\n ) {\n super(elementRef);\n\n const trackedDiameters = MatLegacyProgressSpinner._diameters;\n this._spinnerAnimationLabel = this._getSpinnerAnimationLabel();\n\n // The base size is already inserted via the component's structural styles. We still\n // need to track it so we don't end up adding the same styles again.\n if (!trackedDiameters.has(_document.head)) {\n trackedDiameters.set(_document.head, new Set<number>([BASE_SIZE]));\n }\n\n this._noopAnimations =\n animationMode === 'NoopAnimations' && !!defaults && !defaults._forceAnimations;\n\n if (elementRef.nativeElement.nodeName.toLowerCase() === 'mat-spinner') {\n this.mode = 'indeterminate';\n }\n\n if (defaults) {\n if (defaults.color) {\n this.color = this.defaultColor = defaults.color;\n }\n\n if (defaults.diameter) {\n this.diameter = defaults.diameter;\n }\n\n if (defaults.strokeWidth) {\n this.strokeWidth = defaults.strokeWidth;\n }\n }\n\n // Safari has an issue where the circle isn't positioned correctly when the page has a\n // different zoom level from the default. This handler triggers a recalculation of the\n // `transform-origin` when the page zoom level changes.\n // See `_getCircleTransformOrigin` for more info.\n // @breaking-change 14.0.0 Remove null checks for `_changeDetectorRef`,\n // `viewportRuler` and `ngZone`.\n if (_platform.isBrowser && _platform.SAFARI && viewportRuler && changeDetectorRef && ngZone) {\n this._resizeSubscription = viewportRuler.change(150).subscribe(() => {\n // When the window is resize while the spinner is in `indeterminate` mode, we\n // have to mark for check so the transform origin of the circle can be recomputed.\n if (this.mode === 'indeterminate') {\n ngZone.run(() => changeDetectorRef.markForCheck());\n }\n });\n }\n }\n\n ngOnInit() {\n const element = this._elementRef.nativeElement;\n\n // Note that we need to look up the root node in ngOnInit, rather than the constructor, because\n // Angular seems to create the element outside the shadow root and then moves it inside, if the\n // node is inside an `ngIf` and a ShadowDom-encapsulated component.\n this._styleRoot = _getShadowRoot(element) || this._document.head;\n this._attachStyleNode();\n element.classList.add('mat-progress-spinner-indeterminate-animation');\n }\n\n ngOnDestroy() {\n this._resizeSubscription.unsubscribe();\n }\n\n /** The radius of the spinner, adjusted for stroke width. */\n _getCircleRadius() {\n return (this.diameter - BASE_STROKE_WIDTH) / 2;\n }\n\n /** The view box of the spinner's svg element. */\n _getViewBox() {\n const viewBox = this._getCircleRadius() * 2 + this.strokeWidth;\n return `0 0 ${viewBox} ${viewBox}`;\n }\n\n /** The stroke circumference of the svg circle. */\n _getStrokeCircumference(): number {\n return 2 * Math.PI * this._getCircleRadius();\n }\n\n /** The dash offset of the svg circle. */\n _getStrokeDashOffset() {\n if (this.mode === 'determinate') {\n return (this._getStrokeCircumference() * (100 - this._value)) / 100;\n }\n\n return null;\n }\n\n /** Stroke width of the circle in percent. */\n _getCircleStrokeWidth() {\n return (this.strokeWidth / this.diameter) * 100;\n }\n\n /** Gets the `transform-origin` for the inner circle element. */\n _getCircleTransformOrigin(svg: HTMLElement): string {\n // Safari has an issue where the `transform-origin` doesn't work as expected when the page\n // has a different zoom level from the default. The problem appears to be that a zoom\n // is applied on the `svg` node itself. We can work around it by calculating the origin\n // based on the zoom level. On all other browsers the `currentScale` appears to always be 1.\n const scale = ((svg as unknown as SVGSVGElement).currentScale ?? 1) * 50;\n return `${scale}% ${scale}%`;\n }\n\n /** Dynamically generates a style tag containing the correct animation for this diameter. */\n private _attachStyleNode(): void {\n const styleRoot = this._styleRoot;\n const currentDiameter = this._diameter;\n const diameters = MatLegacyProgressSpinner._diameters;\n let diametersForElement = diameters.get(styleRoot);\n\n if (!diametersForElement || !diametersForElement.has(currentDiameter)) {\n const styleTag: HTMLStyleElement = this._document.createElement('style');\n styleTag.setAttribute('mat-spinner-animation', this._spinnerAnimationLabel);\n styleTag.textContent = this._getAnimationText();\n styleRoot.appendChild(styleTag);\n\n if (!diametersForElement) {\n diametersForElement = new Set<number>();\n diameters.set(styleRoot, diametersForElement);\n }\n\n diametersForElement.add(currentDiameter);\n }\n }\n\n /** Generates animation styles adjusted for the spinner's diameter. */\n private _getAnimationText(): string {\n const strokeCircumference = this._getStrokeCircumference();\n return (\n INDETERMINATE_ANIMATION_TEMPLATE\n // Animation should begin at 5% and end at 80%\n .replace(/START_VALUE/g, `${0.95 * strokeCircumference}`)\n .replace(/END_VALUE/g, `${0.2 * strokeCircumference}`)\n .replace(/DIAMETER/g, `${this._spinnerAnimationLabel}`)\n );\n }\n\n /** Returns the circle diameter formatted for use with the animation-name CSS property. */\n private _getSpinnerAnimationLabel(): string {\n // The string of a float point number will include a period ‘.’ character,\n // which is not valid for a CSS animation-name.\n return this.diameter.toString().replace('.', '_');\n }\n}\n","<!--\n preserveAspectRatio of xMidYMid meet as the center of the viewport is the circle's\n center. The center of the circle will remain at the center of the mat-progress-spinner\n element containing the SVG.\n-->\n<!--\n All children need to be hidden for screen readers in order to support ChromeVox.\n More context in the issue: https://github.com/angular/components/issues/22165.\n-->\n<svg\n [style.width.px]=\"diameter\"\n [style.height.px]=\"diameter\"\n [attr.viewBox]=\"_getViewBox()\"\n preserveAspectRatio=\"xMidYMid meet\"\n focusable=\"false\"\n [ngSwitch]=\"mode === 'indeterminate'\"\n aria-hidden=\"true\"\n #svg>\n\n <!--\n Technically we can reuse the same `circle` element, however Safari has an issue that breaks\n the SVG rendering in determinate mode, after switching between indeterminate and determinate.\n Using a different element avoids the issue. An alternative to this is adding `display: none`\n for a split second and then removing it when switching between modes, but it's hard to know\n for how long to hide the element and it can cause the UI to blink.\n -->\n <circle\n *ngSwitchCase=\"true\"\n cx=\"50%\"\n cy=\"50%\"\n [attr.r]=\"_getCircleRadius()\"\n [style.animation-name]=\"'mat-progress-spinner-stroke-rotate-' + _spinnerAnimationLabel\"\n [style.stroke-dashoffset.px]=\"_getStrokeDashOffset()\"\n [style.stroke-dasharray.px]=\"_getStrokeCircumference()\"\n [style.stroke-width.%]=\"_getCircleStrokeWidth()\"\n [style.transform-origin]=\"_getCircleTransformOrigin(svg)\"></circle>\n\n <circle\n *ngSwitchCase=\"false\"\n cx=\"50%\"\n cy=\"50%\"\n [attr.r]=\"_getCircleRadius()\"\n [style.stroke-dashoffset.px]=\"_getStrokeDashOffset()\"\n [style.stroke-dasharray.px]=\"_getStrokeCircumference()\"\n [style.stroke-width.%]=\"_getCircleStrokeWidth()\"\n [style.transform-origin]=\"_getCircleTransformOrigin(svg)\"></circle>\n</svg>\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 */\nimport {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {MatCommonModule} from '@angular/material/core';\nimport {MatLegacyProgressSpinner} from './progress-spinner';\n\n/**\n * @deprecated Use `MatProgressSpinnerModule` from `@angular/material/progress-spinner` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [MatCommonModule, CommonModule],\n exports: [MatLegacyProgressSpinner, MatCommonModule],\n declarations: [MatLegacyProgressSpinner],\n})\nexport class MatLegacyProgressSpinnerModule {}\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 {MatLegacyProgressSpinner} from './progress-spinner';\n\nexport {MatLegacyProgressSpinnerModule} from './progress-spinner-module';\nexport {MatLegacyProgressSpinner} from './progress-spinner';\n\nexport {\n MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS as MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS,\n MatProgressSpinnerDefaultOptions as MatLegacyProgressSpinnerDefaultOptions,\n MAT_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_PROGRESS_SPINNER_DEFAULT_OPTIONS_FACTORY,\n ProgressSpinnerMode as LegacyProgressSpinnerMode,\n} from '@angular/material/progress-spinner';\n\n/**\n * @deprecated Import Progress Spinner instead. Note that the\n * `mat-spinner` selector isn't deprecated.\n * @breaking-change 8.0.0\n */\n// tslint:disable-next-line:variable-name\nexport const MatLegacySpinner = MatLegacyProgressSpinner;\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\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;;;;;;AAMG;AA4BH;;;AAGG;AACH,MAAM,SAAS,GAAG,GAAG,CAAC;AAEtB;;;AAGG;AACH,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAE7B;AACA;AACA,MAAM,uBAAuB,GAAG,UAAU,CACxC,MAAA;AACE,IAAA,WAAA,CAAmB,WAAuB,EAAA;AAAvB,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;KAAI;CAC/C,EACD,SAAS,CACV,CAAC;AAEF;AACA;AACA;AACA;AACA,MAAM,gCAAgC,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;CAsBxC,CAAC;AAEF;;;;AAIG;AAyBG,MAAO,wBACX,SAAQ,uBAAuB,CAAA;IAiE/B,WACE,CAAA,UAAmC,EACnC,SAAmB,EACmB,SAAc,EACT,aAAqB,EAEhE,QAA2C;AAC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const MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {
28
28
  */
29
29
  class MatLegacyRadioGroup extends _MatRadioGroupBase {
30
30
  }
31
- MatLegacyRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyRadioGroup, deps: null, target: i0.ɵɵFactoryTarget.Directive });
32
- MatLegacyRadioGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: MatLegacyRadioGroup, selector: "mat-radio-group", host: { attributes: { "role": "radiogroup" }, classAttribute: "mat-radio-group" }, providers: [
31
+ MatLegacyRadioGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyRadioGroup, deps: null, target: i0.ɵɵFactoryTarget.Directive });
32
+ MatLegacyRadioGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.1", type: MatLegacyRadioGroup, selector: "mat-radio-group", host: { attributes: { "role": "radiogroup" }, classAttribute: "mat-radio-group" }, providers: [
33
33
  MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,
34
34
  { provide: MAT_RADIO_GROUP, useExisting: MatLegacyRadioGroup },
35
35
  ], queries: [{ propertyName: "_radios", predicate: i0.forwardRef(function () { return MatLegacyRadioButton; }), descendants: true }], exportAs: ["matRadioGroup"], usesInheritance: true, ngImport: i0 });
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyRadioGroup, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyRadioGroup, decorators: [{
37
37
  type: Directive,
38
38
  args: [{
39
39
  selector: 'mat-radio-group',
@@ -61,9 +61,9 @@ class MatLegacyRadioButton extends _MatRadioButtonBase {
61
61
  super(radioGroup, elementRef, changeDetector, focusMonitor, radioDispatcher, animationMode, providerOverride, tabIndex);
62
62
  }
63
63
  }
64
- MatLegacyRadioButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyRadioButton, deps: [{ token: MAT_RADIO_GROUP, optional: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i2.UniqueSelectionDispatcher }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_RADIO_DEFAULT_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component });
65
- MatLegacyRadioButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MatLegacyRadioButton, selector: "mat-radio-button", inputs: { disableRipple: "disableRipple", tabIndex: "tabIndex" }, host: { listeners: { "focus": "_inputElement.nativeElement.focus()" }, properties: { "class.mat-radio-checked": "checked", "class.mat-radio-disabled": "disabled", "class._mat-animation-noopable": "_noopAnimations", "class.mat-primary": "color === \"primary\"", "class.mat-accent": "color === \"accent\"", "class.mat-warn": "color === \"warn\"", "attr.tabindex": "null", "attr.id": "id", "attr.aria-label": "null", "attr.aria-labelledby": "null", "attr.aria-describedby": "null" }, classAttribute: "mat-radio-button" }, exportAs: ["matRadioButton"], usesInheritance: true, ngImport: i0, template: "<!-- TODO(jelbourn): render the radio on either side of the content -->\n<!-- TODO(mtlin): Evaluate trade-offs of using native radio vs. cost of additional bindings. -->\n<label [attr.for]=\"inputId\" class=\"mat-radio-label\" #label>\n <!-- The actual 'radio' part of the control. -->\n <span class=\"mat-radio-container\">\n <span class=\"mat-radio-outer-circle\"></span>\n <span class=\"mat-radio-inner-circle\"></span>\n <input #input class=\"mat-radio-input\" type=\"radio\"\n [id]=\"inputId\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n [required]=\"required\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n (change)=\"_onInputInteraction($event)\"\n (click)=\"_onInputClick($event)\">\n\n <!-- The ripple comes after the input so that we can target it with a CSS\n sibling selector when the input is focused. -->\n <span mat-ripple class=\"mat-radio-ripple mat-focus-indicator\"\n [matRippleTrigger]=\"label\"\n [matRippleDisabled]=\"_isRippleDisabled()\"\n [matRippleCentered]=\"true\"\n [matRippleRadius]=\"20\"\n [matRippleAnimation]=\"{enterDuration: _noopAnimations ? 0 : 150}\">\n\n <span class=\"mat-ripple-element mat-radio-persistent-ripple\"></span>\n </span>\n </span>\n\n <!-- The label content for radio control. -->\n <span class=\"mat-radio-label-content\" [class.mat-radio-label-before]=\"labelPosition == 'before'\">\n <!-- Add an invisible span so JAWS can read the label -->\n <span style=\"display:none\">&nbsp;</span>\n <ng-content></ng-content>\n </span>\n</label>\n", styles: [".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:\"\"}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}"], dependencies: [{ kind: "directive", type: i3.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyRadioButton, decorators: [{
64
+ MatLegacyRadioButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyRadioButton, deps: [{ token: MAT_RADIO_GROUP, optional: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.FocusMonitor }, { token: i2.UniqueSelectionDispatcher }, { token: ANIMATION_MODULE_TYPE, optional: true }, { token: MAT_RADIO_DEFAULT_OPTIONS, optional: true }, { token: 'tabindex', attribute: true }], target: i0.ɵɵFactoryTarget.Component });
65
+ MatLegacyRadioButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0-next.1", type: MatLegacyRadioButton, selector: "mat-radio-button", inputs: { disableRipple: "disableRipple", tabIndex: "tabIndex" }, host: { listeners: { "focus": "_inputElement.nativeElement.focus()" }, properties: { "class.mat-radio-checked": "checked", "class.mat-radio-disabled": "disabled", "class._mat-animation-noopable": "_noopAnimations", "class.mat-primary": "color === \"primary\"", "class.mat-accent": "color === \"accent\"", "class.mat-warn": "color === \"warn\"", "attr.tabindex": "null", "attr.id": "id", "attr.aria-label": "null", "attr.aria-labelledby": "null", "attr.aria-describedby": "null" }, classAttribute: "mat-radio-button" }, exportAs: ["matRadioButton"], usesInheritance: true, ngImport: i0, template: "<!-- TODO(jelbourn): render the radio on either side of the content -->\n<!-- TODO(mtlin): Evaluate trade-offs of using native radio vs. cost of additional bindings. -->\n<label [attr.for]=\"inputId\" class=\"mat-radio-label\" #label>\n <!-- The actual 'radio' part of the control. -->\n <span class=\"mat-radio-container\">\n <span class=\"mat-radio-outer-circle\"></span>\n <span class=\"mat-radio-inner-circle\"></span>\n <input #input class=\"mat-radio-input\" type=\"radio\"\n [id]=\"inputId\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n [required]=\"required\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n (change)=\"_onInputInteraction($event)\"\n (click)=\"_onInputClick($event)\">\n\n <!-- The ripple comes after the input so that we can target it with a CSS\n sibling selector when the input is focused. -->\n <span mat-ripple class=\"mat-radio-ripple mat-focus-indicator\"\n [matRippleTrigger]=\"label\"\n [matRippleDisabled]=\"_isRippleDisabled()\"\n [matRippleCentered]=\"true\"\n [matRippleRadius]=\"20\"\n [matRippleAnimation]=\"{enterDuration: _noopAnimations ? 0 : 150}\">\n\n <span class=\"mat-ripple-element mat-radio-persistent-ripple\"></span>\n </span>\n </span>\n\n <!-- The label content for radio control. -->\n <span class=\"mat-radio-label-content\" [class.mat-radio-label-before]=\"labelPosition == 'before'\">\n <!-- Add an invisible span so JAWS can read the label -->\n <span style=\"display:none\">&nbsp;</span>\n <ng-content></ng-content>\n </span>\n</label>\n", styles: [".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:\"\"}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}"], dependencies: [{ kind: "directive", type: i3.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyRadioButton, decorators: [{
67
67
  type: Component,
68
68
  args: [{ selector: 'mat-radio-button', inputs: ['disableRipple', 'tabIndex'], encapsulation: ViewEncapsulation.None, exportAs: 'matRadioButton', host: {
69
69
  'class': 'mat-radio-button',
@@ -119,10 +119,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
119
119
  */
120
120
  class MatLegacyRadioModule {
121
121
  }
122
- MatLegacyRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
123
- MatLegacyRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyRadioModule, declarations: [MatLegacyRadioGroup, MatLegacyRadioButton], imports: [MatRippleModule, MatCommonModule], exports: [MatLegacyRadioGroup, MatLegacyRadioButton, MatCommonModule] });
124
- MatLegacyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyRadioModule, imports: [MatRippleModule, MatCommonModule, MatCommonModule] });
125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacyRadioModule, decorators: [{
122
+ MatLegacyRadioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyRadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
123
+ MatLegacyRadioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyRadioModule, declarations: [MatLegacyRadioGroup, MatLegacyRadioButton], imports: [MatRippleModule, MatCommonModule], exports: [MatLegacyRadioGroup, MatLegacyRadioButton, MatCommonModule] });
124
+ MatLegacyRadioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyRadioModule, imports: [MatRippleModule, MatCommonModule, MatCommonModule] });
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacyRadioModule, decorators: [{
126
126
  type: NgModule,
127
127
  args: [{
128
128
  imports: [MatRippleModule, MatCommonModule],
@@ -1 +1 @@
1
- {"version":3,"file":"legacy-radio.mjs","sources":["../../../../../../src/material/legacy-radio/radio.ts","../../../../../../src/material/legacy-radio/radio.html","../../../../../../src/material/legacy-radio/radio-module.ts","../../../../../../src/material/legacy-radio/public-api.ts","../../../../../../src/material/legacy-radio/index.ts","../../../../../../src/material/legacy-radio/legacy-radio_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\nimport {FocusMonitor} from '@angular/cdk/a11y';\nimport {UniqueSelectionDispatcher} from '@angular/cdk/collections';\nimport {\n Attribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n Directive,\n ElementRef,\n forwardRef,\n Inject,\n Optional,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {\n MAT_RADIO_GROUP,\n _MatRadioGroupBase,\n _MatRadioButtonBase,\n MAT_RADIO_DEFAULT_OPTIONS,\n MatRadioDefaultOptions,\n} from '@angular/material/radio';\n\n/**\n * Provider Expression that allows mat-radio-group to register as a ControlValueAccessor. This\n * allows it to support [(ngModel)] and ngControl.\n * @docs-private\n * @deprecated Use `MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport const MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacyRadioGroup),\n multi: true,\n};\n\n/**\n * A group of radio buttons. May contain one or more `<mat-radio-button>` elements.\n * @deprecated Use `MatRadioGroup` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Directive({\n selector: 'mat-radio-group',\n exportAs: 'matRadioGroup',\n providers: [\n MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,\n {provide: MAT_RADIO_GROUP, useExisting: MatLegacyRadioGroup},\n ],\n host: {\n 'role': 'radiogroup',\n 'class': 'mat-radio-group',\n },\n})\nexport class MatLegacyRadioGroup extends _MatRadioGroupBase<MatLegacyRadioButton> {\n @ContentChildren(forwardRef(() => MatLegacyRadioButton), {descendants: true})\n _radios: QueryList<MatLegacyRadioButton>;\n}\n\n/**\n * A Material design radio-button. Typically placed inside of `<mat-radio-group>` elements.\n * @deprecated Use `MatRadioButton` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Component({\n selector: 'mat-radio-button',\n templateUrl: 'radio.html',\n styleUrls: ['radio.css'],\n inputs: ['disableRipple', 'tabIndex'],\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matRadioButton',\n host: {\n 'class': 'mat-radio-button',\n '[class.mat-radio-checked]': 'checked',\n '[class.mat-radio-disabled]': 'disabled',\n '[class._mat-animation-noopable]': '_noopAnimations',\n '[class.mat-primary]': 'color === \"primary\"',\n '[class.mat-accent]': 'color === \"accent\"',\n '[class.mat-warn]': 'color === \"warn\"',\n // Needs to be removed since it causes some a11y issues (see #21266).\n '[attr.tabindex]': 'null',\n '[attr.id]': 'id',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.aria-describedby]': 'null',\n // Note: under normal conditions focus shouldn't land on this element, however it may be\n // programmatically set, for example inside of a focus trap, in this case we want to forward\n // the focus to the native element.\n '(focus)': '_inputElement.nativeElement.focus()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatLegacyRadioButton extends _MatRadioButtonBase {\n constructor(\n @Optional() @Inject(MAT_RADIO_GROUP) radioGroup: MatLegacyRadioGroup,\n elementRef: ElementRef,\n changeDetector: ChangeDetectorRef,\n focusMonitor: FocusMonitor,\n radioDispatcher: UniqueSelectionDispatcher,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n @Optional()\n @Inject(MAT_RADIO_DEFAULT_OPTIONS)\n providerOverride?: MatRadioDefaultOptions,\n @Attribute('tabindex') tabIndex?: string,\n ) {\n super(\n radioGroup,\n elementRef,\n changeDetector,\n focusMonitor,\n radioDispatcher,\n animationMode,\n providerOverride,\n tabIndex,\n );\n }\n}\n","<!-- TODO(jelbourn): render the radio on either side of the content -->\n<!-- TODO(mtlin): Evaluate trade-offs of using native radio vs. cost of additional bindings. -->\n<label [attr.for]=\"inputId\" class=\"mat-radio-label\" #label>\n <!-- The actual 'radio' part of the control. -->\n <span class=\"mat-radio-container\">\n <span class=\"mat-radio-outer-circle\"></span>\n <span class=\"mat-radio-inner-circle\"></span>\n <input #input class=\"mat-radio-input\" type=\"radio\"\n [id]=\"inputId\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n [required]=\"required\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n (change)=\"_onInputInteraction($event)\"\n (click)=\"_onInputClick($event)\">\n\n <!-- The ripple comes after the input so that we can target it with a CSS\n sibling selector when the input is focused. -->\n <span mat-ripple class=\"mat-radio-ripple mat-focus-indicator\"\n [matRippleTrigger]=\"label\"\n [matRippleDisabled]=\"_isRippleDisabled()\"\n [matRippleCentered]=\"true\"\n [matRippleRadius]=\"20\"\n [matRippleAnimation]=\"{enterDuration: _noopAnimations ? 0 : 150}\">\n\n <span class=\"mat-ripple-element mat-radio-persistent-ripple\"></span>\n </span>\n </span>\n\n <!-- The label content for radio control. -->\n <span class=\"mat-radio-label-content\" [class.mat-radio-label-before]=\"labelPosition == 'before'\">\n <!-- Add an invisible span so JAWS can read the label -->\n <span style=\"display:none\">&nbsp;</span>\n <ng-content></ng-content>\n </span>\n</label>\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 {NgModule} from '@angular/core';\nimport {MatCommonModule, MatRippleModule} from '@angular/material/core';\nimport {MatLegacyRadioButton, MatLegacyRadioGroup} from './radio';\n\n/**\n * @deprecated Use `MatRadioModule` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [MatRippleModule, MatCommonModule],\n exports: [MatLegacyRadioGroup, MatLegacyRadioButton, MatCommonModule],\n declarations: [MatLegacyRadioGroup, MatLegacyRadioButton],\n})\nexport class MatLegacyRadioModule {}\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\nexport {MatLegacyRadioModule} from './radio-module';\nexport {\n MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,\n MatLegacyRadioGroup,\n MatLegacyRadioButton,\n} from './radio';\n\nexport {\n /**\n * @deprecated Use `MatRadioDefaultOptions` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatRadioDefaultOptions as MatLegacyRadioDefaultOptions,\n\n /**\n * @deprecated Use `MatRadioChange` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatRadioChange as MatLegacyRadioChange,\n\n /**\n * @deprecated Use `MAT_RADIO_DEFAULT_OPTIONS_FACTORY` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_RADIO_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_RADIO_DEFAULT_OPTIONS_FACTORY,\n\n /**\n * @deprecated Use `MAT_RADIO_DEFAULT_OPTIONS` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_RADIO_DEFAULT_OPTIONS as MAT_LEGACY_RADIO_DEFAULT_OPTIONS,\n\n /**\n * @deprecated Use `MAT_RADIO_GROUP` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_RADIO_GROUP as MAT_LEGACY_RADIO_GROUP,\n} from '@angular/material/radio';\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\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAkCA;;;;;;AAMG;AACU,MAAA,6CAA6C,GAAQ;AAChE,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,mBAAmB,CAAC;AAClD,IAAA,KAAK,EAAE,IAAI;EACX;AAEF;;;;AAIG;AAaG,MAAO,mBAAoB,SAAQ,kBAAwC,CAAA;;gHAApE,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EATnB,QAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,MAAA,EAAA,YAAA,EAAA,EAAA,cAAA,EAAA,iBAAA,EAAA,EAAA,SAAA,EAAA;QACT,6CAA6C;AAC7C,QAAA,EAAC,OAAO,EAAE,eA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A,EAAA,oBAAoB,EAFhB,YAAA,EAAA,CAAA,mBAAmB,EAAE,oBAAoB,CAF9C,EAAA,OAAA,EAAA,CAAA,eAAe,EAAE,eAAe,CAChC,EAAA,OAAA,EAAA,CAAA,mBAAmB,EAAE,oBAAoB,EAAE,eAAe,CAAA,EAAA,CAAA,CAAA;AAGzD,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAJrB,OAAA,EAAA,CAAA,eAAe,EAAE,eAAe,EACW,eAAe,CAAA,EAAA,CAAA,CAAA;2FAGzD,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;AAC3C,oBAAA,OAAO,EAAE,CAAC,mBAAmB,EAAE,oBAAoB,EAAE,eAAe,CAAC;AACrE,oBAAA,YAAY,EAAE,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;iBAC1D,CAAA;;;ACpBD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
1
+ {"version":3,"file":"legacy-radio.mjs","sources":["../../../../../../src/material/legacy-radio/radio.ts","../../../../../../src/material/legacy-radio/radio.html","../../../../../../src/material/legacy-radio/radio-module.ts","../../../../../../src/material/legacy-radio/public-api.ts","../../../../../../src/material/legacy-radio/index.ts","../../../../../../src/material/legacy-radio/legacy-radio_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\nimport {FocusMonitor} from '@angular/cdk/a11y';\nimport {UniqueSelectionDispatcher} from '@angular/cdk/collections';\nimport {\n Attribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n Directive,\n ElementRef,\n forwardRef,\n Inject,\n Optional,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\nimport {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations';\nimport {\n MAT_RADIO_GROUP,\n _MatRadioGroupBase,\n _MatRadioButtonBase,\n MAT_RADIO_DEFAULT_OPTIONS,\n MatRadioDefaultOptions,\n} from '@angular/material/radio';\n\n/**\n * Provider Expression that allows mat-radio-group to register as a ControlValueAccessor. This\n * allows it to support [(ngModel)] and ngControl.\n * @docs-private\n * @deprecated Use `MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\nexport const MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MatLegacyRadioGroup),\n multi: true,\n};\n\n/**\n * A group of radio buttons. May contain one or more `<mat-radio-button>` elements.\n * @deprecated Use `MatRadioGroup` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Directive({\n selector: 'mat-radio-group',\n exportAs: 'matRadioGroup',\n providers: [\n MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,\n {provide: MAT_RADIO_GROUP, useExisting: MatLegacyRadioGroup},\n ],\n host: {\n 'role': 'radiogroup',\n 'class': 'mat-radio-group',\n },\n})\nexport class MatLegacyRadioGroup extends _MatRadioGroupBase<MatLegacyRadioButton> {\n @ContentChildren(forwardRef(() => MatLegacyRadioButton), {descendants: true})\n _radios: QueryList<MatLegacyRadioButton>;\n}\n\n/**\n * A Material design radio-button. Typically placed inside of `<mat-radio-group>` elements.\n * @deprecated Use `MatRadioButton` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@Component({\n selector: 'mat-radio-button',\n templateUrl: 'radio.html',\n styleUrls: ['radio.css'],\n inputs: ['disableRipple', 'tabIndex'],\n encapsulation: ViewEncapsulation.None,\n exportAs: 'matRadioButton',\n host: {\n 'class': 'mat-radio-button',\n '[class.mat-radio-checked]': 'checked',\n '[class.mat-radio-disabled]': 'disabled',\n '[class._mat-animation-noopable]': '_noopAnimations',\n '[class.mat-primary]': 'color === \"primary\"',\n '[class.mat-accent]': 'color === \"accent\"',\n '[class.mat-warn]': 'color === \"warn\"',\n // Needs to be removed since it causes some a11y issues (see #21266).\n '[attr.tabindex]': 'null',\n '[attr.id]': 'id',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.aria-describedby]': 'null',\n // Note: under normal conditions focus shouldn't land on this element, however it may be\n // programmatically set, for example inside of a focus trap, in this case we want to forward\n // the focus to the native element.\n '(focus)': '_inputElement.nativeElement.focus()',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MatLegacyRadioButton extends _MatRadioButtonBase {\n constructor(\n @Optional() @Inject(MAT_RADIO_GROUP) radioGroup: MatLegacyRadioGroup,\n elementRef: ElementRef,\n changeDetector: ChangeDetectorRef,\n focusMonitor: FocusMonitor,\n radioDispatcher: UniqueSelectionDispatcher,\n @Optional() @Inject(ANIMATION_MODULE_TYPE) animationMode?: string,\n @Optional()\n @Inject(MAT_RADIO_DEFAULT_OPTIONS)\n providerOverride?: MatRadioDefaultOptions,\n @Attribute('tabindex') tabIndex?: string,\n ) {\n super(\n radioGroup,\n elementRef,\n changeDetector,\n focusMonitor,\n radioDispatcher,\n animationMode,\n providerOverride,\n tabIndex,\n );\n }\n}\n","<!-- TODO(jelbourn): render the radio on either side of the content -->\n<!-- TODO(mtlin): Evaluate trade-offs of using native radio vs. cost of additional bindings. -->\n<label [attr.for]=\"inputId\" class=\"mat-radio-label\" #label>\n <!-- The actual 'radio' part of the control. -->\n <span class=\"mat-radio-container\">\n <span class=\"mat-radio-outer-circle\"></span>\n <span class=\"mat-radio-inner-circle\"></span>\n <input #input class=\"mat-radio-input\" type=\"radio\"\n [id]=\"inputId\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.name]=\"name\"\n [attr.value]=\"value\"\n [required]=\"required\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n (change)=\"_onInputInteraction($event)\"\n (click)=\"_onInputClick($event)\">\n\n <!-- The ripple comes after the input so that we can target it with a CSS\n sibling selector when the input is focused. -->\n <span mat-ripple class=\"mat-radio-ripple mat-focus-indicator\"\n [matRippleTrigger]=\"label\"\n [matRippleDisabled]=\"_isRippleDisabled()\"\n [matRippleCentered]=\"true\"\n [matRippleRadius]=\"20\"\n [matRippleAnimation]=\"{enterDuration: _noopAnimations ? 0 : 150}\">\n\n <span class=\"mat-ripple-element mat-radio-persistent-ripple\"></span>\n </span>\n </span>\n\n <!-- The label content for radio control. -->\n <span class=\"mat-radio-label-content\" [class.mat-radio-label-before]=\"labelPosition == 'before'\">\n <!-- Add an invisible span so JAWS can read the label -->\n <span style=\"display:none\">&nbsp;</span>\n <ng-content></ng-content>\n </span>\n</label>\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 {NgModule} from '@angular/core';\nimport {MatCommonModule, MatRippleModule} from '@angular/material/core';\nimport {MatLegacyRadioButton, MatLegacyRadioGroup} from './radio';\n\n/**\n * @deprecated Use `MatRadioModule` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n@NgModule({\n imports: [MatRippleModule, MatCommonModule],\n exports: [MatLegacyRadioGroup, MatLegacyRadioButton, MatCommonModule],\n declarations: [MatLegacyRadioGroup, MatLegacyRadioButton],\n})\nexport class MatLegacyRadioModule {}\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\nexport {MatLegacyRadioModule} from './radio-module';\nexport {\n MAT_LEGACY_RADIO_GROUP_CONTROL_VALUE_ACCESSOR,\n MatLegacyRadioGroup,\n MatLegacyRadioButton,\n} from './radio';\n\nexport {\n /**\n * @deprecated Use `MatRadioDefaultOptions` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatRadioDefaultOptions as MatLegacyRadioDefaultOptions,\n\n /**\n * @deprecated Use `MatRadioChange` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MatRadioChange as MatLegacyRadioChange,\n\n /**\n * @deprecated Use `MAT_RADIO_DEFAULT_OPTIONS_FACTORY` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_RADIO_DEFAULT_OPTIONS_FACTORY as MAT_LEGACY_RADIO_DEFAULT_OPTIONS_FACTORY,\n\n /**\n * @deprecated Use `MAT_RADIO_DEFAULT_OPTIONS` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_RADIO_DEFAULT_OPTIONS as MAT_LEGACY_RADIO_DEFAULT_OPTIONS,\n\n /**\n * @deprecated Use `MAT_RADIO_GROUP` from `@angular/material/radio` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.\n * @breaking-change 17.0.0\n */\n MAT_RADIO_GROUP as MAT_LEGACY_RADIO_GROUP,\n} from '@angular/material/radio';\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\nexport * from './public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;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BAAmB,EAAE,oBAAoB,EAAE,eAAe,CAAC;AACrE,oBAAA,YAAY,EAAE,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;iBAC1D,CAAA;;;ACpBD;;;;;;AAMG;;ACNH;;;;;;AAMG;;ACNH;;AAEG;;;;"}
@@ -140,9 +140,9 @@ class MatLegacySelectChange {
140
140
  */
141
141
  class MatLegacySelectTrigger {
142
142
  }
143
- MatLegacySelectTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacySelectTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
144
- MatLegacySelectTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: MatLegacySelectTrigger, selector: "mat-select-trigger", providers: [{ provide: MAT_SELECT_TRIGGER, useExisting: MatLegacySelectTrigger }], ngImport: i0 });
145
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacySelectTrigger, decorators: [{
143
+ MatLegacySelectTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacySelectTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
144
+ MatLegacySelectTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.1", type: MatLegacySelectTrigger, selector: "mat-select-trigger", providers: [{ provide: MAT_SELECT_TRIGGER, useExisting: MatLegacySelectTrigger }], ngImport: i0 });
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacySelectTrigger, decorators: [{
146
146
  type: Directive,
147
147
  args: [{
148
148
  selector: 'mat-select-trigger',
@@ -453,15 +453,15 @@ class MatLegacySelect extends _MatSelectBase {
453
453
  return this.options.length + this.optionGroups.length;
454
454
  }
455
455
  }
456
- MatLegacySelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacySelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
457
- MatLegacySelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: MatLegacySelect, selector: "mat-select", inputs: { disabled: "disabled", disableRipple: "disableRipple", tabIndex: "tabIndex" }, host: { attributes: { "role": "combobox", "aria-autocomplete": "none", "aria-haspopup": "true" }, listeners: { "keydown": "_handleKeydown($event)", "focus": "_onFocus()", "blur": "_onBlur()" }, properties: { "attr.id": "id", "attr.tabindex": "tabIndex", "attr.aria-controls": "panelOpen ? id + \"-panel\" : null", "attr.aria-expanded": "panelOpen", "attr.aria-label": "ariaLabel || null", "attr.aria-required": "required.toString()", "attr.aria-disabled": "disabled.toString()", "attr.aria-invalid": "errorState", "attr.aria-activedescendant": "_getAriaActiveDescendant()", "class.mat-select-disabled": "disabled", "class.mat-select-invalid": "errorState", "class.mat-select-required": "required", "class.mat-select-empty": "empty", "class.mat-select-multiple": "multiple" }, classAttribute: "mat-select" }, providers: [
456
+ MatLegacySelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacySelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
457
+ MatLegacySelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0-next.1", type: MatLegacySelect, selector: "mat-select", inputs: { disabled: "disabled", disableRipple: "disableRipple", tabIndex: "tabIndex" }, host: { attributes: { "role": "combobox", "aria-autocomplete": "none", "aria-haspopup": "true" }, listeners: { "keydown": "_handleKeydown($event)", "focus": "_onFocus()", "blur": "_onBlur()" }, properties: { "attr.id": "id", "attr.tabindex": "tabIndex", "attr.aria-controls": "panelOpen ? id + \"-panel\" : null", "attr.aria-expanded": "panelOpen", "attr.aria-label": "ariaLabel || null", "attr.aria-required": "required.toString()", "attr.aria-disabled": "disabled.toString()", "attr.aria-invalid": "errorState", "attr.aria-activedescendant": "_getAriaActiveDescendant()", "class.mat-select-disabled": "disabled", "class.mat-select-invalid": "errorState", "class.mat-select-required": "required", "class.mat-select-empty": "empty", "class.mat-select-multiple": "multiple" }, classAttribute: "mat-select" }, providers: [
458
458
  { provide: MatLegacyFormFieldControl, useExisting: MatLegacySelect },
459
459
  { provide: MAT_OPTION_PARENT_COMPONENT, useExisting: MatLegacySelect },
460
460
  ], queries: [{ propertyName: "customTrigger", first: true, predicate: MAT_SELECT_TRIGGER, descendants: true }, { propertyName: "options", predicate: MatLegacyOption, descendants: true }, { propertyName: "optionGroups", predicate: MAT_OPTGROUP, descendants: true }], exportAs: ["matSelect"], usesInheritance: true, ngImport: i0, template: "<!--\n Note that the select trigger element specifies `aria-owns` pointing to the listbox overlay.\n While aria-owns is not required for the ARIA 1.2 `role=\"combobox\"` interaction pattern,\n it fixes an issue with VoiceOver when the select appears inside of an `aria-model=\"true\"`\n element (e.g. a dialog). Without this `aria-owns`, the `aria-modal` on a dialog prevents\n VoiceOver from \"seeing\" the select's listbox overlay for aria-activedescendant.\n Using `aria-owns` re-parents the select overlay so that it works again.\n See https://github.com/angular/components/issues/20694\n-->\n<div cdk-overlay-origin\n [attr.aria-owns]=\"panelOpen ? id + '-panel' : null\"\n class=\"mat-select-trigger\"\n (click)=\"toggle()\"\n #origin=\"cdkOverlayOrigin\"\n #trigger>\n <div class=\"mat-select-value\" [ngSwitch]=\"empty\" [attr.id]=\"_valueId\">\n <span class=\"mat-select-placeholder mat-select-min-line\" *ngSwitchCase=\"true\">{{placeholder}}</span>\n <span class=\"mat-select-value-text\" *ngSwitchCase=\"false\" [ngSwitch]=\"!!customTrigger\">\n <span class=\"mat-select-min-line\" *ngSwitchDefault>{{triggerValue}}</span>\n <ng-content select=\"mat-select-trigger\" *ngSwitchCase=\"true\"></ng-content>\n </span>\n </div>\n\n <div class=\"mat-select-arrow-wrapper\"><div class=\"mat-select-arrow\"></div></div>\n</div>\n\n<ng-template\n cdk-connected-overlay\n cdkConnectedOverlayLockPosition\n cdkConnectedOverlayHasBackdrop\n cdkConnectedOverlayBackdropClass=\"cdk-overlay-transparent-backdrop\"\n [cdkConnectedOverlayPanelClass]=\"_overlayPanelClass\"\n [cdkConnectedOverlayScrollStrategy]=\"_scrollStrategy\"\n [cdkConnectedOverlayOrigin]=\"origin\"\n [cdkConnectedOverlayOpen]=\"panelOpen\"\n [cdkConnectedOverlayPositions]=\"_positions\"\n [cdkConnectedOverlayMinWidth]=\"_getOverlayMinWidth()\"\n [cdkConnectedOverlayOffsetY]=\"_offsetY\"\n (backdropClick)=\"close()\"\n (attach)=\"_onAttached()\"\n (detach)=\"close()\">\n <div class=\"mat-select-panel-wrap\" [@transformPanelWrap]>\n <div\n #panel\n role=\"listbox\"\n tabindex=\"-1\"\n class=\"mat-select-panel {{ _getPanelTheme() }}\"\n [attr.id]=\"id + '-panel'\"\n [attr.aria-multiselectable]=\"multiple\"\n [attr.aria-label]=\"ariaLabel || null\"\n [attr.aria-labelledby]=\"_getPanelAriaLabelledby()\"\n [ngClass]=\"panelClass\"\n [@transformPanel]=\"multiple ? 'showing-multiple' : 'showing'\"\n (@transformPanel.done)=\"_panelDoneAnimatingStream.next($event.toState)\"\n [style.transformOrigin]=\"_transformOrigin\"\n [style.font-size.px]=\"_triggerFontSize\"\n (keydown)=\"_handleKeydown($event)\">\n <ng-content></ng-content>\n </div>\n </div>\n</ng-template>\n", styles: [".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:\" \";white-space:pre;width:1px;display:inline-block;visibility:hidden}"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i2.CdkConnectedOverlay, selector: "[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]", inputs: ["cdkConnectedOverlayOrigin", "cdkConnectedOverlayPositions", "cdkConnectedOverlayPositionStrategy", "cdkConnectedOverlayOffsetX", "cdkConnectedOverlayOffsetY", "cdkConnectedOverlayWidth", "cdkConnectedOverlayHeight", "cdkConnectedOverlayMinWidth", "cdkConnectedOverlayMinHeight", "cdkConnectedOverlayBackdropClass", "cdkConnectedOverlayPanelClass", "cdkConnectedOverlayViewportMargin", "cdkConnectedOverlayScrollStrategy", "cdkConnectedOverlayOpen", "cdkConnectedOverlayDisableClose", "cdkConnectedOverlayTransformOriginOn", "cdkConnectedOverlayHasBackdrop", "cdkConnectedOverlayLockPosition", "cdkConnectedOverlayFlexibleDimensions", "cdkConnectedOverlayGrowAfterOpen", "cdkConnectedOverlayPush"], outputs: ["backdropClick", "positionChange", "attach", "detach", "overlayKeydown", "overlayOutsideClick"], exportAs: ["cdkConnectedOverlay"] }, { kind: "directive", type: i2.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }], animations: [
461
461
  matLegacySelectAnimations.transformPanelWrap,
462
462
  matLegacySelectAnimations.transformPanel,
463
463
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
464
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacySelect, decorators: [{
464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacySelect, decorators: [{
465
465
  type: Component,
466
466
  args: [{ selector: 'mat-select', exportAs: 'matSelect', inputs: ['disabled', 'disableRipple', 'tabIndex'], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
467
467
  'role': 'combobox',
@@ -519,18 +519,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
519
519
  */
520
520
  class MatLegacySelectModule {
521
521
  }
522
- MatLegacySelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacySelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
523
- MatLegacySelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: MatLegacySelectModule, declarations: [MatLegacySelect, MatLegacySelectTrigger], imports: [CommonModule, OverlayModule, MatLegacyOptionModule, MatCommonModule], exports: [CdkScrollableModule,
522
+ MatLegacySelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacySelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
523
+ MatLegacySelectModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacySelectModule, declarations: [MatLegacySelect, MatLegacySelectTrigger], imports: [CommonModule, OverlayModule, MatLegacyOptionModule, MatCommonModule], exports: [CdkScrollableModule,
524
524
  MatLegacyFormFieldModule,
525
525
  MatLegacySelect,
526
526
  MatLegacySelectTrigger,
527
527
  MatLegacyOptionModule,
528
528
  MatCommonModule] });
529
- MatLegacySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacySelectModule, providers: [MAT_SELECT_SCROLL_STRATEGY_PROVIDER], imports: [CommonModule, OverlayModule, MatLegacyOptionModule, MatCommonModule, CdkScrollableModule,
529
+ MatLegacySelectModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacySelectModule, providers: [MAT_SELECT_SCROLL_STRATEGY_PROVIDER], imports: [CommonModule, OverlayModule, MatLegacyOptionModule, MatCommonModule, CdkScrollableModule,
530
530
  MatLegacyFormFieldModule,
531
531
  MatLegacyOptionModule,
532
532
  MatCommonModule] });
533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: MatLegacySelectModule, decorators: [{
533
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.1", ngImport: i0, type: MatLegacySelectModule, decorators: [{
534
534
  type: NgModule,
535
535
  args: [{
536
536
  imports: [CommonModule, OverlayModule, MatLegacyOptionModule, MatCommonModule],